How would I make a sphere out of vertices/parts

Hi there, I am trying to make a sphere out of a bunch of parts.
image
Something like that, how would I make a part even from the center and every other part. I am not that great at using math for this, so help would be much appreciated. :slight_smile:

UPDATE:
I got a sphere using parts, but there is a MAJOR problem with what I want to do. In the picture sent above, the green points are all equally distant from each other. But when I make the sphere, the points are not equally distant from each other.


Gyazo video: https://i.gyazo.com/7ce019d54efd339a37cfae3b80d611b9.mp4

any way I could change this?

Script
local Main = game.Workspace:WaitForChild("MainSphere")
local Folder = game.Workspace:WaitForChild("VertexFolder")

for y = -180,180,4 do
	for x = -180,180,4 do
		Main.Orientation = Vector3.new(x,y,0)
		local Vertex = Main:Clone()
		Vertex.Position = Main.Position + Main.CFrame.LookVector * 5
		Vertex.Size = Vector3.new(0.05,0.05,0.05)
		Vertex.Color = Color3.new(1, 0.411765, 0.419608)
		Vertex.Parent = Folder
	end
end
3 Likes

By the way, I am trying to make a sphere renderer. If anyone has a script where you can use the points and create triangles that line up with the vertex points of the sphere, please give it so I don’t have to spend too much time. As I mentioned earlier, I do not have a vast knowledge of math functions.