For the first two errors
as it states you can’t use if for just setting a variable unless it has decides effect or is a comparison or something of that sorts
so you could just replace
OnBegin<override>()<suspends>:void=
if (Playspace := GetPlayspace()):
if (AllPlayers := Playspace.GetPlayers())
with
OnBegin<override>()<suspends>:void=
Playspace := GetPlayspace()
AllPlayers := Playspace.GetPlayers()
and for the 3rd error
you can’t do this because since it is using brackets to get something from an array/map which could be not an actual item it is something that can fail therefore you need to put the set in an if condition
so from this
set PlayerEliminations[EliminatingAgent] = EliminationCount + 1
to this
if(set PlayerEliminations[EliminatingAgent] = EliminationCount + 1){Print("Elim Count Incremented")}
(You dont need to keep the print btw but it can help understand if the elimination count was successfully set
if you have any further questions let me know