RobloxUIRobloxUI
BrowseDocsPricingSubmit
/
/
RobloxUIRobloxUI — Roblox UI Components Marketplace
DocsSitemapTermsPrivacyCookiesSettingsPerformance
Damage Numbers — RobloxUI
  1. Home
  2. /
  3. Combat
  4. /
  5. Damage Numbers
Booting Luau VM…

Install with the CLI

Add Damage Numbers to your Roblox project in one command. Requires Node 18+ and a Roblox project — run robloxui init first if you don't have one yet. See the docs.

bashnpx robloxui add damage-numbers

First time? Start with the documentation.

Import

tsx
import { Damage Numbers } from "./src/client/ui/components/damage-numbers";

Usage

tsx
local DamageService = require(script.Parent.DamageService)
local dmg = DamageService.new()
dmg:Spawn(parentGui, "124", "crit", UDim2.fromScale(0.5, 0.3))
dmg:Spawn(parentGui, "+30", "heal", UDim2.fromScale(0.5, 0.3))

Damage Numbers

TSX + LuauFree

Pooled floating combat text for performance. DamageService maintains a label pool (capped at 64) and Spawn() reuses released labels, tweening them upward with random jitter while fading text + stroke. Supports kind presets (normal/crit/heal/poison/fire) with per-kind color + size. init.luau example wires it to Humanoid.HealthChanged.

by RobloxUI Team

View Source

Details

AuthorRobloxUI Team
FrameworkRoblox-TS + React-Luau
CategoryCombat
Dependencies@rbxts/react
Theme Tokens
colors.primary, colors.primaryLight, colors.primaryDark, colors.secondary, colors.secondaryLight, colors.secondaryDark, colors.accent, colors.accentLight, colors.accentDark, colors.bg, colors.bgSecondary, colors.bgTertiary, colors.surface, colors.border, colors.borderLight, colors.glow, colors.text, colors.textPrimary, colors.textSecondary, colors.textMuted, colors.success, colors.successLight, colors.error, colors.errorLight, colors.warning, colors.info, colors.gold, colors.goldLight, gradients.primary, gradients.gold, gradients.health, gradients.mana, gradients.purple, gradients.card, gradients.surface, gradients.surfaceLight, spacing.3xs, spacing.2xs, spacing.xs, spacing.sm, spacing.md, spacing.lg, spacing.xl, radius.sm, radius.md, radius.lg, radius.xl
Last UpdatedJuly 31, 2026