How can I tell if people are in a room for a certain amount of time

Let’s say I wanted something to happen after a player was in a room for 15 seconds, how would I do it?

2 Likes