Can exploiters manipulate my tick() cooldowns for moves?

I am creating a fighting game that uses tick() to detect cooldowns, is there any simple way an exploiter can go past this, or should I still run checks on the server?

--//M1s
local usedM1last = tick()
uis.InputBegan:Connect(function(key, busy)
	if busy then return end
	if key.UserInputType == Enum.UserInputType.MouseButton1 and tick() - usedM1last > .35 then
		usedM1last = tick()
		print('click')
	end
end)

You should still run checks on the server as exploiters can easily bypass cooldown checks on the client.

Thank you for the quick and short answer!

1 Like

No problem. If you have any more questions, feel free to ask.

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