So I have this button that grabs a tool from a folder than puts it into the starter pack (there are 30 tools in folder). and it only works once, I dont know why could anyone help?(ColdFoxy07 if you answer this again big susy)
local cooldown = false --//r local button = script.Parent local plr = game:GetService('Players').LocalPlayer local tool = game.ReplicatedStorage.ACS_Engine.P2000GUN.P2000 button.Activated:Connect(function() if cooldown == false then cooldown = true script.Parent.Parent.Visible = false local clone = tool clone.Parent = plr.Backpack wait(0.5) script.Parent.Parent.Parent.TextLabel.Visible = true wait(3) script.Parent.Parent.Parent.TextLabel.Visible = false cooldown = false end end)