Hi guys, i finalized my script, but it sends me some errors, tell me how to fix
# On Player Kill #
on death of player:
if player is in the region {arenaparker}
execute command "/kit claim clearinventory %attacker%"
wait 2 ticks
execute command "/kit claim parker %attacker%"
else if player is in the region {arenadiamond}
execute command "/kit claim clearinventory %attacker%"
wait 2 ticks
execute command "/kit claim diamond %attacker%"
else if player is in the region {ffa}
execute command "/kit claim clearinventory %attacker%"
wait 2 ticks
execute command "/kit claim ffa %attacker%"
else if player is in the region {arenanetherite}
execute command "/kit claim clearinventory %attacker%"
wait 2 ticks
execute command "/kit claim netherite %attacker%"
stop
# On Player Kill #
on death of player:
if player is in the region {arenaparker}
execute command "/kit claim clearinventory %attacker%"
wait 2 ticks
execute command "/kit claim parker %attacker%"
else if player is in the region {arenadiamond}
execute command "/kit claim clearinventory %attacker%"
wait 2 ticks
execute command "/kit claim diamond %attacker%"
else if player is in the region {ffa}
execute command "/kit claim clearinventory %attacker%"
wait 2 ticks
execute command "/kit claim ffa %attacker%"
else if player is in the region {arenanetherite}
execute command "/kit claim clearinventory %attacker%"
wait 2 ticks
execute command "/kit claim netherite %attacker%"
stop