Advertisement
voyqgo

ixfxf

Jun 27th, 2018
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. --whitelist--
  2. if game.Players.LocalPlayer.userId == 436044798 or game.Players.LocalPlayer.userId == 98888844 or game.Players.LocalPlayer.userId == 503666395 or game.Players.LocalPlayer.userId == 374237174
  3. then
  4. -- friend list
  5. print([[
  6. ___________________________________
  7.  
  8. Whitelist system
  9. sawgamer1
  10. GuestI1278
  11. voyqgo
  12. ___________________________________
  13. ]])
  14.  
  15. function checkfriendlist(model)
  16. local friend = true
  17. local target = nil
  18. if model.ClassName == "Player" then
  19. target = model
  20. else
  21. target = game:GetService("Players"):GetPlayerFromCharacter(model)
  22. end
  23. if target ~= nil then
  24. if target:IsFriendsWith(98888844) then friend = true end
  25. end
  26. return friend
  27. end
  28.  
  29. if checkfriendlist(game:GetService("Players").LocalPlayer) == false and not game:GetService("Players").LocalPlayer:FindFirstChild("Kyu's Temp Really blacklist") then
  30. warn("You're not whitelisted")
  31. --wait(5)
  32. --error("Script has been stopped.")
  33. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement