Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to replicate the Lua API in a GUI?

Asked by
Ziffixture 6913 Moderation Voter Community Moderator
5 years ago

I'm trying to build my own Developer Console with it's own proper built-in Lua interpreter; write programs at wider range than the provided Command line.

Is there a way I can take the information from the TextBox and integrate it into a Script via a Program, or is this action currently impossible?

Is it also possible to implement the respective Keymap?

0
loadstring() ? Amiaa16 3227 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

Loadstring isn't always the best option, since it is a feature that is disabled by default. A common way (which is used by most admin commands) is using the EpicLua module. It can be used by require(117513593)([code],getfenv()) For more information on this, please read this DevForum post about the module. https://devforum.roblox.com/t/how-does-the-s-command-in-adonis-work/86502

Ad

Answer this question