Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Make body visible in first person?

Asked by
o_Blyzo 12
7 years ago

Hi, I'd like to know how I can make my/other players bodies visible in first person by use of scripts. Thanks.

1
Is your character R6 or R15 abnotaddable 920 — 7y
0
Sorry for late reply, it's R15. o_Blyzo 12 — 7y

3 answers

Log in to vote
0
Answered by 7 years ago
Edited 7 years ago

You could clone the user's body parts locally, then update them (to match the real parts's CFrames) as frequently as possible using Heartbeat. You may need to offset them if they obstruct the camera, and if they exit first person mode you need to make them transparent (or destroy the parts, recloning them the next time they enter first person mode).

0
Will look into this, thanks! o_Blyzo 12 — 7y
Ad
Log in to vote
0
Answered by 7 years ago

Well, to I think you mean you want to Lock FirstPerson mode which you can do by putting this in a LocalScript: game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson

But, you wont be able to see your body because its FirstPerson but you will see other players bodys, hope this helped!

Log in to vote
0
Answered by 4 years ago
Edited 4 years ago

local script

char = game.Players.LocalPlayer.Character
game:GetService("RunService").RenderStepped:Connect(function()
    for i, part in pairs(char:GetChildren()) do
        if string.match(part.Name, "Arm") or string.match(part.Name, "Leg") or string.match(part.Name, "Torso") then
            part.LocalTransparencyModifier = 0
        end
    end
end)
0
oops I forgot char = game.Players.LocalPlayer.Character poopnugget142 2 — 4y
0
only baseparts have local transparency modifiers xxIamInevitable 2 — 4y

Answer this question