MaxproGlitcher

Crée un whitelist loadstring .lua

Apr 7th, 2025
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1.  
  2. local whitelist = {
  3. "username",
  4. "username",
  5. "username",
  6. "username",
  7. "username",
  8. "username"
  9. }
  10.  
  11. local playerName = game.Players.LocalPlayer.Name
  12.  
  13. local function isWhitelisted(name)
  14. for _, whitelistedName in ipairs(whitelist) do
  15. if name == whitelistedName then
  16. return true
  17. end
  18. end
  19. return false
  20. end
  21.  
  22. if isWhitelisted(playerName) then
  23. print("hi") -- replace with your script, prefably a loadstring
  24. end
Advertisement
Add Comment
Please, Sign In to add comment