Is that the _only_ code you have?
Is that code in a function?
Does TTT call whatever function you have, and set the model of the player depending on if it's returned.
The way you have it set is literally returning "/model/.../path/etc" to whatever is calling it.
If that code is just in a file, it's likely erroring out on server start.