So, I know the normal function would look something like this script.Parent.ClickDetector.MouseClick:connect(onClick)
However, how would you make it so it would only work when you left click it, like that it works if you left or right click.
You could make to to where it says script.Parent.ClickDetector.MouseButton1:connect(onClick) (which is the left button and then script.Parent.ClickDetector.MouseButton2:connect(onClick) you should try that.