Humanoid Description stuff is returning nil

Hello, Ive been stuck on this issue for quite some time

game.ReplicatedStorage.RemoteFunction.OnServerInvoke = function(plr)
	plrchar = plr.Character.Humanoid:GetAppliedDescription()
	return plrchar
end
--server
game.ReplicatedStorage.RemoteFunction.OnServerInvoke = function(plr)
	plrchar = plr.Character.Humanoid:GetAppliedDescription()
	return plrchar
end
--client
mainplrstuffs = game.ReplicatedStorage.RemoteFunction:InvokeServer()
	game.Workspace.rappingplrs.mainplr.Humanoid:ApplyDescription(mainplrstuffs)

the error is

Argument 1 missing or nil 

its happening on the apply description, I’ve tried it with the gethumanoiddescriptionfromuserid no luck

2 Likes

Heya!
You are trying to use :ApplyDescription(mainplrstuffs) On the client. Should be done in server. Move that line to the server script and it will work. Theres no reason to return the HumanoidDescription to the client. Actually if clients would be able to change their HumanoidDescription, any exploiter could wear any clothing they want on any game. So only server handles that

3 Likes