---
description: Configure the the minigame in your script according to the requirement
---

# Minigame

Navigate to `mm_airdrop/client/minigame.lua`

#### To Setup Ox Skill Check (default)

```lua
function Airdrop:StartHackMinigame(crate)
    local success = lib.skillCheck('hard', {'w', 'a', 's', 'd'})
    self:OnMinigameEnd(success, crate)
end
```

#### To Setup PS-UI minigame&#x20;

<pre class="language-lua"><code class="lang-lua"><strong>function Airdrop:StartHackMinigame(crate)
</strong>    exports['ps-ui']:Circle(function(success)
        self:OnMinigameEnd(success, crate)
    end, 8, 8)
end
</code></pre>



#### Ox SkillCheck (set by default)
