if you put a print string just beyond the flip flop does it print anything? Also i just tested both the set hidden and set intensity methods in 4.17 and they both work so its not the script the issue lies elsewhere such as your character not receiving input.
