Hello Im currently trying to move the players camera forward in first person so it’s not just in the middle.
local RunService = game:GetService("RunService");
local Player = game.Players.LocalPlayer;
local Character = Player.Character or Player.CharacterAdded:Wait();
local Camera = game.Workspace.CurrentCamera;
local Head = Character:WaitForChild("Head");
local FPMaximumDistance = 0.6;
local FirstPersonLocalTransparency = 0;
local ThirdPresonLocalTransparency = 0;
local function SetCharacterLocalTransparency(transparency)
for i,v in pairs(Character:GetChildren()) do
if (v:IsA("BasePart")) or v:IsA("Part") then
if v.Name == "Right Arm" or v.Name == "Left Arm" then
v.LocalTransparencyModifier = 1;
else
v.LocalTransparencyModifier = transparency;
end
end
end
end
Camera.CFrame = Camera.CFrame + (Camera.CFrame.LookVector * 5)
RunService.RenderStepped:Connect(function()
SetCharacterLocalTransparency(FirstPersonLocalTransparency);
end)