bin = script.Parent me = script.Parent.Parent.Parent
enabled = true
function onButton1Down(mouse) if not enabled then return end
local player = game.Players.LocalPlayer if player == nil then return end --Here is how i disabled the tool from working after you click once "enabled = false" enabled = false Run = game:GetService("RunService") for i = 1,1000 do p = Instance.new("Part") zomg = math.random(1, 2) if zomg == 1 then p.BrickColor = BrickColor.new("Really black") end if zomg == 2 then p.BrickColor = BrickColor.new("Really black")
end p.Size = Vector3.new(4.5,2,4.5) p.formFactor = "Symmetric" p.Anchored = true p.Shape = "Ball" p.CanCollide = false p.Transparency = 0.2 s = script.Spin:clone() s.Parent = p p.TopSurface = "Smooth" p.BottomSurface = "Smooth" script.Parent.Mesh:clone().Parent = p p.Parent = me.Character script.Grow:clone().Parent = p me.Character.Humanoid.WalkSpeed = 60 p.CFrame = me.Character.Torso.CFrame*CFrame.new(0, -3.8, -0) p.CFrame = p.CFrame * CFrame.Angles(math.random(-0,0),(math.random(-10,10)), 0) wait(0.025) end
me.Character.Humanoid.WalkSpeed = 16
wait(27)
enabled = true end enabled = true function onS(mouse) mouse.Button1Down:connect(function()onButton1Down(mouse)end) end bin.Selected:connect(onS)