My command does not show

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

pepa41

Member
Sep 20, 2023
3
0
1
47
I have this script:

Code:
variables:
    {brSpawnLoc} = 0

command /setbackroomsloc:
    permission: setbrloc
    trigger:
        set {brSpawnLoc} to location of player
        send "&bBackrooms spawn loc is now %{brSpawnLoc}%"

on death of wither skeleton:
    if name of victim is "&0&lEntity":
        spawn wither skeleton named "&0&lEntity" at {spawnLoc}
        set max health of last spawned entity to 999
        set health of last spawned entity to 999
        set movement speed of last spawned entity to 0.5
        set attack damage of last spawned entity to 50

command /spawnbrentity:
    permission: backrooms.spawn
    trigger:
        spawn wither skeleton named "&0&lEntity" at {brSpawnLoc}
        set max health of last spawned entity to 999
        set health of last spawned entity to 999
        set movement speed of last spawned entity to 0.5
        set attack damage of last spawned entity to 50
        send "&0&lEntity&b was spawned at %{brSpawnLoc}%"

but the /spawnbrentity command wont show in mc and when i try to run it it says that the command does not exist.
 
I have this script:

Code:
variables:
    {brSpawnLoc} = 0

command /setbackroomsloc:
    permission: setbrloc
    trigger:
        set {brSpawnLoc} to location of player
        send "&bBackrooms spawn loc is now %{brSpawnLoc}%"

on death of wither skeleton:
    if name of victim is "&0&lEntity":
        spawn wither skeleton named "&0&lEntity" at {spawnLoc}
        set max health of last spawned entity to 999
        set health of last spawned entity to 999
        set movement speed of last spawned entity to 0.5
        set attack damage of last spawned entity to 50

command /spawnbrentity:
    permission: backrooms.spawn
    trigger:
        spawn wither skeleton named "&0&lEntity" at {brSpawnLoc}
        set max health of last spawned entity to 999
        set health of last spawned entity to 999
        set movement speed of last spawned entity to 0.5
        set attack damage of last spawned entity to 50
        send "&0&lEntity&b was spawned at %{brSpawnLoc}%"

but the /spawnbrentity command wont show in mc and when i try to run it it says that the command does not exist.
Everything else works, right?
 
Please list the addons, MC version, and Skript version you're running. It's important for posts like these, because this issue could be caused by using an outdated Skript addon (TuSKe, for example).