RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"change value for timeofday when datastore is updated"
-- server script game.DataStore:OnUpdate(function(key, value) if key == "TimeOfDay" then game.Lighting.TimeOfDay = value end end)