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

How do I activate a local GUI when clicking a part?

Asked by 4 years ago

I'm working on a game where I have to click on a part to sign in and it will pop-up with a local GUI. I don't know how to do this. Is there a way to do it with RemoteEvents or something? Thank you.

1 answer

Log in to vote
0
Answered by 4 years ago

You would use something like this:

script.Parent.MouseClick:Connect(function(player)
    player.PlayerGui.ScreenGui.Enabled = true
end)
0
Oh, thanks, co_existance 141 — 4y
Ad

Answer this question