local character = player.Character
local rootpart = character.HumanoidRootPart
local rayparams = RaycastParams.new()
rayparams.FilterType = Enum.RaycastFilterType.Blacklist
rayparams.FilterDescendantsInstances = {character}
rayparams.IgnoreWater = true
if i add a character in FilterDescendantsInstances table then raycasting is getting broken
workspace:Raycast(rootpart.Position, rootpart.Position * 5, rayparams)
(server script)