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
 

delaying this?

Previous Thread :: Next Thread 
REM25 is not online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
21 Nov 2013 08:41 PM
How do I make this work only for 5 minutes and then when they come back it will work right away? I want to make a 5 minute demo of my game...


Game['Players']['PlayerAdded']:connect(function(p)
p:WaitForDataReady();
if p:LoadBoolean("Demo") then
p:Kick()
else
p:SaveBoolean("Demo", not false);
end
end)
Report Abuse
notsopwnedg is not online. notsopwnedg
Joined: 07 Nov 2010
Total Posts: 4182
21 Nov 2013 08:42 PM
So it kicks the player after 5 minutes. But they can still join again?
Report Abuse
REM25 is not online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
21 Nov 2013 08:43 PM
ok here i'll elaborate:

Once the player joins the game they will have 5 minutes before they will get kicked...


wait nvm I got it XD
Report Abuse
notsopwnedg is not online. notsopwnedg
Joined: 07 Nov 2010
Total Posts: 4182
21 Nov 2013 08:43 PM
Do you want them to be banned after their 5 minutes or not?
Report Abuse
crazyman32 is not online. crazyman32
Joined: 13 Apr 2008
Total Posts: 18027
21 Nov 2013 09:01 PM
Why are you using 'not false' when you can just write 'true' ?
Report Abuse
REM25 is not online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
21 Nov 2013 09:09 PM
@not yes and I found a solution to that

@crazy I did not write this script, a fellow scripting helper forumer helped me with this...I also found that weird when he sent me this code...
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