VIDEO:
https://gyazo.com/c6ea5b1a006510f2eaf116f6553c70fa
VIDEO_HYPERLINK
I just want the player to be able to hold the player without being pushed into the ground, I am unsure of why this is happening as they are in the same collision group so they don’t collide with each other, I welded the upper torso of the player they touch to the player that has the tool equipped’s UpperTorso. I set them to massless and set the customphyscialproperties, like density to 0.01 as that is the lowest you can set it to. Any idea why this is happening?
Human is the player that touches the player btw.
if object:IsA("BasePart") or object:IsA("MeshPart") then
--.CustomPhysicalProperties = true
local density = 0.01
local friction = .1
local elasticity = 1
local frictionWeight = .01
local elasticityWeight = .01
local newphys = PhysicalProperties.new(density, friction, elasticity, frictionWeight, elasticityWeight)
object.CustomPhysicalProperties = newphys
object.Massless = true
elseif object:IsA("Accessory") then
--object.Handle.Massless = true
local density = 0.01
local friction = .1
local elasticity = 1
local frictionWeight = .01
local elasticityWeight = .01
local newphys = PhysicalProperties.new(density, friction, elasticity, frictionWeight, elasticityWeight)
object.Handle.CustomPhysicalProperties = newphys
object.Handle.Massless = true
end
end
human.Humanoid.WalkSpeed = 0
human.Humanoid.UseJumpPower = true
human.Humanoid.JumpPower = 1
wait(.2)
--human.UpperTorso.CFrame = script.Parent.Parent.UpperTorso.CFrame * CFrame.new( 0, 1, -2 )
human.UpperTorso.CFrame = player.Character.UpperTorso.CFrame * CFrame.new(0, .5, -1 ) * CFrame.fromEulerAnglesXYZ(0, math.rad(180), 0)
local weld = Instance.new("WeldConstraint")
weld.Parent = player.Character.UpperTorso
weld.Part0 = human.UpperTorso
weld.Part1 = player.Character.UpperTorso
wait(.3)