For some reason this part of the code puts the UI dot outside the frame itself.
Code works by scanning workspace and looking for all parts named “RadarTarget” and then puts in the dot hopefully at same position.
So i was trying to make a radar UI that scans for all parts in workspace named “RadarTarget” and puts them into a frame with correct position. For some reason position is instead outside the frame, and I have no idea how to fix it