So I’m creating a screen where it shows the character of the player e.g like a title screen. However, everytime I try it always loads my character without any accessories or anything. Just like a rig nor is it loading any animations. I’ve checked the explorer and it is my character in workspace so I really dont know why it’s doing this.
local player = game:GetService("Players").LocalPlayer
local rp = game.ReplicatedStorage
local UIS = game:GetService("UserInputService")
player.CharacterAdded:Connect(function()
local cam = workspace.CurrentCamera
local player = game.Players.LocalPlayer
local Char = player.Character or player.CharacterAdded:wait()
local Humanoid = Char:WaitForChild("Humanoid")
local TitleScreenModel = game.ReplicatedStorage.StarterCharacterScreen:Clone()
TitleScreenModel.Parent = game.Workspace
local CameraModel = TitleScreenModel.CharacterStarterScreenCameraCFrame
cam.CameraType = Enum.CameraType.Scriptable
cam.CFrame = CameraModel.CFrame
cam.FieldOfView = 90
Char.Archivable = true
local CharacterDisplay = Char:Clone()
CharacterDisplay.Parent = game.Workspace
CharacterDisplay:SetPrimaryPartCFrame(TitleScreenModel.CharacterRigCFrame.CFrame * CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)))
local IdleScript = game.ReplicatedStorage.Animate:Clone()
IdleScript.Parent = CharacterDisplay
IdleScript.Enabled = true
Humanoid.Died:Connect(function()
cam.CameraType = Enum.CameraType.Custom
end)
end)