Advertisement
XiByteGam123457890

WHITELIST SCRIPT

May 10th, 2024 (edited)
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. WHITELIST SCRIPT
  2. ----------------------------------------------------------------
  3. local allowedPlayers = {"Usename1","Username2","Username3"}
  4.  
  5. game:GetService("Players").PlayerAdded:Connect(function(player)
  6. local allowed = false
  7.  
  8. for i, name in ipairs(allowedPlayers) do
  9. if name == player.Name then allowed = true end
  10. end
  11.  
  12. if not allowed then player:Kick("Nice Try Your Not Allowed Find Some Other Place !!") end
  13. end)
  14. ----------------------------------------------------------------
  15. PLAY MY ROBLOX GAME - https://www.roblox.com/games/16800723712/WARSHIP-UPDATE-TD-WARS -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement