Templates
Roblox GUI Templates
Six ready-made panels — shop, inventory, HUD, main menu, settings and codes. Each one is the exact Luau output of the matching option in the GUI maker, ready to paste into Studio.
Roblox GUIs are built from the same short list of parts every time: a ScreenGui, a Frame or two, a layout, and TextButtons. These templates give you the finished arrangement as Luau, so you can paste it into a Script and keep editing real Roblox instances instead of importing flat images.
There are six of them, and every one is the exact output of the matching option in the Roblox GUI maker. None of them is a picture: every frame, corner and padding value is a line you can change.
Which template should you start with
Selling something? Start with the shop. Showing what a player owns? The inventory grid. Showing health, coins and timers during play? The HUD. The first screen a player sees? The main menu. Letting players mute music or turn off camera shake? The settings panel. Handing out codes? The codes redeem box.
If two of them sound close — a shop and an inventory, for example — the difference is where the data comes from. The shop lists things a player can buy; the inventory lists things a player already owns. Both use the same scrolling list, so you can copy one and swap the contents.
What you get in every template
Each page carries the Luau source, the instance hierarchy it builds (ScreenGui › Frame › TextButton), and the properties that actually matter: AnchorPoint, Size as UDim2, UICorner radius and UIPadding. Nothing is an image, so you can restyle it in Studio, hook it to RemoteEvents and keep it in version control.
Where a panel breaks on a phone, the page says so and shows the fix — the codes panel, for example, cannot use a fractional width on a 390-pixel screen and switches to a fixed 320 pixels.
Change the colours without rewriting the code
Every template page hard-codes one accent colour and a corner radius so the code runs as pasted. Once it runs, you have two ways to recolour it: edit the Color3.fromRGB values near the top of each block, or go back to the Roblox GUI maker, pick the same template, set the accent and corner radius and copy the regenerated script. The second route is faster when you are still deciding, because the preview updates as you drag.
Copy it into Studio
Open Roblox Studio, go to View → Command Bar, paste the script and press Enter. The panel appears in PlayerGui straight away. For a real game, right-click ServerScriptService, insert a Script, paste it there instead, and run the game with Play — the interface now exists on the server side where you can save it to StarterGui.
Learn the hierarchy first
If the property names look unfamiliar, read how Roblox GUI code works — it walks from ScreenGui down to layouts in plain language before you touch the templates.