Thank you to foxcl28scs for helping me with the code. Also thank you to griffpatch for the online tutorials.