Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 3 years ago

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.

0
Can you not name them differently? If so, explain why. wwwaylon09 113 — 3y
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. kingjared010 0 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago

Try to use, Mouse.Hit.Target

Ad

Answer this question