I tried doing:
local part = Instance.new("Part")
part.Shape = "Sphere"
It did not work how I make a part transform to a sphere??
I tried doing:
local part = Instance.new("Part")
part.Shape = "Sphere"
It did not work how I make a part transform to a sphere??
The shape property isn't Sphere it is Ball yeah it is that blank it's just Ball And you can make one with code like in the following;
Code:
local part = Instance.new("Part")
part.Parent = workspace
part.Shape = Enum.PartType.Ball
part.Size = Vector3.new(4, 4, 4)
Hope this helped.
local part = Instance.new("Part")
part.Parent = game.Workspace
part.Shape = Enum.Ball
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Parent last, and use enums. It is better practice.Use
Enum.PartType.Ball. Read this https://scriptinghelpers.org/questions/61752/why-should-scripters-use-enumeration-rather-than-strings#60171You are right i noticed that when i saw the most recent answer.