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: Tycoon Regen

Previous Thread :: Next Thread 
Grove537 is not online. Grove537
Joined: 05 Feb 2010
Total Posts: 3478
06 Nov 2011 02:03 PM
So, my regen script for my tycoon game works for some tycoons but not for all. It is the exact same for all tycoons though. Any help?

model = script.Parent.Factory
backup = model:clone()

function Regen()
model:remove()
wait(1)
backup.Parent = script.Parent
backup:makeJoints()
end

while true do
wait(1.5)
if script.Parent.Factory.OwnerName.Value ~= "" then
if not game.Players:FindFirstChild(script.Parent.Factory.OwnerName.Value) then
Regen()

end
end
end
Report Abuse
UFAIL2 is not online. UFAIL2
Joined: 14 Aug 2010
Total Posts: 6905
06 Nov 2011 02:04 PM
If you made this, you could fix it. Do you even know what 'Output' is?
Report Abuse
Grove537 is not online. Grove537
Joined: 05 Feb 2010
Total Posts: 3478
06 Nov 2011 02:06 PM
I'll check it
Report Abuse
Grove537 is not online. Grove537
Joined: 05 Feb 2010
Total Posts: 3478
06 Nov 2011 02:07 PM
Wait, I can't get output in studio for this :l I have no way to test it...
Report Abuse
UFAIL2 is not online. UFAIL2
Joined: 14 Aug 2010
Total Posts: 6905
06 Nov 2011 02:08 PM
Well, it's a Free Model, so you wouldn't understand the Output anyway.
Report Abuse
Grove537 is not online. Grove537
Joined: 05 Feb 2010
Total Posts: 3478
06 Nov 2011 02:10 PM
It WAS a free model... I fixed it alot thank you very much...
Report Abuse
UFAIL2 is not online. UFAIL2
Joined: 14 Aug 2010
Total Posts: 6905
06 Nov 2011 02:11 PM
IF you fixed it a lot, it would be working.
Report Abuse
Grove537 is not online. Grove537
Joined: 05 Feb 2010
Total Posts: 3478
06 Nov 2011 02:12 PM
I know! It WAS working but it breaks randomly... I have no idea why...
Report Abuse
Grove537 is not online. Grove537
Joined: 05 Feb 2010
Total Posts: 3478
06 Nov 2011 02:18 PM
Guess I don't get help :l
Report Abuse
Grove537 is not online. Grove537
Joined: 05 Feb 2010
Total Posts: 3478
06 Nov 2011 02:40 PM
Can someone tell me if I post my threads a wrong way or something, because I have never gotten help from the "help center"...
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