top of page

Sit Addon

by ObiloxYT

ree

/*-----------------------------------------------------------------------------------------------------------------------*/

In Bloxd, sitting is restricted to boats and karts—but what if you could sit anywhere? This addon breaks those limits, letting players sit freely on the ground, in custom locations, and more! Whether for immersive roleplay or just relaxing in your world, this addon brings the missing sit mechanic to life. 🚀🔥

ree

This Mod Conflicts with Super Boots, Super Pickaxes and Rainbow Capes.

ree

World Code

let crouchStartTime = {};

let playerPose = {};

let standUpTime = {}; // Stores when the player should stand

let lastPosition = {};


tick = () => {

for (let playerId of api.getPlayerIds()) {

let currentPosition = api.getPosition(playerId);


// Ensure the player is standing still before sitting

if (

lastPosition[playerId] &&

(currentPosition[0] !== lastPosition[playerId][0] ||

currentPosition[1] !== lastPosition[playerId][1] ||

currentPosition[2] !== lastPosition[playerId][2])

) {

crouchStartTime[playerId] = null; // Reset if moving

}


lastPosition[playerId] = currentPosition; // Update position


if (api.isPlayerCrouching(playerId)) {

if (playerPose[playerId] === "sitting") {

if (!standUpTime[playerId]) {

standUpTime[playerId] = Date.now() + 1000; // 1-second delay before standing

}

} else {

if (!crouchStartTime[playerId]) {

crouchStartTime[playerId] = Date.now();

} else if (Date.now() - crouchStartTime[playerId] >= 4000) {

api.setPlayerPose(playerId, "sitting"); // Sit down after 4 sec

api.applyEffect(playerId, "Frozen", null, { displayName: "Sitting" }); // Freeze effect

playerPose[playerId] = "sitting";

crouchStartTime[playerId] = null; // Reset timer

}

}

} else {

if (standUpTime[playerId] && Date.now() >= standUpTime[playerId]) {

api.setPlayerPose(playerId, "standing"); // Stand up after delay

api.removeEffect(playerId, "Frozen"); // Remove freeze effect

playerPose[playerId] = "standing";

standUpTime[playerId] = null; // Reset stand-up timer

}

crouchStartTime[playerId] = null; // Reset if player stands

}

}

};

ree

Universal Sitting Mechanic – Players can sit anywhere, not just boats or karts.

Crouch-to-Sit – If a player crouches for 4 seconds, they will sit down.

Inability to move while Sitting – Players can’t move once seated, ensuring a realistic sitting experience.

You only sit when you crouch– When you are not couching you automatically stand up.

Seamless Pose Switching – Automatically transitions between standing and sitting.

Supports Any Surface – No specific block requirements—sit anywhere in the world!

Optimized for Bloxd Mechanics – Works within Bloxd’s limitations without teleporting issues.

ree
  1. To change the pose while sitting, modify all the places with "sitting" and change them to the pose you want. some examples are "gliding" and "driving".

  2. To change the time taken to sit, modify this line:

  } else if (Date.now() - crouchStartTime[playerId] >= 4000) {

change 4000(milliseconds) to the time you want.


Thanks for using my 5th addon!

 
 
 

Comments


ADD YOUR OWN PROJECT

© 2025 Bloxd world. All rights reserved.

bottom of page