I have this function, It is supposed to create a projectile, it works for the most part. The only thing that doesn't work is bullet.Shape = "Ball", which is supposed to change the part's shape. Could someone please tell me why?
function CreateProjectile()
local character = game.Workspace:FindFirstChild(game.Players.LocalPlayer.Name)
local torso = character:WaitForChild("Torso")
local bullet = Instance.new("Part", game.Workspace.MagicContainer)
local sphere = Instance.new("SelectionSphere", bullet)
sphere.Adornee = bullet
bullet.Size = Vector3.new(8,8,8)
bullet.CFrame = torso.CFrame + CFrame.new(0,10,0)
bullet.Shape = "Ball"
end
CreateProjectile()
