load scene after 5 triggers activated?

i haven’t the foggiest idea of how to do something like this.
i tried making a script in java that is along the lines of…
var fluf1 : GameObject;
var fluf2 : GameObject;
var fluf3 : GameObject;
var fluf4 : GameObject;
var fluf5 : GameObject

then i go blank. not much of a script haha. i’m assuming i would go with function start… then call to the variables individually with “if” statements. can someone point me in the right direction please.
i need for all of these objects to enter a common trigger before an application.load(“results”);
i really hope someone knows how to structure this. any help would be amazing

Create an empty gameobject and attach something like this to it.

var host:Transform;
//Host is an empty Empty GameOject

function OnTriggerEnter (col:Collision){

if (col.gameObject.tag == "Player"){ //Set the player's tag to player

Destroy (gameObject); //this stops repeat calls


and stick something like this on the triggers (with box colliders set to istrigger)

var times = 0

function start (){



function Update (){

if (times==5){

application.Loadlevel ("LEVEL GOES HERE");



function addone {

times = times + 1;