How to check if an object exists

There are currently only 2 ways of achieving this and it is in the comment you pinned. but numbers are still not reliable in anyway because of its versatility, you can assign the same number to multiple instances but u cannot assign the same object to multiple names.

You could just use a counter starting at 0, and increment by 1 each time the part is cloned. This way each part is essentially assigned to a unique number, which you can include it in your concatenation, with the players name and the number in the parts name. If you want to find whether the part exists, you could create a function with the parts name as the parameter and pass in its unique name, where you can use FindFirstChild to see whether the part exists or not.

1 Like