part = script.Parent
part.Touched:Connect(function(hit)
if hit.Name == "NodeOrb" and script.Parent.Parent.Parent.Parent.Character.TeamCol.Value == "Tred" then
hit.CaptureStatus.Value = hit.CaptureStatus.Value + 1
end
if hit.Name == "NodeOrb" and script.Parent.Parent.Parent.Parent.Character.TeamCol.Value == "Tblue" then
hit.CaptureStatus.Value = hit.CaptureStatus.Value - 1
end
end)
the script is in a part which is inside a tool, and Im trying to access a stringvalue inside the tool owners character but Im having trouble getting to it, I thought what I had would work but I keep getting an error were the script is trying to get to the stringvalue.
is there something Im doing wrong?

1 comment
yes! thank you this problem has been annoying to deal with.