Move Armor Stand

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

CraftEmpire

Member
Dec 19, 2017
3
0
1
53
Hi I have a problem with when I move my armor stand it will only move 1 block at a time when it's inside another block but when it gets outside the block it moves smoothly video: https://imgur.com/4tXhRnf
my code:
Code:
set {_temp} to {crates.location2}
remove 1.5 from y-coordinate of {_temp}
spawn a armor stand at {_temp}
set {_x} to last spawned entity
add "{NoGravity:1b,Invisible:1,Invulnerable:1,NoBasePlate:1}" to nbt of {_x}
set helmet of {_x} to ender chest
loop 150 times:
    add 0.1 to y-coordinate of {_temp}
    teleport {_x} to {_temp}

4tXhRnf
 
Status
Not open for further replies.