Time limit on game

Making a mario game first level of 1985 but don’t know how to make a time limit! HELP!!!

Starblast Neon Wars has a timed mode. This might be of use.

Timer (repeating)-out ----- in-Number (-1)-out ----- in-Number (any number you want to count down from)-out ----- in-Filter (less than 1-out ----- in-Next Level (restart level)

Also, this must’ve been asked twenty times, have you visited the help page or searched the forums/game examples before asking?

thanks a lot of help!!!