Hello, so I am trying to make a frame that acts as a character display gui but I am getting this error can someone help me fix it? This is my script:
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()local VPFcam = Instance.new(“Camera”); VPFcam.Parent = script.Parent.ViewportFrame
VPFcam.CFrame = CFrame.new(0,0,0)
script.Parent.ViewportFrame.CurrentCamera = VPFcamrepeat wait(.1) until game:IsLoaded()
character.Archivable = true
local ClonedChar = character:Clone()
ClonedChar.Parent = script.Parent.ViewportFrame.WorldModel
ClonedChar.Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
ClonedChar:SetPrimaryPartCFrame(CFrame.new(Vector3.new(0,0,-9.5), Vector3.new(0,0,0)))