IDK about all of the code but the timer needs to be started first. Usually at the beginning.
The way timers are handled was changed in Gdevelop and older tutorials haven’t been updated. Timers used to be created just by being read but now they need to be explicitly started to work.