To modify your script so that it intercepts an event when the first argument is "ping" and sets it to 0 before forwarding the arguments to the original `FireServer` method, you can adjust the `hookfunction` implementation. Below is the modified script which achieves this:
```lua
-- This code was generated by Cobalt
-- https://github.com/notpoiu/cobalt
-- Event originated from an Actor Environment
for _, actor in getactors() do


