Tutorial:Making a Clickable Part

In this tutorial, we will make a clickable that will tell the output who clicked it.

Scripting
Open up the script, delete all the code. We need to hook up an event to the ClickDetector's MouseClick event. We do so by using this code. 'plr' is an argument sent by the event, which is a reference to a object of the player that clicked. Now all we need to do, is print the name of the clicker. That is it. You can do anything with this.