Surf timer

Hiya, I’m currently making my own surf server, and it’s my first time programming in lua.
I’ve been trying to make timer that prints on the hud, that starts when you start to surf, and ends when you finish the map.
Any help?
Thanks

How would the timer be triggered?

By walking onto the selected area

Any help?