GetMoonPhase (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>SoulStealer9875
No edit summary
>Legend26
grammar
Line 21: Line 21:


* The phase will always be 0.75.
* The phase will always be 0.75.
* You cannot change the moon's phase at current.
* Currently, the moon phase is unchangeable.


[[Category:Methods]]
[[Category:Methods]]

Revision as of 05:36, 20 January 2012

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.