for some reason im placing
PlayerFrameTexture:Hide()
and
PetFrameManaBar:Hide()
in a .lua but for some reason it does not want to work even though i can run it in game and it works as intended i cant understand how i need to write it so that it will work as if i was running it in game. i have very minimal experience in this subject.