I think I’ve got a solution, but I’ll send the code anyway because I wanna share and get feedback
Though there are changes I want to make first, because even as an inexperienced non-coder even I am disgusted by the absolute abomination that is my coding