of     1   

jpjutar
#36488492Thursday, November 04, 2010 5:29 PM GMT

I want to make a material changeing script similair to a button door script, so it'll work with buttons. I already got a regular button door script but I don't know what to put in it to make it change material (I'm not good at scripting :S). What do I need to put in it to make it change material when clicked?
someman
#36488550Thursday, November 04, 2010 5:31 PM GMT

If you have the onclick function already just put: game.Workspace.BRICKNAMEGOESHERE.Material = "MATERIALGOESHERE" in between the function Onclick, and the blue end.
jpjutar
#36490141Thursday, November 04, 2010 6:24 PM GMT

Thanks, I tought it wouldn't be that easy :P

    of     1