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 » Scripting Helpers
Home Search
 

Re: Something is wrong

Previous Thread :: Next Thread 
PenutButtar is not online. PenutButtar
Joined: 28 Aug 2011
Total Posts: 194
03 Sep 2011 09:46 PM
door = Button.Parent

function onClick()
wait(0.1)
script.Parent.door.Transparency = 0.1
script.Parent.door.CanCollide = true
wait(30)
script.Parent.door.Transparency = 0
script.Parent.door.CanCollide = false
end

script.Parent.ClickDetector.MouseClick:connect(onClick)
Report Abuse
DrSprinkles is not online. DrSprinkles
Joined: 27 Aug 2011
Total Posts: 457
03 Sep 2011 09:47 PM
Button was defined?
Report Abuse
PenutButtar is not online. PenutButtar
Joined: 28 Aug 2011
Total Posts: 194
03 Sep 2011 09:48 PM
Yes it t'was.
Report Abuse
DrSprinkles is not online. DrSprinkles
Joined: 27 Aug 2011
Total Posts: 457
03 Sep 2011 09:48 PM
And I'm guessing that script.Parent is a model and a ClickDetector doesn't work in a model, unless you have a part in a part.
Report Abuse
PenutButtar is not online. PenutButtar
Joined: 28 Aug 2011
Total Posts: 194
03 Sep 2011 09:50 PM
Scripting is confusing Button was defined but what you said just then confuses me part in part click detector ... THe name of the bricks are button and door.
Report Abuse
BunnyBoy26 is not online. BunnyBoy26
Joined: 17 Jun 2010
Total Posts: 5674
03 Sep 2011 10:54 PM
Is the script in the button?
Report Abuse
izzatnasruna is not online. izzatnasruna
Joined: 09 Jun 2009
Total Posts: 1927
03 Sep 2011 11:01 PM
Could you tell WHAT is wrong?
Report Abuse
JonathanSwag is not online. JonathanSwag
Joined: 30 Aug 2011
Total Posts: 1012
03 Sep 2011 11:05 PM
Listen..

can I just make a model and you take it... I'm tired of seeing this e.e
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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