GetMoonPhase (Method)

From Legacy Roblox Wiki
Revision as of 18:12, 9 July 2011 by >SoulStealer9875
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.
  • You cannot change the moon's phase at current.