1 | while true do |
2 | wait( 1 ) |
3 | function onEnter(player) |
4 | wait( 1 ) |
5 | player:Remove() |
6 | end |
7 | game.Players.PlayerAdded:connect(onEnter) |
8 | end |
Try this...
1 | game.Players.PlayerAdded:connect( function (player) |
2 | wait( 1 ) |
3 | player:Kick() |
4 | end ) |
Also, you don't need the while true do or the end after the game.Players part. Remove() has also been deprecated so you can't use it anymore.
Locked by TheMyrco
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?