- What do you want to achieve? Keep it simple and clear!
Divide the size of the y-axis by a factor of 0.5;
- What is the issue? Include screenshots / videos if possible!
Vector3 not dividing and isn’t having an errors;
- 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