You can use toweapons on the npc server, but the toweapons has to be in the server side part of the script, or else it'll give an error.
Liek,
NPC Code:
if(playerenters&&!hasweapon(Tick)) {
toweapons Tick;
}
Or u can also use addweapon <weapon name>, but that has to be server side too