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:

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.

Last updated