Changing character not working

Hey,
So I’m making a Become the Monster gamepass for my game, which is supposed to turn the player into the monster. I’m using this script:

local character = game.ServerStorage.MonsterChar:Clone()
	
	character.Name = PlayerWhoWillBeMonster.Name

	PlayerWhoWillBeMonster.Character = character

	character.Parent = workspace
	
	PlayerWhoWillBeMonster.Character.HumanoidRootPart.Position = Vector3.new(-142.07, 6.481, -328.72)
	
	wait()
	
	game.Workspace.Music.Fight:Play()
	
	game.ReplicatedStorage.EnabledLights.Value = true
	

	
	game.ReplicatedStorage.Events.SetFOV:FireAllClients(120)
	
	wait(50)
	
	wait(1)
	PlayerWhoWillBeMonster:LoadCharacter()
	
	game.ReplicatedStorage.Events.SetFOV:FireAllClients(70)
	
	game.ReplicatedStorage.EnabledLights.Value = false
	
	game.Workspace.Music.Fight:Stop()
	
	game.Workspace.Music.Recovery:Play()
	
end

The problem is, is that the monster isn’t the player. It is, but the camera isn’t on the monster at all. When the monster is an AI, it works fine. I’m not sure what the issue is. Here is the NPC:

gggggggggggggggggggggggggg

Thanks for any help!

3 Likes

Can I ask why you are doing this

PlayerWhoWillBeMonster.Character.HumanoidRootPart.Position = Vector3.new(-142.07, 6.481, -328.72)

instead of this:

PlayerWhoWillBeMonster.Character:SetPrimaryPartCFrame(CFrame.new(-142.07, 6.481, -328.72))

since setting the CFrame will move all of the parts together.

3 Likes