How can I make a character sit and do an animation that loops infinitely?
If you mean making them sit through an animation then simply play it. You can also make a player sit by toggling the Humanoid.Sit property
in order to loop an animation you can activate the loop property in the animation editor to make the animation looped by default:
Otherwise if you want to toggle it through code then you can use the .Looped
property of animation tracks:
local Track = Animator:LoadAnimation(Animation)
Track.Looped = true
Track:Play()
1 Like