Skip to content

Class · inherits Instance

StatsItem

Official docs ↗

A single performance metric.

About StatsItem

A StatsItem is an internal measurement item that is created by the engine to benchmark many of the backend components of Roblox. It cannot be created using Instance.new, but its value can be read by plugins. They can be found stored inside of the Stats service.

Methods 2

  • GetValue() → doublePluginReturns the StatsItem's value.
  • GetValueString() → stringPluginReturns the StatsItem's value as a formatted string.

StatsItem also has every member of Instance. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.