Description:
This script is a direct replacement for qb-skillbar. The goal was to make a more light weight, lag-free skillbar. The placement and colors are configuarble in the config file.
It depends on the script that is calling the skillbar. The calling script specifies duration, pos, and width. You can adjust those to change speed and difficulty. The multiple attempts are coming from the script calling the skillbar (you will see ‘Skillbar.Repeat’ in those scripts). Here is an example of calling the skillbar only once:
Skillbar.Start({
duration = math.random(2500,5000),
pos = math.random(10, 30),
width = math.random(10, 20),
}, function()
--call a function for success
end, function()
--call a function for failure
end)