---
title: "Set Environment Credit Player"
description: "Target, Environment credit player"
---

> Documentation Index
> Fetch the complete documentation index at: https://wiki.wrightkit.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Set Environment Credit Player

## Description

Sets the Player who will received credit if the specified target Player or Players die to the environment before landing on the ground.

## Snippet

```
Set Environment Credit Player(Event Player, Null);
```

## Properties

**Returns**: _<span style="color: #c678dd">Void</span>_
**Parameters**: ==_Target_==, ==_Environment Credit Player_==

> ==**Target**==
> _Type: **[Player](/constants/player/)** | **Array** (**Player**), Default: **[Event Player](/values/event-player/)**_
> The target Player or Players whose death is being considered.

> ==**Environment Credit Player**==
> _Type: **[Player](/constants/player/)** | **Array** (**Player**), Default: **[Null](/values/null/)**_
> The Player who will received credit if the target Player or Players die to the environment before landing on the ground. An Environment Credit Player of Null indicates no Player will receive credit.

Source: https://wiki.wrightkit.dev/actions/set-environment-credit-player/index.mdx
