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

Help please could someone try this?

Asked by 10 years ago

So I was thinking of a msg:lower() script, where if the player were to say "MainMenu/", then a GUI would open. As in the players GUI will be Visible, after being Unvisible. Any Ideas??

1 answer

Log in to vote
0
Answered by 10 years ago
if message:lower() == "mainmenu/" then
    gui.Visible = not gui.Visible -- Sets GUI visibility to the opposite of what it was (toggle)
end

You would need to configure this to meet your needs, of course.

0
Wouldn't you make it "Script.Parent .Visible"?? Lem0nzz 5 — 10y
0
It depends where the GUI is. I just left it as 'gui'. Scriptury 70 — 10y
Ad

Answer this question