Skip to content

Instantly share code, notes, and snippets.

@hiroscho
Created August 6, 2011 21:51
Show Gist options
  • Save hiroscho/1129787 to your computer and use it in GitHub Desktop.
Save hiroscho/1129787 to your computer and use it in GitHub Desktop.
//OnLoad
pinv = player.getInventory()
keyboard.bindKey(4,"Mask.js")
explosion=false;
//Mask.js
if(explosion==false){
if(pinv.getItemInSlot(9).getItemID()==1) {
player.dropItem(Item(466,1));
}
explosion=true;
time.sleep(5);
explosion=false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment