SHOW:
|
|
- or go back to the newest paste.
| 1 | --Left Click to kill yourself | |
| 2 | ||
| 3 | local player = game.Players.LocalPlayer | |
| 4 | repeat wait() until player.Character.Humanoid | |
| 5 | local humanoid = player.Character.Humanoid | |
| 6 | local mouse = player:GetMouse() | |
| 7 | --game.Players.LocalPlayer.Character.Shirt.ShirtTemplate='rbxassetid://473465498' | |
| 8 | local player=game.Players.LocalPlayer; | |
| 9 | local char=game.Players.LocalPlayer.Character; | |
| 10 | local humanoid = player.Character.Humanoid; | |
| 11 | Tool=Instance.new('Tool', game.Players.LocalPlayer.Backpack);
| |
| 12 | Tool.GripRight=Vector3.new(-0.816, 0, 0.577); | |
| 13 | Tool.GripUp=Vector3.new(-0.027, 0.996, -0.089); | |
| 14 | Tool.GripPos=Vector3.new(-0.3, -0.4, 0.4); | |
| 15 | Tool.GripForward=Vector3.new(-1, 0, -0); --0.485, 0.14, -0.863 | |
| 16 | Tool.Name='kys'; | |
| 17 | Handle=Instance.new('Part', Tool);
| |
| 18 | Handle.Name = 'Handle'; | |
| 19 | Handle.BrickColor=BrickColor.new('Really black')
| |
| 20 | Handle.Size=Vector3.new(0.26, 1.11, 4.85); | |
| 21 | Handle.Position=Vector3.new(-18.53, 0.555, -16.825) | |
| 22 | gunfire=Instance.new('Part', Tool)
| |
| 23 | gunfire.Name='GunFire' | |
| 24 | gunfire.Size=Vector3.new(0.2, 0.2, 0.2) | |
| 25 | gunfire.Transparency=1 | |
| 26 | gunfire.Position=Vector3.new(-18.56, 1.1, -19.35) | |
| 27 | gunfirefx=Instance.new('BillboardGui', gunfire)
| |
| 28 | gunfirefx.Enabled=false | |
| 29 | gunfirefx.Adornee = gunfire | |
| 30 | gunfirefx.Size=UDim2.new(1.1, 0, 1.1, 0) | |
| 31 | gunfirefx2=Instance.new('ImageLabel', gunfirefx)
| |
| 32 | gunfirefx2.Image='http://www.roblox.com/asset/?id=117472237' | |
| 33 | gunfirefx2.BackgroundTransparency=1 | |
| 34 | gunfirefx2.Size=UDim2.new(1.2, 0, 1.2, 0) | |
| 35 | ||
| 36 | shootsound=Instance.new('Sound', char.Torso)
| |
| 37 | shootsound.Volume=8 | |
| 38 | shootsound.SoundId='rbxassetid://230622620' | |
| 39 | c4mesh=Instance.new('SpecialMesh', Handle);
| |
| 40 | c4mesh.MeshType = 'FileMesh'; | |
| 41 | c4mesh.MeshId='http://www.roblox.com/asset/?id=95356090'; | |
| 42 | c4mesh.TextureId='http://www.roblox.com/asset/?id=95387789'; | |
| 43 | c4mesh.Scale=Vector3.new(1.8, 1.8, 1.8); | |
| 44 | ||
| 45 | local anim5 = Instance.new("Animation", player.Character)
| |
| 46 | anim5.AnimationId = "http://www.roblox.com/asset/?id=95383474" | |
| 47 | local playAnim10 = humanoid:LoadAnimation(anim5) | |
| 48 | ||
| 49 | Tool.GripRight=Vector3.new(-0.816, 0, 0.577) | |
| 50 | ||
| 51 | function equipped() | |
| 52 | wait() | |
| 53 | playAnim10:Play() | |
| 54 | end | |
| 55 | ||
| 56 | function unequipped() | |
| 57 | wait() | |
| 58 | playAnim10:Stop() | |
| 59 | end | |
| 60 | ||
| 61 | Tool.Equipped:connect(equipped) | |
| 62 | Tool.Unequipped:connect(unequipped) | |
| 63 | ||
| 64 | light=Instance.new('PointLight', Handle);
| |
| 65 | light.Color = Color3.new(255, 255, 0) | |
| 66 | light.Range=10; | |
| 67 | light.Enabled=false; | |
| 68 | ||
| 69 | ||
| 70 | function Shoot() | |
| 71 | shootsound:Play() | |
| 72 | light.Enabled=true | |
| 73 | wait(0.1) | |
| 74 | light.Enabled=false | |
| 75 | player.Character.Humanoid.Health=0 | |
| 76 | wait() | |
| 77 | Tool:Destroy() | |
| 78 | end | |
| 79 | Tool.Activated:connect(Shoot) | |
| 80 | ||
| 81 | --ragdoll | |
| 82 | ||
| 83 | print("Loaded.")
| |
| 84 | --You don't need to edit this! | |
| 85 | ||
| 86 | Character = player.Character | |
| 87 | Humanoid = Character.Humanoid | |
| 88 | Torso = Character.Torso | |
| 89 | mode = Instance.new("Model")
| |
| 90 | mode.Name = "" | |
| 91 | mode.Parent = game.Workspace | |
| 92 | ||
| 93 | function OnDeath() | |
| 94 | ||
| 95 | print("Death")
| |
| 96 | wait(0.00000001) | |
| 97 | Humanoid.Parent = nil | |
| 98 | if Torso then | |
| 99 | zam=Torso:Clone() | |
| 100 | zam.Parent=mode | |
| 101 | x=Character:GetChildren() | |
| 102 | for i=1,#x do | |
| 103 | if ((x[i].Name=="Shirt") or (x[i].Name=="Pants")) then | |
| 104 | local zor=x[i]:Clone() | |
| 105 | zor.Parent=mode | |
| 106 | end | |
| 107 | if x[i].Name=="Head" then | |
| 108 | local zem=x[i]:Clone() | |
| 109 | zem.Parent=mode --Made by MatrixComplexity | |
| 110 | local Neck = Instance.new("Weld")
| |
| 111 | Neck.Name = "Neck" | |
| 112 | Neck.Part0 = zam | |
| 113 | Neck.Part1 = zem | |
| 114 | Neck.C0 = CFrame.new(0, 1.5, 0) | |
| 115 | Neck.C1 = CFrame.new() | |
| 116 | Neck.Parent = zam | |
| 117 | end | |
| 118 | if x[i].Name=="Right Arm" then | |
| 119 | local Limb=x[i]:Clone() | |
| 120 | Limb.Parent=mode | |
| 121 | Limb.CFrame = zam.CFrame * CFrame.new(1.5, 0, 0) | |
| 122 | local Joint = Instance.new("Glue")
| |
| 123 | Joint.Name = "RightShoulder" | |
| 124 | Joint.Part0 = zam | |
| 125 | Joint.Part1 = Limb | |
| 126 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 127 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 128 | Joint.Parent = zam | |
| 129 | ||
| 130 | local B = Instance.new("Part")
| |
| 131 | B.TopSurface = 0 | |
| 132 | B.BottomSurface = 0 | |
| 133 | B.formFactor = "Symmetric" | |
| 134 | B.Size = Vector3.new(1, 1, 1) | |
| 135 | B.Transparency = 1 | |
| 136 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 137 | B.Parent = mode | |
| 138 | local W = Instance.new("Weld")
| |
| 139 | W.Part0 = Limb | |
| 140 | W.Part1 = B | |
| 141 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 142 | W.Parent = Limb | |
| 143 | ||
| 144 | end | |
| 145 | if x[i].Name=="Left Arm" then | |
| 146 | local Limb=x[i]:Clone() | |
| 147 | Limb.Parent=mode | |
| 148 | ||
| 149 | Limb.CFrame = zam.CFrame * CFrame.new(-1.5, 0, 0) | |
| 150 | local Joint = Instance.new("Glue")
| |
| 151 | Joint.Name = "LeftShoulder" | |
| 152 | Joint.Part0 = zam | |
| 153 | Joint.Part1 = Limb | |
| 154 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 155 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 156 | Joint.Parent = zam | |
| 157 | ||
| 158 | local B = Instance.new("Part")
| |
| 159 | B.TopSurface = 0 | |
| 160 | B.BottomSurface = 0 | |
| 161 | B.formFactor = "Symmetric" | |
| 162 | B.Size = Vector3.new(1, 1, 1) | |
| 163 | B.Transparency = 1 | |
| 164 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 165 | B.Parent = mode | |
| 166 | local W = Instance.new("Weld")
| |
| 167 | W.Part0 = Limb | |
| 168 | W.Part1 = B | |
| 169 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 170 | W.Parent = Limb | |
| 171 | ||
| 172 | end | |
| 173 | if x[i].Name=="Right Leg" then | |
| 174 | local Limb=x[i]:Clone() | |
| 175 | Limb.Parent=mode | |
| 176 | ||
| 177 | Limb.CFrame = zam.CFrame * CFrame.new(0.5, -2, 0) | |
| 178 | local Joint = Instance.new("Glue")
| |
| 179 | Joint.Name = "RightHip" | |
| 180 | Joint.Part0 = zam | |
| 181 | Joint.Part1 = Limb | |
| 182 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 183 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 184 | Joint.Parent = zam | |
| 185 | ||
| 186 | local B = Instance.new("Part")
| |
| 187 | B.TopSurface = 0 | |
| 188 | B.BottomSurface = 0 | |
| 189 | B.formFactor = "Symmetric" | |
| 190 | B.Size = Vector3.new(1, 1, 1) | |
| 191 | B.Transparency = 1 | |
| 192 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 193 | B.Parent = mode | |
| 194 | local W = Instance.new("Weld")
| |
| 195 | W.Part0 = Limb | |
| 196 | W.Part1 = B | |
| 197 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 198 | W.Parent = Limb | |
| 199 | ||
| 200 | end | |
| 201 | if x[i].Name=="Left Leg" then | |
| 202 | local Limb=x[i]:Clone() | |
| 203 | Limb.Parent=mode | |
| 204 | ||
| 205 | Limb.CFrame = zam.CFrame * CFrame.new(-0.5, -2, 0) | |
| 206 | local Joint = Instance.new("Glue")
| |
| 207 | Joint.Name = "LeftHip" | |
| 208 | Joint.Part0 = zam | |
| 209 | Joint.Part1 = Limb | |
| 210 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 211 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 212 | Joint.Parent = zam | |
| 213 | ||
| 214 | local B = Instance.new("Part")
| |
| 215 | B.TopSurface = 0 | |
| 216 | B.BottomSurface = 0 | |
| 217 | B.formFactor = "Symmetric" | |
| 218 | B.Size = Vector3.new(1, 1, 1) | |
| 219 | B.Transparency = 1 | |
| 220 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 221 | B.Parent = mode | |
| 222 | local W = Instance.new("Weld")
| |
| 223 | W.Part0 = Limb | |
| 224 | W.Part1 = B | |
| 225 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 226 | W.Parent = Limb | |
| 227 | ||
| 228 | end | |
| 229 | bland=Instance.new("Humanoid")
| |
| 230 | bland.Health = 0 | |
| 231 | bland.MaxHealth = 0 | |
| 232 | bland.Parent=mode | |
| 233 | if ((x[i].Name=="Shirt") or (x[i].Name=="Pants")) then | |
| 234 | local zor=x[i]:Clone() | |
| 235 | zor.Parent=mode | |
| 236 | end | |
| 237 | --[ | |
| 238 | if (x[i].ClassName=="CharacterMesh") then | |
| 239 | local zor=x[i]:Clone() | |
| 240 | zor.Parent=mode | |
| 241 | end | |
| 242 | if (x[i].ClassName=="Hat") then | |
| 243 | local zor=x[i]:Clone() | |
| 244 | zor.Parent=mode | |
| 245 | end | |
| 246 | local cam = Instance.new("Camera")
| |
| 247 | cam.Parent = game.Players:FindFirstChild(Character.Name) | |
| 248 | cam.CameraSubject = mode.Humanoid | |
| 249 | local Bar = Instance.new("Part")
| |
| 250 | Bar.TopSurface = 0 | |
| 251 | Bar.BottomSurface = 0 | |
| 252 | Bar.formFactor = "Symmetric" | |
| 253 | Bar.Size = Vector3.new(1, 1, 1) | |
| 254 | Bar.Transparency = 1 | |
| 255 | Bar.CFrame = zam.CFrame * CFrame.new(0, 0.5, 0) | |
| 256 | Bar.Parent = mode | |
| 257 | local Weld = Instance.new("Weld")
| |
| 258 | Weld.Part0 = zam | |
| 259 | Weld.Part1 = Bar | |
| 260 | Weld.C0 = CFrame.new(0, 0.5, 0) | |
| 261 | Weld.Parent = zam | |
| 262 | --]] | |
| 263 | end | |
| 264 | end | |
| 265 | wait() | |
| 266 | Character:Remove() | |
| 267 | wait(6) | |
| 268 | mode:Destroy() | |
| 269 | end | |
| 270 | ||
| 271 | Humanoid.Died:connect(OnDeath) |