Alright, This is supposed to be a tool that kills the player. But it's telling me this: "attempted to index nil with Humanoid"
Here's the code:
local tool = script.Parent
local chr = game:GetService("Players").LocalPlayer:WaitForChild("Character")
script.Parent.Activated:Connect(function()
chr.Humanoid.Health = 0
end)
Is it a hard fix or easy fix?

1 comment
No such error is possible with the code you've presented.