Exel

Untitled

Jul 10th, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.72 KB | None | 0 0
  1. command /ss [<player>]:
  2. description: Freeze the player and send them a request to join TS!
  3. permission: screenshare.freeze
  4. permission message: &cYou do not have access to this command!
  5. executable by: players
  6. aliases: /ss,/screenshare,/freeze
  7. trigger:
  8. if arg 1 is not set:
  9. send "&cError: &7You must enter the name of the player for the command to be executed." to player
  10. if arg 1 is set:
  11. if {%arg-1%.ss} is true:
  12. send "&7[&cSS&7] &7%arg-1% &ais no longer frozen!" to player
  13. send "&7[&cSS&7] &aYou are no longer frozen!" to arg 1
  14. set {%arg-1%.ss} to false
  15. set the arg-1's walk speed to 1
  16. delete {_ss.coords.%arg-1%}
  17. stop trigger
  18. if {%arg-1%.ss} is not set:
  19. set {%arg-1%.ss} to true
  20. add 1 to {frozencounter.%arg-1%}
  21. send "&7[&cSS&7] &cThis player has been frozen %{frozencounter.%arg-1%}% times."
  22. send "&7[&cSS&7] &7%arg-1% &ahas been frozen." to player
  23. send "&f█████████" to arg 1
  24. send "&f████&c█&f████" to arg 1
  25. send "&f███&c█&0█&c█&f███" to arg 1
  26. send "&f██&c█&6█&0█&6█&c█&f██" to arg 1
  27. send "&f██&c█&6█&0█&6█&c█&f██ &eYou have been frozen by a staff member." to arg 1
  28. send "&f██&c█&6█&0█&6█&c█&f██ &eIf you disconnect you will be &4&lBANNED&e." to arg 1
  29. send "&f█&c█&6█████&c█&f█ &ePlease connect to our Discord server." to arg 1
  30. send "&c█&6███&0█&6███&c█ &7https://discord.gg/BBM4Uam" to arg 1
  31. send "&c█████████" to arg 1
  32. send "&f█████████" to arg 1
  33. send "&cYou most likely will be asked to do a screenshare to prove you are not hacking." to arg 1
  34. send "&cFailure to comply will result in a permanent ban." to arg 1
  35. set the arg-1's walk speed to 0
  36. set {_ss.coords.%arg-1%} to arg-1's location
  37. stop trigger
  38. if {%arg-1%.ss} is false:
  39. add 1 to {frozencounter.%arg-1%}
  40. send "&7[&cSS&7] &7%arg-1% &ahas been frozen." to players
  41. send "&7[&cSS&7] &cThis player has been frozen %{frozencounter.%arg-1%}% time"
  42. send "&f█████████" to arg 1
  43. send "&f████&c█&f████" to arg 1
  44. send "&f███&c█&0█&c█&f███" to arg 1
  45. send "&f██&c█&6█&0█&6█&c█&f██" to arg 1
  46. send "&f██&c█&6█&0█&6█&c█&f██ &eYou have been frozen by a staff member." to arg 1
  47. send "&f██&c█&6█&0█&6█&c█&f██ &eIf you disconnect you will be &4&lBANNED&e." to arg 1
  48. send "&f█&c█&6█████&c█&f█ &ePlease connect to our Discord server." to arg 1
  49. send "&c█&6███&0█&6███&c█ &7https://discord.gg/BBM4Uam" to arg 1
  50. send "&c█████████" to arg 1
  51. send "&f█████████" to arg 1
  52. send "&cYou most likely will be asked to do a screenshare to prove you are not hacking." to arg 1
  53. send "&cFailure to comply will result in a permanent ban." to arg 1
  54. set {%arg-1%.ss} to true
  55. set the arg-1's walk speed to 0
  56. set {_ss.coords.%arg-1%} to arg-1's location
  57. stop trigger
Advertisement
Add Comment
Please, Sign In to add comment