Is there any way to find out if an animation has finished/started playing, from the server?
So I start the animation/fire the animation from the client. Is there any way to check if the animation has stopped/finished from the server - even though you didn’t fire it from the server?
Oh yeah sorry. My bad. Try this code (tell me if there something wrong) :
local function AnimPlaying(animation)
if animation:IsA("AnimationTrack") then
if animation.IsPlaying then
print(animation.Name.."is playing.")
return true
else
print(animation.Name.."is not playing.")
return false
end
else
error(animation.Name.."must be an AnimationTrack.")
end
AnimPlaying(animation) —Your animation