If I already set up the script (this is for a database)
function GS.getPrimary(name)
local proxy = "http://rproxy.pw"
local url = proxy.."Groups/GetPrimaryGroupInfo.ashx?users="
local request = url..name
local result = GS.getContent(hs:GetAsync(request, true))
return result
end
how can I link it to the player? I have something like this...
self.primary = gs.getPrimary(name)
The above code follows this format (for an example)
function GS.getImage(name)
local proxy = "http://rproxy.pw"
return "http://www.roblox.com/Thumbs/Avatar.ashx?username="..name
end
self.link = gs.getImage(name)
Thanks in advance!
