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
10 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 — 10y

1 answer

Log in to vote
3
Answered by
digpoe 65 Badge of Merit
10 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:

1Local Tool = script.Parent
2 
3game:GetService("RunService").RenderStepped:connect(function()
4    for _, Object in ipairs(Tool:GetChildren()) do
5        if Object:IsA("BasePart") then
6            Object.LocalTransparencyModifier = 0
7        end
8    end
9end)

For more information, see the ROBLOX wiki page.

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

Answer this question