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.

01PartSettings = script.Parent.Handle.PartSettings
02 
03script.Parent.Activated:Connect(function()
04    local Part = Instance.new("Part", workspace)
05    Part.Position = script.Parent.Handle.Position
06    Part.BrickColor = PartSettings.Color.Value
07    while true do
08        wait()
09        if not Part.BrickColor == PartSettings.Color.Value then
10            Part.BrickColor = PartSettings.Color.Value
11        end
12    end
13end)

Answer this question