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

How to prevent tool from becoming transparent?

Asked by
Exsius 162
9 years ago

My Tool is doing this weird thing that when you zoom in in becomes invisible, zooming in slowly you can see it starts to become transparent with your character, This is strange since this never happened to me before.

link to Tool test http://www.roblox.com/games/224367212/Test

~~~~~~~~~~~~~~~~~

Thanks,

Exsius.

0
Can you provide us with the script? I'm sure it's not the script it might be on Roblox's end. But if what you say is true.. Then it has to do something with the script. And without the script we can't do anything but guess at what is happening lomo0987 250 — 9y

1 answer

Log in to vote
3
Answered by
digpoe 65 Badge of Merit
9 years ago

This is more than likely the same thing which is causing the character to slowly become transparent as you zoom in. This is more of a hack than a solution, but it will work:

Local Tool = script.Parent

game:GetService("RunService").RenderStepped:connect(function()
    for _, Object in ipairs(Tool:GetChildren()) do
        if Object:IsA("BasePart") then
            Object.LocalTransparencyModifier = 0
        end
    end
end)

For more information, see the ROBLOX wiki page.

0
Can this be used in Character Parts? woodengop 1134 — 9y
Ad

Answer this question