Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- perm: skypot.staff
- perm.msg: &4&oVous n'avez pas la permission.
- command /mod:
- permission: {@perm}
- permission message: {@perm.msg}
- description: Skript de Modération pour Skypot !
- trigger:
- clear player's inventory
- heal player
- set the player's gamemode to creative
- set player's fly mode to true
- wait 1 second
- give a stick of unbreaking 3 named "&6Téléporteur random" to the slot 2 of player
- give a sugar of unbreaking 3 named "&9Raffraichir les Joueurs" to the slot 3 of player
- give a wooden sword of knockback 5 named "&aKNOCKBACK 5" to the slot 0 of player
- if {vanish.%player%} is false:
- give a light green dye named "&aVanish &7[&cOFF&7]" to the slot 8 of player
- else if {vanish.%player%} is true:
- give a light green dye named "&aVanish &7[&aON&7]" to the slot 8 of player
- reveal player to all players
- send "&a/mod Effectué." to executor
- execute command "playsound note.snare %player%"
- on join:
- set {vanish.%player%} to false
- set {slow.%player%} to false
- reveal player to all players
- on right click with stick:
- if name of player's tool is "&6Téléporteur random":
- teleport player to (random player out of all players)
- if random player out of all players is player:
- send "&7Le RANDOM TP est tombé sur vous. Veuillez réessayez."
- stop
- else if random player out of all players is not player:
- loop all players in radius 3 around player:
- set {_lol} to "%loop-player%"
- send "&2Vous avez été téléporter à &c%{_lol}%&7."
- set the player's gamemode to creative
- set player's fly mode to true
- on rightclick with light green dye:
- if name of player's tool contains "&aVanish":
- if {vanish.%player%} is false:
- hide player to all players
- send "&cPlus personne ne vous vois."
- set name of player's tool to "&aVanish &7[&aON&7]"
- set {vanish.%player%} to true
- set the player's gamemode to creative
- set player's fly mode to true
- else if {vanish.%player%} is true:
- set the player's gamemode to creative
- set player's fly mode to true
- reveal player to all players
- send "&aVous êtes de nouveau visible."
- set {vanish.%player%} to false
- set name of player's tool to "&aVanish &7[&cOFF&7]"
- on teleport:
- if {vanish.%player%} is true:
- set the player's gamemode to creative
- set player's fly mode to true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement