Advertisement
ninjidufroid

/Faction & /setFaction

Dec 1st, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /setfaction:
  2.     aliases: setspawn
  3.     permission: survival.pvp.setfaction
  4.     trigger:
  5.         set {faction} to location of player
  6.         send "&6Tu viens de créer le point d'aparition du &espawn du serveur." to player
  7. command /faction:
  8.     aliases: spawn
  9.     trigger:
  10.         set {faction.%player%} to "1"
  11.         send "&eSurvival &6P&ev&6P &8> &7Teleportation dans 5 secondes"
  12.         wait 1 seconds
  13.         if {faction.%player%} is "0":
  14.             send "&eSurvival &6P&ev&6P &8> &cTeleportation raté tu as bougé"
  15.             stop
  16.         else:
  17.             send "&eSurvival &6P&ev&6P &8> &74"
  18.             wait 1 seconds
  19.             if {faction.%player%} is "0":
  20.                 send "&eSurvival &6P&ev&6P &8> &cTeleportation raté tu as bougé"
  21.                 stop
  22.             else:
  23.                 send "&eSurvival &6P&ev&6P &8> &73"
  24.                 wait 1 seconds
  25.                 if {faction.%player%} is "0":
  26.                     send "&eSurvival &6P&ev&6P &8> &cTeleportation raté tu as bougé"
  27.                     stop
  28.                 else:
  29.                     send "&eSurvival &6P&ev&6P &8> &72"
  30.                     wait 1 seconds
  31.                     if {faction.%player%} is "0":
  32.                         send "&eSurvival &6P&ev&6P &8> &cTeleportation raté tu as bougé"
  33.                         stop
  34.                     else:
  35.                         send "&eSurvival &6P&ev&6P &8> &71"
  36.                         wait 1 seconds
  37.                         if {faction.%player%} is "0":
  38.                             send "&eSurvival &6P&ev&6P &8> &cTeleportation raté tu as bougé"
  39.                             stop
  40.                         else:
  41.                             teleport the player to {faction}
  42.                             send "&eSurvival &6P&ev&6P &8> &7Vous etes au metrosse" to player
  43. on any move:
  44.     if {faction.%player%} is "1":
  45.         set {faction.%player%} to "0"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement