hey my weld acting wrong someone help me fix pls!
https://gyazo.com/e5dda35e2a07062d3ec7b330fe0caceb
Can you also please post your script (the part where you weld it).
ok heres the script
local remote = game:GetService("ReplicatedStorage").Kagune.Eto.Remotes:WaitForChild("Eto")
local tweenservice = game:GetService("TweenService")
remote.OnServerEvent:Connect(function(plr,active)
if active == true then
--var
local char = plr.Character
local Humanoid = char.Humanoid
local HumaoidRP = char.HumanoidRootPart
local Eto = game:GetService("ReplicatedStorage").Kagune.Eto.Etok1:Clone()
Eto.Parent = char
Eto.PrimaryPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,1,0)
local Weld = Instance.new("Weld") Weld.Part0 = HumaoidRP Weld.Part1 = Eto:WaitForChild("HumanoidRootPart")
Weld.Parent = Weld.Part0
Weld.C0 = char.HumanoidRootPart.CFrame:inverse() * Weld.Part1 * CFrame.new(0,1,0)
end
end)
Are you having trouble setting the orientation of the object after the weld?
no!sorry my part keep falling when i jump
The video you provided doesnt correlate to your problem. I don’t see anything falling when the character jumps.
The object does stay like that when you jump.
hm… that right! can u help me to fix it?
So that is a video of how you want it and not the problem itself?
yes ! so can u help me fix ? is took me 3 days
In that case, instead of creating a new Weld. Just use WeldConstraints. If you use WeldConstraints, you wont have to manually set the C0 or C1 of the Weld.
The object doesn’t stay when i jump if i use weld Constraints
Can you show how the object welds with your current script?
It seems like you welded to the HumanoidRootPart instead of the torso.
ok in clear, i need to weld it with different part?