|
| 25 Apr 2017 05:52 PM |
I am trying to make an ImageLabel turn invisible by click of a button. I wrote up a script and have yet to find a problem. Does anyone know where I went wrong?
Tv = script.Parent.Parent.Tv1
function onClicked()
Tv.SurfaceGui.ImageLabel.Visable = false
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 25 Apr 2017 07:05 PM |
Tv = script.Parent.Parent.Tv1 function onClicked() Tv.SurfaceGui.ImageLabel.Visible = true end script.Parent.ClickDetector.MouseClick:connect(onClicked)
|
|
|
| Report Abuse |
|
|
iiNemo
|
  |
| Joined: 22 Jul 2013 |
| Total Posts: 2380 |
|
|
| 25 Apr 2017 07:21 PM |
script.Parent.ClickDetector.MouseClick:connect(function() script.Parent.Parent.Tv1SurfaceGui.ImageLabel.Visible = true end) |
|
|
| Report Abuse |
|
|