Module 0 · Check it yourself
Challenges and pass codes
You compare your work with the list of what done means.
Open
Level 1, Apprentice
Challenge
Prove that Studio runs Luau on your computer. Open a new Baseplate, show the command bar and the Output window, paste this check into the command bar and press Ctrl+Enter (Cmd+Enter on a Mac) or click Run.
local A = "0123456789ABCDEFGHJKMNPQRSTVWXYZ"
local function fnv(s)
local h = 2166136261
for i = 1, #s do
h = bit32.bxor(h, string.byte(s, i))
h = (h * 403 + bit32.lshift(h, 24)) % 4294967296
end
return h
end
local function code(n)
local out = ""
for i = 3, 0, -1 do
local k = bit32.band(bit32.rshift(n, i * 5), 31) + 1
out ..= string.sub(A, k, k)
end
return out
end
local id = "studio-hello"
local h1 = fnv("beacon-yard:pass:" .. id)
local h2 = fnv(tostring(h1) .. ":" .. id)
print("Beacon Yard check passed: BY-" .. code(h1) .. "-" .. code(h2))
- Start from
- Roblox Studio installed, with a new Baseplate open (skip ahead and return after setup part 1 if Studio is not installed yet)
Done means
- Studio opens a Baseplate place
- The command bar runs the check above
- The Output window shows a pass code you paste here
Meet the criteria above, then record your own result. No test grades this check.