Hello, I am trying to make a system where you click a button you get a tool. I have already made it so you get a tool but don’t know how to do so players can’t spam the button and get multiple tools, can anybody help? I have been searching alot but have been unable to find anything. I have only been scripting for 5 days.
local Tool = game.ServerStorage.Tool script.Parent.MouseClick:Connect(function(player) local CloneTool = Tool:Clone() CloneTool.Parent = player.Backpack CloneTool.Name = "Pickaxe" end)