i have no idea how to use it, i know onTouch but i don't know onClicked. Do i need a click detector or something?
You don't
The deal is, you have to find the event.
With GUI instances;
TextButton.MouseButton1Down:connect(function() --Button1 is Left Click, Button2 is left Click. Down is when the LMB is down, and Up is when LMB is Up. Same with RMB. --code end)
With Parts (Click Detector);
ClickDetector.MouseClick:connect(function() --code end)
This might help you: http://wiki.roblox.com/index.php?title=Making_an_onClicked_script