How can you make it so once you have a tool in your hands you may click a certain brick and it will add something to you're backpack every couple seconds?
local a=0 Tool.Selected:connect(function(mouse) mouse.Button1Down:connect(function() if mouse.Target==certainBrick and a==0 then a=1 Instance.new("IntValue",Player.Backpack) wait(2) a=0 end end) end)
Closed as Not Constructive by User#2
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?