I’m making a horror game which in a specific part you have to hide under a bed, which changes your camera, and I’m using a script that I found on the toolbox which shows your limbs in first person, but after you leave the hiding spot the body and limbs don’t rotate with you, as if your head can do a 360
script:
local self,player = script.Parent,game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:wait()
local humanoid = char:WaitForChild("Humanoid") -- waits for the humanoid in the character
function antiTrans(part)
if part and part:IsA("BasePart") and( part.Name=="Left Arm" or part.Name=="Right Arm" or part.Name == "Right Leg" or part.Name == "Left Leg" or part.Name == "Torso") then -- checks if a part and is a arm
part.LocalTransparencyModifier = part.Transparency
part.Changed:connect(function (property)
part.LocalTransparencyModifier = part.Transparency--Changes the local modifyer(client side only)
end)
end
end
for _,v in pairs(char:GetChildren()) do
antiTrans(v) -- adds all parts
end