--local NormalWalk = Character.WalkSpeed

UserInputService.InputBegan:Connect(function(input,processing)
	if not processing then
		if input.KeyCode == Enum.KeyCode.LeftShift then
			if isRunning then
				Character.Humanoid.WalkSpeed = 40
			end
		end
	end
end)

UserInputService.InputEnded:Connect(function(input,processing)
	if not processing then
		if input.KeyCode == Enum.KeyCode.LeftShift then
			Character.Humanoid.WalkSpeed = 16
		end
	end
end)

task.wait(1)
Character.Humanoid:GetPropertyChangedSignal("MoveDirection"):Connect(function()
	if Character.Humanoid.MoveDirection.Magnitude > 0 then
		isRunning = true
	else
		isRunning = false
	end
end)
