gtime = 0
--time handling
while gtime do
gtime = 1 + gtime
if gtime >= 240 then
gtime = gtime - 1
elseif gtime <= 0 then
isNight = true
else isNight = false
return
end
end
while wait() do
-- code
end
won't work for this matter.
I'm trying to make time where every second is 10 minutes but as you can see, its not going well.
