I made this script where when a part is touched, it does some stuff; that's irrelevant though.
Problem is, it only works in Studio. Idk if this is an FE problem, but if someone can help, please do!
Script:
script.Parent.Touched:connect(function()
game.Workspace.TalkBoxes.CastleDoors.Noobs.TalkBoxOne["Exclamation Mark"].PartA.Transparency = 0
game.Workspace.TalkBoxes.CastleDoors.Noobs.TalkBoxOne["Exclamation Mark"].PartB.Transparency = 0
game.Workspace.TalkBoxes.CastleDoors.Noobs.TalkBoxOne.TalkBox.Transparency = .5
game.Workspace.TalkBoxes.CastleDoors.Noobs.TalkBoxOne.ClickDetector.MaxActivationDistance = 100
game.Workspace.TalkBoxes.CastleDoors.Noobs.TalkBoxOne.TalkBox.PointLight.Enabled = true
script.Parent.TouchEnded:connect(function()
game.Workspace.TalkBoxes.CastleDoors.Noobs.TalkBoxOne["Exclamation Mark"].PartA.Transparency = 1
game.Workspace.TalkBoxes.CastleDoors.Noobs.TalkBoxOne["Exclamation Mark"].PartB.Transparency = 1
game.Workspace.TalkBoxes.CastleDoors.Noobs.TalkBoxOne.TalkBox.Transparency = 1
game.Workspace.TalkBoxes.CastleDoors.Noobs.TalkBoxOne.ClickDetector.MaxActivationDistance = 0
game.Workspace.TalkBoxes.CastleDoors.Noobs.TalkBoxOne.TalkBox.PointLight.Enabled = false
end)
end)
Try it out in Studio with your own part or something. Good luck helping me :/
(It's not likely an FE problem, as I tried it with FE off.)

4 comments
You reference "game.Workspace.TalkBoxes.CastleDoors.Noobs" a lot. Why not just use a variable?
didnt seem to work :(
There’s no need to have the TouchEnded function inside the Touched function. You should move it outside to separate it.
Test filtering issues via F7 test server.