When the player loads into my game I want their camera to Face towards my game, which is a bunch of stages lined up after another, where as instead their camera defaults to looking exactly opposite to my game
I’ve tried asking people and nothings worked, If I set the CFrame to the marble the camera turns Fixed and Its not custom, is there anyway I can default the camera to look towards the stages?
And about rotating the character, I’ve tried that and it does not make a difference
Here is my Camera Script
local player = game.Players.LocalPlayer
local RunService = game:GetService("RunService")
local Workspace = game.Workspace
local camera = Workspace.CurrentCamera
RunService.RenderStepped:Connect(function()
local character = player.Character
if character then
local marble = character:FindFirstChild("Marble")
--local square = marble:FindFirstChild("Square")
camera.CameraType = Enum.CameraType.Custom
if marble then
camera.CameraSubject = marble
local offset = CFrame.new(0, 3, 8)
local newCFrame = CFrame.new(marble.Position) * CFrame.Angles(0, math.rad(180), 0)
camera.CFrame = newCFrame * offset
task.wait(0.1)
camera.CameraType = Enum.CameraType.Custom
else
--local head = character:FindFirstChild("Head")
if character then
camera.CameraSubject = character:FindFirstChild("Humanoid")
end
end
end
--print(camera.CameraSubject)
end)
Thanks for helping if you can ![]()