kananikaa
|
  |
| Joined: 06 Jul 2011 |
| Total Posts: 213 |
|
|
| 28 May 2014 01:57 PM |
| How do you anchor something until it is hit by an explosive? |
|
|
| Report Abuse |
|
|
kananikaa
|
  |
| Joined: 06 Jul 2011 |
| Total Posts: 213 |
|
| |
|
|
| 28 May 2014 03:38 PM |
Weld it is the best option. But you can add to the explosion a script that unanchors the part.
This would be better answered in the scripting helpers. Show them your gun script and ask how to unanchor what the explosion hits. |
|
|
| Report Abuse |
|
|
Logitech
|
  |
| Joined: 10 May 2007 |
| Total Posts: 1813 |
|
|
| 28 May 2014 03:48 PM |
Add health value Unachor part when health = 0 |
|
|
| Report Abuse |
|
|
|
| 28 May 2014 07:25 PM |
Have an invisible brick in the explosion, make it so that if something touches that brick, it does script.Parent.Anchored = true
1st learn cloning method :clone() For instance: local sp = script.Parent function onTouch(part) Jerry = game.Lighting.ExplosionPart:clone() Jerry.Parent = game.Workspace Terry = script.Parent.ScriptiesDerp:clone() Terry.Parent = Jerry end sp.Touched:connect(onTouch)
In "ScriptiesDerp" put this code:
local sp = script.Parent function onTouch(part) game.Workspace:FindFirstChild("ExplosionPart") ghfjhfjhjghjghjgjghjghjgj IM TOO STRESSED FUDGE IT. |
|
|
| Report Abuse |
|
|