Advertisement
CARAB4O

Untitled

Oct 6th, 2017
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.44 KB | None | 0 0
  1. #WELCOME TO HYPERFREEZE
  2. #THANKS FOR DOWNLOAD LEAVE A POSITIVE RATING !
  3.  
  4. options:
  5. p: &3 #Its Préfix
  6. pm: &cYou don't have access to this command!
  7. guititle: &3
  8. HyperSSPerm: server.ss
  9.  
  10. command /freeze [<offlineplayer>]:
  11. permission: {@HyperSSPerm}
  12. permission message: {@p} {@pm}
  13. trigger:
  14. if arg 1 is not set:
  15. send "&3HyperFreeze » &7{@p} Please specify a player."
  16. if arg 1 is set:
  17. if arg 1 is online:
  18. if arg 1 does not have permission "{@HyperSSPerm}":
  19. if {frozen.%arg 1%} is not set:
  20. open chest with 1 rows named "{@guititle}" to arg 1
  21. send " &7{@p} Freezing %arg 1% (For unfreeze player make x2 /freeze <player>)"
  22. wait a tick
  23. set {frozen.%arg 1%} to 1
  24. set {frozen.lock.%arg 1%} to 1
  25. format slot 4 of arg 1 with paper named "&3HyperFreeze » &7You are frozen" with lore "&3HyperFreeze » &7Come to teamspeak " to be unstealable
  26. format slot 0 of arg 1 with Red Stained Glass Pane named "&cTeamspeak:" with lore "&cYour teamspeak ip " to be unstealable
  27. format slot 1 of arg 1 with Red Stained Glass Pane named "&cTeamspeak:" with lore "&cYour teamspeak ip " to be unstealable
  28. format slot 2 of arg 1 with Red Stained Glass Pane named "&cTeamspeak:" with lore "&cYour teamspeak ip " to be unstealable
  29. format slot 3 of arg 1 with Red Stained Glass Pane named "&cTeamspeak:" with lore "&cYour teamspeak ip " to be unstealable
  30. format slot 5 of arg 1 with Red Stained Glass Pane named "&cTeamspeak:" with lore "&cYour teamspeak ip " to be unstealable
  31. format slot 6 of arg 1 with Red Stained Glass Pane named "&cTeamspeak:" with lore "&cYour teamspeak ip " to be unstealable
  32. format slot 7 of arg 1 with Red Stained Glass Pane named "&cTeamspeak:" with lore "&cYour teamspeak ip " to be unstealable
  33. format slot 8 of arg 1 with Red Stained Glass Pane named "&cTeamspeak:" with lore "&cYour teamspeak ip " to be unstealable
  34. stop
  35. if {frozen.lock.%arg 1%} is set:
  36. delete {frozen.lock.%arg 1%}
  37. send "&3HyperFreeze » &7{@p} Has been removed to freeze gui %arg 1%."
  38. send "&3HyperFreeze » &7{@p} You have been removed from gui freeze !" to arg 1
  39. stop
  40. if {frozen.%arg 1%} is set:
  41. if {frozen.lock.%arg 1%} is not set:
  42. delete {frozen.%arg 1%}
  43. send "&3HyperFreeze » &7{@p} Unfroze %arg 1%."
  44. send "&3HyperFreeze » &7{@p} You are unfrozen." to arg 1
  45. if arg 1 has permission "{@HyperSSPerm}":
  46. send "{@p} You can not freeze staff members."
  47. if arg 1 is not online:
  48. send "{@p} That player is not online."
  49.  
  50. on inventory close:
  51. if {frozen.lock.%player%} is set:
  52. wait a tick
  53. open chest with 1 rows named "{@guititle}" to player
  54. wait a tick
  55. format slot 4 of player with paper named "&3HyperFreeze » &7You are frozen" with lore "&3HyperFreeze » &7Come to teamspeak" to be unstealable
  56. format slot 0 of player with Red Stained Glass Pane named "&cTeamspeak:" with lore "&cYour teamspeak ip " to be unstealable
  57. format slot 1 of player with Red Stained Glass Pane named "&cTeamspeak:" with lore "&cYour teamspeak ip " to be unstealable
  58. format slot 2 of player with Red Stained Glass Pane named "&cTeamspeak:" with lore "&cYour teamspeak ip " to be unstealable
  59. format slot 3 of player with Red Stained Glass Pane named "&cTeamspeak:" with lore "&cYour teamspeak ip " to be unstealable
  60. format slot 5 of player with Red Stained Glass Pane named "&cTeamspeak:" with lore "&cYour teamspeak ip " to be unstealable
  61. format slot 6 of player with Red Stained Glass Pane named "&cTeamspeak:" with lore "&cYour teamspeak ip " to be unstealable
  62. format slot 7 of player with Red Stained Glass Pane named "&cTeamspeak:" with lore "&cYour teamspeak ip " to be unstealable
  63. format slot 8 of player with Red Stained Glass Pane named "&cTeamspeak:" with lore "&cYour teamspeak ip " to be unstealable
  64. stop
  65.  
  66. on damage:
  67. if {frozen.lock.%victim%} is set:
  68. cancel event
  69.  
  70. on damage:
  71. if {frozen.%victim%} is set:
  72. cancel event
  73.  
  74. on any movement:
  75. if {frozen.%player%} is set:
  76. cancel event
  77.  
  78. on load:
  79. send "" to console
  80.  
  81. on script load:
  82. set {update} to false
  83. wait 1 ticks
  84. if text from "https://pastebin.com/raw/66yj55Ua" is not "1.0":
  85. set {update} to true
  86.  
  87. on join:
  88. wait 3 ticks
  89. if {update} is true:
  90. if player has permission "HyperSS.update":
  91. send " "
  92. send "&3HyperFreeze &7» New version available &c(!!!) Download on spigot !"
  93. send " "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement