Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to prevent tool from becoming transparent?

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.

1 comment

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

1 answer

✓ Accepted answer

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.

1 comment

0

Can this be used in Character Parts?

This discussion is preserved as it was. New answers, comments, and votes are closed.