I am making a multiplayer game, which can be found here: project. It has the following script, before the main one. I tested this script thoroughly, but it seems like it isn't working. For some reason, despite the fact that my cloud variable should be updating every 0.2 seconds, it won't change in five seconds, on the other browser. What's going on, and how do I fix it?
when green flag clicked
set [tick_p1 v] to (☁p1)
set [tick_p2 v] to (☁p2)
wait ( 5 ) secs
if <(☁p1) = (tick_p1)> then
set [ (g) player v] to (1)
else
if <(☁p2) = (tick_p2)> then
set [ (g) player v] to (2)
else
stop [every single thing in this project v]
end
end