So the goal of the skript is to have the armorstand spawn if there isn't already one. I have it so it spawns when the command is triggered but how would I check the location of the coordinates for an armorstand before spawning it. And if there is an armorstand already there, it will not spawn one. Thanks!
[doublepost=1558666365,1558573079][/doublepost]bump
Code:
command /spawnbag <text>:
trigger:
if arg 1 is "1":
execute console command "/summon armor_stand 214 64.5 258 {DisabledSlots:2039583,Invisible:1b,Invulnerable:1b,NoBasePlate:1b,NoGravity:1b,Rotation:[46f],ArmorItems:[{},{},{},{id:""skull"",Count:1b,Damage:3b,tag:{SkullOwner:{Id:""ef4aaca9-1624-6389-14f2-6b91655a7cb9"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNGNiM2FjZGMxMWNhNzQ3YmY3MTBlNTlmNGM4ZTliM2Q5NDlmZGQzNjRjNjg2OTgzMWNhODc4ZjA3NjNkMTc4NyJ9fX0=""}]}}}}],HandItems:[{},{}]}"