Need help with custom chat

Hi, I am making chat system, but i got these 2 issues

  1. when typing to chat, i am also controling the game remote events, so how can i do it, that when i am focused on any text box, it will not fire (ik, how can i chect this specific box, but i will like to make it globaly to prevent bugs)
  1. how to make, that the text will not go out of it, but when the text is bigger, than the box, it will only show the part, where i am typing

You could try using .TextBoxFocused, or :GetFocusedTextBox, and for the second one you can try using the TextBox’s TextWrapped property with TextScaled enabled.

1 Like

Can’t you get banned for using custom chats if it doesn’t use the Roblox filter? This is not verified information, I’ve heard it around.

1 Like

@sozzly the first point is working, but the second not. It scales the text, but for my use, it is bad, bec the box is small and the text is unreadable, so i prefer to make it, that it will be trimed and it will show the part of text, that i am editing.
@BIoximus, i can use the filter, bec it is part of messaging service :smile:

1 Like

Try using :GetTextSize.

1 Like

@sozzly , how to use in my use-case???

1 Like