Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Ball Constraint won't work on moving brick's runservice i need some help please?

Asked by 2 years ago

my moving road won't convey the ragdoll bodies using ball constraint why it won't move together with the road after they fell out of the car??

Ragdoll system

01local CollisionsOn = false
02local ogparent = script.Parent
03script.Parent = game:GetService("ServerScriptService")
04 
05game.Players.PlayerAdded:Connect(function(play)
06    play.CharacterAdded:Connect(function(char)
07        char.Humanoid.BreakJointsOnDeath = false
08            char.Humanoid.Died:Connect(function()
09                if char:FindFirstChild("HumanoidRootPart") then
10                    for _, v in pairs(char:GetDescendants()) do
11                        if v:IsA("Motor6D") then
12                            local a0, a1 = Instance.new("Attachment"), Instance.new("Attachment")
13                            a0.CFrame = v.C0
14                            a1.CFrame = v.C1
15                            a0.Parent = v.Part0
View all 33 lines...

Moving Brick System

01local TweenService = game:GetService("TweenService")
02local part = script.Parent
03local model = script.Parent.Parent
04local cframelocation = script.Parent.Parent.StopLiner.Position
05 
06local Info = TweenInfo.new(
07 2, -- Length
08 Enum.EasingStyle.Linear, -- Easing Style
09 Enum.EasingDirection.InOut, -- Easing Direction
10 -1, -- Times repeated
11 false, -- Reverse
12 0 -- Delay
13)
14local Goals =
15{
View all 35 lines...

why runservice won't move the ragdoll body anyway?

Answer this question