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

Welding won't work?

Asked by
Spoookd 32
9 years ago

I am trying to Weld a part to a player when they join the game, but the part just sits on the baseplate.

01local function weldBetween(a, b)
02    print(a, b)
03    local weld = Instance.new("Weld", a)
04    weld.Part0 = a
05    weld.Part1 = b
06    weld.C0 = a.CFrame:inverse() * b.CFrame
07 
08 a.LocalTransparencyModifier = 0
09 
10    return weld
11end
12 
13game.Players.PlayerAdded:connect(function(plr)
14    plr.CharacterAdded:connect(function(chr)
15    chr:WaitForChild( "Torso" )
View all 23 lines...
0
Is the part anchored? tkddude2 75 — 9y
0
If the part was anchored, the player wouldn't be able to move, so no. TheDeadlyPanther 2460 — 9y

Answer this question