daily pastebin goal
82%
SHARE
TWEET

Untitled

a guest Sep 14th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. options:
  2.   staffmsg: &7Staff mode
  3.   freezemsg: &7Player &b[name]&7 has been
  4.  
  5. command /staff:
  6.   permission: *
  7.   permission message: &cInsufficient Permissions.
  8.   trigger:
  9.     if {staff::%player%} is set:
  10.       delete {staff::%player%}
  11.       send ""
  12.       send "{@staffmsg} &aenabled!"
  13.       send ""
  14.       hide player from all players
  15.       loop all players:
  16.         loop-player has permission "admin"
  17.         reveal player to loop-player
  18.       set {_n} to 0
  19.       loop 36 times:
  20.         set {norminv::%player%::%loop-number%} to slot {_n} of player's inventory
  21.         add 1 to {_n}
  22.       clear player's inventory
  23.       set slot 0 of player to ice named "&bFreeze"
  24.       set slot 1 of player to a diamond axe named "&cBan Hammer &7(Perm)"
  25.       set slot 2 of player to a sign named "&6Open Inventory"
  26.     else:
  27.       set {staff::%player%} to true
  28.       clear player's inventory
  29.       loop {norminv::%player%::*}:
  30.         set {_n} to (loop-index parsed as an integer) - 1
  31.         set slot {_n} of player to loop-value
  32.       send ""
  33.       send "{@staffmsg} &cdisabled!"
  34.       send ""
  35.  
  36. on place:
  37.   player's tool is an ice named "&bFreeze":
  38.     cancel event
  39.   player's tool is a sign named "&6Open Inventory":
  40.     cancel event
  41.  
  42. on rightclick on player:
  43.   if player's tool is ice named "&bFreeze":
  44.     make player execute command "skf %event-entity%"
  45.   else if player's tool is a diamond axe named "&cBan Hammer &7(Perm)":
  46.     ban event-entity due to "§cYou've been smashed by the ban hammer!§7 -§c %player%"
  47.   else if player's tool is a sign named "&6Open Inventory":
  48.     make player execute command "openinv %event-entity%"
  49.  
  50. on any move:
  51.   {freeze::%player%} is set
  52.   cancel event
  53.  
  54. command /skf <player>:
  55.   permission: *
  56.   permission message: &cInsufficient Permissions.
  57.   trigger:
  58.     if {freeze::%arg%} is set:
  59.       delete {freeze::%arg%}
  60.       set {_f} to "{@freezemsg}"
  61.       replace all "[name]" in {_f} with "%arg%"
  62.       send ""
  63.       send "%{_f}% &bunfrozen."
  64.       send ""
  65.       send "&7You have been unfrozen" to arg
  66.     else:
  67.       set {freeze::%arg%} to true
  68.       set {_f} to "{@freezemsg}"
  69.       replace all "[name]" in {_f} with "%arg%"
  70.       send ""
  71.       send "%{_f}% &bfrozen."
  72.       send ""
  73.       send "&7You have been frozen" to arg
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