how do i weld parts to a player like in his arm to make a shoulder pad
COMMUNITY QUESTION
Welding Obejcts to Players?
2 answers
Here a simple thing for made a weld with a part ! Don't forgot to read the comment for more information or you can go on Roblox wiki here Enjoy !
local player = game.Players.LocalPlayer
local character = player.CharacterAdded:wait() or workspace[player.Name]
spawn(function() -- dont forgot that if you want it work !
local part = Instance.new("Part", workspace)
local weld = Instance.new("Weld", part)
weld.Part0 = part --Attach to Part1
weld.Part1 = character["Left Arm"] --Attack to Part0
weld.C0 = CFrame.new(0, 0, 0) *CFrame.new(0, 0, 0) -- Position your Part !
end)
part = Instance.new("Part", workspace)
weld = Instance.new("Weld", part)
weld.Part0 = part
weld.Part1 = workspace.Player["Left Arm"]
Copy that, put it in the command line, play your game in studio, then run the command.
5 comments
0
fix your line 4 O:
0
What's there to fix? It's just something for the command line.
0
line 4 at the last character
0
OH!
1
You should explain what is the Weld object, how does it work, Not just give the user code.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
ok need some real help everytime i have player in a code as a variable it says player is not a member of backpack or is a nil string
nvm