/*
*Mod Made By BukkitPE
*Members That Made This ShaderGameing , MattdaveMatt
*Hope you enjoy !
*Modpe.enjin.com for mod help and tutorials !
*/
var yoda = 0
ModPE.setItem (410, 9, 0, RedLightSaber);
ModPE.setItem (411, 9, 4, RedLightSaberHandle);
ModPE.setItem (412, 9, 2, BlueLightSaber);
ModPE.setItem (413, 10, 0, BlueLightSaberHandle);
if (itemId==280&&blockId==27&&getTile(x,y-1,z,17){
addItemInventory(411,1);
clientMessage("The weapon of the Jedi is in your possession,\n use it wisely!");
setTile(x,y,x,0);
setTile(x,y-1,z,0);
}
yoda = 1
}
}
function modTick()
{
if(yoda ==1)
{
countdown--;
var fws = Math.floor ((Math.random() * 5) + 1);
{
if(countdown==0&&fws==1)
{
clientMessage("<Yoda> Done well have you young Padawan! ");
countdown = 500;
}
else if(countdown==0&&fws==2)
{
clientMessage("<Yoda>Much more learning of The Force have you. ");
countdown = 500;
}
else if(countdown==0&&fws==3)
{
clientMessage("<Yoda> You have not been following the path that I\n have placed for you to become a good jedi \n You shall be punished !")
var zombie = Level.spawnMob(getPlayerX(),getPlayerY(),getPlayerZ(), 32, "wars/drone.png");
Entity.setRenderType(zombie, 3);
Entity.setHealth(zombie, 75);
var zombie2 = Level.spawnMob(getPlayerX(),getPlayerY(),getPlayerZ(), 32, "wars/drone.png");
Entity.setRenderType(zombie2, 3);
Entity.setHealth(zombie2, 75);
clientMessage("<Yoda> Prove yourself must you! If are you the Jedi\n knight you strive to be!");
countdown = 500;
}
else if(countdown==0&&fws==4)
{
clientMessage("<Yoda> Young Anakin you must kill every clone !!)
countdown = 500;
}
else if(countdown==0&&fws==5)
{
clientMessage("<Yoda> You now are on your own young one\n The force is with you")
countdown = 500;
}
}
function deathHook(attacker, victim)
{
if(Entity.getEntityTypeId(victim)==32&&yoda==1)
{
Level.dropItem(Entity.getX(victim), Entity.getY(victim), Entity.getZ(victim), 0, 3, 37, 0);
Level.dropItem(Entity.getX(victim), Entity.getY(victim), Entity.getZ(victim), 0, 270, 1, 15);
Level.dropItem(Entity.getX(victim), Entity.getY(victim), Entity.getZ(victim), 0, 263, 19, 0);
Level.dropItem(Entity.getX(victim), Entity.getY(victim), Entity.getZ(victim), 0, 290, 1, 31);
Level.dropItem(Entity.getX(victim), Entity.getY(victim), Entity.getZ(victim), 0, 264, 1, 0);
clientMessage("<Yoda> Killed have you the strongest beasts in\n this forest, but seem you troubled...");
}
}
function attackHook (attacker, victim)
{
if (getCarriedItem () == 410||getCarriedItem () == 412) //If custom sword...
{
Entity.setHealth (victim, Entity.getHealth (victim) - 40); //Take damage to mob
}
else if(getCarriedItem()==411||getCarriedItem()==413)
{
Entity.setHealth(victim, Entity.getHealth(victim)-0);
}
}
}
Check Out http://modpe.enjin.com for modpe scripts , modpe help , modpe functions , modpe tutorials ! Everythimg ModPe ! Have fun share !! Hit That green button if I helped !
1. This isn't even your mod.
2. This mod has so many errors and I would rather tell Matt myself so he doesn't make the same mistakes again.
#1 i am shader you dumb ass this is my new mod account just for mods ask matt
#2 Even i what do you mean i'll tell matt ?
#3 Proof , now say sorry
Rollback Post to RevisionRollBack
Check Out http://modpe.enjin.com for modpe scripts , modpe help , modpe functions , modpe tutorials ! Everythimg ModPe ! Have fun share !! Hit That green button if I helped !
HAHAHA! Are you a joke or what?! How the hell was I supposed to know you were shader!?!? Also, I am not dumb because I can talk and I am not a donkey either. Improve your bloody vocabulary! I am not going to say sorry to an offensive idiot. Jeez!
/*
*Mod Made By BukkitPE
*Members That Made This ShaderGameing , MattdaveMatt
*Hope you enjoy !
*Modpe.enjin.com for mod help and tutorials !
*/
var yoda = 0
ModPE.setItem (410, 9, 0, RedLightSaber);
ModPE.setItem (411, 9, 4, RedLightSaberHandle);
ModPE.setItem (412, 9, 2, BlueLightSaber);
ModPE.setItem (413, 10, 0, BlueLightSaberHandle);
if (itemId==280&&blockId==27){
addItemInventory(411,1);
clientMessage("The weapon of the Jedi is in your possession,\n use it wisely!");
setTile(x,y,z,0);
setTile(x,y-1,z,0);
yoda = 1
}
}
}
function modTick()
{
if(yoda==1)
{
countdown--;
var fws = Math.floor ((Math.random() * 5) + 1);
{
if(countdown==0&&fws==1)
{
clientMessage(" Done well have you young Padawan! ");
countdown = 500;
}
else if(countdown==0&&fws==2)
{
clientMessage("Much more learning of The Force have you. ");
countdown = 500;
}
else if(countdown==0&&fws==3)
{
clientMessage(" You have not been following the path that I\n have placed for you to become a good jedi \n You shall be punished !")
var zombie = Level.spawnMob(getPlayerX(),getPlayerY(),getPlayerZ(), 32, "wars/drone.png");
Entity.setRenderType(zombie, 3);
Entity.setHealth(zombie, 75);
var zombie2 = Level.spawnMob(getPlayerX(),getPlayerY(),getPlayerZ(), 32, "wars/drone.png");
Entity.setRenderType(zombie2, 3);
Entity.setHealth(zombie2, 75);
clientMessage(" Prove yourself must you! If are you the Jedi\n knight you strive to be!");
countdown = 500;
}
else if(countdown==0&&fws==4)
{
clientMessage(" Young Anakin you must kill every clone !!")
countdown = 500;
}
else if(countdown==0&&fws==5)
{
clientMessage(" You now are on your own young one\n The force is with you")
countdown = 500;
}
}
}
}
function deathHook(attacker, victim)
{
if(Entity.getEntityTypeId(victim)==32&&yoda==1)
{
Level.dropItem(Entity.getX(victim), Entity.getY(victim), Entity.getZ(victim), 0, 3, 37, 0);
Level.dropItem(Entity.getX(victim), Entity.getY(victim), Entity.getZ(victim), 0, 270, 1, 15);
Level.dropItem(Entity.getX(victim), Entity.getY(victim), Entity.getZ(victim), 0, 263, 19, 0);
Level.dropItem(Entity.getX(victim), Entity.getY(victim), Entity.getZ(victim), 0, 290, 1, 31);
Level.dropItem(Entity.getX(victim), Entity.getY(victim), Entity.getZ(victim), 0, 264, 1, 0);
clientMessage(" Killed have you the strongest beasts in\n this forest, but seem you troubled...");
}
}
function attackHook (attacker, victim)
{
if (getCarriedItem () == 410||getCarriedItem () == 412) //If custom sword...
{
Entity.setHealth (victim, Entity.getHealth (victim) - 40); //Take damage to mob
}
else if(getCarriedItem()==411||getCarriedItem()==413)
{
Entity.setHealth(victim, Entity.getHealth(victim)-0);
}
}
Rollback Post to RevisionRollBack
Check Out http://modpe.enjin.com for modpe scripts , modpe help , modpe functions , modpe tutorials ! Everythimg ModPe ! Have fun share !! Hit That green button if I helped !
*facepalm* ModPE.setItem shouldn't be used with the release of 0.8.0!!!!!!!! AND WHEN YOU USE MODPE.SETITEM, YOU PUT THE NAME IN QUOTATION MARKS!!!!!!!!!!!!!
i didnt make that part mat did and this was made 2 weeks ago !!
Rollback Post to RevisionRollBack
Check Out http://modpe.enjin.com for modpe scripts , modpe help , modpe functions , modpe tutorials ! Everythimg ModPe ! Have fun share !! Hit That green button if I helped !
I didn't ask for this... ProCmd just asked for a debugger, then he gets offensive, then he THINKS that the script is fine when it is not and then you show up.
2. This mod has so many errors and I would rather tell Matt myself so he doesn't make the same mistakes again.
Want GUI Templates? Done!
https://github.com/BeATz-UnKNoWN/ModPE_Scripts/wiki/ModPE-Script-Templates
P.S. Feel free to follow me so you know when I post "awesome" content and make the MCForums a brighter place (totally).
If you need to contact me you can either shoot a Kik message to beatz_unknown or send an email to [email protected]
#1 i am shader you dumb ass this is my new mod account just for mods ask matt
#2 Even i what do you mean i'll tell matt ?
#3 Proof , now say sorry
Want GUI Templates? Done!
https://github.com/BeATz-UnKNoWN/ModPE_Scripts/wiki/ModPE-Script-Templates
P.S. Feel free to follow me so you know when I post "awesome" content and make the MCForums a brighter place (totally).
If you need to contact me you can either shoot a Kik message to beatz_unknown or send an email to [email protected]
Want GUI Templates? Done!
https://github.com/BeATz-UnKNoWN/ModPE_Scripts/wiki/ModPE-Script-Templates
P.S. Feel free to follow me so you know when I post "awesome" content and make the MCForums a brighter place (totally).
If you need to contact me you can either shoot a Kik message to beatz_unknown or send an email to [email protected]
Want GUI Templates? Done!
https://github.com/BeATz-UnKNoWN/ModPE_Scripts/wiki/ModPE-Script-Templates
P.S. Feel free to follow me so you know when I post "awesome" content and make the MCForums a brighter place (totally).
If you need to contact me you can either shoot a Kik message to beatz_unknown or send an email to [email protected]