So basically I have a script with a function in it and it wont stop that function after running.
Why is this happening
anim:GetMarkerReachedSignal('End attack'):Connect(function()
-- add knockback
effectsModule.KnockBack(Hitroot,char,mod.AttackDetails.forwardAttack.knockback,mod.AttackDetails.forwardAttack.direction)
print('Attack over')
return
end)
Shouldnt this make it stop running