#ApplyDesc

1 messages · Page 1 of 1 (latest)

fickle vector
#
LobbyGUIEvent.OnServerEvent:Connect(function(player)
    local dummy = Workspace.LobbyModel.Char

    if not dummy or not dummy:IsA("Model") then
        return
    end

    local humanoidDesc = Players:GetHumanoidDescriptionFromUserId(player.UserId)
    local humanoid = dummy:FindFirstChildOfClass("Humanoid")

    if humanoid then
        humanoid:ApplyDescription(humanoidDesc)

        local anim = Instance.new("Animation")
        anim.AnimationId = "rbxassetid://77102932284879"

        local animator = humanoid:FindFirstChildOfClass("Animator")
        if animator then
            local track = animator:LoadAnimation(anim)
            track:Play()
        end

        anim:Destroy()
    end
end)```

is there a way to call ApplyDesc on the client? Bc rn if i ex the function everyones char gon change
high nest