Lua coding inside of a roblox game

Hi! I am in progress of making my own roblox game that i am planning to add a studio to. The problem is though, that i have no idea how i could make it work with scripting. I’m looking for the studio to be operating like roblox studio (like retrostudio did with theirs). I was thinking of using loadstring() to run lua code, but it seemed too risky since i want the scripts to be serversided as well. So my question is, how could I go about doing this? If you have any ideas on what I can do, please let me know! Every answer is greatly appreciated.

4 Likes

maybe use module scripts with the code as a function and then when the player wants execute the code you run the function

1 Like

I just came across this module:

Maybe it fits your use-case, you can check it out

2 Likes

From what i read, this should do the trick! Thank you so much for sharing this!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.