Timer not working

Hey Everyone,
So I’ve got a VERY weird issue that I’ve never expirenced before, I’ve made tons of timers before, so I don’t get why mine isn’t working.
Here is my script:

coroutine.wrap(function()
	while true do
		repeat wait() until #WaitingPlayers >= 1
		
		wait()
		
		
		for i = IntermissionTime,0,-1 do
			game.ReplicatedStorage.Values.IntermissionTime.Value = 'Intermission ('..i..')'
			wait(1)
		end
		
		print('Complete')
		
	end
end)()

After 10 seconds is done, complete prints, but the value in ReplicatedStorage doesn’t change.
I don’t get any errors, Thanks for any help!

now im just taking a wild guess here. but is your IntermissionTime a IntValue or NumberValue by any chance? you are trying to add strings to the values so im guessing thats why its not changing

2 Likes

:man_facepalming:
Lol, I just realised that you’re right, the intermission value is an int value; but it should be a string value!