Similar to how other languages use let
, variable
, etc. Luau uses the local
keyword for creating a new variable, with =
being used to give the variable a value
local message = "Hello"
print(message) -- This will print "Hello" in the console/output when ran