Animations look weird when you stop sprinting

This glitch is very funny actually. If you do a combination of keys like: (hold) SHIFT+W (5 sec) (hold) W

You will get some robotic walking animations and a bouncy walking. This only seems to work if you have default animations on. This all happens while still holding W.

Video:

Script:

local uis = game:GetService("UserInputService")
local ch = script.Parent
local hum = ch:WaitForChild("Humanoid")

local running = false

uis.InputBegan:Connect(function(input, event)
	if input.KeyCode == Enum.KeyCode.LeftShift then
		if not running then
			running = true

			hum.WalkSpeed = 24
		end
	end
end)

uis.InputEnded:Connect(function(input, event)
	if input.KeyCode == Enum.KeyCode.LeftShift then
		if running then
			running = false

			hum.WalkSpeed = 14
		end
	end
end)

This is actually a really dumb issue with Roblox’s animator starter character script. However, I’ve discovered a fix.

Reference this post I made recently, I’ve marked what I found as the solution:

You’ll have to play a game, copy the Animate script in your character, then paste it into StarterCharacterScripts, and modify that. It’ll override the default animate script.