#Teleport mob on spawn
3 messages · Page 1 of 1 (latest)
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);
})
Ticket re-opened!