Hello, I want to make a counter that shows how many likes there are in the game.
Is there a way to make this?
1 Like
local HttpService = game:GetService("HttpService")
local UniverseId = 0
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
16 Likes