Open Asterune
StatsItem

StatsItem

Represents an individual runtime statistic.

Creatable
Instance.new("StatsItem")
Inherits
Instance
Replication
Standard

Behavior

StatsItem represents an individual runtime statistic.

Summary

Members5
Properties2
Methods3

Properties

StringValue

StatsItem.StringValue: string = "0"

The current string statistic value.

Value

StatsItem.Value: number = 0

The current numeric statistic value.

Methods

GetExecutionGroup

StatsItem:GetExecutionGroup(): ExecutionGroup?

Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.

GetValue

StatsItem:GetValue(): number

Returns the current numeric statistic value.

GetValueString

StatsItem:GetValueString(): string

Returns the statistic's formatted value.

Inherited members

Inherited47

Instance