Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Help please could someone try this?

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

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.

2 comments

0

Wouldn't you make it "Script.Parent .Visible"??

0

It depends where the GUI is. I just left it as 'gui'.

This discussion is preserved as it was. New answers, comments, and votes are closed.