Exports
export used by scripts
LETTER SEQUENCE
exports['azs-minigames']:StartLetterSequence(function(success)
if success then
-- The player got the sequence right
print("Player successfully completed the minigame!")
-- Place here the code for when the player succeeds
else
-- The player failed or closed the minigame
print("Player failed the minigame!")
-- Place here the code for when the player fails
end
end)
PADLOCK
exports['azs-minigames']:StartPadlock(function(success)
if success then
-- The player got the sequence right
print("Player successfully completed the minigame!")
-- Place here the code for when the player succeeds
else
-- The player failed or closed the minigame
print("Player failed the minigame!")
-- Place here the code for when the player fails
end
end)
MEMORY
exports['azs-minigames']:StartMemory(function(success)
if success then
-- The player got the sequence right
print("Player successfully completed the minigame!")
-- Place here the code for when the player succeeds
else
-- The player failed or closed the minigame
print("Player failed the minigame!")
-- Place here the code for when the player fails
end
end)
Last updated