I already know how to do this with PC, but what about mobile? When the player finishes typing with the mobile keyboard and tap the Enter button, is there any event fired when doing that?
There's TextBox.FocusLost:Connect(function(EnterPressed,InputObject)
, which will fire when the user uses any form of input to exit the textbox. EnterPressed will be true when they hit the enter button to exit the textbox, otherwise you'll have to rely on the InputObject which has the InputObject of the Input that canceled the textbox focus.