Ducksneedhelp1

Account Age - Script

Sep 30th, 2020
829
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. local playerminimumAge = 3
  2. local kickMessage = "In order to play this game, your account must at least 3 days old; this is to prevent bots. Please wait for it to turn 3 days."
  3. game.Players.PlayerAdded:Connect(function(player)
  4.  
  5. if player.AccountAge < playerminimumAge then
  6. player:kick(kickMessage)
  7. end
  8.  
  9. end)
  10.  
  11.  
Advertisement
Add Comment
Please, Sign In to add comment