How do I delete 1 hologram?

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

newgoldendoge

Member
Feb 1, 2021
2
0
1
18
on place of chest:
If name of player's tool is "&aAuto Sell Chest":
add location of event-block to {asc::%player%::*}
{playerlog::*} does not contain player:
add player to {playerlog::*}
send "Added c:"
create hologram with line "&aAuto Sell Chest" at location 1 meter above location of event-block and store in {test::*}
append "<light green>Test" to the created hologram

on break of chest:
loop {playerlog::*}:
loop {asc::%loop-value-1%::*}:
loop-value-2 = location of event-block:
delete {asc::%loop-value-1%::%loop-index-2%}
send "Deleted."
delete holo {test::*}
stop

How do I delete the hologram at 1 location and not all of them in {test::*}
 
You could use this command to remove a hologram
/Minecraft:kill @e[r=3,type=armor_stand]
But you need to stand on the hologram not next to it, and idk if this is what you meant haha
 
Status
Not open for further replies.