LOCAL:


local saveTable = { }


script.Parent.Save.MouseButton1Click:Connect(function()
	local Desc = game.Players.LocalPlayer.Character.Humanoid:GetAppliedDescription()
	table.insert(saveTable, Desc)
end)

script.Parent.Load.MouseButton1Click:Connect(function()
	game.Players.LocalPlayer.Character.Humanoid:RemoveAccessories()
	local lol = saveTable[1]
	game.ReplicatedStorage.RemoteEvent:FireServer(lol)
end)

SERVER:


game.Players.CharacterAutoLoads = false

game.Players.PlayerAdded:Connect(function(player)
	player:LoadCharacter()
end)


game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect(function(Player, desc)
	Player:LoadCharacter()
	Player:LoadCharacterWithHumanoidDescription(desc)
end)

ERROR:

  19:44:34.372 - Argument 1 missing or nil
19:44:34.373 - Stack Begin
19:44:34.373 - Script 'Workspace.Script', Line 10
19:44:34.373 - Stack End

Happens everytime

1 comment

0

Only things that are are available to the server and client can be sent trhough remotes. Every thing else will be nil ie the player mouse is nil as its only on the client side. Also should be doing this work on the server.