I need to stop an animation from playing (The animation started playing from a separate script)
The script works the animation stops playing but the script ends on line 3 and sends an output error
it says AnimationId is not a valid member of AnimationTrack “Animation”
local ActiveTracks = char2.Humanoid:GetPlayingAnimationTracks()
for _,v in pairs(ActiveTracks) do
if v.AnimationId == "rbxassetid://17277645993" then
v:Stop()
end
end