Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Can you help on my camera?

Asked by 8 years ago

It isnt focusing on the player...

local Camera = game.Workspace.CurrentCamera:Destroy()
local NewCamera = Instance.new('Camera')
NewCamera.CameraType = Enum.CameraType.Fixed
NewCamera.CameraSubject = Player:FindFirstChild('Humanoid')
NewCamera.Parent = game.Workspace

1 answer

Log in to vote
0
Answered by
P100D 590 Moderation Voter
8 years ago

I don't know why you would need to destroy the old camera.

local camera = game.Workspace.CurrentCamera
camera.CameraType = Enum.CameraType.Fixed
camera.CameraSubject = Player:FindFirstChild('Humanoid')

Make sure this is in a LocalScript

0
It worked but the only thing is that when it turns to Fixed it still faces the baseplate due to the intro and when i do Enum.CameraType.Follow it works.. But the thing is that i dont want follow, help? UltraUnitMode 419 — 8y
Ad

Answer this question