4zx16

Group Whitelist

Jul 18th, 2021 (edited)
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. local Library = {
  2.     User = game:GetService("Players").LocalPlayer,
  3.     Group = 3901342
  4. }
  5. if Library.User:IsInGroup(Library.Group) then
  6.     print(Library.User.Name, " is whitelisted !")
  7. else
  8.     print(Library.User.Name, " is NOT whitelisted !")
  9.     Library.User:Kick(Library.User.DisplayName)
  10. end
Advertisement
Add Comment
Please, Sign In to add comment