Jump to content

Koth skript


BirdOftheBlack

Recommended Posts

options:
   prefix: &4&lHeartlles

on region enter:
  if {koth} is true
  loop all players
  if "%region at loop-player%" contains "koth":
  make console execute command "/coins give %player% 1000"
  broadcast "{@prefix} &8&l| &c&l%player% IS KING OF THE HILL!"
  set {koth} to false
  broadcast "{@prefix} &8&l| &c&lthe koth has now ended, next one will take place in 3 hours!"


every 2 hours:
  wait 30 minutes
  broadcast "{@prefix} &8&l| &c&lKoth will start in 30 minutes! Get ready!"
  broadcast "&7&lQuck tip: the first to enter the koth will win!"
  wait 15 minutes
  broadcast "{@prefix} &8&l| &c&lKoth will start in 15 minutes! Get ready!"
  wait 10 minutes
  broadcast "{@prefix} &8&l| &c&lKoth Starting in 5 minutes Be ready!"
  wait 5 minutes
  play sound "minecraft:entity.ender_dragon.ambient" at volume 10 at pitch 2 to all players
  broadcast "{@prefix} &8&l &c&lKOTH HAS NOW STARTED! FIRST TO ENTER KOTH WILL WIN!"
  set {koth} to true

on region enter:
  if {koth} is false:
  push player back at speed 10
  send "{@prefix} &8&l| &c&lKoth is not started yet! No cheating!" to player
  
  
 

  

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...