Does "ViewportFrame" only work online or is my code wrong? [SOLVED]

local viewportFrame = script.Parent;

part = workspace["Brown Floof Hair"].Handle;

part.Parent = viewportFrame

local viewportCamera = Instance.new("Camera")

viewportFrame.CurrentCamera = viewportCamera

viewportCamera.Parent = viewportFrame

viewportCamera.CFrame = CFrame.new(Vector3.new(0, 2, 12), part.Position)

The GUI and the Part shown in workspace and ScreenGUI
https://gyazo.com/26ed0749aaf6c3cebcf148db7a7a973e
https://gyazo.com/7f0c9032d7efd3bda7a7fbd72a9c3931

[EDIT]: Does meshes not work with this feature?
[EDIT2]: My camera was too far away