armor stand helmet issues.

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

Grandfish

Member
Feb 8, 2021
13
0
1
22
so Im making an rpg/dungeons server and I wanted to make a weapon that shoots diamond blocks using armor stands. but this is the thing that I get after using my code.
How do I make the diamond blocks move with the armor stands?

thanks.
[doublepost=1612806280,1612806143][/doublepost]in case the screenshot doesn't show, its just a floating diamond block. it doesn't follow the armor stand.

also just so u know this is my script

on right click:
player is holding dirt:
spawn armor stand at location in front of player's eyes
add "{Invisible:1b,NoGravity:1b}" to nbt of last spawned armor stand
set helmet of last spawned armor stand to diamond block
thrust the spawned armor stand in direction of the player with force 2
 
so Im making an rpg/dungeons server and I wanted to make a weapon that shoots diamond blocks using armor stands. but this is the thing that I get after using my code.
How do I make the diamond blocks move with the armor stands?

thanks.
[doublepost=1612806280,1612806143][/doublepost]in case the screenshot doesn't show, its just a floating diamond block. it doesn't follow the armor stand.

also just so u know this is my script

on right click:
player is holding dirt:
spawn armor stand at location in front of player's eyes
add "{Invisible:1b,NoGravity:1b}" to nbt of last spawned armor stand
set helmet of last spawned armor stand to diamond block
thrust the spawned armor stand in direction of the player with force 2
Wait... this is a Java Section. You should post this in skript section.