mechanics aren't the greatest but don't be mad im starting to make more complicated projects and I'm still learning still a work in progress
thanks to A_bodurtha for helping me with the code