Variables are used to store values such as strings, numbers, boonleans or other types of data. For example :
local (Variable name) = (string, number, etc…)
In this example: the Variable Name can be anything, but be careful:
The variable name must not be the same several times.
The variable name must not contain a space, if you want spaced, use a _ (Underscore).
How to make a basic print script with variable🤨?
Firstly write :
local
After write the name of your variable (I named it Printer) :
local Printer
Then write the printer text :
local Printer = “Something was printed !”
Add the print function :
print(Printer)
Your done, the second lesson should come out soon !
Full code
local Printer = “Something was printed !”
print(Printer)