Beste ways to learn good syntax

No it’s not.

Luau doesn’t use opcodes like GETGLOBAL, or LOADK.

You’re using luac.nl with the compiler version “5.1.X” as that’s what luau is built off but that’s wrong, as luau uses different opcodes, which have different functions.

If you want to view the correct bytecode representation.

You can download the luau-compile.exe from the official luau github

if you have any question feel free to reply any-time.