|
| 24 Jul 2014 07:02 PM |
It's supposed to change the other part's color when you touch one of the parts.
Nothing happens.
local B1 = game.workspace:FindFirstChild("Part1") local B2 = game.workspace:FindFirstChild("Part2")
function Coloring (hit) if hit.Parent:findFirstChild("Humanoid") then B2.BrickColor = BrickColor.new("Really Red") wait(1) B2.BrickColor = BrickColor.new("Deep Blue") end end B1.Touched:Connect(Coloring) B2.Touched:Connect(function(hit) if hit.Parent:findFirstChild("Humanoid") then B1.BrickColor = BrickColor.new("Really Red") wait(1) B1.BrickColor = BrickColor.new("Deep Blue") end end) |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Jul 2014 07:03 PM |
"B1.Touched:Connect(Coloring) B2.Touched:Connect(function(hit)"
connect not Connect
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 24 Jul 2014 07:04 PM |
YES.
AND YOU BUMPED TWICE IN ONE MINUTE.
|
|
|
| Report Abuse |
|
|
| |
|
| |
|