local C=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local G=require(C.ViewportFrameUtility)local U=script.Parent.ViewportFrame local H=G.new(U,workspace.Dummy)H:FitModel()H:EnableAnimation()H:EnableDragging()H:EnableZooming()H:EnableOrbiting()
local ReplicatedStorage = game:GetService("ReplicatedStorage")

-- Replace this with your path to the ViewportFrameUtility module
local ViewportFrameUtility = require(ReplicatedStorage.ViewportFrameUtility)

-- Replace this with your ViewportFrame
local viewportFrame = script.Parent.ViewportFrame

-- Replace this with your model
local viewportFrameUtility = ViewportFrameUtility.new(viewportFrame, workspace.Dummy)

-- Makes the model fit in the viewport frame
viewportFrameUtility:FitModel()

-- Enables animation for the ViewportFrame
viewportFrameUtility:EnableAnimation()

-- Enables dragging for the ViewportFrame
viewportFrameUtility:EnableDragging()

-- Enables zooming for the ViewportFrame
viewportFrameUtility:EnableZooming()

-- Enables orbiting for the ViewportFrame
viewportFrameUtility:EnableOrbiting()
