Walking sound Script returns with Error: BCE0077

I’m new to unity and i have some Problems at creating a Script that plays a sound when pressing “w” “a” “s” “d” and stops it when releasing those. Here’s the Script so far:

#pragma strict
var Sound : AudioClip;
function Start () {

}
function Update () {
	if(Input.GetKeyDown("w"))(Input.GetKeyDown("a"))(Input.GetKeyDown("s"))(Input.GetKeyDown("d"));{
		audio.clip = Sound;
		audio.Play();
	}

	if(Input.GetKeyUp("w"))(Input.GetKeyUp("a"))(Input.GetKeyUp("s"))(Input.GetKeyUp("d"));{
		audio.Stop();
	}
	
}

This keeps returning with the error:
it is not possible to invoke an expression of type ‘boolean’ (BCE0077)

I would apreciate any help and also if somebody could tell me how to make the sound stop if i jump tat would be nice too.
Thanks in advance!

You missed the logical operators in your condition, closed the bracked too early and have a semicolon behind the if statement.

Here are a few examples of logical operators:

AND

OR

NOT

just replace your code with this, and attach your audio source to the game object

#pragma strict

@script RequireComponent(AudioSource)
function Start () {
 
}
function Update () {
    if(Input.GetKeyDown("w")||Input.GetKeyDown("a")||Input.GetKeyDown("s")||Input.GetKeyDown("d"))
    {
      audio.Play();
    }
 
    if(Input.GetKeyUp("w")||Input.GetKeyUp("a")||Input.GetKeyUp("s")||Input.GetKeyUp("d"))
    {
       audio.Stop();
    }
}

Hope this is what you wanted.