Heres my script:
local plr = game:GetService("Players").LocalPlayer local char = plr.Character or plr.CharacterAdded:wait() game:GetService("RunService").RenderStepped:connect(function() for i,v in pairs(char:GetChildren()) do if string.match(v.Name,"Arm") or string.match(v.Name,"Hand") or string.match(v.Name,"Leg") or string.match(v.Name,"Foot") or string.match(v.Name,"Torso") then v.LocalTransparencyModifier = 0 end end end)
When I walk in first person I can see my back when I move. I need it to be more realistic.
RBXScriptSignal:connect()
is deprecated, switch to RBXScriptSignal:Connect()
RBXScriptSignal:wait()
is also deprecated, switch to RBXScriptSignal:Wait()
local run = game:GetService'RunService' local plr = game:GetService('Players').LocalPlayer local char = plr.Character or plr.CharacterAdded:Wait() run.RenderStepped:Connect(function(step) for _, v in pairs(char:GetChildren()) do if v:IsA'BasePart' and not v.Name:match('Torso') and v.Name ~= 'Head' then v.LocalTransparencyModifier = 0 end end end)
Hold on.... Doesn't Robloxs' CameraMode (i think) function allow the 'LockFirstPerson' feature? I've never seen my back in FP using that feature. It's found in the StarterScripts Service.