Yes it is, very quick I know but easily changed, only got to that point before I had to go to work and be a while before I finish this script sort of just posted it as an example of a basic timer script. Some simple math can be used to make 1 hour last as long or short as you'd like could even have
TimePassed = (Time2 - Time1) * 0.001
if TimePassed == 60 then
HourOfDay = HourOfDay + 1;
TimeStamp1 = 0
if HourOfDay == 24 then
HourOfDay = 0
end
end
As a simpler way of making every 60 seconds as 1 hour. And now that I have typed it I prefer this way
, easier to read
And this could be made more user editable friendly by this
--set to how many seconds for each hour
local delay = 60
TimePassed = (Time2 - Time1) * 0.001
if TimePassed == delay then
HourOfDay = HourOfDay + 1;
TimeStamp1 = 0
if HourOfDay == 24 then
HourOfDay = 0
end
end