How would I change the camera position with AutoLoadCharacter off?

I’ll keep it simple. I’m trying to make a menu, and I want to change the camera position, but I have AutoLoadCharacter off. So any changes I am making to the actual CFrame are not taking affect no matter the CameraType.

The script works with AutoLoadCharacter on, just not off.

local camera = workspace.CurrentCamera

local function changeType(cam_type)
	repeat
		camera.CameraType = cam_type
		wait()
	until camera.CameraType == cam_type
	print("changed")
end

changeType(Enum.CameraType.Scriptable)
camera.FieldOfView = 15
camera.CFrame = CFrame.new(Vector3.new(-2.95, 3.738, -14.654),Vector3.new(-4.85, 3.352, 17.3))
camera.Focus = CFrame.new(-1.112, 6.923, -6.443)
1 Like

Why do you have AutoLoadCharacter off? Can’t you just place the character in some kind of container (along with other players in the menu) and then put it in the spawn area after you pressed “play”?

currently I have to change the player character depending on the class they pick, and they load them during new rounds or stop them from loading after death

it seemed like a better way than just moving the player far far away

Can you try turning Streaming Enabled off in workspace? There is a weird thing which could be a bug where if you have character auto load off and Streaming enabled on the map wouldn’t load

3 Likes

Can’t you use

Player:LoadCharacter()

To fully reload the character?

1 Like

I do not want them automatically spawning so disabling AutoLoadCharacter stops them from doing that

Then you can do what @Icy_52S said

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.