🔌Installation & Usage

-- Check Duty State --
local duty = LocalPlayer.state.onDuty     -- Client
local duty = Player(source).state.onDuty  -- Server

-- Toggle Duty --
exports['xt-duty']:toggleDuty()           -- Client Only

-- Set Duty State --
exports['xt-duty']:setDuty(state)         -- Client Only

-- States
[0 & false] = Off Duty
[1 & true] = On Duty

Last updated