You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I want to clone the players character when they press a UI. I it to only be a client sided cloning -
What is the issue? Include screenshots / videos if possible!
Even if the script registers the players character being Archivable, It wont clone. -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I tried a server script that set the characters archivable true as soon as the character joined but even that wouldnt work
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
--Server script
local Players = game.Players
Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
character.Archivable = true
print(player.Character) -- prints true
end)
end)
--client
object.MouseButton1Click:Connect(function()
local Char = game.Players.LocalPlayer
print(Char.Archivable) -- true
Char.Archivable = true
print(Char.Archivable) -- true
local Clone = Char:Clone()
print(Clone.Name) -- nil
end)
Thanks in advanced for the help!
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.