How do I make laser beams appear when someone's in a certain zone but get deactivated every now and then

use my guide
on and off lasers made easy
and replace the lifecycle with a zone
player enters zone > start repeater
and wire your sentry to the repeaters
sentry knocked out > stop repeater