Trigger

To use the script simply call the following trigger from any script. For example, if it is a safe robbery script you can run it at the moment of unlocking the safe.

This trigger starts the minigame and returns the result

Name
Type
Description

game

string

Options: lockpick, digital, cable, combination or oscilloscope

difficulty

string

Options: easy, medium, high

TriggerEvent("bit-unlock:start",game, difficulty, function(success)
    if success then
        print("Digital success")
    else
        print("Digital failed")
    end
end)

Last updated