Problem: Ok, so, what I mean by all that is I have a tool and when it is equipped it turns the day to night. The problem is(or could be the problem) is if it is already night and when it is unequipped it turns back to day. What I want to happen is when unequipped it turns back to the time it was before it was equipped. I couldn't really find anything on the wiki about this problem, but I think I could make a variable that could be empty and when equipped it saves the minutes of the skyblox and when unequipped it would take that variable and set it back to the time of the skyblox. So something like:
local time =
function minutes()
game.Lighting:GetMinutesAfterMidnight()
end
minutes() --Eventually call it
I don't know if I am close to solving the problem. Any suggestions would be nice! Thanks.

1 comment
Oh, forgot about TimeOfDay and CurrentTime, thanks