These lines of code must get as an argument the player object (not the character itself, but the player object), and i was guessing that self.Player stands for the player object but the system said that self.Player == Character, and when i was trying to get self.Character = player.Character it just said that "character isn't a valid member of (my character)" which represents that somehow my player value turned into the character value. I'm also pinning the screenshot where those functions are being called + another module that basically is the base of the function.
And please, i beg, don't tell me anything about the GameCharacter property because it's not that thing, (well i could be dumb so if ykyk)