# Dangling \`=\` assignment with no expressions or empty braced block \`{}\` on its right hand side.  PLs help 

**URL:** <https://forums.unrealengine.com/t/dangling-assignment-with-no-expressions-or-empty-braced-block-on-its-right-hand-side-pls-help/2654957>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [September 9, 2025, 3:04am UTC](https://forums.unrealengine.com/t/dangling-assignment-with-no-expressions-or-empty-braced-block-on-its-right-hand-side-pls-help/2654957 "2025-09-09T03:04:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MadisonPaine](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MadisonPaine](https://forums.unrealengine.com/u/MadisonPaine)\
**Post date:** [September 9, 2025, 3:04am UTC](https://forums.unrealengine.com/t/dangling-assignment-with-no-expressions-or-empty-braced-block-on-its-right-hand-side-pls-help/2654957/1 "2025-09-09T03:04:33Z")

</div>

this is the only error in my scripting and i cant for the life of me fix it to move on please help me

 ![53bc975097954fa8c14f1c4b7f6517a6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/a/4/1a47fcd1f64a9cd1cbbb41026419c4b9da66967a.png)

---

<div class="post-metadata">

**Author:** ![btwixer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@btwixer](https://forums.unrealengine.com/u/btwixer)\
**Post date:** [September 9, 2025, 5:01am UTC](https://forums.unrealengine.com/t/dangling-assignment-with-no-expressions-or-empty-braced-block-on-its-right-hand-side-pls-help/2654957/2 "2025-09-09T05:01:32Z")

</div>

I think your indentation is wrong.

Take out the indentation of the first line of the function, and indent the function body below it. Something more like this.

```auto
# Eliminate players not in …
EliminateUnsafePlayers(): void =
    for (p : GetPlayspace().GetPlayers()):
        if (...
            Eliminator.Elim...

```
