Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Make 5 item slots - A Tutorial for Baldi's Basics

This was made so people can stop being annoying about this.

1. Go to the GameControllerScript and then go to this line where it says

else if (Input.GetKeyDown(KeyCode.Alpha3) & Time.timeScale != 0f)
{
this.itemSelected = 2;
this.UpdateItemSelection();


and copy paste these 2 lines

else if (Input.GetKeyDown(KeyCode.Alpha4) & Time.timeScale != 0f)
{
this.itemSelected = 3;
this.UpdateItemSelection();
}
else if (Input.GetKeyDown(KeyCode.Alpha5) & Time.timeScale != 0f)
{
this.itemSelected = 4;
this.UpdateItemSelection();
}
Now go to the part where it says:
this.itemSelected++;
if (this.itemSelected > 2)
{
this.itemSelected = 0;


and change the "this.itemSelected > 2" to 4

and also go to the 
this.itemSelected--;
if (this.itemSelected < 0)
{
this.itemSelected = 2;


and change the 2 to 4 as well

3. Now go to the collect item function and replace all the code with this

if (this.item[0] == 0)
{
this.item[0] = item_ID;
this.itemSlot[0].texture = this.itemTextures[item_ID];
}
else if (this.item[1] == 0)
{
this.item[1] = item_ID;
this.itemSlot[1].texture = this.itemTextures[item_ID];
}
else if (this.item[2] == 0)
{
this.item[2] = item_ID;
this.itemSlot[2].texture = this.itemTextures[item_ID];
}
else if (this.item[3] == 0)
{
this.item[3] = item_ID;
this.itemSlot[3].texture = this.itemTextures[item_ID];
}
else if (this.item[4] == 0)
{
this.item[4] = item_ID;
this.itemSlot[4].texture = this.itemTextures[item_ID];
}
else
{
this.item[this.itemSelected] = item_ID;
this.itemSlot[this.itemSelected].texture = this.itemTextures[item_ID];
}
this.UpdateItemName();
 

And now you're done!!!!! Please stop asking now how to make 5 item slots, it's annoying as heck 

OH YEAH I FORGOT SOMETHING

Go to the "int[] array = new item[3]; and change it to 5 and then set the array values to your preferred values