Im trying to make a plugin where when you click it inserts a already anchored part. When I try it it only inserts one part and then it breaks.


PluginManager()
    :CreatePlugin()
        :CreateToolbar("Smooth Part inset")
		:CreateButton(
			"Click to insert a part",
			"Insert a part",
			"IconName.png"	
		)
            .Click:connect(function()
                  Instance.new("Part",Workspace).Anchored = true
				
			end)

Whats wrong with it?