Auto avoid a moderator for safety · RobloxExploits.lolAuto avoid a moderator for safety
skeletonsocrates5 1 month ago 565 viewsRun it
Copy the script and paste it into your executor.
Auto avoid a moderator for safety.lua · 79 lines -- CONFIGURATION
local Settings = {
LeaveOnCreator = true, -- Auto-leave if the game creator joins the server
LeaveOnRobloxAdmin = true, -- Auto-leave if an official Roblox staff member joins
-- Custom lists (Add specific usernames or IDs you want to avoid)
TargetUsernames = {"nameofmod", "GameOwnerFriend"},
TargetUserIds = {1234567, 8901234},
CheckGroupRole = ,
GroupId = .CreatorId,
MinRankToKick =
}
Players = :()
LocalPlayer = Players.LocalPlayer
(message)
( .. message)
(player)
player == LocalPlayer
Settings.LeaveOnCreator player.UserId == .CreatorId
LocalPlayer:( .. player.Name)
Settings.LeaveOnRobloxAdmin player:()
LocalPlayer:( .. player.Name)
_, name (Settings.TargetUsernames)
player.Name:() == name:()
LocalPlayer:( .. player.Name)
_, id (Settings.TargetUserIds)
player.UserId == id
LocalPlayer:( .. player.Name)
Settings.CheckGroupRole .CreatorType == .CreatorType.Group
(()
player:(.CreatorId) >= Settings.MinRankToKick
LocalPlayer:( .. player.Name)
)
()
_, player (Players:())
(player)
Players.PlayerAdded:((player)
( .. player.Name .. )
(player)
)
()
About this script
You get kick if a moderator joined
-- Group checking (Optional: kicks you if someone with a high rank in the game's main group joins)
true
game
-- Automatically defaults to the game creator's ID/Group if applicable
200
-- Usually, 200+ are mods/admins in development groups
-- SERVICES
local
game
GetService
"Players"
local
-- LOG FUNCTION
local
function
debugLog
print
"[Anti-Mod]: "
end
-- DETECTION FUNCTION
local
function
checkPlayer
if
then
return
end
-- 1. Check if Creator
if
and
game
then
Kick
"⚠️ Detected Game Creator: "
return
end
-- 2. Check if Official Roblox Admin/Staff
if
and
IsInGroup
1200769
then
-- 1200769 is the official Roblox Admin group ID
Kick
"⚠️ Detected Official Roblox Staff/Admin: "
return
end
-- 3. Check Username Custom List
for
in
ipairs
do
if
lower
lower
then
Kick
"⚠️ Detected Blacklisted Username: "
return
end
end
-- 4. Check UserID Custom List
for
in
ipairs
do
if
then
Kick
"⚠️ Detected Blacklisted UserID: "
return
end
end
-- 5. Check Group Rank (if the game is owned by a group)
if
and
game
Enum
then
pcall
function
if
GetRankInGroup
game
then
Kick
"⚠️ Detected Game Group Moderator/Admin: "
end
end
end
end
-- SCAN EXISTING PLAYERS
debugLog
"Scanning current server players..."
for
in
ipairs
GetPlayers
do
checkPlayer
end
-- LISTEN FOR NEW PLAYERS JOINING
Connect
function
debugLog
"Player joined: "
" | Scanning..."
checkPlayer
end
debugLog
"Anti-Mod Script Successfully Loaded."
[KEYLESS] Moondiety Script | 35+ supported Games
Universal