ok, i have this script, and i wanna make it so you can have more than one, and im getting new at this whole npc scripting with stuff like this.wahtever and stuff, can some one help me with this, i tried it but it doesn't work
NPC Code:
// NPC made by Urónd the Paladin
if (playertouchsme) {
toweapons Bread;
this.Bcount = +1;
}
if (isweapon && Bcount<1) {
destroy;
}
if (weaponfired && this.Bcount>1) {
playerhearts+=2;
this.Breadcount = -1;
}