Hi, I have no issues. But I need an event script that turns off the lights once every 50 seconds and the player has to turn the lights back on via the proximityprompt otherwise he will die.
Well this website is not here to make scripts for you, but i could get you on the right track:
make a while true do script that makes the pointlight value 0 and wait 50 seconds at the end...
next, create another script which detects a change in value of pointlight : GetPropertyChangedSignal()
then, use if statements to detect whether the light has been turned on or off and in the off statement create a proximity prompt that if pressed makes the pointlight value back to what you set it. and also fire a remote event that start a countdown.
If the if statement checks if it is on, stop the countdown by firing another event
May be complicated but u do want this so yeah
Hope this helped