Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- P:&8[&3Abyssal&8]&r
- perms: skript.startuhc
- command /scatterplayers <world> <int> <text>:
- permission: {@perms}
- usage: /scatterplayers <world> <radius> <teams/solos>
- trigger:
- if arg-3 is "teams" or "team" or "t":
- loop 5 times:
- command "/team color"
- wait 3 ticks
- loop all players:
- set the loop-player's food level to 10
- loop all players:
- {spec::%loop-player%} is not set
- set the loop-player's gamemode to survival
- clear inventory of loop-player
- command "/freeze"
- command sender command "/sca %arg-1% %arg-2% teams"
- wait 3 seconds
- command "/time set day %arg-1%"
- else if arg-3 is "solos" or "solo" or "s":
- loop all players:
- set the loop-player's food level to 10
- loop all players:
- {spec::%loop-player%} is not set
- set the loop-player's gamemode to survival
- clear inventory of loop-player
- command "/freeze"
- command sender command "/sca %arg-1% %arg-2% *"
- wait 2 ticks
- command "/time set day %arg-1%"
- command /latescatter <world> <int> <player>:
- usage: /latescatter <world> <radius> <player>
- permission: {@perms}
- trigger:
- command "/feed %arg-3%"
- loop 5 times:
- wait 1 tick
- clear inventory of arg-3
- wait 2 seconds
- give 10 cooked beef to arg-3
- set the arg-3's gamemode to survival
- command sender command "/sca %arg-1% %arg-2% %arg-3%"
- wait 5 seconds
- send "&fFinal Heal: &c3" to arg-3
- command "/playsound note.bass %arg-3% ~ ~ ~ 1 0.5 1"
- wait 1 second
- send "&fFinal Heal: &c2" to arg-3
- command "/playsound note.bass %arg-3% ~ ~ ~ 1 0.5 1"
- wait 1 second
- send "&fFinal Heal: &c1" to arg-3
- command "/playsound note.bass %arg-3% ~ ~ ~ 1 0.5 1"
- wait 1 second
- send "&fFinal Heal Given!" to arg-3
- command "/playsound note.bass %arg-3% ~ ~ ~ 1 0.5 1"
- heal arg-3
- command /uhcstart <int> <int> <text>:
- aliases: /st
- permission: {@perms}
- usage: /uhcstart <pvp time in minutes> <meetup time in minutes &l**AFTER PvP went off**&r> <Host Name (You can shorten this)
- trigger:
- set {_w} to world of command sender
- broadcast "{@P} &bThe UHC will start in 30 seconds! You may ask questions via helpop!"
- make player execute command "/config"
- wait 120 ticks
- make player execute command "/uhc"
- command "/enablefix"
- wait 30 real seconds
- command "/cc"
- loop all players:
- command "/playsound note.pling %loop-player% ~ ~ ~ 1 0.5 1"
- wait 1 real second
- command "/tm bc &a5"
- loop all players:
- command "/playsound note.pling %loop-player% ~ ~ ~ 1 0.5 1"
- wait 1 real second
- command "/tm bc &e4"
- loop all players:
- command "/playsound note.pling %loop-player% ~ ~ ~ 1 0.5 1"
- wait 1 second
- command "/tm bc &63"
- loop all players:
- command "/playsound note.pling %loop-player% ~ ~ ~ 1 0.5 1"
- wait 1 real second
- command "/tm bc &c2"
- loop all players:
- command "/playsound note.pling %loop-player% ~ ~ ~ 1 0.5 1"
- wait 1 real second
- command "/tm bc &41"
- loop all players:
- command "/playsound note.pling %loop-player% ~ ~ ~ 1 0.5 1"
- wait 1 real second
- command "/tm bc &4GO!"
- loop all players:
- command "/playsound note.pop %loop-player% ~ ~ ~ 1 0.5 1"
- wait 1 second
- command "/ffg"
- command "/clearxp"
- command "/ci -all"
- command "/cleareffects"
- command "/dfix"
- loop all players:
- {spec::%loop-player%} is not set
- give 10 cooked beef to the loop-player
- broadcast "{@P} &cThe UHC has now started!"
- loop all players:
- command "/playsound random.pop %loop-player% ~ ~ ~ 1 2 1"
- wait 1 second
- command "/pvp global off"
- command "/time set day %{_w}%"
- loop all players:
- command "/playsound random.pop %loop-player% ~ ~ ~ 1 0.5 1"
- loop 3 times:
- wait 1 second
- command sender command "/butcher"
- broadcast "&fButcher Finished!"
- wait 5 seconds
- broadcast "&fFinal Heal: &a3"
- loop all players:
- command "/playsound note.bass %loop-player% ~ ~ ~ 1 0.5 1"
- wait 1 second
- broadcast "&fFinal Heal: &e2"
- loop all players:
- command "/playsound note.bass %loop-player% ~ ~ ~ 1 0.5 1"
- wait 1 second
- broadcast "&fFinal Heal: &c1"
- loop all players:
- command "/playsound note.bass %loop-player% ~ ~ ~ 1 0.5 1"
- wait 1 second
- broadcast "&aFinal Heal Given! &4Do not ask for more!"
- loop all players:
- command "/playsound note.pling %loop-player% ~ ~ ~ 1 0.5 1"
- heal the loop-player
- broadcast "{@P} &7This game is hosted by &c%arg-3%, &7thanks for playing their game!"
- make command sender execute command "/gamerule domobspawning false"
- make command sender execute command "/butcher"
- execute player command "/uhctimer %arg-1% %arg-2%"
- wait 2 real minutes
- make command sender execute command "/gamerule domobspawning true"
- broadcast "{@P} &cMobs will now spawn!"
- on death of player:
- {timer::running} is true
- command "/scoreboard players reset %tablist name of victim%"
- if attacker is not a player:
- command "/scoreboard players add &c&lPvE uhc 1"
- else if attacker is not set:
- command "/scoreboard players add &c&lPvE uhc 1"
- else:
- attacker is not victim
- command "/scoreboard players add %tablist name of attacker% uhc 1"
- set {_TeamNumber} to {Teams.InTeam::%victim%}
- delete {Teams.InTeam::%victim%}
- remove victim from {Team.%{_TeamNumber}%::*}
- command "/scoreboard teams leave %victim%"
- command "/wl remove %victim%"
- command "/clearxp %victim%"
- set {ratetime::%victim%} to true
- send "{@P} &fYou have 30 seconds to say goodbye!" to victim
- wait 30 seconds
- kick victim due to "&7Thanks for playing! &7Follow our Twitter &b@AbyssalUHC &7to see when we host next!"
- delete {rated::%victim%}
- delete {ratetime::%victim%}
- command /uhctimer <int> <int>:
- usage: /uhctimer <time till pvp> <time till mu after pvp>
- permission: {@perms}
- trigger:
- set {_w} to world of command sender
- command "/scoreboard objectives add uhc dummy %{scoreboardname}%"
- command "/scoreboard players add &c&lPvP uhc"
- command "/scoreboard players add &a&lMeetup uhc"
- command "/scoreboard objectives setdisplay sidebar uhc"
- command "/scoreboard players add &c&lPlayers"
- send "&fStarting timer!"
- set {timer::running} to true
- set {_pvptime} to arg-1
- set {_mutime} to arg-1+arg-2
- loop arg-1 times:
- {timer::running} is true
- command "/scoreboard players set &c&lPvP uhc -%{_pvptime}%"
- command "/scoreboard players set &a&lMeetup uhc -%{_mutime}%"
- remove 1 from {_pvptime}
- remove 1 from {_mutime}
- wait 1 real minute
- {timer::running} is true
- command "/scoreboard players reset &c&lPvP"
- loop 1 times:
- broadcast "{@P} &8&m-----------------------&r"
- broadcast "{@P} &6PvP is now &aEnabled!&r"
- broadcast "{@P} &8&m-----------------------&r"
- loop all players:
- loop 3 times:
- command "/playsound note.pling %loop-player% ~ ~ ~ 1 0.5 1"
- wait 2 ticks
- command "/pvp"
- loop ({_mutime}) times:
- {timer::running} is true
- command "/scoreboard players set &a&lMeetup uhc -%{_mutime}%"
- remove 1 from {_mutime}
- wait 1 real minute
- if {_mutime} is 5:
- command "/startvote 30 Permaday"
- {timer::running} is true
- command "/scoreboard players reset &a&lMeetup"
- loop 1 times:
- broadcast "{@P} &8&m-----------------------&r"
- broadcast "{@P} &7It is now &cMeetup."
- broadcast "{@P} &8&m-----------------------&r"
- command "/blockdecay on"
- loop all players:
- loop 2 times:
- command "/playsound random.explode %loop-player% ~ ~ ~ 1 0.5 0.5"
- wait 2 ticks
- command /timerclear:
- permission: {@perms}
- trigger:
- delete {timer::running}
- send "&aTimer cleared!"
- command "/playsound random.break %command sender% ~ ~ ~ 1 0.5 1"
- command "/scoreboard objectives remove uhc"
- command /killboardremove <text>:
- permission: {@perms}
- trigger:
- execute console command "/scoreboard players reset %arg-1%"
- send "{@P} &7Kills removed!"
- command /killboardadd <text>:
- permission: {@perms}
- trigger:
- execute console command "/scoreboard players add %arg-1% uhc 1"
- send "{@P} &6Kill added!"
- command /killboardname <text>:
- permission: {@perms}
- trigger:
- set {scoreboardname} to "&bAbyssal&8 ยป &7&o%arg-1%"
- send "{@P} &7Name added!"
- command /uhcstop:
- permission: {@perms}
- trigger:
- make player execute command "/timerclear"
- make console execute command "/mvdelete UHC"
- make console execute command "/mvconfirm"
- make player execute command "/scendisableall"
- make player execute command "/cc"
- make player execute command "/mvdelete UHC_Nether"
- make player execute command "/mvconfirm"
- make player execute command "/warp newspawn"
- make player execute command "/tpall"
- make player execute command "/heal -a"
- make player execute command "/clearxp"
- make player execute command "/cleareffects -a"
- make player execute command "/feed -a"
- make player execute command "/blockdecay off"
- make player execute command "/scoreboard objectives setdisplay list UHCHealthList"
- make player execute command "/scoreboard objectives setdisplay belowname UHCHealthName"
- make player execute command "/spec reset Eboibie"
- make player execute command "/spec reset ClarkGamingYT"
- make player execute command "/spec reset SleepTime"
- make player execute command "/spec reset SandyVerse"
- make player execute command "/spec reset Michael_Gaymer18"
- make player execute command "/spec reset FloridaNoah"
- make player execute command "/spec reset showboow"
- make player execute command "/spec reset shoesharpegaming"
- make player execute command "/spec reset rainbow_skelly"
- make player execute command "/ci -a"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement