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
 

script problem

Previous Thread :: Next Thread 
ruebot is not online. ruebot
Joined: 08 Feb 2008
Total Posts: 203
13 Jul 2011 04:47 PM
-- I just wanted to say that this is just part of the script.


for i = 1, 0, -1 do
wait(.5)
end
if i == 0 then

msg.Text = "Go through the door."
door.Door1.CanCollide = false
door.DoorDetector1.BrickColor = BrickColor.new("Bright green")
wait(3)
msg:Remove()
wait(4)
door.Door1.CanCollide = true
door.Door1.Transparency = 0
door.DoorDetector1.BrickColor = BrickColor.new("Bright red")

-- my problem is: After the brick's transparency is 0, it just goes to .1, .2, .3, etc. How do I keep it from doing that on it's own? I want it to follow what I have typed.
Report Abuse
ruebot is not online. ruebot
Joined: 08 Feb 2008
Total Posts: 203
13 Jul 2011 04:52 PM
Ignore that i forgot an 'end'
I just need help with the transparency problem
Report Abuse
benningtonguy is not online. benningtonguy
Joined: 21 Dec 2008
Total Posts: 18166
13 Jul 2011 05:13 PM
There is probably a for loop somewhere else in the script that changes it's Transparency property...
Report Abuse
ruebot is not online. ruebot
Joined: 08 Feb 2008
Total Posts: 203
13 Jul 2011 06:29 PM
No. I checked. That isn't the problem. Ty anyway.
Someone please help!!
Report Abuse
ruebot is not online. ruebot
Joined: 08 Feb 2008
Total Posts: 203
13 Jul 2011 06:38 PM
bump
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