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


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
	local humanoid = eActor:FindFirstChild("Humanoid")
	if humanoid then

thats because you are printing the Instances parent.

im printing the name? what do you mean