Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Target = "DylanD2003" --Twitdoof does it the best, call me ;) 1- (843) 666 6666
- local Id = 1008038821 --Set your own custom sound id
- local Mp = game:GetService("Players")[Target]
- local Mpc = Mp.Character
- local Torso = Mpc.HumanoidRootPart.RootJoint
- local Ra = Mpc.Torso["Right Shoulder"]
- local La = Mpc.Torso["Left Shoulder"]
- local Rl = Mpc.Torso["Right Hip"]
- local Ll = Mpc.Torso["Left Hip"]
- local Down = false
- Mpc.Animate.Disabled = true
- for k,v in ipairs(Mpc.Humanoid:GetPlayingAnimationTracks()) do
- v:Stop()
- end
- local Music = Instance.new("Sound", Mpc.Torso)
- Music.Looped = true
- Music.SoundId = "rbxassetid://"..tostring(Id)
- wait(1)
- Mpc.Animate.Disabled = true
- Music:Play()
- local New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- while true do
- if Mpc == nil or Mpc.Parent ~= workspace then
- return
- end
- --[[
- local vel = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
- vel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * -5
- vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- --]]
- --By Rufus14 (FINALLY I KNOW HOW TO MAKE A RAGDOLL :D)
- --die plz
- mouse = game.Players.LocalPlayer:GetMouse()
- function ragdoll()
- game.Players.LocalPlayer.Character.Archivable = true
- clone = game.Players.LocalPlayer.Character:Clone()
- clone.Parent = workspace
- for i,v in pairs(clone:GetChildren()) do
- if v.ClassName == "Script" or v.ClassName == "LocalScript" then
- v:destroy()
- end
- for i,p in pairs(v:GetChildren()) do
- if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then
- p:destroy()
- end
- end
- end
- for i,t in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if t.ClassName == "Accessory" or t.ClassName == "ForceField" then
- t:destroy()
- end
- end
- vel = Instance.new("BodyVelocity", clone.Torso)
- vel.Velocity = clone.Torso.CFrame.lookVector * -5
- vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- clone.Head.face.Texture = "http://www.roblox.com/asset/?id=121559691"
- using = false
- hit = Instance.new("Sound", clone.Torso)
- hit.SoundId = "rbxassetid://546029423"
- hit.Volume = 5
- hit1 = Instance.new("Sound", clone.Torso)
- hit1.SoundId = "rbxassetid://138087186"
- hit1.Volume = 5
- hit2 = Instance.new("Sound", clone.Torso)
- hit2.SoundId = "rbxassetid://131237241"
- hit2.Volume = 5
- hit3 = Instance.new("Sound", clone.Torso)
- hit3.SoundId = "rbxassetid://278062209"
- hit3.Volume = 5
- hit3.TimePosition = 0.33
- ded = Instance.new("Sound", clone.Torso)
- ded.SoundId = "rbxassetid://906084456"
- ded.Volume = 10
- ded.TimePosition = 5
- local leftarm = clone:findFirstChild("Left Arm")
- local rightrm = clone:findFirstChild("Right Arm")
- local leftleg = clone:findFirstChild("Left Leg")
- local rightleg = clone:findFirstChild("Right Leg")
- local head = clone:findFirstChild("Head")
- local welding = Instance.new("Weld", clone.Torso)
- welding.Part0 = clone.Torso
- welding.Part1 = head
- welding.C0 = welding.C0 * CFrame.new(0,1.5,0)
- for i, g in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if g.ClassName == "Part" then
- g:destroy()
- end
- end
- for i, h in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if h.ClassName == "Accesory" then
- h:destroy()
- end
- end
- game.Workspace.CurrentCamera.CameraSubject = head
- if leftleg ~= nil then
- local glue = Instance.new("Glue", clone.Torso)
- glue.Part0 = clone.Torso
- glue.Part1 = leftleg
- glue.Name = "Left leg"
- local collider = Instance.new("Part", leftleg)
- collider.Position = Vector3.new(0,999,0)
- collider.Size = Vector3.new(1.7, 1, 1)
- collider.Shape = "Cylinder"
- local weld = Instance.new("Weld", collider)
- weld.Part0 = leftleg
- weld.Part1 = collider
- weld.C0 = CFrame.Angles(0, 0, 80)
- collider.TopSurface = "Smooth"
- collider.BottomSurface = "Smooth"
- collider.formFactor = "Symmetric"
- glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- collider.Transparency = 1
- end
- ------------
- if rightleg ~= nil then
- local glue1 = Instance.new("Glue", clone.Torso)
- glue1.Part0 = clone.Torso
- glue1.Part1 = rightleg
- glue1.Name = "Right leg"
- local collider1 = Instance.new("Part", rightleg)
- collider1.Position = Vector3.new(0,999,0)
- collider1.Size = Vector3.new(1.7, 1, 1)
- collider1.Shape = "Cylinder"
- local weld1 = Instance.new("Weld", collider1)
- weld1.Part0 = rightleg
- weld1.Part1 = collider1
- weld1.C0 = CFrame.Angles(0, 0, 80)
- collider1.TopSurface = "Smooth"
- collider1.BottomSurface = "Smooth"
- collider1.formFactor = "Symmetric"
- glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- collider1.Transparency = 1
- end
- ------------
- if rightrm ~= nil then
- local glue11 = Instance.new("Glue", clone.Torso)
- glue11.Part0 = clone.Torso
- glue11.Part1 = rightrm
- glue11.Name = "Right shoulder"
- local collider11 = Instance.new("Part", rightrm)
- collider11.Position = Vector3.new(0,9999,0)
- collider11.Size = Vector3.new(1.8,1,1)
- collider11.Shape = "Cylinder"
- local weld11 = Instance.new("Weld", collider11)
- weld11.Part0 = rightrm
- weld11.Part1 = collider11
- weld11.C0 = CFrame.Angles(0, 0, 80)
- collider11.TopSurface = "Smooth"
- collider11.BottomSurface = "Smooth"
- collider11.formFactor = "Symmetric"
- glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- collider11.Transparency = 1
- end
- ------------
- if leftarm ~= nil then
- local glue111 = Instance.new("Glue", clone.Torso)
- glue111.Part0 = clone.Torso
- glue111.Part1 = leftarm
- glue111.Name = "Left shoulder"
- local collider111 = Instance.new("Part", leftarm)
- collider111.Position = Vector3.new(0,9999,0)
- collider111.Size = Vector3.new(1.8,1,1)
- collider111.Shape = "Cylinder"
- local weld111 = Instance.new("Weld", collider111)
- weld111.Part0 = leftarm
- weld111.Part1 = collider111
- weld111.C0 = CFrame.Angles(0, 0, 80)
- collider111.TopSurface = "Smooth"
- collider111.BottomSurface = "Smooth"
- collider111.formFactor = "Symmetric"
- glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- collider111.Transparency = 1
- ----------------
- sensoring = Instance.new("Part", clone.Torso)
- sensoring.Size = Vector3.new(1.2,1.1,0.8)
- sensoring.CanCollide = false
- sensoring.Position = clone.Torso.Position
- local welder = Instance.new("Weld", sensoring)
- welder.Part0 = clone.Torso
- welder.Part1 = sensoring
- welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
- sensoring.Transparency = 1
- -----------------
- sensoring1 = Instance.new("Part", clone.Torso)
- sensoring1.Size = Vector3.new(1.2,1.1,0.8)
- sensoring1.CanCollide = false
- sensoring1.Position = clone.Torso.Position
- local welder1 = Instance.new("Weld", sensoring)
- welder1.Part0 = clone.Torso
- welder1.Part1 = sensoring1
- welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
- sensoring1.Transparency = 1
- end
- clone.Name = game.Players.LocalPlayer.Character.Name.." (Ded ・ω・ )"
- ded:Play()
- vel:destroy()
- wait(0.5)
- local function touch()
- if not using then
- using = true
- local Math = math.random(1,4)
- if Math == 1 then
- hit:Play()
- end
- if Math == 2 then
- hit1:Play()
- end
- if Math == 3 then
- hit2:Play()
- end
- if Math == 4 then
- hit3:Play()
- end
- wait(0.1)
- using = false
- end
- end
- sensoring.Touched:connect(touch)
- sensoring1.Touched:connect(touch)
- wait(4.47)
- hit1.Volume = 0
- hit2.Volume = 0
- hit3.Volume = 0
- hit.Volume = 0
- end
- game.Players.LocalPlayer.Character.Humanoid.Died:connect(ragdoll)
- --di ent
- if Down == true then
- Mpc.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, -0.642787576, 0.766044378, 0, 0.766044378, 0.642787576)
- Torso.C0 = CFrame.new(0, -0.565685511, 0.565685451, -1, 0, 0, 0, 0.819151998, 0.57357645, 0, 0.57357645, -0.819151998)
- Ra.C0 = CFrame.new(1, 0.5, 0, -0.640856445, 0.298836261, 0.70710665, 0.422618181, 0.906307697, 0, -0.640856206, 0.298836142, -0.707106829)
- La.C0 = CFrame.new(-1, 0.5, 0, -0.640856266, -0.298836112, -0.707106829, -0.42261821, 0.906307638, 1.1920929e-007, 0.640856326, 0.298836291, -0.70710665)
- Rl.C0 = CFrame.new(1, -1.00000024, -7.15255737e-007, 0, -0.173648179, 0.98480773, 0.906307578, 0.416197598, 0.0733868778, -0.422618181, 0.892538607, 0.157378644)
- Ll.C0 = CFrame.new(-1, -1.00000012, -4.76837158e-007, 0, 0.173648179, -0.98480773, -0.906307578, 0.416197598, 0.0733868778, 0.422618181, 0.892538607, 0.157378644)
- Down = false
- else
- Torso.C0 = CFrame.new(0, -0.680400848, 0.729515791, -1, 0, 0, 0, 0.906307518, 0.422618628, 0, 0.422618628, -0.906307518)
- Rl.C0 = CFrame.new(0.906030774, -1.00885236, -0.0330374241, 1.72189232e-007, -0.342020363, 0.939692497, 0.965925455, 0.243210346, 0.0885212049, -0.258818984, 0.907672882, 0.330366194)
- Ll.C0 = CFrame.new(-0.906030774, -1.00885236, -0.0330374241, 0, 0.342020094, -0.939692497, -0.965925455, 0.243210256, 0.088521257, 0.258819014, 0.907672822, 0.330365896)
- Down = true
- end
- wait(0.125)
- for g,p in pairs(game:GetService("Players"):GetPlayers()) do
- if p.Name ~= "Twitdoof" then
- ypcall(function()
- if (Mpc.Torso.Position - p.Character.Torso.Position).magnitude <= 41 then
- p.Character.Torso["Right Shoulder"].C0 = CFrame.new(-1, 0.5)
- p.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1, 0.5)
- end
- end)
- end
- end
- wait(0.125)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement