Hi there,
Considering B_PickRandomCharacter is a controller component, add a node:
Get Owner > Cast to Lyra Player Controller If true is a player, else is a bot.
In case you are interested, there’s a very long thread covering this topic, including replication setup and giving abilities in run-time (Character Selection - Lyra Starter Game)
Hope that helps.