Just google whatever issue your having and if you cant find a solution anywhere then make a topic on it and repeat this until everything is complete. This is my usual workflow.
So, when you mean “just like the Windows cmd prompt”, do you mean:
- you want a terminal emulator in Roblox, interpreting streams of text, or
- you just want something that looks a bit like a terminal emulator
The latter case is really easy. It’s just a load of text in a row.
To handle inputs, I would have the user focus an off-screen TextBox (TextBox.CaptureFocus docs), then listen to the text changed event on that TextBox to get the user’s input.
automatic size is y
chair limit 30
Well you could either do the TextLabel cloning method the others are talking about or just use one textbox and get the last line using string.split()
Your text box must have the Multiline property set to true and ClearTextOnFocus set to false
Here is an example with text inside the textbox:
kill John
kick John Bypassing and harassing.
teleport me Jane ← command we are focusing on (last line)
local Split = string.split(TextBox.Text, '\n')
local FocusedLine = Split[#Split]
print(FocusedLine)
And then the output will be:
teleport me Jane
But I’d also suggest to use the TextLabel method since it supports RichText