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

How to insert a sphere instead of a part by Instance.new ?

Hello ! I am wondering how could i insert a sphere by Instance.new I have tried

local part = Instance.new("Sphere") -- ;-; wouldn't work obviously
part.Parent = game.Workspace 

Second bad script :

local part = Instance.new("Part") 
part.Type = "Sphere" -- ;-; wouldn't work obviously
part.Parent = game.Workspace 

Thx for reading my bad english

2 answers

✓ Accepted answer

This is how you change its shape.

local part = Instance.new("Part", game.Workspace)
part.Shape = "Ball"

2 comments

0

Can you just make a "Ball" aka a sphere

0

This is how to make a "ball". If you want to just insert it then you can put one in server storage and clone it. This is the most efficient way though.

You have to set the .Shape property to a PartType Enum like so:

local part = Instance.new("Part")
part.Shape =  Enum.PartType.Sphere
part.Parent = game.Workspace

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