Just so you know, we don't know the file format for every file. If it's just a bunch of random characters, it's probably a .zip or .jar.
options:
#SVP ne pas desactiver
author: Sakiuy
addons: Skellet, SkRayFall, WildSkript, SkQuerry, Skript
#SVP ne pas desactiver
bankvar: {coins.%player%}
slot: 4
item: clock
name: Menu
pmenuitem: true
givecoins: 10
on right click with blaze rod:
if name of tool of player is "<gold>CHECKPOINT":
if {parkour.%player%.lastcp} is false:
message "Vous n'avez active aucun Ckeckpoint"
if {parkour.%player%.lastcp} is set:
teleport player to {parkour.%player%.lastcp}
message "<grey>Vous avez ete teleporte au dernier checkpoint"
on walk on iron block:
if {parkour.lock} is true:
message "Desolé pour le derengement mais je jump es temporairement fermer"
teleport player to {parkour.lockpoint}
stop
else:
send player title "<green>START" for 2 seconds
set {parkour.%player%.ig} to true
set {parkour.%player%.sec} to 0
set {parkour.%player%.min} to 0
set slot {@slot} of player to blaze rod named "<gold>CHECKPOINT"
on walk on gold block:
if {parkour.lock} is true:
message "Desolé pour le derengement mais je jump es temporairement fermer"
teleport player to {parkour.lockpoint}
stop
else:
send player title "<grey>CHECKPOINT" for 2 seconds
set {parkour.%player%.lastcp} to location of player
on walk on emerald block:
if {parkour.lock} is true:
message "Desolé pour le derengement mais je jump es temporairement fermer"
teleport player to {parkour.lockpoint}
stop
if {parkour.menuitem} is true:
if {parkour.menuitem} is true:
set slot {@slot} of player to {@item} named "{@name}"
send player title "<green>BRAVO" with subtitle "<grey>Tu as fini en %{parkour.%player%.min}% : %{parkour.%player%.sec}%" for 2 seconds
set {parkour.%player%.ig} to false
set {parkour.%player%.sec} to 0
set {parkour.%player%.min} to 0
set {parkour.%player%.lastcp} to false
teleport player to {parkour.start}
wait 2 seconds
send player title "<gold>+ {@givecoins} COINS" for 2 seconds
add {@givecoins} to {@bankvar}
else:
set slot {@slot} of player to air
send player title "<green>BRAVO" with subtitle "<grey>Tu as fini en %{parkour.%player%.min}% : %{parkour.%player%.sec}%" for 2 seconds
set {parkour.%player%.ig} to false
set {parkour.%player%.sec} to 0
set {parkour.%player%.min} to 0
set {parkour.%player%.lastcp} to false
teleport player to {parkour.start}
wait 2 seconds
send player title "<gold>+ 10 COINS" for 2 seconds
add 10 to {@bankvar}
on right click with barrier:
if name of tool of player is "QUITTER LE MODE D'EDITION":
set slot 0 of player to air
set slot 3 of player to air
set slot 4 of player to clock named "&7» &b&lMenu &7«"
set slot 5 of player to air
set slot 8 of player to air
message "<grey>Vous avez quitter le mode d'edition"
every 1 seconds in the world "lobby":
loop all players:
if {parkour.%loop-player%.ig} is true:
add 1 to {parkour.%loop-player%.sec}
show an action bar from "CHRONOS %{parkour.%loop-player%.min}% : %{parkour.%loop-player%.sec}%" to loop-player
if {parkour.%loop-player%.sec} is 59:
set {parkour.%loop-player%.sec} to -1
add 1 to {parkour.%loop-player%.min}
if {parkour.%loop-player%.min} is 59:
set {parkour.%loop-player%.min} to 0
command /parkour [<text>]:
trigger:
if arg-1 is not set:
if player is op:
message "<grey>&l+-------------+&4PARKOUR<grey>&l+-------------+"
message ""
message "/parkour start"
message "/parkour checkpoint"
message "/parkour reset"
message "/parkour setspawn"
message "/parkour lock"
message "/parkour dislock"
message "/parkour setlockpoint"
message "/parkour kit"
message ""
message "<grey>&l+----------------------------------+"
wait 1 second
message "INFOS"
message ""
message "Auteur : {@author}"
message "Addons : {@addons}"
message ""
message "INFOS"
else:
message "<grey>&l+-------------+&4PARKOUR<grey>&l+-------------+"
message ""
message "/parkour start"
message "/parkour checkpoint"
message "/parkour reset"
message ""
message "<grey>&l+----------------------------------+"
if arg-1 is "start":
teleport player to {parkour.start}
if arg-1 is "checkpoint" or "cp":
if {parkour.%player%.lastcp} is false:
message "Vous n'avez active aucun Ckeckpoint"
if {parkour.%player%.lastcp} is set:
teleport player to {parkour.%player%.lastcp}
message "<grey>Vous avez ete teleporte au dernier checkpoint"
if arg-1 is "reset":
set {parkour.%player%.sec} to 0
set {parkour.%player%.min} to 0
teleport player to {parkour.start}
clear {parkour.%player%.lastcp}
message "<grey>Votre partie de parkour a ete reset"
if arg-1 is "setspawn":
set {parkour.start} to location of player
message "<grey>Le spawn du parkour a ete mis a jour"
if arg-1 is "lock":
set {parkour.lock} to true
message "<grey>Le parkour a ete bloque"
if arg-1 is "dislock":
set {parkour.lock} to false
message "<grey>Le parkour a ete debloque"
if arg-1 is "setlockpoint":
set {parkour.lockpoint} to location of player
message "<grey>Le LockPoint a ete mis a jour"
if arg-1 is "kit":
set slot 3 of player to iron block named "Point de depart"
set slot 4 of player to gold block named "Point de checkpoint"
set slot 5 of player to emerald block named "Point de fin"
set slot 0 of player to barrier named "QUITTER LE MODE D'EDITION"
set slot 8 of player to barrier named "QUITTER LE MODE D'EDITION"