Skip to content

StatsItem

Supported Class Platform & Data NotCreatable

A single performance metric.

Description

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.

Inheritance

Object → Instance → StatsItem

Nova inheritance: Instance → StatsItem

Known subclasses: ProfilingItem, RunningAverageItemDouble, RunningAverageItemInt, RunningAverageTimeIntervalItem, TotalCountTimeIntervalItem

Methods

GetValue Supported Function Returns the StatsItem's value.
StatsItem:GetValue(): double

Returns the StatsItem's value.

Security: PluginSecurity

Roblox documentation

GetValueString Supported Function Returns the StatsItem's value as a formatted string.
StatsItem:GetValueString(): string

Returns the StatsItem's value as a formatted string.

Security: PluginSecurity

Roblox documentation

Inherited members

Inherited from Instance: 8 properties, 36 methods, 7 events. They are documented on the base class page.

Roblox reference: StatsItem

Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.