Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ragdolld = false
- local plr = game:service'Players'.LocalPlayer
- gui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
- text = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui)
- text.Text = "Oof"
- text.Size = UDim2.new(0,200, 0,80)
- text.Position = UDim2.new(0,600, 0,600)
- function succ()
- ragdolld = true
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
- game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true
- if game.Players.LocalPlayer.Character:findFirstChild("Torso") then
- game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 10
- for i,v in pairs(game.Players.LocalPlayer.Character.Torso:GetChildren()) do
- if v.ClassName == "Motor6D" then
- if v.Name == "Neck" then
- else
- v:destroy()
- end
- end
- end
- end
- if game.Players.LocalPlayer.Character:findFirstChild("Right Arm") then
- local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
- attachment.Position = Vector3.new(1, 1, 0)
- local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
- ball.Attachment0 = game.Players.LocalPlayer.Character["Right Arm"].RightShoulderAttachment
- ball.Attachment1 = attachment
- local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if game.Players.LocalPlayer.Character:findFirstChild("Left Arm") then
- local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
- attachment.Position = Vector3.new(-1, 1, 0)
- local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
- ball.Attachment0 = attachment
- ball.Attachment1 = game.Players.LocalPlayer.Character["Left Arm"].LeftShoulderAttachment
- local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = game.Players.LocalPlayer.Character["Left Arm"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if game.Players.LocalPlayer.Character:findFirstChild("Right Leg") then
- local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
- attachment.Position = Vector3.new(0.5, -1, 0)
- local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
- ball.Attachment0 = game.Players.LocalPlayer.Character["Right Leg"].RightFootAttachment
- ball.Attachment1 = attachment
- game.Players.LocalPlayer.Character["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0)
- local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = game.Players.LocalPlayer.Character["Right Leg"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if game.Players.LocalPlayer.Character:findFirstChild("Left Leg") then
- local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
- attachment.Position = Vector3.new(-0.5, -1, 0)
- local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
- ball.Attachment0 = game.Players.LocalPlayer.Character["Left Leg"].LeftFootAttachment
- ball.Attachment1 = attachment
- game.Players.LocalPlayer.Character["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0)
- local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = game.Players.LocalPlayer.Character["Left Leg"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if game.Players.LocalPlayer.Character:findFirstChild("Head") then
- local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Head)
- attachment.Position = Vector3.new(0, -0.5, 0)
- attachment.Name = "lol"
- attachment.Visible = false
- game.Players.LocalPlayer.Character.Torso.NeckAttachment.Visible = false
- game.Players.LocalPlayer.Character.Torso.NeckAttachment.Position = game.Players.LocalPlayer.Character.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
- local ball = Instance.new("HingeConstraint", game.Players.LocalPlayer.Character)
- ball.Attachment0 = game.Players.LocalPlayer.Character.Torso.NeckAttachment
- ball.Attachment1 = attachment
- local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.5,0.3,0.5)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = collidepartofleftleg
- weeld.Part1 = game.Players.LocalPlayer.Character["Head"]
- if game.Players.LocalPlayer.Character.Torso:findFirstChild("Neck") then
- game.Players.LocalPlayer.Character.Torso.Neck:destroy()
- end
- end
- if game.Players.LocalPlayer.Character:findFirstChild("Head") then
- workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Head
- local aah = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
- if aah then
- aah.Volume = 8
- local aahmath = math.random(2,8)
- if aahmath == 2 then
- aah.SoundId = "rbxassetid://884348443"
- aah:Play()
- end
- if aahmath == 3 then
- aah.SoundId = "rbxassetid://535528169"
- aah.TimePosition = 0.3
- aah:Play()
- end
- if aahmath == 4 then
- aah.SoundId = "rbxassetid://1080363252"
- aah:Play()
- end
- if aahmath == 5 then
- aah.SoundId = "rbxassetid://150245085"
- aah:Play()
- end
- if aahmath == 6 then
- aah.SoundId = "rbxassetid://345287845"
- aah.TimePosition = 2.5
- aah:Play()
- end
- if aahmath == 7 then
- aah.SoundId = "rbxassetid://147758746"
- aah.TimePosition = 1.3
- aah:Play()
- end
- if aahmath == 8 then
- aah.SoundId = "rbxassetid://626777433"
- aah.TimePosition = 1.4
- aah:Play()
- end
- end
- end
- end
- text.MouseButton1Click:connect(succ)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement