so this is a script inside a frame that's inside a GUI and that GUI is inside a StarterGUI. The script makes it so if you touch one part, a GUI appears, but if you touch another part then the GUI disappears (or at least the text) The 1st part of the script works, but the 2nd part doesn't. any help?
local Part = workspace:FindFirstChild("Why")
Part.Touched:Connect(function(PartThatTouchedThePart)
wait(1)
script.Parent.Text.TextTransparency = 0
script.Parent.Text2.TextTransparency = 0
end)
local Part = workspace:FindFirstChild("PIZZA")
Part.Touched:Connect(function(PartThatTouchedThePart)
wait(1)
script.Parent.Text.TextTransparency = 1
script.Parent.Text2.TextTransparency = 1
print("NYEAH!")
end)

1 comment
tried it out and it worked! thanks!