Youmix Posté(e) le 21 octobre 2015 Posté(e) le 21 octobre 2015 I) SKC4 c'est quoi ?. Skc4 c'est un skript, simple de compréhension mais il faut des connaissances. Alors pour commencer le skript (Skc4). Utilise des variables et des enregistrements des locations des blocs: Il utilise aussi des beacons comme emplacement de c4 (pour le c4). Pour utiliser le c4, il vous faut 1 nether quartz en main puis tapé la commande /c4: (Qui renommera l'item "C4") Alors à partir de la vous pouvez commencer à placer le c4. Puis si vous voulez le désactiver, il faut faire clic droit avec un "Tripwire hook" renommé "Désactiver le c4". II) Code. command /c4: permission: c4.admin permission message: &cVous n'avez pas la permission trigger: if the player is holding a Nether Quartz: set the name of tool of player to "&cC4" else: send "&a Vous devez avoir un &6Nether Quartz&a en main" to the player command /c4des: permission: c4des.admin permission message: &cVous n'avez pas la permission trigger: if the player is holding a Tripwire hook: set the name of tool of player to "&cDésactiver le C4" else: send "&a Vous devez avoir un &6Tripwire hook&a en main" to the player on rightclick on Beacon: cancel event if the player is holding a nether quartz: if name of held item is "&cC4": remove 1 nether quartz from player wait 1 ticks play mob spawner flames at the block to the player wait 3 seconds play mob spawner flames at the block to the player wait 3 seconds play mob spawner flames at the block to the player wait 1 tick play mob spawner flames at the block to the player wait 1 tick set {explosionc4.des.%location of block%} to true wait 1 tick set {pos.%location of block%} to location of block wait 1 tick set {blocked.c4.%location of block%} to true wait 1 tick broadcast "&c&lVous avez 2 minute pour désactiver le c4 en (XYZ: %{pos.%location of block%}%)" wait 1 tick play mob spawner flames at the block to the player wait 2 seconds play mob spawner flames at the block to the player wait 2 seconds play mob spawner flames at the block to the player wait 1 tick play mob spawner flames at the block to the player wait 1 tick wait 2 minutes #minute if {explosionc4.des.%location of block%} is true: create explosion of force 0 at event-block broadcast "&c&lLa Charge de c4 en (XYZ: %{pos.%location of block%}%) a explosée" wait 1 seconds loop entities in radius 25 around event-block: kill loop-entity send "&c&lVous êtes mort par un c4" to loop-entity else: message "&c&lEmplacement à c4 (Térroriste autorisé)" on rightclick on Beacon: if the player is holding a Tripwire hook: if name of held item is "&cDésactiver le C4": if {blocked.c4.%location of block%} is true: set {blocked.c4.%location of block%} to false wait 1 ticks remove 1 tripwire hook from player play mob spawner flames at the block to the player wait 2 seconds play mob spawner flames at the block to the player wait 2 seconds play mob spawner flames at the block to the player wait 1 tick play mob spawner flames at the block to the player wait 1 tick message "&c&l20 secondes avant désactivation" wait 10 seconds play mob spawner flames at the block to the player wait 2 seconds play mob spawner flames at the block to the player wait 2 seconds play mob spawner flames at the block to the player wait 1 tick play mob spawner flames at the block to the player wait 1 tick message "&c&l10 secondes avant désactivation" play mob spawner flames at the block to the player wait 2 seconds play mob spawner flames at the block to the player wait 2 seconds play mob spawner flames at the block to the player wait 1 tick play mob spawner flames at the block to the player wait 10 seconds delete {explosionc4.des.%location of block%} wait 1 tick broadcast "&c&lLa charge de c4 en (XYZ: %{pos.%location of block%}%) a été désactivée"
kumakuma215 Posté(e) le 21 octobre 2015 Posté(e) le 21 octobre 2015 Bon Skript pour faire des CS:GO MC (ou gmod je sais plus)
Imperial_Crise Posté(e) le 22 octobre 2015 Posté(e) le 22 octobre 2015 Gg youmix et deso je suis pas assez dispo pour les skript ...
Im_PasteK Posté(e) le 23 octobre 2015 Posté(e) le 23 octobre 2015 I) SKC4 c'est quoi ?. Skc4 c'est un skript, simple de compréhension mais il faut des connaissances. Alors pour commencer le skript (Skc4). Utilise des variables et des enregistrements des locations des blocs: Il utilise aussi des beacons comme emplacement de c4 (pour le c4). Pour utiliser le c4, il vous faut 1 nether quartz en main puis tapé la commande /c4: (Qui renommera l'item "C4") Alors à partir de la vous pouvez commencer à placer le c4. Puis si vous voulez le désactiver, il faut faire clic droit avec un "Tripwire hook" renommé "Désactiver le c4". II) Code. command /c4: permission: c4.admin permission message: &cVous n'avez pas la permission trigger: if the player is holding a Nether Quartz: set the name of tool of player to "&cC4" else: send "&a Vous devez avoir un &6Nether Quartz&a en main" to the player command /c4des: permission: c4des.admin permission message: &cVous n'avez pas la permission trigger: if the player is holding a Tripwire hook: set the name of tool of player to "&cDésactiver le C4" else: send "&a Vous devez avoir un &6Tripwire hook&a en main" to the player on rightclick on Beacon: cancel event if the player is holding a nether quartz: if name of held item is "&cC4": remove 1 nether quartz from player wait 1 ticks play mob spawner flames at the block to the player wait 3 seconds play mob spawner flames at the block to the player wait 3 seconds play mob spawner flames at the block to the player wait 1 tick play mob spawner flames at the block to the player wait 1 tick set {explosionc4.des.%location of block%} to true wait 1 tick set {pos.%location of block%} to location of block wait 1 tick set {blocked.c4.%location of block%} to true wait 1 tick broadcast "&c&lVous avez 2 minute pour désactiver le c4 en (XYZ: %{pos.%location of block%}%)" wait 1 tick play mob spawner flames at the block to the player wait 2 seconds play mob spawner flames at the block to the player wait 2 seconds play mob spawner flames at the block to the player wait 1 tick play mob spawner flames at the block to the player wait 1 tick wait 2 minutes #minute if {explosionc4.des.%location of block%} is true: create explosion of force 0 at event-block broadcast "&c&lLa Charge de c4 en (XYZ: %{pos.%location of block%}%) a explosée" wait 1 seconds loop entities in radius 25 around event-block: kill loop-entity send "&c&lVous êtes mort par un c4" to loop-entity else: message "&c&lEmplacement à c4 (Térroriste autorisé)" on rightclick on Beacon: if the player is holding a Tripwire hook: if name of held item is "&cDésactiver le C4": if {blocked.c4.%location of block%} is true: set {blocked.c4.%location of block%} to false wait 1 ticks remove 1 tripwire hook from player play mob spawner flames at the block to the player wait 2 seconds play mob spawner flames at the block to the player wait 2 seconds play mob spawner flames at the block to the player wait 1 tick play mob spawner flames at the block to the player wait 1 tick message "&c&l20 secondes avant désactivation" wait 10 seconds play mob spawner flames at the block to the player wait 2 seconds play mob spawner flames at the block to the player wait 2 seconds play mob spawner flames at the block to the player wait 1 tick play mob spawner flames at the block to the player wait 1 tick message "&c&l10 secondes avant désactivation" play mob spawner flames at the block to the player wait 2 seconds play mob spawner flames at the block to the player wait 2 seconds play mob spawner flames at the block to the player wait 1 tick play mob spawner flames at the block to the player wait 10 seconds delete {explosionc4.des.%location of block%} wait 1 tick broadcast "&c&lLa charge de c4 en (XYZ: %{pos.%location of block%}%) a été désactivée" Super Skript, continue comme ça !
Messages recommandés