I made a morph button that morphs the player into a character I made. Everything works fine but i cant seem to make the player get the clothes too. This is my script
local Player = game.Players.LocalPlayer local C = Player.Character Dummy = game.ServerStorage.Rookie --Name of my character-- D = C:GetChildren() local T = Dummy.Torso:clone() T.Parent = Player.Character.Torso local w1 = Instance.new("Weld") w1.Parent = C w1.Part0 = C.Torso w1.Part1 = T w1.C0 = CFrame.new(0,0,0)
i tried to move the shirt to the Dummys torso but that didnt work, so then i tried to make a separate line for the shirt by itself i came up with this
local T = Dummy.Shirt:clone() T.Parent = Player.Character.Torso local w1 = Instance.new("Weld") w1.Parent = C w1.Part0 = C.Torso w1.Part1 = T
but it still doesnt work!
You will need to put the dummy in ReplicatedStorage first of all. The shirt does not go in the torso, it goes in the character itself. And why are you welding a texture to a part? This is assuming that the shirt is a Shirt instance. You will need to change the shirt part to:
local T = Dummy.Shirt:Clone() T.Parent = Player.Character
You will also want to change all your :clone()
's to :Clone()
as the lower case C
is deprecated.