Meant2Win
(ItsAbby)
February 15, 2022, 12:13am
#1
I am currently working on a FPS game, and I came across this weird bug while adding a viewmodel to the game. And BTW I am using a Fe gun kit by bluric_64bit(New and edited version). The weapon functions well, but I can’t be able to see the hands.
A picture of the bug:
Any type of help would be appreciated!! And I need help ASAP!!
1 Like
CheezBoy27
(NoComment)
February 15, 2022, 12:17am
#2
Show me a picture of your explorer. Make sure you didn’t accidently delete the arms model.
1 Like
MP3Face
(MP3Face)
February 15, 2022, 12:19am
#3
You may need to modify the LocalTransparency property of the local players’ character. For R6, it would look something like:
local char = game:GetService("Players").LocalPlayer:WaitForChild("Character")
char["Left Arm"].LocalTransparency = 0
char["Right Arm"].LocalTransparency = 0
For R15 you’ll need to add the additional limbs (Left Arm → LeftUpperArm, LeftLowerArm, LeftHand)
3 Likes
Meant2Win
(ItsAbby)
February 15, 2022, 10:51am
#5
Where can I modiify? Shall I create a new local script?
1 Like
Meant2Win
(ItsAbby)
February 15, 2022, 11:24am
#6
MP3Face
(MP3Face)
February 15, 2022, 7:35pm
#7
Within the localscript that is handling the first-person gun
1 Like
Meant2Win
(ItsAbby)
February 15, 2022, 7:36pm
#8
I found nothing like the code you sent me, I also changed few variables. But nothing, I barely found the property(LocalTransparecy) you mentioned. And of course I also searched for the property(Transparency).
MP3Face
(MP3Face)
February 15, 2022, 8:02pm
#9
You did find a local transparency property? If it’s nonexistent for the arms, add it in.
Meant2Win
(ItsAbby)
February 15, 2022, 8:10pm
#10
Oh ok, I will do that, and set to 0
Meant2Win
(ItsAbby)
February 15, 2022, 8:17pm
#11
The gun dind’t work when, I added your code.
MP3Face
(MP3Face)
February 15, 2022, 8:18pm
#12
Can you share the error message and the line it’s on?
Meant2Win
(ItsAbby)
February 15, 2022, 9:06pm
#14
Hello? Are you there? Do you have any ideas??
zilibobi
(Checkmate)
February 15, 2022, 9:22pm
#15
The property is called “LocalTransparencyModifier”
Meant2Win
(ItsAbby)
February 15, 2022, 9:26pm
#16
Oh, yes that makes more sense, because I saw one property named that. Thank you btw!
1 Like
Meant2Win
(ItsAbby)
February 15, 2022, 9:28pm
#17
Still no changes, do you have any other ideas??
zilibobi
(Checkmate)
February 15, 2022, 9:33pm
#18
Have you tried using these 2 commented lines
1 Like
Meant2Win
(ItsAbby)
February 15, 2022, 9:35pm
#19
Yes, I tried that. and this is the error I get:
1 Like
zilibobi
(Checkmate)
February 15, 2022, 9:40pm
#20
Did the gun rotate itself?
Forgot to mention, you will need to apply the changes in a loop (if they already aren’t)
Sorry for typing slowly, I am from my phone
local RunService = game:GetService("RunService")
RunService.RenderStepped:Connect(function()
-- apply transparency changes for the fake arms here
end)
1 Like