Heres the code for the animation
local biteanim = Instance.new("Animation") biteanim.AnimationId = "rbxassetid://5638379797" local biteanimTrack = humanoid:LoadAnimation(biteanim)
and heres the code when I play it in the function
biteanimTrack:Play() wait(1) biteanimTrack:Stop()
it plays once when the game starts and doesnt play again
If you want the animation just to play a few times, not loop, you can do:
biteanimTrack:Play() biteanimTrack.Looped = true wait(put how long you want the animation to last in seconds here) biteanimTrack.Looped = false biteanimTrack:Stop()
If you want the animation to loop then use:
biteanimTrack.Looped = true biteanimTrack:Play()