How can I make a player position gui?

Hello! I’m trying to make one of those player positions gui, how can I do that? Here’s an example of what I’m trying to make:
robloxapp-20210403-1804071.wmv (2.2 MB)
Thanks in advance. :slight_smile:

After watching it you would first want to know a little bit about vector math. The methodology behind this could be simply check if the players speed is greater then zero when they move using Humanoid.Running and then checking the direction. You can then simply add your players position to the gui to give a sense of movement.

You have an origin point, which is where the race starts. Depending on which direction the race goes, you get the component value

For example, I have a race that starts at (0, 0, 0), and ends at (100, 0, 0) and goes on the positive X direction.

local origin =, 0, 0)
local endPosition =, 0, 0)
local percentage = (player.Character.PrimaryPart.Position.X - origin.X) / (endPosition.X - origin.X)

local positionOnGui =, 0, 0, 0)