i need help with a countdown timer for my game, i need it so that when time runs out, my player dies (go to another frame).

i cant seem to find any tutorials that work well. so i have no code

Info: players instance: "player"
timer instance: "timer"

plz i need help with it asap
thanks