api.register("My Script", onLoad, onGameTick)
-- Include the Moonloader API
local api = require("moonloader")
-- Define the functions of your script
function onLoad()
-- Get the player's activation code
local code = api.getInput("Enter your activation code")
-- Check if the code is...