badfitz60
|
  |
| Joined: 03 Sep 2010 |
| Total Posts: 1283 |
|
|
| 25 Oct 2015 12:17 PM |
So I'm trying to make a cool effect where it looks like it's scrolling through some bricks, the problem is, it always stops on the same block. How can I fix this? This is a big part of my minigame place, without it, it would look bland and ugly. I'm tired of giving up on projects because I'm not getting help.
This is the desired effect I'm going for: https://www.youtube.com/watch?v=5G7bOEEp-xU&user=badfitz66
If I don't explain what I'm doing, atleast say so.
t = 0.01 local lastpicked local lastbcolor for iiiii = 1, 7 do for _, ll in pairs(P:GetChildren()) do if t >= math.random(0.4,1) then break else lastbcolor = ll.BrickColor ll.BrickColor = BrickColor.Yellow() wait(t) ll.BrickColor = lastbcolor lastpicked = ll print(t) t=t+0.05 end end end
Never too late to change a life, sir. |
|
|
| Report Abuse |
|
|
Cytheur
|
  |
| Joined: 12 Aug 2014 |
| Total Posts: 7328 |
|
|
| 25 Oct 2015 12:21 PM |
I'm a bad scripter, but have you tried you know, changing,
ll.BrickColor = BrickColor.Yellow()
Into something more like
ll.BrickColor = BrickColor.new("New Yeller")
I doubt this would fix, I just want to add any input I can.
- Codsterr |
|
|
| Report Abuse |
|
|
badfitz60
|
  |
| Joined: 03 Sep 2010 |
| Total Posts: 1283 |
|
|
| 25 Oct 2015 12:22 PM |
im not going to say how much that reply pissed me off.
Never too late to change a life, sir. |
|
|
| Report Abuse |
|
|
Cytheur
|
  |
| Joined: 12 Aug 2014 |
| Total Posts: 7328 |
|
|
| 25 Oct 2015 12:26 PM |
Kappa you thought you had a real reply.
- Codsterr |
|
|
| Report Abuse |
|
|
badfitz60
|
  |
| Joined: 03 Sep 2010 |
| Total Posts: 1283 |
|
|
| 25 Oct 2015 12:33 PM |
"Kappa you thought you had a real reply."
epik troule /b/ro ecks dee funny twitch meme /u/bro!!
Never too late to change a life, sir. |
|
|
| Report Abuse |
|
|