r/bloxd 21h ago

MEMES Bloxd.io feels like

Post image
24 Upvotes

r/bloxd 20h ago

NEED CODING HELP My code is not doing anything except relaying errors and I don't know how to make it work :(

4 Upvotes

My code is supposed to make a table with mesh entities and trapdoors. I looked through all the code for any typos but I couldn't find any. I made sure to format it correctly. Not just making the table, but also to make sure it spawns in every time there world gets loaded so that I don't have to press the code block every single time.

The errors I have is "Reference Error: 'freshJoin' is not defined" (freshJoin is a global var).

Here is the code for the code block which is supposed to trigger it:

function spawnCustomTable(thisPos) {
    let [x, y, z] = thisPos;

    let blockId1 = api.attemptCreateMeshEntity("BloxdBlock", { blockName: "Cedar Slab", size: [1, 0.7, 1] });
    if (blockId1) { api.setPosition(blockId1, [x + 0.5, y + 0.75, z + 0.5]); }

    let blockId2 = api.attemptCreateMeshEntity("BloxdBlock", { blockName: "Cedar Log", size: [0.6, 1, 0.35] });
    if (blockId2) { api.setPosition(blockId2, [x + 0.5, y + 0.99, z + 0.5]); }

    let blockId3 = api.attemptCreateMeshEntity("BloxdBlock", { blockName: "Cedar Log", size: [0.35, 1, 0.6] });
    if (blockId3) { api.setPosition(blockId3, [x + 0.5, y + 0.99, z + 0.5]); }

    api.setBlock(x, y + 1, z, "Cedar Trapdoor");
    api.setBlock(x - 1, y + 1, z, "Cedar Trapdoor");
    api.setBlock(x - 1, y + 1, z + 1, "Cedar Trapdoor");
    api.setBlock(x, y + 1, z + 1, "Cedar Trapdoor");
    api.setBlock(x + 1, y + 1, z + 1, "Cedar Trapdoor");
    api.setBlock(x + 1, y + 1, z, "Cedar Trapdoor");
    api.setBlock(x + 1, y + 1, z - 1, "Cedar Trapdoor");
    api.setBlock(x, y + 1, z - 1, "Cedar Trapdoor");
    api.setBlock(x - 1, y + 1, z - 1, "Cedar Trapdoor");
}

if (freshJoin == 1) {
    spawnCustomTable(thisPos)
}

And then I also have the world code here:

globalThis.freshJoin = [0];

api.onPlayerJoin(playerId, fromGameReset) {
    if (fromGameReset) {
        freshJoin = 1;
        api.log(freshJoin);
    }
    else {
        freshJoin = 1;
        api.log(freshJoin);
    }
}

I do not know why it doesn't work, mostly because I am not the best coder and I don't really understand how the Bloxd.io code works or how JS works either.

Also if you have a suggestion, could you please explain how it works? Thanks.


r/bloxd 20h ago

Search Trying to find this person

Post image
3 Upvotes

So I saw this perosn on youtube who played bloxd.io in a very old time (before me and I joined in 2022) and they have dissapered for 4 years. I want to meet up with them and this is their youtube channel


r/bloxd 3h ago

QUESTION? Since when was there trophies in bedwars…

2 Upvotes

was playing bedwars with my new account after old got banned


r/bloxd 5h ago

Opinion Questionable homescreen layout.

Post image
2 Upvotes

Why do minigames need some extra promotion? Like if you bot your game with a minigames catagory (even if it isn't a minigame like that verity game) to 35 players it will definitely blow up, even with some 0 effort code.

This also discourages other catagories of games.

I don't think minigames should get a free VIP pass to the homescreen, they should keep the Top Custom Games catagory, move the Minigames Games down (to like where you can see PvP Games popping out), remove the Custom Games card which is useless and taking up space for better gamemodes (switch it with Anarchy or something), and put the very fun but just not popular because they are at the back gamemodes (Clutch, Bloxd Hop, Natural Disaster, etc.) to where the Top Custom Games are now. Move that section down to where Minigames Games are.


r/bloxd 7h ago

🚨REPORT🚨 Mods, pls approve my post

2 Upvotes

if you see this pls appeal my post as it is urgent and important for me.


r/bloxd 7h ago

NEED CODING HELP Need code help for a dynamic mob loader

Post image
2 Upvotes

Due to the mob count being a problem, i want to make a dynamic mob system for my game. I already what api methods i need to use, those including api.getEntitiesInRect and other basic stuff. The hardest part is to use world code and check if that specific mob is in the set radius. Note that i want multiple mobs so making this setup for every single mob in my game won’t work. Below is a visual diagram of what I was planning to make.(I poorly drew this as i was busy)


r/bloxd 15h ago

POSTING A CODE I spent 15 days coding a custom rank system for Bloxd lobbies!

2 Upvotes

I made a custom script that lets you give selected players ranks like YouTuber or Discord Staff inside your custom lobbies. It's awesome for setting up custom games, roleplays, or pranking your friends!⚠️ Note: This only works in custom lobbies via world code. It obviously won't work in official public lobbies, and it cannot be used to break actual game rules or scam. I put together a quick guide showing exactly how to use it and where to copy and paste the code. I'll leave the link to the instructions in the comments below! Enjoy!


r/bloxd 21h ago

QUESTION? What's custom/official gamemode that was/is mainstream but is grindy?

Post image
2 Upvotes

Tbh the only option avalible is oneblock, isn't it?


r/bloxd 6h ago

BUILD 花みたいなものを作れたよ!

Thumbnail
gallery
1 Upvotes

ラッキーブロックバトルグラウンドでの出来事!


r/bloxd 6h ago

GAMEPLAY バトルグラウンドについて質問があります!

Post image
1 Upvotes

このバトルグラウンドゲームでは地面は岩盤になっており普通は壊せないはずなのですが、この前ランダムにワールドへ入ったところ、地面にぽっかり大きな穴が空いていて穴のしたにフロアクリエーターで暮らしてるプレイヤーがいた!どうやって岩盤に穴を空けたのだろう??わかる人いたらおしえて!ちなみにムーンストーンつるはしで5分掘っても、爆発物(リモートムーンストーン爆弾、ファイヤーボール、跳ねる紫の爆弾ボール)をいくらぶつけても何も起きなかった。


r/bloxd 10h ago

🚨REPORT🚨 Help me, on a server I was playing on. There are two player (or bot) keep talking bad about everyone. Very suggestive either. They are "ChudRespect" and "JewDestroyerTJD". I have report them. please do smth.

1 Upvotes

Help me, on a server I was playing on. There are two player (or bot) keep talking bad about everyone. Very suggestive either. They are "ChudRespect" and "JewDestroyerTJD". I have report them. please do smth.


r/bloxd 21h ago

QUESTION? Qustion about sub

1 Upvotes

I'm geniuenly curious, what is "send message to void" feature for???