public void clicker()
    {
        points = score.GetComponent <Points>();
        if (points.score >= 10)
        {
            Clicker     += 1;
            spaceclicker = player.GetComponent <Spaceclicker>();


            points.score -= 10;
        }
    }
    public void Centuplelicker()
    {
        points = score.GetComponent <Points>();
        if (points.score >= 2500)
        {
            CentupleClicker         += 1;
            spaceclicker             = player.GetComponent <Spaceclicker>();
            spaceclicker.scoreValue += 100;

            points.score -= 2500;
        }
    }
    public void hundredxclicker()
    {
        points = score.GetComponent <Points>();
        if (points.score >= 250)
        {
            HundredXClicker += 1;
            spaceclicker     = player.GetComponent <Spaceclicker>();


            points.score -= 250;
        }
    }
    public void doubleclicker() //Nedan är funtioner för alla upgrades
    {
        points = score.GetComponent <Points>();
        if (points.score >= 100)
        {
            doubleClicker           += 1;
            spaceclicker             = player.GetComponent <Spaceclicker>();
            spaceclicker.scoreValue += 1;

            points.score -= 100;
        }
    }
    public void tenxclicker()
    {
        points = score.GetComponent <Points>();
        if (points.score >= 50)
        {
            TenXClicker += 1;
            spaceclicker = player.GetComponent <Spaceclicker>();


            points.score -= 50;
        }
    }