Price
UnknownA script by Gamzky
Price
Unknown
Keypad MinigameEnhance your server’s gameplay with this challenging keypad minigame! Inspired by popular game mechanics.
Get it here: gamzkystore.com
Preview video: YouTube
Support: Discord
-- Starts a keypad minigame with a pin length of 3 and a maximum amount of tries of 5.
local pinLength = 3
local maxTries = 5
local success = exports.gs_keypad:StartGame(pinLength, maxTries)
print(success and 'Success' or 'Failed')
Config = {
debug = false, -- Enables debug mode, which allows you to start the game via a command.
enableSounds = false, -- Enables sound effects.
defaultPinLength = 3, -- The default pin length for the game.
defaultMaxTries = 5, -- The default max tries for the game.
disabledControls = { -- The controls that are disabled when the game is open. By default some movement controls are disabled.
22, -- INPUT_JUMP
23, -- INPUT_ENTER
30, -- INPUT_MOVE_LR
31, -- INPUT_MOVE_UD
32, -- INPUT_MOVE_UP_ONLY
33, -- INPUT_MOVE_DOWN_ONLY
34, -- INPUT_MOVE_LEFT_ONLY
35, -- INPUT_MOVE_RIGHT_ONLY
}
}
| Code is accessible | Yes |
| Subscription-based | No |
| Lines (approximately) | 663 |
| Requirements | None |
| Support | Yes |
See what others are saying about this script.
Share your experience and help others.