Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Variable - Wait wat ONLY 1 - NOOOOOOOOOOOOOOOOOOOOOO
- #{Longshots.GameIsGoing} = If set, scenario is running
- #awkwardturtles
- #Choices
- options:
- n: &7[&aLongshots&7]&e #Change the Name in Brackets
- perms: Set.Your.Own #Permissions - Ops get all by default
- scenario: ls #Scenario Name
- #Command
- #Registering Command
- command ls [<text>]:
- trigger:
- #/Longshots
- if arg-1 is not set:
- message "{@n} Skripted by: &lBitlington&r &eand Idea from &lZodiac_Nick"
- message "{@n} Bow shots over 75 blocks, will deal 1.5x better, and heal 1 Heart."
- message "{@n} To Learn more use &7/{@scenario} help"
- #/Longshots enable
- else if arg-1 is equal to "enable":
- if player has permission "{@perms}":
- if {Longshots.GameIsGoing} is not set:
- set {Longshots.GameIsGoing} to true
- loop all players:
- execute console command "/playsound note.harp %player% ~ ~ ~ 1 1 1"
- if command sender is equal to "mroll5":
- broadcast "{@n} &aEnabled &7by [&cAROLL5!!!!!!&7]"
- else:
- broadcast "{@n} &aEnabled &7by [&c%command sender%&7]"
- else:
- message "{@n}&c The Scenario is already running."
- execute console command "/playsound random.break %player% ~ ~ ~ 1 1 1"
- else:
- message "{@n} &cYou do not have the correct Permissions."
- execute console command "/playsound random.break %player% ~ ~ ~ 1 1 1"
- #/Longshots disable
- else if arg-1 is equal to "disable":
- if player has permission "{@perms}":
- if {Longshots.GameIsGoing} is set:
- delete {Longshots.GameIsGoing}
- loop all players:
- execute console command "/playsound note.harp %player% ~ ~ ~ 1 1 1"
- if command sender is equal to "mroll5":
- broadcast "{@n} &cDisabled &7by [&cAROOOOOL!!11!&7]"
- else:
- broadcast "{@n} &cDisabled &7by [&c%command sender%&7]"
- else:
- message "{@n}&c The Scenario is already disabled."
- execute console command "/playsound random.break %player% ~ ~ ~ 1 1 1"
- else:
- message "{@n} &cYou do not have the correct Permissions."
- execute console command "/playsound random.break %player% ~ ~ ~ 1 1 1"
- #/Longshots toggle
- else if arg-1 is equal to "toggle":
- if player has permission "{@perms}":
- if {Longshots.GameIsGoing} is set:
- make the player execute "/longshots disable"
- else:
- make the player execute "/longshots enable"
- else:
- message "{@n} &cYou do not have the correct Permissions."
- execute console command "/playsound random.break %player% ~ ~ ~ 1 1 1"
- #/Longshots help
- else if arg-1 is equal to "help":
- message "{@n} Commands:"
- if player has permission "{@perms":
- message "{@n}/{@scenario} enable &7- Enables the Scenario"
- message "{@n}/{@scenario} disable &7- Disables the Scenario"
- message "{@n}/{@scenario} toggle &7- Toggles the Scenario"
- message "{@n}/{@scenario} &7- Explains the Scenario"
- #/Longshots awjoadpolwp
- else:
- message "{@n} &cWrong Syntax - use /{@scenario} help"
- execute console command "/playsound random.break %player% ~ ~ ~ 1 1 1"
- #Event 'n' Sterf
- #Longshot
- on damage of player:
- {Longshots.GameIsGoing} is true
- damage was caused by projectile
- projectile is arrow
- set {_l} to the distance between the attacker and victim
- if {_l} is greater than 75:
- broadcast "{@n} %attacker% scored a longshot on %victim% of %{_l}% blocks!"
- add 1 to attacker's health
- set damage to damage*1.5
- #Thx m8 for reading
- #Skript Tidbit
- #on walking on jungle leaves:
- # broadcast "JUNGLEJUMP!!"
- # push the player upwards by 10 force
Advertisement
Add Comment
Please, Sign In to add comment