function onTounched(playerWhoTounched)
game.workspace.PIDS.PIDS.PIDS.Frame.TextLabel.A.Value = false and
game.workspace.PIDS.PIDS.PIDS.Frame.TextLabel.B.Value = true
end
end
script.Parent.Touched:connect(onTouched)
Wrong: - Workspace.PIDS.Part.Script:3: unexpected symbol near '=' - Attempt to connect failed: Passed value is not a function
l need a fix script(less worlds)

2 comments
have other wrong : attempt to call a nil value
I checked again. I edited another error. You mispelled the name of your function. I changed it to "onTouched" for you rather than "onTounched". See if that helps...