Why doesn't the Vector3 divide the size?

  1. What do you want to achieve? Keep it simple and clear!

Divide the size of the y-axis by a factor of 0.5;

  1. What is the issue? Include screenshots / videos if possible!

Vector3 not dividing and isn’t having an errors;

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
for _,v in pairs(workspace.Pollen:GetChildren()) do
	
	local detector = v:FindFirstChild("ClickDetector")
	
	detector.MouseClick:connect(function()
		v.Size /= Vector3.new(0,0.5,0) --  <-- Math operation here
	end)
	
end

Possibly because you’re dividing X and Z by 0, and dividing by 0 is impossible. Divide by 1 if you don’t want it divided. Dividing Y by 0.5 will also multiply it by 2 instead.