This repository has been archived by the owner on Apr 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
damage
VexTrex edited this page Sep 11, 2020
·
2 revisions
Damages the player by an amount.
Name | Type | Default | Description |
---|---|---|---|
Player | String/Number | The player you want to damage (username/user ID) | |
Amount | Number | The amount of damage that will be dealt to the player |
Name | Type | Description | Solution |
---|---|---|---|
Player argument Missing | Error | There is nothing listed for the player argument | Insert the player's name/ID |
Amount argument Missing | Error | There is nothing listed for the amount argument | Insert a number |
Amount is not a number |
Error | The argument for the "amount" parameter could not be transformed into a number | Insert a valid number |
Player is not a valid player |
Error | Could not locate the specified player | Insert a valid player name |
Player 's character does not exist |
Error | The player's character is not found in the game | Wait for the player's character to load in and retry |
Player was damaged by Amount HP |
Success | The player's health decreased by the amount |