Making Gamemode, Need Help

So I’ve recently just learned LUA and I’m working on a game mode.

Everything is ok, but I get these two errors that I don’t know how to fix.

    I don’t know what is causing this and if someone is an expert willing to help, I would appreciate the help!

    Neither do I know whats going on here, It appears from time to time, but not always.

I would really appreciate any help I could recieve, thank you.

its team() not team also what is that 1 after then lol

also its screen width then screen height, not the other way around.


For your other error, what is line 5?

If you could add me on steam or skype or something like that, I could give the entire code.
It’ll also be easier to communicate with you.