For some reason the last line of this code is causing the command to break and I'm wondering why that might be.
code_language.skript:
command /ksmenu13:
trigger:
if {team.%player%} is equal to "Red":
if {corejump.progress.redteam} >= 20:
message "&7Core Jump Buff Already Purchased."
else if {kill_streak.%player%.count} >= 1:
add 1 to {corejump.progress.redteam}
set {kill_streak.%player%.count} to {kill_streak.%player%.count} - 1
message "&7Added to Core Jump Buff total."
if {corejump.progress.redteam} is equal to 20:
set {corejump.redteam} to 1
loop {loop.count} times:
if {corejump.redteam} is equal to 0:
stop loop
add 1 to {loop.count}
wait 1 second
loop all players:
if {team.%loop-player%} is equal to "Red":
loop blocks in radius 8 of loop-player:
set loop-player to {loop.player}
if loop-block is redstone_block:
add jump boost to loop-player for 1 second