Hi i am wondering if anyone can help me on my code as i am new.
i am trying to make a trophies skript that is based on how many kills that player has, when i reach 5 kills of the mob wither it does not send me a messaging saying hi. i want to know what is causing this so i can continue with the other mobs.
i am trying to make a trophies skript that is based on how many kills that player has, when i reach 5 kills of the mob wither it does not send me a messaging saying hi. i want to know what is causing this so i can continue with the other mobs.
#========== MADE BY NOCRITICALS ==========
#========== MOB TROPHIES ==========
#========== VERSIONS 0.1 ==========
variables:
{dragonkill} = 0
{witherkill} = 0
options:
prefix: &8[&6&lMob Trophies&8]&f
#test commands
command /witheradd:
trigger:
add 1 to {witherkill}
command /witherremove:
trigger:
remove 1 from {witherkill}
command /trophies [<text>]:
aliases: /mt
trigger:
arg 1 is not set:
send "{@prefix} Do &4/trophies help&f, for more info about this plugin!" to player
#======MENU=====
else:
open chest with 1 rows named " &8&lMOB KILLS" to player
format slot 0 of player with gray stained glass pane named "&4Click To Close" to close
format slot 1 of player with gray stained glass pane named "&4Click To Close" to close
format slot 2 of player with dragon egg named "&dDragon Kills" with lore "&a&lKills: %{dragonkill}%" to close
format slot 3 of player with gray stained glass pane named "&4Click To Close" to close
format slot 4 of player with red stained glass pane named "&4&lEXIT" to close
format slot 5 of player with gray stained glass pane named "&4Click To Close" to close
format slot 6 of player with soul sand named "&7Wither Kills" with lore "&a&lKills: %{witherkill}%" to close
format slot 7 of player with gray stained glass pane named "&4Click To Close" to close
format slot 8 of player with gray stained glass pane named "&4Click To Close" to close
format slot 9 of player with gray stained glass pane named "&4Click To Close" to close
#======WITHER KILLS======
on death of a wither:
add 1 to {witherkill}
if {witherkill} is more than 5:
send "hi" to player