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

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

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.

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