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 the Secret End Always Appear ( Easy )

A Tutorial for Baldi's Basics in Education and Learning

Updates

menu
Small Update 23d
  • Addition New Codes

( This Tutorial Is Very Easy )

Welcome To The Easy Tutorial 

Don't Forget To Give The Credits To Me

  Go to ExitTriggerScript

Copy This Code

using System;
using UnityEngine;
using UnityEngine.SceneManagement;
// Token: 0x020000DD RID: 221
public class ExitTriggerScript : MonoBehaviour
{
    // Token: 0x060009DA RID: 2522 RVA: 0x00002064 File Offset: 0x00000264
    public ExitTriggerScript()
    {
    }
    // Token: 0x060009DB RID: 2523 RVA: 0x00022F7C File Offset: 0x0002117C
    private void OnTriggerEnter(Collider other)
    {
        if (this.gc.notebooks >= 7 & other.tag == "Player")
        {
            if (this.gc.failedNotebooks >= 7)
            {
                SceneManager.LoadScene("Secret");
                return;
            }
            SceneManager.LoadScene("Secret");
        }
    }
    // Token: 0x0400066A RID: 1642
    public GameControllerScript gc;
}

3º And Paste In ExitTriggerScript

Now Some Variants Of The Code

The Reverse
using System;
using UnityEngine;
using UnityEngine.SceneManagement;
// Token: 0x020000DD RID: 221
public class ExitTriggerScript : MonoBehaviour
{
    // Token: 0x060009DA RID: 2522 RVA: 0x00002064 File Offset: 0x00000264
    public ExitTriggerScript()
    {
    }
    // Token: 0x060009DB RID: 2523 RVA: 0x00022F7C File Offset: 0x0002117C
    private void OnTriggerEnter(Collider other)
    {
        if (this.gc.notebooks >= 7 & other.tag == "Player")
        {
            if (this.gc.failedNotebooks >= 7)
            {
                SceneManager.LoadScene("Secret");
                return;
            }
            SceneManager.LoadScene("Results");
        }
    }
    // Token: 0x0400066A RID: 1642
    public GameControllerScript gc;
}
Normal End Forever
using System;
using UnityEngine;
using UnityEngine.SceneManagement;
// Token: 0x020000DD RID: 221
public class ExitTriggerScript : MonoBehaviour
{
    // Token: 0x060009DA RID: 2522 RVA: 0x00002064 File Offset: 0x00000264
    public ExitTriggerScript()
    {
    }
    // Token: 0x060009DB RID: 2523 RVA: 0x00022F7C File Offset: 0x0002117C
    private void OnTriggerEnter(Collider other)
    {
        if (this.gc.notebooks >= 7 & other.tag == "Player")
        {
            if (this.gc.failedNotebooks >= 7)
            {
                SceneManager.LoadScene("Results");
                return;
            }
            SceneManager.LoadScene("Results");
        }
    }
    // Token: 0x0400066A RID: 1642
    public GameControllerScript gc;
}
The Death
using System;
using UnityEngine;
using UnityEngine.SceneManagement;
// Token: 0x020000DD RID: 221
public class ExitTriggerScript : MonoBehaviour
{
    // Token: 0x060009DA RID: 2522 RVA: 0x00002064 File Offset: 0x00000264
    public ExitTriggerScript()
    {
    }
    // Token: 0x060009DB RID: 2523 RVA: 0x00022F7C File Offset: 0x0002117C
    private void OnTriggerEnter(Collider other)
    {
        if (this.gc.notebooks >= 7 & other.tag == "Player")
        {
            if (this.gc.failedNotebooks >= 7)
            {
                SceneManager.LoadScene("Results");
                return;
            }
            SceneManager.LoadScene("GameOver");
        }
    }
    // Token: 0x0400066A RID: 1642
    public GameControllerScript gc;
}
Warning?
using System;
using UnityEngine;
using UnityEngine.SceneManagement;
// Token: 0x020000DD RID: 221
public class ExitTriggerScript : MonoBehaviour
{
    // Token: 0x060009DA RID: 2522 RVA: 0x00002064 File Offset: 0x00000264
    public ExitTriggerScript()
    {
    }
    // Token: 0x060009DB RID: 2523 RVA: 0x00022F7C File Offset: 0x0002117C
    private void OnTriggerEnter(Collider other)
    {
        if (this.gc.notebooks >= 7 & other.tag == "Player")
        {
            if (this.gc.failedNotebooks >= 7)
            {
                SceneManager.LoadScene("Results");
                return;
            }
            SceneManager.LoadScene("Warning");
        }
    }
    // Token: 0x0400066A RID: 1642
    public GameControllerScript gc;
}

Comments

Sign up to access this!

Embed

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

Announcement

--> Davi 3D Studio <-- - Mundodavi2

Studio

Sign up to access this!

Credits

Helper
Mundodavi2 Davi 3D Studio Flag
Affiliation
Davi 3D Studio
Mundodavi2 Joined 9mo ago
Offline
Davi 3D Studio Flag Affiliation: Davi 3D Studio
122 points Ranked 64590th
Creator
LordRyan1999 avatar Ruler Productions Flag
Affiliation
Ruler Productions
LordRyan1999 username pic Joined 11mo ago
Offline
Ruler Productions Flag Affiliation: Ruler Productions
847 points Ranked 41709th
10 medals 1 rare
  • Returned 1000 times Medal icon
  • One month a member Medal icon
  • Returned 100 times Medal icon
  • Submission featured Medal icon
  • 6 months a member Medal icon
  • Became a Studio Leader Medal icon
Helper

Submitter

Mundodavi2 avatar
Mundodavi2 Joined 9mo ago
*Error*
Davi 3D Studio Flag Affiliation: Davi 3D Studio
122 points Ranked 64590th
Mundodavi2 Davi 3D Studio Flag
Affiliation
Davi 3D 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
  • favorite 3
  • remove_red_eye 545
  • mode_comment 2
  • access_time 23d
  • access_time 23d
  • refresh 23d

More from Submitter

menu

WiPs by Submitter

menu

More from Studio

WiPs by Studio

More Other/Misc Tutorials