# All of my verse scripts have broken

**URL:** <https://forums.unrealengine.com/t/all-of-my-verse-scripts-have-broken/2190924>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [December 10, 2024, 12:01am UTC](https://forums.unrealengine.com/t/all-of-my-verse-scripts-have-broken/2190924 "2024-12-10T00:01:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BizChugg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BizChugg](https://forums.unrealengine.com/u/BizChugg)\
**Post date:** [December 10, 2024, 12:01am UTC](https://forums.unrealengine.com/t/all-of-my-verse-scripts-have-broken/2190924/1 "2024-12-10T00:01:44Z")

</div>

Hello, I opened my UEFN editor today and opened verse code to find out all of my Verse scripts have broken. It seems like something has gone wrong with the OnBegin function, I would really like to figure this out pronto cause I don’t know enough about engine-level programming to figure this out on my own. All of my scripts contain the same error:

```auto
The function (/InvalidDomain/projectname/scriptname:)OnBegin() in package projectname is ambiguous with this definition:
    function (/InvalidDomain/projectname:)OnBegin() in package projectname

```

Aswell specifically this caused a problem (I think) with an `@editable` declaration  
The italicized portion specifically has the error

```auto
@editable
GunsConversationDevice : conversation_device = *conversation_device{}*

```

The error states:

```auto
This archetype instantiation constructs a class that has the 'transacts' effect, which is not allowed by its context.

```

This may be all tied to a problem I asked yesterday that I never solved, but idk.

---

<div class="post-metadata">

**Author:** ![Enebz](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/enebz/32/875411_2.png) [@Enebz](https://forums.unrealengine.com/u/Enebz)\
**Post date:** [December 10, 2024, 7:59am UTC](https://forums.unrealengine.com/t/all-of-my-verse-scripts-have-broken/2190924/2 "2024-12-10T07:59:18Z")

</div>

Hello! It sounds like your code indentation is not correct!

If your code looks like this:

```auto
test_device := class(creative_device):

@editable
GunsConversationDevice : conversation_device = conversation_device{}

```

Change it to this:

```auto
test_device := class(creative_device):

    @editable
    GunsConversationDevice : conversation_device = conversation_device{}

```

If it already looks like the last piece of code, try and re-indent your code!

Let me know if you are still facing issues!
