How do i fix my thunderstorm/lightning script (i need it to activate when its raining)

idk why but my thunderbolt script just wont work, i need it to activate when it starts raining, im a beginner at scripting so plz dont laugh at scripting skills, anyways here is video:

pause to read
btw i can activate the thunderbolt script by changing the values but it wont work if i change the values using a script/local script
and i made the rain script by using the rain plugin and also made the snow using rain plugin but i changed the texture to snow and made it activate at specific times, for the lighting script i used this
https://devforum.roblox.com/t/weather-system-open-sourced/116165
im trying to make a weather cycle system
edit: i just noticed he made the forum private i think so instead here is the game link that he made:

1 Like

i found out that the values dont change when i use a local script
edit: i even tried to use a script that didnt work either

i arleady solved this, i used events

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.