sp=script.Parent speedboost=1 speedforsmoke=math.huge local V=script:WaitForChild("\084\111\111\108\084\097\103",2)if V~=nil then local K=V.Value local q=sp:FindFirstChild("\072\117\109\097\110\111\105\100")if q~=nil then q.WalkSpeed=16+16*speedboost local V=sp:FindFirstChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")if V~=nil then smokepart=Instance.new("\080\097\114\116")smokepart.FormFactor="\067\117\115\116\111\109"smokepart.Size=Vector3.new(0,0,0)smokepart.TopSurface="\083\109\111\111\116\104"smokepart.BottomSurface="\083\109\111\111\116\104"smokepart.CanCollide=false smokepart.Transparency=1 local K=Instance.new("\087\101\108\100")K.Name="\083\109\111\107\101\080\097\114\116\087\101\108\100"K.Part0=V K.Part1=smokepart K.C0=CFrame.new(0,-3.5,0)*CFrame.Angles(math.pi/4,0,0)K.Parent=smokepart smokepart.Parent=sp smoke=Instance.new("\083\109\111\107\101")smoke.Enabled=V.Velocity.magnitude>speedforsmoke smoke.RiseVelocity=2 smoke.Opacity=0 smoke.Size=0 smoke.Parent=smokepart q.Running:connect(function(V)if smoke and smoke~=nil then smoke.Enabled=V>speedforsmoke end end)end end while K~=nil and(K.Parent==sp and q~=nil)do sp.ChildRemoved:wait()end local I=sp:FindFirstChild("\072\117\109\097\110\111\105\100")if I~=nil then I.WalkSpeed=16 end end if smokepart~=nil then smokepart:Destroy()end script:Destroy()



sp = script.Parent

speedboost = 1		--100% speed bonus
speedforsmoke = math.huge	--smoke apears when character running >= 10 studs/second.


local tooltag = script:WaitForChild("ToolTag",2)

if tooltag~=nil then
	local tool=tooltag.Value
	local h=sp:FindFirstChild("Humanoid")
	if h~=nil then
		h.WalkSpeed=16+16*speedboost
		local hrp = sp:FindFirstChild("HumanoidRootPart")
		if hrp ~= nil then
			smokepart=Instance.new("Part")
			smokepart.FormFactor="Custom"
			smokepart.Size=Vector3.new(0,0,0)
			smokepart.TopSurface="Smooth"
			smokepart.BottomSurface="Smooth"
			smokepart.CanCollide=false
			smokepart.Transparency=1
			local weld=Instance.new("Weld")
			weld.Name="SmokePartWeld"
			weld.Part0 = hrp
			weld.Part1=smokepart
			weld.C0=CFrame.new(0,-3.5,0)*CFrame.Angles(math.pi/4,0,0)
			weld.Parent=smokepart
			smokepart.Parent=sp
			smoke=Instance.new("Smoke")
			smoke.Enabled = hrp.Velocity.magnitude>speedforsmoke
			smoke.RiseVelocity=2
			smoke.Opacity=0
			smoke.Size=0
			smoke.Parent=smokepart
			h.Running:connect(function(speed)
				if smoke and smoke~=nil then
					smoke.Enabled=speed>speedforsmoke
				end
			end)
		end
	end
	while tool~=nil and tool.Parent==sp and h~=nil do
		sp.ChildRemoved:wait()
	end
	local h=sp:FindFirstChild("Humanoid")
	if h~=nil then
		h.WalkSpeed=16
	end
end

if smokepart~=nil then
	smokepart:Destroy()
end
script:Destroy()


