# How to ignore syntax errors

I remember there being specific lines you could put at the top of your scripts to make it ignore certain syntax recommendations. For example:

``````--!ignoresomething

function x()
hi = true
end

x()
``````

I am 99% sure I have seen this on roblox. In the example above, normally the script would show a red underline under hi and say something like “variable only used in the enclosing function, consider changing to local”. But when the first line im trying to remember is there, that red underline wouldnt even show up.

That first line was most likely something like `local hi;`

1 Like