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: I need a script that kicks people under the age of 100

Previous Thread :: Next Thread 
Nursings is not online. Nursings
Joined: 12 Jul 2015
Total Posts: 2091
27 Jul 2015 07:59 PM
Help?
Report Abuse
Froast is not online. Froast
Joined: 12 Mar 2009
Total Posts: 3134
27 Jul 2015 08:00 PM
game:GetService'Players'.PlayerAdded:connect(function(plr)
if plr.AccountAge < 100 then
plr:Kick()
end
end
Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
27 Jul 2015 08:01 PM
use the PlayerAdded event, and detect if the new player is under 100 days old with .AccountAge

http://wiki.roblox.com/index.php?title=AccountAge
Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
27 Jul 2015 08:01 PM
i got ninja'd qq
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
27 Jul 2015 08:07 PM
Don't be surprised if your game gets taken down, roblox doesn't like when people prevent guests and newbs.
Report Abuse
cooldude999921 is not online. cooldude999921
Joined: 13 Aug 2011
Total Posts: 3702
27 Jul 2015 08:09 PM
ROBLOX doesn't care about the noobs, only the guests.. its what gets them popular lol

ʏᴏᴜ ᴛʜᴏᴜɢʜᴛ ʏᴏᴜ ᴄᴏᴜʟᴅ ᴅʀᴀɢ ᴍᴇ ᴛᴏ ᴛʜᴇ ʙᴏᴛᴛᴏᴍ ᴏғ ᴛʜᴇ ʟᴀᴋᴇ sᴏ ʏᴏᴜ ᴄᴏᴜʟᴅ ᴇᴀᴛ ᴍᴇ ʟᴀᴛᴇʀ... ᴡᴇʟʟ ɢᴜᴇss ᴡʜᴀᴛ ᴘᴜɴᴋ... ɪᴍ ᴀ ғɪsʜ... ᴡɪᴛʜ ʟᴇɢs
Report Abuse
Goulstem is not online. Goulstem
Joined: 04 Jul 2012
Total Posts: 7177
27 Jul 2015 08:11 PM
local dayz = 100;

game.Players.PlayerAdded:connect(function(plr)
if plr.AccountAge < dayz then
plr:Kick('Your account age is under the minumum requirement');
end
end)
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
27 Jul 2015 08:18 PM
Guests account age will always be 0 unless they are in the game 24+ hours.
Report Abuse
cgjnm is not online. cgjnm
Joined: 22 Dec 2011
Total Posts: 2347
27 Jul 2015 08:20 PM
game:GetService'Players'.PlayerAdded:connect(function(plr)
if plr.AccountAge < 100 and string.sub(plr.Name,1,6)~= 'Guest ' then
plr:Kick("Message")
end
end
Report Abuse
verbalAKspray is not online. verbalAKspray
Joined: 09 Jul 2014
Total Posts: 23685
27 Jul 2015 08:36 PM
GAME PLAERS PALYER ADDED CONECT FUNCTIAN [PALYA]]RE)
IF AKT.AGE <<<<<( 100 THEN
PPALAYAER KICK ('NA FAM"]
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