Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

roblox-user-interfaces

БесплатноЗапускает вложенные скриптыНе проверен

Build or debug Roblox HUDs, menus, and world-space interfaces. Use for GUI containers, responsive layouts, input handling, ViewportFrame previews, and…

nonloopedот nonlooped★ 40 звёзд на GitHub

Об этом скилле

roblox-user-interfaces

Choose a GUI container for the display surface, then use layouts and constraints to handle screen sizes. For UI particles, use the ParticleEmitter2D beta or a scripted 2D pool; a 3D ParticleEmitter does not render inside a ScreenGui.

Primary sources:

For UI motion, read roblox-animation. For effects in the 3D world, read roblox-vfx.

Choose a GUI container

ScreenGui (on-screen overlay)

  • Parent to StarterGui for automatic cloning into every player's PlayerGui.
  • Control visibility with .Enabled (or parent/child manipulation).
  • Layer multiple with .DisplayOrder (higher = on top).
  • .ScreenInsets = CoreUISafeInsets (default, respects top bar + device notches), DeviceSafeInsets, TopbarSafeInsets, or None.
  • .ResetOnSpawn behavior depends on direct ancestry of StarterGui.
  • All interaction and logic is client-only (LocalScripts or client ModuleScripts).

SurfaceGui (world space on a part face)

  • Can be parented directly to a BasePart (then uses .Face) or placed in StarterGui/PlayerGui and pointed at a part via .Adornee.
  • Interactive buttons only receive input if the SurfaceGui ultimately lives under the viewing player's PlayerGui and the part's CanQuery is true.
  • .AlwaysOnTop, .Brightness (0-1000), .LightInfluence (0-1), .MaxDistance, .ZOffset (for sorting multiple on the same face).
  • Excellent for terminals, vehicle dashboards, keypads, signs.

BillboardGui (world space, always camera-facing)

  • Similar properties to SurfaceGui + .StudsOffset (offset relative to camera orientation) and .StudsOffsetWorldSpace (offset in world axes). Size expressed in studs via the scale components of Size (e.g. UDim2.fromScale(4, 2) creates a 4×2 stud billboard whose screen size changes with distance).
  • Perfect for nameplates, floating health bars, quest markers, damage numbers, contextual prompts above heads or objects.
  • Interactive elements require the same PlayerGui ancestry rule as SurfaceGui and BillboardGui.Active = true (plus the button's own Active).

Other / special:

  • CoreGui (Roblox-owned; control with StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.XXX, false)).
  • ViewportFrame (embed a 3D camera + world inside a 2D rectangle; great for item previews and static 3D models; real ParticleEmitter, Beam, and Trail effects do not render here).

Layout objects and modifiers

The vast majority of modern Roblox UIs are built from:

  • Frame or CanvasGroup as containers (ClipsDescendants, AutomaticSize = X/Y/XY, Background* properties, Rotation).
  • TextLabel / ImageLabel for display.
  • TextButton / ImageButton for interaction (Activated is the preferred cross-platform event).
  • TextBox for input.
  • ScrollingFrame (CanvasSize, AutomaticCanvasSize, ScrollBar* properties).
  • ViewportFrame for 3D content.

Layout objects (the real power):

  • UIListLayout / UIGridLayout / UIPageLayout: automatic arrangement, FillDirection, Horizontal/VerticalAlignment, Padding, SortOrder. UIListLayout also supports flex features (HorizontalFlex, VerticalFlex, ItemLineAlignment, Wraps) and pairs with per-object UIFlexItem for flex overrides.
  • These + AutomaticSize on parents = truly responsive UIs that grow/shrink with content or different languages.

Appearance & constraint modifiers (use these instead of old hacks):

  • UIStroke (ApplyStrokeMode, Color, Enabled, LineJoinMode, Thickness, Transparency, ZIndex). Modern borders that work on any GuiObject.
  • UIGradient (Color is a ColorSequence; Transparency is a NumberSequence). Type selects Linear, Radial, Conical, or Elliptical (Elliptical is part of the beta "Upgraded UIGradients" feature); Scale controls extent and TileMode selects Clamp, Repeat, or Mirror. Radial gradients ignore Rotation. See https://create.roblox.com/docs/ui/appearance-modifiers#gradient.
  • UICorner (CornerRadius; much better than 9-slice hacks for rounded rectangles).
  • UIPadding, UISizeConstraint, UIAspectRatioConstraint, UIScale, UIFlexItem.

Positioning fundamentals (non-negotiable for quality):

  • Prefer Scale (0-1) over Offset (pixels) for almost everything.
  • AnchorPoint controls the pivot point of the object (0,0 = top-left; 0.5,0.5 = center; set this before tweening Position or Size).
  • ZIndex for layering inside one container; DisplayOrder for layering who
Полный SKILL.md на GitHub

Установить roblox-user-interfaces в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/gui-containers.mdreferences/particles-in-ui.mdscripts/UIParticlePool.lua

FAQ

Что делает скилл roblox-user-interfaces?

Build or debug Roblox HUDs, menus, and world-space interfaces. Use for GUI containers, responsive layouts, input handling, ViewportFrame previews, and particle effects in 2D UI.

Как установить скилл roblox-user-interfaces?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл roblox-user-interfaces запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить roblox-user-interfaces с