Donc mon problème d'aujourd'hui est que j'ai un problème pour set le joueur si il n'a pas d'équipe set
Skript: 2.2
Addons: Tout les addons qu'il faut pour cela
Je vous drop TOUT mon code:
P.S: Des fois ça marche mais il ne se téléporte pas en même temps.
Citation
loop all players:if{team.%loop-player%} is not set:if size of{teambleu::*}>0:
stop
else:set{team.%loop-player%} to "bleu"
add loop-player to {teambleu::*}
teleport loop-player to {spawnbleu}set slot 0of loop-player to iron sword of knockback 2 and sharpness 1set slot 1of loop-player to diamond pickaxe of efficiency 3set slot 2of loop-player to 64 golden apple
set slot 3of loop-player to 64 blue clay
set slot 4of loop-player to 64 blue clay
set slot 5of loop-player to 64 blue clay
set slot 6of loop-player to 64 blue clay
set slot 7of loop-player to 64 blue clay
set slot 8of loop-player to 64 blue clay
equip loop-player with all leather armour
dye loop-player's helmet blue
dye loop-player's chestplate blue
dye loop-player's legging blue
dye loop-player's boots blue
set loop-player tab name to "&9%loop-player%"set loop-player's tag to "&9Bleu "
wait 1 tick
set loop-player's gamemode to survival
set{antimove} to true
play raw sound "note.pling" at loop-player with pitch 1 volume 0.5
wait 1 second
send loop-player title "&a2"
play raw sound "note.pling" at loop-player with pitch 1 volume 0.5
wait 1 second
send loop-player title "&a1"
play raw sound "note.pling" at loop-player with pitch 1 volume 0.5
wait 1 second
send loop-player title "&eGO !"
play raw sound "note.pling" at loop-player with pitch 8 volume 0.5delete{antimove}if size of{teamrouge::*}>0:set{team.%loop-player%} to "bleu"
add loop-player to {teambleu::*}
teleport loop-player to {spawnbleu}set slot 0of loop-player to iron sword of knockback 2 and sharpness 1set slot 1of loop-player to diamond pickaxe of efficiency 3set slot 2of loop-player to 64 golden apple
set slot 3of loop-player to 64 blue clay
set slot 4of loop-player to 64 blue clay
set slot 5of loop-player to 64 blue clay
set slot 6of loop-player to 64 blue clay
set slot 7of loop-player to 64 blue clay
set slot 8of loop-player to 64 blue clay
equip loop-player with all leather armour
dye loop-player's helmet blue
dye loop-player's chestplate blue
dye loop-player's legging blue
dye loop-player's boots blue
set loop-player tab name to "&9%loop-player%"set loop-player's tag to "&9Bleu "
wait 1 tick
set loop-player's gamemode to survival
set{antimove} to true
play raw sound "note.pling" at loop-player with pitch 1 volume 0.5
wait 1 second
send loop-player title "&a2"
play raw sound "note.pling" at loop-player with pitch 1 volume 0.5
wait 1 second
send loop-player title "&a1"
play raw sound "note.pling" at loop-player with pitch 1 volume 0.5
wait 1 second
send loop-player title "&eGO !"
play raw sound "note.pling" at loop-player with pitch 8 volume 0.5delete{antimove}else:if{team.%loop-player%} is "bleu":
send ""else:set{team.%loop-player%} to "rouge"
add loop-player to {teamrouge::*}
teleport loop-player to {spawnrouge}set slot 0of loop-player to iron sword of knockback 2 and sharpness 1set slot 1of loop-player to diamond pickaxe of efficiency 3set slot 2of loop-player to 64 golden apple
set slot 3of loop-player to 64 red clay
set slot 4of loop-player to 64 red clay
set slot 5of loop-player to 64 red clay
set slot 6of loop-player to 64 red clay
set slot 7of loop-player to 64 red clay
set slot 8of loop-player to 64 red clay
equip loop-player with all leather armour
dye loop-player's helmet red
dye loop-player's chestplate red
dye loop-player's legging red
dye loop-player's boots red
set loop-player tab name to "&c%loop-player%"set loop-player's tag to "&cRouge "
wait 1 tick
set loop-player's gamemode to survival
set{antimove} to true
play raw sound "note.pling" at loop-player with pitch 1 volume 0.5
wait 1 second
send loop-player title "&a2"
play raw sound "note.pling" at loop-player with pitch 1 volume 0.5
wait 1 second
send loop-player title "&a1"
play raw sound "note.pling" at loop-player with pitch 1 volume 0.5
wait 1 second
send loop-player title "&eGO !"
play raw sound "note.pling" at loop-player with pitch 8 volume 0.5delete{antimove}else:if{team.%loop-player%} is "bleu":
teleport loop-player to {spawnbleu}set slot 0of loop-player to iron sword of knockback 2 and sharpness 1set slot 1of loop-player to diamond pickaxe of efficiency 3set slot 2of loop-player to 64 golden apple
set slot 3of loop-player to 64 blue clay
set slot 4of loop-player to 64 blue clay
set slot 5of loop-player to 64 blue clay
set slot 6of loop-player to 64 blue clay
set slot 7of loop-player to 64 blue clay
set slot 8of loop-player to 64 blue clay
equip loop-player with all leather armour
dye loop-player's helmet blue
dye loop-player's chestplate blue
dye loop-player's legging blue
dye loop-player's boots blue
set loop-player tab name to "&9%loop-player%"set loop-player's tag to "&9Bleu "
wait 1 tick
set loop-player's gamemode to survival
set{antimove} to true
send loop-player title "&a3"
play raw sound "note.pling" at loop-player with pitch 1 volume 0.5
wait 1 second
send loop-player title "&a2"
play raw sound "note.pling" at loop-player with pitch 1 volume 0.5
wait 1 second
send loop-player title "&a1"
play raw sound "note.pling" at loop-player with pitch 1 volume 0.5
wait 1 second
send loop-player title "&eGO !"
play raw sound "note.pling" at loop-player with pitch 8 volume 0.5delete{antimove}if{team.%loop-player%} is "rouge":
teleport loop-player to {spawnrouge}set slot 0of loop-player to iron sword of knockback 2 and sharpness 1set slot 1of loop-player to diamond pickaxe of efficiency 3set slot 2of loop-player to 64 golden apple
set slot 3of loop-player to 64 red clay
set slot 4of loop-player to 64 red clay
set slot 5of loop-player to 64 red clay
set slot 6of loop-player to 64 red clay
set slot 7of loop-player to 64 red clay
set slot 8of loop-player to 64 red clay
equip loop-player with all leather armour
dye loop-player's helmet red
dye loop-player's chestplate red
dye loop-player's legging red
dye loop-player's boots red
set loop-player tab name to "&c%loop-player%"set loop-player's tag to "&cRouge "
wait 1 tick
set loop-player's gamemode to survival
set{antimove} to true
send loop-player title "&a3"
play raw sound "note.pling" at loop-player with pitch 1 volume 0.5
wait 1 second
send loop-player title "&a2"
play raw sound "note.pling" at loop-player with pitch 1 volume 0.5
wait 1 second
send loop-player title "&a1"
play raw sound "note.pling" at loop-player with pitch 1 volume 0.5
wait 1 second
send loop-player title "&eGO !"
play raw sound "note.pling" at loop-player with pitch 8 volume 0.5delete{antimove}
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
LOUDO
Bonjour !
Encore un problème x)
Donc mon problème d'aujourd'hui est que j'ai un problème pour set le joueur si il n'a pas d'équipe set
Skript: 2.2
Addons: Tout les addons qu'il faut pour cela
Je vous drop TOUT mon code:
P.S: Des fois ça marche mais il ne se téléporte pas en même temps.
Signalement modérateur
4 réponses à cette question
Messages recommandés