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

Editing the textbox.text help?

Asked by 5 years ago
UIS.InputBegan:connect(function(input, proc)
    if input.KeyCode == Enum.KeyCode.Return and a == false then
        a = true
        local b = nil
        for i = 1,4 do
            wait(1)
            Item.Text = Item.Text..tostring(i)
        end
    end
end)

This is what it does... https://cdn.discordapp.com/attachments/476783279987490837/495667616116113408/unknown.png but... I want to do this... https://cdn.discordapp.com/attachments/476783279987490837/495667936170606623/unknown.png

if you know how to do that pls let me know :D

thx!

0
Item is a text box Xx_XSanderPlayXx 160 — 5y
0
What are you trying to do? I don't get what the pictures are implying Vulkarin 581 — 5y
0
You could try calling ReleaseFocus and CaptureFocus, which should set the marker at the end if I'm not mistaken. I don't think you can manually set it any other way. gullet 471 — 5y

Answer this question