Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why wont the Part Color update everytime the BrickColorValue is change?

Asked by 5 years ago
Edited 5 years ago

So I've been trying so many different things on trying to update the value. But for some reason, it wont update. Any answers on why this is happening? This is on a server script.

PartSettings = script.Parent.Handle.PartSettings

script.Parent.Activated:Connect(function()
    local Part = Instance.new("Part", workspace)
    Part.Position = script.Parent.Handle.Position
    Part.BrickColor = PartSettings.Color.Value 
    while true do
        wait()
        if not Part.BrickColor == PartSettings.Color.Value then
            Part.BrickColor = PartSettings.Color.Value
        end
    end
end)

Answer this question