A minigame that you have to press if the incoming letters are green. If they are red, you will lose one attempt.
RegisterCommand("minigame", function()
local letters = {
"Q",
"W",
"E",
"R",
}
-- Arguments: playMinigame(letters, maxwin, maxlife, letterspeed, goldletterspeed, progressbarTime)
local game = exports["x99-minigame"]:playMinigame(letters, 3, 3, 1.5, 1, 1)
if game == true then
print("You won!")
else
print("You lost!")
end
end)
061O5q62-7x9G0l3o-0t0a862V.mp4
When contributing to this repository, please first discuss the change you wish to make via issue, discord, or any other method with the owners of this repository before making a change. We'd love your help with any of the following:
- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
- Fork the repository and create your branch from
main
. - Implement the changes and test it.
- Test it again.
- Issue that pull request!