hi there, I am trying to make my countdown timer to change color from white to red and red to white for the last 10 seconds so that the player will know the timer is about to end soon. just like in Tower of Hell. here is the screenshot.
currently, my code looks like this
for i = GameLength, 0, -1 do
local minutes = math.floor(i/60)
local seconds = math.floor(i%60)
Status.Value = (string.format("%i:%.2i", minutes, seconds))
wait(1)
any idea of how to modify the code so that the last 10 seconds has changeable text color for the timer?

1 comment
okay thanks