Advertisement
metilol

jh

Mar 27th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.49 KB | None | 0 0
  1.  
  2. ragdolld = false
  3. local plr = game:service'Players'.LocalPlayer
  4. gui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  5. text = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui)
  6. text.Text = "Oof"
  7. text.Size = UDim2.new(0,200, 0,80)
  8. text.Position = UDim2.new(0,600, 0,600)
  9. function succ()
  10.         ragdolld = true
  11.         game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  12.         game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  13.         game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true
  14.         if game.Players.LocalPlayer.Character:findFirstChild("Torso") then
  15.             game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 10
  16.             for i,v in pairs(game.Players.LocalPlayer.Character.Torso:GetChildren()) do
  17.                 if v.ClassName == "Motor6D" then
  18.                     if v.Name == "Neck" then
  19.                        
  20.                     else
  21.                         v:destroy()
  22.                     end
  23.                 end
  24.             end
  25.         end
  26.         if game.Players.LocalPlayer.Character:findFirstChild("Right Arm") then
  27.             local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
  28.             attachment.Position = Vector3.new(1, 1, 0)
  29.             local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
  30.             ball.Attachment0 = game.Players.LocalPlayer.Character["Right Arm"].RightShoulderAttachment
  31.             ball.Attachment1 = attachment
  32.             local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  33.             collidepartofleftleg.Name = "Bone"
  34.             collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  35.             collidepartofleftleg.Transparency = 1
  36.             collidepartofleftleg:BreakJoints()
  37.             local weeld = Instance.new("Weld", collidepartofleftleg)
  38.             weeld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  39.             weeld.Part1 = collidepartofleftleg
  40.             weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  41.         end
  42.         if game.Players.LocalPlayer.Character:findFirstChild("Left Arm") then
  43.             local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
  44.             attachment.Position = Vector3.new(-1, 1, 0)
  45.             local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
  46.             ball.Attachment0 = attachment
  47.             ball.Attachment1 = game.Players.LocalPlayer.Character["Left Arm"].LeftShoulderAttachment
  48.             local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  49.             collidepartofleftleg.Name = "Bone"
  50.             collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  51.             collidepartofleftleg.Transparency = 1
  52.             collidepartofleftleg:BreakJoints()
  53.             local weeld = Instance.new("Weld", collidepartofleftleg)
  54.             weeld.Part0 = game.Players.LocalPlayer.Character["Left Arm"]
  55.             weeld.Part1 = collidepartofleftleg
  56.             weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  57.         end
  58.         if game.Players.LocalPlayer.Character:findFirstChild("Right Leg") then
  59.             local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
  60.             attachment.Position = Vector3.new(0.5, -1, 0)
  61.             local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
  62.             ball.Attachment0 = game.Players.LocalPlayer.Character["Right Leg"].RightFootAttachment
  63.             ball.Attachment1 = attachment
  64.             game.Players.LocalPlayer.Character["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0)
  65.             local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  66.             collidepartofleftleg.Name = "Bone"
  67.             collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  68.             collidepartofleftleg.Transparency = 1
  69.             collidepartofleftleg:BreakJoints()
  70.             local weeld = Instance.new("Weld", collidepartofleftleg)
  71.             weeld.Part0 = game.Players.LocalPlayer.Character["Right Leg"]
  72.             weeld.Part1 = collidepartofleftleg
  73.             weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  74.         end
  75.         if game.Players.LocalPlayer.Character:findFirstChild("Left Leg") then
  76.             local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
  77.             attachment.Position = Vector3.new(-0.5, -1, 0)
  78.             local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
  79.             ball.Attachment0 = game.Players.LocalPlayer.Character["Left Leg"].LeftFootAttachment
  80.             ball.Attachment1 = attachment
  81.             game.Players.LocalPlayer.Character["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0)
  82.             local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  83.             collidepartofleftleg.Name = "Bone"
  84.             collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  85.             collidepartofleftleg.Transparency = 1
  86.             collidepartofleftleg:BreakJoints()
  87.             local weeld = Instance.new("Weld", collidepartofleftleg)
  88.             weeld.Part0 = game.Players.LocalPlayer.Character["Left Leg"]
  89.             weeld.Part1 = collidepartofleftleg
  90.             weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  91.         end
  92.         if game.Players.LocalPlayer.Character:findFirstChild("Head") then
  93.             local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Head)
  94.             attachment.Position = Vector3.new(0, -0.5, 0)
  95.             attachment.Name = "lol"
  96.             attachment.Visible = false
  97.             game.Players.LocalPlayer.Character.Torso.NeckAttachment.Visible = false
  98.             game.Players.LocalPlayer.Character.Torso.NeckAttachment.Position = game.Players.LocalPlayer.Character.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  99.             local ball = Instance.new("HingeConstraint", game.Players.LocalPlayer.Character)
  100.             ball.Attachment0 = game.Players.LocalPlayer.Character.Torso.NeckAttachment
  101.             ball.Attachment1 = attachment
  102.             local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  103.             collidepartofleftleg.Name = "Bone"
  104.             collidepartofleftleg.Size = Vector3.new(0.5,0.3,0.5)
  105.             collidepartofleftleg.Transparency = 1
  106.             collidepartofleftleg:BreakJoints()
  107.             local weeld = Instance.new("Weld", collidepartofleftleg)
  108.             weeld.Part0 = collidepartofleftleg
  109.             weeld.Part1 = game.Players.LocalPlayer.Character["Head"]
  110.             if game.Players.LocalPlayer.Character.Torso:findFirstChild("Neck") then
  111.                 game.Players.LocalPlayer.Character.Torso.Neck:destroy()
  112.             end
  113.         end
  114.         if game.Players.LocalPlayer.Character:findFirstChild("Head") then
  115.             workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Head
  116.             local aah = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
  117.             if aah then
  118.                 aah.Volume = 8
  119.                 local aahmath = math.random(2,8)
  120.                 if aahmath == 2 then
  121.                     aah.SoundId = "rbxassetid://884348443"
  122.                     aah:Play()
  123.                 end
  124.                 if aahmath == 3 then
  125.                     aah.SoundId = "rbxassetid://535528169"
  126.                     aah.TimePosition = 0.3
  127.                     aah:Play()
  128.                 end
  129.                 if aahmath == 4 then
  130.                     aah.SoundId = "rbxassetid://1080363252"
  131.                     aah:Play()
  132.                 end
  133.                 if aahmath == 5 then
  134.                     aah.SoundId = "rbxassetid://150245085"
  135.                     aah:Play()
  136.                 end
  137.                 if aahmath == 6 then
  138.                     aah.SoundId = "rbxassetid://345287845"
  139.                     aah.TimePosition = 2.5
  140.                     aah:Play()
  141.                 end
  142.                 if aahmath == 7 then
  143.                     aah.SoundId = "rbxassetid://147758746"
  144.                     aah.TimePosition = 1.3
  145.                     aah:Play()
  146.                 end
  147.                 if aahmath == 8 then
  148.                     aah.SoundId = "rbxassetid://626777433"
  149.                     aah.TimePosition = 1.4
  150.                     aah:Play()
  151.                 end
  152.             end
  153.         end
  154.     end
  155.  
  156. text.MouseButton1Click:connect(succ)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement