|
| 21 May 2015 03:57 PM |
function explosionontouch() explosion = Instance.new("Explosion", script.Parent) end
script.Parent.Touched:connect(explosionontouch)
once i move the brick from its position, the explosion happens where i used to have it, not in its new location
the brick isnt anchored, and id like it for it not to be anchored
how can i fix this problem? |
|
|
| Report Abuse |
|
|
|
| 21 May 2015 03:59 PM |
Set the position of the explosion I believe. Or Cframe... or something. Look at the properties of an explosion, it's in there somewhere. Set it to the part's new position or cframe.
-The [Guy] |
|
|
| Report Abuse |
|
|
|
| 21 May 2015 04:00 PM |
do you think that this would work?
location = script.Parent.Position Explosion.Position = location??? |
|
|
| Report Abuse |
|
|
|
| 21 May 2015 04:01 PM |
script.Parent.Touched:connect(function() local x = Instance.new("Explosion", script.Parent) x.Position = script.Parent.Position end)
Second time this good or bad
~ All you need to know is that I'm an otaku |
|
|
| Report Abuse |
|
|
| |
|
| |
|