im trying to make my project be only first person by changing the "LockFirstPerson" option on StarterPlayer, then i realized that while in first person the player character turns invisible, and i want to change that, but while looking into the player camera modules i found nothing that made the character invisible, the closest i got was to a invisicam module script but it wasnt what i thought it would be. Can someone help me? Where do i change the invisible character while in first person?
#First Person transparency problem
1 messages · Page 1 of 1 (latest)
i can give you a working script for
first person
seeing that body
and like a wobbling camera efect when u walk
send those scripts?
local character = (game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:wait())
game:GetService("RunService").RenderStepped:connect(function()
if (character:FindFirstChild("RightUpperArm") and character:FindFirstChild("LeftUpperArm")) then
character:FindFirstChild("RightUpperArm").LocalTransparencyModifier = 0
character:FindFirstChild("RightLowerArm").LocalTransparencyModifier = 0
character:FindFirstChild("RightHand").LocalTransparencyModifier = 0
character:FindFirstChild("LeftUpperArm").LocalTransparencyModifier = 0
character:FindFirstChild("LeftLowerArm").LocalTransparencyModifier = 0
character:FindFirstChild("LeftHand").LocalTransparencyModifier = 0
character:FindFirstChild("RightUpperLeg").LocalTransparencyModifier = 0
character:FindFirstChild("RightLowerLeg").LocalTransparencyModifier = 0
character:FindFirstChild("RightFoot").LocalTransparencyModifier = 0
character:FindFirstChild("LeftUpperLeg").LocalTransparencyModifier = 0
character:FindFirstChild("LeftLowerLeg").LocalTransparencyModifier = 0
character:FindFirstChild("LeftFoot").LocalTransparencyModifier = 0
character:FindFirstChild("UpperTorso").LocalTransparencyModifier = 0
character:FindFirstChild("LowerTorso").LocalTransparencyModifier = 0
character:FindFirstChild("Humanoid").CameraOffset = Vector3.new(0,0,-1)
end
end)
here is the script for seeing plr character
This script is inefficient
You don't need to use run service either
and use a table for the body parts instead of using FindFirstChild for each part
is this script required by the client
and it doesn’t even return a value
local player is only allowed on client so obv..?
edit the player module instead, thats very ineffective and could mess up other things in the game that might try to make the character invis
oh ok
No need to edit the player module
for the easiest way to achieve what he wants, all he does is comment out some code
?
I think it is better if it can be toggled but either way, it's easy
also where in the player module does it deal with the transparency
I'm curious I'm not on my pc
it’s in there, i’ve got to go back and check but i know it is
one moment
when i was helping a friend with his horror game i found it in there
** You are now Level 2! **
pretty cool