|
| 25 Apr 2012 06:26 PM |
| how do i make it to where terrain doesn't disappear when a bomb hits it? |
|
|
| Report Abuse |
|
|
|
| 25 Apr 2012 06:32 PM |
| Explosion.ExplosionType = 0 |
|
|
| Report Abuse |
|
|
|
| 25 Apr 2012 07:10 PM |
heres the bomb script
idk how to add that in
function Touched(hit) if hit.CanCollide == true then Detonated = true E = Instance.new("Explosion") E.Parent = game.Workspace E.Position = script.Parent.Position E.BlastRadius = 48 E.BlastPressure = 300000 script.Parent.Parent:remove() end end
script.Parent.Touched:connect(Touched)
|
|
|
| Report Abuse |
|
|
|
| 25 Apr 2012 07:16 PM |
script.Parent.Touched:connect(function(hit) if hit.CanCollide then Detonated = true E = Instance.new("Explosion",workspace) E.ExplosionType = 0 E.Position = script.Parent.Position E.BlastRadius = 48 E.BlastPressure = 300000 script.Parent.Parent:remove() end end)
|
|
|
| Report Abuse |
|
|
| |
|