Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Make body visible in first person?

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

2 comments

1

Is your character R6 or R15

0

Sorry for late reply, it's R15.

3 answers

✓ Accepted answer

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).

1 comment

0

Will look into this, thanks!

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!

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)

2 comments

0

oops I forgot char = game.Players.LocalPlayer.Character

0

only baseparts have local transparency modifiers

This discussion is preserved as it was. New answers, comments, and votes are closed.