Simple villager defender

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Mich

Active Member
Jul 15, 2020
148
6
18
23
Feel free to modify this script and dont uploaded just tell me and I update the script and I add you to contributors if you make it better.

The game have a gui shop feel free to modify that and zombies can spawn with armor or tools if you add them to the game.

You need sk bee add on for pathfind and scoreboards.

How to play.

You have to defend the village against the zombie horde you will start with just a wooden sword and as you kill zombies you earn money to buy better gear. When the players kill all the zombies a new horde with more zombies will start and if the zombies kill all the villagers or players the game is over.

How to set up the game.

  1. Create a lobby for villager defender it can be the spawn world.
  2. use the command /vd set lobby. this will be the location to teleport the players when the game is over.
  3. create a arena like a village with a graveyard.
  4. set the player spawn to the arena with /vd set spawn
  5. add the villager spawn location with the command /vd set vspawn you can add as many as you like.
  6. add the zombie spawn location with the command /vd set zspawn you can add as many as you like.
  7. you are all set now test the game with /vd join.

Commands:
/vd join command to join the game.
/vd set spawn Set the arena spawn
/vd set lobby Set the lobby when game is over players are going to come back here
/vd set vspawn set the villagers spawn at your location. You can add as many as you like
/vd set zspawn set the zombies spawn at your location You can add as many as you like
/vd remove zpawn delete all the zombies spawns
/vd remove vspawn delete all the villagers spawn
/vd add armor take a pice of any armor in your hand to add that to the chance of zombies spawning with armors
/vd add wepon take any sword or cutom wepon in your hand to add that to the chance of zombies spawning weapons

permissions:
/vd join vd.use /vd set vd.admin /vd set lobby vd.admin /vd set vspawn vd.admin /vd set zspawn vd.admin /vd remove zspawn vd.admin /vd remove vspawn vd.admin /vd add armor vd.admin /vd add wepon vd.admin
 
  • Like
Reactions: Merrical