Api For Bloxd Look Company to Bloxd io ( Arthur , Tom , Slushie , Oliver , Dirty_Flea_sack , Pixel Baker , Another thing this is 100% functional in Bloxd io
Api To learn how to program in Bloxd io
Hello My name is The_Bloxd_Pro___
and I will give you all the APIs that I have coded
The API are as follows :
api.setVelocity(myId, x, y, z)-
Purpose: Sets
-
-
api.applyImpulse(myId, x, y, z)-
Purpose: Applie
-
-
api.sendMessage(myId, "text", { color: "orange" })-
Purpose: Sends
-
-
api.sendFlyingMiddleMessage(myId, ["Message"], speed)-
Purpose: Sends a flying
-
-
api.broadcastMessage("announcement", { color: "red" })-
Pu: Sends a
-
-
api.getHealth(myId)-
Purpose: Gets the curr
-
-
api.setHealth(myId, health)-
Purpose: Sets the health of the player.
-
-
api.log("message", value)-
Purpose: Logs a
-
-
api.getPlayerIds()-
Purpose: Ret
-
-
api.setPlayerPose(myId, "pose")-
Pur: Changes
-
-
api.changePlayerIntoSkin(myId, part, "SkinType")-
Purp: Changes the player's skin on
-
-
api.getPlayerPose(myId)-
P: Retrieves the
-
-
api.setPlayerColor(myId, {color: "blue"})-
Purpose: Changes
-
-
api.playSound(myId, "sound_effect")-
Purp: Plays a specific
-
-
api.setPlayerSpeed(myId, speed)-
Purpose: Sets the pla
-
-
api.getObjectPosition(id)-
Purpose: Gets the position of a game object by its ID.
-
-
api.createObject(type, position)-
P: Creates an object of a
-
-
api.deleteObject(id)-
Purpos: Deletes an object by its ID.
-
-
api.setObjectColor(id, color)-
Purpose: S
-
-
api.setObjectSize(id, size)-
Purpose: A
-
-
api.getObjectSize(id)-
Purpose: Gets the size of an obj
-
-
api.setPlayerPosition(myId, x, y, z)-
Purpose: Sets the play
-
-
api.getPlayerPosition(myId)-
Purpose: Ret
-
-
api.setRotation(myId, pitch, yaw, roll)-
Purpose: Rotates the player to a specific orient
-
-
api.getRotation(myId)-
Purp: Gets the player's rotation
-
-
api.setPlayerName(myId, "newName")-
Purpose: Changes th
-
-
api.getPlayerName(myId)-
Purpose: Gets the player's curre
-
-
api.setVisibility(myId, true/false)-
Purpose: Toggles visibility for the
-
-
api.getPlayerCount()-
Pu: Gets the current number o
-
-
api.getObjectHealth(id)-
Purpose: Gets the h
-
-
api.setObjectHealth(id, health)-
Purpose: Set
-
-
api.addScore(myId, points)-
Purpose: Adds points to a p
-
-
api.getScore(myId)-
Purpose: Gets the player's
-
-
api.isPlayerAlive(myId)-
Purpose: Checks if the player is alive.
-
-
api.setPlayerTeam(myId, "teamName")-
Purpo: Assigns the player to a specific team.
-
-
api.getPlayerTeam(myId)-
Purpose: Retrieves the team the p
Look Door : You have to select the position you are in for the command to work for you
p1 = [-7, 7, -55]
p2 = [-7, 4, -54]
a = api.raycastForBlock([-7, 7, -55], [1, 0, 0])
if (a == null) {
api.setBlockRect(p1, p2, "Block of Iron")
}
else {
api.setBlockRect(p1, p2, "Air")
}
-
Comments
Post a Comment