Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local DevelopersAllowed = {} -- add names here
- local plr = game.Players.LocalPlayer
- local function CheckAllowed(p)
- for i = 1,#DevelopersAllowed do
- if DevlopersAllowed[i] == plr.Name then
- return true
- end
- end
- return false
- end
- spawn(function()
- if CheckAllowed(plr) then
- print("Player Allowed")
- else
- script.Parent:Destroy()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement