@name Ninja
@inputs 
@outputs
@persist 
@trigger 
interval(40)
entity():setAlpha(10)
On=vec()
Off=vec(255,255,255)
owner():setColor(On)
owner():weapon():setColor(On)
runOnChat(1)
if(last()|chatClk()&owner():lastSaid()=="Ninja off"){
owner():setColor(Off)
owner():weapon():setColor(Off)
selfDestruct()
if(owner()){print("Ninja effect removed")}
}
runOnLast(1)

