Hey, thanks for your reply.
If i type that into the script view part this happens.

If i run the game i get:
Error running script: Error compiling expression '[expression] 0': SyntaxError: Unexpected token "["; expected one of "NOT", "-", <INTEGER>, <REAL>, <STRING_LITERAL>, "True", "False", <HEX_LITERAL>, <CHAR_LITERAL>, "null", <DATETIME>, <TIMESPAN>, "(", <IDENTIFIER>, "if", or "cast"Line: 1, Column: 1
If i remove the "[expression]" and just leave the 0 then i get an error for the "Set variable game.kingOfBeasts".
When i just put this:

It doesn't recognize it as the counter variable, it just creates a new variable separate to the counter with the same name.
Thanks for any help