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

Why does this script makes the character teleport to the welded part?

Hello, I made a script where a Parachute Mesh gets welded to the HumanoidRootPart of a character, but the character is teleporting to the Parachute and not other way round. I have tried a few things but it's not working. This is the part of the script:

local Mesh = game.ServerStorage.Parachute:Clone()
Mesh.Parent = player.Character
local weld = Instance.new("Weld")
weld.Part1 = player.Character.HumanoidRootPart
weld.Part0 = Mesh
weld.C0 = weld.C0 - Vector3.new(0,10,0)
weld.Parent = Mesh

I already tried changing Part1 and Part0 it is not working.

2 comments

0

I'm actually sure that the weld will keep doing that, however i'm not sure.

0

One way to fix it is the place the mesh in place before adding the weld.

1 answer

Use Wait() after moving the part and then create the weld. The time may vary but that's how I fixed my problem with this.

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