Discuss Scratch

Heacogra
Scratcher
100+ posts

I need help

Ok so basically im trying to make a script to show how many people are playing the game at the time the player is playing the game. I tried using blocks and other stuff like that but I can figure it out. If you are able to do it please tell me. If its impossible to do please tell me. Thanks!

data loading…
loading user data…
loading user data… succesful
loading image…
image loaded…

NormallyNormal
Scratcher
24 posts

I need help

Use a global variable.
Make a script that looks like:
when green flag clicked
set [☁ people v] to [0]
forever
if <(☁ people) = [0]> then
wait (5) secs
change [☁ people v] by (1)
end
end
The delay is to make sure all active players are accounted for.

Last edited by NormallyNormal (Feb. 9, 2018 00:46:46)


I'm normal. Most of the time. I'm normally normal.
Heacogra
Scratcher
100+ posts

I need help

Thanks!

data loading…
loading user data…
loading user data… succesful
loading image…
image loaded…

Powered by DjangoBB

Standard | Mobile