|
| 21 Nov 2014 08:25 AM |
So, I have two scripts, and I want the script to start right after one ends. So, for example. I have two bricks. Each with different scripts inside of them, and I did
wait(2)
parent.Script.BrickColor = BrickColor.Red()
And then my other script for example would be
parent.Script.BrickColor = BrickColor.Black()
But I would want to make the second brick change right after the first brick, so how? Any help would be appreciated. Thanks. |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 21 Nov 2014 08:32 AM |
| Put a wait(2.08) in the other one hehe |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2014 08:42 AM |
| Mhm, thought of that but didn't try it. Let me try it. Also, know how to make it continuous? |
|
|
| Report Abuse |
|
|
HexC3D
|
  |
| Joined: 30 Jun 2012 |
| Total Posts: 10044 |
|
| |
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
| |
|
|
| 21 Nov 2014 08:58 AM |
| Alright, thanks man, I'll try while true do. Also, if you wanna check out what I've done so far, here: http://www.roblox.com/Watch-TV-In-ROBLOX-Beta-place?id=187904619 |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2014 09:03 AM |
| Yea, that doesn't work. Any other ideas? Thanks for trying, though. |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2014 09:07 AM |
disable the 2nd one and then do
script.Parent.script2.Disabled = false |
|
|
| Report Abuse |
|
|
jatl8
|
  |
| Joined: 07 Aug 2009 |
| Total Posts: 17439 |
|
|
| 21 Nov 2014 10:15 AM |
Parent.Script?
Is that supposed to be like that? |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2014 10:20 AM |
It would work a lot better if you simply grouped the two parts then just had one script in the model
script.Parent.PartOne.Script.BrickColor = BrickColor.Red() wait() script.Parent.PartTwo.BrickColor = BrickColor.Black()
and if you wanted it to do it forever then just loop it
while true do script.Parent.PartOne.Script.BrickColor = BrickColor.Red() wait() script.Parent.PartTwo.BrickColor = BrickColor.Black() end
Using one script would just simply your whole problem |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2014 12:13 PM |
| But you don't get what I need it for. Go to the link I posted earlier. That's what I'm trying to do... I want it to kind of be like a TV. Right? There are more than 2 blocks I need to change. Go to the place, and look at the huge face. I need that to loop. The two bricks were examples. What I'm actually trying to do is in the game. The link I posted on this forum earlier. |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2014 12:20 PM |
@Sould the script i gave you would work you just need to edit it a bit >.<
So make it like a grid for that face
a.b.c.d.e.f.g.h.i b-------------bh c-------ce d-----dd e f g h i
You get the point
just name all the parts like that and then
while true do script.Parent.bh.Script.BrickColor = BrickColor.Red() wait() script.Parent.ce.BrickColor = BrickColor.Black() wait() script.Parent.dd.BrickColor = BrickColor.Black() end
And then just copy and past extra lines for more changes
I did something similar to what you are trying to make but a lot more complicated http://www.roblox.com/Tust-place?id=173048911 Give it a few mins to load if you look at it
|
|
|
| Report Abuse |
|
|
anaIyze
|
  |
| Joined: 29 May 2014 |
| Total Posts: 2048 |
|
|
| 21 Nov 2014 12:33 PM |
'And then just copy and past extra lines for more changes'
Ah, yes. You will certainly recieve my Kohl dll (UNPATCHED 2014),, For your intelligence. |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2014 12:40 PM |
| What is wrong with what i said ?.? |
|
|
| Report Abuse |
|
|
anaIyze
|
  |
| Joined: 29 May 2014 |
| Total Posts: 2048 |
|
|
| 21 Nov 2014 12:41 PM |
| Do you want my kohl hack or not/?? |
|
|
| Report Abuse |
|
|
| |
|
|
| 21 Nov 2014 12:57 PM |
I appreciate it, but I didn't really want anyone to do the script for me. I wanna do it myself. Just needed a little help. Anways, I finally got it to work. Since I need it to blend in, come out blend in come out over and over, Here's what I did! It works! repeat wait (2) script.Parent.BrickColor = BrickColor.Red() wait (2) script.Parent.BrickColor = BrickColor.Black() until 1 == 10
Sorry if it's messy. When I copy and pasted it, that's how it looked. |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2014 01:03 PM |
| Now all I need is ideas. How can I use this tool to make some sort of fake tv kind of. I don't know. But, what can I do with this now? What can I make with this 'tv' What can I use this for? Ugh, I'm stumped. |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2014 02:44 PM |
| well you can take a series of screen shots and make it a stop motion film |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2014 07:09 PM |
| I know, but I want to use it in a game sort of way. |
|
|
| Report Abuse |
|
|