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 » Game Design
Home Search
 

Can I have some help on this annoying scripting problem?????

Previous Thread :: Next Thread 
badfitz60 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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