Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- #==========================================================#
- #
- #Mob Achievements
- #
- #==========================================================#
- # MOB LIST
- Mob: zombie or skeleton or spider or cavespider or wither or creeper or enderman or enderdragon or slime or witch or ghast or silverfish or blaze or bat or pig or cow or chicken or squid or wolf or sheep
- #Mob Kill
- MaxMobKills1: 10000
- MaxMobKills2: 50000
- #Mob Reward
- MobReward1: 100
- MobReward2: 500
- variables:
- #==========================================================#
- #
- #Mob Achievements
- #
- #==========================================================#
- {mobkill.%player%.1} = 0
- {mobkill.%player%.2} = 0
- {allow.mobkill.%player%.1} = true
- {allow.mobkill.%player%.2} = false
- {status.mobkill.%player%.1} = "Running..."
- {status.mobkill.%player%.2} = "Locked..."
- #==========================================================#
- #
- #Mob Achievements
- #
- #==========================================================#
- command /mob:
- trigger:
- message "&aMob Kill %{mobkill.%player%.1}%&7/&a{@MaxMobKills1}" to player
- on death of {@Mob}:
- add {@MobReward1} to Attacker's money
- send "&eUangmu Sekarang &a%Attacker's money%" to attacker
- on death:
- attacker is a player
- victim is a {@Mob}
- if {allow.mobkill.%attacker%.1} is true:
- add 1 to {mobkill.%attacker%.1}
- if {mobkill.%attacker%.1} is greater than or equal to {@MaxMobKills1}:
- message "&aAchievement Mob Kill I Sukses!" to attacker
- set {allow.mobkill.%attacker%.1} to false
- set {allow.mobkill.%attacker%.2} to true
- set {status.mobkill.%attacker%.1} to "Complete..."
- set {status.mobkill.%attacker%.2} to "Running..."
- wait 50 tick
- # --- INPUT YOUR REWARD HERE
- #play "FIREWORK_LAUNCH" only to attacker with pitch 1 and volume 1
- #play "FIREWORK_LARGE_BLAST" only to attacker with pitch 1 and volume 1
- #play "FIREWORK_TWINKLE" only to attacker with pitch 1 and volume 1
- add {@MobReward1} to attacker's balance
- message "&aMendapat ${@MobReward1}!" to attacker
- message "&aAchievement Mob Kill II telah terbuka!" to attacker
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement