Falling Block

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

    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.

MusicManSK

Active Member
Nov 30, 2017
230
11
18
Hi!
i have a code:
code_language.skript:
command /vv:
    permission: egg.use
    trigger:
        drawDot count 10, particle smoke, XYZ 0.3, 0.2, 0.3, center position under {egg.pos1}, visibleRange 8, pulseDelay 5, keepFor 1 seconds
        play sound "block.fire.extinguish" with volume 3 and pitch 1 at {egg.pos1}
        wait 0.3 seconds
   
        set {_loc1} to {egg.pos1}
        reduce y-location of {_loc1} by 2.48
   
        spawn an armor stand at {_loc1}
        set {_a} to last spawned armor stand
        set armor stand helmet of {_a} to gold block
        add "{CustomNameVisible:0,NoGravity:1,Small:0,Invisible:1,Invulnerable:1,NoBasePlate:1,DisabledSlots:2039583}" to nbt of {_a}
   
        spawn falling block of ender dragon egg at {_loc1}
        set {_f} to last spawned entity
        add "{Time:1b,DropItem:0}" to nbt of {_f}
   
        make {_f} ride {_a}
   
        wait 5 ticks
        set block under {egg.pos1} to air
   
        set {_lock} to 0
   
        loop 20 times:
            add 0.125 to x-location of {_loc1}
       
            wait 0.05 seconds
   
        wait 2.5 seconds
   
        wait 1 seconds

        delete last spawned armor stand
        delete last spawned entity

        set block under {egg.pos1} to ender dragon egg
If i am do "/vv" ender dragon egg disappears, armor stand with gold block on head spawns, falling ender dragon egg rides armor stand but when armor stand start moving falling block will be destroyed.. but im need it to stay riding armor stand..
please help mee D:
[doublepost=1515447808,1514667340][/doublepost]nobody? I am need help!
[doublepost=1515448018][/doublepost]or... im just need to move with falling block... like ... idk... block hunt/hide and seek..
 
Status
Not open for further replies.