Categories > Coding > C++ >

[Q] Does SPAWN still work, and how to use it?

heckerdude

heckerdude

Posts: 129

Threads: 16

Joined: Aug, 2022

Reputation: 6

Posted

Spawn, or r_lua_spawn is the thing that can be found with string:

"Spawn function requires 1 argument".

 

I tried to go here but its no longer a function? I cant view the pseuducode.

 

IS IT STILL USEABLE? IS IT AN ALTERNATIVE FUNCTION TO TASK.DEFER.?

  • 0

Added

@53326Hooking the task scheduler..so you mean the address? or the thing that scans lua state

  • 0

hecker dude ngl i hecked 5 ips in 1 second also luaU_loadbiglongjuicythingy(rL);

Posts: 0

Threads: 0

Joined: ?

Reputation:

Replied

Instead of using "spawn", I'd recommend you to use ScriptContext::resume. ScriptContext::resume is what Roblox uses to run their code, for example when you execute a script on Roblox Studio on the command bar, it is ran through ScriptContext::resume.

 

To use ScriptContext::resume, you need the following:
- lua_ref
- lua_settop

and ScriptContext::resume's address which can be found when you search for the string: $Script

The function that has that string inside is the ScriptContext::resume.

 

I will release a tutorial on ScriptContext::resume soon.

  • 1

heckerdude

heckerdude

Posts: 129

Threads: 16

Joined: Aug, 2022

Reputation: 6

Replied

@59576 Is that a whole different execution method? So once I got lua state, ::resume and boom it works? No luavm or other sh*** needed?

  • 0

hecker dude ngl i hecked 5 ips in 1 second also luaU_loadbiglongjuicythingy(rL);

Users viewing this thread:

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