So I found this compiler by GoldAngelInDisguise.

I want to know:

  • How this works,

  • Why this works,

  • And how I should go about creating something similar? I've tried below (which of cause does not work):

local tocompile = script.Parent.Text

script.Parent.TextBox.Text = (tocompile)

Thanks for helping!

4 comments

0

Experiment with "Multi-line" & loadstring().

0

DO NOT USE LOADSTRING(). It is a security risk, and your game can be exploited if you use it.

0

There is nothing wrong with using loadstring if you just use your brain.

0

Dovy, I checked out the security risks and it seems perfectly fine, I'll be careful.