I couldnt work it out from this but I did get the solution!!! from a kind man in the discord he got the math wrong or it just didnt work for me so i changed it :}