Categories > Coding > C++ >
How do I get ScriptContext address?
Posted
I am making my own executor for Roblox, and I have trouble getting the Lua state. I have found the getGlobalState function but it requires ScriptContext as the first parameter. How do I find ScriptContext?
Replied
Shoot me a message on cord @tescomealdeal2
Cancel
Post
Replied
I also want to know about it.
Cancel
Post
Replied
To access ScriptContext in Roblox for your executor, use `game: GetService("ScriptContext")`. Once obtained, you can utilize its functions like `getGlobalState()` to retrieve the Lua state for your scripting needs. Ensure your executor has the necessary permissions to interact with these services effectively.
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post