This code will basically teleport an armor stand upwards to a certain point, the below code does it perfectly however if you changed the coordinates so they're not abslotue but relative it'll be very jittery and won't teleport at times.. not to sure what sort of bug this is
if you run this code though it'll be very jiggery and will work weirdly
code_language.skript:
on rightclick on non-burning furnace:
cancel event
spawn 1 of armor stand at location 0, 100, -1 in world "world"
add "{NoGravity:1b,Small:1,Invisible:1,Invulnerable:1,NoBasePlate:1,PersistenceRequired:1}" to nbt of last spawned entity
set {_temp} to location 0, 100, -1 in world "world"
set helmet of last spawned entity to stone
wait 2 second
loop 260 times:
wait 3 ticks
add 0.05 to y-coordinate of {_temp}
teleport last spawned entity to {_temp}
broadcast "done"
if you run this code though it'll be very jiggery and will work weirdly
code_language.skript:
on rightclick on non-burning furnace:
cancel event
spawn 1 of armor stand at event-block
add "{NoGravity:1b,Small:1,Invisible:1,Invulnerable:1,NoBasePlate:1,PersistenceRequired:1}" to nbt of last spawned entity
set {_temp} to location of event-block
set helmet of last spawned entity to stone
wait 2 second
loop 260 times:
wait 3 ticks
add 0.05 to y-coordinate of {_temp}
teleport last spawned entity to {_temp}
broadcast "done"