Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Arm Visible in First Person?

What I really want is to be able to make the characters arms visible while in first person as in you could see their arms swinging as they walk etc. But I don't know how to do this, thanks for you help

3 comments

0

Getting a script

0

Oh and if it helps, I already know how to lock the first person camera if that is required here.

0

Bump I think edits dont notify you.

2 answers

✓ Accepted answer

a local script in startergui


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") 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

6 comments

0

Thanks! It works!

0

should work with tools if Im right

0

Wait so how would I make it work server side?

0

What do you mean?

0

It only works in studio

0

Hmm? try adding wait (1.5) at the top. If it dosen't work report back or msg me on Roblox @ DarkBeemo

Or you can use this one that is easy to understand the code

wait(3)

function PlayerEntered(player) while player.Character:FindFirstChild("Shirt") == nil do wait() end local Arm1 = player.Character:FindFirstChild("Left Arm") local Arm2 = player.Character:FindFirstChild("Right Arm") local LArm = Arm1:clone() local RArm = Arm2:clone() LArm.formFactor = 3 --Custom, new feature added as of late 2010 RArm.formFactor = 3 LArm.Size = Vector3.new(1, 2, 1) RArm.Size = Vector3.new(1, 2, 1)

Arm1.Transparency = 0.5 --shhh, trust me. Arm2.Transparency = 0.5

local shirt = player.Character:FindFirstChild("Shirt") local pants = player.Character:FindFirstChild("Pants") local s = shirt:clone() local p = pants:clone() local m = Instance.new("Model") m.Name = player.Name.."'s Body Model" local Arm1Weld = Instance.new("Weld") Arm1Weld.Part0 = Arm1 Arm1Weld.Part1 = LArm local Arm2Weld = Instance.new("Weld") Arm2Weld.Part0 = Arm2 Arm2Weld.Part1 = RArm

local human = player.Character:FindFirstChild("Humanoid"):Clone() if m.Parent ~= game.Workspace then m.Parent = game.Workspace human.Parent = m s.Parent = m p.Parent = m Arm1Weld.Parent = Arm1 Arm2Weld.Parent = Arm2

LArm.Parent = m RArm.Parent = m

end human.Died:connect(function() m:Remove() end) player.Changed:connect(function(prop) if prop:lower() == "character" then PlayerEntered(player) end end) end game.Players.PlayerAdded:connect(PlayerEntered) PlayerEntered(game.Players.LocalPlayer)

Just don't edit anything else and you are good to go mate hopefully i helped you.

This discussion is preserved as it was. New answers, comments, and votes are closed.