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

Is there anyway to make a pop up GUI on touch brick but an NPC activates it?

Asked by 5 years ago

The title was probably kind of confusing. But you know how Pop-Up GUI bricks only work if the player touches the brick? Well, is there any way for an NPC to touch the brick and force a GUI to appear on the screen for the player?

0
What I would do is have the gui already set in the player's screen but disabled, and have it when the part is touched by another part, check if it is an NPC, if so, Pop-Up GUI gets enabled. SteamG00B 1633 — 5y
0
Oh that really helps!! Tysm!! C0_RRUPTED 2 — 5y
0
I have a habit of answering in comments, so I'm going to add an answer to this so you can mark it as solved. SteamG00B 1633 — 5y
0
There's no button coming up for me to mark it as solved? Is there another way to mark it? C0_RRUPTED 2 — 5y
View all comments (3 more)
0
On my answer, there should be a check mark or something allowing you to mark it as an accepted answer. SteamG00B 1633 — 5y
0
Haven't asked a question in a while, but I think it is on a button below my answer. SteamG00B 1633 — 5y
0
That was weird, but I marked it now, thanks for the help! :) C0_RRUPTED 2 — 5y

1 answer

Log in to vote
0
Answered by
SteamG00B 1633 Moderation Voter
5 years ago

What I would do is have the gui already set in the player's screen but disabled, and have it when the part is touched by another part, check if it is an NPC, if so, Pop-Up GUI gets enabled.

Ad

Answer this question