So the touching block function is done the only problem is that i don't know how to make it close when i am not touching the block,i tried to add a Text Button as a close Button but when i tried to touch the brick again to open the GUI it won't show up.
COMMUNITY QUESTION
How do i make a GUI disappear when not touching a block?
1 answer
I finally found a answer so basically this post is answered (Wow this was the fastest post to be closed)
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
http://wiki.roblox.com/index.php?title=API:Class/BasePart/TouchEnded
thanks for that i also checked that i am kinda of a newbie at LUA but i have done some script just this one so can you give me a script,i know that this website doesn't allow giving script but please i am begging you just one.