Hi, I was made aware of the Hip Height property of the Humanoid being vulnerable to exploits not too long ago. I was wondering what the best is way to detect and kick the exploiter.
This type of exploit can really give exploiters an advantage over the game as they can simply walk across the map to the win part:
What would be the best way of detecting Hip Height changes? Detecting suspicious physics in the server-side or firing a remote from the client that directly detects changes in the property? Any advice or tips is appreciated!
This might not be efficient but connect a remoteevent, every 5 seconds clone a localscript to the player and make the localscript quickly send the hipheight, if it’s higher than zero kick the exploiter.
Value = 5 -- value to be kicked
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function()
plr.Character:FindFirstChild("Humanoid"):GetPropertyChangedSignal("HipHeight"):Connect(function()
if plr.Character.Humanoid.HipHeight > Value then -- if hipheight is higher than value then kick
plr:Kick()
end
end)
end)
end)
you can do that, just make sure to put it in serverscriptservice
A good way would be to raycast down from the humanoidrootpart and if the floor is more than a certain distance over the floor for an extended bit of time kick the player
this would also patch most fly anti cheats
also if the player completes the stage in less than like 3 seconds thats a dead giveaway that they were hacking just kick them
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
humanoid:GetPropertyChangedSignal("HipHeight"):Connect(function()
if humanoid.HipHeight < 0 or humanoid.HipHeight >= 5 then
player:Kick("HipHeight not in possible range.")
end
end)
Local script, although it can be deleted from the client’s perspective.
Put the anti exploit in a critical clientsided script, like movement. Not much people think about this, nor do exploiters really, because their hidden well + the exploiter won’t be able to even play if they remove it using dex!