Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can i script a flat circle?

Asked by
Sorukan 240 Moderation Voter
5 years ago
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

Log in to vote
0
Answered by 5 years ago

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

Ad
Log in to vote
0
Answered by 5 years ago

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.

Log in to vote
0
Answered by 5 years ago

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.

0
so do i have to set the part i create as the parent of SpecialMesh? Sorukan 240 — 5y
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 ScrubSadmir 200 — 5y

Answer this question