Basics to Roblox Lua

in #roblox11 months ago

printing: print("whatever") used for debugging

game: just game, use before whatever; game.workspace,

parent: the thing something else is inside of, for example, the parent of workspace is game

local: basically so you don't have to repeat yourself
local part = game.workspace.part, so then you can do:
part.Anchored = true
instead of doing
game.workspace.part.Anchored = true

variable: basically a string, or number, or like boolean

booleans: a true or false statement

if: just if

else: if something doesn't happen, this happens