alguien me puede ayudar estoy intentando hacer que la ia me persiga pero me da error alguien me podria ayudar hacerlo funcionarr

using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics}
using { /Fortnite.com/Characters}
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
#This is what was missing!
using { /Verse.org/Random }
using { /UnrealEngine.com/Temporary/UI }
using { /Fortnite.com/UI }

hello_world_device := class(creative_device):
OnBegin():void=

    Number: int = GetRandomInt(1, 99)

AIdata := class():

@editable
AIref : creative_prop = creative_prop{}
@editable
Speed : float = 0.5 

See Create Your Own Device Using Verse in Unreal Editor for Fortnite | Unreal Editor for Fortnite Documentation | Epic Developer Community for how to create a verse device.

A Verse-authored creative device that can be placed in a level

hola := class(creative_device):

@editable
DatosDeAI :[]AIdata = array{}

@editable
Boton : button_device = button_device{}
# Runs when the device is started in a running game
OnBegin<override>()<suspends>:void=
    Boton.InteractedWithEvent.Subscribe(HacerQueAIPersiga)
   
HacerQueAIPersiga(Interactor : agent) : void=
    var Transforms : transform = transform{}
    if(Jugador := fort_character[Interactor]):
        set Transforms = Jugador.GetTransform()
       
     for(Dato : DatosDeAI):
        spawn:
            MoverAI(Dato.AIref, Datos,Speed,Transforms)
        
    
MoverAI(AI : creative_prop,Speed : float,Trans : transform)<suspends> : void=
    AI.MoveTo(Trans.Translation,Trans.Rotation,Speed)