Credit to @StarlowFan55 for the project where I got this from. Credit to @jdesnoyers for the original project.