swordron
|
  |
| Joined: 23 Jun 2008 |
| Total Posts: 27432 |
|
|
| 25 Feb 2015 08:34 PM |
like
local Door = script.Parent local s = Instance.new("Sound",script.Parent) s.SoundId = "http://www.roblox.com/asset/?id=180163738" Door.[FUNCTION HERE]:connect(function() Door.Transparency = .5 Door.CanCollide = false s:Play() end)
whats the function i put for it? |
|
|
| Report Abuse |
|
|
|
| 25 Feb 2015 08:35 PM |
Check the wiki friend:http://wiki.roblox.com/index.php?title=API:Class/ClickDetector
These things are also called events. Not functions :) |
|
|
| Report Abuse |
|
|
| |
|
swordron
|
  |
| Joined: 23 Jun 2008 |
| Total Posts: 27432 |
|
|
| 25 Feb 2015 08:37 PM |
Ya I figured that out thx anyways |
|
|
| Report Abuse |
|
|
|
| 25 Feb 2015 08:37 PM |
| Bro. The idea is that we give him the resources to learn so that he doesn't need to come back. |
|
|
| Report Abuse |
|
|
|
| 25 Feb 2015 08:38 PM |
| Once you know how to check API documentation on the wiki you've got like 80% of roblox scripting questions answered |
|
|
| Report Abuse |
|
|
|
| 25 Feb 2015 08:39 PM |
| Maybe they won't get it though... |
|
|
| Report Abuse |
|
|