Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Viewport Frame Is Only Showing Character’s Head?

Asked by 3 years ago

Hey guys. I’m trying to make character customization system but i have a problem with “ViewportFrame”. It’s only showing the head of the model and i couldn’t figure out why. When i copy model to workspace model looking good. There is no any problem with the dummy. Do you guys have any idea?

-server script-

local hum = plyrGui.CharCus.ViewportFrame.Dummy.Humanoid
local plyrService = game:GetService(“Players”)
local targetId = plyrService:GetUserIdFromNameAsync(“AnyCharName”)
local targetDesc = game.Players:GetHumanoidDescriptionFromUserId(targetId)
hum:ApplyDescription(targetDesc)

https://i.imgur.com/DWCrUIN.jpg

I’m creating one camera with local script which it’s located under StarterPlayerScripts. And one more local script located under viewport frame

script.Parent.CurrentCamera = game.Workspace:WaitForChild("ViewportCamera")

changing the current camera that’s all.

Edit: Btw it’s looking normal before “ApplyDescription” method.

https://i.imgur.com/cHclyuK.png

Answer this question