1
0
Fork 0
forked from Simnation/Main
Main/resources/[standalone]/tgiann-core/client/functions/skillCheck.lua
2025-07-09 19:41:05 +02:00

15 lines
375 B
Lua

local tgiann_skillbar = GetResourceState("tgiann-skillbar") == "started"
tgiCore.skillCheck = function(time)
if tgiann_skillbar then
return exports["tgiann-skillbar"]:taskBar(6500, true)
end
local dif = "easy"
if time < 2000 then
dif = "hard"
elseif time < 5000 then
dif = "medium"
end
return lib.skillCheck({ dif })
end