|
| 08 Mar 2015 07:15 PM |
so im using instance.new to bring in an explosion into a part
but the explosion is only occuring in the middle of the map
send trades!!! |
|
|
| Report Abuse |
|
|
|
| 08 Mar 2015 07:16 PM |
did you parent it into the part
those four years of wumbology are really paying off |
|
|
| Report Abuse |
|
|
| |
|
|
| 08 Mar 2015 07:19 PM |
obviously wrongly
script now
those four years of wumbology are really paying off |
|
|
| Report Abuse |
|
|
|
| 08 Mar 2015 07:20 PM |
wait so here it is
local self = script.Parent function ontouch(plr) if plr.Name == "missilepart" then local explo = Instance.new("Explosion", plr) explo. wait(0.5) plr:Destroy() end end self.Touched:connect(ontouch)
send trades!!! |
|
|
| Report Abuse |
|
|
|
| 08 Mar 2015 07:22 PM |
explo. wait what
parent it inside the torso or somewhere on the player
those four years of wumbology are really paying off |
|
|
| Report Abuse |
|
|
|
| 08 Mar 2015 07:23 PM |
You have to set the position of the explosion. Here's an example of an explosion located at a part.
wait(5) boom = Instance.new("Explosion") boom.Parent = script.Parent boom.BlastPressure = 500 boom.BlastRadius = 4 boom.Position = script.Parent.Position -- This is important |
|
|
| Report Abuse |
|
|
|
| 08 Mar 2015 07:23 PM |
o explo was nothing i was just tryna figure out wat was wrong
send trades!!! |
|
|
| Report Abuse |
|
|
|
| 08 Mar 2015 07:30 PM |
i meant to say position not parent i couldn't remember it qq
seriously
those four years of wumbology are really paying off |
|
|
| Report Abuse |
|
|