Update functions.lua

This commit is contained in:
Mustache Dom authored and GitHub committed 2024-05-13 13:42:10 -07:00
1 parent 3549e4afaa
commit b682a9310d
1 file changed
+5 -1
+5 -1
View File
@@ -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})