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
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 )