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
 

Re: Fire

Previous Thread :: Next Thread 
WierdTony is not online. WierdTony
Joined: 27 Jul 2011
Total Posts: 1116
09 Nov 2011 06:10 PM
x = Instance.new("Fire")
x.Parent = game.Workspace.WierdTony.Head
x.Size = 3


How do i add color to that so i can change the color of the brick
Report Abuse
aaronzepeda33 is not online. aaronzepeda33
Joined: 26 Aug 2009
Total Posts: 964
09 Nov 2011 06:14 PM
x.Color = Color3.new(1st#here/256,2st#here/256,3st#here/256)

or if it is in command:
x.Color = Color3.new(1st#here,2st#here,3st#here)
Report Abuse
WierdTony is not online. WierdTony
Joined: 27 Jul 2011
Total Posts: 1116
09 Nov 2011 06:14 PM
Anybody?
Report Abuse
WierdTony is not online. WierdTony
Joined: 27 Jul 2011
Total Posts: 1116
09 Nov 2011 06:15 PM
x.Color = Color3.new(1st#here,2st#here,3st#here)


If this is correct then where would i put it? and what would i put in the ()
Report Abuse
aaronzepeda33 is not online. aaronzepeda33
Joined: 26 Aug 2009
Total Posts: 964
09 Nov 2011 06:18 PM
If I'm coorect: Edit the numbers to make a color:
1st # is how red you want it to be
2st # is how green you want it to be
3st # is how blue you want it to be

Put the line after what you wrote
Report Abuse
WierdTony is not online. WierdTony
Joined: 27 Jul 2011
Total Posts: 1116
09 Nov 2011 06:20 PM
OK but what if i dont want it to be any of those colors and i just want it to be all orange?
Report Abuse
aaronzepeda33 is not online. aaronzepeda33
Joined: 26 Aug 2009
Total Posts: 964
09 Nov 2011 06:24 PM
Look at the fire object ingame. Look at its properties. There should be something called color there. Change the color of that property. Look at the numbers that were left on after you chose. Those numbers follow what I've previously said.
Report Abuse
WierdTony is not online. WierdTony
Joined: 27 Jul 2011
Total Posts: 1116
09 Nov 2011 06:27 PM
x.Color = Color3.new(1st#here,2st#here,3st#here)



IN the () am i soppused to put 255,30,555 something like that?
Report Abuse
aaronzepeda33 is not online. aaronzepeda33
Joined: 26 Aug 2009
Total Posts: 964
09 Nov 2011 06:30 PM
Yeah, but make sure you don't go over 255
Report Abuse
WierdTony is not online. WierdTony
Joined: 27 Jul 2011
Total Posts: 1116
09 Nov 2011 06:32 PM
It's says color3 is not a valid memebr of fire



i put that
x.Color3 = Color3.new(1st#here,2st#here,3st#here)

Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
09 Nov 2011 06:33 PM
...Color3 values need to be between 1 and 0. You divide the R, G, or B value by 255, and that works.
Report Abuse
Xsitsu is not online. Xsitsu
Joined: 28 Jul 2009
Total Posts: 2921
09 Nov 2011 06:35 PM
x = Instance.new("Fire", game.Workspace.WierdTony.Head) -- The second parameter in Instance.new() is the objects Parent
x.Size = 3
x.Color = Color3.new( RED / 255, GREEN / 255, BLUE / 255 )
Report Abuse
WierdTony is not online. WierdTony
Joined: 27 Jul 2011
Total Posts: 1116
09 Nov 2011 06:35 PM
Can you guys come to the script builder im in and show me?
Report Abuse
Xsitsu is not online. Xsitsu
Joined: 28 Jul 2009
Total Posts: 2921
09 Nov 2011 06:40 PM
If you're in script builder then remove the comment from the script that I posted, comments break scripts in script builder.
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