LeCraftDeOuf. Posté(e) le 9 avril 2017 Posté(e) le 9 avril 2017 Bonjour Ou Bonsoir :p J'me présente je me appelle Henry, (Jrigole !) Nah Plus sérieusement, jvien vous voir pour finir mon skript de Freeze Donc J'aimerai que quand le joueur est freeze cela lui met un "ice" sur la tête, De plus ça lui jete un feux d'artifice puis sa l'entoure de block comme défini dans le Screenshot (si possible incassable pour tous les joueurs), j'aimerai donc que quand il soient unfreeze sa lui remet son casque (s'il en avais un) et sa retire les block. options: PrefixMod: &7&lModération » #===================================# #---- Freeze ----# #===================================# command /freeze [<player>] [<text>]: aliases: gel permission: staff.use permission message: Tu n'as pas le droit de Freeze ! trigger: if arg 1 is online: if arg 1 is not set: if {moderation.freezeverif.%arg 1%} is not set: send "{@PrefixMod} &7Donne une raison !" to player if {moderation.freezeverif.%arg 1%} is true: send "{@PrefixMod} &7Ce joueur est déja freeze ! (/unfreeze, /ungel)" to player else: if {moderation.freezeverif.%arg 1%} is not set: send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send " " to arg 1 send "&6&l<<&m &r&1&lActasia&r&6&l&m &r&6&l>>" to arg 1 send " " send " &cTu as été &c&lFreeze &cpar &6%player% &c!" to arg 1 send " " send " &4&lVenez teamspeak:" to arg 1 send " &7&lactasia.miki-heberg.fr" to arg 1 send " " send " &cEn cas de déconnexion, tu seras sanctionné d'un &c<empban &c!" to arg 1 send " " to arg 1 send "&6&l<<&m &r&1&lActasia&r&6&l&m &r&6&l>>" to arg 1 send "&6&l<<&m &r&1&lActasia&r&6&l&m &r&6&l>>" to player send " " to player send " &7Tu as &7&lFreeze &7le Joueur &e%arg 1%" to player send " " to player send "&6&l<<&m &r&1&lActasia&r&6&l&m &r&6&l>>" to player apply jump boost 150 to arg 1 for 999 days apply slowness 150 to arg 1 for 999 days set action bar of arg 1 to "&cTu as été &c&lFreeze &cpar &6%player%" set action bar of player to "&cTu à freeze &6%arg 1%" set {moderation.freezeverif.%arg 1%} to true else: send "{@PrefixMod} &7Séléctionne un Joueur en Ligne !" to player command /unfreeze [<player>]: aliases: ungel permission: staff.use permission message: Tu n'as pas le droit d'UnFreeze ! trigger: if arg 1 is set: delete {moderation.freezeverif.%arg 1%} send "&6&l<<&m &r&1&lActasia&r&6&l&m &r&6&l>>" to player send " " to player send " &7Tu as retirer le &7&lFreeze &7du Joueur &c%arg 1%" to player send " " to player send "&6&l<<&m &r&1&lActasia&r&6&l&m &r&6&l>>" send "&6&l<<&m &r&1&lActasia&r&6&l&m &r&6&l>>" to arg 1 send " " to arg 1 send " &cTu as été &c&lUnFreeze" to arg 1 send " " to arg 1 send "&6&l<<&m &r&1&lActasia&r&6&l&m &r&6&l>>" to arg 1 delete {moderation.freezeverif.%arg 1%} remove jump boost from arg 1 remove slowness from arg 1 else: send "{@PrefixMod} &7Selectionne un joueur !" command /test: trigger: broadcast "&c&lConsole&r&6 à banni temporairement &c&l%player%&r&6 pour &c19 jours 13 heures 59 minutes&6: &9Déconnexion en Freeze/Refus Vérif !&6." on quit: if {moderation.freezeverif.%player%} is true: execute console command "/tempban %player% 30d &9Déconnexion en Freeze/Refus Vérif !" broadcast "&c&lConsole&r&6 à banni temporairement &c&l%player%&r&6 pour &c19 jours 13 heures 59 minutes&6: &9Déconnexion en Freeze/Refus Vérif !&6." delete {moderation.freezeverif.%player%} on command "/spawn": if {moderation.freezeverif.%player%} is true: cancel event send "{@PrefixMod} &7Tu ne peux pas executer de commande !" to player on command "/warp": if {moderation.freezeverif.%player%} is true: cancel event send "{@PrefixMod} &7Tu ne peux pas executer de commande !" to player on place: if {moderation.freezeverif.%player%} is true: cancel event send "{@PrefixMod} &7Tu ne peux pas placer de blocks !" to player on break: if {moderation.freezeverif.%player%} is true: cancel event send "{@PrefixMod} &7Tu ne peux pas casser de blocks" to player on damage: if {moderation.freezeverif.%attacker%} is true: cancel event send "{@PrefixMod} &7Tu ne peux pas donner de coup !" to attacker on pickup: if {moderation.freezeverif.%player%} is true: cancel event on drop: if {moderation.freezeverif.%player%} is true: send "{@PrefixMod} &7Tu ne peux pas jeter des items !" to player cancel event Merci Beaucoup :D
LeCraftDeOuf. Posté(e) le 9 avril 2017 Auteur Posté(e) le 9 avril 2017 si il à des modification à faire n'hésite pas
iLaZz Posté(e) le 9 avril 2017 Posté(e) le 9 avril 2017 options: PrefixMod: &7&lModération » command /freeze [<offline player>] [<text>]: aliases: /gel permission: staff.use permission message: Tu n'as pas le droit de Freeze trigger: if arg 1 is set: if arg 1 is not name of player: if arg 1 is online: if arg 2 is not set: send "{@PrefixMod} &7Donne une raison!" else if {moderation.freezeverif.%arg 1%} is true: send "{@PrefixMod} &7Ce joueur est déjà freeze (/freeze :/unfreeze)" else if {moderation.freezeverif.%arg 1%} is not set: loop 100 times: send "" to arg 1 # Casque # ------ if player's helmet is not air: set {_helmet.%player%} to player's helmet set player's helmet to ice launch firework at arg-1 timed 0 set {_block} to block at location (x-coordinate of arg 1 + 1, y-coordinate of arg-1, z-coordinate of arg 1 + 1) set {_block2} to block at location (x-coordinate of arg 1 + -1, y-coordinate of arg 1 + 2, z-coordinate of arg 1 - 1) loop blocks within {_block} to {_block2}: set loop-block to 95:3 add loop-block to {_block.%arg-1%::*} send "&6&l<<&m &r&1&lActasia&r&6&l&m &r&6&l>>" to arg 1 send " " send " &cTu as été &c&lFreeze &cpar &6%player% &c!" to arg 1 send " " send " &4&lVenez teamspeak:" to arg 1 send " &7&lactasia.miki-heberg.fr" to arg 1 send " " send " &cEn cas de déconnexion, tu seras sanctionné d'un &c<empban &c!" to arg 1 send " " to arg 1 send "&6&l<<&m &r&1&lActasia&r&6&l&m &r&6&l>>" to arg 1 send "&6&l<<&m &r&1&lActasia&r&6&l&m &r&6&l>>" to player send " " to player send " &7Tu as &7&lFreeze &7le Joueur &e%arg 1%" to player send " " to player send "&6&l<<&m &r&1&lActasia&r&6&l&m &r&6&l>>" to player set {moderation.freezeverif.%arg 1%} to true while {moderation.freezeverif.%arg 1%} is set: if {moderation.freezeverif.%arg 1%} is true: apply slowness 250 to arg 1 for 5 seconds apply jump boost 250 to arg 1 for 5 seconds apply blindness 250 to arg 1 for 5 seconds else if {moderation.freezeverif.%arg 1%} is false: clear {moderation.freezeverif.%arg 1%} loop {_block.%arg-1%::*}: set block at loop-value to air set helmet of arg-1 to air wait 1 tick set helmet of arg-1 to {_helmet.%arg-1%} wait 5 second else: send "{@PrefixMod} &7Sélectionne un joueur connecté" else: send "{@PrefixMod} &7Sélectionne un joueur connecté" else: send "{@PrefixMod} &7Sélectionne un joueur connecté" command /unfreeze [<offline player>]: aliases: ungel permission: staff.use permission message: Tu n'as pas le droit d'UnFreeze ! trigger: if arg 1 is set: if arg-1 is not name of player: if arg-1 is online: set {moderation.freezeverif.%arg 1%} to false # Cela clear la variable automatiquement grâce à la boucle du haut # ---------------------------------------------------------------- send "&6&l<<&m &r&1&lActasia&r&6&l&m &r&6&l>>" to player send " " to player send " &7Tu as retirer le &7&lFreeze &7du Joueur &c%arg 1%" to player send " " to player send "&6&l<<&m &r&1&lActasia&r&6&l&m &r&6&l>>" to player send "&6&l<<&m &r&1&lActasia&r&6&l&m &r&6&l>>" to arg 1 send " " to arg 1 send " &cTu as été &c&lUnFreeze" to arg 1 send " " to arg 1 send "&6&l<<&m &r&1&lActasia&r&6&l&m &r&6&l>>" to arg 1 else: send "{@PrefixMod} &7Sélectionne un joueur connecté" else: send "{@PrefixMod} &7Sélectionne un joueur connecté" else: send "{@PrefixMod} &7Sélectionne un joueur connecté" on quit: if {moderation.freezeverif.%player%} is true: execute console command "/tempban %player% 30d &9Déconnexion en Freeze/Refus Vérif !" broadcast "&c&lConsole&r&6 à banni temporairement &c&l%player%&r&6 pour &c19 jours 13 heures 59 minutes&6: &9Déconnexion en Freeze/Refus Vérif !&6." set {moderation.freezeverif.%player%} to false # Cela clear la variable automatiquement grâce à la boucle du haut # ---------------------------------------------------------------- on break: if {moderation.freezeverif.%player%} is true: cancel event else: loop all players in radius 2 around event-block: if {moderation.freezeverif.%loop-player%} is true: cancel event on place: if {moderation.freezeverif.%player%} is true: cancel event else: loop all players in radius 2 around event-block: if {moderation.freezeverif.%loop-player%} is true: cancel event on damage: if {moderation.freezeverif.%attacker%} is true: cancel event else if {moderation.freezeverif.%victim%} is true: cancel event on pickup: if {moderation.freezeverif.%player%} is true: cancel event on inventory click: if {moderation.freezeverif.%player%} is true: cancel event Comme addon il te faut Skelett.
LeCraftDeOuf. Posté(e) le 9 avril 2017 Auteur Posté(e) le 9 avril 2017 Jgo le teste Maintenant merci :p
LeCraftDeOuf. Posté(e) le 11 avril 2017 Auteur Posté(e) le 11 avril 2017 Bonjour, Bonsoir Merci, Mais J'ai vu Que s'il le joueur est a coté d'un mur cela casse le mur sans le réparé par la suite :/ Donc Si Vous avez une solution ca serai sympa Ou enlever les block qui l'entour si vous en n'avez pas merci :D
Messages recommandés