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 » Scripting Helpers
Home Search
 

[ Content Deleted ]

Previous Thread :: Next Thread 
Awsomisticguy537 is not online. Awsomisticguy537
Joined: 03 Dec 2010
Total Posts: 507
16 Jul 2013 05:06 PM
How do I get it to add a certain diget of either red blue or green?

a.B1.TextColor3 = Color3.new (+50/255, 0/255, 0/255)

So like this would add 50 to red. Thx.
Report Abuse
baheeg is not online. baheeg
Joined: 19 Jul 2010
Total Posts: 72846
16 Jul 2013 05:08 PM
[ Content Deleted ]
Report Abuse
RoyStanford is not online. RoyStanford
Joined: 21 Oct 2008
Total Posts: 2222
16 Jul 2013 05:08 PM
a.B1.TextColor3 = Color3.new (a.B1.TextColor3.r+50, a.B1.TextColor3.g, a.B1.TextColor3.b)
Report Abuse
baheeg is not online. baheeg
Joined: 19 Jul 2010
Total Posts: 72846
16 Jul 2013 05:09 PM
[ Content Deleted ]
Report Abuse
Awsomisticguy537 is not online. Awsomisticguy537
Joined: 03 Dec 2010
Total Posts: 507
16 Jul 2013 05:09 PM
It didnt work when i tested it earlier :P

The fact that it dosnt work is the point. I need help fixing it...
Report Abuse
Awsomisticguy537 is not online. Awsomisticguy537
Joined: 03 Dec 2010
Total Posts: 507
16 Jul 2013 05:10 PM
Ok, thx. (Assuming it works scince 2 people posted the same thing o;)

I'll test it real quick.
Report Abuse
baheeg is not online. baheeg
Joined: 19 Jul 2010
Total Posts: 72846
16 Jul 2013 05:10 PM
[ Content Deleted ]
Report Abuse
Awsomisticguy537 is not online. Awsomisticguy537
Joined: 03 Dec 2010
Total Posts: 507
16 Jul 2013 05:25 PM
Related question:

if a.B1.TexctColor3 =~ Color3.new (255/255, 0/255, 0/255) then

= expected near then...

Basically the script will keep running until 255,0,0 is reached. Any idea how to make it work?
Report Abuse
grimm343 is not online. grimm343
Joined: 18 Sep 2008
Total Posts: 2796
16 Jul 2013 05:26 PM
You mixed up the two characters of your 'is not equal to' sign.
~=
Report Abuse
Awsomisticguy537 is not online. Awsomisticguy537
Joined: 03 Dec 2010
Total Posts: 507
16 Jul 2013 05:28 PM
Ahh, thanks. I also just found a typo, lol.
Report Abuse
Awsomisticguy537 is not online. Awsomisticguy537
Joined: 03 Dec 2010
Total Posts: 507
16 Jul 2013 05:44 PM
Sorry for all the trouble o; Stuff isnt going my way today.

So I made this...

a = script.Parent
b=true
c=true
d=true
while b do
a.B1.TextColor3 = Color3.new (255/255, 218/255, 218/255)
wait(0.01)
if a.B1.TextColor3 ~= Color3.new (255/255, 0/255, 0/255) then
a.B1.TextColor3 = Color3.new (a.B1.TextColor3.r, a.B1.TextColor3.g-1, a.B1.TextColor3.b-1)
wait(0.01)
if a.B1.TextColor3 == Color3.new (255/255, 0/255, 0/255) then
a.B1.TextColor3 = Color3.new (a.B1.TextColor3.r, a.B1.TextColor3.g-1, a.B1.TextColor3.b+1)
wait(0.01)
if a.B1.TextColor3 == Color3.new (255/255, 218/255, 218/255) then
a.B1.TextColor3 = Color3.new (218/255, 218/255, 218/255)
b=false
end
end
end
end

Its not really that long. Anyways, It starts out as the color 218,218,218. It then is turned istantly to 255,218,218. After that, green and blue subtract until the color is pure red(255,0,0). Green and blue are then added until it is 255,218,218 again. Then it is made istantly into 218,218,218 and finally ended. The color just flickers too rapid to see... How else could I write this script? (its not working because b is never made false)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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