hi everyone i tried to rewrite the code from this video https://www.youtube.com/watch?v=dTdn3CC64sc&list=PLVsTSlfj0qsWt0qafrT6blp5yvchzO4ee&ab_channel=b3agz for unit