|
| 11 Dec 2013 10:30 PM |
function onClicked(mouse) gui.StartGui.Menu.Visible = true end
script.Parent.MouseButton1Click:connect(onClicked)
All variables defined.
What should I change the bottom line too if I want to use this script for a TextLabel?
I'm tempting you with my PhD. |
|
|
| Report Abuse |
|
|
wazap
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 23234 |
|
|
| 11 Dec 2013 10:33 PM |
| WHY NOT JUST USE A TEXTBUTTON |
|
|
| Report Abuse |
|
|
|
| 11 Dec 2013 10:35 PM |
because I can't be bothered pasting one in and changing all the settings when I already have a label
I'm tempting you with my PhD. |
|
|
| Report Abuse |
|
|
wazap
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 23234 |
|
|
| 11 Dec 2013 10:43 PM |
Heres a hax way then
local tbutton = Instance.new("TextButton", YOURTEXTLABELHERE) tbutton.BackgroundTransparency = 1 tbutton.ZIndex = 10 tbutton.Size = UDim2.new(1,0,1,0) tbutton.Text = "" tbutton.MouseButton1Down:connect(function() whatever end) |
|
|
| Report Abuse |
|
|