script.Parent.Touched:Connect(function(hit)
	local hum = hit.Parent:WaitForChild("Humanoid", 100)
	if game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.Parent.Animation):Play() == true then
	hum.Health = 0
end
end)

It errors and says attempt to index nil with 'Character'