Answers for "Make arms visible in first person roblox"

0

Make arms visible in first person roblox

local self,player = script.Parent,game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:wait()
 local humanoid = char:WaitForChild("Humanoid") -- waits for the humanoid in the character



function antiTrans(part)
    if part and part:IsA("BasePart") and( part.Name=="Left Arm" or part.Name=="Right Arm") then -- checks if a part and is a arm
        part.LocalTransparencyModifier = part.Transparency
        part.Changed:connect(function (property)    
            part.LocalTransparencyModifier = part.Transparency--Changes the local modifyer(client side only)
        end)
    end
end

for _,v in pairs(char:GetChildren()) do
    antiTrans(v) -- adds all parts
end
Posted by: Guest on May-05-2021
0

Make arms visible in first person roblox

local self,player = script.Parent,game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:wait()
 local humanoid = char:WaitForChild("Humanoid") -- waits for the humanoid in the character



function antiTrans(part)
    if part and part:IsA("BasePart") and( part.Name=="LeftUpperArm"  or part.Name=="LeftLowerArm" or part.Name=="LeftHand" or part.Name=="RightUpperArm" or part.Name=="RightLowerArm" or part.Name=="RightHand") then -- checks if a part and is a arm
        part.LocalTransparencyModifier = part.Transparency
        part.Changed:connect(function (property)    
            part.LocalTransparencyModifier = part.Transparency--Changes the local modifyer(client side only)
        end)
    end
end

for _,v in pairs(char:GetChildren()) do
    antiTrans(v) -- adds all parts
end
Posted by: Guest on May-05-2021

Code answers related to "Make arms visible in first person roblox"

Browse Popular Code Answers by Language