Code I have so far:
while wait(8.07) do
local animation = Instance.new("Animation")
animation.AnimationId = "rbxassetid://5152681449"
local control = script.Parent.Humanoid
control:LoadAnimation(animation):Play()
end
How do I loop an animation so it loops when the animation ends? The current loop I have makes it restart midway through the animation.

1 comment
Animations have a loop property. Tick it. No need to do this manually.