How to MEASURE distance with Lua?

Pretty straightforward, I’m making a minigame where you have a window of a few seconds, based on the distance to do an action

I’d just like to know what TOOLS I have inside the studio engine to measure distances between 2 points

You can subtract a Vector3 from another Vector3 and get the magnitude.