Okay, so I'm trying to make a brick that when clicked, it adds 1 to a value, and then the brick deletes itself.
function onClicked(playerWhoClicked)
sticks.Value + 1
wait(0.25)
script.Parent.Parent:Destroy()
end
This is what I have, and I'm fairly new to ClickDetector scripting, so any tips? |