An unknown error

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

DuBistAcc.1

Member
May 27, 2018
10
0
0
32
Whenever I load the script is always that the script has an error.
And I do not know where this error is!

Skript version: 2.1.2
MC Version: 1.8

code_language.skript:
options:
    prefix: &8&l✕ &6&lNice&e&lHG &8» &7
    game: &8&l✕ &c&lHG &8» &7
    p: &8&l✕ &c&lHG &8» &7
    perm: &8&l✕ &6&lNice&e&lHG &8» &7You are not allowed to do that&8!
    ts: ts.baduhc.net
    un: Unknown command. Type '/help' for more help.
    discord: discord.baduhc.net
    shop: store.baduhc.net
    ticketsystem: support.baduhc.net
    web: baduhc.net
    pf: &7&l»
    ver: BA45
#MESSAGE
    jm1: Welcome to the game HG&8!
    jm2: When you see an Hacker use &a/report <player>
    jm3: &cHacking &7ore other &cUnauthorized client modification&7 are not &callowed&8!
    jstart: &7This HG-Round has already started&8! &7You are now a spectator&8!
    fstart: &aThe countdown has now started&8! &7The round will start soon&8!
    aftstart: &cThe HG round has already started&8!
    count20: &7The HG-Round starts in &620 seconds&8!
    count10: &7The HG-Round starts in &610 seconds&8!
    count5: &7The HG-Round starts in &65 seconds&8!
    count3: &7The HG-Round starts in &63 seconds&8!
    count2: &7The HG-Round starts in &62 seconds&8!
    count1: &7The HG-Round starts in &61 seconds&8!
    go: &aThe HG-Round has now begun&8! &6Good luck!
    nteam: &7&l» &c&lTeamming are not allowed in this round!
    pvp: &6&lPVP&7 starts in &a2 minutes&8!
    pvpon: &6&lPVP &7is now &aactive&8!
    tot: &cYou died&8! &7You are now a spectator&8!


on damage:
    if {pvp} is false:
        cancel event

on break:
    if {hg.utils} is false:
        cancel event
   
on inventory click:
    if {hg.utils} is false:
        cancel event
   
on drop:
    if {hg.utils} is false:
        cancel event
   
on place:
    if {hg.utils} is false:
        cancel event
   
on pick up:
    if {hg.utils} is false:
        cancel event
   
   
on join:
    if {hg.start} is false:
        execute console command "/tp %player% 0 100 0"
        set {null.point} to player's location
        clear player's inventory
        message "{@game} {@jm1}"
        message "{@game} {@jm2}"
        message "{@prefix} {@jm3}"
        send player title "" with subtitle "{@nteam}" for 2 seconds
        set slot 6 of player to feather named "&7&l» &a&lInformations"
        set slot 4 of player to chest named "&7&l» &9&lKits"
        set slot 2 of player to arrow named "&7&l» &b&lTipps"
        set join message to ""
        broadcast "&a&l» &2%player%"
    if {hg.start} is true:
        message "{@game} {@jstart}"
        set join message to ""

       
       
command /start:
    permission: nicehg.titan
    permission message: {@perm}
    aliases: /fs
    trigger:
        if {hg.start} is false:
            message "{@game} {@fstart}"
            execute console command "/§forcecountdown"
        if {hg.start} is true:
            message "{@game} {@aftstart}"
           
command /§countdown:
    trigger:
        broadcast "{@game} {@count20}"
        wait 10 seconds
        broadcast "{@game} {@count10}"
        wait 5 seconds
        broadcast "{@game} {@count5}"
        wait 2 seconds
        broadcast "{@game} {@count3}"
        wait 1 second
        broadcast "{@game} {@count2}"
        wait 1 second
        broadcast "{@game} {@count1}"
        set {hg.start} to true
        execute console command "/§tpall"
        loop all players:
            heal the loop-player
            set food bar to 20
            clear loop-player's inventory
            apply slowness 50 to the loop-player for 3 seconds
            apply resistance 50 to the loop-player for 3 seconds
            apply blindness 50 to the loop-player for 3 seconds
        wait 3 seconds
        set {hg.utils} to true
        broadcast "{@game} {@go}"
        broadcast "{@game} {@nteam}"
        broadcast "{@game} {@pvp}"
        wait 2 minutes
        set {pvp} to true
        broadcast "{@game} {@pvpon}"
   
command /§forcecountdown:
    trigger:
        broadcast "{@game} {@count5}"
        wait 2 seconds
        broadcast "{@game} {@count3}"
        wait 1 second
        broadcast "{@game} {@count2}"
        wait 1 second
        broadcast "{@game} {@count1}"
        set {hg.start} to true
        execute console command "/§tpall"
        loop all players:
            heal the loop-player
            set food bar to 20
            clear loop-player's inventory
            apply slowness 50 to the loop-player for 3 seconds
            apply resistance 50 to the loop-player for 3 seconds
            apply blindness 50 to the loop-player for 3 seconds
        wait 3 seconds
        set {hg.utils} to true
        broadcast "{@game} {@go}"
        broadcast "{@game} {@nteam}"
        broadcast "{@game} {@pvp}"
        wait 2 minutes
        set {pvp} to true
        broadcast "{@game} {@pvpon}"
   
on respawn:
    wait 5 ticks
    execute player command "/§tot"

on death:
    wait 5 ticks
    execute player command "/§tot"
   

   
command /§tpall:
    trigger:
        teleport all players to {null.point}
   
   
command /reset:
    trigger:
        message "RESET!"
        set {hg.start} to false
        set {hg.utils} to false
        set {pvp} to false
 
Status
Not open for further replies.