#The NPC becomes invisible when I go into first person

1 messages · Page 1 of 1 (latest)

summer hedge
#

I did not even think it was a bug I could possibly encounter. The cat NPC goes invisible when the player goes into first person mode. I think it is because I put the cat model under the player model

I put the cat model under the player starter character but I dont know how else to make a pet without doing that.

I put the cat model under the player bacause every player will have their own cat and I cant find a way to make the cat spawn recognize their owner without putting the player as the parent.

I cant really put the code but the most important part is how I reference the owner (player) to each cat.

local owner = NPC.Parent
undone thicket
#

put it in the character maybe?

#

and use player:GetPlayerFromCharacter(Character) to get player

#

or attribute it, by setting Cat:SetAttribute("owner", something)

summer hedge
#

what does that mean

summer hedge