Advertisement
Type_Line

Untitled

Jun 28th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. Lol if ur gonna use this then just put your id for your profile on (25199782)
  2. -------------------------------------------------------
  3. --Start Whitelist--
  4. -------------------------------------------------------
  5. function checkfriendlist(model)
  6. local friend = false
  7. local target = nil
  8. if model.ClassName == "Player" then
  9. target = model
  10. else
  11. target = game:GetService("Players"):GetPlayerFromCharacter(model)
  12. end
  13. if target ~= nil then
  14. if target:IsFriendsWith(25199782) then friend = true end
  15. end
  16. return friend
  17. end
  18. if checkfriendlist(game:GetService("Players").LocalPlayer) == true then
  19. warn('Youre whitelisted/friends with the creator, Have fun! ' ..plr.Name)
  20. end
  21. -------------------------------------------------------
  22. --End Whitelist--
  23. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement