Need Help with move script

Hello Community,
i´ve got a big problem with my move script…
My character is always rotating…
my script:

var gehen = 3.0;
var laufen = 1.5;
var Drehspeed = 200.0;





function Update ()
{

var Rotation = Input.GetAxis("Horizontal")*Drehspeed;
transform.Rotate(0, Drehspeed*Time.deltaTime, 0);



var Speed = Input.GetAxis("Vertical")*gehen;

if(Input.GetKey("left shift"))
{

Speed*=laufen;

}


var Kontrolle : CharacterController = GetComponent(CharacterController);
var Vorwaerts = transform.TransformDirection(Vector3.forward);
Kontrolle.SimpleMove(Vorwaerts* Speed);


}

im not english, so my variables are sometims in another language

Unplug any joysticks/gamepads that are connected.

–Eric

only my mouse is connected to my PC

You’re positive?

I have seen many people saying the same as you, even after a few posts about how they have nothing connected, they find some controller that had fallen behind their desk.

If thats not the case, did you change any of the Input settings to make them stick to a value?

i have a notebook… so there is no chance to find conneced controller.

im new so could you tell me what input settings are?

In Unity, Edit->Project Settings->Input

Found your problem.

var Rotation = Input.GetAxis("Horizontal")*Drehspeed;
transform.Rotate(0, Drehspeed*Time.deltaTime, 0);

Should be:

var Rotation = Input.GetAxis("Horizontal")*Drehspeed;
transform.Rotate(0, Rotation*Time.deltaTime, 0);

yeah^^
thank you