Bonjour / Bonsoir , J'ai un code d'antikillaura que j'ai modifié a ma sauce mais le problème est que, quand je suis trop éloigné de npc il ne se passe rien.
Si vous voulez m'aider merci de donner le code [Résolu] en entier ça serai simpas :DDD
Merci d'avance
kiki
command /warden [<text>] [<offline player>]:
description: Commandes de Warden
permission : warden.use
executable by: players
trigger:
if arg 1 is not set :
send "<light green>/warden create <reset>: Invoque Warden, à n'utiliser qu'une fois"
send "<gold>/warden move <reset>: Deplace warden jusqu'à vous"
send "<gold>/warden set <reset>: Definis l'endroit ou se teleportera Warden a la fin du check"
send "<gold>/warden lookatme <reset>: Permet de changer la direction de Warden"
send "<gold>/warden skin <player> <reset>: Permet de changer le skin de Warden"
send "<light red>/warden check <player> <reset>: Lance un contrôle de cheat sur un joueur"
if arg 1 is "create" :
create a citizen named "Warden" at location of player as a player
set citizen 6 nametag invisible
send "<white>[<light red>WARDEN<white>]<reset> Warden invoque, pret a agir !"
if arg 1 is "move" :
set {Warden.move} to location of player
loop all entities :
"%uncoloured name of loop-entity%" is "Warden"
teleport loop-entity to {Warden.move}
if arg 1 is "lookatme" :
make citizen 6 look at location of player
if arg 1 is "check" :
if arg 2 is not set :
send "<white>[<light red>WARDEN<white>]<reset> Veuillez spécifier une cible !"
stop trigger
loop all entities:
"%uncoloured name of loop-entity%" is "Warden"
set {checking1} to true
set {check.ff.%arg 2%} to true
teleport loop-entity 2 meter behind arg-2
wait 0.4 second
if {check1} is true :
delete {checking1}
delete {check1}
set {checking2} to true
add 1 to {ff.%arg 2%.alerte}
teleport loop-entity 5 meters above arg 2
make console execute command "/si &8[&4&lAntiCheat&8] &7%arg 2% Utilise un ForceField (%arg-2's ping%) [%{ff.%arg 2%.alerte}%]"
wait 0.2 second
if {check2} is true :
delete {checking2}
delete {check2}
add 1 to {ff.%arg 2%.alerte}
set {checking3} to true
teleport loop-entity 2 meter behind arg 2
make console execute command "/si &8[&4&lAntiCheat&8] &7%arg 2% Utilise un ForceField (%arg-2's ping%) [%{ff.%arg 2%.alerte}%]"
wait 0.2 second
if {check3} is true :
delete {checking3}
delete {check3}
add 1 to {ff.%arg 2%.alerte}
set {checking4} to true
teleport loop-entity 5 meters above arg 2
make console execute command "/si &8[&4&lAntiCheat&8] &7%arg 2% Utilise un ForceField (%arg-2's ping%) [%{ff.%arg 2%.alerte}%]"
wait 0.2 second
if {check4} is true :
delete {checking4}
delete {check4}
#execute console command "/kick %arg 2% <light red>KillAura"
set {check.ff.%arg 2%} to false
teleport loop-entity to {Warden.spawn}
if arg 1 is "set" :
set {Warden.spawn} to location of player
send "<white>[<light red>WARDEN<white>]<reset> Warden se reposera désormais en %{Warden.spawn}%!"
if arg 1 is "skin" :
if arg 2 is not set :
send "<light red>Veuillez specifier un nom de joueur"
change citizen 6 skin to "%arg 2%"
broadcast "<white>[<light red>WARDEN<white>]<reset> Warden prend l'apparence de <gold>%arg 2% <reset>!"
on npc left click:
if {check.ff.%player%} is true:
if {checking1} is true :
set {check1} to true
if {checking2} is true :
set {check2} to true
if {checking3} is true :
set {check3} to true
if {checking4} is true :
set {check4} to true
every 30 seconds:
loop all players:
if {ff.%loop-players%.alerte} > 1:
reduce {ff.%loop-players%.alerte} by 1
on quit:
clear {ff.%players%.alerte}
Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.
Question
kiki
Bonjour / Bonsoir , J'ai un code d'antikillaura que j'ai modifié a ma sauce mais le problème est que, quand je suis trop éloigné de npc il ne se passe rien.
Si vous voulez m'aider merci de donner le code [Résolu] en entier ça serai simpas :DDD
Merci d'avance
kiki
command /warden [<text>] [<offline player>]: description: Commandes de Warden permission : warden.use executable by: players trigger: if arg 1 is not set : send "<light green>/warden create <reset>: Invoque Warden, à n'utiliser qu'une fois" send "<gold>/warden move <reset>: Deplace warden jusqu'à vous" send "<gold>/warden set <reset>: Definis l'endroit ou se teleportera Warden a la fin du check" send "<gold>/warden lookatme <reset>: Permet de changer la direction de Warden" send "<gold>/warden skin <player> <reset>: Permet de changer le skin de Warden" send "<light red>/warden check <player> <reset>: Lance un contrôle de cheat sur un joueur" if arg 1 is "create" : create a citizen named "Warden" at location of player as a player set citizen 6 nametag invisible send "<white>[<light red>WARDEN<white>]<reset> Warden invoque, pret a agir !" if arg 1 is "move" : set {Warden.move} to location of player loop all entities : "%uncoloured name of loop-entity%" is "Warden" teleport loop-entity to {Warden.move} if arg 1 is "lookatme" : make citizen 6 look at location of player if arg 1 is "check" : if arg 2 is not set : send "<white>[<light red>WARDEN<white>]<reset> Veuillez spécifier une cible !" stop trigger loop all entities: "%uncoloured name of loop-entity%" is "Warden" set {checking1} to true set {check.ff.%arg 2%} to true teleport loop-entity 2 meter behind arg-2 wait 0.4 second if {check1} is true : delete {checking1} delete {check1} set {checking2} to true add 1 to {ff.%arg 2%.alerte} teleport loop-entity 5 meters above arg 2 make console execute command "/si &8[&4&lAntiCheat&8] &7%arg 2% Utilise un ForceField (%arg-2's ping%) [%{ff.%arg 2%.alerte}%]" wait 0.2 second if {check2} is true : delete {checking2} delete {check2} add 1 to {ff.%arg 2%.alerte} set {checking3} to true teleport loop-entity 2 meter behind arg 2 make console execute command "/si &8[&4&lAntiCheat&8] &7%arg 2% Utilise un ForceField (%arg-2's ping%) [%{ff.%arg 2%.alerte}%]" wait 0.2 second if {check3} is true : delete {checking3} delete {check3} add 1 to {ff.%arg 2%.alerte} set {checking4} to true teleport loop-entity 5 meters above arg 2 make console execute command "/si &8[&4&lAntiCheat&8] &7%arg 2% Utilise un ForceField (%arg-2's ping%) [%{ff.%arg 2%.alerte}%]" wait 0.2 second if {check4} is true : delete {checking4} delete {check4} #execute console command "/kick %arg 2% <light red>KillAura" set {check.ff.%arg 2%} to false teleport loop-entity to {Warden.spawn} if arg 1 is "set" : set {Warden.spawn} to location of player send "<white>[<light red>WARDEN<white>]<reset> Warden se reposera désormais en %{Warden.spawn}%!" if arg 1 is "skin" : if arg 2 is not set : send "<light red>Veuillez specifier un nom de joueur" change citizen 6 skin to "%arg 2%" broadcast "<white>[<light red>WARDEN<white>]<reset> Warden prend l'apparence de <gold>%arg 2% <reset>!" on npc left click: if {check.ff.%player%} is true: if {checking1} is true : set {check1} to true if {checking2} is true : set {check2} to true if {checking3} is true : set {check3} to true if {checking4} is true : set {check4} to true every 30 seconds: loop all players: if {ff.%loop-players%.alerte} > 1: reduce {ff.%loop-players%.alerte} by 1 on quit: clear {ff.%players%.alerte}3 réponses à cette question
Messages recommandés