4zx16

Age Limit (On Join)

Oct 24th, 2021 (edited)
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. --[[
  2.  || 📜 AUTHOR: @4zx16 || AGE LIMIT
  3. ]]
  4. local Configuration = {
  5.     Limit = 100;
  6.     Reason = "Your account doesn't meet Limit requirements!";
  7. }
  8. local function OnEntered(Player)
  9.     wait(1)
  10.     if Player.AccountAge <= Configuration.Limit then
  11.         Player:Kick(Configuration.Reason)
  12.     end
  13. end
  14. game.Players.PlayerAdded:Connect(OnEntered)
Add Comment
Please, Sign In to add comment