Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Left Click to kill yourself
- local player = owner
- repeat wait() until player.Character.Humanoid
- local humanoid = player.Character.Humanoid
- local mouse = player:GetMouse()
- --game.Players.LocalPlayer.Character.Shirt.ShirtTemplate='rbxassetid://473465498'
- local player=game.Players.LocalPlayer;
- local char=game.Players.LocalPlayer.Character;
- local humanoid = player.Character.Humanoid;
- Tool=Instance.new('Tool', game.Players.LocalPlayer.Backpack);
- Tool.GripRight=Vector3.new(-0.816, 0, 0.577);
- Tool.GripUp=Vector3.new(-0.027, 0.996, -0.089);
- Tool.GripPos=Vector3.new(-0.3, -0.4, 0.4);
- Tool.GripForward=Vector3.new(-1, 0, -0); --0.485, 0.14, -0.863
- Tool.Name='kys';
- Handle=Instance.new('Part', Tool);
- Handle.Name = 'Handle';
- Handle.BrickColor=BrickColor.new('Really black')
- Handle.Size=Vector3.new(0.26, 1.11, 4.85);
- Handle.Position=Vector3.new(-18.53, 0.555, -16.825)
- gunfire=Instance.new('Part', Tool)
- gunfire.Name='GunFire'
- gunfire.Size=Vector3.new(0.2, 0.2, 0.2)
- gunfire.Transparency=1
- gunfire.Position=Vector3.new(-18.56, 1.1, -19.35)
- gunfirefx=Instance.new('BillboardGui', gunfire)
- gunfirefx.Enabled=false
- gunfirefx.Adornee = gunfire
- gunfirefx.Size=UDim2.new(1.1, 0, 1.1, 0)
- gunfirefx2=Instance.new('ImageLabel', gunfirefx)
- gunfirefx2.Image='http://www.roblox.com/asset/?id=117472237'
- gunfirefx2.BackgroundTransparency=1
- gunfirefx2.Size=UDim2.new(1.2, 0, 1.2, 0)
- shootsound=Instance.new('Sound', char.Torso)
- shootsound.Volume=8
- shootsound.SoundId='rbxassetid://230622620'
- c4mesh=Instance.new('SpecialMesh', Handle);
- c4mesh.MeshType = 'FileMesh';
- c4mesh.MeshId='http://www.roblox.com/asset/?id=95356090';
- c4mesh.TextureId='http://www.roblox.com/asset/?id=95387789';
- c4mesh.Scale=Vector3.new(1.8, 1.8, 1.8);
- local anim5 = Instance.new("Animation", player.Character)
- anim5.AnimationId = "http://www.roblox.com/asset/?id=95383474"
- local playAnim10 = humanoid:LoadAnimation(anim5)
- Tool.GripRight=Vector3.new(-0.816, 0, 0.577)
- function equipped()
- wait()
- playAnim10:Play()
- end
- function unequipped()
- wait()
- playAnim10:Stop()
- end
- Tool.Equipped:connect(equipped)
- Tool.Unequipped:connect(unequipped)
- light=Instance.new('PointLight', Handle);
- light.Color = Color3.new(255, 255, 0)
- light.Range=10;
- light.Enabled=false;
- function Shoot()
- shootsound:Play()
- light.Enabled=true
- wait(0.1)
- light.Enabled=false
- player.Character.Humanoid.Health=0
- wait()
- Tool:Destroy()
- end
- Tool.Activated:connect(Shoot)
- --ragdoll
- print("Loaded.")
- --You don't need to edit this!
- Character = player.Character
- Humanoid = Character.Humanoid
- Torso = Character.Torso
- mode = Instance.new("Model")
- mode.Name = ""
- mode.Parent = game.Workspace
- function OnDeath()
- print("Death")
- wait(0.00000001)
- Humanoid.Parent = nil
- if Torso then
- zam=Torso:Clone()
- zam.Parent=mode
- x=Character:GetChildren()
- for i=1,#x do
- if ((x[i].Name=="Shirt") or (x[i].Name=="Pants")) then
- local zor=x[i]:Clone()
- zor.Parent=mode
- end
- if x[i].Name=="Head" then
- local zem=x[i]:Clone()
- zem.Parent=mode --Made by MatrixComplexity
- local Neck = Instance.new("Weld")
- Neck.Name = "Neck"
- Neck.Part0 = zam
- Neck.Part1 = zem
- Neck.C0 = CFrame.new(0, 1.5, 0)
- Neck.C1 = CFrame.new()
- Neck.Parent = zam
- end
- if x[i].Name=="Right Arm" then
- local Limb=x[i]:Clone()
- Limb.Parent=mode
- Limb.CFrame = zam.CFrame * CFrame.new(1.5, 0, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "RightShoulder"
- Joint.Part0 = zam
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.Parent = zam
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = mode
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- if x[i].Name=="Left Arm" then
- local Limb=x[i]:Clone()
- Limb.Parent=mode
- Limb.CFrame = zam.CFrame * CFrame.new(-1.5, 0, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "LeftShoulder"
- Joint.Part0 = zam
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.Parent = zam
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = mode
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- if x[i].Name=="Right Leg" then
- local Limb=x[i]:Clone()
- Limb.Parent=mode
- Limb.CFrame = zam.CFrame * CFrame.new(0.5, -2, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "RightHip"
- Joint.Part0 = zam
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.Parent = zam
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = mode
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- if x[i].Name=="Left Leg" then
- local Limb=x[i]:Clone()
- Limb.Parent=mode
- Limb.CFrame = zam.CFrame * CFrame.new(-0.5, -2, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "LeftHip"
- Joint.Part0 = zam
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.Parent = zam
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = mode
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- bland=Instance.new("Humanoid")
- bland.Health = 0
- bland.MaxHealth = 0
- bland.Parent=mode
- if ((x[i].Name=="Shirt") or (x[i].Name=="Pants")) then
- local zor=x[i]:Clone()
- zor.Parent=mode
- end
- --[
- if (x[i].ClassName=="CharacterMesh") then
- local zor=x[i]:Clone()
- zor.Parent=mode
- end
- if (x[i].ClassName=="Hat") then
- local zor=x[i]:Clone()
- zor.Parent=mode
- end
- local cam = Instance.new("Camera")
- cam.Parent = game.Players:FindFirstChild(Character.Name)
- cam.CameraSubject = mode.Humanoid
- local Bar = Instance.new("Part")
- Bar.TopSurface = 0
- Bar.BottomSurface = 0
- Bar.formFactor = "Symmetric"
- Bar.Size = Vector3.new(1, 1, 1)
- Bar.Transparency = 1
- Bar.CFrame = zam.CFrame * CFrame.new(0, 0.5, 0)
- Bar.Parent = mode
- local Weld = Instance.new("Weld")
- Weld.Part0 = zam
- Weld.Part1 = Bar
- Weld.C0 = CFrame.new(0, 0.5, 0)
- Weld.Parent = zam
- --]]
- end
- end
- wait()
- Character:Remove()
- wait(6)
- mode:Destroy()
- end
- Humanoid.Died:connect(OnDeath)
Add Comment
Please, Sign In to add comment