You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I want that when a player enters a special zone, then I can get his stay time in this zone.
(To be more precise, I would like, for example, if a player stands in a certain zone for a certain amount of time, then he gets badge.) -
What is the issue? Include screenshots / videos if possible!
I haven’t needed this before, so I can’t figure out how to implement it. -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I tried to find a solution here, but it seems there are no cases similar to mine. So far I tried using Region3 and :GetPartsInPart(), but I couldn’t figure out how to use them for my purposes.
The main thing I need is a way to get the duration of a player’s stay in a certain zone at any time.
I will be very grateful if someone helps me with this.