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

How to make gui appear once a brick is clicked?

Asked by 4 years ago
Edited 4 years ago

i did this but it didnt seem to work

game.Workspace.Door1Event.OnServerEvent:Connect(function()

game.StarterGui.TipGui1.Frame.Visible = true

end)

Any advice? my keyboard's loud so sorry for the short question. its 1am

2 answers

Log in to vote
0
Answered by 4 years ago

Well your visible code is correct, try print debugging your event. try this

game.Workspace.Door1Event.OnServerEvent:Connect(function()
    print"Received"
    game.StarterGui.TipGui1.Frame.Visible = true
end)

If output doesn't say "Received" then your event isn't working and you fired it incorrectly.

0
It didn't print so I think I typed something wrong BonkTonkDonk 7 — 4y
Ad
Log in to vote
0
Answered by 4 years ago

Hello! It turned out that I asked a similar question, and received an answer. Also, after my question, I left a link to the solution file.

See here (copy the link to the address bar of the browser) :https://scriptinghelpers.org/questions/98769/i-need-help-with-enable-gui-using-touch-script-for-the-implementation-of-the-store

Answer this question