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
 

Can you tell me whats wrong with this script?

Previous Thread :: Next Thread 
insidebawks is not online. insidebawks
Joined: 23 Sep 2010
Total Posts: 1305
02 Aug 2011 01:23 PM
function onClick ()
script.Parent.Parent.Door.Transparency = 0.5
script.Parent.Parent.Door.Transparency = false
end
click.parent.ClickDetector.MouseClick.connect onClick

It was my first try at making a script.

b fraid of dah shaggy deer
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
02 Aug 2011 01:28 PM
"script.Parent.Parent.Door.Transparency = false"

Transparency is not a a boolean.

script.Parent.Parent.Door.Transparency = 0
Report Abuse
insidebawks is not online. insidebawks
Joined: 23 Sep 2010
Total Posts: 1305
02 Aug 2011 01:31 PM
OH whoops that was meant to be canCollide

b fraid of dah shaggy deer
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