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()