help with a minimap tutorial pls

so im tryna make a minimap

first problem

the poi is not on a square clamp and i was not told how to do a square clamp

second

they dont stay in their location

and they are always very far away from the player

even when they are touching the player

help