i’m making script which detects if size of an part is bigger than attribute vector3 size but for some reasons it gives this error: attempt to compare Vector3 <= Vector3
Script:
if water.Size >= Planet1:GetAttribute("WaterSize") then
end
I also tried doing this:
if water.Size.Y >= Planet1:GetAttribute("WaterSize") then -- and i converted attribute to number
-- but it still gets error "attempt to compare Number <= Number" or something like that i don't remember.
end