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

How to add Beans (more understandable) - A Tutorial for Baldi's Basics

Updates

New script 1y
  • BugFix Fixed a issue where if you run to a gummed NPC, you will get gummed as well.
  • BugFix Fixed issue when sometimes the NPC can be forever gummed.
1. Import all your assets. then make 4 animation clips (idle, running, chewing, spit) in the animator drag ur clips in, then make two triggers called Chewing and Spit, then a bool called Running

2. Make a transition from the idle clip to the running clip, give it the running bool and set it to true then a transition to your chewing clip and put the chewing trigger there then do a transition from the chew clip to the spit clip and then give it the spit trigger

3. https://pastebin.com/VUY0jGss follow the steps there (there are images)

4. https://pastebin.com/Qu8qJWPV do the same with this one

Unity


5.  Make a gameobject called "Beans" and then Beans Sprite give his sprite a sprite renderer and an animator and drag your animator controller there. For beans attach his script and then reference everything.

Gum Prefab

6. Make a gameobject called "Gum" guve it a rigidbody and a capsule collider then make sure "Is trigger" is ticked and then drag the gameobject into the prefab folder and delete your gameobject, ALSO GIVE YOUR GUM PREFAB A SPRITE!

Gum Screen


Make a raw image and drag your gum screen onto it and then scale it so it looks perfect

Done! please credit me for the tutorial and SeenWonderAlex for the code! Thanks!