Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I change the value of the explosion in this script?

local explosionPart = script.Parent

local explosion = Instance.new("Explosion", game.Workspace)

explosion.Position = explosionPart.Position

explosionPart:Destroy()


I have successfully made a missile using this script. I have made other scripts that allow it to be fired from a closed tube and to prevent it from explosion instantly, but that is not the point of this question.

How would I change the values of the explosion? blast radius, etc.

2 comments

0

A problem I faced was that I had to set the explosion's position before I parented the explosion. Try and see if that's the issue.

0

That is not my problem, I want to change values and I am not sure how.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.