- You aren’t decoding the response which was fetched from the proxy.
You are doing response.data
, which would be nil
as data is a property of the decoded json.
if (response) then
--// Decode the JSON from the response
data = HttpService:JSONDecode(response);
else
print("Couldn't fetch player data.")
end;
^^ this code was already there in my reply, I have no clue as to why you didn’t use it