Date: 2024/06/04 13:30:10 UTC-07:00
Type: Denizen Script
force_illusion:
type: task
definitions: target|multiplier
script:
- playeffect effect:explosion_normal at:<player.location.add[0,1,0]> offset:0.8 quantity:500
- repeat 3:
- create player <player.display_name> <player.location> save:ent
- define ents:->:<entry[ent].created_npc>
- adjust <[ents]> skin_layers:<player.skin_layers>
- adjust <[ents]> inventory_contents:<player.inventory.list_contents>
- wait 3t
- repeat 3:
- foreach <[ents]> as:ent:
- teleport <[ent]> <[ent].location.with_yaw[<util.random.decimal[-180].to[180]>].with_pitch[3]>
- walk <[ent]> <[ent].location.forward[15]> speed:1.5
- wait 3s
- foreach <[ents]> as:ent:
- playeffect effect:spit at:<[ent].location.add[0,1,0]> offset:0.6 quantity:300
- remove <[ents]>