roblox-gui-components
Installation
SKILL.md
roblox gui components
When to Load
Stateful UI: windows, menus, shops, dialogs, HUD readouts, text entry, lists, grids, effects, reactive libraries, legacy migration. Screen placement, safe areas and focus: roblox-gui. Styling stays neutral: follow the project's look.
Quick Reference
- One controller per window: states
Closed/Opening/Open/Closing, idempotentopen()/close(), a token that cancels stale tweens. Route every open path through it (full.md §2). - Own what you change: register an undo for each outside change (mouse release,
TouchControlsEnabled, hidden HUD, connections); close, destroy and respawn run them in reverse. - Server decides: correlate requests by id, block while pending, reconcile on timeout, never blind-retry purchases (§3).
- Countdowns read the authoritative end time; held-item readouts use client prediction.
- First person: a window needing clicks shows a
Modalbutton and setsMouseIconEnabled. - Player text: server
FilterStringAsync, 60 s rate limit if others see it; chat only viaTextChatService(roblox-text-chat). ScrollingFramelist:VerticalAlignment = Top; keep focus and scroll across rebuilds.- Effects:
UIGradient.Type(Linear/Radial/Elliptical/Conical) +TileMode; animateOffset, notColor.ParticleEmitter2D(beta) for UI sparkles. - Reactive UI: session vs screen scope, effects in the body, keyed lists, reopen leak test.
Details: references/full.md