VINDICTA.TOP
Actors · Function Unregistered
Bunni.fun
ChocoSploit
Cryptic
Potassium
Seliware
SirHurt
Solara
Velocity
Volcano
Volt
Wave
Xeno

run_on_thread

Runs code on a specific actor thread.

Unregistered
This function is not registered within sUNC, your executor may/may not have this.
function run_on_thread(actor_threadactor_threadthreadThe actor thread to execute code on.: thread, scriptscriptstringThe Luau source code to execute.: string, channel_datachannel_dataany?Data passed as ... to the script. Cannot be tables or functions.?: any): ()

Usage

Run on first thread
run_on_thread(getactorthreads()[1], "print('Hello World!')")