Okay, I was trying a script to make a ton of money anywhere, and this is what I came up with:
NPC Code:
if (playerenters) timeout = 0.05;
if (timeout) {
if (mousedown) lay2 goldrupee,mousex,mousey;
timeout = 0.05;
}
But for some reason, it doesn't work. It's pretty obvious what I'm trying to acheive. Can anyone shed some light?