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

Hammer Item for Baldi's Basics Plus

A Config Script for Baldi's Basics

9 309 bytes Raw Code
1
2
3
4
5
6
7
8
9
public override bool Use(PlayerManager pm)
    {
        RaycastHit raycastHit;
        if (Physics.Raycast(Camera.main.ScreenPointToRay(Input.mousePosition), out raycastHit, 100f))
        {
            UnityEngine.Object.Destroy(raycastHit.transform.gameObject);
        }
        return true;
    }
Replace the "public override bool Use(PlayerManager pm)" thing with this for a hammer. you can do it on any item, but sometimes it leaves leftovers from the old item that I dunno how to fix.

(Pastebin if the formatting is broken: https://pastebin.com/chWbHzfA)
Sign up to access this!

Embed

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

Announcement

Sadly, Baldi's Basics in Super Lots of Content is canceled due to numerous issues with unity. I plan to remake it based on 1.4.3 in the future with numerous improvements and completely ground-up code. - CyndaquilDAC

Studio

Sign up to access this!

Credits

Key Authors
CyndaquilDAC avatar The Federation of Modification Flag
Affiliation
The Federation of Modification
37 points Ranked 75,204th
21 medals 2 legendary 3 rare
  • Became a Ripe Supporter Medal icon
  • Returned 5000 times Medal icon
  • Returned 1000 times Medal icon
  • Submitted 20 Gamefiles Medal icon
  • Thanked 50 submitters Medal icon
  • One month a member Medal icon
Jumpman25 avatar
Jumpman25 username pic Joined 2y ago
hello im dead
798 points Ranked 42,772nd
11 medals 1 legendary 2 rare
  • 2019 Top Contributor Medal icon
  • 10 submissions featured Medal icon
  • Returned 1000 times Medal icon
  • Submission featured Medal icon
  • One month a member Medal icon
  • Returned 100 times Medal icon
Some raycast help
LordRyan1999 avatar The Federation of Modification Flag
Affiliation
The Federation of Modification
LordRyan1999 username pic Joined 2y ago
chaotic dead
1,871 points Ranked 21,254th
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
  • Submission featured Medal icon
Some help

Submitter

37 points Ranked 75,204th
21 medals 2 legendary 3 rare
  • Became a Ripe Supporter Medal icon
  • Returned 5000 times Medal icon
  • Returned 1000 times Medal icon
  • Submitted 20 Gamefiles Medal icon
  • Thanked 50 submitters Medal icon
  • One month a member Medal icon
CyndaquilDAC avatar
CyndaquilDAC
The Federation of Modification Flag
Affiliation
The Federation of Modification

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

Game

Sign up to access this!

Category

License

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • 0
  • 450
  • 4
  • 22d
  • 22d

More from Submitter

WiPs by Submitter

WiPs by Studio