Version (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens
No edit summary
>JulienDethurens
No edit summary
Line 3: Line 3:
|objects = {{type|instance=CoreGui}}, {{type|instance=GuiService}}
|objects = {{type|instance=CoreGui}}, {{type|instance=GuiService}}
|description = A read-only version of the [[HUD]]. This number is automatically incremented every time the [[HUD]] undergoes a major change.
|description = A read-only version of the [[HUD]]. This number is automatically incremented every time the [[HUD]] undergoes a major change.
type = {{type|int}}
|type = int
}}
}}



Revision as of 06:49, 19 February 2012

Version
Type int
Description A read-only version of the HUD. This number is automatically incremented every time the HUD undergoes a major change.
Member of CoreGui, GuiService


Example
Get the HUD version via a LocalScript:

print(game:GetService("CoreGui").Version) --> 3 print(game:GetService("GuiService").Version) --> 1