kingsans

sum shit

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