Logo van Scenario Roblox Ui

Scenario Roblox Ui

OrganisatiePopulair
scenario-labs
scenario-roblox-ui

Use when building or fixing Roblox game UI or input: HUD (health bar, currency, ability cooldowns), main menu, shop with a scrolling grid, settings screen, inventory, "UI scales wrong on phone", buttons hidden behind the jump button, UI too small on a tablet or TV, portrait and landscape, top bar and safe area, Scale vs Offset, UIListLayout, UIGridLayout, UIFlexItem, StyleSheets and themes, gamepad or console menu navigation, the Input Action System (InputContext, InputAction, InputBinding), ContextActionService migration, PreferredInput, reduced motion and accessibility, localization and AutoLocalize, React, Fusion or Vide, the Device Simulator, and testing UI without a phone.

Add to TypingMind

Overzicht

Uitgeverscenario-labs
Repositoryskills
Skillnaamscenario-roblox-ui
Sterren
1.2K
Forks
144
Meegeleverde bestanden
18
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 18

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door scenario-labs op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Scenario Roblox Ui in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/scenario-labs/skills/tree/main/skills/game-engines/roblox/scenario-roblox-ui
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scenario-labs/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/game-engines/roblox/scenario-roblox-ui .claude/skills/scenario-roblox-ui
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Scenario Roblox Ui in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Scenario Roblox Ui automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Scenario Roblox Ui niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Roblox UI and Input

Roblox Studio (October 2026 build) on macOS, driven through the scenario-roblox-expert toolkit.

Expert level here means one UI tree that reads the screen and the player's input at runtime, proven by numbers and captures on phones in both orientations, a tablet, PCs, a console and a handheld, without owning any of them. Build the UI as instances in Edit, keep the look in a StyleSheet and the controls in Input Action System (IAS) contexts, then measure it under Studio's device presets and drive it with real clicks and keys.

