|
| 31 Aug 2015 03:50 PM |
i have this script and i dont know why its not working function onClicked(playerWhoClicked) brick = game.Workspace.Water game.Workspace.Water brick.Transparency = 1
end script.Parent.ClickDetector.MouseClick:connect(onClicked) |
|
|
| Report Abuse |
|
|
|
| 31 Aug 2015 03:51 PM |
| WAIT i found out why ALSO how do i make it so it sets the transparentcy to 0 with another click? |
|
|
| Report Abuse |
|
|
Vortilis
|
  |
| Joined: 06 Jul 2014 |
| Total Posts: 14163 |
|
|
| 31 Aug 2015 04:25 PM |
script.Parent.ClickDetector.MouseClick:connect(function(clicker) brick = game.Workspace.Water if brick.Transparency == 0 then brick.Transparency = 1 elseif brick.Transparency = 1 then brick.Transparency = 0 end end) |
|
|
| Report Abuse |
|
|
|
| 31 Aug 2015 04:32 PM |
| Post this on Devolping....Dang people don't know where to post.... |
|
|
| Report Abuse |
|
|
Vortilis
|
  |
| Joined: 06 Jul 2014 |
| Total Posts: 14163 |
|
|
| 31 Aug 2015 04:35 PM |
| and you dont know how to spell |
|
|
| Report Abuse |
|
|
|
| 31 Aug 2015 04:51 PM |
@theninjapigs,
learn how to spell first...
The thing about common sense is that it is not common. |
|
|
| Report Abuse |
|
|
|
| 27 Sep 2015 03:46 PM |
now another script i need halp with HOW do i move a part (in explorer) using scripts (or moving parents)? |
|
|
| Report Abuse |
|
|
vasa43052
|
  |
| Joined: 03 Apr 2015 |
| Total Posts: 4438 |
|
|
| 27 Sep 2015 03:52 PM |
| this is the wrong forum you ding dong stupid head go to the scripters forum |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2015 09:16 PM |
| sorry this is my first fourm post i dont know crap |
|
|
| Report Abuse |
|
|