Roblox UtilitiesDevlHub Roblox Documentation

Class

StatsItem

NotCreatable
Inherits
Instance › Object
Memory category
Instances
Subclasses
4

A single performance metric.

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#

GetValueReturns the StatsItem's value.PluginSecurity security
GetValueStringReturns the StatsItem's value as a formatted string.PluginSecurity security

GetValue(): double#

PluginSecurity security

Returns the StatsItem's value.

Returns
  • double — The numeric value of the stats item.

GetValueString(): string#

PluginSecurity security

Returns the StatsItem's value as a formatted string.

Returns
  • string — The value of the stats item formatted as a string.

Inherited members#

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed

Subclasses 4#