Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- P: &8[&7ZistonianBattlesign&8]&7
- command /zb <text>:
- usage: /zb <on/off/give>
- permission: skript.op
- trigger:
- if arg-1 is "on" or "enable":
- send "{@P} Skript Enabled"
- set {zistonianbattlesign} to true
- else if arg-1 is "off" or "disable":
- send "{@P} Skript Disabled"
- delete {zistonianbattlesign}
- else if arg-1 is "give":
- loop all players:
- give 1 sign named "&7Zistonian Battlesign: Level 1" to loop-player
- loop all items in the loop-player's inventory:
- loop-item is a sign named "&7Zistonian Battlesign: Level 1"
- enchant loop-item with knockback 2
- send "{@P} Signs Given!"
- on death of player:
- attacker is a player
- {zistonianbattlesign} is true
- remove sign named "&7Zistonian Battlesign: Level 1" from the drops
- remove sign named "&7Zistonian Battlesign: Level 2" from the drops
- remove sign named "&7Zistonian Battlesign: Level 3" from the drops
- remove sign named "&7Zistonian Battlesign: Level 4" from the drops
- if attacker has a sign named "&7Zistonian Battlesign: Level 1":
- remove 1 sign named "&7Zistonian Battlesign: Level 1" from attacker's inventory
- give 1 sign named "&7Zistonian Battlesign: Level 2" to attacker
- loop all items in the attacker's inventory:
- loop-item is a sign named "&7Zistonian Battlesign: Level 2"
- enchant loop-item with knockback 2 and fire aspect 1
- else if attacker has a sign named "&7Zistonian Battlesign: Level 2":
- remove 1 sign named "&7Zistonian Battlesign: Level 2" from attacker's inventory
- give 1 sign named "&7Zistonian Battlesign: Level 3" to attacker
- loop all items in the attacker's inventory:
- loop-item is a sign named "&7Zistonian Battlesign: Level 3"
- enchant loop-item with sharpness 3 and knockback 2 and fire aspect 1
- else if attacker has a sign named "&7Zistonian Battlesign: Level 3":
- remove 1 sign named "&7Zistonian Battlesign: Level 3" from attacker's inventory
- give 1 sign named "&7Zistonian Battlesign: Level 4" to attacker
- loop all items in the attacker's inventory:
- loop-item is a sign named "&7Zistonian Battlesign: Level 4"
- enchant loop-item with sharpness 5 and looting 3 and knockback 2 and fire aspect 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement