Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How can i script a flat circle?

local Ball = Instance.new("Part")
	Ball.Shape = "Ball"
	Ball.Transparency = 0.5
	Ball.CanCollide = false
	Ball.Anchored = false
	Ball.Size = Vector3.new(20, 1, 1)
	Ball.Name = "Ball"
	Ball.Parent = char

I'm trying to script a circle that's flat but i've tested all the vector3 values and none of them worked. Any idea?

3 answers

✓ Accepted answer

Add a normal square instead of a ball. Then do another instance.new function which is a "specialmesh". The mesh type should be sphere.

I would try anchoring or welding the part because all I assume it would be doing right now is falling through the map as it is not anchored, and CanCollide is false so a baseplate won't stop it.

If you want a flat circle as in a part, just create a part and put a SpecialMesh in it, and change the scale of the mesh to something like Vector3.new(.5,5,5). If you want to orientate it correctly, and make it horizontal, then just rotate it.

2 comments

0

so do i have to set the part i create as the parent of SpecialMesh?

0

Instead of uaing a script, just put a part in the workspace. Next, right click on that part in the Explorer and insert an object called a SpecialMesh. Change the mesh type to a cylinder and chnage the scale

This discussion is preserved as it was. New answers, comments, and votes are closed.