If a sibling skill named here is missing from your available skills, load it with skill_get (Scenario MCP) or ask the user to install it (https://github.com/scenario-labs/skills#install); unattended, proceed from tool schemas and flag the gap.

REQUIRED BACKGROUND: scenario-roblox-expert (channels, review loop, toolkit, current-Roblox traps).

Stance (the expert delta)

  1. One tree, adapted by measurement. Never build per-device copies (Roblox mobile roundtable, BsyU-SJ9L-c; RDC 2024 frameworks panel). Lay out by GuiService.ViewportDisplaySize and show prompts by UserInputService.PreferredInput (Roblox gamepad doc). Phones take controllers and laptops have touch screens (Roblox IAS Q&A, KnFJl6z5UN0 [00:10:42]), so TouchEnabled and IsTenFootInterface guess wrong.
  2. Scale for the shell, Offset for what a thumb or an eye needs. Panels take Scale capped by a UISizeConstraint; buttons and text take Offset so they stay legible on a phone (roundtable [00:11:15]). Constrain the outer container, not its children (Itz_FloppyFish, BLZl-0cl2DM [00:16:37]). A UIScale on the whole ScreenGui "breaks everything" (boatbomber, RDC 2024 panel [00:38:15]).
  3. The core touch controls and the top bar own their space. Place custom touch buttons relative to the JumpButton (Roblox position-and-size doc). The top bar inset measured 58 px on every preset in Studio 0.743, while the 2023 roundtable slide said 36 (BsyU-SJ9L-c [00:08:20]). Use ScreenInsets.CoreUISafeInsets and measure; never hard-code a margin.
  4. The look lives in a StyleSheet. Tokens hold every repeated value, themes are sheets of identically named tokens, and query selectors (@ViewportDisplaySizeLarge, @PreferredInputTouch, @ReducedMotionEnabledFalse) adapt it (Roblox Style Editor video, _k1ea0OIKaU [00:03:52, 00:04:24]). A property set in code beats every StyleRule (StyleSheet doc; measured). A direct read returns the unstyled value: read with GetStyled.
  5. Input is a set of contexts switched with the screen. Gameplay context at Priority 2000, menu context at 3000 with Sink, enabled only while the menu is open (IAS doc; derpmonster83, 8nqNw6kSKJ0 [00:08:26]). Priority and Sink live on the context, and equal priorities run in no fixed order (KnFJl6z5UN0 [00:17:26, 00:29:33]). Every action gets a key and a gamepad button. Touch needs a UIButton binding only where nothing on screen does the job (abilities, open menu, close); shortcuts for a control the player taps anyway (tab cycling, Confirm for Buy) need none, and UIAudit reports them as ias-no-touch info. IAS draws no mobile buttons or prompts: you build them (KnFJl6z5UN0 [00:13:30]).
  6. A persistent HUD is a direct child of StarterGui with ResetOnSpawn = false. Nested in a Folder, the flag is ignored and the HUD resets (on-screen containers doc; measured).
  7. Accessibility is a second channel. Never encode state by color alone (BitwiseAndrea, accessibility roundtable K1pEI6LVJJA [00:29:24]). No chords, no F keys, WASD and arrows both (same panel [00:43:15]). Honor PreferredTransparency, ReducedMotionEnabled and PreferredTextSize (Roblox accessibility doc). Contrast 4.5:1, or 3:1 for text of 24 px and up [added, WCAG].
  8. Plain instances unless the project already runs a framework. Instances built in Edit are visible to the MCP tools, so audits, layout checks and captures run before Play. Choose React (jsdotlua), Fusion or Vide when many screens share fast-changing state and a team works in Rojo. Then keep game data outside the framework (Leif, Ezk3vEOvv8o [00:13:51]) and benchmark your own code, not stress tests (RDC 2024 panel [00:28:11]).

Establish first

InputChangesDefault if nobody says
Devices and orientationscell sizes, safe area, StarterGui.ScreenOrientationphones landscape and portrait, tablet, PC, console, handheld; Sensor
A UI framework in the projectwhere the tree is built and testednone: instances plus StyleSheet
Workspace.PlayerScriptsUseInputActionSystemdefault controls on IAS, jump sinkable by a menuEnabled, set in the Rojo project (scripts cannot write it)
Languagestext room, AutoLocalizeEnglish source; test German and +40% pseudo-localization
UI artimage slots, 9-slice marginsflat StyleSheet look, Scenario art later
Accessibility barcontrast, motion, target size4.5:1, reduced motion honored, 44 px targets

Procedure

Full code, test ids and results: references/procedures.md. Every stage runs through scripts/rbx_ui.py and the lead's toolkit; L and O ids refer to run_live.py.

  1. Build in Edit (P1). rbx_ui.build(s) installs the catalog, the kit modules, the client controller (a Script with RunContext Client) and the shop server, then runs BuildMenuHud.luau. The HUD holds status top left (display only), the menu button top right and the ability buttons. The menu is a CanvasGroup panel with tabs in the header and Home, Shop and Settings pages. The shop is a ScrollingFrame with AutomaticCanvasSize = Y and a UIGridLayout whose cell size comes from the StyleSheet. Dynamic labels set AutoLocalize = false. Code never sets a property that a StyleRule owns. GATE: 30 items, 2 StyleLinks, 0 selector errors, both ScreenGuis direct children of StarterGui with ResetOnSpawn = false.
  2. Audit (P2). rbx_ui.audit(s) runs UIAudit.luau (20 rules: resets, insets, constraints, canvas, strokes, selectors, selection, contrast, IAS coverage and conflicts, legacy input patterns) and the lead's Audit.ui. The same module runs in Lune on a place file. GATE: 0 error and 0 warn; a fixture with one fault per rule fires every rule.
  3. Layout matrix (P3). rbx_ui.layout_matrix(pt, rbx_ui.DEVICES, scenes, out) sets nine presets through StudioDeviceSimulatorService inside the playtest. UILayout.luau check then flags offscreen, top bar, safe area, core touch control overlap, small targets, overlap, clipped and small text, and each state is captured. Drive scenes with Scriptable bindings, because a key or click switches PreferredInput away from Touch. GATE: 0 warn per device and scene; ability buttons above the JumpButton on touch; at least one full row of shop cells; contact sheets read.
  4. Mouse (P4). pt.mouse with instance_path "LocalPlayer.PlayerGui.Menu..." clicks the PlayerGui copy. A UIButton binding set in Edit follows the clone at runtime. GATE: each click changes exactly its attribute; a purchase spends coins on the server once.
  5. Keyboard and contexts (P5). pt.keys presses through the IAS. GATE: the cooldown refuses a second use; with the menu open, Q, E and Space never reach gameplay or the jump.
  6. Gamepad as far as Studio reaches (P6). Start selection with GuiService:Select(grid), move with arrow keys, activate with Return, press gamepad buttons through Scriptable bindings, and read glyphs and sizes under the xbox preset. GATE: focus moves down and right in the grid; selecting the last item scrolls the canvas; the xbox glyph reads "X". Thumbsticks, the D-pad, ButtonB and the Select button need a controller or the Controller Emulator (gui-paths).
  7. Styles and themes (P7). Swap the theme at runtime with UIStyle.setTheme, which repoints the design sheet's StyleDerive. GATE: both themes 0 low-contrast; a code-set Size survives every rule.
  8. Preferences and motion (P8). Multiply decorative transparency by PreferredTransparency; skip the fade when reduced motion is on. GATE: the panel is opaque on the first frame under reduced motion. Volume, camera shake, key rebinding and text size: player-settings.md with UISettings.
  9. Respawn (P9). Kill the character on the server and compare marks on the HUD before and after. GATE: one HUD, state kept, health rebound to the new Humanoid.
  10. Localization (P10). Translate in place through LocalizationService:GetTranslatorForLocaleAsync("de"), then add 40% to every localizable string, on the two smallest phones. GATE: 0 text-clipped on every page in both passes.
  11. Scenario UI art (P12). Item icons, frames and button skins come from scenario-game-assets as transparent PNGs. Upload them only with the user's go, then set Icon.Image per cell and ScaleType = Slice with SliceCenter for frames. Keep text out of the art.

Numbers

ValueRelative toSource
Top bar inset 58 px on every presetGuiService.TopbarInset, Studio 0.743measured (2023 slide: 36)
iPhone 7 666x374, iPhone 14 749x388 (portrait 388x762), Galaxy A06 705x338viewport, simulator presetmeasured
iPad 10th gen 1179x819, laptop 1365x768, 1080p and Xbox 1919x1079viewport, simulator presetmeasured
Small: phones and handheld; Medium: iPad, laptop, 1080p; Large: XboxViewportDisplaySizemeasured
JumpButton 70 px at (1,-95, 1,-90) on phones; 120 px at (1,-170, 1,-210) on iPadscreen cornermeasured
Thumbstick zone: left 40% of the widthviewport widthmeasured frame, clamp [added]
40% from the top is reachable on a phone, not on a tabletscreen heightposition-and-size doc
Targets 44 px, text 11 px minimumabsolute pixels[added, Apple HIG]
Contrast 4.5:1; 3:1 at 24 px and uptext vs its background[added, WCAG]
Menu context 3000 with Sink over gameplay 2000InputContext.PriorityIAS doc (2000 beats default scripts)
CAS Low 1000, Medium 2000, High 3000Enum.ContextActionPriorityreference (a "0 to 100" tutorial is wrong)
Cells 88x100, 96x112, 140x160; abilities 64 and 88 pxSmall, Medium, Large displaytemplate [added]
Fade 0.2 s; dim 0.45 x PreferredTransparencymenu opentemplate [added]
+40% lengthsource stringspseudo-localization [added]
Auto-translation quota counts characters per languagecharactersautomatic-translations doc

Quality gates

Measurable:

  • run_live.py L0 to L14 and run_offline.sh O1 to O3 pass.
  • UIAudit and the lead's Audit.ui report 0 warn and 0 error.
  • UILayout.check reports 0 warn on nine presets in two scenes.
  • 0 text-clipped in German and pseudo-localization on the two smallest phones; 0 low-contrast in both themes.
  • No console errors from your scripts. FoundationProvider and UIBlox lines come from Studio's own core scripts.

Visual: read the HUD and shop contact sheets (at most 1,600 px) against critique.md. Permanent elements, the chat area and shop discovery: screen-budget.md. Check that text is legible, nothing sits under the touch controls or the top bar, the primary action is the largest button, and rarity reads without color.

Common mistakes

MistakeSymptomFix
Code sets a property a StyleRule ownstheme swap skips that objectleave it to the rule
Reading obj.BackgroundColor3 on a styled objectthe default color comes backobj:GetStyled("BackgroundColor3")
HUD ScreenGui inside a Folderit resets on respawn despite the flagparent it directly to StarterGui
MouseButton1Click as the button handlergamepad and touch paths differActivated, or an IAS UIButton binding
TouchEnabled decides the layouttouch laptop gets the phone UIPreferredInput, ViewportDisplaySize
A key press during a touch testPreferredInput flips to KeyboardAndMouseScriptable InputBinding:Fire
Menu hides touch controls and never restores themjump button gone after closerestore TouchControlsEnabled on close
Two contexts at one Priority share a keyeither action firesdistinct priorities, Sink on the top one
AutomaticCanvasSize = None with a gridlast items unreachableAutomaticCanvasSize = Y
Thick UIStroke with Round joins on textsee-through overlapsLineJoinMode Miter or Bevel (Stewiepfing, 9kuWl_t1AOE [00:00:12])
AutoLocalize on numbers and namesjunk entries in the translation tableAutoLocalize = false on dynamic labels
A selector typothe rule does nothing; SelectorError often reads ""UIStyle.errors reassigns, waits, then reads
Activated handler on a button bound as an IAS UIButtonfires one click late (observed)handle the InputAction
Ability buttons placed once at startupafter a rotation or an input switch they no longer sit above the jump buttonre-place on Camera.ViewportSize and PreferredInput changes (template; iPhone 14 portrait measured above the jump)

Handoffs

  • In: coins and ownership as player attributes (persistence from scenario-roblox-data), remote validation rules (scenario-roblox-networking), ability names and cooldowns (scenario-roblox-gameplay), Robux prompts (scenario-roblox-monetization), click and purchase sounds (scenario-roblox-vfx-audio), icons, frames and button skins (scenario-game-assets), project layout and Rojo (scenario-roblox-architecture, scenario-roblox-tooling).
  • Out: InputActions with Scriptable test bindings to scenario-roblox-gameplay; the UI cost on low phones to scenario-roblox-performance; screen open and close attributes to scenario-roblox-monetization for funnels.

Current Roblox notes

  • The IAS reached full release on 2026-06-11. InputAction:Fire is deprecated: fire a Scriptable InputBinding. Default scripts on IAS are expected by default in early 2027. BindActivate and the gamepad selection toggle have no IAS form yet (KnFJl6z5UN0 [00:20:15, 00:39:43]).
  • PreferredInput (2025-10-14) and ViewportDisplaySize (2025-08-14) replace device sniffing.
  • An unset InputBinding.KeyCode reads None, not Unknown as documented. InputActionLabel.ResolvedText read empty in a playtest, so glyphs come from InputAction.PreferredBinding (measured).
  • StudioDeviceSimulatorService (PluginSecurity) drives the Device Simulator from execute_luau in Edit and in the playtest Client; the Server is refused. The simulator rotates regardless of ScreenOrientation (measured).
  • A new place reads ScreenOrientation = LandscapeSensor; the reference says Sensor.
  • StyleRule.SelectorError fills a few frames after the Selector changes on a rule already in the place; set earlier, a broken selector reads "" (measured).
  • execute_luau cannot read PlayerScriptsUseInputActionSystem or write the GuiService preferences: set the flag in Rojo, and test preferences through an in-game setting.
  • MCP user_keyboard_input and VirtualInput send keyboard events only: gamepad KeyCodes never reach the IAS (measured).

References

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Scenario Roblox Ui?

Use when building or fixing Roblox game UI or input: HUD (health bar, currency, ability cooldowns), main menu, shop with a scrolling grid, settings screen, inventory, "UI scales wrong on phone", buttons hidden behind the jump button, UI too small on a tablet or TV, portrait and landscape, top bar and safe area, Scale vs Offset, UIListLayout, UIGridLayout, UIFlexItem, StyleSheets and themes, gamepad or console menu navigation, the Input Action System (InputContext, InputAction, InputBinding), ContextActionService migration, PreferredInput, reduced motion and accessibility, localization and A...

Waarom Scenario Roblox Ui gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Scenario Roblox Ui bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Scenario Roblox Ui in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/scenario-labs/skills/tree/main/skills/game-engines/roblox/scenario-roblox-ui. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Scenario Roblox Ui gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Scenario Roblox Ui gebruiken?

Zoveel als je wilt. Je kunt Scenario Roblox Ui gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Scenario Roblox Ui gratis?

Ja. Deze skill is door scenario-labs op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