Skip to content

player.position

Returns the player's position in floating point coordinates. Returns 0.0 if the position isn't available.

lua
player.position()

player.name

Returns the player's name.

lua
player.name() end

player.grounded

Returns true if the player is on the ground. Returns false if the player isn't available.

lua
player.grounded()

player.say

Makes the player say something in chat.

lua
player.say(message)

player.rotation

Returns the player's rotation. Returns (0.0, 0.0) if the player isn't available.

lua
player.rotation()