Interfaces["example"].Visible = false -- false to hide, true to show
Yes, via the explorer tool. Can be accessed with ctrl+e or via the main menu.Scroll down to the bottom of the list in the explorer tool & you will find eInterfaceClasses, right click on it & create a new interface class. Now expand it & look for the new interface class you just created. Click on it, rename it to something appropriate, then expand it & click on the thing inside & give that the same exact name.Quick note: you can use Lua script to hide/show individual interfaces instead of hiding/showing all interfaces linked to a specific class.Interfaces["example"].Visible = false -- false to hide, true to show
Yes, via the explorer tool. Can be accessed with ctrl+e or via the main menu.Scroll down to the bottom of the list in the explorer tool & you will find eInterfaceClasses, right click on it & create a new interface class. Now expand it & look for the new interface class you just created. Click on it, rename it to something appropriate, then expand it & click on the thing inside & give that the same exact name.Quick note: you can use Lua script to hide/show individual interfaces instead of hiding/showing all interfaces linked to a specific class.Interfaces["example"].Visible = false -- false to hide, true to show
return game.CurrentScene.IsMenu
Thank youcreate an if lua result action part at the top of the action block & insert this into it...return game.CurrentScene.IsMenu
then add an else action part, followed by the action parts you have already created, then add an end if action part at the bottom.what you should end up with is something along the lines of this...if lua result ...elseyour action partsend ifThe lua result code is returning a boolean value (true if scene is a menu or false if scene is not a menu) but because we only need the actions you created to execute if the scene is not a menu then we needed to skip to the else section of the if query wrapper.