humanoid.Running:Connect(function(k)if k<=.3 then isrunning=false else isrunning=true end end)
-- update whether the character is running or not
humanoid.Running:Connect(function(speed)
	if speed <= 0.3 then
		isrunning = false
	else
		isrunning = true
	end
end)
