I’m trying to make a clone of the player a paste it over the player character to make the character unaffected by lighting and mostly importantly by ColorCorrectionEffect as I don’t want them to be affected by the colour change.
However the issue is that everytime i zoom out the “Fake” Character model goes down.
Any way to fix this? Any help with be much appreciated.
(here is the code if that helps)
local Player = game.Players.LocalPlayer
local Char = Player.Character or Player.CharacterAdded:Wait()
local VPF = script.Parent.ViewportFrame
local Camera = game.Workspace:WaitForChild("Camera")
local NewCamera = Instance.new("Camera")
NewCamera.FieldOfView = Camera.FieldOfView
NewCamera.Parent = VPF
NewCamera.CFrame = Camera.CFrame
repeat wait(.1) until game:isLoaded()
VPF.CurrentCamera = Camera
Char.Archivable = true
local CloneChar = Char:Clone()
CloneChar.Parent = VPF.WorldModel
CloneChar.HumanoidRootPart.Anchored = false
Char.Archivable = false
local Rs = game:GetService("RunService")
Rs.heartbeat:Connect(function()
NewCamera.CFrame = Camera.CFrame
CloneChar.HumanoidRootPart.CFrame = Char.HumanoidRootPart.CFrame
end)
