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

How do you weld a brick to a player in r15?

If I want a brick welded to a player at their legs, how would I do that?

I've tried but no success.

2 answers

✓ Accepted answer

I'm just here to help you! but since you gave no scripts, i have nothing to do with typing scripts, i'm sorry, and i'm busy ;(

R15's body parts are different, like, Left Leg is not valid, you should use LeftLowerLeg -- sorry if its wrong, i'm not in studio right now, you can find R15's body types by using the animation plugin's Dummy Creator.

I believe this is your problem, for more help from welding, Click This!

plr = game.Players.LocalPlayer
local part = Instance.new("Part", plr.Character.RightLowerLeg)
part.Position = part.Parent.Position
part.Name = "Brick"
local weld = Instance.new("Weld", part)
weld.Part0 = part
weld.Part1 = part.Parent

3 comments

0

The parent parameter for Instance.new is deprecated

0

good to know.

0

all I did was answer and you decide to downvote me, this is the second time you do it and you should seriously stop it

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