Hi, I'm trying to make it where when the player touches a certain part it will change the GUI's transparency but it didn't work.
local wall = workspace.wall
local frame = script.Parent.Parent.FRAME
if wall.Touched:Connect(onTouch) then
frame.Visible = 0.5
end
What do i do?
