Weld doesn't Hold the part

  1. What do you want to achieve? Keep it simple and clear!
    I would like to Weld My part so it doesn’t fall through the map.
  2. What is the issue? Include screenshots / videos if possible!
    The issue is that My part falls through the map.
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I have looked for solutions on the dev forum but most of them fell through.
local RP = game:GetService('ReplicatedStorage')
local StandV = RP:WaitForChild('StandVisability')


local Character = player.Character
local HRP = Character:WaitForChild('HumanoidRootPart')
local MyStand = script:WaitForChild("Dummy"):Clone()
local Weld = Instance.new('ManualWeld')
Weld.Name = 'Stand Weld'
Weld.Part0 = MyStand:WaitForChild('HumanoidRootPart')
Weld.Part1 = player.HRP
Weld.C0 = MyStand:WaitForChild('HumanoidRootPart').CFrame:inverse() * HRP.CFrame
Weld.Parent = Weld.Part0

I may have made a small mistake But I can’t seem to find it, So if you guys have any Ideas it will be much appreciated :smiley:

BTW this script is part of a larger script But it doesn’t have any relation with the weld :smiley:

If you didn’t get an error I assume you wrapped this inside a pcall somewhere.

But since I don’t know how your game is made I don’t exactly know what exists.

But from what I see Weld.Part1 = player.HRP player.HRP shouldn’t exist just replace it with HRP
I don’t see MyStand parented to anything but for all I know you parent it to something later on.

1 Like

MyStand is parented to a folder and I have changed lua player.HRP to Weld.Part1 = player.HRP

I might be completely wrong, but
is C1 necessary?

1 Like

Sorry I’m not sure, I was just following a tutorial since I am new to welding and sorts.

You might want to put something like this
Weld.C1 = HRP.CFram:Inverse()

-I’m not sure about this, but Player.HRP sounds strange to me

1 Like

Doesn’t work :confused:


I figured it out, thanks for the help.