I need help to develop a clock mechanism.

Hello, I'm developing a game on RPGMMV where the mechanism is focused on doing things to increase time (which are just points that simulates time where you raise the constant of a variable that increases 5,10,15,20... minutes).
Example:
Grab a random item (5 Minutes) (add 1)
Look for an useful item (10 Minutes) (add 2)

But I'm thinking about developing a HUD that shows the time on the screen, but I have no clue how to do this on an event, so I thought on making a plugin especially for the game. But I'm also very new at programming and I'm kinda lost. Do you guys have any tip of how I can do that? (I have SRDude's HUD maker btw)
You can use a variable to store the points, then have them display in the HUD with "${$gameVariables.value(id)}" by replacing "id" with the id of the variable you chose.

So in example, if you used variable 7 you would write "${$gameVariables.value(7)}"
Then when you pick up an item worth 5 minutes, you would run an event that adds +1 to variable 7


You could also have text in front of it with something like "text ${$gameVariables.value(7)}"


I hope this helps!

Original thread: https://forums.rpgmakerweb.com/threads/i-need-help-to-develop-a-clock-mechanism.147377/