I did some research and found a few scripts and even made one of my own and all of them worked in the studio but no the published game. They just wouldn't be there. What's wrong with my scripts?

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

2 comments

0

Is this in a LocalScript or a Script? Try a LocalScript if you're not using one.

0

I would advise using camera manipulation. What I mean is that you can put another camera in front of the player then you can adjust the camera to see the actual player's arms.