nil or 0 while you’re dead or respawning.
One exception: in Phantom Forces and Overkill, api.client exposes only the onHit / onKill signals below — none of the getters or other signals.
Getters
Signals
Call:Connect(callback) on these. They get cleaned up when your script unloads.
Your hits and kills
Fire when you damage or eliminate another player. These two signals also exist in Phantom Forces and Overkill, where they are the only things onapi.client.
The
hit table (fields are nil where the game doesn’t report them):
kill table: { player, position?, headshot? } (position in Bloxstrike and Phantom Forces, headshot in Overkill).