Forum > Coding >

How to execute Lua in a Gui?

Posts: 14

Threads: 11

Joined: Sep, 2018

Reputation: 0

Posted

I'm making a Gui on roblox and I want to know how to make a Lua executor from the gui

I tried using this to run whatever was in the box.

script.Parent.MouseButton1Click:Connect(function()

TextBox.Text

end)


The reason I put textbox.text is because when you turn it into lua the textbox text becomes TextBox.Text

But that code is invalid.

Is there any other way?

  • 0

Posts: 369

Threads: 61

Joined: Apr, 2018

Reputation: 0

Replied

you can other wise use your own c++ but you can use loadstring in most exploits: https://github.com/customality/hexus search for loadstring
  • 0

Added

cant with the WeAreDevs API*
  • 0

Posts: 89

Threads: 5

Joined: Apr, 2018

Reputation: 12

Replied

<p>as simple as&nbsp;<em>loadstring(</em><span style="font-family: 'Open Sans', sans-serif; font-size: medium;">TextBox.Text</span><em>)</em></p>
  • 0

Added

<p>The thing messed up i meant "loadstring(<span style="font-family: 'Open Sans', sans-serif; font-size: medium;">TextBox.Text</span>)"</p>
  • 0

Added

<p>wth is wrong with this thing</p>
  • 0

undefined

Posts: 7

Threads: 0

Joined: May, 2018

Reputation: 0

Replied

loadstring(TextBox.Text)()

  • 0

Posts: 2

Threads: 0

Joined: Jan, 2019

Reputation: 0

Replied

wyatt, use the roblox plugin for roblox studio "gui to lua"

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )