I’m so confused, It’s literally the member/child of the player’s character how do I fix this? I’m trying to make a local shirt rack thing, It’s a local script btw.
My script:
local Camera = workspace.CurrentCamera
if not Camera then
local Camera = workspace.CurrentCamera
Camera.Name = "LocalCamera"
end
local Player = game.Players.LocalPlayer
local Char = Player.Character or Player.CharacterAdded:Wait()
function Add1()
local PlrShirt = Char.Shirt:Clone()
PlrShirt.Parent = workspace.PlayerClothes1.Clothing
workspace.PlayerClothes1.Parent = Camera
local PlrPants = Char.Pants:Clone()
PlrPants.Parent = workspace.PlayerClothes1.Clothing
return
end
function Add2()
local PlrShirt = Char.Shirt:Clone()
PlrShirt.Parent = workspace.PlayerClothes2.Clothing
workspace.PlayerClothes1.Parent = Camera
local PlrPants = Char.Pants:Clone()
PlrPants.Parent = workspace.PlayerClothes2.Clothing
return
end
Add1()
Add2()