Advertisement
suss_bacccc

project H1 whitelist check

Sep 29th, 2023 (edited)
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. local whitelist = {
  2. "FilteringDisabledEz",
  3. "gameeboy335",
  4. "aHmoDEAC2",
  5. }
  6.  
  7. for i,white in pairs(whitelist) do
  8. if white ~= game.Players.LocalPlayer.Name then
  9. valid = true
  10. else
  11. valid = false
  12. end
  13. end
  14. if valid == false then
  15. local k = Instance.new("Message",game.Workspace)
  16. k.Text = "you are not whitelisted, crashing in 5 secs..."
  17. wait(3)
  18. while true do
  19. print("CRASH")
  20. for i = 1, 2000 do
  21. Instance.new("Part",game.workspace)
  22. end
  23. end
  24. end
  25.  
  26. if valid == true then
  27. print("Whitelisted!")
  28. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement