Value cannot be converted to a number

I am unsure about whether or not this post belongs in Scripting Support, but I’ve been seeing many warnings stating that
image

My code seems unaffected, but these warnings were not here before. This is an example of where that warning is being stated.

ui_element.LayoutOrder = table.find(list_of_elements, ui_element)

are you using tonumber()?

‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎

2 Likes

Isn’t orange text a Roblox core script error? I thought there was an issue last year about many people suddenly seeing the orange text Output messages. It got fixed pretty quick, but a lot of people were confused.

2 Likes

I apologize. I realized I wasn’t indexing something properly. Simplest mistake, but I somehow did not realize at the time!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.