Strange error caused by recent update

Here’s the error:


Here’s the code:

How do I get rid of that pesky orange underline?

Thanks in advance!

1 Like

Reminds me of that time it gave me string & ~string and refused to refine it back to string

1 Like

that orange under line is just a warning for scope it will not break your game. just there just to tell you that whatever it is your doing, it has the potential to cause problems

then there should definitely be an “ignore” button… like on google docs. My scripts are littered with this xD
There’s a spot where I have an array[index] inside of a math.rad, and it doesn’t like that either…
even though my array consists of numbers

hahaha yeah i bet they are happens to the least of us :sweat_smile:

Instead of taking a screenshot, you can try embedding your code.

--Like this
local x = "Very cool formatting skillz!"
print(x)

If you wish to ignore the type errors then you can just type --!nocheck on the first line.
Remember that you are writing in luau, not lua. Here’s more info.

I can just embed the code, you’re right, but then y’all won’t see what’s underlined. Thanks for the --!nocheck tip though!

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