//#CLIENTSIDE function onCreated() { seteffect(0, 0, 0, 0.65); this.lightOff = true; } function onPlayerTouchsMe() { this.lightOff = !this.lightOff; temp.curEffect = (this.lightOff? {0, 0, 0, 0.65}: {0, 0, 0, 0.85}); seteffect(temp.curEffect[0], temp.curEffect[1], temp.curEffect[2], temp.curEffect[3]); }