Is there a possible way to stop this exploit?

Hello everyone,

My friend had a game and it had a lot of exploiters and one exploiter showed me one method of his.

Basically he alters the animation speed so he can use his fist extremely fast and the fist has no cooldown so he can kill any player in seconds.

Is it possible to stop this? if so how?

Thank you.

You could try to add a cooldown to the fist attack

1 Like

changing the animation speed won’t help the hacker as it has no effect on damage. you just need to add a server-side cooldown to prevent spamming fist

1 Like

add a cool down that doesn’t wait for the animation to end

my friend is using a local script to start the animation and fires the remote event once the animation finishes so it doesn’t feel unresponsive.

Add a cooldown on the serverside, you can only deal damage when the cooldown in finished

you should fire the remote from the client but only use that to request a punch, then add the player to a table, play the animation, wait for your cool down then remove them from the table and if they try to fire the remote while in the table just don’t do anything

1 Like

I actually didn’t know it was possible to manipulate .Ended with :AdjustSpeed is this exploit vulnerable to server-scripts playing the animation instead because my game relies on .Ended to stop the hitbox.
Even though I use a different cooldown system with CollectionService for Tool.Activated.
Is mines also vulnerable?

local __CS = game:GetService("CollectionService")
__TOOL.Activated:Connect(function()
	if not __CS:HasTag(__PLAYER, "__ONCD")  then
		__CS:AddTag(__PLAYER, "__ONCD")
		__STUFF.__EVENTS.__CD:FireClient(__PLAYER, 2) -- THIS IS JUST COSMETIC COOLDOWN BAR
		newHitbox:HitStart()
		__HANDLE.__SLASH:Play()
		__SLASH:Play()
		task.spawn(function()
			__SLASH.Ended:Connect(function()
				newHitbox:HitStop()
			end)
		end)
		task.wait(2)
		__CS:RemoveTag(__PLAYER, "__ONCD")	
	end
end)

I’m not sure if exploiters could affect animations playing from the server but I would assume it is safe.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.