Skip to content

Instantly share code, notes, and snippets.

@Luracasmus
Luracasmus / luau-intro.md
Last active January 24, 2024 08:00
Luau & Roblox Scripting - An introduction

Luau & Roblox Scripting - An introduction

Variables & local

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