Hello everyone.
How do I remove the weapon from the zoomed view?
As I zoom in, the weapon vanishes off the side of the screen, but that’s because of the camera’s Field of View setting. Admittedly, it does look stupid with a gun hovering in mid-air while looking through the scope. The entirety of the zoom function is on the client. So a client based solution is preferable.
Thanks.
Have you tried making it invisible while you zoom in?
Will that work on the client side?
Yeah, just do it on a localscript
1 Like
We can make it invisible with this:
(Local Script)
for I, Part in pairs(script.Parent:GetChildren()) do
if Part:IsA("Part") or Part:IsA("MeshPart") then
Part.Transparency = 1
end
end
This will check if a child in the item is a part or meshpart and will make it transparent for the client!