I believe (but am not sure) that the replacegani command needs to be clientside... that NPC would work much better as a weapon. Maybe make a ball and when you touch it you get the bowling weapon, and when you bowl it destroys, so that you can make a ball-return system.