Hello, I need help with my server dev oomey30.
When you slash a bush no gralats appear. Here is the script.
function onCreated() {
showcharacter();
updategani();
dontblock();
}
function onUpdategani() {
updategani();
}
function updategani() {
temp.type = 1;
if (rupees>=100) temp.type = 4;
else if (rupees>=30) temp.type = 3;
else if (rupees>=5) temp.type = 2;
setcharani("gems", temp.type);
}
function onPlayerTouchsMe() {
player.rupees += rupees;
rupees = 0;
destroy();
}
I really hope someone can help out