In my script I have it check if the textlabel size is at a certain amount however it is saying that UDim2 is not a valid member of UDim2? How can I check to see if my Textlabel is the size I want it to be before it does something? It is a local script.
local x = 3
local cow = ("x/100,9,0,23")
wait(0.01)
if script.Parent.Size.UDim2 <= script.Parent.Size.cow then
print("Works")
end

3 comments
wait.. does .Magnitude work with UDim2?, you can try that..
No Magnitude doesnt work with UDim2
Try if script.Parent.Size <= Udim2(whatever size here)