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

How would you make a GUI visible only when touching a brick?

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?

2 answers

✓ Accepted answer

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.

1 comment

0

thx fam

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