Advertisement
Guest User

gay

a guest
Mar 20th, 2019
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.62 KB | None | 0 0
  1.     void Execute_Script(std::string Script) {
  2.         Script = "spawn(function() script = Instance.new('LocalScript')\r\n" + Script + "\r\nend)";
  3.  
  4.         if(Script.find(".Name = \"Dex\"") == std::string::npos){
  5.             Script = ReplaceAll(Script, "game:GetObjects", "GetObjects");
  6.             Script = ReplaceAll(Script, "game:HttpGet", "HttpGet");
  7.         }
  8.         else {
  9.             cout << iblue << "[AtomWrapper] Executing Dex" << endl;
  10.         }
  11.  
  12.  
  13.  
  14.  
  15.         if (luaL_loadstring(LS, Script.c_str())) {
  16.             return;
  17.         }
  18.         else {
  19.             lua_pcall(LS, 0, 0, 0);
  20.         }
  21.  
  22.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement