Roblox explode script

roblox explode script

However, I would also like to make it so they can only destroy the ground, not the entire baseplate or any of the invisible borders I set up around Roblox explode script arena to prevent players and bombs from falling off the map.I was just trying to wrap my head around this part of the code if plr and not isActivated then So this is the part that allows the TouchPad to explode the Block once no matter how many times you touch the TouchPad afterward? Parent script.This force breaks joints between parts and kills Humanoid characters not protected by a ForceField.Workspace explosion.In your script you said “Part” even though Roblox explode script doesn’t exist in your script, the error you got was “Attempt to index a global “Part”” or something like that, make the script simple btw because you don’t need debounce nor that other strange stuff you added in your code.Answer Edit.You have 2 variables with the same name, change the name of one of them and the references to it as well.Instance findFirstChild string namebool recursive [ Deprecated ].I’m not sure :connect can have a capital C.Thanks a lot for your help!! Ignore the first block of code, that’s just there to create my custom explosion effect.Returns a coded string of the Instance s DebugId used internally by Roblox.They explode just fine, but I would like to make it so when they explode, instead of sending the parts of the ground around them flying, they would just destroy them.Variant GetAttribute string attribute.Returns true if an Instance is an ancestor of the given descendant.Instead, continue using script.Log in to vote.Sets the attribute with the given name to the given value.
[Solved] How do I make an explosion destroy parts instead of send them flying? – Scripting Helpers

[Solved] How do I make an explosion destroy parts instead of send them flying? – This property determines the radius of the Explosionin studs.Workspace script.Touched means Roblox explode script that touches it, so the part will always explode because the baseplate and other things are touching it, so to fix it you can just use the code that I showed you… if you want to change something just tell me.Returns an event that fires when the given attribute changes.So this is the part that allows the TouchPad to explode the Block once no matter how many times you touch the TouchPad afterward?

Just change the name of the boolean so you have two different variables.You associated Touch Pad as a boolean and as the parent of the script.

I just want a character to be able to touch the TouchPad and make the Block explode and destroy it.After the explosion removes itself, destroy the block.Yes that worked thank you itsXtimes and everyone!! I also moved things around like the code below.This will destroy the Block but when I touch the TouchPad it will still continue to explode in the position of where the Block was even though it was destroyed.How can I modify my code to make it where it will only explode it once.

I know the solution has been found but I need to learn about how the code would work in my original script.However, I would also like to make it so they can only destroy the ground, not the entire baseplate or any of the invisible borders I set up around my arena to prevent players and bombs from falling off the map.

What I’m doing is using the hit function of an explosion to check if the part is anchored and destroy it if it isn’t, but clearly I’m doing that wrong.

Here is the part of my bomb’s script that creates the explosion:.Ignore the first block of code, that’s just there to create my custom explosion effect.The second block, the one that creates the actual explosion, is what I need help with.Sign Up Log in.Log in to vote.The last thing that I noticed which isn’t an error, rather an unnecessary line of code , is that you defined the characters player, which you aren’t using.

If you aren’t going to use this later on in the code, I suggest getting rid of it.Hope I helped.In your script you said “Part” even though it doesn’t exist in your script, the error you got was “Attempt to index a global “Part”” or something like that, make the script simple btw because you don’t need debounce nor that other strange stuff you added in your code.

Sign Up Log in.Log in to vote.Can someone help fix this script that makes part explode on touch?

Properties

I’ve looked on YouTube, DevForum, Google, and some more Roblox Developer websites to find the answer but I’m not getting the same results I’m.damn I’ve been releasing a lot of explosive scripts, I should cut down a bit, anyways its just a simple hopper bin that when clicked.antiquecenteronbroadway.com › watch.

How to use:

  1. Explosion Instantiation Expected Output Expand.
  2. Here is the part of my bomb’s script that creates the explosion:.
  3. Workspace blockToDestroy:Destroy end end.
  4. Asked by WesleyTheSkunk
  5. They explode just fine, but I would like to make it so when they explode, instead of sending the parts of the ground around them flying, they would just destroy them.
Roblox Script Showcasing #13 Click To Explode, time: 2:55

Can someone help fix this script that makes part explode on touch?

Instead, continue using script.That would make the script look like this:.The last thing that I noticed which isn’t an error, rather an unnecessary line of code , is that you defined the characters player, which you aren’t using.

If you aren’t going to use this later on in the code, I suggest getting rid of it.Hope I helped.In your script you said “Part” even though it doesn’t exist in your script, the error you got was “Attempt to index a global “Part”” or something like that, make the script simple btw because you don’t need debounce nor that other strange stuff you added in your code.Sign Up Log in.

Log in to vote.Can someone help fix this script that makes part explode on touch? Asked by Scxript 0.Players:GetPlayerFromCharacter hit.Log in to vote.Asked by WesleyTheSkunk Workspace explosionEffect.Workspace explosionEffect2.Workspace explosion.Position explosion.Hit:Connect function hitPart if hitPart.I’m not sure :connect can have a capital C.Try changing that, maybe? I think there is a extra end at line View all comments 2 more.

Objects children [ Deprecated ].

Click to Explode – properties

  • Returns the first child of the Instance found with the given name.
  • Sets the attribute with the given name to the given value.
  • Used to set if explosions will cause damage to the terrain or not.
  • Yeah, you redefined TouchPad as boolean and it most likely is just overwriting it.
  • Too many explosions cause a lot of lag.
  • The second block, the one that creates the actual explosion, is what I need help with.
  • Back Continue.
  • So this is the part that allows the TouchPad to explode the Block once no matter how many times you touch the TouchPad afterward?

: How can I modify my code to make it where it will only explode it once.

Dictionary GetAttributes.They explode just fine, but I would like to make it so when they explode, instead of sending the parts of the ground around them flying, they would just destroy them.Position explosion.

  • No results found!
  • I know the solution has been found but I need to learn about how the code would work in my original script.
  • Instance FindFirstDescendant string name.
  • Craters — damages terrain explosion.
  • You have 2 variables with the same name, change the name of one of them and the references to it as well.

.So this is the part that allows the TouchPad to explode the Block once no matter how many times you touch the TouchPad afterward? Returns a coded string of the Instance s DebugId used internally by Roblox.

How to do Explosion Camera Shake in Roblox!, time: 12:43
Rate article
Roblox Exploits & Scripts
Add a comment