From b682a9310dbd8dd888c2e3062c6e34abe2f0fe10 Mon Sep 17 00:00:00 2001 From: Mustache Dom <123716453+Mustachedom@users.noreply.github.com> Date: Mon, 13 May 2024 13:42:10 -0700 Subject: [PATCH] Update functions.lua --- client/functions.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/functions.lua b/client/functions.lua index 0d16b77..69e958b 100644 --- a/client/functions.lua +++ b/client/functions.lua @@ -44,11 +44,15 @@ function minigame(num1, num2) if num2 <= 6 then num2 = 'hard' elseif num2 >= 7 and num2 <= 12 then num2 = 'medium' else num2 = 'easy' end local success = lib.skillCheck({num1, num2}, {'1', '2', '3', '4'}) return success - else + elseif minigametype == 'none' then + return true + else + print"dude, it literally tells you what you need to set it as in the config" end end + function Notify(text, type) if notifytype =='ox' then lib.notify({title = text, type = type})