self.animationTracks["throw"]:GetMarkerReachedSignal("End"):connect(function()
print("Here")
self.humanoid.WalkSpeed = self.humanoidStats.WalkSpeed
self.throwing = false
self.animationTracks["throw"]:Stop()
self.animationTracks["walk"]:Play()
end)
I even have the event set:
https://i.gyazo.com/7a7edfdb9a2a585708feecdf37b7e244.mp4
EDIT: Yes I am doing lua self.animationTracks.throw:Play()
Not working how? You haven’t mentioned if “Here” doesn’t print or anything. Stating a problem without context and dropping code and an image into the post doesn’t help much.
Above that, I’m not exactly sure that GetMarkerReachedSignal works for the plugin considering animations are still in poses then, not compiled into an actual animation asset.
I’m running the code in play solo,
The video of the animation plugin is just to show that I have an event named “End”.
Turns out the code here doesn’t even work, even when I replace GetKeyframeReachedSignal(
with GetMarkerReachedSignal
It’s most likely how you’re defining the track and other objects by using self. Make sure you identified everything correctly and of course test it in play solo.