Does anyone know any ways that I could use to check the current price of a gamepass?
Anything that does not use Marketplace service, because that is inaccurate a lot of the time
Does anyone know any ways that I could use to check the current price of a gamepass?
Anything that does not use Marketplace service, because that is inaccurate a lot of the time
You could use roblox enpoints
function getGamepass(id: number)
local gamepass_id = id
local endpoint = "https://apis.roblox.com/game-passes/v1/game-passes/"..gamepass_id.."/product-info"
local HttpService = game:GetService("HttpService")
local body = HttpService:GetAsync(endpoint)
return body
end
local gpPrice = getGamepass(139556739).PriceInRobux
json return:
hope this helps!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.