I am attempting to make a universe where the hub you can buy games and get some for free, but that's not the problem. The "Wallet GUI" is not operational. My script will be below. It is printing: Error in the GUI.
local Read = LoadLibrary("RbxUtility").DecodeJSON;
local Frame = script.Parent.Frame
local TicketsLabel, RobuxLabel = Frame.Tickets.Amount, Frame.Robux.Amount;
while true do
local success, currency = ypcall(function() return game:HttpGet("https://api.roblox.com/my/balance", true) end);
if success then
local currency = Read(currency);
TicketsLabel.Text = tostring(currency.tickets);
RobuxLabel.Text = tostring(currency.robux);
else
TicketsLabel.Text = "Error";
RobuxLabel.Text = "Error";
end
wait(5)
end

2 comments
When I tried to it said Cannot Parse JSON
Try using some string manipulation