Howdy.
I'm just using this little script:
wait()
script.Parent.Touched:connect(function(hit) --Activates when hit
if hit.Name == "Objection" then --detects the name and runs the code
script.Parent.Transparency = 1
end
end)
And. When i'm going to run my game. The brick doesn't always turn Trans 1 when touched by the object.
And sometimes it works...
Example: When i go in play mode (studio) and un-anchored my brick that should touch it, it won't register it. But, when it's already unanchored and then go play, it's being registered?

6 comments
I don't think this is the problem, but use uppercase
:Connect()instead of lowercase:connect()Maybe because you aren't destroying the part that is touched and the new part is touching the invisible part.
:connect is depricated, instead use :Connect
omg you people stop giving stupid answers
Anyway, you're saying that you're changing the property in-game and it isn't working?
https://imgur.com/a/cE0AO4u
Explain me this how is part 1 going to register part2's touch when part3 is in between them.