Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {beacon.set} = false
- {drop.status} = false
- options:
- prefix: &7[&a&lsuperclash&d&lpvp&7] #Du skriver bare lige det prefix du vil have for skriptet.
- command /setdrop:
- permission: set.drop #For at kunne sætte en beacon der dropper skal ham/hende have permission "set.drop"!
- trigger:
- if {beacon.set} is true:
- send "{@prefix} &7Beacondrop er allerede sat."
- if {beacon.set} is false:
- set block above player to beacon
- set {beacon.drop.sted} to location of player
- loop all players:
- if loop-player has permission "drop.admin":
- send "{@prefix} &e&o%player% &7har sat en drop beacon &8(&a&o%location of {beacon.drop.sted}%&8) "
- command /startdrop:
- permission: drop.admin # Det er den permission de skal have hvis de skal kunne starte droppet
- trigger:
- if {drop.status} is true:
- send "{@prefix} &cBeacondrop er allerede i gang"
- if {drop.status} is false:
- broadcast "{@prefix} &7Beacondrop starter om &e5 sekunder!"
- wait 1 second
- broadcast "{@prefix} &7Beacondrop starter om &e4 sekunder!"
- wait 1 second
- broadcast "{@prefix} &7Beacondrop starter om &e3 sekunder!"
- wait 1 second
- broadcast "{@prefix} &7Beacondrop starter om &e2 sekunder!"
- wait 1 second
- broadcast "{@prefix} &7Beacondrop starter om &e1 sekundt!"
- wait 1 second
- broadcast "{@prefix} &7Beacondrop er startet!"
- set {drop.status} to true
- drop 1 diamond at {beacon.drop.sted} # Du kan ændre diamond til den block du vil have skal droppes :)
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- drop 1 diamond at {beacon.drop.sted}
- wait 3 second
- set {drop.status} to false
- broadcast "{@prefix} &eBeacondrop er færdig!"
- every 30 minutes:
- execute console command "/startdrop"
- on rightclick on beacon:
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement