Hey does anybody know why this isn't working? And how can I fix it?

Can you describe the mechanic? Also what results are you seeing right now and what results are you expecting? I would try using a flip flop node to switch between each state you want the mesh in.