generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Whats the function for a clickdetector

Previous Thread :: Next Thread 
swordron is not online. 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
TooKawaiiForSenpai is not online. TooKawaiiForSenpai
Joined: 03 Mar 2009
Total Posts: 3241
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
AbstractMadness is not online. AbstractMadness
Joined: 22 Dec 2014
Total Posts: 20425
25 Feb 2015 08:36 PM
MouseClick
Report Abuse
swordron is not online. swordron
Joined: 23 Jun 2008
Total Posts: 27432
25 Feb 2015 08:37 PM
Ya I figured that out
thx anyways
Report Abuse
TooKawaiiForSenpai is not online. TooKawaiiForSenpai
Joined: 03 Mar 2009
Total Posts: 3241
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
TooKawaiiForSenpai is not online. TooKawaiiForSenpai
Joined: 03 Mar 2009
Total Posts: 3241
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
AbstractMadness is not online. AbstractMadness
Joined: 22 Dec 2014
Total Posts: 20425
25 Feb 2015 08:39 PM
Maybe they won't get it though...
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image