Script/Module script not working correctly(i think)

I posted in Help and Feedback because i honestly don’t know if this is really a bug or i’m just being stupid.
I have 8 monitors which have handler scripts inside, and a module script with is a child of the handler script.
image
What i would like to achieve:
each monitor has a surfacegui which has a frame i want to make visible whenever the “Error” boolvalue changes to true. However when i change the boolvalue in the first monitor, the “Error” frame becomes visible in a different monitor(which doesn’t make sense to me at all).
This is what the handler script looks like:


This is what the modulescript looks like:

(the rest of the code in module script is just value setup, that doesn’t have to do anything with this)
The scripts are the exact same in every monitor.
This also happens in-game not just in studio, i can record it if someone needs the footage.

The second variable called “module” must have another name

Try setting the Adornee’s of each surface GUI, to ensure that the GUI is actually on the correct monitor.

I actually didn’t realize i had the same variable name twice in the module script(i guess i’m not really a morning person), thank you.

1 Like

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