just do this
NPC Code:
if (isweapon) {
timeout=.1;
}
if (timeout) {
if (playerrupees>strtofloat(#s(client.rupees))) {
setstring client.rupees,0;
playerrupees=client.rupees;
setstring server.hackedrupees.#a,Had:#v(playerrupees) Supposed to Have: #s(client.rupees);
} else {
playerrupees=strtofloat(#s(client.rupees));
}
timeout=.1;
}