nord vpnnord vpn
Ad

Script para Npc Hada

mail@pastecode.io avatar
unknown
javascript
a year ago
539 B
17
Indexable
Never
hada();
function hada() {
    var posX = npc.getX();
    var posY = npc.getY();
    var posZ = npc.getZ();

    var newPosX = Math.random() * 50 - 5 + posX;
    var newPosZ = Math.random() * 50 - 5 + posZ;

    npc.executeCommand("dialog send hada Hada " + player.getName());
    npc.executeCommand("give 4145 " + player.getName());
    npc.executeCommand("playsound jinryuudragonbc:DBC3.teleport " + player.getName()); 
    npc.setPosition(newPosX, posY, newPosZ);
    npc.setHome(newPosX, posY, newPosZ);
    npc.kill();
}

nord vpnnord vpn
Ad