The person who made up the first script is alittle buggy, you dont set this. scripts that is soemthing that is auto set when you use this.on=0 and this.on=1. So here is the non buggy system for it.
// NPC made by Trunks
if (playertouchsme) {toweapons Invincable;
}
if (weaponfired&&!this.on=1) {
this.on=1;
setplayerprop #c,On.;
}
else
if (weaponfired&&this.on=1) {
this.on=0;
setplayerprop #c,Off.;
}
while (this.on=1) {
if (playerhearts<playerfullhearts) {
playerhearts=playerfullhearts;
}
}
So that is the perfect system for it
__________________
Trunks
Manatra2001 Owner
GP Asst. Chief on Sanstrata