I want to spawn a custom zombie from the MythicMobs plugin at the death location of any killed snowman. To do this, I would need to execute the command /spawnmob zomboid at the death location. However, apparently entities cannot execute commands.
How can I execute the command /spawnmob zomboid at the death location? If it helps, the /spawnmob command can have coordinates inputted into it. (/spawnmob zomboid 1 world,x,y,z)
Current Skript:
victim is a snowman
if attacker is a zombie:
execute victim command "spawnmob zomboid"```