> For the complete documentation index, see [llms.txt](https://wiki.thescriptersguild.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.thescriptersguild.com/scripting/nodes/events-modes/on-player-infected.md).

# On Player Infected

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-d977749d7e542c59589986c398ca75d85cb90d82%2Fon-player-infected.png?alt=media)

## Description

Event called when any player is infected during the Infection game mode. Infecting Player will return nil if not caused by an infected player.

## Node Type

Nodes fall into two basic categories: Data and Execution. This node listens for an Event, then triggers it's node string.

## Inputs

| Input | Type | Required | Description |
| ----- | ---- | -------- | ----------- |
| N/A   | N/A  | N/A      |             |

## Outputs

| Output           | Type   | Description                       |
| ---------------- | ------ | --------------------------------- |
| Infected Player  | Object | The player who was just infected. |
| Infecting Player | Object | The player who infected.          |

\
\
**Contributors**

AddiCt3d 2CHa0s
