Is there a way to detect textbox and be like script executor, so let’s say I have textbox with
— This is inside Textbox , not a script —
local str = “Yes”
local str_1 = “No”
print(str)
print(str_1)
It will make textlabel with text from str and str_1, I give an example GUI
So in the left it’s a text box where we can write code, and I want so that we take input from textbox and output it on Output on the right
TextLabel.Text = str1..' '..str2
?
no… what i wanna do is it’s all inside a textbox, not inside script….
So i want like script runner but in-game… so player can write their own script in game with a text-box and can run it, and that code is an example inside text-box…
Look to my edited post, maybe you will understand what I’m trying to mean.
ive tied to do this ages ago, but never found a way. i think u could find luck in somehow pasting the text into a command bar of some sort
Use loadstring() to run string as code and then pull output from the dev console
1 Like
loadstring() method still works? I thought it’s not.
It still works if youve enabled it, unless its changed in the past two weeks when ive been away drom scripting