of     1   

Rhaykiu
#141245053Wednesday, July 23, 2014 5:03 AM GMT

When i hit a brick with dmg i want it to change to red, please scripts it
blox6137
#141245442Wednesday, July 23, 2014 5:07 AM GMT

What do you mean "hit a brick with dmg", do you mean when you damage it?
ReveredEngineer
#141246275Wednesday, July 23, 2014 5:15 AM GMT

Since RCL uses raycast, go to the function where it indexes where it touched something and if it indexed it as hit then hit.Parent.BrickColor = BrickColor.new("Really red")
Rhaykiu
#141294286Wednesday, July 23, 2014 6:34 PM GMT

so @ sei, do i just add a function into the brick and then make a script paste that under the brick and add that code that u made into the scirpt?!?!
ReveredEngineer
#141308556Wednesday, July 23, 2014 9:10 PM GMT

No, find in your RCL gun where it does damage, when you find it, look for the parameter it uses to determine what it hit: Now with the parameter use it, then use .BrickColor = BrickColor.new("Reall red") It should look something like this: script.Parent.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then hit.Parent.Humanoid:TakeDamage(10) end end) Then just add the code before it checks for a humanoid script.Parent.Touched:connect(function(hit) hit.BrickColor = BrickColor.new("Really red") if hit.Parent:FindFirstChild("Humanoid") then hit.Parent.Humanoid:TakeDamage(10) end end)
Rhaykiu
#141322411Wednesday, July 23, 2014 11:35 PM GMT

this is it? script.Parent.Touched:connect(function(hit) hit.BrickColor = BrickColor.new("Really red") if hit.Parent:FindFirstChild("Humanoid") then hit.Parent.Humanoid:TakeDamage(10) end end) paste that under the brick?
lostend
#141325411Thursday, July 24, 2014 12:06 AM GMT

Post the entire RCL gun script on ipod
Rhaykiu
#141340915Thursday, July 24, 2014 2:38 AM GMT

b
ReveredEngineer
#141345987Thursday, July 24, 2014 3:31 AM GMT

Paste the RCL script.

    of     1