ack sry I didnt reply earlier. I scriped that NPC in school and no I didnt copy. I made that on my own. And heres one I also made on my own
NPC Code:
//#CLIENTSIDE
if(playerenters) {
setimg light2.png;
drawaslight;
dontblock;
setcoloreffect 1,1,1,0.99;
this.initial=.5;
this.additive=0.1;
timeout=0.1;
}
if(timeout) {
setzoomeffect this.initial;
if(this.initial==1.5)
this.additive=-0.1;
if(this.initial==0.5)
this.additive=0.1;
this.initial=this.initial+this.additive;
timeout=0.1;
}
its a lil more complex cause I have time to play around with it at home.