How would I make a minigame where you hold your breath while hiding in a closet in gimkit?

I’m asking this as I want to make a game inspired by Doors, but not a remake of doors or a game like it, I want to make it original. so I thought of a mechanic like this. but how would I do it?

Go in the closet, you get a pop up to see if you keep hiding. But there’s a chance you get kicked out and take damage

It goes from 90%, to 75%, to 50%, to 25%, then 10%

2 Likes