Advertisement
memberhero

Untitled

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