I have the dot product between the players lookvetor and a dummys position and I want to convert it into a 360 degrees to I can rotate a part to look at the dummy how can I do this I have tried 369 - Angle * 360 but that failed any other ways?
wait(2.5)
local CurrentCamera = workspace.CurrentCamera
local Dummy = workspace.Dummy
while wait() do
local Angle = CurrentCamera.CFrame.LookVector.Unit:Dot(Dummy.PrimaryPart.Position.Unit)
print(360 - Angle * 360)
end