--Making It
local User1 = "User1.Control"
--using it
User1.MoveLeft
local NumberVariable = 1
local StringVariable = "TextHere"
local BooleanVariable = true --// can also do false
a,b,c = 1,2,3
local test = "lol"
print(test)
-- it will print lol
-- Nil (no value)
-- Number => Example: 1234567890
-- String => Example: "random text"
-- Function
-- Userdata
-- Boolean (true/fanse)
-- Table
-- Thread
-- Variables are global by default:
globalVariable = 10
-- To make a variable local:
local localVariable = 20
--[[
Global variables don't need a declaration like "local." Instead, you'd just
write like this:
]]--
variable = --value
--[[
Note, you don't always have to even assign a value to a variable. You can
use it for the first time and get a value of "nil" which you can update later.
]]--