script.Parent.box.Touched:connect(function(hit)
if hit and hit.Parent and hit.Parent:FindFirstChild'Humanoid' and hit.Parent.Humanoid:FindFirstChild'bullets' then
print(hit.Parent.Name) -- Player1
if hit.Parent:FindFirstChild'Humanoid' then
print(hit.Parent.Humanoid.Name) -- Humanoid
end
if script.Parent.Type.Value == 'Health' and hit.Parent.Humanoid.Health < hit.Parent.Humanoid.MaxHealth then
hit.Parent.Humanoid.Health = script.Parent.Humanoid.Health + 1.5
script.Parent:Destroy()
The line that adds 1.5 health to the humanoid errors saying humanoid is not a valid member when it has already said it exists several times before, plain and simple. Help?

1 comment
pffpppt i was even aware of that before and i started fixing it lol