game.ReplicatedStorage:WaitForChild("IFE_Values_Folder").IFE_Avatar_Function.OnServerEvent:Connect(function(player,PlayerRequest,RigModel)
if PlayerRequest ~= nil or PlayerRequest ~= 0 then
local desc = game.Players:GetHumanoidDescriptionFromUserId(PlayerRequest)
RigModel:ApplyDescription(desc)
end
end)
I am getting an error whereby the RigModel, which is a Humanoid, is seen as the Script as nil despite the fact that it exists. This interaction works perfectly fine when done from another LocalScript, just one specific one and I am unsure as to why. Any suggestions?
It is an in-game mechanic. The parent of the LocalScript, which is a Frame, is cloned, however this has no effect since I tried putting it in another script that isn’t a cloned and got the same result.
I believe the issue is something to do with the server-side not having a client-replicated Humanoid. I will see if this is the case and mark as solution if this is the case.