UScript for Unturned Quick Tips
resolving errors
object reference not set to an instance of an object
One or more objects used in the script are at some point null during runtime.
For example, take the line of code
if (player.id == strName) {
Rewrite it as
if (player != null && player.id != null && player.id == strName) {