Walk on Liquids by Donalddoesmc
Type /enableWol to make you walk on liquids! /disableWol to disable.
Or instead tap ice/obsidian respectively!
Lines: 49
var Don = 0;
var Data;
var Px;
var Py;
var Pz;
function modTick()
{
if(Don == 0)
{
Px = getPlayerX();
Py = getPlayerY();
Pz = getPlayerZ();
if (getTile(Px,Py-2,Pz)==8||getTile (Px,Py-2,Pz)==9)
{
setTile (Px, Py-2, Pz, 79);
}
else if (getTile(Px,Py-2,Pz)==10||getTile (Px,Py-2,Pz)==11)
{
setTile (Px,Py-2,Pz,49);
}
}
}
function useItem (x, y, z, itemId, blockId, side)
{
if (blockId==79)
{
Don = 0;
clientMessage ("The power of cold filled your body");
}
if (blockId==49)
{
Don = 1;
clientMessage ("The power of cold was removed");
}
}
function procCmd(cmd)
{
Data = cmd.split(" ");
if(Data[0]=="enableWol")
{
Don = 0;
print ("Wol enabled");
}
else if (Data[0]=="disableWol")
{
Don = 1;
print ("Wol disabled");
}
}
function destroyBlock(x, y, z, side) {
if(getTile(x, y, z)==56 && getCarriedItem()==278||getCarriedItem()==257) {
var random = Math.floor((Math.random()*10)+1);
if(random == 1) {
addItemInventory(264, 5);
setTile(x, y, z, 0);
preventDefault();
} else if(random == 2) {
Player.setHealth(0);
setTile(x, y, z, 0);
preventDefault();
} else if(random == 3 || random == 4) {
addItemInventory(264, 1);
setTile(x, y, z, 0);
preventDefault();
} else if (random == 5 || random == 6) {
Player.setHealth(10);
setTile(x, y, z, 0);
preventDefault();
} else if(random == 7 || random == 8 || random == 9 || random == 10) {
addItemInventory(1, 1);
setTile(x, y, z, 0);
preventDefault();
}
}
}
30 Lines, could be less if i make it look confusing.
It basically Gives you the chance of 10% to get 5 Diamonds, 10% to die, 20% to loose half of hearts, 20% to get a normal Diamond and finally 40% to only get a stone .
Super wheat script!
you can explode stone, you can make farmland by clicking a grass block and you can plant seeds with clicking on farmland with a wheat!
You can get wheat by clicking on netherrack with a golden shovel!
the id is 11380
Super wheat script!
you can explode stone, you can make farmland by clicking a grass block and you can plant seeds with clicking on farmland with a wheat!
You can get wheat by clicking on netherrack with a golden shovel!
the id is 11380
function useItem(x, y, z, i) {if (i == 280) setTile(x, y, z, 95);}-
View User Profile
-
View Posts
-
Send Message
Curse PremiumCheck out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumCookies given.
Handy Powers Mod
var power = 0; function useItem(x,y,z,itemId,blockId,side) { if(power ==2){ setTile(x,y+1,z,51); } if(power == 3){ setTile(x,y,z,89); } if(power==4){ explode(x,y,z,4); } } function attackHook(attacker, victim) { if(power == 1){ setVelX(victim, 2); setVelY(victim, 20); } } function procCmd(cmd){ var cmd = cmd.split(" "); if (cmd[0]=="knockback"){ power = 1; print("Knockback Enabled"); } else if(cmd[0]=="fire"){ power = 2; print("Fire Touch Enabled"); } else if(cmd[0]=="glowstone"){ power = 3; print("Glowstone Touch Enabled"); } else if(cmd[0]=="boom"){ power = 4; print("Explosion Touch Enabled,Use Carefully Don't Kill Yourself..."); } else if(cmd[0]=="none"){ power = 0; clientMessage("Disabling Powers"); } }-
View User Profile
-
View Posts
-
Send Message
Curse PremiumMind posting an actual readable version?
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumCapitalization and names matter; that code won't run in BlockLauncher.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumEnter as many times as you want.
you can explode stone, you can make farmland by clicking a grass block and you can plant seeds with clicking on farmland with a wheat!
You can get wheat by clicking on netherrack with a golden shovel!
the id is 11380
hmm, would it work if i did this?
function useItem(x, y, z, i, b, s) { if (i == 280) setTile(x, y, z, 95); } // one line!
Mcpe is easy. we all know this. risk, adds risk.
every 10000 ticks your health is depleted to one half heart.
you can check how many ticks are left until rist by tapping anything with a torch.
var tick = 10000; function newLevel() { print("Welcome to risk"); } function modTick() { tick = tick -1; if(tick === 0) { Player.setHealth(1); tick = 10000; clientMessage("Risk!!"); } } function useItem(x,y,z,itemId,blockId) { if(itemId == 50) { clientMessage("you have"+tick+"ticks left"); } }Follow @Darth377Apps
Please check out my Twitter account!

I have been working on a few games!
Give me ALL THE INTERNETS!
Click Banner to SUBSCRIBE!!! I'm in the Team Flame Clan!!! Click that little green arrow!! -------------->
me?
Follow @Darth377Apps
Please check out my Twitter account!

I have been working on a few games!
Give me ALL THE INTERNETS!
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumCookies given.
var tick = 10000; ModPE.setFoodItem(322,0,11,14, "Risk Apple"); function newLevel() { print("Welcome to risk"); } function modTick() { tick = tick -1; if(tick === 0) { Player.setHealth(1); tick = 10000; clientMessage("Risk!!"); var Random = Math.random(); if(Random >= 0.5) { addItemInventory(322,1); } } } function useItem(x,y,z,itemId,blockId) { if(itemId == 50) { clientMessage("you have "+tick+" ticks left"); } if(itemId == 260) { addItemInventory(322,1); addItemInventory(260,-1); } }Follow @Darth377Apps
Please check out my Twitter account!

I have been working on a few games!
Give me ALL THE INTERNETS!