Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # # # # # # # # # # # # # # # #
- # Name: DeathHead #
- # Version: 1.0 #
- # Skript: 2.0.2 #
- # # # # # # # # # # # # # # # #
- #=============================================#
- # Licencja DeathHead by FejminTV #
- # + Nie zezwalamy na: #
- # - Usuwanie tresci o autorach! #
- # - Udostepnaniu skryptu innym! #
- # - Podszywanie sie pod autorów! #
- # - Uzywanie kodu skryptu w swoich skryptach! #
- # - Zarabianie na skrypcie! #
- # + Zezwalamy na: #
- # - Dodawanie kodu na swoja potrzebe! #
- # - Modyfikowanie wiadomosci! #
- #=============================================#
- variables:
- {head.status} = 1
- options:
- szansa: 100
- szansavip: 100
- tag: &8[&cHead&8]
- permission: &4Nie masz uprawnien by uzywac tej komendy!
- on death:
- {head.status} is 1:
- if player has permission "head":
- attacker is player
- if chance of {@szansa}%:
- give the victim's skull to attacker
- send "&{@tag} 7Za zabicie &cgracza &7dostajesz jego glowe" to attacker
- else:
- send "{@tag} {@permission}"
- stop
- if player has permission "head.vip":
- attacker is player
- if chance of {@szansavip}%:
- give the victim's skull to attacker
- send "&{@tag} 7Za zabicie &cgracza &7dostajesz jego glowe" to attacker
- else:
- send "{@tag} {@permission}"
- stop
- {head.status} is 0:
- send "&{@tag} &7Drop glow z graczy jest &4OFF"
- command /heads [<text>]:
- trigger:
- if player has permission "head":
- if arg 1 is "on":
- set {head.status} to 1
- send "{@tag} &7Glowy wlaczone"
- stop
- if arg 1 is "off":
- set {head.status} to 0
- send "{@tag} &7Glowy wylaczone"
- stop
- else:
- send "{@tag} &c/heads <&fon/off&c>"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /head [<player>]:
- trigger:
- {head.status} is 1:
- if player has permission "head.give":
- give skull of arg to player
- send "{@tag} &7Dostales glowe &c%arg player%"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- else:
- send "{@tag} &7Glowy sa &cOFF"
- stop
Advertisement
Add Comment
Please, Sign In to add comment