Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Paste this in execute button
- if (fastColoredTextBox1.Text.Contains("loadstring(game:HttpGet(("))
- {
- string text = fastColoredTextBox1.Text;
- int num = text.IndexOf("('") + 2;
- int length = text.IndexOf("')") - num;
- WebRequest webRequest = WebRequest.Create(text.Substring(num, length));
- webRequest.Credentials = CredentialCache.DefaultCredentials;
- HttpWebResponse httpWebResponse = (HttpWebResponse)webRequest.GetResponse();
- Console.WriteLine(httpWebResponse.StatusDescription);
- string loadstring = new StreamReader(httpWebResponse.GetResponseStream()).ReadToEnd();
- api.SendLuaScript("loadstring");
- }
- else
- {
- api.SendLuaScript(this.fastColoredTextBox1.Text);
- }
- if (fastColoredTextBox1.Text.Contains("loadstring(game:GetObjects(("))
- {
- string text = fastColoredTextBox1.Text;
- int num = text.IndexOf("('") + 2;
- int length = text.IndexOf("')") - num;
- WebRequest webRequest = WebRequest.Create(text.Substring(num, length));
- webRequest.Credentials = CredentialCache.DefaultCredentials;
- HttpWebResponse httpWebResponse = (HttpWebResponse)webRequest.GetResponse();
- Console.WriteLine(httpWebResponse.StatusDescription);
- string str3 = new StreamReader(httpWebResponse.GetResponseStream()).ReadToEnd();
- api.SendLuaScript("str3");
- }
- if (fastColoredTextBox1.Text.Contains("game:GetObjects(("))
- {
- string text = fastColoredTextBox1.Text;
- int num = text.IndexOf("('") + 2;
- int length = text.IndexOf("')") - num;
- WebRequest webRequest = WebRequest.Create(text.Substring(num, length));
- webRequest.Credentials = CredentialCache.DefaultCredentials;
- HttpWebResponse httpWebResponse = (HttpWebResponse)webRequest.GetResponse();
- Console.WriteLine(httpWebResponse.StatusDescription);
- string urmomgei = new StreamReader(httpWebResponse.GetResponseStream()).ReadToEnd();
- api.SendLuaScript("urmomgei");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement