-- Detect input stopped

UIS.InputEnded:Connect(function(input)
	-- Detect input to run
	if input.KeyCode==Enum.KeyCode.LeftShift then
		-- Make sure is running and not crawling
		if shiftDown==true and not cDown then
			-- Stop running
			shiftDown=false
			hum.WalkSpeed=18
		end
	-- Detect input to stop crawling
	else if input.KeyCode==Enum.KeyCode.C then
			-- Make sure crawling and is not running
			if cDown==false and not shiftDown then
				cDown=false
				hum.WalkSpeed=18
				--crawlAnm:Stop()
			end
		end
	end
end)
