-
i want this script to basically once the humanoidroot part size changes and magnitude “if i could lol” but size and other properties of the root part to kick the player. cause that’s how some ppl are exploiting. just another bypass ppl are using. someone shared me his script he uses to exploit. so i’m trying to find a solution to stop it and he’s oddly trying to help me patch the exploits he’s using lol
-
some reason i get an error trying to run this code saying “Players.jjphariss.Backpack.Sword.Anti-reach:19: attempt to index nil with ‘HumanoidRootPart’ - Client - Anti-reach:19” i don’t understand how humanoidroot part is nil? it’s just a brick inside the character isn’t it? am i just not understanding it correctly? can someone help me find a solution to this can point me in the right direction or hints clues i don’t mind. i just need some info for why this is even happening and a possible way to fix.
-
i tried changing the detection and tried changing how it’s locating the humanoid root part. don’t think it matters though since it’s claiming it’s nil anyway.
local parent = script.Parent
local Players = game:GetService("Players")
local plr = Players.LocalPlayer
local char = plr.Character
local checker = script.Parent.Handle
local checker2 = checker.Parent.Handle
local checktool = parent
local humansize = char.HumanoidRootPart
checker2.Changed:Connect(function(check)
if char.HumanoidRootPart.Position or humansize.Size then
plr:kick("kicked for trying to reach exploit")
end
if check == "Size" or checktool.Enabled == false then
plr:kick("kicked for trying to reach exploit")
end
end)
parent.ChildAdded:Connect(function(detect)
if detect.ClassName == "ScreenGui" or detect.ClassName == "BillboardGui" or detect.ClassName == "Script" or detect.ClassName == "LocalScript" then
plr:kick("kicked for trying to exploit")
end
end)