I want to attach their head on a toddler body. Well I figured out a way to do that but it was in game soo this happend
Now I want to get the head from their roblox loadout, how am I suppose to do that?
Sorce code inside Server,
local Rs = game:GetService("ReplicatedStorage")
local charEvent = Rs.Characters:WaitForChild("CharacterTransfer")
charEvent.OnServerEvent:Connect(function(Player, CharName)
local ReplicatedChar = Rs.Characters:FindFirstChild(CharName)
local ClonedCharacter = ReplicatedChar:Clone()
local PlayersChar = Player.Character
if CharName == "Kid" then
local headClone = PlayersChar.Head:Clone()
headClone.Parent = ClonedCharacter
headClone.CFrame = ClonedCharacter.Head.CFrame
local Motor6d = ClonedCharacter.Torso.Head
Motor6d.Part1 = headClone
ClonedCharacter.Head:Destroy()
end
ClonedCharacter.Name = Player.Name
Player.Character = ClonedCharacter
ClonedCharacter.Parent = workspace
ClonedCharacter.HumanoidRootPart.CFrame = PlayersChar.HumanoidRootPart.CFrame
PlayersChar:Destroy()
end)