I want a function to connect when the game finds that there is only 1 object in a certain place. Let's say if there's only 1 block named "Brick" in the workspace. How would I tell a script to do something if there's only 1 of them? I have no idea how to even start a script like this.
Thanks for reading

2 comments
(to check if the number of parts is greater than one you can do ...if howmanyParts(model containing the parts) > 1 then...
radusavin366, the second script will work, as you want the number of members of a table