I want to spawn sphere by using Instance.new(), but there is no option to put "sphere" or something like this inside brackets.
local Sphere = Instance.new(" ", workspace)
while true do wait(2) Sphere SpherePosition = Vector3.new(-593.83, 80.892, 194.45) Sphere.BrickColor = BrickColor.new("Bright green") Sphere.CanCollide = false Sphere.Anchored = false
end
You cannot insert a sphere directly from Instance.new()
. What else you should do is change the type of a part from block to sphere. Write the code I have given below and it would work:
local Sphere = Instance.new("Part", workspace) Sphere.PartType = Enum.PartType.Ball
And after you are done writing you will see that it is a sphere that is inserted in workspace.