#Teleport mob on spawn

3 messages · Page 1 of 1 (latest)

karmic harborBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

hearty hound
#

found someone running commands on an entity using entity.getUuid() and this worked.
working script```
EntityEvents.spawned('corpse:corpse', e=>{
let entity = e.entity;
setTimeout(() => {
e.server.runCommandSilent('/tp ' + entity.getUuid() + ' 0 -500 0')
}, 1);
})