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 » Scripters
Home Search
 

Re: Player needs to be old to join

Previous Thread :: Next Thread 
xRman is online. xRman
Joined: 21 Feb 2009
Total Posts: 1192
28 Mar 2016 03:09 PM
How could I make it so a player's account needs to be 14 days old or else they'll be kicked?

http://forum.roblox.com/Forum/ShowPost.aspx?PostID=185886938 | Guide on this year's Egg Hunt!
Report Abuse
benthanh123 is not online. benthanh123
Joined: 27 May 2010
Total Posts: 567
28 Mar 2016 03:11 PM
player.AccountAge
Report Abuse
xRman is online. xRman
Joined: 21 Feb 2009
Total Posts: 1192
28 Mar 2016 03:13 PM
^ Thanks! Didn't know that was a thing.

http://forum.roblox.com/Forum/ShowPost.aspx?PostID=185886938 | Guide on this year's Egg Hunt!
Report Abuse
galio13 is not online. galio13
Joined: 20 Jul 2011
Total Posts: 842
28 Mar 2016 04:47 PM
game.Players.PlayerAdded:connect(function(plr)
if plr.AccountAge < 14 then
plr:Kick("Your account has to be more than 14 days to join, ", "your account is ", plr.AccountAge)
end
end)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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