#matrix trail thing

1 messages · Page 1 of 1 (latest)

violet aurora
#

[11:21:45 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[11:21:45 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[11:21:45 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[11:21:45 INFO]: [Skript] Server Version: 1.21.5-113-ba7fb23 (MC: 1.21.5)
[11:21:45 INFO]: [Skript] Skript Version: 2.13.0 (skriptlang-github)
[11:21:45 INFO]: [Skript] Installed Skript Addons:
[11:21:45 INFO]: [Skript] - skript-placeholders v1.7.0 (https://github.com/APickledWalrus/skript-placeholders)
[11:21:45 INFO]: [Skript] - SkBee v3.11.3 (https://github.com/ShaneBeee/SkBee)
[11:21:45 INFO]: [Skript] - skript-reflect v2.6.1 (https://github.com/SkriptLang/skript-reflect)
[11:21:45 INFO]: [Skript] Installed dependencies:
[11:21:45 INFO]: [Skript] - Vault v1.7.3-b131
[11:21:45 INFO]: [Skript] - WorldGuard v7.0.13+82fdc65

GitHub

Aliases for Skript. Contribute to SkriptLang/skript-aliases development by creating an account on GitHub.

GitHub

Placeholder integration for Skript. Contribute to APickledWalrus/skript-placeholders development by creating an account on GitHub.

GitHub

SkBee is a Skript addon that aims to add more useful elements to Skript. - ShaneBeee/SkBee

#
    spawn text display at {_l}
    set {_d} to last spawned text display
    set display text of {_d} to "<#00ff66>%{_char}%"
    set billboard of {_d} to center
    set view range of {_d} to 64
    set transformation scale of {_d} to vector(1, 1, 1)
    set display default text background of {_d} to false
    set text opacity of {_d} to 255

    set {_opacity} to 255
    loop 25 times:
        subtract 10.2 from {_opacity}
        set text opacity of {_d} to {_opacity}
        wait 1 tick
    
    delete {_d}
    execute console command "execute as %{_d}% run minecraft:kill @e[type=text_display,limit=10,distance=...5]"

function spawnLineAt(l: location):
    set {_base} to {_l}
    loop 10 times:
        set {_char} to random element of ("アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン" split by "")
        spawnCharAt({_base}, {_char})
        subtract 0.25 from y coord of {_base}
        wait 2 ticks

function spawnRandomStreamsAround(p: player):
    set {_center} to location of {_p}
    add 2 to y coord of {_center}
    loop 5 times:
        set {_loc} to {_center}
        add (random number between -2 and 2) to x coord of {_loc}
        add (random number between -2 and 2) to z coord of {_loc}
        spawnLineAt({_loc})

every 3 ticks:
    loop all players:
        if {trail::%uuid of loop-player%} is true:
            spawnRandomStreamsAround(loop-player)

command /trail:
    trigger:
        if {trail::%uuid of player%} is true:
            delete {trail::%uuid of player%}
            send "&cTrail disabled."
        else:
            set {trail::%uuid of player%} to true
            send "&aTrail enabled."

command /cleardisplays:
    permission: op
    trigger:
        execute console command "minecraft:kill @e[type=text_display]"
        send "&aAll text displays have been removed."```
#

text displays wont delete themselfs

#

and the backrounds of the text displays are showing

snow forge
proven oracle
#

delete %entity% is a thing. It kills them instantly without the death animation/poof particles

snow forge
proven oracle
#

Might need entity in for that case

violet aurora
#

works perfectly with
kill {_d} and set display text background color of {_d} to bukkitColor(0,0,0,0)

#

ty