- I’ve been dealing with this problem for a long time and even I abandoned the “project” for not having a solution. I don’t know if it’s a bug either but this is the problem:
I want to make a tool that when clicking on a ragdoll player, an AlignPosition is made to be able to carry the player but for some reason
on the screen of the player that is being loaded it looks normal but on the server and on the other players it looks like it doesn’t have RigidityEnabled here the video:
(Btw all that script is in Server Script/Normal Script)
2.
- I tried to use a weld but there are many errors like the player is heavy (I also tried to make the player massless it didn’t work either) so the one who is loading can’t jump or if one of the two dies both die and also try to put the Align Position in ReplicatedStorage with the RigidityEnabled already activated to just clone it and put it where it should… obviously it didn’t work either and I DIDN’T FIND ANYONE WITH THE SAME BUG / ERROR / GLITCH / IDK AAAHH!
--ALL THIS IN A SERVER SCRIPT!
CarryEvent.OnServerEvent:Connect(function(player, MousePosition, TorsoPosition)
local Params2 = RaycastParams.new()
Params2.FilterDescendantsInstances = {player.Character}--player.Character
Params2.FilterType = Enum.RaycastFilterType.Blacklist
Params2.IgnoreWater = true
local direction = (MousePosition - TorsoPosition).Unit * 10 --Max Distance
local result = game.Workspace:Raycast(TorsoPosition, direction, Params2)
if result then
if result.Instance.Parent:FindFirstChild("Humanoid") then
local Character = player.Character
local CarringChar = result.Instance.Parent
if CarringChar.Ragdolled.Value == true then
-------------------------------------------------------------------------
local Attachment1 = Instance.new("Attachment", Character.Torso)
local Attachment0 = Instance.new("Attachment", CarringChar.Torso)
Attachment1.Name = "Attachment1"
Attachment0.Name = "Attachment0"
Attachment1.CFrame = CFrame.new(2,1,0) * CFrame.Angles(90,0,0)
local AlignOrientation = Instance.new("AlignOrientation", CarringChar.Torso)
local AlignPosition = Instance.new("AlignPosition", CarringChar.Torso)
-------------------------------------------------------------------------
AlignPosition.Name = "CarringWeld"
AlignOrientation.Name = "CarringOrientation"
AlignPosition.Attachment0 = Attachment0
AlignPosition.Attachment1 = Attachment1
AlignPosition.RigidityEnabled = true
AlignOrientation.Attachment0 = Attachment0
AlignOrientation.Attachment1 = Attachment1
AlignOrientation.RigidityEnabled = true
-------------------------------------------------------------------------
CarringChar.CarryingCharacter.Value = Character
end
end
end
end)
--
I would be very grateful if someone helps me!