So, I have a dummy model in my viewport frame, I all I am trying to do is to make the player’s avatar show up instead of the dummy.
I have tried to apply the player’s humanoid description to the dummy in the viewport, but that didn’t work.
You can have a script where it clones the player’s character and put’s it in the viewport frame. You wouldn’t have to deal with a dummy in this case, just clone the player’s character.
I did it,
but now the viewport is just empty.
local player = game:GetService("Players").LocalPlayer
local character = player.Character
local list = script.Parent.Parent.Parent
local info = list.Information
local view = info.ViewportFrame
local cam = view:WaitForChild("Camera")
player.CharacterAdded:Connect(function(c)
character = c:Clone()
character.Parent = script.Parent
cam.CFrame = CFrame.new(character.Head.Position + (character.Head.CFrame.lookVector*2.5),character.Head.Position)
end)