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
Try changing it to if script.Parent.Size rather than script.Parent.Size.UDim2 like this
local x = 3 local cow = ("x/100,9,0,23") wait(0.01) if script.Parent.Size <= UDim2.new(put udim2 stuff here) then print("Works") end