stroudie
|
  |
| Joined: 28 Nov 2008 |
| Total Posts: 2556 |
|
|
| 01 Aug 2011 06:49 AM |
I am trying to make this regen script work only if there isn't someone flying a ship that it works with already. It is supposed to work... however it doesn't. There are no problems in the output.
while true do if script.Parent.Parent.Torso == nil then wait(.1) game.Workspace["VAK Dropship"].Head.Regen.Disabled = false else game.Workspace["VAK Dropship"].Head.Regen.Disabled = true end end
Any help would be greatly appreciated. |
|
|
| Report Abuse |
|
|
|
| 01 Aug 2011 06:51 AM |
while true do if not script.Parent.Parent:FindFirstChild("Torso") then wait(.1) game.Workspace["VAK Dropship"].Head.Regen.Disabled = false else game.Workspace["VAK Dropship"].Head.Regen.Disabled = true end wait(5) end
‹•º`¨¨¨☺¨¨¨´º•¸ ~ AeroMcCrash ~ ¸•º`¨¨¨☻¨¨¨´º•› |
|
|
| Report Abuse |
|
|
stroudie
|
  |
| Joined: 28 Nov 2008 |
| Total Posts: 2556 |
|
|
| 01 Aug 2011 07:24 AM |
| Hmm, that worked partly however now it won't regen at all as the "Ship" model does not exist as cloned. Any solution for this? |
|
|
| Report Abuse |
|
|
stroudie
|
  |
| Joined: 28 Nov 2008 |
| Total Posts: 2556 |
|
|
| 01 Aug 2011 07:27 AM |
| If you want to see what I mean then look here: http://www.roblox.com/Future-technology-item?id=53755856 |
|
|
| Report Abuse |
|
|
stroudie
|
  |
| Joined: 28 Nov 2008 |
| Total Posts: 2556 |
|
| |
|
stroudie
|
  |
| Joined: 28 Nov 2008 |
| Total Posts: 2556 |
|
| |
|
stroudie
|
  |
| Joined: 28 Nov 2008 |
| Total Posts: 2556 |
|
| |
|