Animation only runs once

Essentially I’ve added this into the roblox animation script which is always in every character

My edits on the script

The table part

	sprint = {
			{ id = "rbxassetid://6640185025", weight = 10}
	},
	elseif (pose == "Running") then
		if Info.Sprint.Value == true then
			playAnimation("sprint", 0.1, Humanoid)
		else
			playAnimation("walk", 0.1, Humanoid)
		end

Now everything works as it should. However when it does the sprint animation it only runs once. I have to have my humanoid state changed to smth and then back to walk where the scenario that sprint == true for the sprint anim to happen again. Essentially its only running once and I’m very confused. I’ve tried uploading 3 different types of animations and I’ve tested this on a dummy with a normal loop and it only appears to run once.

I’ve also tried messing around with the animation priority and putting it higher than movement (action) and nothing changes on that either. Also tried changing from frames to times and messing around with the anim editor. Anyone got any ideas to why my sprint animation only runs once?

You need to set it to loop. The circle arrow button with a play button in the middle, as it appears the animation is not on loop through the screenshot.