1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

I can't delete a skript-holo hologram!

Discussion in 'Skript' started by Yodexx, Jun 3, 2021.

Thread Status:
Not open for further replies.
  1. Yodexx

    Yodexx Member

    Joined:
    Jun 13, 2020
    Messages:
    19
    Likes Received:
    0
    Ayooo!
    I'm trying to skript a crates system (it's been going well), and with the crates system I added a "You have: # crates!" hologram using skript-holo. But I screwed up with one thing, I can't make it so it refreshes. :I

    Anyways, I can't delete this messed up hologram because I didn't assign it to a variable/list, it also doesn't have a name either... ._.

    So is it possible to delete the hologram, or no?
     
  2. nicolas toledo

    Joined:
    Mar 29, 2020
    Messages:
    27
    Likes Received:
    0
    Hello, to delete a hologram try this

    Code (Text):
    1. create new hologram with line "&fHologram" that follows player with offset (2 meters above and 1 meter right) and store in {_holo}
    2. wait 20 ticks
    3. delete holo {_holo}                      
    4. stop
    if you want the target not to be a player, try setting a variable to the target location and replace it with "player". I couldn't test it because I don't have my pc at hand, but it should work
     
  3. oHeckGage

    oHeckGage Active Member

    Joined:
    Mar 24, 2020
    Messages:
    105
    Likes Received:
    4
    if you restart your server, it should automatically get rid of it
     
Thread Status:
Not open for further replies.

Share This Page

Loading...