local cam = workspace.CurrentCamera
game:GetService("ReplicatedStorage"):WaitForChild("Realizaiton").OnClientEvent:Connect(function()
cam:WaitForChild("ViewModel"):Destroy()
print("Realized")
cam.CameraType = Enum.CameraType.Scriptable
cam.CFrame = workspace:WaitForChild("Realize").CFrame
wait(2)
game:GetService("ReplicatedStorage"):WaitForChild("ViewModel"):Clone().Parent = cam
cam.CameraType = Enum.CameraType.Custom
end)
Also the print statement prints and the CFrame is changed however the viewmodel is in the way and not getting destroyed.