I wanted to make it faster at the end this actually took a lot of time to do this kind of stuff
credit to @firepaw_rusty