Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /ss [<player>]:
- description: Freeze the player and send them a request to join TS!
- permission: screenshare.freeze
- permission message: &cYou do not have access to this command!
- executable by: players
- aliases: /ss,/screenshare,/freeze
- trigger:
- if arg 1 is not set:
- send "&cError: &7You must enter the name of the player for the command to be executed." to player
- if arg 1 is set:
- if {%arg-1%.ss} is true:
- send "&7[&cSS&7] &7%arg-1% &ais no longer frozen!" to player
- send "&7[&cSS&7] &aYou are no longer frozen!" to arg 1
- set {%arg-1%.ss} to false
- set the arg-1's walk speed to 1
- delete {_ss.coords.%arg-1%}
- stop trigger
- if {%arg-1%.ss} is not set:
- set {%arg-1%.ss} to true
- add 1 to {frozencounter.%arg-1%}
- send "&7[&cSS&7] &cThis player has been frozen %{frozencounter.%arg-1%}% times."
- send "&7[&cSS&7] &7%arg-1% &ahas been frozen." to player
- send "&f█████████" to arg 1
- send "&f████&c█&f████" to arg 1
- send "&f███&c█&0█&c█&f███" to arg 1
- send "&f██&c█&6█&0█&6█&c█&f██" to arg 1
- send "&f██&c█&6█&0█&6█&c█&f██ &eYou have been frozen by a staff member." to arg 1
- send "&f██&c█&6█&0█&6█&c█&f██ &eIf you disconnect you will be &4&lBANNED&e." to arg 1
- send "&f█&c█&6█████&c█&f█ &ePlease connect to our Discord server." to arg 1
- send "&c█&6███&0█&6███&c█ &7https://discord.gg/BBM4Uam" to arg 1
- send "&c█████████" to arg 1
- send "&f█████████" to arg 1
- send "&cYou most likely will be asked to do a screenshare to prove you are not hacking." to arg 1
- send "&cFailure to comply will result in a permanent ban." to arg 1
- set the arg-1's walk speed to 0
- set {_ss.coords.%arg-1%} to arg-1's location
- stop trigger
- if {%arg-1%.ss} is false:
- add 1 to {frozencounter.%arg-1%}
- send "&7[&cSS&7] &7%arg-1% &ahas been frozen." to players
- send "&7[&cSS&7] &cThis player has been frozen %{frozencounter.%arg-1%}% time"
- send "&f█████████" to arg 1
- send "&f████&c█&f████" to arg 1
- send "&f███&c█&0█&c█&f███" to arg 1
- send "&f██&c█&6█&0█&6█&c█&f██" to arg 1
- send "&f██&c█&6█&0█&6█&c█&f██ &eYou have been frozen by a staff member." to arg 1
- send "&f██&c█&6█&0█&6█&c█&f██ &eIf you disconnect you will be &4&lBANNED&e." to arg 1
- send "&f█&c█&6█████&c█&f█ &ePlease connect to our Discord server." to arg 1
- send "&c█&6███&0█&6███&c█ &7https://discord.gg/BBM4Uam" to arg 1
- send "&c█████████" to arg 1
- send "&f█████████" to arg 1
- send "&cYou most likely will be asked to do a screenshare to prove you are not hacking." to arg 1
- send "&cFailure to comply will result in a permanent ban." to arg 1
- set {%arg-1%.ss} to true
- set the arg-1's walk speed to 0
- set {_ss.coords.%arg-1%} to arg-1's location
- stop trigger
Advertisement
Add Comment
Please, Sign In to add comment