RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a script that disconnects my torso from my legs and makes it float while attached to my legs"
-- local script local character = game.Players.LocalPlayer.Character local humanoid = character:FindFirstChild("Humanoid") local torso = character:FindFirstChild("Torso") local legs = {character:FindFirstChild("Left Leg"), character:FindFirstChild("Right Leg")} local weld = Instance.new("Weld") weld.Part0 = torso weld.Part1 = legs[1] weld.C0 = CFrame.new(0, 2, 0) -- adjust this value to make the torso float at the desired height weld.Parent = torso local weld2 = Instance.new("Weld") weld2.Part0 = torso weld2.Part1 = legs[2] weld2.C0 = CFrame.new(0, 2, 0) -- adjust this value to make the torso float at the desired height weld2.Parent = torso humanoid.Died:Connect(function() weld:Destroy() weld2:Destroy() end)