animationtrack:GetMarkerReachedSignal() Not working

Hello, GetMarkerReachedSignal() does not seem to be working for me, (Yes, I checked the name of the event) can someone please help me? I have provivded the code related to the issue

local animation = script.Parent.Animations:FindFirstChild("Attack")
local animationtrack = script.Parent.Humanoid.Animator:LoadAnimation(animation)
animationtrack.Priority = Enum.AnimationPriority.Action2

animationtrack:GetMarkerReachedSignal("HitFrame"):Connect(function()
	print("hit")
	hrp = hitboxes.hitboxes(script.Parent.HumanoidRootPart, hbSize, nil, 0.1, area, Type)	

        if hrp then
		damage(hrp)
	end
end)
			
animationtrack.Stopped:Wait()

IM DUMB OMG
sorry man i thought this was in dev discussion lol

what animaion editor you using. if it’s moon, it can be confusing, just set every textbox value to HitFrame.

1 Like