Categories > Coding > C++ >
Executing Text
Posted
Can you help me edit my script so I can SEND(execute) a string in the game? Pls, help thx.
My script: ( i forgot to put the string in the script ignore that... )
#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
{
cout << "Executing string to: eXE" << endl;
(WriteProcessMemory()???)
}
return 0;
}
}
WriteProcessMemory() --WriteProcessMemory is for changing the value of address...what is the command of sending code(string) at a certain point(DWORD, BYTE, ...???)-(game, app, exe).--
I'll be happy if you could help me out here thank you...
hello
Replied
What do you mean execute text. Like a print script or a literal gui?
Cancel
Post
Replied
I mean by executing the text or should I say Lua script and script that I wanna make is that it executes the text or Lua script in the Roblox game.
Cancel
Post
hello
Replied
I create a script that when I type (print ("hello")) it executes the script in the game
Cancel
Post
hello
Replied
I create a normal hack in c++ that first connects to Roblox...
then I wanna make a script that executes the text or Lua script in the game...
(i execute the text from textbox to the game)
Cancel
Post
hello
Replied
#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() --how can I make so when I type a text or Lua script it executes it in the game(How to make string execute to the game..)--
}
return 0;
}
Cancel
Post
hello
| Discord (Updated): apppon#8358 | C++ Enthusiast |Â
hello
Replied
cuz if roblox exploiting was that ez I would of made an exploit with no knowledgeof cpp
Cancel
Post
| Discord (Updated): apppon#8358 | C++ Enthusiast |Â
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post