pf2e.fyi
From Pathfinder Core Rulebook, which isn't enabled.

Telekinetic Swarm Trap

COMPLEX HAZARD 12
Stealth +24 (expert)
Description Three innocuous decorations instilled with telekinetic magic pull objects and pieces of the room itself into spinning clouds of debris that attack all creatures in the room.

Disable DC 27 Thievery (expert) to take apart a telekinetic cloud, DC 32 Thievery (master) to disable each telekinetic decoration, or Dispel Magic (6th rank; counteract DC 30) to counteract each telekinetic decoration

AC 33; Fort +24, Ref +19
Hardness 22, HP 88 (BT 44) per telekinetic cloud

Agitate (arcane)
Trigger A creature stays in the room for at least 6 seconds.

Effect Each telekinetic decoration constructs a cloud of objects in the room (three clouds total) and the trap rolls initiative. The creatures in the room when the trap is triggered become the trap's targets, regardless of whether they leave the room or other creatures later enter the room. Each decoration targets a different creature if possible. A target creature that moves at least 1 mile from the trap ceases being a target, at which point the decoration designates a new target.
Melee Objects +24, Damage 2d12+10 bludgeoning
Routine

(9 actions) Each decoration uses 3 of the trap's actions each turn, and the trap loses 3 actions each turn for every decoration that is disabled. A decoration uses its first action to move its cloud of objects up to 200 feet, its second action to make the objects Strike, and its third action to add more objects to the cloud, increasing its damage by 1d12 (to a maximum of 4d12+10). If a decoration's cloud is already at maximum damage, it does nothing with its third action.

If a decoration's cloud has been destroyed, the decoration instead spends its first action to create a new cloud of objects inside the room (using the starting damage value) and then its second and third actions to have the cloud move and attack.

Reset The trap deactivates and resets 10 minutes after it has no target creatures (because the creatures either moved too far away or died).
Pathfinder Core RulebookOGL