cant you also do
tool.Activated:Connect(function()
local humanoid = tool.Parent:WaitForChild("Humanoid")
local rigType = humanoid.RigType
if rigType == Enum.HumanoidRigType.R6 then
local model = tool.Parent
end
end)
```because equipped tools are in the Character you can just do tool.Parent