|
| 16 Apr 2016 01:22 PM |
function onClicked(playerWhoClicked) game.Workspace.Term1.CanCollide = false game.Workspace.Term1.Transparency = 0.5 wait(3) game.Workspace.Term1.CanCollide = true game.Workspace.Term1.Transparency = 0 end script.Parent.ClickDetector.MouseClick:connect(onClicked) I also have a clickdetector and it its in a brick |
|
|
| Report Abuse |
|
|
MutigenHD
|
  |
| Joined: 28 Aug 2014 |
| Total Posts: 516 |
|
|
| 16 Apr 2016 01:24 PM |
Is your game FilteringEnabled?
|
|
|
| Report Abuse |
|
|
|
| 16 Apr 2016 01:40 PM |
| Click detectors don't passed who clicked it. |
|
|
| Report Abuse |
|
|
nox7
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 27467 |
|
|
| 16 Apr 2016 01:41 PM |
"Click detectors don't passed who clicked it."
http://wiki.roblox.com/index.php?title=API:Class/ClickDetector/MouseClick |
|
|
| Report Abuse |
|
|
|
| 16 Apr 2016 01:43 PM |
| Nvm, apparently now the do :p I'll look into it. |
|
|
| Report Abuse |
|
|
|
| 16 Apr 2016 01:46 PM |
Only reason I can think of why it doesn't work is either the script is diabled, or put in storage that is not server script service. Or you put it in a local script.
I remember a time where click detectors didn't tell you who clicked it. |
|
|
| Report Abuse |
|
|
Skellobit
|
  |
| Joined: 13 Apr 2016 |
| Total Posts: 12758 |
|
|
| 16 Apr 2016 02:02 PM |
1) is the name of the object exactly Term1 (rename it) 2) is the script disabled (untick the box) 3) is FilteringEnabled set to true (set it to false) |
|
|
| Report Abuse |
|
|
| |
|
|
| 16 Apr 2016 05:12 PM |
| NEVERmind people my mouse was actually disconnected and when i tried it with the keyboard mosue it worked ! |
|
|
| Report Abuse |
|
|