Radio Times logo in a white colour

Events.OnWrongAnswer += () => if (IsPlayerInDetention())

Call this in OnModLoad .

Add this to a prefab and spawn it inside the detention level using:

You’re not just changing a value – you’re adding a that:

The Baldi's Basics Dev API is a set of tools and documentation provided by Mystik Spiral, allowing developers to create custom content for the game Baldi's Basics. The API enables developers to create new levels, characters, and game modes, as well as modify existing ones.