Pointshop entites rotation, positon and removal

So I am adding WAC Aircrafts to my pointshop, and I need to make it so that the entity rotates, spawn higher up in the air and gets removed when the player buy something new. Removing all entities owned by the player wouldnt be a problem.

ITEM.Name = 'MV-22 Osprey'
ITEM.Price = 0
ITEM.SingleUse = true
ITEM.Model = 'models/sentry/osprey.mdl'

function ITEM:OnBuy(ply)
	local ent = ents.Create("wac_hc_mv22")

  1. Rotates you would use SetAngles
  2. Spawning higher up you would add a Vector ( 0, 0, Z ) to your set pos where Z is the amount higher
  3. Removing previous spawns… you could assign the ent spawn to the player ( ply.SpawnedVehicle ). Before that you would check if that entry is valid and if so, remove the entity and nil it. Obviously you’d need to transcribe this to all the other vehicles too