local f=false humanoid.Running:Connect(function(I)if I>0 and f==false then f=true elseif I==0 then f=false defaultSound.TimePosition=0 end end)

local isRunning = false

humanoid.Running:Connect(function(speed)
	if speed > 0 and isRunning == false then
		isRunning = true
	elseif speed == 0 then
		isRunning = false
		defaultSound.TimePosition = 0
	end
end)

