|
| 27 Jan 2015 12:53 PM |
local part = script.Parent local color = part.BrickColor local db = false
part.Touched:connect(function(t) db = true local p = game.Players:GetPlayerFromCharacter(t.Parent) local c = p.Character for i,v in pairs(c:GetChildren()) do if v:IsA("Part") then v.BrickColor = color end db = false end end)
-- it works the first time, but then i have another script where the brick color changes and then it wont work again |
|
|
| Report Abuse |
|
| |