> For the complete documentation index, see [llms.txt](https://gabjeksuper.gitbook.io/fiveguard-configuration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gabjeksuper.gitbook.io/fiveguard-configuration/block-expolits/block-crash-methods/before-reading/pneumatic-hammer.md).

# Pneumatic Hammer

Add this function to prevent a crash method that uses a vulnerability with the pneumatic hammer prop and emote

```
Citizen.CreateThread(function()
    while true do
        Citizen.Wait(500)
        local objects = GetGamePool("CObject")
        for _, obj in ipairs(objects) do
            if DoesEntityExist(obj) then
                local modelHash = GetEntityModel(obj)
                if modelHash == 1360563376 then
                    SetEntityAsMissionEntity(obj, true, true)
                    DeleteObject(obj)
                end
            end
        end
    end
end)
```
