title explains it all, i want to make a GUI appear ONLY when they are touching the brick so the moment they leave the brick the GUI disappears anyone know how?
Use Touched
and TouchEnded
events. I suggest using a LocalScript. Touched
fires whenever and the hitbox of the part provided and another hitbox overlap. In other words, the Touched
event fires when the part gets touched by another object. TouchEnded
fires when a hitbox leaves the provided part's hitbox. In other words, the TouchEnded
event will fire whenever an object stops colliding with the part.