Variables in Scripts
In this video, learn how to create a script file to run Lua code when the game starts.
Get started with scripting by writing a simple print command
Learn about part properties and how to change them in code
Continue to learn scripting by changing the color of a part using code
Learn how to create and change variables, a key part of scripting in Lua
Add, subtract, and compare values in code using operators
Learn how to use variables in scripts to store values that you can use later.