The Meaning of Life, the Universe, and Everything.
Join Date:
4/7/2016
Posts:
48
Member Details
var CustomBlock= block id ;
function modTick()
{
if(Player.getCarriedItem==278&&Player.getPointedBlockId()==CustomBlock){
Block.setDestroyTime(CustomBlock, time )
}
}
Like the title says. I've tried function modTick() but it doesnt work with that
var CustomBlock= block id ;
function modTick()
{
if(Player.getCarriedItem==278&&Player.getPointedBlockId()==CustomBlock){
Block.setDestroyTime(CustomBlock, time )
}
}
//278 is the diamond pick
You can reduce the time to break the block using:
Block.setDestroyTime(Block, time )
Hi....