I would like to make a typer working like the Windows 10 command prompt, it should show the most recent message on top and the least recent on the bottom, it should also delete messages going of screen
The Order doesn’t work because of the automatic sorting of children from roblox! i also have no idea how you would delete the latest message
local commands = 0
script.Parent.FocusLost:connect(
function(enterPressed)
if enterPressed then
local pos = 0
for i, v in pairs(script.Parent.Parent.OutPut:GetChildren()) do
v:TweenPosition(UDim2.new(0, 0,0, pos + 35), 'Out', 'Bounce', '.1')
pos = pos + 35
end
commands = commands + 1
print(script.Parent.Text)
local temp = script.Template:Clone()
temp.Name = "Command_1"
temp.Input.Text = script.Parent.Text
script.Parent.Text = ""
temp.Parent = script.Parent.Parent.OutPut
end
end
)