StatsItem
Represents an individual runtime statistic.
- Creatable
Instance.new("StatsItem")- Inherits
- Instance
- Replication
- Standard
Behavior
StatsItem represents an individual runtime statistic.
Summary
Members5
Properties2
The current string statistic value.
The current numeric statistic value.
Methods3
Returns this instance if it is an ExecutionGroup.
Returns the current numeric statistic value.
Returns the statistic's formatted value.
Properties
StringValue
StatsItem.StringValue: string = "0"The current string statistic value.
Value
StatsItem.Value: number = 0The 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(): numberReturns the current numeric statistic value.
GetValueString
StatsItem:GetValueString(): stringReturns the statistic's formatted value.
Inherited members
Inherited47
Instance47
- Properties
- ArchivableClassNameNameParent
- Methods
- AddComponent()AddTag()ClearAllChildren()ClearTags()Clone()Destroy()FindFirstAncestor()FindFirstAncestorOfClass()FindFirstAncestorWhichIsA()FindFirstChild()FindFirstChildOfClass()FindFirstChildWhichIsA()FindFirstDescendant()GetAttribute()GetAttributeChangedSignal()GetAttributes()GetChildren()GetComponent()GetComponentChangedSignal()GetComponents()GetDebugId()GetDescendants()GetFullName()GetPropertyChangedSignal()GetReferencing()GetTags()HasComponent()HasTag()IsA()IsAncestorOf()IsDescendantOf()RemoveComponent()RemoveTag()SetAttribute()WaitForChild()
- Events
- AncestryChangedAttributeChangedChangedChildAddedChildRemovedDescendantAddedDescendantRemovingDestroying