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

How to start a GUI on click? [closed]

Asked by 9 years ago

How to make a GUI appear for the player after he / she clicks a part?

0
Scripting Helpers is not a request site! RepeatLua 90 — 9y

Closed as Not Constructive by 1waffle1 and M39a9am3R

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

2 answers

Log in to vote
0
Answered by 9 years ago

People on here are rude sometimes and helpful others. Yes its not a request site, but this isn't a request. It's a simple question just like any other. Lucky i'm not an expert but i think you would use function onMouseButton1Down() as the function and then change the visible property of the GUI to true when the function occurs.

Ad
Log in to vote
0
Answered by 9 years ago

Well what you could do is have the GUI is ReplicatedStorage and put a ClickDetector in the Part. Put a script in the part that clones the GUI to the players GUI when they click the part. I wont post the code as you should try this first then come back if you need further assistance we would be happy to help :)