I know of 2 ways to do this. I just wonder what is the most efficient way?
Code 1:
1 | local parent = script.Parent |
2 | local color = Color 3. fromRGB( 0 , 0 , 0 ) -- makes the frame a Color3 RGB value |
3 | for i = 1 , 360 , 1 do |
4 | local frame = Instance.new( "Frame" ,parent) --Makes a frame |
5 | frame.Rotation = i -- Sets the rotation |
6 | frame.Size = UDim 2. new( 0.5 , 0 , 0.5 , 0 ) --Sets size |
7 | frame.BorderSizePixel = 0 --Remove the border |
8 | end |
Setup 2:
Use a decal
If you are looking for a GTA 5 interface, then make (for example) a 1/5 circle piece, and when you open the menu do the math to distribute them into 1/5 pieces.