How to make a message all caps

So i want to make it so that you are forced to say in full caps but I’ve searched everywhere on how to but couldn’t find any.

I know upper() exist but I don’t know how do I make it to full caps before it gets send.

TextBox:GetPropertyChangedSignal("Text"):Connect(function(): ()
	local Text = TextBox.Text:upper();
	TextBox.Text = Text;
end);

you can use string.upper(string), yes its that simple.

1 Like

hey am sorry for explaining things badly, but i want to force someone to chat full caps only. (they can still type lower case but will be turned into uppercase)