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

2 comments
if the AnimationEnd is an AnimationTrack, then this should work. try printing something. Right now you're not changing anything though
Yes the AnimationEnd is the AnimationTrack, roblox is weird...