Hi! I want to achieve this cool live player counter on a textlabel in a UI. But i don’t know how i would get the amount of players playing in a different Place/Experience. Here’s how the script kinda looks like now:
local Place_ID = 11356217115
local Live_Players = ?
local Player_Counter = Gamemodes_Frame.Normal.Players_Online
Player_Counter.Text = Live_Players .. " PLAYING"
I will add an additional loop to make it update each 30 seconds later, but does anyone know how i would kinda get this to work? And maybe without having to use API’s?
local proxyReturn = json -- here is where you use your proxy to get the api
local http = game:GetService("HttpService")
local count = http:JSONDecode(proxyReturn)["data"][1]["playing"]
print(count)