projectile cannot be saved

  • 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!

Status
Not open for further replies.

Mr_Allawi_

Member
Sep 20, 2021
12
0
1
15
can anyone help me i get the error that i can't save a projectile because if the server stops the entity will be lost
Code:
on shoot:
    if projectile exists:
        if "%projectile%" is "ender pearl":
            execute console command "minecraft:Kill @e[type=ArmorStand,name=Failure's Head]"
            # add projectile to {EnderPearl.DeathOfPlayer.more::%Shooter%}
            if {EnderPearl.DeathOfPlayer::%Shooter%} is set:
                teleport {EnderPearl.DeathOfPlayer::%Shooter%} to location at 0, -65, 0
                wait 3 ticks
                delete {EnderPearl.DeathOfPlayer::%Shooter%}
            wait 4 ticks
            set {EnderPearl.DeathOfPlayer::%Shooter%} to the projectile
 
Status
Not open for further replies.