ℹ Announcement: Please do not make accounts for no reason, as spam account have been made recently and I’ve had to ban them all. - sprinklekar
You're looking at an older version from 14 days ago by B4J. See the current page.

Basic scripting

Basic scripting

Please note that current Luau won’t work with this unless you can find out how to port it..

Here is some scripting stuff that may help you with making new games here

Lighting is your ReplicatedStorage

Coding

print("") - Outputs whatever is in quotations error("") - Throws an error in the output warn("") - Outputs a warn

Instance.new("Part",workspace) - Make a part on workspace

local G = ... - Define a variable

G = ... - Change a variable

if X == Y then - Condition code end - Checks if the first variable is equal to the second. There is more variations to this, like “>=“ or “<=“ which is also fine.

local function Func() - Function code end - Function that can be ran just by doing “Func()” (you have to set the func part to whatever you called your function”

(B4J here: just watch a tutorial like tis or smt [https://www.youtube.com/playlist?list=PLuSe9LtecxJG4GtN1XFzNO0y1YOsKvXdN|here] )

Last edited 14 days ago by B4J.