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, idempotent open()/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 Modal button and sets MouseIconEnabled.
  • Player text: server FilterStringAsync, 60 s rate limit if others see it; chat only via TextChatService (roblox-text-chat).
  • ScrollingFrame list: VerticalAlignment = Top; keep focus and scroll across rebuilds.
  • Effects: UIGradient.Type (Linear/Radial/Elliptical/Conical) + TileMode; animate Offset, not Color. ParticleEmitter2D (beta) for UI sparkles.
  • Reactive UI: session vs screen scope, effects in the body, keyed lists, reopen leak test.

Details: references/full.md

Installs
75
GitHub Stars
223
First Seen
1 day ago