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: Help???

Previous Thread :: Next Thread 
ClassicAir is not online. ClassicAir
Joined: 30 Sep 2011
Total Posts: 361
03 Sep 2015 09:13 AM
so i wanted a brick to appear for 5 secs and then disappear for 2 seconds and then re appear. how should the script go? pls post in comment below.
Report Abuse
Emperoar is not online. Emperoar
Joined: 06 Aug 2010
Total Posts: 382
03 Sep 2015 09:18 AM
brick = game.Workspace.Part
brick.Transparency = 1

function show()
brick.Transparency = brick.Transparency = 0
wait(5)
brick.Transparency = 1
wait(2)
brick.Transparency = 0

script.Parent:connect(show)


~Emperoar~
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
03 Sep 2015 09:19 AM
Dont ask for requests like this. No one wants to make them. Ill make it this one time since this is stupidly simple.

while wait() do
script.Parent.Transparency = 0
wait(5)
script.Parent.Transparency = 1
wait(2)
end
Report Abuse
ClassicAir is not online. ClassicAir
Joined: 30 Sep 2011
Total Posts: 361
03 Sep 2015 09:19 AM
Oh thanks guys :)
Report Abuse
DarthStrantax is not online. DarthStrantax
Joined: 31 May 2011
Total Posts: 2610
03 Sep 2015 09:20 AM
noooo that will wait for 2.003 seconds!!!!
while true do
script.Parent.Transparency = 0
wait(5)
script.Parent.Transparency = 1
wait(2)
end
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
03 Sep 2015 09:21 AM
@darth no it wont
Report Abuse
DarthStrantax is not online. DarthStrantax
Joined: 31 May 2011
Total Posts: 2610
03 Sep 2015 09:24 AM
yes it does.
while wait() do -- Waits for 0.003 seconds at start, and after every 2 second delay, making it +.003 ( or .someamountof0's3)
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
03 Sep 2015 09:40 AM
wait() = 0.03 not 0.003
Report Abuse
DarthStrantax is not online. DarthStrantax
Joined: 31 May 2011
Total Posts: 2610
03 Sep 2015 09:50 AM
u were still wrong aswell
Report Abuse
ElectoStriking is not online. ElectoStriking
Joined: 10 May 2014
Total Posts: 1547
03 Sep 2015 10:17 AM
k but its just 0.03 seconds T.T...
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