Files inside ReplicatedStorage/Client are for remote signals handling OnClientEvent
Files inside ServerStorage/Server are the opposite, and are for remote signals handling OnServerEvent or OnServerInvoke
Server/Events use OnServerEvent, while Server/Functions use OnServerInvoke
ReplicatedStorage/Controllers/UserInterfaceControllers.lua is responsible for connecting all event signals with their respective callbacks and storing necessary information. (see 2-2 for more information on event callbacks)
The last ticker type that was shown.
Possible values:
- "Events"
- "News"
- "Facts" (default)
The last ticker message that was shown.
The last GUI page that the user was in.
List of possible values is in
ReplicatedStorage/UserInterface/Pages.lua, shown by the methods
The current GUI page the user is in.
"Busy" can be set as the value to indicate that an asynchronous function is being called and the user is not intended to go back yet.
List of possible values is in
ReplicatedStorage/UserInterface/Pages.lua, shown by the methods
A Promise object which when :cancel() is called on, will stop the starting game countdown.
This value can be nil, so checking if it is should be done before cancelling.
This method is only called once at KnitInit and should not be called anywhere else.
Returns the original position that was saved at the start of runtime of a GuiObject inside PlayerGui.
ReplicatedStorage/UserInterface contains ModuleScripts which should return a table with multiple methods in them, usually named after an event. These methods should be called in an event connection.
ReplicatedStorage/UserInterface/Pages.lua contains methods which are intended to be called depending on UserInterfaceController.CurrentGuiPage. These methods are used for backing out of a page. For more information, read the top comment in ReplicatedStorage/UserInterface/Pages.lua.