How can I click on a figure on an Aternos server (read: armor stand / armor stand by https://haselkern.github.io/Minecraft-ArmorStand/
execute a command. So as on e.g. Hypixel of the lobby teleport.
In the hypixel lobby these are npcs and not an armor stand, but I don't know how anyone can get something there.
The problem is that you are playing on an Aternos server. You can't insert your own plugins there, so the suggestion below would not work, but you can actually quite easily host one yourself, with the difference that either you can only do it, or you have to connect somehow. I usually do this via Hamachi. Or you can simply rent one from e.g. McHost24.
In the following I will send you a link where you can learn both how to program Minecraft plugins and how to host your own server: https://www.youtube.com/...pw0-_3VpzY
What you actually need are the events, there are some of them, but the event when you click on a player / another entity is called PlayerInteractAtEntityEvent.
in order to use the server via hamachi with friends online, you must have hamachi and create a network there. Your friends must join this. If you right click on your own user above (in hamachi) you can click on copy ipv4 address. You have to add this to the server in the Server.properties file, which you open with notepad ++ in the server ip. Now your friends should come to your server with exactly this ip
So.
Something like that works on Aternos servers.
But not with armor racks.
You need an NPC plugin that can do something like that