WinslowMau

Untitled

Apr 24th, 2017
366
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.54 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local character = player.Character
  3. Player = game:GetService("Players").LocalPlayer
  4. Cha = Player.Character
  5. mouse = game.Players.LocalPlayer:GetMouse()
  6.  
  7. local humanoidRootPart = character.HumanoidRootPart:Clone()
  8.  
  9. local leftArm = character["Left Arm"]
  10. local rightArm = character["Right Arm"]
  11. local leftLeg = character["Left Leg"]
  12. local rightLeg = character["Right Leg"]
  13. local torso = character["Torso"]
  14.  
  15. local leftShoulder = character.Torso["Left Shoulder"]:Clone()
  16. local rightShoulder = character.Torso["Right Shoulder"]:Clone()
  17. local leftHip = character.Torso["Left Hip"]:Clone()
  18. local rightHip = character.Torso["Right Hip"]:Clone()
  19. local neck = character.Torso["Neck"]:Clone()
  20.  
  21. leftArm.Size = Vector3.new(1,2,1)
  22. leftShoulder.Parent = character.Torso
  23. leftShoulder.C0 = leftShoulder.C0 * CFrame.new(0,0,0)
  24. leftShoulder.C1 = leftShoulder.C1 * CFrame.new(0,0,0)
  25.  
  26. rightArm.Size = Vector3.new(1,2,1)
  27. rightShoulder.Parent = character.Torso
  28. rightShoulder.C0 = rightShoulder.C0 * CFrame.new(0,0,0)
  29. rightShoulder.C1 = rightShoulder.C1 * CFrame.new(0,0,0)
  30.  
  31. leftLeg.Size = Vector3.new(1,2,1)
  32. leftHip.Parent = character.Torso
  33. leftHip.C0 = leftHip.C0 * CFrame.new(0,0,0)
  34. leftHip.C1 = leftHip.C1 * CFrame.new(0,0,0)
  35.  
  36. rightLeg.Size = Vector3.new(1,2,1)
  37. rightHip.Parent = character.Torso
  38. rightHip.C0 = rightHip.C0 * CFrame.new(0,0,0)
  39. rightHip.C1 = rightHip.C1 * CFrame.new(0,0,0)
  40.  
  41. for _, v in ipairs(character:children()) do
  42. if v:IsA("Clothing") then
  43. v:Remove()
  44. end
  45. end
  46.  
  47. Top = Instance.new("Part",workspace)
  48. Top.TopSurface = "Smooth"
  49. Top.BottomSurface = "Smooth"
  50. Top.CanCollide = True
  51. Top.BrickColor = BrickColor.new("Really black")
  52. TopMesh = Instance.new("SpecialMesh",Top)
  53. TopMesh.MeshType = "Cylinder"
  54. TopMesh.Scale = Vector3.new(1.02, 0.5, 0.5)
  55. Weld = Instance.new("Weld",Cha)
  56. Weld.Part0 = Cha.Torso
  57. Weld.Part1 = Top
  58. Weld.C1 = CFrame.new(0, -0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  59.  
  60. Leg = Instance.new("Part",workspace)
  61. Leg.TopSurface = "Smooth"
  62. Leg.BottomSurface = "Smooth"
  63. Leg.CanCollide = True
  64. Leg.BrickColor = BrickColor.new("Really black")
  65. LegMesh = Instance.new("SpecialMesh",Leg)
  66. LegMesh.MeshType = "Cylinder"
  67. LegMesh.Scale = Vector3.new(0.5, 0.45, 0.5)
  68. Weld = Instance.new("Weld",Cha)
  69. Weld.Part0 = Cha.Torso
  70. Weld.Part1 = Leg
  71. Weld.C1 = CFrame.new(-1, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 1.6)
  72.  
  73. Leg2 = Instance.new("Part",workspace)
  74. Leg2.TopSurface = "Smooth"
  75. Leg2.BottomSurface = "Smooth"
  76. Leg2.CanCollide = True
  77. Leg2.BrickColor = BrickColor.new("Really black")
  78. Leg2Mesh = Instance.new("SpecialMesh",Leg2)
  79. Leg2Mesh.MeshType = "Cylinder"
  80. Leg2Mesh.Scale = Vector3.new(0.5, 0.45, 0.5)
  81. Weld = Instance.new("Weld",Cha)
  82. Weld.Part0 = Cha.Torso
  83. Weld.Part1 = Leg2
  84. Weld.C1 = CFrame.new(-1, -0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 1.6)
  85.  
  86. Arm = Instance.new("Part",workspace)
  87. Arm.TopSurface = "Smooth"
  88. Arm.BottomSurface = "Smooth"
  89. Arm.CanCollide = True
  90. Arm.BrickColor = BrickColor.new("Bright red")
  91. Armmesh = Instance.new("SpecialMesh",Arm)
  92. Armmesh.MeshType = "Cylinder"
  93. Armmesh.Scale = Vector3.new(0.2, 1, 1)
  94. Weld = Instance.new("Weld",Cha)
  95. Weld.Part0 = Cha["Right Arm"]
  96. Weld.Part1 = Arm
  97. Weld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 1.6)
  98.  
  99.  
  100. Arm2 = Instance.new("Part",workspace)
  101. Arm2.TopSurface = "Smooth"
  102. Arm2.BottomSurface = "Smooth"
  103. Arm2.CanCollide = True
  104. Arm2.BrickColor = BrickColor.new("Bright red")
  105. Arm2mesh = Instance.new("SpecialMesh",Arm2)
  106. Arm2mesh.MeshType = "Cylinder"
  107. Arm2mesh.Scale = Vector3.new(0.2, 1, 1)
  108. Weld = Instance.new("Weld",Cha)
  109. Weld.Part0 = Cha["Left Arm"]
  110. Weld.Part1 = Arm2
  111. Weld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 1.6)
  112.  
  113.  
  114. Hand = Instance.new("Part",workspace)
  115. Hand.TopSurface = "Smooth"
  116. Hand.BottomSurface = "Smooth"
  117. Hand.CanCollide = True
  118. Hand.Transparency = 0.6
  119. Hand.BrickColor = BrickColor.new("Bright red")
  120. Handmesh = Instance.new("SpecialMesh",Hand)
  121. Handmesh.MeshType = "Cylinder"
  122. Handmesh.Scale = Vector3.new(0.05, 1, 1)
  123. Weld = Instance.new("Weld",Cha)
  124. Weld.Part0 = Cha["Left Arm"]
  125. Weld.Part1 = Hand
  126. Weld.C1 = CFrame.new(-1, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 1.6)
  127.  
  128.  
  129. Hand2 = Instance.new("Part",workspace)
  130. Hand2.TopSurface = "Smooth"
  131. Hand2.BottomSurface = "Smooth"
  132. Hand2.CanCollide = True
  133. Hand2.Transparency = 0.6
  134. Hand2.BrickColor = BrickColor.new("Bright red")
  135. Hand2mesh = Instance.new("SpecialMesh",Hand2)
  136. Hand2mesh.MeshType = "Cylinder"
  137. Hand2mesh.Scale = Vector3.new(0.05, 1, 1)
  138. Weld = Instance.new("Weld",Cha)
  139. Weld.Part0 = Cha["Right Arm"]
  140. Weld.Part1 = Hand2
  141. Weld.C1 = CFrame.new(-1, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 1.6)
  142.  
  143. Lg = Instance.new("Part",workspace)
  144. Lg.TopSurface = "Smooth"
  145. Lg.BottomSurface = "Smooth"
  146. Lg.CanCollide = True
  147. Lg.BrickColor = BrickColor.new("Bright red")
  148. Lgmesh = Instance.new("SpecialMesh",Lg)
  149. Lgmesh.MeshType = "Cylinder"
  150. Lgmesh.Scale = Vector3.new(0.2, 1, 1)
  151. Weld = Instance.new("Weld",Cha)
  152. Weld.Part0 = Cha["Right Leg"]
  153. Weld.Part1 = Lg
  154. Weld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 1.6)
  155.  
  156.  
  157. Lg2 = Instance.new("Part",workspace)
  158. Lg2.TopSurface = "Smooth"
  159. Lg2.BottomSurface = "Smooth"
  160. Lg2.CanCollide = True
  161. Lg2.BrickColor = BrickColor.new("Bright red")
  162. Lg2mesh = Instance.new("SpecialMesh",Lg2)
  163. Lg2mesh.MeshType = "Cylinder"
  164. Lg2mesh.Scale = Vector3.new(0.2, 1, 1)
  165. Weld = Instance.new("Weld",Cha)
  166. Weld.Part0 = Cha["Left Leg"]
  167. Weld.Part1 = Lg2
  168. Weld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 1.6)
  169.  
  170.  
  171. Foot = Instance.new("Part",workspace)
  172. Foot.TopSurface = "Smooth"
  173. Foot.BottomSurface = "Smooth"
  174. Foot.CanCollide = True
  175. Foot.Transparency = 0.6
  176. Foot.BrickColor = BrickColor.new("Bright red")
  177. Footmesh = Instance.new("SpecialMesh",Foot)
  178. Footmesh.MeshType = "Cylinder"
  179. Footmesh.Scale = Vector3.new(0.05, 1, 1)
  180. Weld = Instance.new("Weld",Cha)
  181. Weld.Part0 = Cha["Left Leg"]
  182. Weld.Part1 = Foot
  183. Weld.C1 = CFrame.new(-1, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 1.6)
  184.  
  185.  
  186. Foot2 = Instance.new("Part",workspace)
  187. Foot2.TopSurface = "Smooth"
  188. Foot2.BottomSurface = "Smooth"
  189. Foot2.CanCollide = True
  190. Foot2.Transparency = 0.6
  191. Foot2.BrickColor = BrickColor.new("Bright red")
  192. Foot2mesh = Instance.new("SpecialMesh",Foot2)
  193. Foot2mesh.MeshType = "Cylinder"
  194. Foot2mesh.Scale = Vector3.new(0.05, 1, 1)
  195. Weld = Instance.new("Weld",Cha)
  196. Weld.Part0 = Cha["Right Leg"]
  197. Weld.Part1 = Foot2
  198. Weld.C1 = CFrame.new(-1, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 1.6)
  199.  
  200. Cannon = Instance.new("Part",workspace)
  201. Cannon.TopSurface = "Smooth"
  202. Cannon.BottomSurface = "Smooth"
  203. Cannon.CanCollide = True
  204. Cannon.Transparency = 0.6
  205. Cannon.BrickColor = BrickColor.new("Bright red")
  206. Cannonmesh = Instance.new("SpecialMesh",Cannon)
  207. Cannonmesh.MeshType = "Cylinder"
  208. Cannonmesh.Scale = Vector3.new(0.2, 1, 1)
  209. Weld = Instance.new("Weld",Cha)
  210. Weld.Part0 = Cha.Torso
  211. Weld.Part1 = Cannon
  212. Weld.C1 = CFrame.new(0.12, 0.05, -0.05)*CFrame.fromEulerAnglesXYZ(0, 1.58, 0)
  213.  
  214. Weapon = Instance.new("Part",workspace)
  215. Weapon.TopSurface = "Smooth"
  216. Weapon.BottomSurface = "Smooth"
  217. Weapon.CanCollide = True
  218. Weapon.Transparency = 0
  219. Weapon.BrickColor = BrickColor.new("Really black")
  220. Weaponmesh = Instance.new("SpecialMesh",Weapon)
  221. Weaponmesh.MeshType = "Cylinder"
  222. Weaponmesh.Scale = Vector3.new(0.3, 0.3, 0.3)
  223. Weld = Instance.new("Weld",Cha)
  224. Weld.Part0 = Cha["Right Arm"]
  225. Weld.Part1 = Weapon
  226. Weld.C1 = CFrame.new(0.12, 0.5, -0.05)*CFrame.fromEulerAnglesXYZ(0, 1.58, 0)
  227.  
  228. Weapon2 = Instance.new("Part",workspace)
  229. Weapon2.TopSurface = "Smooth"
  230. Weapon2.BottomSurface = "Smooth"
  231. Weapon2.CanCollide = True
  232. Weapon2.Transparency = 0
  233. Weapon2.BrickColor = BrickColor.new("Really black")
  234. Weapon2mesh = Instance.new("SpecialMesh",Weapon2)
  235. Weapon2mesh.MeshType = "Cylinder"
  236. Weapon2mesh.Scale = Vector3.new(0.3, 0.3, 0.3)
  237. Weld = Instance.new("Weld",Cha)
  238. Weld.Part0 = Cha["Left Arm"]
  239. Weld.Part1 = Weapon2
  240. Weld.C1 = CFrame.new(0.12, 0.5, -0.05)*CFrame.fromEulerAnglesXYZ(0, 1.58, 0)
  241.  
  242. Hand.Touched:connect(function(hit)
  243. if hit.Parent.ClassName == "Model" then
  244. if hit.Parent:FindFirstChild("Humanoid") then
  245. e = Instance.new('Explosion',Workspace)
  246. e.Position = hit.Parent.Torso.Position
  247. e.BlastPressure = 0
  248. e.BlastRadius = 3
  249. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(5)
  250. end
  251. end
  252. end)
  253.  
  254.  
  255. Hand2.Touched:connect(function(hit)
  256. if hit.Parent.ClassName == "Model" then
  257. if hit.Parent:FindFirstChild("Humanoid") then
  258. e2 = Instance.new('Explosion',Workspace)
  259. e2.Position = hit.Parent.Torso.Position
  260. e2.BlastPressure = 0
  261. e2.BlastRadius = 3
  262. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(5)
  263. end
  264. end
  265. end)
  266.  
  267. Cannon.Touched:connect(function(hit)
  268. if hit.Parent.ClassName == "Model" then
  269. if hit.Parent:FindFirstChild("Humanoid") then
  270. e3 = Instance.new('Explosion',Workspace)
  271. e3.Position = hit.Parent.Torso.Position
  272. e3.BlastPressure = 0
  273. e3.BlastRadius = 5
  274. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(5)
  275. end
  276. end
  277. end)
  278.  
  279. Foot.Touched:connect(function(hit)
  280. if hit.Parent.ClassName == "Model" then
  281. if hit.Parent:FindFirstChild("Humanoid") then
  282. e4 = Instance.new('Explosion',Workspace)
  283. e4.Position = hit.Parent.Torso.Position
  284. e4.BlastPressure = 0
  285. e4.BlastRadius = 3
  286. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(5)
  287. end
  288. end
  289. end)
  290.  
  291. Foot2.Touched:connect(function(hit)
  292. if hit.Parent.ClassName == "Model" then
  293. if hit.Parent:FindFirstChild("Humanoid") then
  294. e5 = Instance.new('Explosion',Workspace)
  295. e5.Position = hit.Parent.Torso.Position
  296. e5.BlastPressure = 0
  297. e5.BlastRadius = 3
  298. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(5)
  299. end
  300. end
  301. end)
  302.  
  303. Weapon.Touched:connect(function(hit)
  304. if hit.Parent:FindFirstChild("Humanoid") then
  305. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(15)
  306. end
  307. end)
  308.  
  309. Weapon2.Touched:connect(function(hit)
  310. if hit.Parent:FindFirstChild("Humanoid") then
  311. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(15)
  312. end
  313. end)
  314.  
  315. --Key
  316. mouse.KeyDown:connect(function(key)
  317. key:lower()
  318. if key == "e" then
  319.  
  320. rightShoulder.C0 = rightShoulder.C0 * CFrame.new(0,0,0)
  321. rightShoulder.C1 = rightShoulder.C1 * CFrame.new(0,0,-0.2)
  322.  
  323. wait()
  324.  
  325. rightShoulder.C0 = rightShoulder.C0 * CFrame.new(0,0,0)
  326. rightShoulder.C1 = rightShoulder.C1 * CFrame.new(0,0,-0.2)
  327.  
  328. wait()
  329.  
  330. rightShoulder.C0 = rightShoulder.C0 * CFrame.new(0,0,0)
  331. rightShoulder.C1 = rightShoulder.C1 * CFrame.new(0,0,-0.2)
  332.  
  333. wait()
  334.  
  335. rightShoulder.C0 = rightShoulder.C0 * CFrame.new(0,0,0)
  336. rightShoulder.C1 = rightShoulder.C1 * CFrame.new(0,0,-0.2)
  337.  
  338. wait()
  339.  
  340. rightShoulder.C0 = rightShoulder.C0 * CFrame.new(0,0,0)
  341. rightShoulder.C1 = rightShoulder.C1 * CFrame.new(0,0,-0.2)
  342.  
  343. leftShoulder.C0 = leftShoulder.C0 * CFrame.new(0,0,0)
  344. leftShoulder.C1 = leftShoulder.C1 * CFrame.new(0,0,-0.2)
  345.  
  346. wait()
  347.  
  348. leftShoulder.C0 = leftShoulder.C0 * CFrame.new(0,0,0)
  349. leftShoulder.C1 = leftShoulder.C1 * CFrame.new(0,0,-0.2)
  350.  
  351. wait()
  352.  
  353. leftShoulder.C0 = leftShoulder.C0 * CFrame.new(0,0,0)
  354. leftShoulder.C1 = leftShoulder.C1 * CFrame.new(0,0,-0.2)
  355.  
  356. wait()
  357.  
  358. leftShoulder.C0 = leftShoulder.C0 * CFrame.new(0,0,0)
  359. leftShoulder.C1 = leftShoulder.C1 * CFrame.new(0,0,-0.2)
  360.  
  361. wait()
  362.  
  363. leftShoulder.C0 = leftShoulder.C0 * CFrame.new(0,0,0)
  364. leftShoulder.C1 = leftShoulder.C1 * CFrame.new(0,0,-0.2)
  365.  
  366. leftHip.C0 = leftHip.C0 * CFrame.new(0,0,0)
  367. leftHip.C1 = leftHip.C1 * CFrame.new(0,0.2,0)
  368.  
  369. wait()
  370.  
  371. leftHip.C0 = leftHip.C0 * CFrame.new(0,0,0)
  372. leftHip.C1 = leftHip.C1 * CFrame.new(0,0.2,0)
  373.  
  374. wait()
  375.  
  376. leftHip.C0 = leftHip.C0 * CFrame.new(0,0,0)
  377. leftHip.C1 = leftHip.C1 * CFrame.new(0,0.2,0)
  378.  
  379. wait()
  380.  
  381. leftHip.C0 = leftHip.C0 * CFrame.new(0,0,0)
  382. leftHip.C1 = leftHip.C1 * CFrame.new(0,0.2,0)
  383.  
  384. wait()
  385.  
  386. leftHip.C0 = leftHip.C0 * CFrame.new(0,0,0)
  387. leftHip.C1 = leftHip.C1 * CFrame.new(0,0.2,0)
  388.  
  389. rightHip.C0 = rightHip.C0 * CFrame.new(0,0,0)
  390. rightHip.C1 = rightHip.C1 * CFrame.new(0,0.2,0)
  391.  
  392. wait()
  393.  
  394. rightHip.C0 = rightHip.C0 * CFrame.new(0,0,0)
  395. rightHip.C1 = rightHip.C1 * CFrame.new(0,0.2,0)
  396.  
  397. wait()
  398.  
  399. rightHip.C0 = rightHip.C0 * CFrame.new(0,0,0)
  400. rightHip.C1 = rightHip.C1 * CFrame.new(0,0.2,0)
  401.  
  402. wait()
  403.  
  404. rightHip.C0 = rightHip.C0 * CFrame.new(0,0,0)
  405. rightHip.C1 = rightHip.C1 * CFrame.new(0,0.2,0)
  406.  
  407. wait()
  408.  
  409. rightHip.C0 = rightHip.C0 * CFrame.new(0,0,0)
  410. rightHip.C1 = rightHip.C1 * CFrame.new(0,0.2,0)
  411.  
  412. end
  413.  
  414. if key == "q" then
  415.  
  416. rightShoulder.C0 = rightShoulder.C0 * CFrame.new(0,0,0)
  417. rightShoulder.C1 = rightShoulder.C1 * CFrame.new(0,0,0.2)
  418.  
  419. wait()
  420.  
  421. rightShoulder.C0 = rightShoulder.C0 * CFrame.new(0,0,0)
  422. rightShoulder.C1 = rightShoulder.C1 * CFrame.new(0,0,0.2)
  423.  
  424. wait()
  425.  
  426. rightShoulder.C0 = rightShoulder.C0 * CFrame.new(0,0,0)
  427. rightShoulder.C1 = rightShoulder.C1 * CFrame.new(0,0,0.2)
  428.  
  429. wait()
  430.  
  431. rightShoulder.C0 = rightShoulder.C0 * CFrame.new(0,0,0)
  432. rightShoulder.C1 = rightShoulder.C1 * CFrame.new(0,0,0.2)
  433.  
  434. wait()
  435.  
  436. rightShoulder.C0 = rightShoulder.C0 * CFrame.new(0,0,0)
  437. rightShoulder.C1 = rightShoulder.C1 * CFrame.new(0,0,0.2)
  438.  
  439. leftShoulder.C0 = leftShoulder.C0 * CFrame.new(0,0,0)
  440. leftShoulder.C1 = leftShoulder.C1 * CFrame.new(0,0,0.2)
  441.  
  442. wait()
  443.  
  444. leftShoulder.C0 = leftShoulder.C0 * CFrame.new(0,0,0)
  445. leftShoulder.C1 = leftShoulder.C1 * CFrame.new(0,0,0.2)
  446.  
  447. wait()
  448.  
  449. leftShoulder.C0 = leftShoulder.C0 * CFrame.new(0,0,0)
  450. leftShoulder.C1 = leftShoulder.C1 * CFrame.new(0,0,0.2)
  451.  
  452. wait()
  453.  
  454. leftShoulder.C0 = leftShoulder.C0 * CFrame.new(0,0,0)
  455. leftShoulder.C1 = leftShoulder.C1 * CFrame.new(0,0,0.2)
  456.  
  457. wait()
  458.  
  459. leftShoulder.C0 = leftShoulder.C0 * CFrame.new(0,0,0)
  460. leftShoulder.C1 = leftShoulder.C1 * CFrame.new(0,0,0.2)
  461.  
  462. leftHip.C0 = leftHip.C0 * CFrame.new(0,0,0)
  463. leftHip.C1 = leftHip.C1 * CFrame.new(0,-0.2,0)
  464.  
  465. wait()
  466.  
  467. leftHip.C0 = leftHip.C0 * CFrame.new(0,0,0)
  468. leftHip.C1 = leftHip.C1 * CFrame.new(0,-0.2,0)
  469.  
  470. wait()
  471.  
  472. leftHip.C0 = leftHip.C0 * CFrame.new(0,0,0)
  473. leftHip.C1 = leftHip.C1 * CFrame.new(0,-0.2,0)
  474.  
  475. wait()
  476.  
  477. leftHip.C0 = leftHip.C0 * CFrame.new(0,0,0)
  478. leftHip.C1 = leftHip.C1 * CFrame.new(0,-0.2,0)
  479.  
  480. wait()
  481.  
  482. leftHip.C0 = leftHip.C0 * CFrame.new(0,0,0)
  483. leftHip.C1 = leftHip.C1 * CFrame.new(0,-0.2,0)
  484.  
  485. rightHip.C0 = rightHip.C0 * CFrame.new(0,0,0)
  486. rightHip.C1 = rightHip.C1 * CFrame.new(0,-0.2,0)
  487.  
  488. wait()
  489.  
  490. rightHip.C0 = rightHip.C0 * CFrame.new(0,0,0)
  491. rightHip.C1 = rightHip.C1 * CFrame.new(0,-0.2,0)
  492.  
  493. wait()
  494.  
  495. rightHip.C0 = rightHip.C0 * CFrame.new(0,0,0)
  496. rightHip.C1 = rightHip.C1 * CFrame.new(0,-0.2,0)
  497.  
  498. wait()
  499.  
  500. rightHip.C0 = rightHip.C0 * CFrame.new(0,0,0)
  501. rightHip.C1 = rightHip.C1 * CFrame.new(0,-0.2,0)
  502.  
  503. wait()
  504.  
  505. rightHip.C0 = rightHip.C0 * CFrame.new(0,0,0)
  506. rightHip.C1 = rightHip.C1 * CFrame.new(0,-0.2,0)
  507.  
  508. end
  509.  
  510. if key == "f" then
  511. sound = Cha.Torso
  512. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-0.2,0,0)
  513. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(0.2,0,0)
  514. wait()
  515. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-0.4,0,0)
  516. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(0.4,0,0)
  517. wait()
  518. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(-0.6,0,0)
  519. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(0.6,0,0)
  520. wait()
  521. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-0.8,0,0)
  522. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(0.8,0,0)
  523. wait()
  524. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-1,0,0)
  525. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(1,0,0)
  526. wait()
  527. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-1.2,0,0)
  528. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(1.2,0,0)
  529. wait()
  530. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-1.4,0,0)
  531. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(1.4,0,0)
  532. wait()
  533. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-1.6,0,0)
  534. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(1.6,0,0)
  535. wait()
  536. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-1.8,0,0)
  537. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(1.8,0,0)
  538. wait()
  539. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-2,0,0)
  540. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(2,0,0)
  541. wait()
  542. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-2.2,0,0)
  543. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(2.2,0,0)
  544. wait()
  545. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-2.4,0,0)
  546. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(2.4,0,0)
  547. wait()
  548. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(-2.6,0,0)
  549. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(2.6,0,0)
  550. wait()
  551. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-2.8,0,0)
  552. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(2.8,0,0)
  553. wait()
  554. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-3,0,0)
  555. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(3,0,0)
  556. wait()
  557. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-3.2,0,0)
  558. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(3.2,0,0)
  559. wait()
  560. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-3.4,0,0)
  561. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(3.4,0,0)
  562. wait()
  563. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-3.6,0,0)
  564. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(3.6,0,0)
  565. wait()
  566. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-3.8,0,0)
  567. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(3.8,0,0)
  568. wait()
  569. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-4,0,0)
  570. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(4,0,0)
  571. wait()
  572. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-4.2,0,0)
  573. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(4.2,0,0)
  574. wait()
  575. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-4.4,0,0)
  576. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(4.4,0,0)
  577. wait()
  578. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(-4.6,0,0)
  579. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(4.6,0,0)
  580. wait()
  581. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-4.8,0,0)
  582. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(4.8,0,0)
  583. wait()
  584. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-5,0,0)
  585. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(5,0,0)
  586. wait()
  587. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-5.2,0,0)
  588. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(5.2,0,0)
  589. wait()
  590. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-5.4,0,0)
  591. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(5.4,0,0)
  592. wait()
  593. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-5.6,0,0)
  594. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(5.6,0,0)
  595. wait()
  596. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-5.4,0,0)
  597. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(5.4,0,0)
  598. wait()
  599. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-5.6,0,0)
  600. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(5.6,0,0)
  601. wait()
  602. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-5.8,0,0)
  603. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(5.8,0,0)
  604. wait()
  605. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-6,0,0)
  606. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(6,0,0)
  607. wait()
  608. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-6.2,0,0)
  609. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(6.2,0,0)
  610. wait()
  611. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-6.4,0,0)
  612. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(6.4,0,0)
  613. wait()
  614. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(-6.6,0,0)
  615. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(6.6,0,0)
  616. wait()
  617. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-6.8,0,0)
  618. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(6.8,0,0)
  619. wait()
  620. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-7,0,0)
  621. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(7,0,0)
  622. wait()
  623. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-7.2,0,0)
  624. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(7.2,0,0)
  625. wait()
  626. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-7.4,0,0)
  627. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(7.4,0,0)
  628. wait()
  629. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-7.6,0,0)
  630. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(7.6,0,0)
  631. wait()
  632. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-7.8,0,0)
  633. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(7.8,0,0)
  634. wait()
  635. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,300) * CFrame.new(-8,0,0)
  636. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,0,-300) * CFrame.new(8,0,0)
  637. wait()
  638. sound["Right Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,900,0) * CFrame.new(0,0.5,-0.5)
  639. sound["Left Shoulder"].C1 = CFrame.fromEulerAnglesXYZ(0,300,0) * CFrame.new(0,0.5,-0.5)
  640. end
  641.  
  642. if key == "r" then
  643. p = Instance.new("Part",Workspace)
  644. p.BrickColor = BrickColor.new("Bright red")
  645. p.Size = Vector3.new(1,1,8)
  646. p.TopSurface = "Smooth"
  647. p.BottomSurface = "Smooth"
  648. p.Transparency = 0.6
  649. p.CanCollide = True
  650. p.CFrame = Cha.Torso.CFrame *CFrame.new(0,0,-10) --this is what i did
  651. r = Instance.new("BodyVelocity",p)
  652. r.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  653. r.velocity = Cha.Torso.CFrame.lookVector * 200
  654. p:BreakJoints()
  655.  
  656. p.Touched:connect(function(hit)
  657. if hit.Parent.ClassName == "Model" then
  658. if hit.Parent:FindFirstChild("Humanoid") then
  659. cannon = Instance.new('Explosion',Workspace)
  660. cannon.Position = hit.Parent.Torso.Position
  661. cannon.BlastPressure = 20
  662. cannon.BlastRadius = 5
  663. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(15)
  664. end
  665. end
  666. end)
  667. wait(5)
  668. p:Destroy()
  669.  
  670. end
  671.  
  672. if key == "z" then
  673. Weaponmesh.Scale = Vector3.new(0.5, 0.3, 0.3)
  674. wait()
  675. Weaponmesh.Scale = Vector3.new(0.7, 0.3, 0.3)
  676. wait()
  677. Weaponmesh.Scale = Vector3.new(0.9, 0.3, 0.3)
  678. wait()
  679. Weaponmesh.Scale = Vector3.new(1.1, 0.3, 0.3)
  680. wait()
  681. Weaponmesh.Scale = Vector3.new(1.3, 0.3, 0.3)
  682. wait()
  683. Weaponmesh.Scale = Vector3.new(1.5, 0.3, 0.3)
  684. wait()
  685. Weaponmesh.Scale = Vector3.new(1.7, 0.3, 0.3)
  686. wait()
  687. Weaponmesh.Scale = Vector3.new(1.9, 0.3, 0.3)
  688. wait()
  689. Weapon2mesh.Scale = Vector3.new(0.5, 0.3, 0.3)
  690. wait()
  691. Weapon2mesh.Scale = Vector3.new(0.7, 0.3, 0.3)
  692. wait()
  693. Weapon2mesh.Scale = Vector3.new(0.9, 0.3, 0.3)
  694. wait()
  695. Weapon2mesh.Scale = Vector3.new(1.1, 0.3, 0.3)
  696. wait()
  697. Weapon2mesh.Scale = Vector3.new(1.3, 0.3, 0.3)
  698. wait()
  699. Weapon2mesh.Scale = Vector3.new(1.5, 0.3, 0.3)
  700. wait()
  701. Weapon2mesh.Scale = Vector3.new(1.7, 0.3, 0.3)
  702. wait()
  703. Weaponmesh.Scale = Vector3.new(1.9, 0.3, 0.3)
  704. end
  705.  
  706. if key == "x" then
  707. Weaponmesh.Scale = Vector3.new(1.9, 0.3, 0.3)
  708. wait()
  709. Weaponmesh.Scale = Vector3.new(1.7, 0.3, 0.3)
  710. wait()
  711. Weaponmesh.Scale = Vector3.new(1.5, 0.3, 0.3)
  712. wait()
  713. Weaponmesh.Scale = Vector3.new(1.3, 0.3, 0.3)
  714. wait()
  715. Weaponmesh.Scale = Vector3.new(1.1, 0.3, 0.3)
  716. wait()
  717. Weaponmesh.Scale = Vector3.new(0.9, 0.3, 0.3)
  718. wait()
  719. Weaponmesh.Scale = Vector3.new(0.7, 0.3, 0.3)
  720. wait()
  721. Weaponmesh.Scale = Vector3.new(0.5, 0.3, 0.3)
  722. wait()
  723. Weapon2mesh.Scale = Vector3.new(1.9, 0.3, 0.3)
  724. wait()
  725. Weapon2mesh.Scale = Vector3.new(1.7, 0.3, 0.3)
  726. wait()
  727. Weapon2mesh.Scale = Vector3.new(1.5, 0.3, 0.3)
  728. wait()
  729. Weapon2mesh.Scale = Vector3.new(1.3, 0.3, 0.3)
  730. wait()
  731. Weapon2mesh.Scale = Vector3.new(1.1, 0.3, 0.3)
  732. wait()
  733. Weapon2mesh.Scale = Vector3.new(0.9, 0.3, 0.3)
  734. wait()
  735. Weapon2mesh.Scale = Vector3.new(0.7, 0.3, 0.3)
  736. wait()
  737. Weapon2mesh.Scale = Vector3.new(0.5, 0.3, 0.3)
  738. end
  739. end)
Add Comment
Please, Sign In to add comment