Skip to main content

UI

UI elements are used to create 2D sprites on a player's screen. All UI objects must be created under the PlayerGUI service.

Every player has their own PlayerGUI, when scripting a GUI, you would mostly use a LocalScript as each player has their own GUI.

You can get a player's GUI from the LocalPlayer class.

Creating UIs

The first step of creating a UI is the actual GUI object. If UI objects are not parented to a GUI they will not display.

You can use our UI Studio to create UI more easily and export it into your game.