Thanks to ChatGPT from OpenAI I was able to create a basic outline of a script that when enabled goes through every light in a unity game and adjusts their flicker rate to avoid risks of epilepsy. Will need modification but it's a start