here is the script (please don't judge me, i am new to codeing)
local part = Instance.new("Part")
local exp = Instance.new("Explosion")
exp.Position = part.Position -- doesn;t work here
here is the script (please don't judge me, i am new to codeing)
local part = Instance.new("Part")
local exp = Instance.new("Explosion")
exp.Position = part.Position -- doesn;t work here
I think I understand your issue, but I do not work with explosions much. I'm pretty sure, as theking commented, that you need to parent the explosion to something in order to let the explosion travel to that object.
local part = Instance.new("Part")
local exp = Instance.new("Explosion", part) -- this is now parented to the part.
-- (Removed because you can't change position of an explosion) exp.Position = part.Position
If you have any questions or this doesn't work, feel free to comment and I will try my best to help.
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
you never parented the explosion to anything
thx but i couldn accept cause you commented