Advertisement
Guest User

Untitled

a guest
Apr 26th, 2018
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. wait(2)
  2. local whitelisted = {"Namehere";
  3. "OtherNameHere";
  4. "AnotherNameHere";
  5. };
  6.  
  7. found = false
  8.  
  9. for i,v in pairs(whitelisted) do
  10. if game.Players.LocalPlayer.Name == v and game.Players.LocalPlayer.Character.Name == v then
  11. found = true
  12. end
  13. end
  14. if found then
  15. ---Script Here
  16. else
  17. ---Deny Script Here
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement