Forum > Scripts >

Help me plz how do i add status:injected and status:notinjected ?

Posts: 4

Threads: 3

Joined: Feb, 2022

Reputation: 0

Posted

Hey i need help I have almost finished my exploit but I would like to put one last thing an injection status like Status:injected in green and Status:Not Injected in red for WeAreDev and i try some code with bool but nothing works if someone could help me that would be cool

  • 0

Orbx

none

Posts: 27

Threads: 1

Joined: Feb, 2022

Reputation: 1

Replied

can you provide more context?

but uh if u want to check if api is attached or not check out isAPIAttached() methods

https://wearedevs.net/d/Exploit%20API

 

  • 0

Posts: 1658

Threads: 10

Joined: Sep, 2020

Reputation: 59

Replied

Use a timer lol

  • 0

Discord : Doctor Doom#0550

Posts: 4

Threads: 3

Joined: Feb, 2022

Reputation: 0

Replied

I tried with this but it didn't work

 

 

 

  1. bool yes = isAPIattached;
  2. if(yes == true)
  3. {
  4. API.SendCommand("print Exploit Attached");
  5.   labelname.Text = "Status:Attached";
  6.   labelname.ForeColor = Color.LimeGreen;
  7. }
  8. else
  9. {
  10.   labelname.Text = "Status:Not Attached";
  11.   labelname.ForeColor = Color.Red;
  12. }

 

and i tried with that

 

bool yes = isAPIattached;

            if (Process.GetProcessesByName("RobloxPlayerBeta").Length == 1)

            {

                API.SendCommand("print Exploit Attached");

                label13.Text = "Status:Attached";

                label13.ForeColor = Color.Lime;

            }

            else if (Process.GetProcessesByName("RobloxPlayerBeta").Length == 0)

            {

 

                label13.Text = "Status:Not Attached";

                label13.ForeColor = Color.Red;

 

            }

 

 

 

  • 0

Orbx

none

Posts: 27

Threads: 1

Joined: Feb, 2022

Reputation: 1

Replied

@Azrodfr02 

//Use this if u want just changing the text
label13.Text = API.IsAPIAttached() ? "Attached" : "Not Attached";

if (API.IsAPIAttached())
{
    Label13.Text = "Attached";

    //Do Smth Or WhatEver
}
else 
{
    Label13.Text = "Not Attached";

    //Do Smth Or WhatEver
}
  • 0

Cremi

Cremi

Posts: 3

Threads: 0

Joined: Jan, 2022

Reputation: 0

Replied

With easy code you can:
using WeAreDevs_API;

ExploitAPI api = new ExploitAPI();

 

public Main

{

      timer1.Enabled = true;

}

private void CheckInject()
{
      if(api.isAPIAttached())
      {
            label1.Text = "Injected!"
      }

      else

      {

            label1.Text = "No injected!"
      }
}

 

private void timer1(object sender, EventArgs e)
{

      CheckInject();

}

 

You can use this. But, it's your choose.

You can added Button functions. Change "label1.Text" to "Button1.Text" and worked! 

 

  • 1

.NET, Lua

SeizureSalad

i love femboys

Posts: 1012

Threads: 73

Joined: Mar, 2021

Reputation: 37

Replied

@Cremi bro "then" isn't a valid operator in c# lol

  • 0

"Questionable intellegence, but I like the mystery" - CubeFaces

https://cdn.discordapp.com/attachments/1136067487847415848/1138948596679589898/sig.png

Cremi

Cremi

Posts: 3

Threads: 0

Joined: Jan, 2022

Reputation: 0

Replied

@SeizureSalad's

Sorry bruh. I know. I'm stupe :D

 

  • 0

.NET, Lua

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )