Advertisement
Tacidus

Ragdoll

Feb 2nd, 2021
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.59 KB | None | 0 0
  1. script.Parent.Touched:Connect(function(hit)
  2.     local Player = game.Players:GetPlayerFromCharacter(hit.Parent)
  3.     local light = Instance.new("SpotLight", Player.Character.Torso)
  4.     Player.Character.Humanoid.PlatformStand = true
  5.     lshclone = Player.Character.Torso["Left Shoulder"]:Clone()
  6.     rshclone = Player.Character.Torso["Right Shoulder"]:Clone()
  7.     lhclone = Player.Character.Torso["Left Hip"]:Clone()
  8.     rhclone = Player.Character.Torso["Right Hip"]:Clone()
  9.     local leftarm = Player.Character["Left Arm"]
  10.     local rightrm = Player.Character["Right Arm"]
  11.     local leftleg = Player.Character["Left Leg"]
  12.     local rightleg = Player.Character["Right Leg"]
  13.     Player.Character.Torso["Left Hip"]:destroy()
  14.     local head = Player.Character.Head
  15.     gl = Instance.new("Glue", Player.Character.Torso)
  16.     gl.Part0 = Player.Character.Torso
  17.     gl.Part1 = leftleg
  18.     gl.Name = "Left leg"
  19.     coll = Instance.new("Part", leftleg)
  20.     coll.Position = Vector3.new(0,999,0)
  21.     coll.Size = Vector3.new(1.5, 1, 1)
  22.     coll.Shape = "Cylinder"
  23.     local weld = Instance.new("Weld", coll)
  24.     weld.Part0 = leftleg
  25.     weld.Part1 = coll
  26.     weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  27.     coll.TopSurface = "Smooth"
  28.     coll.BottomSurface = "Smooth"
  29.     coll.formFactor = "Symmetric"
  30.     gl.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  31.     gl.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  32.     coll.Transparency = 1
  33.  
  34.     Player.Character.Torso["Right Hip"]:destroy()
  35.     gl1 = Instance.new("Glue", Player.Character.Torso)
  36.     gl1.Part0 = Player.Character.Torso
  37.     gl1.Part1 = rightleg
  38.     gl1.Name = "Right leg"
  39.     coll1 = Instance.new("Part", rightleg)
  40.     coll1.Position = Vector3.new(0,9999,0)
  41.     coll1.Size = Vector3.new(1.5, 1, 1)
  42.     coll1.Shape = "Cylinder"
  43.     local weld1 = Instance.new("Weld", coll1)
  44.     weld1.Part0 = rightleg
  45.     weld1.Part1 = coll1
  46.     weld1.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  47.     coll1.TopSurface = "Smooth"
  48.     coll1.BottomSurface = "Smooth"
  49.     coll1.formFactor = "Symmetric"
  50.     gl1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  51.     gl1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  52.     coll1.Transparency = 1
  53.  
  54.     Player.Character.Torso["Right Shoulder"]:destroy()
  55.     gl11 = Instance.new("Glue", Player.Character.Torso)
  56.     gl11.Part0 = Player.Character.Torso
  57.     gl11.Part1 = rightrm
  58.     gl11.Name = "Right shoulder"
  59.     coll11 = Instance.new("Part", rightrm)
  60.     coll11.Position = Vector3.new(0,9999,0)
  61.     coll11.Size = Vector3.new(1.8,1,1)
  62.     coll11.Shape = "Cylinder"
  63.     local weld11 = Instance.new("Weld", coll11)
  64.     weld11.Part0 = rightrm
  65.     weld11.Part1 = coll11
  66.     weld11.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  67.     coll11.TopSurface = "Smooth"
  68.     coll11.BottomSurface = "Smooth"
  69.     coll11.formFactor = "Symmetric"
  70.     gl11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  71.     gl11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  72.     coll11.Transparency = 1
  73.  
  74.     Player.Character.Torso["Left Shoulder"]:destroy()
  75.     gl111 = Instance.new("Glue", Player.Character.Torso)
  76.     gl111.Part0 = Player.Character.Torso
  77.     gl111.Part1 = leftarm
  78.     gl111.Name = "Left shoulder"
  79.     coll111 = Instance.new("Part", leftarm)
  80.     coll111.Position = Vector3.new(0,9999,0)
  81.     coll111.Size = Vector3.new(1.5, 1, 1)
  82.     coll111.Shape = "Cylinder"
  83.     local weld111 = Instance.new("Weld", coll111)
  84.     weld111.Part0 = leftarm
  85.     weld111.Part1 = coll111
  86.     weld111.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  87.     coll111.TopSurface = "Smooth"
  88.     coll111.BottomSurface = "Smooth"
  89.     coll111.formFactor = "Symmetric"
  90.     gl111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  91.     gl111.C1 = CFrame.new(0, 0.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement