I did easiest time GUI ever with Day/Night cycle using TimeOfDay which is "xx:xx:xx" I tried to remove miliseconds in time GUI using :gsub(), but it ALSO removes normal seconds when they reach :00. There is script
local Time = script.Parent
while true do
Time.Text = game.Lighting.TimeOfDay
Time.Text = Time.Text:gsub(":00","")
wait(0.1)
end
Soo, how I can stop it from deleting seconds and delete only miliseconds? Is there a way to check?

1 comment
GetPropertyChangedSignal doesn't loops, changes only once