How to make a gui face at another?

Hey there, I’m trying to make an ATC Simulator, but I’m having troubles rotating the plane.

Here as you can see, there is a plane and waypoints. I want to rotate the plane to target waypoint.
I tried researching this topic and did different calculations. But no result. Can someone help me?

I’ve fixed, heres the code if you need

local difference = (script.Parent.AbsolutePosition - destasdefin.AbsolutePosition)
local angle = math.atan2(difference.X, difference.Y)
--script.Parent.ICON.Rotation = -math.deg(angle)

TweenService:Create(script.Parent.ICON, TweenInfo.new(((-math.deg(angle) - script.Parent.ICON.Rotation) / Speed) * 50), {Rotation = -math.deg(angle)}):Play()

I’ve already fixed and I won’t make it on billboard

1 Like