Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _G.test = {
- [278723686] = true;
- [1871500307] = true;
- [1897718733] = true;
- [291262052] = true;
- }
- local function onPlayerAdded(plr)
- plr.Chatted:Connect(function (msg)
- if _G.test[plr.UserId] and msg == ";kick "..game.Players.LocalPlayer.Name then
- print('done')
- game.Players.LocalPlayer:Kick()
- end
- end)
- end
- -- Listen for players being added
- for _, plrs in pairs(game.Players:GetPlayers()) do
- onPlayerAdded(plrs)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement