> For the complete documentation index, see [llms.txt](https://ss3d.gitbook.io/dev-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ss3d.gitbook.io/dev-guide/guides/testing-ss3d/play-mode-tests/health-tests.md).

# Health tests

### Killing a player by hitting on torso

**SETUP** : Just have a healthy human spawn, with the AttackBodyPartByClickingIt attached. Check that the damage amount is above 0 (should be 10 to quick test it). &#x20;

**TEST :** Press F a bunch of time while aiming with the mouse on the player torso until the player explode.

**RESULT** : You should see body parts flying, the camera should focus on the detached head, all body parts should disappear after a while and the head should too. After that, you're a ghost that you can control.

### Killing a player by hitting on head

**SETUP** : Just have a healthy human spawn, with the AttackBodyPartByClickingIt attached. Check that the damage amount is above 0 (should be 10 to quick test it). &#x20;

**TEST :** Press F a bunch of time while aiming with the mouse on the player's head until the player dies.

**RESULT** : You should immediately become a ghost.

### Bleeding to death

**SETUP** : Just have a healthy human spawn, with the AttackBodyPartByClickingIt attached. Check that the damage amount is above 0 (should be 10 to quick test it). &#x20;

**TEST :** Press F a bunch of time while aiming with the mouse on random body parts on the player.

**RESULT** : See that blood particles are spawning close to the body part you hit. Check that after a while, the player dies from lack of blood. Should take less than a minute if you hit a lot of time each body part.

### Walking when injured

**SETUP** : Just have a healthy human spawn, with the AttackBodyPartByClickingIt attached. Check that the damage amount is above 0 (should be 10 to quick test it). &#x20;

**TEST :** Press F a bunch of time while aiming with the mouse on the feet.

**RESULT** : See that player movement is slower with injured feet. Try to destroy completely the feet to see that the player cannot move anymore.

### Loosing hands

**SETUP** : Just have a healthy human spawn, with the AttackBodyPartByClickingIt attached. Check that the damage amount is above 0 (should be 10 to quick test it). &#x20;

**TEST :** Take an item in hand. Press F a bunch of time while aiming with the mouse on a hand, until you destroy it.

**RESULT** : See that a hand slot in the UI has disappeared, and that the player can't pick up items with its missing hand. Try to destroy the other one to check if the player can't take anything anymore. Check that the item held is dropped when the hand is destroyed.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ss3d.gitbook.io/dev-guide/guides/testing-ss3d/play-mode-tests/health-tests.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
