How would i make a script executor, where i can run code in-game?

i would like to make a command for admins, something like /Execute so admins can exexute anything like “print(“Hello”)” or something like that. i cant find any posts on dev forum wit exact answers on this tho

Thank you!

Edit: idk what happened to half my post, but you can still read it so its ok ig

I would Recommend FiOne to execute Lua code, I don’t think that UI needs any explanation. I wouldn’t recommend implementing that into the game, mostly due to security reasons. Everyone with developer access (the only people who should have the ability to excute code) already have access to the console command bar with proper compilation and execution.