Trouble with basic function to scramble word

Owh, I didn’t even noticed that he didn’t declare those variables. :laughing: