To the normal eye this seems very easy and thats as I assumed but for some reason after my best attempts it will just not work AT ALL
this script is inside of starterCharacterScripts, and yes it does end up in the character but the code just doesnt work, I still cant see my body in first person, so why is this happening???
local Character = game:GetService('Players').LocalPlayer.Character
local FirstPersonLocalTransparency = 0;
local ThirdPresonLocalTransparency = 0;
local function SetCharacterLocalTransparency(transparency)
for i,v in pairs(Character:GetChildren()) do
if (v:IsA("BasePart")) then -- Only baseparts have a LocalTransparencyModifier property.
v.LocalTransparencyModifier = transparency;
end
end
end
SetCharacterLocalTransparency(FirstPersonLocalTransparency)
I have a feeling I missed one thing and thats why its not working