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: How do I have it so the tycoon resets when someone leaves?

Previous Thread :: Next Thread 
hudgat is not online. hudgat
Joined: 19 Dec 2008
Total Posts: 2657
27 Jul 2011 07:06 PM
What the title says, when people leave my tycoon it does not reset..
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
27 Jul 2011 07:08 PM
http://wiki.roblox.com/index.php/PlayerRemoving_%28Event%29

That event is needed.
Report Abuse
hudgat is not online. hudgat
Joined: 19 Dec 2008
Total Posts: 2657
27 Jul 2011 07:11 PM
Where do I need to insert it?
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
27 Jul 2011 07:11 PM
...It doesn't matter with that event honestly?
Report Abuse
hudgat is not online. hudgat
Joined: 19 Dec 2008
Total Posts: 2657
27 Jul 2011 07:23 PM
So I can just put that into a script, and it will fix it?
Report Abuse
hudgat is not online. hudgat
Joined: 19 Dec 2008
Total Posts: 2657
27 Jul 2011 08:56 PM
Anyone know where I put that script??
Report Abuse
hudgat is not online. hudgat
Joined: 19 Dec 2008
Total Posts: 2657
27 Jul 2011 08:59 PM
Treat liek a child, step by step if you will......
Report Abuse
Darkmist101 is not online. Darkmist101
Joined: 30 Jul 2010
Total Posts: 6208
27 Jul 2011 09:01 PM
Depends....
Report Abuse
ThisIsSPORE is not online. ThisIsSPORE
Joined: 24 Jun 2011
Total Posts: 2402
27 Jul 2011 09:01 PM
game.Players.PlayerRemoving:connect(function()

end)

but top at the top of your script and bottom at the bottom?
Report Abuse
hudgat is not online. hudgat
Joined: 19 Dec 2008
Total Posts: 2657
27 Jul 2011 09:27 PM
local function onPlayerLeaving(Player)
print(Player.Name.." is leaving the game!")
end

game.Players.PlayerRemoving:connect(onPlayerLeaving)


Copy and paste that to the top of what script?
Report Abuse
ThisIsSPORE is not online. ThisIsSPORE
Joined: 24 Jun 2011
Total Posts: 2402
27 Jul 2011 09:50 PM
I fixed it so it was more simple.
Report Abuse
hudgat is not online. hudgat
Joined: 19 Dec 2008
Total Posts: 2657
27 Jul 2011 10:59 PM
Alright, so where do I copy and paste that?
Report Abuse
ThisIsSPORE is not online. ThisIsSPORE
Joined: 24 Jun 2011
Total Posts: 2402
28 Jul 2011 05:26 PM
.... o_o i said it in the post
Report Abuse
sonicdiablo is not online. sonicdiablo
Joined: 05 Feb 2009
Total Posts: 1661
28 Jul 2011 05:37 PM
Most tycoons work like this=It make a copy of the old tycoon(before you buy) and when the player leave the tycoon get removed and it put the old one.
Report Abuse
hudgat is not online. hudgat
Joined: 19 Dec 2008
Total Posts: 2657
31 Jul 2011 11:24 PM
Step by step, on how to fix this please. -_-
Report Abuse
hudgat is not online. hudgat
Joined: 19 Dec 2008
Total Posts: 2657
01 Aug 2011 12:08 AM
Hic up
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