I'm trying to make it so that you can see the player's arms and tools held while the player is in first person. Is it possible to do so by modifying camera settings or do I have to do some voodo stuff?
✓ ANSWER ACCEPTED
Are there any alternatives for editing the Camera's clipping plane?
1 answer
✓ Accepted answer
ROBLOX makes your character transparent when in first person mode/zoomed in.
But, you can stop that by using LocalTransparencyModifier.
Have a localscript in the StarterPlayer->StarterCharacterScripts **Depending on if you have an R6 character and a R15 character there will be different solutions. **
For both solutions, we'll want to update the transparency with RenderStepped which updates the transparency every frame. We want to update it every frame to
#R15 Solution:
local RunService = game:GetService("RunService")
local character = game.Players.LocalPlayer.Character
--run the function every frame
RunService.RenderStepped:Connect(function()
--make left arm visible
character.LeftHand.LocalTransparencyModifier = 0
character.LeftLowerArm.LocalTransparencyModifier = 0
character.LeftUpperArm.LocalTransparencyModifier = 0
--make right arm visible
character.RightHand.LocalTransparencyModifier = 0
character.RightLowerArm.LocalTransparencyModifier = 0
character.RightUpperArm.LocalTransparencyModifier = 0
end)
#R6 Solution:
local RunService = game:GetService("RunService")
local character = game.Players.LocalPlayer.Character
--run the function every frame
RunService.RenderStepped:Connect(function()
character["Right Arm"].LocalTransparencyModifier = 0 --make left arm visible
character["Left Arm"].LocalTransparencyModifier = 0 --make right arm visible
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
