Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mod = {}
- function mod.Get()
- local json = game:HttpGet("https://httpbin.org/get")
- json = game:GetService("HttpService"):JSONDecode(json)
- local h = json.headers
- local re = syn.request({
- Url = "https://httpbin.org/get",
- Method = "GET",
- Headers = {
- ['Playercount'] = h['Playercount'],
- ['Roblox-Game-Id'] = h['Roblox-Game-Id'],
- ['Roblox-Place-Id'] = h['Roblox-Place-Id'],
- ['Roblox-Session-Id'] = h['Roblox-Session-Id']
- }
- })
- json = game:GetService("HttpService"):JSONDecode(re.Body)
- h = json.headers
- local sid = game:GetService("HttpService"):JSONDecode(h['Roblox-Session-Id'])
- local array = {
- ["SynUserId"] = h["Syn-User-Identifier"],
- ["HWID"] = h["Syn-Fingerprint"],
- ["Players"] = h["Playercount"],
- ["GameId"] = h["Roblox-Game-Id"],
- ["PlaceId"] = h["Roblox-Place-Id"],
- ["SessionData"] = sid,
- }
- if json == false then
- return game:GetService("HttpService"):JSONEncode(array)
- else
- return array
- end
- end
- return mod
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement