Not like someones avatar, like one I made myself in studio. It's humanoid and uses parts from a robloxian, just with retextured hats and whatnot. It's called BaseCharacter and I can't seem to get the character to morph into it. Here's the script I'm using:
local plr = game.Players.LocalPlayer local character = plr.Character if not character or not character.Parent then character = plr.CharacterAdded:wait() end wait(2) plr.Character:ClearAllChildren() plr.Character = game.Workspace.BaseCharacter
It's edited from a script a friend sent me while I was having troubles and he claims to not know what is wrong. Any help is appreciated!
Erm, 1. It not welded 2. You can't change a character like that. 3. If you remove the character it die. Weld your morph together then you weld it to the player torso
Here a shield script I made, you will need a middle part that you will call "Middle"
local shield = game.ReplicatedStorage.Shield:Clone() local sp = shield:GetChildren() for i,v in ipairs(sp) do local weld = Instance.new("Weld") weld.Part0 = shield.Middle weld.Part1 = v -- weld.C1 = CFrame.new(0.5,0,0) local CJ = CFrame.new(shield.Middle.Position) local C0 = shield.Middle.CFrame:inverse()*CJ local C1 = v.CFrame:inverse()*CJ weld.C0 = C0 weld.C1 = C1 weld.Parent = shield.Middle end local weld2 = Instance.new("Weld") weld2.Part0 = arm weld2.Part1 = shield.Middle weld2.Parent = arm weld2.C1 = CFrame.new(0.5,0,0) shield.Parent = char
Don't do ClearAllChildren. Just change the Character and the old one will probably be destroyed. I've been experimenting with morphing lately, and it works, even with dense bricks. Now I can transform my character even into a tree, If I want. Just make sure that there is a part named Torso and another named Head, and that both are welded or Motor6D' together, with the right offset.
If you want, you can use the Character Creator plugin in the roblox library.