Waypoint screen gui

Hi, I am trying to make a waypoint system which displays where a part (what the waypoint will be) relative to the position of the the actual systems position on a screen gui, but I cannot find a good way to script it.

This is what im trying to achieve (the green lines)
image

Guy, this topic will be better in #help-and-feedback:scripting-support. Everything what is considered or related to scripting, should be put in that category.
About your problem - There’s CFrame and Vector3’s math possible, so you can subtract them. If you need find angles, you can unit them and find cosine and sine to get degrees.

My bad, didnt see that it wasnt in scripting support.

I dont use devforum much

I only need the angle relative to where the actual main bit will be.

I was thinking of just finding the distance between the part (waypoint) and main (where the part with surface gui is) and just dividing it by some large numbers or something until it works.