-- Bind the placePart function to a user input (e.g. clicking the mouse button)

game:GetService("UserInputService").InputBegan:Connect(function(input, gameProcessed)
	if input.UserInputType == Enum.UserInputType.MouseButton1 then
		placePart(game:GetService("Players").LocalPlayer:GetMouse())
	end
end)
