Tap Minigame (Simple minigame)

A script by Watcharapong_Soponpa

No reviews yet.
Tap Minigame (Simple minigame) main image

Full Description

Simple tap and dance minigame for you guys.

Preview
[Fivem] Tap Minigame (PAID)
Usage

exports.tapgame:startGame(args[1], function(success)
    if success then
        print("Game Success")
    else
        print("Game Fail")
    end
end)
if exports.tapgame:startGame(args[1]) then
    print("Game Success")
else
    print("Game Fail")
end

Customize
Can change soundfx of game (tap, win, lose, cool, great,perfect)
Can change image of (Bad,Cool, Great,Perfect,Miss)
Config

  • Level
  • Note for each level
  • Dance for each level
  • You can setup win and lose goal.
  • Beat per minutes (Speed of game)
  • Music (Youtube url / mp3 file)
["nameofgame"] = { -- Name of game, must be unique
    level = {
        [1] = { -- Start with 1 always
            note = 1 -- Amount of arrow in this level
            anim = { -- Animation start when you hit with cool, great, perfect
                dict = "", -- Animation dict
                name = "" -- Animation name
            }
        } 
    }, 
    success = 5, -- if you play and correct like 5 times, you will win
    fail = 3, -- if you play and fail like 3 times, you will lose
    music = "", -- Music link mp3 or youtube, not support ogg.
    bpm = 100, -- Beat per minute -> 0 - 100 slow , 100 - 150 normal, 150 - 200 fast
}

Enjoy!

Code is accessible No
Subscription-based No
Lines (approximately) Vue 721
Requirements None
Support Yes

Config Merger
Have you tried Config Merger? Merge your configs easily