I noticed in a lot of Exploits on Roblox, they tend to use a loadstring(), which im confused on how it works, and a function of game thats cald HttpGet()
, I noticed this wasn’t even documented in the API, so what is this?
It just loads up the txt file and runs it.
Most of them just lead to a githubrawcontent page.
So if I was to send a string like local string = game.Workspace.Gravity = 100
and said loadstring(string)
, then It will do exactly that?
Why’s that?
And do people use this as a simple gateway of code? And how do they get to the github page?
Yes, most people don’t want to copy and paste a 4000 line obfuscated txt file.
Yes, your code is a bit weird though, it should be like this:
local string = "game.Workspace.Gravity = 100"
loadstring(string)
Most exploit developers just paste the code to exectute in their description. To access the github raw content page, just go to the github page, and then press raw.
Yes, here’s an example script for a pretty old admin hub called Infinite Yield:
loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))()
So would they then copy and paste that into the string and then use loadstring?
And is it possible for them to use HttpGet() to get the github page?
And do you know why this isn’t documented on the Roblox Api or new Roblox Api?
Is there a Method to call functions in a load string or…
I believe it’s deprecated.
Thats interesting. Why would they deprecate it, is it old?
Yes, :GetAsync is now used in favour of it. The documentation page for it was also deleted.