Hello, I have a game where the time changes. (It works properly. The text and time changes.) I have a workspace script that checks every 0.9 seconds
if the time was a certain time, and upon running this script, it did not work at all. No prints. Can anyone help me with this?
Code:
while true do wait(0.9) if game.Lighting.ClockTime == 10.033 then print("its 10") end end --i deleted the whole script to test this and it STILL doesnt work??
Any WORKING answer is appreciated!
game.Lighting:GetPropertyChangedSignal("Time"):Connect(function() if game.Lighting.Time >= 10 and <= 10.5 then --gives an estimation of time, can be changed --code end)
while true do wait() if game.Lighting.ClockTime == 10 then print("its 10 XD") end end
the wait(0.9) is messing it up