I get the error “Workspace.mrbulider1.Pet_Follower:33: attempt to index nil with ‘CFrame’”
pet:SetPrimaryPartCFrame(pet.PrimaryPart.CFrame:Lerp(character.PrimaryPart.CFrame * CFrame.new(x, offsetY, z) ,0.1))
What’s wrong here?
I get the error “Workspace.mrbulider1.Pet_Follower:33: attempt to index nil with ‘CFrame’”
pet:SetPrimaryPartCFrame(pet.PrimaryPart.CFrame:Lerp(character.PrimaryPart.CFrame * CFrame.new(x, offsetY, z) ,0.1))
What’s wrong here?
You’re basically doing nil.CFrame
so either character or PrimaryPart is nil.
All other pets work except this one (mouse)
nvm I fixed it for some reason