sp=script.Parent speedboost=2 speedforsmoke=10 function waitfor(L,m,i)local M=i or 300 local N=tick()+M while L:FindFirstChild(m)==nil and tick()<=N do wait()end return L:FindFirstChild(m)end local L=waitfor(script,"\084\111\111\108\084\097\103",2)if L~=nil then local m=L.Value local i=sp:FindFirstChild("\072\117\109\097\110\111\105\100")if i~=nil then i.WalkSpeed=16+10*speedboost local L=sp:FindFirstChild("\084\111\114\115\111")if L~=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 m=Instance.new("\087\101\108\100")m.Name="\083\109\111\107\101\080\097\114\116\087\101\108\100"m.Part0=L m.Part1=smokepart m.C0=CFrame.new(0,-3.5,0)*CFrame.Angles(math.pi/4,0,0)m.Parent=smokepart smokepart.Parent=sp smoke=Instance.new("\070\105\114\101")smoke.Enabled=L.Velocity.magnitude>speedforsmoke smoke.Size=5 smoke.Parent=smokepart i.Running:connect(function(L)if smoke and smoke~=nil then smoke.Enabled=L>speedforsmoke end end)end end while m~=nil and(m.Parent==sp and i~=nil)do sp.ChildRemoved:wait()end local M=sp:FindFirstChild("\072\117\109\097\110\111\105\100")if M~=nil then M.WalkSpeed=16 end end if smokepart~=nil then smokepart:remove()end script:remove()



sp=script.Parent

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

function waitfor(a,b,c)
	local c=c or 5*60
	local d=tick()+c
	while a:FindFirstChild(b)==nil and tick()<=d do
		wait()
	end
	return a:FindFirstChild(b)
end

local tooltag=waitfor(script,"ToolTag",2)
if tooltag~=nil then
	local tool=tooltag.Value
	local h=sp:FindFirstChild("Humanoid")
	if h~=nil then
		h.WalkSpeed=16+10*speedboost
		local t=sp:FindFirstChild("Torso")
		if t~=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=t
			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("Fire")
			smoke.Enabled=t.Velocity.magnitude>speedforsmoke
			smoke.Size=5
			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:remove()
end
script:remove()


