I tried to make clothes that changes by volume but when volume is high (when volume goes high, rgb value goes high too), clothes breaks like this
when volume is low (like 50, 0, 0 in rgb) it’s fine
here’s original look of clothes
local volumeColor = tonumber(volume)
volumeColor = volumeColor / 3
if volumeColor > 255 then
volumeColor = 255
end
if volumeColor < 0 then
volumeColor = 0
end
if v:IsA("Shirt") or v:IsA("Pants") then
if volumebarOn == 1 then
v.Color3 = Color3.new(volumeColor, volumeColor, volumeColor)
elseif volumebarOn == 2 then
v.Color3 = Color3.new(volumeColor / 2, 0, 0)
elseif volumebarOn == 3 then
v.Color3 = Color3.new(0, 0, volumeColor)
elseif volumebarOn == 4 then
v.Color3 = Color3.new(0, volumeColor, 0)
end
end