This is my first stab at scripting with Papyrus, but I'm having trouble getting something to work. I've been working on making a mod that plays sounds based on the player's hunger, thirst, and sleep levels. I went about this by adding a new scripted magic effect to the hunger, thirst, and sleep potions in the Creation Kit. Here's what I started with: Scriptname Hardcore:HC_VitalEffect_SoundScript extends ActiveMagicEffect Group Data Sound Property SoundToPlay const auto mandatory{sound to be played} float Property SoundTimerInterval = 0.0 const auto{how often sound will play} EndGroup Event OnEffectStart(Actor akTarget, Actor akCaster)SoundToPlay.Play(Game.GetPlayer())startTimer(SoundTimerInterval)EndEvent Function PlaySoundAndStartTimer()if IsBoundGameObjectAvailable()SoundToPlay.Play(Game.GetPlayer())startTimer(SoundTimerInterval)endifEndFunction Event OnTimer(int aiTimerID)PlaySoundAndStartTimer()EndEvent This works great, but only if a unisex sound is played; that is, it can only play one sound regardless if the player is female or male. Therefore, this is what I came up with: Scriptname Hardcore:HC_VitalEffect_SoundScript extends ObjectReference Group Data Sound Property FemaleSound const auto mandatory{sound to be played for female player} Sound Property MaleSound const auto mandatory{sound to be played for male player} float Property SoundTimerInterval const auto mandatory{how often sound will play} EndGroup Event OnInit()if (Game.GetPlayer().GetBaseObject() as ActorBase).GetSex() == 1FemaleSound.play(Game.GetPlayer()) elseMaleSound.play(Game.GetPlayer()) endifstartTimer(SoundTimerInterval)EndEvent Function PlaySoundAndStartTimer()if IsBoundGameObjectAvailable()if (Game.GetPlayer().GetBaseObject() as ActorBase).GetSex() == 1FemaleSound.play(Game.GetPlayer()) elseMaleSound.play(Game.GetPlayer()) endifstartTimer(SoundTimerInterval)endifEndFunction Event OnTimer(int aiTimerID)PlaySoundAndStartTimer()EndEvent This, however, does not work. I copied the GetSex function from drinkFromFountainScript.psc, and because my script extends the same parent script it should work correctly. Can someone with more knowledge of Papyrus be able to diagnose this? Thank you, Akanto10