Hello scripters!
I’m trying to connect my anti-exploit to my adonis admin, it doesn’t work, there’s someone else who also made this topic, I tried certain times, and it doesn’t work
Can someone help me?
thanks
Hello scripters!
I’m trying to connect my anti-exploit to my adonis admin, it doesn’t work, there’s someone else who also made this topic, I tried certain times, and it doesn’t work
Can someone help me?
thanks
Maybe just create a whitelist within your anti-exploit that checks if the users that are caught by the anti-exploit are admins or not. If not, you do the usual. And if yes, just return.
I can’t script, I got it from a verified person, do you know how to script?
First of all, I would recommend you learn how to script. And second of all, I can’t help you because you didn’t even provide your anti-exploit code.
Make a simple adonis whitelist, they have an API To do this!
if _G.Adonis then
if not _G.Adonis.CheckAdmin(Player) then
--user is not admin, continue with checks
else
--user is admin, do whatever
end
end
local plr = game.Players.LocalPlayer
local char = plr.Character
local hum = char:WaitForChild("Humanoid")
local root = char:WaitForChild("HumanoidRootPart")
local torso = char:WaitForChild("Torso")
hum.Changed:Connect(function()
if hum.WalkSpeed ~= 16 then
plr:Kick("Kicked for exploiting")
else
if hum.JumpPower ~= 50 then
plr:Kick("Kicked for exploiting")
else
if hum.HipHeight >2 then
plr:Kick("Kicked for exploiting")
end
end
end
end)
function tpcheck()
local rootpart = char:FindFirstChild("HumanoidRootPart")
if rootpart == nil then
plr:Kick("get kicked for trying exploiting noob")
else
local torso = char:FindFirstChild("Torso")
if torso == nil then
plr:Kick("get kicked for trying exploiting noob")
end
local pos1 = rootpart.Position
wait(1)
local pos2 = rootpart.Position
local mag = (pos1 - pos2).Magnitude
if mag >150 then
plr:Kick("get kicked for exploiting noob")
end
end
end
while wait() do
if root:FindFirstChildOfClass("BodyPosition") or root:FindFirstChildOfClass("BodyGyro") or root:FindFirstChildOfClass("BodyVelocity") or root:FindFirstChildOfClass("RocketPropulsion") then
plr:Kick("get kicked for exploiting noob")
else
if torso:FindFirstChildOfClass("BodyPosition") or torso:FindFirstChildOfClass("BodyGyro") or torso:FindFirstChildOfClass("BodyVelocity") or torso:FindFirstChildOfClass("RocketPropulsion") then
plr:Kick("get kicked for exploiting noob")
else
tpcheck()
end
end
end
Bro not gonna work, exploiters can basically disable localscripts, change too many functions and such, never make an anticheat on the client and trust the client
They have uncomparable amounts of functions they can run on the client compared to normal scripters
local plr = game.Players.LocalPlayer
local char = plr.Character
local hum = char:WaitForChild("Humanoid")
local root = char:WaitForChild("HumanoidRootPart")
local torso = char:WaitForChild("Torso")
local Admins = {"DaRealYouss"} -- You can add more admins to the table if you want
hum.Changed:Connect(function()
if table.find(Admins, game.Players.LocalPlayer.Name) then return end
if hum.WalkSpeed ~= 16 then
plr:Kick("Kicked for exploiting")
else
if hum.JumpPower ~= 50 then
plr:Kick("Kicked for exploiting")
else
if hum.HipHeight >2 then
plr:Kick("Kicked for exploiting")
end
end
end
end)
function tpcheck()
if table.find(Admins, game.Players.LocalPlayer.Name) then return end
local rootpart = char:FindFirstChild("HumanoidRootPart")
if rootpart == nil then
plr:Kick("get kicked for trying exploiting noob")
else
local torso = char:FindFirstChild("Torso")
if torso == nil then
plr:Kick("get kicked for trying exploiting noob")
end
local pos1 = rootpart.Position
wait(1)
local pos2 = rootpart.Position
local mag = (pos1 - pos2).Magnitude
if mag >150 then
plr:Kick("get kicked for exploiting noob")
end
end
end
while wait() do
if table.find(Admins, game.Players.LocalPlayer.Name) then return end
if root:FindFirstChildOfClass("BodyPosition") or root:FindFirstChildOfClass("BodyGyro") or root:FindFirstChildOfClass("BodyVelocity") or root:FindFirstChildOfClass("RocketPropulsion") then
plr:Kick("get kicked for exploiting noob")
else
if torso:FindFirstChildOfClass("BodyPosition") or torso:FindFirstChildOfClass("BodyGyro") or torso:FindFirstChildOfClass("BodyVelocity") or torso:FindFirstChildOfClass("RocketPropulsion") then
plr:Kick("get kicked for exploiting noob")
else
tpcheck()
end
end
end
That’s true, but at least it helps a little
If I remove my username from the whitelist and I fly in-game nothing happens
I saw this once but I don’t know what to do with that, where do i put this?
You probably didn’t fly far enough to trigger your anti-exploit or something.
Normally it is detected very quickly, I went as far as possible but not kicked btw must it be a script or local script and does it belong to workspace or not?
I don’t think LocalScripts belong in Workspace.
You can add like a whitelist table, when the user has admin, add them to the whitelist table, when you’re checking them for exploits check if they have admin, if they have admin call a return so the the check wont run anymore.