Viewport Frame Model Not Working

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    i want to create a viewport frame that holds a model

  2. What is the issue? Include screenshots / videos if possible!
    the viewport frame was empty

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    i already tried finding solutions but none of them worked

and this is my code

local viewportframe = script.Parent.View3D
local part = game.ReplicatedStorage.Skins.Default:Clone()
part.PrimaryPart.CFrame = CFrame.new(0,0,0)
part.Parent = viewportframe

local viewportcamera = Instance.new("Camera")
viewportcamera.CameraType = Enum.CameraType.Scriptable
viewportframe.CurrentCamera = viewportcamera
viewportcamera.Parent = viewportframe

viewportframe.CurrentCamera.CFrame = CFrame.new(0,0,6)

this is the result:
image

Any helps would be appreciated, Thank you.

is the camera looking at the model?

nvm, fixed (30303030330303 characters)