using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Rank : MonoBehaviour { public Text Ranking; // Use this for initialization void Start () { } // Update is called once per frame void Update () { if (Score.scoreBoard <= 24999){ Ranking.text = "Padawan"; } else if (Score.scoreBoard <= 49999){ Ranking.text = "Jedi Knight"; } else if (Score.scoreBoard <= 99999){ Ranking.text = "Jedi Master"; } else if (Score.scoreBoard >= 100000){ Ranking.text = "Jedi GrandMaster"; } } }