Hello! What am i doing wrong? Could someone help me please?
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
script.Parent.MouseButton1Click:Connect(function()
char:Clone()
end)
I need to make a copy of my character and that when I press the button my character changes to the copy I made
This way my player will look like the copy
How i could do that?
I need to change the appearance of the player to the copy I made (the utility that I will give it will be that my character changes so I want to be able to return to its copied form before)
You’ll also need to set Archivable property of your character to true. I believe you just simply set the players character like so, player.Character = your_character
I’m not too sure if this will work though:
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
script.Parent.MouseButton1Click:Connect(function()
char.Archivable = true
local clone = char:Clone()
player.Character = clone
clone.Parent = workspace
end)
Here is a related thread, you might also need to look into it: