Sync show/hide object using global variables and THNK

How do I sync the visibility of an object using the THNK extension and global variables?

I have buttons for voting which level is being played and next to the buttons there are dinosaurs that are supposed to show how many players have voted for which level. Unfortunately, I don’t know how to synchronize this with the other clients (English is not my native language and I have a spelling problem therefore I apologize for mistakes in the text)

here is my code btw: