so basically i want to do a movement system for my tool. For it to work i need to check if the different Keys (W key, A key, S key, D key) are pressed. Im using an if statement for it but it wont work because you cant put multiple "ands" in an if statement. Heres the code that im stuck with:
if wPressed == true and aPressed == false and sPressed == false and dPressed == false then
Does anybody have a solution to my question?

1 comment
Thank you very much good sir. You saved me a TON of time today.