KeyTerms Script —- the script you are writing in (same as sprite) Local (“title”) —- shortcut to reference Parent —- an object that has another object inside it Child —- an object that is inside another object Print(“Hello World!”) sends a message to your outbox = —- changing something (variable =/now equals 1) == —- if a variable/object is something For, if, then —- same as if then blocks End —- ends the script (usually placed for you) ————————————————————————— Script — basic script, alters the world Local script —- script that only alters the player that’s playing, no one else can see it Numbervalue — this is what Lua-(Roblox) calls a variable
Script.parent — parent of the script Local yes = script.parent — so you don’t have to write script.Parent over and over If script.parent.name == (“hi”)-(remember to put parentheses and quotation marks) then End — if the parent of script’s name is hi then it will do something