GetMoonPhase (Method)
From Legacy Roblox Wiki
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.