local Part = Instance.new("Part")
while true do
wait(1)
Instance.new("Part")
Part.Size = Vector3.new(10, 10, 1)
Part.CFrame = CFrame.new(50, 50, 50)
Part.Parent = workspace
Part.Name = "brick probaluy"
print("part created")
wait(1)
end
does anyone know what i have done wrong?

1 comment
There is a variable called Part, on line 4 I think you mistaked cloning the variable and instead cloned the base object. Try local Part = Instance.new("Part") on line 4, replace the whole thing