Sets the movement speed of the player, automatically strafes.
player.jump
1
player.jump()
Copied!
Makes the local player jump.
player.setYaw
1
player.setYaw(yaw)
Copied!
Argument
Object
Description
yaw
Number
New yaw rotation
Sets the yaw of the local player.
player.setPitch
1
player.setPitch(pitch)
Copied!
Argument
Object
Description
pitch
Number
New pitch rotation
Sets the pitch of the local player.
player.usingItem
1
player.usingItem() - Boolean
Copied!
Returns if the local player is currently using an item.
player.swingItem
1
player.swingItem()
Copied!
Makes the local player swing the current item.
player.health
1
player.health() - Number
Copied!
Returns the current health of the local player.
player.maxHealth
1
player.maxHealth() - Number
Copied!
Returns the max health the local player can health.
player.armor
1
player.armor() - Number
Copied!
Returns the current total armor value of the local player.
player.setPosition
1
player.setPosition(x, y, z)
Copied!
Argument
Object
Description
x
Number
New x
y
Number
New y
z
Number
New z
Sets the current position of the local player.
player.message
1
player.message(message)
Copied!
Argument
Object
Description
message
String
Message sent
Sends a chat message. Put a - at the start of the message to send a message in the IRC. You can also execute commands like you would in the client with this function.
player.fallDistance
1
player.fallDistance() - Number
Copied!
Returns the current distance the local player has fallen.
player.name
1
player.name() - String
Copied!
Returns the account name you are currently logged in to.
player.renderName
1
player.renderName() - String
Copied!
Returns the render name of the local player. On Hypixel this could look like this: §b[MVP] AccountName.
player.heldItemSlot
1
player.heldItemSlot() - Number
Copied!
Returns the slot the local player is currently holding.
player.setHeldItemSlot
1
player.setHeldItemSlot(slot)
Copied!
Set the current held item of the local player.
player.hurtTime
1
player.hurtTime() - Number
Copied!
Returns the current hurt time of the local player.
player.foodLevel
1
player.foodLevel() - Number
Copied!
Returns the food level of the local player.
player.absorption
1
player.absorption() - Number
Copied!
Returns the local players absorption level.
player.burning
1
player.burning() - Boolean
Copied!
Returns if the local player is burning.
player.leftClick
1
player.leftClick()
Copied!
Clicks the left mouse button.
player.rightClick
1
player.rightClick()
Copied!
Clicks the right mouse button.
player.inWater
1
player.inWater() - Boolean
Copied!
Returns if the local player is in the water.
player.inLava
1
player.inLava() - Boolean
Copied!
Returns if the local player is in the lava.
player.moving
1
player.moving() - Boolean
Copied!
Returns if the local player is moving.
player.onGround
1
player.onGround() - Boolean
Copied!
Returns if the local player is on ground.
player.sneaking
1
player.sneaking() - Boolean
Copied!
Returns if the player is sneaking.
player.setSneaking
1
player.setSneaking(sneak)
Copied!
Argument
Object
Description
sneak
Boolean
New sneak state
Sets the current sneaking state of the local player.
player.dead
1
player.dead() - Boolean
Copied!
Returns if the local player is dead.
player.sprinting
1
player.sprinting() - Boolean
Copied!
Returns if the local player is sneaking.
player.riding
1
player.riding() - Boolean
Copied!
Returns if the local player is riding another entity.
player.onLadder
1
player.onLadder() - Boolean
Copied!
Returns if the local player is currently on a ladder.
player.collidedVertically
1
player.collidedVertically() - Boolean
Copied!
Returns if the local player collided vertically.
player.collidedHorizontally
1
player.collidedHorizontally() - Boolean
Copied!
Returns if the local player collided horizontally.
player.ticksExisted
1
player.ticksExisted() - Number
Copied!
Returns how long the player is already existing (1 tick = 50 milliseconds).
player.addMotion
1
player.addMotion(x, y, z)
Copied!
Argument
Object
Description
x
Number
Added x motion
y
Number
Added y motion
z
Number
Added z motion
Adds values to the local players motion.
player.setMotion
1
player.setMotion(x, y, z)
Copied!
Argument
Object
Description
x
Number
New x motion
y
Number
New y motion
z
Number
New z motion
Sets the local players motion.
player.setMotionX
1
player.setMotionX(x)
Copied!
Argument
Object
Description
x
Number
New x motion
Sets the local players motion z.
player.setMotionY
1
player.setMotionY(y)
Copied!
Argument
Object
Description
y
Number
New y motion
Sets the local players motion y.
player.setMotionZ
1
player.setMotionZ(z)
Copied!
Argument
Object
Description
z
Number
New z motion
Sets the local players motion z.
player.sendPacket
1
player.sendPacket(packetId, args...)
Copied!
Argument
Object
Description
packetId
Number
ID of the packet that will be sent to the server.
args
Anything
Contents of the packet
Sends a packet to the connected server, you can find a list of packets in the packets section.