Space Flight Script

Hi there, i am new to unity and i have been looking round for around 2 hours to try and find a space flight script. I am making a space FPS game and i need a basic script to move my shuttle. W for basic movement and the Space Bar to increase my throttle. Please
help. A S D

public speed as single = 0

def Update () :
   transform.Translate(Input.GetAxis("Horizontal") * speed * Time.deltaTime, 0, Input.GetAxis("Vertical") * speed * Time.deltaTime)
   if(Input.GetKeyDown(KeyCode.Space)) : //tap to speed up
      speed += 10
   if(Input.GetKeyDown(KeyCode.B)) : //tap to slow down
      speed -= 10

…about as basic as it gets.