The main idea of my script is:
A player earns points clicking on objects.
I want to decrease an amount of points when he didn’t click, f.e, for 5 seconds.
I thought about storing the time of previous click and current click, but I don’t think that fits very well.
What other solutions may be here?
Thanks.