local Radius = 5
local function ReturnPart()
local part = Instance.new("Part")
part.Anchored = true
part.Color =Color3.new(1, 1, 1)
part.Material = Enum.Material.Neon
part.Parent = workspace
part.Size = Vector3.new(0.1,0.1,1)
return part
end
local function DoubleDottedCircle(Radius)
local LinePerRadiusX = 10
local MinLines = Radius * 4
local AllLines = math.floor(Radius/LinePerRadiusX)+MinLines/2
for i = 1,AllLines do
local part = ReturnPart()
part.CFrame = CFrame.Angles(0,math.rad((360+(360/AllLines) - i * (360/(AllLines)))) + 360/AllLines,0) * CFrame.new(0,0,-Radius) * CFrame.Angles(0,math.rad(90),0)
end
for i = 1,AllLines do
local part = ReturnPart()
part.CFrame = CFrame.Angles(0,math.rad((360+(360/AllLines) - i * (360 -360/(AllLines))) + 360/AllLines ) ,0) * CFrame.new(0,0,-Radius) * CFrame.Angles(0,math.rad(90),0)
end
end
local function DottedCircle(Radius)
local LinePerRadiusX = 10
local MinLines = Radius * 4
local AllLines = math.floor(Radius/LinePerRadiusX)+MinLines/2
for i = 1,AllLines do
local part = ReturnPart()
part.CFrame = CFrame.Angles(0,math.rad((360+(360/AllLines) - i * (360/(AllLines)))) + 360/AllLines,0) * CFrame.new(0,0,-Radius) * CFrame.Angles(0,math.rad(90),0)
end
end
DoubleDottedCircle(8) -- 1
DottedCircle(14) -- 2
Someone made a devforum post and they were asking how to make it so yeah use it if you need it