Attempting to create a circular Gui that generates in a Clock-wise rotation;
As you can see from the images above, they are not level.
Does anyone have any suggestions?
local ScreenGui = script.Parent
local Main = ScreenGui:WaitForChild("Main")
local Pivot = script:WaitForChild("Pivot")
local Num = 8; local Val = 25
local Rotation = 0
--||--||--||--
local Pos = Val * Num
--||--||--||--
for i = 1,Num do
local New_Pivot = Pivot:Clone()
New_Pivot.Parent = Main
New_Pivot.Rotation = Rotation
New_Pivot.Name = tostring(i)
New_Pivot["Frame"].Position = UDim2.new(0, 0, 0, -Pos)
Rotation = Rotation + 360 / Num
New_Pivot["Frame"].Rotation = New_Pivot["Frame"].Rotation - New_Pivot.Rotation
end