I need a script for an FPS game.

Okay, just make it short and simple: I need a script for which once the last enemy dies, to move on to the next level.

1 Answer

1

Nobody is going to write your scripts for you. Do some research or use the search button.

To start you off take a look at Application.LoadLevel. I’d also suggest doing the FPS tutorial, from there it should make sense to determine in your game if the last enemy has died.

As long as people write scripts for you, you learn nothing