#bossbar not working

1 messages · Page 1 of 1 (latest)

warped burrow
#

i am making a skript to report raids and breaches for a SCP server but i cant get the bossbar to work please help me

on chat:
if message starts with "AEON report breach":
cancel event
broadcast "&8[&4AEON&8] &cContainment Breach Detected!"

    make console execute command "bossbar create aeon_alert \"Containment Breach Detected\""
    make console execute command "bossbar set aeon_alert color red"
    make console execute command "bossbar set aeon_alert players @a"
    make console execute command "bossbar set aeon_alert value 100"
    make console execute command "playsound minecraft:entity.warden.sonic_boom master @a ~ ~ ~ 2 1"

    wait 120 seconds
    make console execute command "bossbar remove aeon_alert"

else if message starts with "AEON report raid":
    cancel event
    broadcast "&8[&4AEON&8] &5Chaos Insurgency Raid Detected!"

    make console execute command "bossbar create aeon_alert \"Chaos Insurgency Raid Detected\""
    make console execute command "bossbar set aeon_alert color purple"
    make console execute command "bossbar set aeon_alert players @a"
    make console execute command "bossbar set aeon_alert value 100"
    make console execute command "playsound minecraft:event.raid.horn master @a ~ ~ ~ 2 1"

    wait 120 seconds
    make console execute command "bossbar remove aeon_alert"
astral bane
#

why are you using console commands

boreal berry
#

^

#

also format your code