Search found 1 match
- Mon Jun 15, 2020 3:21 am
- Forum: Support and Development
- Topic: Game Code
- Replies: 2
- Views: 2531
Game Code
So i'm trying to make a game and i'm pretty sure i defined player but this error still shows up Error main.lua:16: attempt to index global 'player' (a nil value) Traceback main.lua:16: in main chunk [C]: in function 'require' [C]: in function 'xpcall' [C]: in function 'xpcall' here's my code: functi...