Unity Photon Doesnt Sync

Hey guys I want to make a multiplayer game with unity. But I cannot sync players.

I use Photon Transform View and Photon View. I have attached Photon Transform View to Photon View but still it doesnt work.

This is my player movement code:

using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using Photon.Realtime;
using UnityEngine;

public class Movement : Photon.MonoBehaviour
{
    joystick griliVAl;
    Animator animasyon;
    int Idle = Animator.StringToHash("Idle");
    // Use this for initialization
    void Start () {
        animasyon = GetComponent<Animator>();
        griliVAl = GameObject.FindGameObjectWithTag("Joystick").GetComponent<joystick>();
    }

    public void OnButton()
    {
        animasyon.Play("attack_01");
    }

    // Update is called once per frame
    void Update () {
         float x = griliVAl.griliv.x;
         float y = griliVAl.griliv.y;
         animasyon.SetFloat("Valx", x);
         animasyon.SetFloat("Valy", y);

        Quaternion targetRotation = Quaternion.LookRotation(griliVAl.griliv*5);
        transform.rotation = Quaternion.Lerp(transform.rotation, targetRotation, Time.deltaTime);
        transform.position += griliVAl.griliv * 5 * Time.deltaTime;
    }
}

It will be mobile game. So that these griliVal value is joysticks circle.

But can someone please help me to solve this issue?

I cannot tell you exactly whats wrong but i guess you have mutliple issues in your project.
First up everyone will controll all players in the scene simultaniously. This is because you do not check for transformView.IsMine to be true before taking inputs.

If the synchronization still does not work then please confirm that you create your player characters by using PhotonNetwork.Instantiate(<PrefabHere>) as it will properly set the needed ownerships.