error 1002

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class playerControler : MonoBehaviour
{
public float speed;
public float jumpForce;
private float moveInput;

private Rigidbody2D rb;

private bool facingRight = true;

private void Start()
{
rb = GetComponent();
}

private void FixedUpdate()
{
moveInput = Input.GetAxis(“Horizontal”);
rb.velocity = new Vector2(moveInput * speed, rb.velocity.y);
if(facingRight == false && moveInput > 0)
{
Flip();
}
else if(facingRight == true && moveInput < 0)
{
Flip();
}
}

void Flip()
{
facingRight = !facingRight;
Vector3 Scaler = transform.lokalScale;
Scaler.x *= -1;
transform.lokalScale = Scaler;
}
}

error 37 28

You should put code-tags around your code to make it easier to read.

Did you mean transform.localScale instead of transform lokalScale ?

This isn’t valid C# code (see above) and to note that you also missed the period (.)

Also, please put more effort into posting if you want others to help you. Just stating an error code and dumping some plain text isn’t a great way to get help.

Please see Low Effort posting in the Community Code of Conduct .

Thanks.