GetValue (Method)

From Legacy Roblox Wiki
Revision as of 03:09, 15 February 2012 by >JulienDethurens
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
GetValue( )
Returns double
Description: Returns the StatsItem's value. Its value cannot be read unless this function is used.
Member of: StatsItem


Example

If using the Command Bar or a CoreScript...

print(game.Stats.Workspace.World.Joints:GetValue()) --> 7

If using a Script or LocalScript...

print(game.Stats.Workspace.World.Joints:GetValue()) --> s GetValue