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: Somethings wrong with this.

Previous Thread :: Next Thread 
Tamox is not online. Tamox
Joined: 14 Apr 2011
Total Posts: 9113
20 Jun 2013 08:37 PM
I just can't Put my finger on it.



function onClicked()
script.Parent.Parent.l1.Transparency = 1
script.Parent.Parent.l1.CanCollide = true
end
script.Parent.ClickDetector.MouseClick:connect (onClicked)




function onClicked()
script.Parent.Parent.l6.Transparency = 1
script.Parent.Parent.l6.CanCollide = false
end
script.Parent.ClickDetector.MouseClick:connect (onClicked)
Report Abuse
H5L is not online. H5L
Joined: 19 Jun 2013
Total Posts: 352
20 Jun 2013 08:39 PM
Check wiki.roblox.com
<3
Report Abuse
Tamox is not online. Tamox
Joined: 14 Apr 2011
Total Posts: 9113
20 Jun 2013 08:39 PM
Anything? Im hoping its right. Its for my jail cell on the buttons.
Report Abuse
Tamax is not online. Tamax
Joined: 19 Jul 2011
Total Posts: 435
20 Jun 2013 09:26 PM
Ugh Banned. Help me.
Report Abuse
Voidion is not online. Voidion
Joined: 01 Aug 2011
Total Posts: 2668
20 Jun 2013 09:42 PM
Explain this to me
Report Abuse
thetommygun is not online. thetommygun
Joined: 21 Mar 2011
Total Posts: 6159
20 Jun 2013 09:47 PM
function onClicked()
script.Parent.Parent.Gate.Transparency = 0
script.Parent.Parent.Gate.CanCollide = true
wait(.001)
end

script.Parent.ClickDetector.MouseClick:connect(onClicked)






function onClicked()
script.Parent.Parent.Gate.Transparency = 1
script.Parent.Parent.Gate.CanCollide = false
wait(.001)
end

script.Parent.ClickDetector.MouseClick:connect(onClicked)
Report Abuse
thetommygun is not online. thetommygun
Joined: 21 Mar 2011
Total Posts: 6159
20 Jun 2013 09:49 PM
I think you forgot teh wait()
Report Abuse
Tamax is not online. Tamax
Joined: 19 Jul 2011
Total Posts: 435
20 Jun 2013 09:50 PM
When I get unbanned I'll try this. Thanks.
Report Abuse
Tamax is not online. Tamax
Joined: 19 Jul 2011
Total Posts: 435
21 Jun 2013 07:52 AM
I see you tweaked the transparency a little. I have basically a decal that is transparent jail bars. So I'm keeping it at one. What it is basically trying to say is that when clicked turn the door to transparency 1 then make the brick either Colicollided Or Un Collicollided
Report Abuse
Tamax is not online. Tamax
Joined: 19 Jul 2011
Total Posts: 435
21 Jun 2013 07:53 AM
My bad. Cancollide.
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