Forum > Coding >

Executing Text

Moon

Moon

vip

Posts: 6166

Threads: 262

Joined: Aug, 2020

Reputation: 78

Replied

@MyUserIsTaken

wat u hav an exploit

  • 0

Posts: 24

Threads: 4

Joined: Nov, 2020

Reputation: 0

Replied

if you could help me edit WriteProcessMemory so I could type a Lua code(or Text) in it and it will execute it in-game.

  • 0

hello

Posts: 594

Threads: 24

Joined: Sep, 2020

Reputation: 13

Replied

@Moon

yeah I do

 also I made google

  • 0

| Discord (Updated): apppon#8358 | C++ Enthusiast | 

Posts: 0

Threads: 0

Joined: ?

Reputation:

Replied

@facezero

 

Lemme try explain this in the simplest way I know with my limited cpp knowledge

 

If you don't understand what write proccess memory does go watch cpp videos. It basically changes the bytes in the memory to the memory parameters you input. By doing this you are overwriting original memory and changing it, the issue with this method is that when doing this it doesn't trigger anything. This is like changing a value like a float value from a 0 to a 1, Roblox won't see that and won't execute it. If you want Roblox to do everything it has to do for executing without knowing how Roblox executes scripts you will want to call a function, however the Roblox uses a Lua VM which means it only has an execute function for byteode, another method you could use is with the different Lua c api functions but idk much about that. Anyway go download axon and learn from it ig

  • 0

Moon

Moon

vip

Posts: 6166

Threads: 262

Joined: Aug, 2020

Reputation: 78

Replied

@55258

but u, spooder hav smoll bren

  • 0

Posts: 0

Threads: 0

Joined: ?

Reputation:

Replied

@Moon

 

D:

 

Why :C

  • 0

Posts: 24

Threads: 4

Joined: Nov, 2020

Reputation: 0

Replied

So with what can I change (WriteProcessMemory) so it will not change the value but execute the script in the game.

I connected to Roblox now I want to execute a string in the game.

1.It connects to Roblox

2.Execute a string in Roblox.

Pls help

Here is my script again:

#include <iostream>

#include <Windows.h>

 

using namespace std;

 

int main()

{

HWND hwnd = FindWindowA(NULL, "Roblox");

if (hwnd == NULL)

{

cout << "Cannot find Window: eXE" << endl;

Sleep(4000);

exit(-1);

}

else 

{

DWORD procID;

GetWindowThreadProcessId(hwnd, &procID);

HANDLE handle = OpenProcess(PROCESS_ALL_ACCESS, FALSE, procID);

 

if (procID = NULL)

{

cout << "Cannot obtain process: eXE" << endl;

Sleep(4000);

exit(-1);

}

else

{

WriteProcessMemory(or DWORD)     --How do I make a string execute to the game--

}

return 0;

}

  • 0

Added

Sorry, I still don't have a string.Thx

  • 0

Added

I'll be happy if you can help...

  • 0

hello

Posts: 23

Threads: 11

Joined: Jul, 2020

Reputation: 0

Replied

Idk - (because I wonder the same thing) maybe u can use "DWORD" to store script. 

  • 0

#SoHowslogicdoing

 

 

Posts: 24

Threads: 4

Joined: Nov, 2020

Reputation: 0

Replied

@rulfos_Rbx ur my alt why u typing...

  • 0

Added

@55258 What are Lua C functions?

  • 0

hello

Moon

Moon

vip

Posts: 6166

Threads: 262

Joined: Aug, 2020

Reputation: 78

Replied

@MyUserIsTaken

IMPOSSIBLE

  • 0

Added

@55258

u pancake bren

  • 0

Posts: 0

Threads: 0

Joined: ?

Reputation:

Replied

@facezero functions from roblox lua c like 

 

getglobal (index) "game"

getfield -1 "workspace"

 

just go look for axon source

 

there is also the lua c api which has its own functions

https://www.lua.org/pil/24.html

  • 0

Prev Next >>>

Users viewing this thread:

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