I want to set something up on the website

I made a chord like this.

If you go to the suncubble website, When the timer appears on the web and the timer is over, I want to end the web and return to the app.

If you go into the website and come out right away, you want to give points if you don’t give points and hold out until the timer is over.

Please help me with what I should do. Hey.