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

How do I weld something to a player?

Asked by 2 years ago

I've tried welding a part to a player in studio but It never seemed to work, I've looked online but I just cant find a script that actually welds something to a player. Can someone help, or at least send a video that might help?

2 answers

Log in to vote
0
Answered by 2 years ago

Just Do

game.Players.PlayerAdded:Connect(function(Player) -- Player
    Player.CharacterAdded:Connect(function(Char() -- Character
        local Head = Char.Head -- Character's Body Part
        local Part = game.Workspace.Part -- Directory To Part To Weld
        local Weld = Instance.new('Weld', Head) -- Create Wel
        Weld.Part1 = Part
        Weld.Part0 = Head
    end)
end) -- End
0
Thanks this worked! baconbroforpresident 7 — 2y
0
But is there a way to choose the exact cframe of the part that you welded? baconbroforpresident 7 — 2y
0
ya i guess so kidsteve923 139 — 2y
Ad
Log in to vote
0
Answered by 2 years ago

This page should have everything you need: https://developer.roblox.com/en-us/api-reference/class/WeldConstraint

0
You Didnt Understand What He Said Lol kidsteve923 139 — 2y
0
actually, I did. There is a script on the link I sent, as well as thorough documentation. iUnEarthly 85 — 2y

Answer this question