Debris=game:GetService("\068\101\098\114\105\115")Character=script.Parent Humanoid=Character:FindFirstChild("\072\117\109\097\110\111\105\100")Duration=script:FindFirstChild("\068\117\114\097\116\105\111\110")Rate=.016666666666667 function DestroyScript()Debris:AddItem(script,.5)script:Destroy()end if not Humanoid or Humanoid.Health==0 or not Duration or Duration.Value<=0 then DestroyScript()return end while Humanoid.Health>0 and Duration.Value>0 do if Humanoid then Humanoid.WalkSpeed=6 end local A=wait(Rate)Duration.Value=Duration.Value-A end if Humanoid then Humanoid.WalkSpeed=16 end DestroyScript()


Debris = game:GetService("Debris")

Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")

Duration = script:FindFirstChild("Duration")

Rate = (1 / 60)

function DestroyScript()
	Debris:AddItem(script, 0.5)
	script:Destroy()
end

if not Humanoid or Humanoid.Health == 0 or not Duration or Duration.Value <= 0 then
	DestroyScript()
	return
end

while Humanoid.Health > 0 and Duration.Value > 0 do
	if Humanoid then
		Humanoid.WalkSpeed = 6
	end
	local Time = wait(Rate)
	Duration.Value = (Duration.Value - Time)
end

if Humanoid then
	Humanoid.WalkSpeed = 16
end

DestroyScript()
