Version de Minecraft : 1.12.2 Version de Skript : 2.2-dev32c
Addons utilisés:aucun
Type du skript : Ecrivez ici le type de skript souhaité
Description du script :
Bonjour à tous et a toute,
Alors voila il y as 2 jours je me suis dis que j'allais faire un skript de tntwar... Mais a mon grand désarroi une partie m’échappe.
Celle ou après la partie la map ce reconstruit d'elle même...
#===================================================================================================================#
#= =#
#= =#
#= TnTwar system =#
#= By 010101012 [Trinity server] =#
#= =#
#= =#
#===================================================================================================================#
variables:
{Tnt.Timer} = 0
{counterbloc} = 1
{bloc.counterbloc} = 0
{bloc.counterbloc.bloctype} = ""
{Tnt.game} = false
command /Tntwar join:
aliases: /tw join
trigger:
set {Tnt.game} to true
set {Tnt.Timer} to 10
set {counterbloc} to 0
#===========================================================================================================#
#= Mur =#
#===========================================================================================================#
set {y} to 0
set {z} to -1
loop 49 times:
add 1 to {z}
set {y} to 0
loop 56 times:
set block at location at 206, 59-{z}, 277+{y} in world "Tntwar" to Red Hardened Clay
set block at location at 207, 59-{z}, 277+{y} in world "Tntwar" to sand
set block at location at 208, 59-{z}, 277+{y} in world "Tntwar" to sand
set block at location at 209, 59-{z}, 277+{y} in world "Tntwar" to sand
set block at location at 210, 59-{z}, 277+{y} in world "Tntwar" to Blue Hardened Clay
set block at location at 206, 10, 277+{y} in world "Tntwar" to glowstone
set block at location at 207, 10, 277+{y} in world "Tntwar" to glowstone
set block at location at 208, 10, 277+{y} in world "Tntwar" to glowstone
set block at location at 209, 10, 277+{y} in world "Tntwar" to glowstone
set block at location at 210, 10, 277+{y} in world "Tntwar" to glowstone
add 1 to {y}
#===========================================================================================================#
#= Timer =#
#===========================================================================================================#
message "La partie Commence" to player
while {Tnt.Timer} is bigger than 0:
subtract 1 from {Tnt.Timer}
send {Tnt.Timer} to player
wait 1 second
message "fin" to player
set {Tnt.game} to false
#===========================================================================================================#
#= Effacement des blocs =#
#===========================================================================================================#
while {counterbloc} is bigger than 0:
if {bloc.%{counterbloc}%.bloctype} is set:
Set the block at {bloc.%{counterbloc}%} to {bloc.%{counterbloc}%.bloctype}
subtract 1 from {counterbloc}
else:
Set the block at {bloc.%{counterbloc}%} to air
subtract 1 from {counterbloc}
#===========================================================================================================#
#= placement en jeu =#
#===========================================================================================================#
on place:
if player is in world "Tntwar":
if {Tnt.game} = true:
add 1 to {counterbloc}
set {bloc.%{counterbloc}%} to event-location
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
010101012
Version de Minecraft : 1.12.2
Version de Skript : 2.2-dev32c
Addons utilisés: aucun
Type du skript : Ecrivez ici le type de skript souhaité
Description du script :
Bonjour à tous et a toute,
Alors voila il y as 2 jours je me suis dis que j'allais faire un skript de tntwar... Mais a mon grand désarroi une partie m’échappe.
Celle ou après la partie la map ce reconstruit d'elle même...
Si on pouvais m'aidé ^^'
7 réponses à cette question
Messages recommandés