I'm using the Animation's Stopped()
event to change a Value of a Variable. But, is it broken or I don't know how to use it? Here's my code :
local closeanim = script.AnimationEnd local debounce = false closeanim.Stopped:connect(function() debounce = true end)
here's the error i get
18:14:14.716 - Stopped is not a valid member of Animation
The animation was played in a different script, don't know if this caused it
Stop() -- Stops an animation. KeyframeReached() -- is used to watch the steps in an animation
Local track = human:LoadAnim(yup) KeyframeReached:connect(function(FrameName) If FrameName == "END" then endit() end end)