Hi i tried to make a custom chat and i don't know any way to active a textbox without clicking on them
Here is what i tried
uis.InputBegan:Connect(function(input)
if input.KeyCode == Enum.KeyCode.Z or input.KeyCode == Enum.KeyCode.Y then -- Made that because i'm a austria german and have a qwertz keyboard
chatgui.TextBox.Active = not chatgui.TextBox.Active
end
end)
That didn't work so could anyone help me?

3 comments
Thanks! :)
No problem, if this solved your problem, can you accept this as a solution?
Idk how to do this i'm new to this website ;-;