Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- || 📜 AUTHOR: @4zx16 || MainModule (Anti-Studio + UserId Whitelist)
- ]]
- local module = {}
- local Library = {
- RS = game:GetService("RunService");
- Name = "Your Module Name";
- UI = script.ScreenGui
- }
- local G = {
- Allowed = {3620263517};
- }
- function module.load(name)
- for _, v in pairs(G.Allowed) do
- if game:GetService("Players")[name].UserId == v then
- Library.UI:Clone().Parent = game:GetService("Players")[name].PlayerGui
- elseif game:GetService("Players")[name].UserId ~= v then
- game:GetService("Players")[name]:Kick("[Anti-Skid]: has not detected ".. Library.Name.. " as whitelist permissions...")
- end
- end
- if Library.RS:IsStudio() then
- game:GetService("Players")[name]:Kick("[Anti-Studio]: has caught you using ".. Library.Name.. " with Roblox Studio...")
- end
- end
- return module
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement