local z=script.Parent local T=10 local P=z.Handle:WaitForChild("\067\111\105\108\083\111\117\110\100")function MakeSmoke(z,P)smoke=Instance.new("\083\109\111\107\101")smoke.Enabled=z.Velocity.magnitude>T smoke.RiseVelocity=2 smoke.Opacity=.25 smoke.Size=.5 smoke.Parent=z P.Running:connect(function(z)if smoke and smoke~=nil then smoke.Enabled=z>T end end)end z.Equipped:connect(function()local T=z:WaitForChild("\072\097\110\100\108\101")local E=z.Parent:FindFirstChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")local K=z.Parent:FindFirstChild("\072\117\109\097\110\111\105\100")P:Play()K.WalkSpeed=K.WalkSpeed*z.SpeedBoostScript.SpeedMultiplier.Value MakeSmoke(E,K)end)z.Unequipped:connect(function()local T=z.Parent.Parent.Character local P=T.HumanoidRootPart if P:FindFirstChild("\083\109\111\107\101")then P.Smoke:Destroy()end T.Humanoid.WalkSpeed=T.Humanoid.WalkSpeed/z.SpeedBoostScript.SpeedMultiplier.Value end)


local Tool = script.Parent
local speedforsmoke = 10

local CoilSound = Tool.Handle:WaitForChild("CoilSound")

function MakeSmoke(HRP, Human)
	smoke=Instance.new("Smoke")
	smoke.Enabled=HRP.Velocity.magnitude>speedforsmoke
	smoke.RiseVelocity=2
	smoke.Opacity=.25
	smoke.Size=.5
	smoke.Parent=HRP
	Human.Running:connect(function(speed)
		if smoke and smoke~=nil then
			smoke.Enabled=speed>speedforsmoke
		end
	end)
end

Tool.Equipped:connect(function()
	local Handle = Tool:WaitForChild("Handle")
	local HRP = Tool.Parent:FindFirstChild("HumanoidRootPart")
	local Human = Tool.Parent:FindFirstChild("Humanoid")
	CoilSound:Play()
	Human.WalkSpeed = Human.WalkSpeed * Tool.SpeedBoostScript.SpeedMultiplier.Value
	MakeSmoke(HRP, Human)
end)

Tool.Unequipped:connect(function()
	local plrChar = Tool.Parent.Parent.Character
	local HRP = plrChar.HumanoidRootPart
	if HRP:FindFirstChild("Smoke") then
		HRP.Smoke:Destroy()
	end
	plrChar.Humanoid.WalkSpeed = plrChar.Humanoid.WalkSpeed / Tool.SpeedBoostScript.SpeedMultiplier.Value
end)
