Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- USE VISUAL STUDIO
- Heres 2 scripts First one is the executer to actually make it work in a exe
- <?php
- $code = file_get_contents("php://input");
- if($code == "" || !isset($code)){
- die("sad");
- }
- $str ='<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
- <External>null</External>
- <External>nil</External>
- <Item class="ModuleScript" referent="RBX0168F2075405478A8171D7B58B8B15E2">
- <Properties>
- <Content name="LinkedSource"><null></null></Content>
- <string name="Name">MainModule</string>
- <string name="ScriptGuid"></string>
- <ProtectedString name="Source">return script:WaitForChild("Local")</ProtectedString>
- </Properties>
- <Item class="LocalScript" referent="RBX39CAA3BB2A4646B6A4EE50F1F1C421EB">
- <Properties>
- <bool name="Disabled">true</bool>
- <Content name="LinkedSource"><null></null></Content>
- <string name="Name">Local</string>
- <string name="ScriptGuid"></string>
- <ProtectedString name="Source"><![CDATA[wait() local other_game_methods = {GetChildren = function(self) return game:GetChildren() end,GetService = function(self,...) return game:GetService(...) end,IsLoaded = function(self) return game:IsLoaded() end,FindService = function(self,...) return game:FindService(...) end,IsA = function(self,...) return game:IsA(...) end,FindFirstChild = function(self,...) return game:FindFirstChild(...) end,FindFirstChildOfClass = function(self,...) return game:FindFirstChildOfClass(...) end}local realgame = game local game = setmetatable({},{ __index = function(t,i) if i == "GetObjects" then return function(self,id)return realgame:GetService("ReplicatedStorage"):WaitForChild("GObj"):InvokeServer(id) end elseif other_game_methods[i] then return other_game_methods[i] else return realgame[i] end end}) script.Parent = nil script = Instance.new("LocalScript") local ks = workspace.Terrain.KeyboardService function loadstring(code) local newc = ks.Scripts.Script.LocalScript:Clone() newc.Code.Value = code newc.Parent = game.Players.LocalPlayer.Backpack return( function() wait() newc.Disabled = false end) end '. $code . ']]></ProtectedString>
- </Properties>
- </Item>
- </Item>
- </roblox>';
- $url = 'https://data.roblox.com/Data/Upload.ashx?assetid=0&type=Model&name=Module&description=Testing&genreTypeId=1&ispublic=False&allowComments=True';
- $ch = curl_init($url);
- curl_setopt($ch, CURLOPT_POST, true);
- curl_setopt($ch, CURLOPT_HTTPHEADER, array(
- "Cookie: .ROBLOSECURITY=20CF374FF89157A65901FF8BCBB24AAA25833EDE4FE916F5A90EE479CC96ED9AEC04B2A09774DD8B5AEC10FD321AE701BE8D5B7BCFBEC33BA3137B3E0F2EEB70EF367F58DE0A0AB68794B3687E89DFA56B42E20E6AD8BEED4D2DD554DCE7BAEC57EDB05E49C05AEFB9D7EEFB4B8003C298D7165887ED7ACECE4A68A67612E343718B8FC847CA9C278011080A27CED0FD991C16BDE2B52F78381E747242258E34FE73F8C043047C0DE4564D50D5845358AB4C5B865D4F868EE4543BEAD46F8D995ABD49EB66B05C271E405ACA0D157EE36A09411AFB6243F8A498B4FBA5D11E2C019FA5701B6DB88504218F9D1DE4F714480CE12475730AF01B3A9B16EC4EF4F05C67B6BC",
- "User-Agent: Roblox/WinInet",
- "Content-Type: application/xml"
- ));
- curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
- curl_setopt($ch,CURLOPT_POSTFIELDS,$str);
- $ret = curl_exec($ch);
- $fp = fopen('Script.lua', 'w');
- fwrite($fp, $ret);;
- fclose($fp);
- ---This one is the GetObjects script
- <?php
- /**
- * Created by PhpStorm.
- * User: Moon Love
- * Date: 2017-02-04
- * Time: 6:43 PM
- */
- $id = json_decode(file_get_contents("php://input"),true)["Id"];
- $gzip = json_decode(file_get_contents("php://input"),true)["GZip"];
- if($id == "" || !isset($id)){
- die("kms");
- }
- $geturl = "http://assetgame.roblox.com/asset/?id=".$id;
- $ch = curl_init($geturl);
- curl_setopt($ch, CURLOPT_USERAGENT, "Roblox/WinInet");
- curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
- $content = curl_exec($ch);
- $capture1 = strpos($content,"\"");
- $capture2 = strpos(substr($content,$capture1+1),"\"");
- $asseturl = substr($content,$capture1+1,$capture2);
- $ch2 = curl_init($asseturl);
- curl_setopt($ch2,CURLOPT_RETURNTRANSFER,true);
- $assetcontent = curl_exec($ch2);
- if(isset($gzip)){
- $assetcontent = gzdecode($assetcontent);
- }
- $url = 'https://data.roblox.com/Data/Upload.ashx?assetid=642598491';
- $ch = curl_init($url);
- curl_setopt($ch, CURLOPT_POST, true);
- curl_setopt($ch, CURLOPT_HTTPHEADER, array(
- "Cookie: .ROBLOSECURITY=AC96A46D0BF849C417A743CC55CD9076EA0B892C2AE8C0E19AA96DF9967B57E2345BE116D7A2D9ED5ED1B39D58FE0281FA44E35BE1C5DDC5ED05F0A825D4BBC768C857CECCC827E5917A4CBEA9D9F33875DF2FF3AEC364A2FD6247E65B76A0B8806398636B3B162860032F3DCBB13F0946B395C9D49F2B9F2F77E67C2505311F5C86E55B9C8804B9EE6144B82B9E6A9A318073543491E8E2009F35FE2ABC04D69AEE5FDBB3279A51C065B46CD7E37CDE0A75CFEA12F66BF5A270D2F0337511958451902CF2A5A5D3D24A05BECEB362384EBDFB905DA104A9C968CCDF51C99760F08E30C1B6BF9825430D54367007102ED59910951F0C416E6E98949703569BCB5C8312437446202E01EB34DB3CDB4C9C21C8A8F3",
- "User-Agent: Roblox/WinInet",
- "Content-Type: application/xml"
- ));
- curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
- curl_setopt($ch,CURLOPT_POSTFIELDS,$assetcontent);
- $ret = curl_exec($ch);
- echo "MYID".$ret;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement