#Koth Key Thing.

1 messages · Page 1 of 1 (latest)

placid sonnet
#

this is the line thats wrong

#
    loop all players:
        if {skKoth} is true:
            if distance between loop-player and {skKoth.LOCATION} is less than 3:
                if {skKoth::Timer::%loop-player%} is greater than {skKoth.TimeLimit}:
                    set {skKoth} to false
                    set {skKoth::Timer::%loop-players%} to 0
                    send title "%loop-player% Just won the koth!" to players
                    make console execute command: "pcrates giveKey Koth %player% 1"```
#

well the last line is whats wrong

#

"make console execute command: "pcrates giveKey Koth %player% 1""

upper bloom
#

loop-player

#

not player

placid sonnet
#

ok

#

it says its not a location

upper bloom
#

remove the colon after command

placid sonnet
#

think that fixed it ty

upper bloom
#

👍