GetMoonPhase (Method)

From Legacy Roblox Wiki
Revision as of 05:36, 20 January 2012 by >Legend26 (grammar)
Jump to navigationJump to search
GetMoonPhase( )
Returns Number phase
Description: Returns the phase of the moon.
Member of: Lighting


Example
print( game.Lighting:GetMoonPhase() ) --> 0.75


You can print the moon phase's value by doing this,

Example
print( game.Lighting:GetMoonPhase() + 5 ) --> 5.75


Notes

  • The phase will always be 0.75.
  • Currently, the moon phase is unchangeable.