Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {punkty.%player%} = 100 #punkty na start
- {spawn.zombie} = true # spawn zombie co 10 sekund
- options:
- nazwa_zombie: Zombiaczek # nazwa spawnowanych zombie
- on respawn:
- add diamond sword named "&9CS-Wloclawek &6%player%" to player's inventory
- add bow of infinity named "&9Luk! &6%player%" to player's inventory
- add 10 steak named "&9Jedzenie! &6%player%" to player's inventory
- add arrow of power 10 named "&9Szybka strzala! &6%player%" to player's inventory
- add iron helmet named "&9Czapeczka! &6%player%" to the player's helmet
- add iron chestplate named "&9Klata! &6%player%" to the player's chestplate
- add iron leggings named "&9Gacie! &6%player%" to the player's leggings
- add iron boots named "&9Butki! &6%player%" to the player's boots
- wait 1 second
- execute console command "/playsound random.fizz %player%"
- on first join:
- set {punkty.%player%} to 100
- add 10 golden apple named "&9Jabluszko! &6%player%" to player's ender chest
- on death of player:
- remove diamond sword named "&9CS-Wloclawek &6%player%" from drops
- remove bow of infinity named "&9Luk! &6%player%" from drops
- remove 10 steak named "&9Jedzenie! &6%player%" from drops
- remove arrow of power 10 named "&9Szybka strzala! &6%player%" from drops
- remove iron helmet named "&9Czapeczka! &6%player%" from drops
- remove iron chestplate named "&9Klata! &6%player%" from drops
- remove iron leggings named "&9Gacie! &6%player%" from drops
- remove iron boots named "&9Butki! &6%player%" from drops
- remove xp from drops
- attacker is player:
- add {punkty.%victim%}/10 to {punkty.%attacker%}
- add 1 to the attacker's level
- remove 1 from victim's level
- apply potion of speed 2 to attacker for 5 seconds
- remove 20 from victim's balance
- strike lightning effect at the victim
- if attacker has permission "ranga.gracz":
- set {money} to random integer between 25 and 50
- add {money} to the attacker's balance
- send "&2Dostales %{money}%$ i %{punkty.%victim%}/10% punktow za zabicie %victim%!" to attacker
- stop
- on death of zombie:
- remove all drops from drops
- remove xp from drops
- add 3 emeralds to drops
- on pickup emerald:
- delete event-entity
- cancel event
- add 1 to player's level
- execute console command "playsound random.orb %player%"
- every 10 second:
- if {spawn.zombie} is true:
- spawn zombie at {spawnzombie}
- set name of spawned entity to "{@nazwa_zombie}"
- command /zombie:
- trigger:
- set {spawnzombie} to location of player
- send "Ustawiono!"
- stop
- command /punkty <offlineplayer = %player%>:
- usage: /punkty <gracz>
- aliases: pkt
- trigger:
- if arg 1 is player:
- send "&9Masz &6%{punkty.%arg 1%}%&9 punktow!"
- stop
- if {punkty.%arg 1%} is not set:
- send "&4Nie ma takiego gracza!"
- stop
- else:
- send "&9Gracz &6%arg 1%&9 ma &6%{punkty.%arg 1%}%&9 punktow!"
- stop
- command /reset:
- trigger:
- loop all players:
- set {punkty.%loop-player%} to 100
- send "&2Usunieto punkty wszystkich graczy!"
- on consume apple of sharpness 1: #jedzenie jabłka z ostroscia 1
- apply speed 3 to player for 5 second
- on walking on water: #odradzanie woda
- heal player by 0.1 hearts
- on rightclick on player:
- if player is holding sword:
- send "&6%name of target player%&9 ma&6 %{punkty.%name of target player%}%&9 punktow!"
Advertisement
Add Comment
Please, Sign In to add comment