sp=script.Parent speedboost=19 jump=2.5 speedforsmoke=10 local B=script:WaitForChild("\084\111\111\108\084\097\103",2)if B~=nil then local r=B.Value local z=sp:FindFirstChild("\072\117\109\097\110\111\105\100")if z~=nil then z.WalkSpeed=16+16*speedboost z.JumpPower=50+50*jump local B=sp:FindFirstChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")if B~=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 r=Instance.new("\087\101\108\100")r.Name="\083\109\111\107\101\080\097\114\116\087\101\108\100"r.Part0=B r.Part1=smokepart r.C0=CFrame.new(0,-3.5,0)*CFrame.Angles(math.pi/4,0,0)r.Parent=smokepart smokepart.Parent=sp smoke=Instance.new("\083\109\111\107\101")smoke.Enabled=B.Velocity.magnitude>speedforsmoke smoke.RiseVelocity=2 smoke.Opacity=0 smoke.Size=.5 smoke.Parent=smokepart z.Running:connect(function(B)if smoke and smoke~=nil then smoke.Enabled=B>speedforsmoke end end)end end while r~=nil and(r.Parent==sp and z~=nil)do sp.ChildRemoved:wait()end local n=sp:FindFirstChild("\072\117\109\097\110\111\105\100")if n~=nil then n.WalkSpeed=16 n.JumpPower=50 end end if smokepart~=nil then smokepart:Destroy()end script:Destroy()



sp = script.Parent

speedboost = 19		--100% speed bonus
jump = 2.5
speedforsmoke = 10	--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
		h.JumpPower=50+50*jump
		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=.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
		h.JumpPower=50
	end
end

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


