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: How to make a brick that disappears every 5 mins?

Previous Thread :: Next Thread 
Jack1278 is not online. Jack1278
Joined: 27 Apr 2010
Total Posts: 5943
15 Sep 2015 09:45 PM
I'm trying to make a brick that automatically disappears (not when touched) every five minutes, but I'm not quite sure HOW I'll do that. I try to look in free models to learn from them but all of them are bricks that disappear when you touch them.
Report Abuse
ComradeREKTangle is not online. ComradeREKTangle
Joined: 07 Feb 2010
Total Posts: 850
15 Sep 2015 09:48 PM
while wait(1) do
brick = urbrick
brick.Transparency = 0
wait(5 minutes in seconds)
brick.Transparency = 1
wait()
end


nursing a baby pinecone back to health
Report Abuse
epicface123321177 is not online. epicface123321177
Joined: 23 Jul 2012
Total Posts: 514
15 Sep 2015 09:48 PM
While true do
script.Parent.Parent.(PART NAME HERE).Transparency = 1
wait (300)
script.Parent.Parent.(PART NAME HERE).Transparency = 0

end
Report Abuse
Jack1278 is not online. Jack1278
Joined: 27 Apr 2010
Total Posts: 5943
15 Sep 2015 09:54 PM
Doesn't work for me. Maybe because many other things in my Workspace are named ''Part''
Report Abuse
JBAgamestar is not online. JBAgamestar
Joined: 18 Jan 2011
Total Posts: 3291
15 Sep 2015 10:15 PM
brick = script.Parent

while true do
brick.Transparency = 0
wait(300)
brick.Transparency = 1
end


Put this script INSIDE of the part you want to turn invisible.
Report Abuse
epicface123321177 is not online. epicface123321177
Joined: 23 Jul 2012
Total Posts: 514
15 Sep 2015 10:17 PM
Then rename the part to something like ''part1337'' and then name it into the script.
Report Abuse
dennis96411 is not online. dennis96411
Joined: 06 Mar 2009
Total Posts: 1079
15 Sep 2015 10:19 PM
Put this script inside the brick.

while wait(300) do
script.Parent.Transparency = script.Parent.Transparency == 1 and 0 or 1
end
Report Abuse
LongKillKreations is not online. LongKillKreations
Joined: 14 Feb 2014
Total Posts: 4502
15 Sep 2015 10:21 PM
All the code on this post will just return the brick to 0 transparency after it is made invisible. I'm disappointed.
Report Abuse
JBAgamestar is not online. JBAgamestar
Joined: 18 Jan 2011
Total Posts: 3291
15 Sep 2015 10:24 PM
@Long, Considering he never specified how long he wanted it to disappear, I blame the OP.
Report Abuse
Jack1278 is not online. Jack1278
Joined: 27 Apr 2010
Total Posts: 5943
16 Sep 2015 04:46 PM
oh, i forgot to say the brick will be invisible for 5 seconds. oopsies
Report Abuse
Amandashawn2 is not online. Amandashawn2
Joined: 02 Feb 2014
Total Posts: 198
16 Sep 2015 05:17 PM
u forgot to tell us how many seconds it will be invisible
Report Abuse
SenseiWarrior is not online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
16 Sep 2015 05:19 PM
#code
while wait(5) do
script.Parent.Transparency = -script.Parent.Transparency
end


#code return
Report Abuse
OakBerry is not online. OakBerry
Joined: 18 May 2015
Total Posts: 407
16 Sep 2015 05:29 PM
-- Put this script inside of your part.

while true do
wait(300)
script.Parent.Transparency = 1
wait(5)
script.Parent.Transparency = 0
end
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