What I’m trying to do is start the player’s camera off staring at the players face when the player spawns and then zoom out and do something cool but I’m struggling with making the cam face the players head so I could then zoom out.
local mod = {}
local cam = workspace.CurrentCamera
local Tween = game:GetService('TweenService')
local Players = game:GetService('Players')
local RS = game:GetService("ReplicatedStorage")
local Player = Players.LocalPlayer
local S = RS:FindFirstChild('DuelOfTheFates')
mod.Camera = function(Player, key)
if key == 1 then
Player:WaitForChild(Player.Character)
cam.CameraType = Enum.CameraType.Scriptable
cam.CameraSubject = Player.Character.Head:FindFirstChild'FaceFrontAttachment'
cam.CFrame = CFrame.new(Player.Character.Head:FindFirstChild'FaceFrontAttachment'.CFrame * Vector3.new(0,0,0))
end
end
mod.Initialize = function()
mod.Camera(1)
local Sound = S:Clone()
S.Parent = Player.PlayerGui
S:Play()
end
return mod```