im trying to print the current ammount of players currently playing in the game in total, i found a little script but i dont know how to fully make it work:
local body = game:GetService("HttpService"):JSONDecode(res) --res would be the response from the server
local playerCount = body.data[1].playing
print(playerCount)
also i get an error Argument 1 missing or nil at Line: 1. please help me!

1 comment
but does it get them all in the whole game? aka the people that are playing?