Raycast issues showing workspace and not character

the raycast keeps saying its in the workspace but when I change it it says the individual parts

script

local char = plr.Character
local origin = char:WaitForChild("HumanoidRootPart").Position
local direction = (origin - mousePos).Unit * length

local params = RaycastParams.new()
params.FilterDescendantsInstances = {script.Parent.Parent}
params.FilterType = Enum.RaycastFilterType.Blacklist

local result = workspace:Raycast(origin ,direction, params)

if result then
	local eActor = result.Instance.Parent
	print(eActor.Name)
	local humanoid = eActor:FindFirstChild("Humanoid")
	print(humanoid.Parent)
	if humanoid then

thats because you are printing the Instances parent.

im printing the name? what do you mean