So I ran into a slight speed bump meanwhile working on something. Since I’m using R15, I have no idea how to make the tablet stay in the middle of the screen with the arms, sort of like a viewmodel. But I don’t really want to make a whole viewmodel and reanimate it.
Would there be any way to solve this problem without having to make a custom viewmodel and reanimating the tablet animation?
if you want the arms to stay in the center of the screen you might as well just make a viewmodel, it’s easier to do than to hack something with the player’s arms. Probably looks better too.
If you do really want to just use the players arms themselves, you can use this:
local script inside StarterPlayerCharacter
local LocalPlayer = game.Players.LocalPlayer
local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local Rig = Humanoid.RigType
local function LimbVisible(RigType, Part)
if RigType == Enum.HumanoidRigType.R6 then
if Part and Part:IsA("BasePart") and (Part.Name=="Left Arm" or Part.Name=="Right Arm") then
Part.LocalTransparencyModifier = Part.Transparency
Part.Changed:connect(function(property)
Part.LocalTransparencyModifier = Part.Transparency
end)
end
elseif RigType == Enum.HumanoidRigType.R15 then
if Part and Part:IsA("BasePart") and (Part.Name=="LeftUpperArm" or Part.Name=="LeftLowerArm" or Part.Name=="LeftHand" or Part.Name=="RightUpperArm" or Part.Name=="RightLowerArm" or Part.Name=="RightHand") then
Part.LocalTransparencyModifier = Part.Transparency
Part.Changed:connect(function (property)
Part.LocalTransparencyModifier = Part.Transparency
end)
end
end
end
for _, plrPart in pairs(Character:GetChildren()) do
LimbVisible(Rig, plrPart)
end
This won’t keep the tablet in the center of your screen, so you’ll have to painstakingly edit the player character’s joints so that the arms are in the right position at each frame.
Again, I highly recommend that you just go for making a viewmodel.