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
 

Change Mesh Color

Previous Thread :: Next Thread 
Landon2545 is not online. Landon2545
Joined: 11 Dec 2011
Total Posts: 242
31 Jan 2016 09:43 AM
How exactly do I change the mesh color of item "LobbyLight" The mesh is a neon I just want the color to change keep the neon :)



---------------------------------------------------------------------------------
function onClicked()
if script.Parent.isOn.Value == true then
script.Parent.isOn.Value = false
script.Parent.BrickColor = BrickColor.Red()
local Light ={}for i,v in pairs(workspace:GetChildren())do if v.Name=="LobbyLight"then table.insert(Light,v)end end
for i,Light in pairs(Light)do

Light.LightPart.SurfaceLight.Enabled = false
Light.LightPart.BrickColor = BrickColor.new("Really black")
wait(0.00001)

end
else
script.Parent.isOn.Value = true
script.Parent.BrickColor = BrickColor.Green()
local Light ={}for i,v in pairs(workspace:GetChildren())do if v.Name=="LobbyLight"then table.insert(Light,v)end end
for i,Light in pairs(Light)do

Light.LightPart.SurfaceLight.Enabled = true
Light.LightPart.BrickColor = BrickColor.new("Lily white")
wait(0.00001)

end
end

end


script.Parent.ClickDetector.MouseClick:connect(onClicked)
---------------------------------------------------------------------------------
Report Abuse
Ocks67 is not online. Ocks67
Joined: 07 Mar 2009
Total Posts: 7218
31 Jan 2016 09:50 AM
Remove the mesh texture ID? As in, leave it blank or set it to 0.

I don't know if you use a complex mesh such as a gear or hat or just a basic cylinder mesh.
Report Abuse
Landon2545 is not online. Landon2545
Joined: 11 Dec 2011
Total Posts: 242
31 Jan 2016 05:33 PM
@Ocks67 basic cylinder mesh.
Report Abuse
Landon2545 is not online. Landon2545
Joined: 11 Dec 2011
Total Posts: 242
01 Feb 2016 01:31 PM
bump
Report Abuse
Landon2545 is not online. Landon2545
Joined: 11 Dec 2011
Total Posts: 242
01 Feb 2016 08:31 PM
bump [2]
Report Abuse
Landon2545 is not online. Landon2545
Joined: 11 Dec 2011
Total Posts: 242
02 Feb 2016 07:56 AM
bump [3]
Report Abuse
Landon2545 is not online. Landon2545
Joined: 11 Dec 2011
Total Posts: 242
02 Feb 2016 04:53 PM
bump [4]
Report Abuse
Scottifly is not online. Scottifly
Joined: 30 Jan 2011
Total Posts: 9180
03 Feb 2016 02:52 AM
The Mesh colour isn't changing, just the Part colour is.

The Material shouldn't change at all, just the colour.
If it seems to be, change your Studio graphics quality settings higher. If it isn't high enough then Neon won't render properly.
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