void func5()
{
if(GetLocalVarInt("Var1") == 4)
{
SetEntityActive("castle_gate_arched01_1", false);
SetEntityActive("castle_gate_arched01_2", true);
SetEntityActive("floor_ivy_2", true);
SetEntityActive("slime_pile_large_5", true);
SetEntityActive("corpse_pile1_2", true);
SetEntityActive("slime_egg_2", true);
SetEntityActive("slime_pile_2", true);
SetEntityActive("slime_pile_large_3", true);
SetEntityActive("slime_6way_1", true);
SetEntityActive("slime_pile_large_7", true);
SetEntityActive("slime_3way_3", true);
SetEntityActive("slime_egg_3", true);
SetEntityActive("slime_anim_wall_2", true);
SetEntityActive("slime_3way_4", true);
SetEntityActive("slime_3way_2", true);
SetEntityActive("slime_6way_6", true);
SetEntityActive("slime_pile_large_6", true);
SetEntityActive("slime_6way_5", true);
SetEntityActive("slime_3way_5", true);
SetEntityActive("corpse_pile2_1", true);
SetEntityActive("slime_6way_3", true);
SetEntityActive("slime_6way_4", true);
SetEntityActive("slime_pile_4", true);
SetEntityActive("slime_6way_7", true);
SetEntityActive("slime_anim_wall_1", true);
SetEntityActive("slime_egg_4", true);
SetEntityActive("slime_pile_3", true);
SetEntityActive("slime_6way_2", true);
SetEntityActive("slime_pile_large_1", true);
SetEntityActive("slime_3way_1", true);
StartScreenShake(0.5f, 5, 1, 1);
AddPropForce("chandelier_large_5", 2500, 0, 0, "world");
AddPropForce("chandelier_large_4", 0, 2000, 0, "world");
AddPropForce("chandelier_large_3", 0, 0, 2000, "world");
AddPropForce("chandelier_large_2", 0, 25000, 0, "world");
CheckPoint("CheckpointTwo", "PlayerStartArea_2", "", "", "");
PlaySoundAtEntity("", "13_machine_fail.snt", "Play_At_2", 0, false);
AddTimer("spawn1", 3.0f, "Spawn2");
AddTimer("spawn2", 0.6f, "Spawn2");
}