Let’s keep things short, I just want all players bodyparts to effectively move to the centre of the body as shown in the animation below;
Here is a script I made that;
local ts = game:GetService("TweenService")
local middle = Vector3.new(0,0,0)
local down = Vector3.new(0, -2, 0)
local npc = script.Parent
local root = npc:FindFirstChild("HumanoidRootPart")
local torso = npc:FindFirstChild("Torso")
for _, motor in pairs(npc:GetDescendants()) do
if motor:IsA("Motor6D") then
ts:Create(motor.C0, TweenInfo.new(1), {Position = middle}):Play()
end
end
Have you tried using CFrames and Tweening C0 instead?
local ts = game:GetService("TweenService")
local middle = CFrame.new(0, 0, 0)
local down = CFrame.new(0, -2, 0)
local npc = script.Parent
local root = npc:FindFirstChild("HumanoidRootPart")
local torso = npc:FindFirstChild("Torso")
for _, motor in pairs(npc:GetDescendants()) do
if motor:IsA("Motor6D") then
ts:Create(motor, TweenInfo.new(1), {C0 = middle}):Play()
end
end