I have a script. When you touch a part(the part has a non-local script), a value inside of my GUI changes. Without filtering, it works fine. But, when filtering is enabled, it does not work. How would I enable it to work?
Inside the GUI(local script):
repeat wait() until script.Parent.Part1.Value == true
Inside the brick which you touch(server script):
finishPart = script.Parent
db = false
finishPart.Touched:connect(function(hit)
if not hit.Parent:FindFirstChild("Humanoid") then return end
if db == false then
db = true
local pw = game.Workspace:FindFirstChild(hit.Parent.Name)
local p = game.Players:FindFirstChild(hit.Parent.Name)
print(pw)
p.PlayerGui:FindFirstChild('Tutorial'):FindFirstChild('Part1').Value = true
wait()
db = false
end
end)
When you touch the brick, the value does not change.

1 comment
Include the scripts so that we can give a specific recommendation.