GetValue (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Blocco
No edit summary
>Camoy
No edit summary
Line 1: Line 1:
{{Locked}}
<onlyinclude>{{Method
<onlyinclude>{{Method
|name        = GetValue
|name        = GetValue

Revision as of 20:49, 27 December 2010

Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
GetValue( )
Returns value
Description: Returns the StatsItems's value. Its value cannot be read unless this function is used. The value's type differs between differrent StatsItems.
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