How can I fix this unstoppable animation?

Sure thing Ill send a DM right now. We can do it off of discord or devforum whatever you prefer

Do not read
remote.OnClientEvent:Connect(function()
	cas:UnbindAction("sprint")
	if ifSprintAnimPlaying then
		sprintAnim:Stop()
		ifSprintAnimPlaying = false
	end

I want to use Discord

Alright DM me your user through DevForum Dms

For those who want to see the final code and have the same problem, there is a repro.

UpdatedRepro.rbxl (34.8 KB)

Remember to change animations if you want to test it.