I want to make a system, inwhich you touch a part, and a GUI appears. (The part has no transparency, and has collisions off) and when you exit the part, the gui will disappear.
function appear()
print("hi")
end
function disappear()
print("bye")
end
game.Workspace.Features.Zones.zone_Airport.Touched:Connect(appear)
game.Workspace.Features.Zones.zone_Airport.TouchEnded:Connect(disappear)
(Obviously I haven't set the GUI up yet)
Any help would be appreciated.

5 comments
What is the output showing?
I think if the part has cancollide off, touches events wont fire. What you probably want is Region3. Region3 can be used to detect if a player is writhin a certain area. I wont show any example scripts but you can search youtube for tutorials on this
cannot collide parts still fire touched events for me
@testing34545 Cannot collide parts will fire touch events, but its much more clean to use region3. In this case you want to keep as much as possible in the script.
@Benbebop for one of my games a have the destroying barrier with cancollife off so are you saying i should check for parts in a region 3 every heartbeat?