Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /efekt:
- trigger:
- arg 1 is not set:
- open chest with 1 rows named "&2Efekty" to player
- wait 2 ticks
- format slot 3 of player with 1 of beacon named "&2&lHaste II" with lore "||&8>&7Czas Trwania: &35 &7Minut||&8>&7Koszt: &38 &7blokow Zlota||" to run "efe1 %player%"
- format slot 4 of player with 1 of beacon named "&2&lHaste II" with lore "||&8>&7Czas Trwania: &310 &7Minut||&8>&7Koszt: &315 &7blokow Zlota||" to run "efe2 %player%"
- format slot 5 of player with 1 of beacon named "&2&lHaste II" with lore "||&8>&7Czas Trwania: &320 &7Minut||&8>&7Koszt: &325 &7blokow Zlota||" to run "efe3 %player%"
- stop
- command /efe1 [<player>]:
- trigger:
- if arg-player have 8 block of gold:
- remove haste from arg-player
- remove 8 block of gold from arg-player
- apply haste 2 to arg-player for 300 seconds
- run arg-player command "/effect %arg-player% 3 %{efe1.time}%"
- broadcast "&8Gracz &2%arg-player% &8zakupil efekt &8Haste II na &25 &8minut!"
- else:
- send "&cNie posiadasz 8Blokow zlota na ten efekt!" to arg-player
- command /efe2 [<player>]:
- trigger:
- if arg-player have 15 block of gold:
- remove haste from arg-player
- remove 15 block of gold from arg-player
- apply haste 2 to arg-player for 600 seconds
- run arg-player command "/effect %arg-player% 3 %{efe2.time}%"
- broadcast "&8Gracz &2%arg-player% &8zakupil efekt &8Haste II na &210 &8minut!"
- else:
- send "&cNie posiadasz 15Blokow zlota na ten efekt!" to arg-player
- command /efe3 [<player>]:
- trigger:
- if arg-player have 25 block of gold:
- remove haste from arg-player
- remove 15 block of gold from arg-player
- apply haste 2 to arg-player for 1200 seconds
- run arg-player command "/effect %arg-player% 3 %{efe2.time}%"
- broadcast "&8Gracz &2%arg-player% &8zakupil efekt &8Haste II na &220 &8minut!"
- else:
- send "&cNie posiadasz 25Blokow zlota na ten efekt!" to arg-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement