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: A question I have

Previous Thread :: Next Thread 
pitaden is not online. pitaden
Joined: 21 Aug 2011
Total Posts: 2492
02 May 2015 10:27 PM
I want to create a script that makes it so that when I press E on a group of objects, that group gets a transparency of 0 and after a minute or two it reappears. The problem is that I have no idea how to make a script like that.

I was thinking that the script would go along the lines of this, but I don't know how to make one that would actually work..
while wait(0.1) do
if keys("e") then
workspace.object.objectbit1.Part.transparency = 0
workspace.object.objectbit2.Part.transparency = 0
end
end

In the actual model, there are multiple parts named Part, so I'm guessing that doing Part.transparency would affect all parts with that name in the parent of Part.
Report Abuse
pitaden is not online. pitaden
Joined: 21 Aug 2011
Total Posts: 2492
04 May 2015 08:48 PM
Bump, since no responses so far.
Report Abuse
SolePlayer is not online. SolePlayer
Joined: 06 May 2012
Total Posts: 481
04 May 2015 08:51 PM
Ermmm, your script has flaws, as well as the value you are trying to change the transparency to(0 = visible, 1 = invisible). As for your request.....idk either :/
Report Abuse
pitaden is not online. pitaden
Joined: 21 Aug 2011
Total Posts: 2492
04 May 2015 08:57 PM
@SolePlayer
The script is just a guess of what I think it might look like, not the script I would use.
Report Abuse
SolePlayer is not online. SolePlayer
Joined: 06 May 2012
Total Posts: 481
04 May 2015 08:59 PM
Like I said, don't actually know what do do here. Just thought I would give my thoughts on your script.
Report Abuse
SolePlayer is not online. SolePlayer
Joined: 06 May 2012
Total Posts: 481
04 May 2015 08:59 PM
-facepalm- "do do"
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