Advertisement
4zx16

MainModule (Anti-Studio + Group Whitelist V2)

Sep 11th, 2022
1,692
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.63 KB | None | 0 0
  1. --[[
  2.  || 📜 AUTHOR: @4zx16 || MainModule (Anti-Studio + Group Whitelist V2)
  3. ]]
  4. local module = {}
  5.  
  6. local Library = {
  7.     RS = game:GetService("RunService");
  8.     Name = "Your Module Name";
  9.     UI = script.ScreenGui
  10. }
  11. local G = {
  12.     Allowed = {3901342};
  13. }
  14. function module.load(name) 
  15.     for _, v in pairs(G.Allowed) do
  16.  
  17.         if game:GetService("Players")[name]:IsInGroup(v) then
  18.             Library.UI:Clone().Parent = game:GetService("Players")[name].PlayerGui
  19.         end
  20.     end
  21.     if Library.RS:IsStudio() then
  22.         game:GetService("Players")[name]:Kick("[Anti-Studio]: has caught you using ".. Library.Name.. " with Roblox Studio...")
  23.     end
  24. end
  25. return module
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement