SHARE
TWEET

UHC Skript

a guest Jul 21st, 2019 68 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 console 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 2 of player with bedrock named "Border 500" to close then run "border 500"
  24.                 format slot 4 of player with bedrock named "Border 250" to close then run "border 250"
  25.                 format slot 6 of player with bedrock named "Border 125" to close then run "border 125"
  26.                 format slot 8 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 4 of player with stick named "&dBorder" with lore "Opens Border GUI" to run:
  31.                 close player's inventory
  32.                 execute console command "sudo %player% bordergui"
  33.             format slot 8 of player with slimeball named "&dStart UHC" with lore "Start the 5 minute timer" to close then run "uhc startwait"
  34.             format slot 22 of player with book named "Admin Config" with lore "Open the UHC Hoster GUI" to run:
  35.                 close player's inventory
  36.                 execute console command "sudo %player% config admin"
  37.             format slot 26 of player with book named "Scenarios" with lore "Edit Scenarios" to run:
  38.                 close player's inventory
  39.                 execute console command "sudo %player% scenarios config"
  40.            
  41. #a
  42.  
  43.  
  44. command /bordergui:
  45.     permission: hosteduhc.host
  46.     permission message: &7No Permission! Must have &5Platinum &7or &bFamous&7!
  47.     trigger:
  48.         execute console command "sudo %command sender% uhc border"
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
 
Top