#MeshPart with Partial Transparency in Tool

1 messages · Page 1 of 1 (latest)

wet flax
#

I'm trying to update a meshpart inside a tool to a transparency of 0.6 via a local script however it becomes fully opaque instead. AI seems to think that it is because the meshpart is welded indirectly to the handle, the handle forces the meshpart to only have a transparency of 0 or 1. I attempted to add a motor6D to join the meshpart instead of a weldconstraint, but it is seemingly having the same effect.

local function updateTransparency()
local FullBucket = player:GetAttribute("BucketMaterial")
local BucketMaterial = player:GetAttribute("FullBucket")

if FullBucket then
    print('fullbucket value on the client: '..FullBucket)
    if FullBucket == 1 then
        cider.Transparency = 0.6 
    else
        cider.Transparency = 1 
    end
end

end

wraith sedge
#

maybe because FullBucket is not exactly 1

fluid lionBOT
#

studio** You are now Level 2! **studio