Crouch and Slide FPS Character Controller

I was wondering if someone had perhaps made a crouch and slide script for the FPS Character that comes with the unity standard assets, that I would be able to just copy and paste? I have 0 coding knowledge and don’t know how to do it myself, thanks for any and all help.

Try this:-

Private void Update() {  
    if( Input.GetKeyDown(KeyCode.A)) {
        animation.CrossFade("crouch", 0.5f);
    else if( Input.GetKeyUp(KeyCode.A)){
        animation.CrossFade("idle", 0.5f);

You can learn basic “Animation controlling techniques through scripts” over here…

@arvindchetu didn’t seem to do anything. are you sure that’s for the First Person controller? not the Third Person Controller?