# Stress

#### `KOJA.Client.GetPlayerStress()`

Returns the current stress level of the player.

***

#### `koja-hud:addStress(value)`

Increases the player's stress level by a specified amount.

**Parameters:**

* `value` (number): The amount by which the player's stress will be increased. The value must be a positive number.

***

#### `koja-hud:removeStress(value)`

Decreases the player's stress level by a specified amount.

**Parameters:**

* `value` (number): The amount by which the player's stress will be decreased. The value must be a positive number.

***

#### Example Usage:

```lua
-- Adding 10 stress points
TriggerEvent("koja-hud:addStress", 10)

-- Removing 5 stress points
TriggerEvent("koja-hud:removeStress", 5)

-- Getting the current player's stress level
local currentStress = KOJA.Client.GetPlayerStress()
print(currentStress)

```


---

# Agent Instructions: 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:

```
GET https://docs.kojascripts.eu/new/hud/guides/stress.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
