1. What do you want to achieve? Keep it simple and clear!
I want my tool to have first person arm view (R6), it worked but the next day I open my game for it to stop functioning.
2. What is the issue? Include screenshots / videos if possible!
LocalTransparencyModifier was used to make the arms visible, and it initially worked. Until I woke up a day after to find it doesn’t do so anymore even though it works for other scripts that serve the same purpose, I don’t use the other scripts though because they include a full view model or just weren’t working for my purpose.
3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I’ve tried using FindFirstChild, WaitForChild, put it in a for loop through all the characters and filtered basepart only to be changed the LocalTransparencyModifier to 0, task.wait() for a delay because it doesn’t instantly change to 1 transparency when in first person mode, I had looked for solutions but they didn’t help or weren’t for my purpose.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
I just want the left and right arms to be visible, that is it, but I cannot get it to work in my own way. It is put in a local script parented under the tool, not handle. I tried everything but I cannot get it to work. I hope maybe you can find a mistake that I can’t find.
– // The LocalScript that makes the arms visible. (IT WORKED BEFORE, NOW IT DOESNT?)
local Char
local tool = script.Parent
local camera = workspace.CurrentCamera
local player = game.Players.LocalPlayer
tool.Equipped:Connect(function()
Char = script.Parent.Parent
game.Players:FindFirstChild(Char.Name).CameraMode = Enum.CameraMode.LockFirstPerson
task.wait(0.5)
Char:FindFirstChild("Right Arm").LocalTransparencyModifier = 0
Char:FindFirstChild("Left Arm").LocalTransparencyModifier = 0
end)
tool.Unequipped:Connect(function()
game.Players:FindFirstChild(Char.Name).CameraMode = Enum.CameraMode.Classic
end)
If you want my full tool with all the scripts, here is the bare-bones rblx place, don’t mind the variables like deployable, etc, it was made for a purpose in the game I’m working on, and I’m not sure if the animations will work for you since it isn’t defined, but you can see that the arms do not appear.
Barebones_StoneTool.rbxl (96.4 KB)