Log in to vote
0

Help please could someone try this?

Asked by 7 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 7 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 — 7y
0
It depends where the GUI is. I just left it as 'gui'. Scriptury 70 — 7y
Ad

Answer this question