generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Regen script problem

Previous Thread :: Next Thread 
stroudie is not online. 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
61352151511 is not online. 61352151511
Joined: 30 Nov 2009
Total Posts: 8094
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 is not online. 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 is not online. 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 is not online. stroudie
Joined: 28 Nov 2008
Total Posts: 2556
01 Aug 2011 08:31 AM
Bump
Report Abuse
stroudie is not online. stroudie
Joined: 28 Nov 2008
Total Posts: 2556
01 Aug 2011 09:30 AM
Bump, come on guys!
Report Abuse
stroudie is not online. stroudie
Joined: 28 Nov 2008
Total Posts: 2556
01 Aug 2011 11:51 AM
Bump
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image