With this I mean that when writing a letter, make as if you had pressed enter, so you stop using the textbox when writing a letter in the textbox, this to avoid bugs
local keyText = ""
local KeyMenu = script.Parent.MenuKey
KeyMenu:GetPropertyChangedSignal("Text"):Connect(function()
local text = KeyMenu.Text:upper()
KeyMenu.Text = text:sub(1, 1)
keyText = text
local MenuKey = game.Players.LocalPlayer:WaitForChild("Keys"):WaitForChild("MenuKey")
MenuKey.Value = keyText:sub(1, 1)
end)
well, I mean that when I write a letter, it will not automatically let me write another letter, and when I click on the text box, I can change the letter again
do you mean so when someone types some text and press enter then it makes it so they cant edit it any more? just detect when a player presses enter and set TextEditable to false
Well, I don’t speak English, I speak Spanish and I have a hard time writing in English, well what I want is that when I write a letter I stop writing and have to click on the text box again to write.