Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

How can I get this to explode at positioned brick and not locally? [closed]

Asked by 9 years ago

This question already has an answer here:

Click to explode named brick?
function onClicked()
   local deer = Instance.new("Explosion") -- IT DOES NOT HAVE TO BE "E" IT CAN BE ANY LETTER. I JUST LIKE USING THIS

    deer.BlastRadius = 10 --THE RADIUS, THE BIGGER THE RADIUS, THE BIGGER IT IS

    deer.BlastPressure = 99999 -- THE BLAST PRESSURE IS HOW POWERFUL IT IS. THE HIGHER, THE MORE DEADLY AND THE MORE UNANCHORED BRICKS WILL GO FLYING

    deer.Parent = game.Workspace

    deer.Position = script.Parent.Parent.door.Position
end

script.Parent.ClickDetector.MouseClick:connect(onClicked)
0
Please do Provide more Information about the script, Errors, etc. woodengop 1134 — 9y
0
This Question has already been asked before; Be patient before asking (posting) the same Question! Give it a while and wait for a Post/Answer before Re-post. TheeDeathCaster 2368 — 9y

Marked as Duplicate by TheeDeathCaster, Relatch, and Shawnyg

This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.

Why was this question closed?

1 answer

Log in to vote
-3
Answered by 9 years ago

No, it doesn't work, may be just the script itself.

0
Don't use the 'Answer' post to Reply to somebody; It signifies that somebody has Answered your Question! Use the 'comments' instead; The rectangular box below the Answer/Question. TheeDeathCaster 2368 — 9y
0
Alpha, he can't comment with that reputation. DigitalVeer 1473 — 9y
0
@DigitalVeer Huh, sorry, I wasn't aware of that. o_e I'll keep that in mind, thanks for letting me know. :) TheeDeathCaster 2368 — 9y
Ad