Advertisement
Migas3456

Untitled

Jun 21st, 2018
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.23 KB | None | 0 0
  1. --By Rufus14
  2. --ears: 391268255
  3. --bamalam: 720451528
  4. --columb: 1202637744
  5. music = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  6. music.Volume = 10
  7. music.SoundId = "rbxassetid://1202637744"
  8. music.Looped = true
  9. music:Play()
  10. mouse = game.Players.LocalPlayer:GetMouse()
  11. gun = Instance.new("Part", game.Players.LocalPlayer.Character)
  12. gun:BreakJoints()
  13. gun.CanCollide = false
  14. gun.Name = "Shotgun"
  15. mesh = Instance.new("SpecialMesh", gun)
  16. mesh.MeshId = "rbxassetid://477037714"
  17. mesh.TextureId = "rbxassetid://477037796"
  18. mesh.Scale = Vector3.new(0.03,0.03,0.03)
  19. weld = Instance.new("Weld", gun)
  20. weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  21. weld.Part1 = gun
  22. weld.C0 = weld.C0 * CFrame.Angles(-1.5,0,0) * CFrame.new(0,0,-2.5)
  23. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  24. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  25. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  26. rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  27. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  28. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  29. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  30. lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  31. shot = Instance.new("Sound", gun)
  32. shot.Volume = 10
  33. shot.SoundId = "rbxassetid://185044507"
  34. pump = Instance.new("Sound", gun)
  35. pump.Volume = 10
  36. pump.SoundId = "rbxassetid://255061173"
  37. pump.PlaybackSpeed = 0.7
  38. function owtheedge()
  39. workspace.CurrentCamera.FieldOfView = 70 + music.PlaybackLoudness / 80
  40. end
  41. game:GetService("RunService").RenderStepped:connect(owtheedge)
  42. for i = 0,0.7 , 0.01 do
  43. weld.C0 = weld.C0:lerp(CFrame.new(-0.342021942, -1.88848877, -0.088739872, 0.978147507, -0.0289359875, -0.205888897, 0.204753578, -0.0378959738, 0.978079677, -0.0361040607, -0.998862624, -0.0311431047),i)
  44. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.917564392, 0.399175882, -0.578536987, 0.978147507, 0.204753578, -0.0361040607, -0.0289359875, -0.0378959738, -0.998862624, -0.205888897, 0.978079677, -0.0311431047),i)
  45. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.472423553, 0.409558296, -1.4746933, 0.939692736, -0.342019886, -2.0985492e-06, 0.0238559935, 0.0655499771, -0.997564137, 0.341186911, 0.937403619, 0.0697560608),i)
  46. game:GetService("RunService").RenderStepped:wait()
  47. end
  48. using = false
  49. ammo = 5
  50. function shoot()
  51. if not using then
  52. using = true
  53. shot:Play()
  54. for i = 1,5 do
  55. local missle = Instance.new("Part", workspace)
  56. missle:BreakJoints()
  57. missle.Name = "bullet"
  58. missle.CanCollide = false
  59. missle.Material = "Neon"
  60. missle.Size = Vector3.new(0.1,0.1,0.1)
  61. missle.CFrame = gun.CFrame * CFrame.new(0,0,2)
  62. missle.Transparency = 1
  63. local vel = Instance.new("BodyVelocity", missle)
  64. vel.Velocity = mouse.Hit.lookVector * math.random(500,500) + Vector3.new(math.random(-50,50),math.random(-50,50),0)
  65. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  66. local function hit(part)
  67. local hitval = math.random(25,40)
  68. local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
  69. if humanoid then
  70. if humanoid.Health == math.huge or humanoid.Health >= 600 then
  71. humanoid.Health = 100
  72. end
  73. if humanoid.MaxHealth == math.huge or humanoid.MaxHealth >= 600 then
  74. humanoid.MaxHealth = 100
  75. end
  76. if humanoid.Parent.Name == game.Players.LocalPlayer.Name then
  77.  
  78. else
  79. if humanoid.Health < hitval then
  80. humanoid.JumpPower = 0
  81. humanoid.PlatformStand = true
  82. humanoid.WalkSpeed = 0
  83. local findlefthip = humanoid.Parent.Torso:findFirstChild("Left Hip")
  84. if findlefthip then
  85. findlefthip:Remove()
  86. local glue = Instance.new("Glue", humanoid.Parent.Torso)
  87. glue.Part0 = humanoid.Parent.Torso
  88. glue.Part1 = humanoid.Parent["Left Leg"]
  89. glue.Name = "Left leg"
  90. local collider = Instance.new("Part", humanoid.Parent["Left Leg"])
  91. collider.Position = Vector3.new(0,999,0)
  92. collider.Size = Vector3.new(1.5, 1, 1)
  93. collider.Shape = "Cylinder"
  94. local weld = Instance.new("Weld", collider)
  95. weld.Part0 = humanoid.Parent["Left Leg"]
  96. weld.Part1 = collider
  97. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  98. collider.TopSurface = "Smooth"
  99. collider.BottomSurface = "Smooth"
  100. collider.formFactor = "Symmetric"
  101. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  102. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  103. collider.Transparency = 1
  104. end
  105. --
  106. local findrighthip = humanoid.Parent.Torso:findFirstChild("Right Hip")
  107. if findrighthip then
  108. findrighthip:Remove()
  109. local glue = Instance.new("Glue", humanoid.Parent.Torso)
  110. glue.Part0 = humanoid.Parent.Torso
  111. glue.Part1 = humanoid.Parent["Right Leg"]
  112. glue.Name = "Right leg"
  113. local collider = Instance.new("Part", humanoid.Parent["Right Leg"])
  114. collider.Position = Vector3.new(0,999,0)
  115. collider.Size = Vector3.new(1.5, 1, 1)
  116. collider.Shape = "Cylinder"
  117. local weld = Instance.new("Weld", collider)
  118. weld.Part0 = humanoid.Parent["Right Leg"]
  119. weld.Part1 = collider
  120. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  121. collider.TopSurface = "Smooth"
  122. collider.BottomSurface = "Smooth"
  123. collider.formFactor = "Symmetric"
  124. glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  125. glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  126. collider.Transparency = 1
  127. end
  128. --
  129. local findrightshoulder = humanoid.Parent.Torso:findFirstChild("Right Shoulder")
  130. if findrightshoulder then
  131. findrightshoulder:Remove()
  132. local glue = Instance.new("Glue", humanoid.Parent.Torso)
  133. glue.Part0 = humanoid.Parent.Torso
  134. glue.Part1 = humanoid.Parent["Right Arm"]
  135. glue.Name = "Right arm"
  136. local collider = Instance.new("Part", humanoid.Parent["Right Arm"])
  137. collider.Position = Vector3.new(0,999,0)
  138. collider.Size = Vector3.new(1.5, 1, 1)
  139. collider.Shape = "Cylinder"
  140. local weld = Instance.new("Weld", collider)
  141. weld.Part0 = humanoid.Parent["Right Arm"]
  142. weld.Part1 = collider
  143. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  144. collider.TopSurface = "Smooth"
  145. collider.BottomSurface = "Smooth"
  146. collider.formFactor = "Symmetric"
  147. glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  148. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  149. collider.Transparency = 1
  150. end
  151. --
  152. local findleftshoulder = humanoid.Parent.Torso:findFirstChild("Left Shoulder")
  153. if findleftshoulder then
  154. findleftshoulder:Remove()
  155. local glue = Instance.new("Glue", humanoid.Parent.Torso)
  156. glue.Part0 = humanoid.Parent.Torso
  157. glue.Part1 = humanoid.Parent["Left Arm"]
  158. glue.Name = "Left arm"
  159. local collider = Instance.new("Part", humanoid.Parent["Left Arm"])
  160. collider.Position = Vector3.new(0,999,0)
  161. collider.Size = Vector3.new(1.5, 1, 1)
  162. collider.Shape = "Cylinder"
  163. local weld = Instance.new("Weld", collider)
  164. weld.Part0 = humanoid.Parent["Left Arm"]
  165. weld.Part1 = collider
  166. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  167. collider.TopSurface = "Smooth"
  168. collider.BottomSurface = "Smooth"
  169. collider.formFactor = "Symmetric"
  170. glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  171. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  172. collider.Transparency = 1
  173. end
  174. local findhead = humanoid.Parent:findFirstChild("Head")
  175. if findhead then
  176. local attachment = Instance.new("Attachment", humanoid.Parent.Head)
  177. attachment.Position = Vector3.new(0, -0.5, 0)
  178. attachment.Name = "lol"
  179. attachment.Visible = false
  180. humanoid.Parent.Torso.NeckAttachment.Visible = false
  181. humanoid.Parent.Torso.NeckAttachment.Position = humanoid.Parent.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  182. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  183. ball.Attachment0 = humanoid.Parent.Torso.NeckAttachment
  184. ball.Attachment1 = attachment
  185. ball.LimitsEnabled = true
  186. ball.TwistLimitsEnabled = true
  187. ball.UpperAngle = 90
  188. ball.Restitution = 0.5
  189. ball.TwistUpperAngle = 90
  190. ball.TwistLowerAngle = -90
  191. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  192. collidepartofleftleg.Name = "Bone"
  193. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  194. collidepartofleftleg.Transparency = 1
  195. collidepartofleftleg:BreakJoints()
  196. local weeld = Instance.new("Weld", collidepartofleftleg)
  197. weeld.Part0 = collidepartofleftleg
  198. weeld.Part1 = humanoid.Parent["Head"]
  199. if humanoid.Parent.Torso:findFirstChild("Neck") then
  200. humanoid.Parent.Torso.Neck:destroy()
  201. end
  202. end
  203. wait(10)
  204. humanoid.Health = 0
  205. else
  206. humanoid.Health = humanoid.Health - hitval
  207. end
  208. end
  209. else
  210. if part.Name == "Shotgun" or "bullet" then
  211.  
  212. else
  213. missle:destroy()
  214. end
  215. end
  216. end
  217. missle.Touched:connect(hit)
  218. end
  219. for i = 0,1 , 0.07 do
  220. weld.C0 = weld.C0:lerp(CFrame.new(-0.342021942, -1.88848877, -0.088739872, 0.978147507, -0.0289359875, -0.205888897, 0.204753578, -0.0378959738, 0.978079677, -0.0361040607, -0.998862624, -0.0311431047),i)
  221. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.917564392, 0.491810799, -0.168943405, 0.978147507, 0.204753578, -0.0361040607, 0.0289353225, -0.306021929, -0.951584637, -0.205889001, 0.929745436, -0.305259228),i)
  222. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.472423553, 0.748803854, -1.02752113, 0.939693093, -0.342019022, -2.66768012e-07, -0.0711100101, -0.195373133, -0.978147566, 0.334545016, 0.919158578, -0.207911715),i)
  223. game:GetService("RunService").RenderStepped:wait()
  224. end
  225. for i = 0,1 , 0.05 do
  226. weld.C0 = weld.C0:lerp(CFrame.new(-0.342021942, -1.88848877, -0.088739872, 0.978147507, -0.0289359875, -0.205888897, 0.204753578, -0.0378959738, 0.978079677, -0.0361040607, -0.998862624, -0.0311431047),i)
  227. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.917564392, 0.491810799, -0.168943405, 0.978147507, 0.204753578, -0.0361040607, 0.0289353225, -0.306021929, -0.951584637, -0.205889001, 0.929745436, -0.305259228),i)
  228. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.201648712, 0.903478384, -1.75520706, 0.939693093, -0.342019022, -2.66768012e-07, -0.0711100101, -0.195373133, -0.978147566, 0.334545016, 0.919158578, -0.207911715),i)
  229. game:GetService("RunService").RenderStepped:wait()
  230. end
  231. pump:Play()
  232. for i = 0,1 , 0.05 do
  233. weld.C0 = weld.C0:lerp(CFrame.new(-0.342021942, -1.88848877, -0.088739872, 0.978147507, -0.0289359875, -0.205888897, 0.204753578, -0.0378959738, 0.978079677, -0.0361040607, -0.998862624, -0.0311431047),i)
  234. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.917564392, 0.491810799, -0.168943405, 0.978147507, 0.204753578, -0.0361040607, 0.0289353225, -0.306021929, -0.951584637, -0.205889001, 0.929745436, -0.305259228),i)
  235. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.44393158, 0.765078783, -1.10408783, 0.939693093, -0.342019022, -2.66768012e-07, -0.0711100101, -0.195373133, -0.978147566, 0.334545016, 0.919158578, -0.207911715),i)
  236. game:GetService("RunService").RenderStepped:wait()
  237. end
  238. for i = 0,1 , 0.05 do
  239. weld.C0 = weld.C0:lerp(CFrame.new(-0.342021942, -1.88848877, -0.088739872, 0.978147507, -0.0289359875, -0.205888897, 0.204753578, -0.0378959738, 0.978079677, -0.0361040607, -0.998862624, -0.0311431047),i)
  240. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.917564392, 0.491810799, -0.168943405, 0.978147507, 0.204753578, -0.0361040607, 0.0289353225, -0.306021929, -0.951584637, -0.205889001, 0.929745436, -0.305259228),i)
  241. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.201648712, 0.903478384, -1.75520706, 0.939693093, -0.342019022, -2.66768012e-07, -0.0711100101, -0.195373133, -0.978147566, 0.334545016, 0.919158578, -0.207911715),i)
  242. game:GetService("RunService").RenderStepped:wait()
  243. end
  244. for i = 0,0.7 , 0.04 do
  245. weld.C0 = weld.C0:lerp(CFrame.new(-0.342021942, -1.88848877, -0.088739872, 0.978147507, -0.0289359875, -0.205888897, 0.204753578, -0.0378959738, 0.978079677, -0.0361040607, -0.998862624, -0.0311431047),i)
  246. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.917564392, 0.399175882, -0.578536987, 0.978147507, 0.204753578, -0.0361040607, -0.0289359875, -0.0378959738, -0.998862624, -0.205888897, 0.978079677, -0.0311431047),i)
  247. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.472423553, 0.409558296, -1.4746933, 0.939692736, -0.342019886, -2.0985492e-06, 0.0238559935, 0.0655499771, -0.997564137, 0.341186911, 0.937403619, 0.0697560608),i)
  248. game:GetService("RunService").RenderStepped:wait()
  249. end
  250. using = false
  251. end
  252. end
  253. mouse.Button1Down:connect(shoot)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement