How can I remove the player character while remaining character camera functionality?

Okay so I’m making a lobby system and will have a lot of players in one lobby so I want to reuse the same map, so I want to make the player characters not spawn and instead place dummy characters
However, when I try to remove charcters by setting game.Players.CharacterAutoLoads to false I can’t set the camera to a specific part, thanks for your input.

image

Have you tried to set the CameraSubject to a part or something?
Or changing the camera’s CFrame?

yeah, thats the original plan. I want to set the camera to a part, however when I set that value it borks it.

Make it try until the camera “accepts”. You can use RenderStepped for that.

This didnt seem to fix it. I would like to state that it does work before I set that value.

try Player.ReplicationFocus on workspace (on server-side script)

and set Camera’s Subject to specfic Part or workspace

can you do a test so see if Workspace.CurrentCamera exists? for example,

print(workspace.CurrentCamera)

There is a promenent studio bug with CharacterAutoLoads which causes the GUI and Camera to not be created until the player has been spawned in. unless you are doing this already then this may be the issue you are having.

Try spawing the player using Player:LoadCharacter(), then immediately kill them or void their character. once they spawn their UI and Camera should be created and it should fix your issue.

Thank you, this seemed to fix my problem.

You can use Player.ReplicationFocus = workspace (when player joins, the server-side script)… without this method (needed)

(althought replicationfocus does not puts GUI into player and camera setted up)
camera’s subject you can setted up to workspace

ah i see thanks,
I think I’ll just have to go with this hacky workaround for now as I also need GUI