Closed TK-A369 closed 2 years ago
keyStr
is a stringified key
, so in example a
, b
, A
. Holding shift makes capital letter. But on non-printable characters such as Return/Enter or Backspace it's empty string.
Fixed. What a weird way to do the event arguments, two of them are useless LOL
what this is an absolutely horrendous function
This wiki says that parameters of
KeyPressed
event are:KeyCode key, string Player
, but I discovered that those parameters are:key: Enum.KeyCode, keyStr: string, userInputState: Enum.UserInputState, player: string
. AnduserInputState
is alwaysEnum.UserInputState.End
. Description of this event should be corrected.