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: Rainbow Script.

Previous Thread :: Next Thread 
xboxvsgunfanboy is not online. xboxvsgunfanboy
Joined: 23 May 2015
Total Posts: 466
16 Apr 2016 09:43 AM
I currently have a rainbow script that rapidly transitions between 6 colors (https://gyazo.com/3c275cd4b165506efb10b67f08563ee0)

However, I would prefer a script that smoothly goes through all colors.

How would this be achieved?


[ Content Sorcus'd ]
Report Abuse
error9999 is not online. error9999
Joined: 05 Sep 2009
Total Posts: 1593
16 Apr 2016 10:13 AM
colour = Color3.new(1,0,0)
for i = 0,255 do
colour = Color3.new(1,i/255,0)
end
for i = 0,255 do
colour = Color3.new(1-i/255,1,0)
end
for i = 0,255 do
colour = Color3.new(0,1,i/255)
end
for i = 0,255 do
colour = Color3.new(0,1-i/255,1)
end
for i = 0,255 do
colour = Color3.new(i/255,0,1)
end
for i = 0,255 do
colour = Color3.new(1,0,1-i/255)
end

I guess this will be cool, if you add a wait().





Report Abuse
xThe_Developer is not online. xThe_Developer
Joined: 07 Aug 2013
Total Posts: 585
16 Apr 2016 10:18 AM
^ Please.. Thats just.. Ewwwwwwwwwww


#code if SxDev == legitness then print("Legitness UnMeasured") return legitness end
Report Abuse
xboxvsgunfanboy is not online. xboxvsgunfanboy
Joined: 23 May 2015
Total Posts: 466
16 Apr 2016 10:56 AM
Any other Idea's?


[ Content Sorcus'd ]
Report Abuse
error9999 is not online. error9999
Joined: 05 Sep 2009
Total Posts: 1593
16 Apr 2016 11:31 AM
:)

you could add like:
for i = 1,6 do
for v = 1,255 do
-- change colour like I did before but now with i as well
end end

yet I know no good way to do this...

I don't script stuff like colours.
Report Abuse
xThe_Developer is not online. xThe_Developer
Joined: 07 Aug 2013
Total Posts: 585
16 Apr 2016 09:05 PM
Something along these lines...

#code
while wait(.35) do
blah.blah = BrickColor.random().Color
end


#code if SxDev == legitness then print("Legitness UnMeasured") return legitness end
Report Abuse
spinywind is online. spinywind
Joined: 26 Jan 2012
Total Posts: 3580
16 Apr 2016 09:25 PM
Lol free model of the Mad Games Aura. Get out.



#Code for i,v in pairs (game.Players:GetChildren()) do v:Kick('You're a noob!') end
Report Abuse
xboxvsgunfanboy is not online. xboxvsgunfanboy
Joined: 23 May 2015
Total Posts: 466
17 Apr 2016 04:05 AM
Free model? The only thing taken was the texture. It's my own scripted one.


[ Content Sorcus'd ]
Report Abuse
Casualist is not online. Casualist
Joined: 26 Jun 2014
Total Posts: 4443
17 Apr 2016 04:17 AM
google hsv or hsl color wheels. You'll want to walk the perimeter of that.
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