Comments
Comments are notes placed in your code that the interpreter ignores. They are useful for explaining logic, adding reminders or making code easier to read.
A single-line comment starts with //:
// This is a single-line comment
local health = 100
Comments can also be placed on the same line:
local health = 100 // Starting health
There’s also a multi-line comment, which starts with /* and ends with */
/*
This is a multi-line comment
It will keep everything comments until it is closed
*/
local health = 100