# Player Parameter

The player parameter opens a list with all the players in the server that you are in, You can select them and the command will set them all.

## How to register it?

Code:

```lua
MyCommand:AddParameter("Player", {
    Name = "Amazing Player", --// Parameter name.
    SelectionRange = NumberRange.new(1, 1), --// Minimum & Maximum selection of players.
})
```

If you did it correctly, You should see the parameter appear on the parameters section.

<div><figure><img src="https://2544013832-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc9bK8pux8ECQEv3nGxVN%2Fuploads%2FBN78txID7eOBWjI06c9L%2Fimage%20(6).png?alt=media&#x26;token=a30f6810-3c45-4a18-a7cc-03a9e27c0bd8" alt=""><figcaption></figcaption></figure> <figure><img src="https://2544013832-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc9bK8pux8ECQEv3nGxVN%2Fuploads%2FMiYIO3tNejCDWIbCOcSo%2Fimage%20(12).png?alt=media&#x26;token=58e27ebf-b570-4594-8078-d45f3af8a89e" alt=""><figcaption></figcaption></figure></div>
