Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Text goes from bottom to top instead of top to bottom?

Asked by
3F1VE 257 Moderation Voter
3 years ago

I made a script that types a string per input. It works just fine just not as intended. Heres the code (snatch if you want)

local char = require(script.Code).data
local last = 0
game:GetService("UserInputService").InputBegan:Connect(function()
    last -= 1
    for i = -1,char:len(),5 do
        local code = ""
        code = code .. char:sub(last)
        script.Parent.Text = code
    end
end)
0
Basically it reads the text from bottom to top instead of top to bottom 3F1VE 257 — 3y

Answer this question