How can I only detect body parts of a user with mouse.target without their acessories?
For example, when I aim at a acessory, it will go through it and directly detect the HumanoidRootPart
LocalScript inside tool:
local tool = script.Parent
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
while wait() do
local target = mouse.Target
if target then print(mouse.Target.Parent) end -- I only want to get body part that is detected, not aceossries.
-- But if aceessory is detected, i need it to print the "HumanoidRootPart"
end