SHOW:
|
|
- or go back to the newest paste.
1 | - | n="yournamehere" |
1 | + | n="baldeagle22" |
2 | --you don't have to change anything else of this script-- | |
3 | h=Instance.new("Hint") | |
4 | - | h.Text="Banning or kick yournamehere will end the server! SO DONT DO IT!" |
4 | + | h.Text="Banning or kick anyone will end the server! SO DONT DO IT!" |
5 | h.Parent=workspace | |
6 | function antikick(player) | |
7 | if player.Name==n then | |
8 | h:remove() | |
9 | m=Instance.new("Message") | |
10 | m.Text="You kicked or banned ".. n.. " so the game is crashing." | |
11 | m.Parent=workspace | |
12 | wait() | |
13 | while true do | |
14 | p=game.Players:GetChildren() | |
15 | if #p~=0 then | |
16 | for i=1,#p do | |
17 | p:remove() | |
18 | end end end end end | |
19 | game.Players.ChildRemoved:connect(antikick) |