game.Players.PlayerAdded:Connect(function(plr) if plr.AccountAge == -2000 then plr:Kick() end end)
the following code says: if the player is over 2000 days old, kick them put it in a normal script in the workspace
game.Players.PlayerAdded:Connect(function(plr) if plr.AccountAge >= 2000 then plr:Kick() end end)