There are a button with a click detector in a tranparent part but I can’t press the button because it is in a part. Could you help me to make work click detectors in parts please? I really need of that to make my game.
The part’s blocking the click detector that’s the problem, there’s no way around this. The best I can think of is to have a part the size of the button that sticks out of the glass, with transparency set to 1 with a click detector inside of it.
What I normally do is make a invisible part to use as the click detector, You could easly weld it to the button if you want it to move, hope this helps!
I’m not a scripter so I don’t know, but if what your saying is when the mouse is over the part, the part disappears and then you can click the button under it, then it sounds like it could work.
I think you should use mouse for this situation.
mouse has a property called TargetFilter, which can be used to ignore certain items.
Once the mouse was clicked, fire a server event to tell which button is pressed.