You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
localconfig= {
initializingTimer=2, -- in seconds before the game startsgameCountDownTime=15, --in seconds how much time they have to complete the gametotalCorrectClicksAllowed=3, -- total number of correct clicks required to wintotalWrongClicksAllowed=2, -- total number of wrong click they can do before losingchooseRandomBubbleColors=true, --if false singleBubbleColor will be given if provided else color from code used singleBubbleColor='', --optional - if not provided, color from code will be usedchooseRandomSizeBubbles=false, --if false singleBubbleSize will be given if provided else size from code used singleBubbleSize='1'--optional - if not provided, size from code will be used -> value should be integer values from 1 to 3
}
localresult=exports["snipe-aimgame"]:openAimGame(config)
ifresultthenprint("winner")
elseprint("loser")
end
Open the minigame based on command
RegisterCommand("mini", function()
localconfig= {
initializingTimer=2, -- in seconds before the game startsgameCountDownTime=15, --in seconds how much time they have to complete the gametotalCorrectClicksAllowed=3, -- total number of correct clicks required to wintotalWrongClicksAllowed=2, -- total number of wrong click they can do before losingchooseRandomBubbleColors=true, --if false singleBubbleColor will be given if provided else color from code used singleBubbleColor='', --optional - if not provided, color from code will be usedchooseRandomSizeBubbles=false, --if false singleBubbleSize will be given if provided else size from code used singleBubbleSize='1'--optional - if not provided, size from code will be used -> value should be integer values from 1 to 3
}
localresult=exports["snipe-aimgame"]:openAimGame(config)
ifresultthenprint("winner")
elseprint("loser")
endend)