Hi @HatKid22, welcome to the forum. Your code is not fully formatted. Please read this topic to learn how to format your code:
Thanks Danny