I have a script inside of the brick I want the player to touch. Now I'm not sure how to edit the GUI for that one player and make it visible. Any help is appreciated :)
COMMUNITY QUESTION
How do I make a GUI pop up for a player after they have touched a brick?
1 answer
:To expand on MooMooThalahlah's explanation, you would have to start by making the brick detect when the player has touched it, seen below:
script.Parent.Touched:connect(function(hit)
print(hit.Parent.Name) -- Replace this with the code you wish to use
end)
Then you would add the code for making the gui visible inside of the function. Hope this helped!
1 comment
0
Yup as EnderGamer358 said.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
First you need to be able to print(WhoTouchedTheBrick) then you can find their GUI and display it or make a new one.
ok thanks i will work on this