GameBanana shows no ads to members. Sign up now!
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 make vending machines make sound!

A Tutorial for Baldi's Basics

Greetings, people! It's Anastas again and in this tutorial I'll show you how to make vending machines make sound, when you give a quarter to those, in non-decompiles! (You know, just like in Baldi's Basics But It's Not a Decompile) Let's get started!

1. Go to UseItem() in GameControllerScript
2. On any vending machine code (Which is wrapped in the Quarter Item code), put in this:

audioDevice.PlayOneShot(this.aud_Switch);

And here! Now, vending machines makes sound, when you give a quarter to these!

Hope it helps!

End of tutorial.
Sign up to access this!

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Tutorial Creator
Anastas avatar Johnster Space Studio Flag
Affiliation
Johnster Space Studio
Anastas username pic Joined 1y ago
2,366 points Ranked 20,548th
16 medals 2 legendary 1 rare
  • Returned 5000 times Medal icon
  • Became a Ripe Supporter Medal icon
  • Returned 1000 times Medal icon
  • One month a member Medal icon
  • Returned 100 times Medal icon
  • 1 post awarded Exemplary Feedback Medal icon
Founder
rapparep lol
rapparep lol Joined 2y ago
Doing Things
1,150 points Ranked 23,780th
17 medals 2 legendary 3 rare
  • Became a Ripe Supporter Medal icon
  • Returned 5000 times Medal icon
  • Returned 1000 times Medal icon
  • Thanked 50 submitters Medal icon
  • Received thanks 50 times Medal icon
  • One month a member Medal icon

Submitter

Anastas username pic Joined 1y ago
2,366 points Ranked 20,548th
16 medals 2 legendary 1 rare
  • Returned 5000 times Medal icon
  • Became a Ripe Supporter Medal icon
  • Returned 1000 times Medal icon
  • One month a member Medal icon
  • Returned 100 times Medal icon
  • 1 post awarded Exemplary Feedback Medal icon
Anastas avatar
Anastas
Johnster Space Studio Flag
Affiliation
Johnster Space Studio

Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Details

Difficulty Level
Beginner

Attributes

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • 6
  • 353
  • 7
  • 9d
  • 7d

More from Submitter

More Scripting Tutorials