> For the complete documentation index, see [llms.txt](https://docs.quantum-studios.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.quantum-studios.net/qtm-lib/client-functions/minigames/drill.md).

# Drill

```etlua
Minigames.Drill(callback, discCount)
```

### Arguments

| Argument  | Data Type | Optional | Explanation                                            |
| --------- | --------- | -------- | ------------------------------------------------------ |
| callbacks | boolean   | no       | callback for checking if the player had success        |
| discCount | integer   | yes      | DiscCount the player needs to drill through. Default 3 |

### Example

{% code overflow="wrap" %}

```etlua
local discnumber = 3
qtm.Minigames.Drill(function(status)
    if status then
        lib.notify({
            title = 'You made it',
            type = 'success'
        })
    else
        lib.notify({
            title = 'Stupid',
            type = 'error'
          })
    end
end, discnumber)
```

{% endcode %}
