Check the code to see the custom block and what it does. 1st slot: the message that the rpg box shows 2nd slot: the y of the text box. (I recommend -120.) 3rd slot: text size (goes from 1-5) 4th slot: the person's name who's speaking 5th slot: the color of the text box. Check out the original project creator for more detailed instructions. I have updated this one with a few more features but this mostly is just for myself. if this helps you, great, that's why I'm sharing it, but remember to go check out the original creator, who did pretty much all of the work and deserves all the credit.
All sounds, code, and assets I give full credit to @Jconway1 who created the original project here: https://scratch.mit.edu/projects/115670756/ I ask that if you choose to like and fav, do it on his project instead. It's very well made and needs more popularity.