Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Is it possible to delete a part if multiple parts have the same name?

I'm trying to have multiple parts when clicked, will delete that part. The problem is, each time i click a part, the other parts delete themselves too. Is it possible to have one part delete itself but not the others? They all have the same name in Explorer.

2 comments

0

Can you not name them differently? If so, explain why.

0

I'm making a game like Spleef (Tiles that disappear as you walk over them) but instead of walking over them, you click them. I'm not good of a scripter but all I know is the only solution is to give them all different names. (Part1, Part2, Part3, etc.) I have a script that allows a part to disappear but I want it to work on all parts but only the one part that is clicked disappear.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.