Player stuff from scripts to code