Hello All!
I am trying to make a realtime like counter but I can’t seem to get roproxy to work. When ran in game, the output is blank.
Here is what I am using:
local HttpService = game:GetService("HttpService")
local UniverseId = 4503373201
task.wait(2)
print(2)
local response = HttpService:RequestAsync({
Url = "https://games.roproxy.com/v1/games/votes?universeIds="..UniverseId,
Method = "GET"
})
if response.Success then
local votes = HttpService:JSONDecode(response.Body)
print("upVotes:", votes.data[1].upVotes)
end