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 » Club Houses » Off Topic
Home Search
 

Re: oh so script help

Previous Thread :: Next Thread 
Jayviator is online. Jayviator
Joined: 16 Oct 2011
Total Posts: 177
04 Mar 2017 05:44 PM
so I need this brick to change colour and material at 23:00 then goes back to normal
Report Abuse
SpliTech is not online. SpliTech
Joined: 06 Feb 2013
Total Posts: 11407
04 Mar 2017 05:50 PM
try changing its properties when minutesAfterMidnight = 23 * 60
and back when minutesAfterMidnight = [hours here] * 60


nemesis is pissed
Report Abuse
Jayviator is online. Jayviator
Joined: 16 Oct 2011
Total Posts: 177
04 Mar 2017 05:54 PM
ok so I need it to be Neon and New Yeller

then after 23:00 and before, Smooth plastic and Light blue
Report Abuse
Jayviator is online. Jayviator
Joined: 16 Oct 2011
Total Posts: 177
04 Mar 2017 06:01 PM
bump
Report Abuse
Awesomesauce196 is online. Awesomesauce196
Joined: 20 Oct 2013
Total Posts: 12987
04 Mar 2017 06:02 PM
so you need it to change colors at ## minutes or seconds? or hours?
Report Abuse
Jayviator is online. Jayviator
Joined: 16 Oct 2011
Total Posts: 177
04 Mar 2017 06:03 PM
so like I have eiss admin and you can do
:time 23 and :time 07

so I would like the brick to change material and colours at those times
Report Abuse
TheHonorableJudge is not online. TheHonorableJudge
Joined: 23 Jun 2012
Total Posts: 693
04 Mar 2017 06:04 PM
https://forum.roblox.com/Forum/ShowForum.aspx?ForumID=33


Report Abuse
Jayviator is online. Jayviator
Joined: 16 Oct 2011
Total Posts: 177
04 Mar 2017 06:05 PM
oh it's kind of late now
Report Abuse
SpliTech is not online. SpliTech
Joined: 06 Feb 2013
Total Posts: 11407
04 Mar 2017 06:07 PM
to change its colours, use
#code [whatever variable you use for the brick].BrickColor.New('New Yeller')

to change the material, use
#code [brick here].Material.Neon
(...i think, if not, you can go to the properties menu and correct me)

and after the second minutesAfterMidnight "trigger", do the same thing but with the new properties


nemesis is pissed
Report Abuse
Jayviator is online. Jayviator
Joined: 16 Oct 2011
Total Posts: 177
04 Mar 2017 06:12 PM
sort of confused, can you link it together for me?
Report Abuse
Jayviator is online. Jayviator
Joined: 16 Oct 2011
Total Posts: 177
04 Mar 2017 06:19 PM
bump
Report Abuse
Jayviator is online. Jayviator
Joined: 16 Oct 2011
Total Posts: 177
04 Mar 2017 06:34 PM
bump
Report Abuse
Jayviator is online. Jayviator
Joined: 16 Oct 2011
Total Posts: 177
04 Mar 2017 06:52 PM
bump
Report Abuse
Awesomesauce196 is online. Awesomesauce196
Joined: 20 Oct 2013
Total Posts: 12987
04 Mar 2017 06:56 PM
do you mean seconds or minutes or anything??? i dont know what you mean


Report Abuse
Jayviator is online. Jayviator
Joined: 16 Oct 2011
Total Posts: 177
04 Mar 2017 06:58 PM
I mean like time, the time in game stays the same it's just when I want to change the time to 23:00, I want the brick to change colour and material
Report Abuse
SpliTech is not online. SpliTech
Joined: 06 Feb 2013
Total Posts: 11407
05 Mar 2017 12:06 PM
so basically

you'd call the first minutesAfterMidnight trigger, then change the properties
then you'd do the same for the second one
kinda like this

assuming the variable for the brick is "part"
#code if minutesAfterMidnight = (23 * 60) then
part.BrickColor.New('New Yeller')
part.Material('Neon')

and to change it back after this, assuming you're changing it back at midnight, you'd put
#code if minutesAfterMidnight = (0) then
part.BrickColor.New('Light blue')
part.Material('Smooth plastic')

i might have messed up on some of the properties cause i havent touched studio in a while


nemesis is pissed
Report Abuse
Jayviator is online. Jayviator
Joined: 16 Oct 2011
Total Posts: 177
05 Mar 2017 01:19 PM
in the first part, the text turns green but not in the second part
Report Abuse
Jayviator is online. Jayviator
Joined: 16 Oct 2011
Total Posts: 177
05 Mar 2017 02:06 PM
bump
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Off Topic
   
 
   
  • 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