GetMarkerReachedSignal doesn't seem to work for some reason

no errors appear on the output.
i want to run a function when the animation reaches a certain keyframemarker, but even when it reaches that marker the script won’t run for some reason, i don’t know why

this is the script

bowshoot:GetMarkerReachedSignal('UnleashArrow'):Connect(function()
        ~~the code here
end)
bowshoot:Play()

You should investigate the following:

  1. Is the script running at all?
  2. Is the animation running at all?
  3. Is there actually such a marker?
3 Likes

the animation is running

the marker does exist

the script runs;

it seems that only the :connect(function()) is refusing to run for some reason

re-uploaded the animation, suddenly works

1 Like