In my game, I need the camera to focus on the morph instead of the HumanoidRootPart. When my local script for the camera runs, the camera just stays in place. What is going on?? LocalScript:
local player = game.Players.LocalPlayer
local character = player.Character
game.ReplicatedStorage.Status.Changed:Connect(function(newstring)
if newstring == "Game in progress." then
wait()
workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
workspace.CurrentCamera.CameraSubject = character:FindFirstChild("Morph")
end
end)

11 comments
use workspace.CurrentCamera
0 what is Status? A string object? Delete the line that changes your camera to custom
is "Morph" a model or part?
Model
But it doesn't error
I also tried manually setting the camera subject and it orked
You cant focus the camera on a model, it needs to be a part.
worked
Yes, you can. So, it worked fine and set the subject, but the camera just hovered there. I think its because the type is still scriptable???
make the model have a primary part (in the properties of the model) and set the camerasubject to model.PrimaryPart
Still didn't work