- Determine whether it is daytime now
local result=World:isDaytime()
if result == 0 then--if it is daytime
Chat:sendSystemMsg("It's daytime!")
else--if it is not daytime
Chat:sendSystemMsg("It's night!")
end
If you have any questions about Developer Tools, feel free to join our official discord server Mini World Global DEV discord