Skip to content

Keyboard

StackZ edited this page Jun 17, 2021 · 1 revision

Script function: Keyboard

UniversalEdit.Keyboard(Message, CurText, LengthOfInput);

This function expects 3 parameters.

  • Message: The message to display.
  • CurText: The current message, which would be returned when the user cancels.
  • LengthOfInput: The amount of characters a user can input.

Example

-- The line below will let the user input their name with 10 characters, it returns "Name" if the user cancels.
local YourName = UniversalEdit.Keyboard("Enter your name.", "Name", 10);

Clone this wiki locally