Skip to content
home/templates/floating damage numbers
cosmeticIntermediatenewmc 1.20.x – 1.21.x21 lines

floating damage numbers

spawns colored damage numbers above entities when hit. critical hits in gold/bold, low damage in gray, headshots in red.

required addons — install before reloading
  • download skBeeAdds scoreboards, hologram text, and other things Skript can't do on its own.
Drop each .jar into your plugins/ folder, then restart your server.
damage-indicators.sk21 lines
on damage:
    if victim is not a player:
        set {_color} to "&7"
        set {_text} to "%damage%"
        if damage > 10:
            set {_color} to "&6&l"
            set {_text} to "&6&l-%damage% &7CRIT"
        else if damage < 2:
            set {_color} to "&7"
            set {_text} to "&7-%damage%"
        else:
            set {_color} to "&c"
            set {_text} to "&c-%damage%"
        spawn 1 text display at location 0.5 above victim:
            set text of entity to {_text}
            set billboard of entity to center
            set view range of entity to 32
            set {_indicator} to entity
        wait 1 second
        delete {_indicator}

get it running

damage-indicators.sk · 21 lines · needs skBee
  1. 1

    copy or download

    grab the .sk file with the buttons up top.

    damage-indicators.sk· ready to drop in
  2. 2

    drop it in your scripts folder

    save it exactly here on your server — no typos, just copy the path:

    …/plugins/Skript/scripts/damage-indicators.sk
  3. 3

    reload in-game

    run this in chat or console — your script goes live instantly:

    /sk reload damage-indicators
that's it — your script is live. hop in-game to try it.
/ related templates

more cosmetic templates

comments