Basicly i want my character to change his animations and perks etc, by pressing a key. But i can't get this to work, cause i keep crashing or basicly nothing happens. Here is my code modmain.lua: with this version i get the error log.txt: Any help would be appreciated.