private void Start()

{

experienceStatic = PlayerPrefs.GetInt(“experience”);

```
if (playerLevel == 1)
{
PlayerHealth.maxHealth += 1;
}
if (playerLevel == 2)
{
PlayerHealth.maxHealth += 2;
}
if (playerLevel == 3)
{
PlayerHealth.maxHealth += 3;
}
if (playerLevel == 4)
{
PlayerHealth.maxHealth += 4;
}
if (playerLevel == 5)
{
PlayerHealth.maxHealth += 5;
}
if (playerLevel == 6)
{
PlayerHealth.maxHealth += 6;
}
if (playerLevel == 7)
{
PlayerHealth.maxHealth += 7;
}
if (playerLevel == 8)
{
PlayerHealth.maxHealth += 8;
}
if (playerLevel == 9)
{
PlayerHealth.maxHealth += 9;
}
if (playerLevel == 10)
{
PlayerHealth.maxHealth += 10;
}
}
```