LOG1CEXE
(Kali_Linux)
1
im trying to clone player character with gui press but my script is not working Here is the script:
server.spawnNewChar.MouseButton1Click:Connect(function()
game.ReplicatedStorage.server.sameChar:FireServer(plrInfo.plrName.Text)
end)
Here is the error:
attempt to index nil with 'Parent'
LOG1CEXE
(Kali_Linux)
3
Here is the error (this is ss):
game.ReplicatedStorage.server.sameChar.OnServerEvent:Connect(function(idk,plr)
local CloneChar = game.Players:FindFirstChild(plr).Character:Clone()
CloneChar.Parent = workspace
end)
You have to enable the archivable property before you can clone a character.