Module Player
API for interacting with the player.
Functions
-
GetTearDamage (self)
-
Get current tear damage.
Parameters:
- self
The Player object to be modified.
Returns:
number
-
GetShotSpeed (self)
-
Get current shot speed.
Parameters:
- self
The Player object to be modified.
Returns:
number
-
GetSpeed (self)
-
Get current speed.
Parameters:
- self
The Player object to be modified.
Returns:
number
-
GetHearts (self)
-
Get current health (red, counted in half hearts).
Parameters:
- self
The Player object to be modified.
Returns:
number
Tables
-
Position
-
Position of the player.