Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #WHEN YOU ENABLE THIS SKRIPT, IT WILL TAKE 5 MINUTES TO START
- variables:
- {heavymetal} = false
- {heavymetal.%player%} = 0
- command /heavymetal [<status>]
- description: enables or disables heavymetal skript
- usage: /heavymetal <text>
- permission: host
- trigger:
- if arg 1 is "enable":
- {heavymetal} is false:
- set {heavymetal} to true
- message %player% "Heavy Metal has been enabled."
- wait 5 minutes
- broadcast "Heavy Metal is now active"
- stop
- else:
- message "Heavy Metal has already been enabled."
- stop
- if arg 1 is "disable":
- {heavymetal} is true:
- set {heavymetal} to true
- message "Heavy Metal has been disabled."
- stop
- else:
- message "Heavy Metal has already been disabled."
- stop
- if arg 1 is "toggle":
- {heavymetal} is false:
- set {heavymetal} to true
- message %player% "Heavy Metal has been enabled."
- wait %arg 2% minutes
- broadcast "Heavy Metal is now active"
- stop
- else:
- set {heavymetal} to false
- message %player% "Heavy Metal has been disabled."
- stop
- if arg1 is "help":
- message "/heavymetal <enable:disable:toggle:help>"
- stop
- arg 1 is not set:
- execute command "/heavymetal <help>"
- every second:
- player is wearing chestplate:
- add 1 to {heavymetal.%player%}
- player is wearing helmet:
- add 1 to {heavymetal.%player%}
- player is wearing leggings:
- add 1 to {heavymetal.%player%}
- player is wearing shoes:
- add 1 to {heavymetal.%player%}
- player is wearing leather helmet:
- add 1 to {heavymetal.%player%}
- player is wearing leather chestplate:
- add 1 to {heavymetal.%player%}
- player is wearing leather leggings:
- add 1 to {heavymetal.%player%}
- player is wearing leather leggins:
- add 1 to {heavymetal.%player%}
- player is wearing leather boots:
- add 1 to {heavymetal.%player%}
- player is wearing diamond helmet:
- add 5 to {heavymetal.%player%}
- player is wearing diamond chestplate:
- add 5 to {heavymetal.%player%}
- player is wearing diamond leggings:
- add 5 to {heavymetal.%player%}
- player is wearing diamond boots:
- add 5 to {heavymetal.%player%}
- {heavymetal.%player%} = 1:
- apply swiftness 1 to the player for 2 seconds
- {heavymetal.%player%} is 2:
- apply swiftness 2 to the player for 2 seconds
- {heavymetal.%player%} is 3:
- apply swiftness 3 to the player for 2 seconds
- {heavymetal.%player%} is 4:
- apply swiftness 4 to the player for 2 seconds
- {heavymetal.%player%} is 3
- apply slowness 2 to the player for 2 seconds
- size of {heavymetal.%player%} is 20:
- apply slowness 4 to the player or 2 seconds
- set {heavymetal.%player%} to 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement