Hi! I apologize if I'm missing something super simple because I'm pretty new to Roblox scripting.
So I've been working on a button where everyone needs to work together to get a certain number of clicks on this button to progress. Basically, if one person clicks it adds 1 to the total value of clicks.
But how would I make this variable? I've been searching for some sort of variable type that can handle all the clicks from everyone. I tried using an IntValue but that didn't seem to work. When I tested the game with my friend, the text that said the number of clicks was different on both of our screens. When I'd click it would add 1 to the value on my screen, but on his screen, it would say 0 still.
Could you please help me? Also, this isn't a request, I would just like someone to inform me of how I would achieve this. Thanks! :)

3 comments
Thanks! I will try using remote events.
No problem, :D
Quick update, it all works. THANK YOU SO MUCH!