SHARE
TWEET

Untitled

a guest Jul 21st, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. every 5 minutes:    
  2.     if {uhctimer} is set:
  3.         execute console command "broadcast &6The UHC Event is Starting!"
  4.         execute console command "start"
  5.         delete {uhctimer}
  6.         execute console command "whitelist on"
  7.  
  8. #break
  9.  
  10. command /uhc [<string>]:
  11.     permission: hosteduhc.host
  12.     permission message: &7No Permission! Must have &5Platinum &7or &bFamous&7!
  13.     trigger:
  14.         if arg-1 is set:
  15.             if arg-1 is "startwait":
  16.                 execute player command "broadcast &8&lUHC IS STARTING, JOIN WITH /uhcjoin ! ( Hosted by %command sender% )"
  17.                 set {uhctimer} to "true"
  18.                 execute console command "whitelist off"
  19.                 execute console command "hoster %command sender%"
  20.             if arg-1 is "border":
  21.                 open chest with 1 row named "&dBORDER CONTROL" to player
  22.                 wait 1 tick
  23.                 format slot 1 of player with bedrock named "Border 500" to close then run "border 500"
  24.                 format slot 3 of player with bedrock named "Border 250" to close then run "border 250"
  25.                 format slot 5 of player with bedrock named "Border 125" to close then run "border 125"
  26.                 format slot 7 of player with bedrock named "Border 125" to close then run "border 50"
  27.         else:
  28.             open chest with 3 rows named "&d&lSTART UHC" to player
  29.             wait 1 tick
  30.             format slot 2 of player with stick named "&dBorder" with lore "Opens Border GUI" to close then run "bordergui"
  31.             format slot 6 of player with slimeball named "&dStart UHC" with lore "Start the 5 minute timer" to close then run "uhc startwait"
  32.             format slot 20 of player with book named "Admin Config" with lore "Open the UHC Hoster GUI" to close then run "configadminwait"
  33.             format slot 24 of player with book named "Scenarios" with lore "Edit Scenarios" to close then run "scenariosgui"
  34.            
  35. #a
  36.  
  37.  
  38. command /bordergui:
  39.     permission: hosteduhc.host
  40.     permission message: &7No Permission! Must have &5Platinum &7or &bFamous&7!
  41.     trigger:
  42.         close player's inventory
  43.         wait 5 ticks
  44.         execute console command "sudo %command sender% uhc border"
  45.  
  46.  
  47. command /configadminwait:
  48.     permission: hosteduhc.host
  49.     permission message: &7No Permission! Must have &5Platinum &7or &bFamous&7!
  50.     trigger:
  51.         close player's inventory
  52.         wait 5 ticks
  53.         execute console command "sudo %command sender% config admin"
  54.  
  55.  
  56. command /scenariosgui:
  57.     permission: hosteduhc.host
  58.     permission message: &7No Permission! Must have &5Platinum &7or &bFamous&7!
  59.     trigger:
  60.         close player's inventory
  61.         wait 5 ticks
  62.         execute console command "sudo %command sender% scenarios config"
  63.  
  64. command /uhcjoin:
  65.     trigger:
  66.         send "&4Executing... &7Please wait
  67.         wait 5 ticks
  68.         send "&d&lSuccess!"
  69.         execute console command "sudo %command sender% server squads"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top