Stuck making a map system

I’m struggling with making a map with a player dot moving when the player moves in the game, like on a big map and mini map. I haven’t ever coded anything like this before and was wondering if anyone could tell me how.

Pick an origin anywhere on your map. This could be like a part somewhere in workspace. The next thing you need to do is compare the X and Z position of the player in reference to the origin. After that use math.clamp to clamp the values to the desired output values for your UI.

2 Likes

Alright I’ll give this a try thanks!