Problems with making a "creature shift" system

  1. What do you want to achieve? Keep it simple and clear!
    So theres this game called fakewoken 3, wont go into much detail but it has this system where after you activate a tool, you turn into another rig with special properties and moves

  2. What is the issue? Include screenshots / videos if possible!
    Whenever i try to change the character of the player to the new shift model, the camera gets completely stuck

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    Ive tried setting the cameras target to the shift rig on a while wait() do loop in a local script but it only sets it once and the cameras stuck in place again.

How would i go around fixing this camera issue? And is just setting the Player.Character to the Rig that has been cloned into workspace a good idea? Let me know!

my code is

Tool.Activated:Connect(Function()
       Local player = game.Players:GetPlayerFromCharacter(Tool.Parent)
       Local newrig = game.ReplicatedStorage.Rigs.Example:Clone()
       newrig.Parent = workspace
       player.Character = newrig
       local fix = script.Fix:Clone()
       fix.Disabled = false
       fix.Parent = player
end)

here is the fix localscript

while wait() do
      local cam = workspace.CurrentCamera
      cam.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
end)

Any errors? Make sure the new character’s network ownership is set to the player controlling the character (although it might be automatically set when you’re setting player’s character to that model, idk)

Tool.Activated:Connect(Function()
       Local player = game.Players:GetPlayerFromCharacter(Tool.Parent)
       Local newrig = game.ReplicatedStorage.Rigs.Example:Clone()
       newrig.Parent = workspace
       player.Character = newrig
       Character.PrimaryPart:SetNetworkOwner(player)
       local fix = script.Fix:Clone()
       fix.Parent = player
       fix.Disabled = false
end)

As for the camera glitchiness, try setting camera subject to the creature’s head/torso.

Don’t think there’s anything wrong with that, as far as I know.

No errors print and the camera is still stuck in place, i honestly dont know whars up with that