Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Arm Visible in First Person?

Asked by
Nytroz 15
9 years ago

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

0
Getting a script RM0d 305 — 9y
0
Oh and if it helps, I already know how to lock the first person camera if that is required here. Nytroz 15 — 9y
0
*Bump* I think edits dont notify you. RM0d 305 — 9y

2 answers

Log in to vote
4
Answered by
RM0d 305 Moderation Voter
9 years ago

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
0
Thanks! It works! Nytroz 15 — 9y
0
should work with tools if Im right RM0d 305 — 9y
0
Wait so how would I make it work server side? Nytroz 15 — 9y
0
What do you mean? RM0d 305 — 9y
View all comments (2 more)
0
It only works in studio Nytroz 15 — 9y
0
Hmm? try adding wait (1.5) at the top. If it dosen't work report back or msg me on Roblox @ DarkBeemo RM0d 305 — 9y
Ad
Log in to vote
-2
Answered by 9 years ago

Please provide explanation with your answers. Simply posting code does not spread knowledge of integral scripting processes which helps people understand the logic and reasoning behind your answer.

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.

Answer this question