I have a server that is being copied to the player character when they join along with a timer module parented to the server. the server uses a module that handles the m1. when its just you, it works fine
video that the combo reset works fine
video that the combo reset doesnt work fine when someone else attacks (this is a dummy attacking)
combatservermodule
function combatmodule:M1(Character, State, Hit, Humanoid)
local combattimer = require(Character.combatserver.combattimermodule)
print("state")
if Character.Values.Attacking.Value == false then
Character.Values.Attacking.Value = true
end
if comboresettimer and comboresettimer.IsRunning then
comboresettimer:Reset()
print("reseting timer")
else
comboresettimer = combattimer.new(1.5)
print("starting timer")
comboresettimer.Completed:Connect(function()
print("reseting combo")
Character.Values.Combo.Value = 1
end)
comboresettimer:Start()
end
--(REST OF THE CODE)
please help me