functionyourEvent(user)--note this is similar to OnNewViewer event. The difference is that this event fires before the avatar spawns. --also note: under General > Avatar Settings, there's an option to disable "force free avatar" which lets you set everything in shop as gift only
--which makes this even able to completely handle the first avatar a viewer will get.log(user.displayName ..' is being initialized. you can make changes to them before they spawn!');endreturnfunction()addEvent('selectInitialAvatar', 'yourEvent'); --attaches the event to yourEvent()keepAlive();end