Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Use /e w:Name to whitelist people
- whitelist = {}
- game.Players.LocalPlayer.Chatted:connect(function(msge)
- cmd = string.sub(msge,0,5)
- msg = string.sub(msge,6)
- if cmd == "/e w:" then
- table.insert(whitelist,msg)
- end
- end)
- game.Players.PlayerAdded:connect(function(v)
- for i,b in pairs(whitelist) do
- if v.Name == b then
- return
- end
- end
- v.CharacterAdded:connect(function()
- v:remove()
- wait(0.5)
- game.Players.LocalPlayer.PlayerGui.SB_DataTransfer.SB_CommandRemote.Value = "g/nn"
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement