Advertisement
AndrewTheMaster

Elite

May 3rd, 2017
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 93.53 KB | None | 0 0
  1. --[[ Elite Script ]]--
  2. --[[ Declarations ]]--
  3. wait(.0000000000000000000001)
  4. local Player = game:GetService("Players").LocalPlayer
  5. local Character = Player.Character
  6. local Head = Character.Head
  7. local Torso = Character.Torso
  8. local Right_Arm = Character["Right Arm"]
  9. local Right_Leg = Character["Right Leg"]
  10. local Left_Arm = Character["Left Arm"]
  11. local Left_Leg = Character["Left Leg"]
  12. local Humanoid = Character.Humanoid
  13. local Animation = "Idle"
  14. local Mouse = Player:GetMouse()
  15. local LeftShoulder = Torso["Left Shoulder"]
  16. local Left_Hip = Torso["Left Hip"]
  17. local RightShoulder = Torso["Right Shoulder"]
  18. local Right_Hip = Torso["Right Hip"]
  19. local Root = Character.HumanoidRootPart
  20. local RootJoint = Root.RootJoint
  21. local Attacking = false
  22. local CanAttack = true
  23. local Anim = "Idle"
  24. local Combo = 1
  25. local Shots = 1
  26. local Blocking = false
  27. local MaxMana = 100
  28. local Mana = 100
  29. local MaxBlock = 100
  30. local Effects = {}
  31. local Color = "Bright yellow"
  32. local cf = CFrame.new
  33. local WalkFoRightShoulderard = false
  34.  
  35. local RootCFrame = CFrame.Angles(-1.57,0,3.14)
  36. Necko = cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  37. Necko2 = cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  38. Right_Hip_C1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  39. Left_Hip_C1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  40.  
  41. Movemment = 1
  42. Walk = 0
  43.  
  44. Left_Shoulder = Instance.new("Weld", Torso)
  45. Left_Shoulder.Part0 = Torso
  46. Left_Shoulder.Part1 = Left_Arm
  47. Left_Shoulder.Name = "Left Shoulder"
  48. Left_Shoulder.C0 = CFrame.new(-1.5,0,0)
  49.  
  50. Right_Shoulder = Instance.new("Weld", Torso)
  51. Right_Shoulder.Part0 = Torso
  52. Right_Shoulder.Part1 = Right_Arm
  53. Right_Shoulder.Name = "Right Shoulder"
  54. Right_Shoulder.C0 = CFrame.new(1.5,0,0)
  55.  
  56. local Services = {
  57.  
  58. SoundService = game:GetService("SoundService");
  59. Players = game:GetService("Players");
  60. Debris = game:GetService("Debris");
  61. Workspace = game:GetService("Workspace");
  62. Lighting = game:GetService("Lighting");
  63. HttpService = game:GetService("HttpService");
  64. InsertService = game:GetService("InsertService");
  65.  
  66. }
  67.  
  68. MaxCooldown1 = 150
  69. MaxCooldown2 = 30
  70. MaxCooldown3 = 50
  71. MaxCooldown4 = 150
  72. MaxCooldownE = 120
  73.  
  74. Cooldown1 = MaxCooldown1
  75. Cooldown2 = MaxCooldown2
  76. Cooldown3 = MaxCooldown3
  77. Cooldown4 = MaxCooldown4
  78. CooldownE = MaxCooldownE
  79.  
  80. LeftShoulder.Parent = nil
  81. RightShoulder.Parent = nil
  82.  
  83. Animator = Humanoid.Animator
  84. Animate = Character.Animate
  85. Animate.idle.Animation2:Remove()
  86.  
  87. wait(0.1)
  88. local HealthBarGUI = Instance.new("ScreenGui", Player.PlayerGui)
  89. HealthBarGUI.Name = "HealthBarGUI"
  90.  
  91. local HealthBarP1 = Instance.new("Frame", HealthBarGUI)
  92. HealthBarP1.Name = "HealthBarPart1"
  93. HealthBarP1.Size = UDim2.new(0,300,0,40)
  94. HealthBarP1.Position = UDim2.new(0,350,0,550)
  95. HealthBarP1.Style = "RobloxRound"
  96.  
  97. local HealthBarP2 = Instance.new("Frame", HealthBarP1)
  98. HealthBarP2.Name = "HealthBarPart2"
  99. HealthBarP2.Size = UDim2.new(0,285,0,20)
  100. HealthBarP2.Position = UDim2.new(0,0,0,0)
  101.  
  102. local HealthBarText = Instance.new("TextLabel", HealthBarP1)
  103. HealthBarText.Name = "HealthBarText"
  104. HealthBarText.Size = UDim2.new(0,285,0,20)
  105. HealthBarText.Position = UDim2.new(0,0,0,0)
  106. HealthBarText.BackgroundColor3 = Color3.new(0,1,0)
  107. HealthBarText.TextScaled = true
  108. HealthBarText.Text = "Health"
  109. HealthBarText.TextStrokeTransparency = 0
  110. HealthBarText.BackgroundTransparency = 1
  111. HealthBarText.TextStrokeColor3 = Color3.new(1,1,1)
  112. HealthBarText.TextColor3 = Color3.new(0,0,0)
  113. HealthBarText.Font = "SciFi"
  114.  
  115. local ManaBarGUI = Instance.new("ScreenGui", Player.PlayerGui)
  116. ManaBarGUI.Name = "ManaBarGUI"
  117.  
  118. local ManaBarP1 = Instance.new("Frame", ManaBarGUI)
  119. ManaBarP1.Name = "ManaBarPart1"
  120. ManaBarP1.Size = UDim2.new(0,300,0,40)
  121. ManaBarP1.Position = UDim2.new(0,350,0,500)
  122. ManaBarP1.Style = "RobloxRound"
  123.  
  124. local ManaBarP2 = Instance.new("Frame", ManaBarP1)
  125. ManaBarP2.Name = "ManaBarPart2"
  126. ManaBarP2.Size = UDim2.new(0,285,0,20)
  127. ManaBarP2.Position = UDim2.new(0,0,0,0)
  128. ManaBarP2.BackgroundColor3 = BrickColor.new("Dark stone grey").Color
  129.  
  130. local ManaBarText = Instance.new("TextLabel", ManaBarP1)
  131. ManaBarText.Name = "ManaBarText"
  132. ManaBarText.Size = UDim2.new(0,285,0,20)
  133. ManaBarText.Position = UDim2.new(0,0,0,0)
  134. ManaBarText.TextScaled = true
  135. ManaBarText.Text = "Skill"
  136. ManaBarText.BackgroundTransparency = 1
  137. ManaBarText.TextStrokeTransparency = 0
  138. ManaBarText.TextStrokeColor3 = Color3.new(1,1,1)
  139. ManaBarText.TextColor3 = Color3.new(0,0,0)
  140. ManaBarText.Font = "SciFi"
  141.  
  142. local CoolDownGUI = Instance.new("ScreenGui", Player.PlayerGui)
  143. CoolDownGUI.Name = "CoolDownGUI"
  144.  
  145. local CoolDowns = Instance.new("Frame", CoolDownGUI)
  146. CoolDowns.Name = "CoolDowns"
  147. CoolDowns.Size = UDim2.new(0,200,0,200)
  148. CoolDowns.Position = UDim2.new(0.81,0,0.68,0)
  149. CoolDowns.Style = "RobloxRound"
  150.  
  151. local CoolDown1Frame = Instance.new("Frame", CoolDowns)
  152. CoolDown1Frame.Name = "CoolDown1Frame"
  153. CoolDown1Frame.Size = UDim2.new(0,80,0,50)
  154. CoolDown1Frame.Position = UDim2.new(0,0,0,0)
  155. CoolDown1Frame.BackgroundTransparency = 0.5
  156. CoolDown1Frame.BackgroundColor3 = BrickColor.White().Color
  157.  
  158. local CoolDown1Bar = Instance.new("Frame", CoolDown1Frame)
  159. CoolDown1Bar.Name = "CoolDown1Bar"
  160. CoolDown1Bar.Size = UDim2.new(0,80,0,50)
  161. CoolDown1Bar.Position = UDim2.new(0,0,0,0)
  162. CoolDown1Bar.BackgroundColor3 = BrickColor.DarkGray().Color
  163.  
  164. local CoolDown1Text = Instance.new("TextLabel", CoolDown1Frame)
  165. CoolDown1Text.Name = "CoolDown1Text"
  166. CoolDown1Text.Size = UDim2.new(0,80,0,50)
  167. CoolDown1Text.Position = UDim2.new(0,0,0,0)
  168. CoolDown1Text.BackgroundTransparency = 1
  169. CoolDown1Text.TextScaled = true
  170. CoolDown1Text.Text = "Z - Shot combo"
  171. CoolDown1Text.TextStrokeTransparency = 0
  172. CoolDown1Text.TextStrokeColor3 = Color3.new(1,1,1)
  173. CoolDown1Text.TextColor3 = Color3.new(0,0,0)
  174. CoolDown1Text.Font = "SciFi"
  175.  
  176. local CoolDown2Frame = Instance.new("Frame", CoolDowns)
  177. CoolDown2Frame.Name = "CoolDown2Frame"
  178. CoolDown2Frame.Size = UDim2.new(0,80,0,50)
  179. CoolDown2Frame.Position = UDim2.new(0.55,0,0,0)
  180. CoolDown2Frame.BackgroundTransparency = 0.5
  181. CoolDown2Frame.BackgroundColor3 = BrickColor.White().Color
  182.  
  183. local CoolDown2Bar = Instance.new("Frame", CoolDown2Frame)
  184. CoolDown2Bar.Name = "CoolDown2Bar"
  185. CoolDown2Bar.Size = UDim2.new(0,80,0,50)
  186. CoolDown2Bar.Position = UDim2.new(0,0,0,0)
  187. CoolDown2Bar.BackgroundColor3 = BrickColor.DarkGray().Color
  188.  
  189. local CoolDown2Text = Instance.new("TextLabel", CoolDown2Frame)
  190. CoolDown2Text.Name = "CoolDown2Text"
  191. CoolDown2Text.Size = UDim2.new(0,80,0,50)
  192. CoolDown2Text.Position = UDim2.new(0,0,0,0)
  193. CoolDown2Text.BackgroundTransparency = 1
  194. CoolDown2Text.TextScaled = true
  195. CoolDown2Text.Text = "X - Back jump"
  196. CoolDown2Text.TextStrokeTransparency = 0
  197. CoolDown2Text.TextStrokeColor3 = Color3.new(1,1,1)
  198. CoolDown2Text.TextColor3 = Color3.new(0,0,0)
  199. CoolDown2Text.Font = "SciFi"
  200.  
  201. local CoolDown3Frame = Instance.new("Frame", CoolDowns)
  202. CoolDown3Frame.Name = "CoolDown3Frame"
  203. CoolDown3Frame.Size = UDim2.new(0,80,0,50)
  204. CoolDown3Frame.Position = UDim2.new(0,0,0.4,0)
  205. CoolDown3Frame.BackgroundTransparency = 0.5
  206. CoolDown3Frame.BackgroundColor3 = BrickColor.White().Color
  207.  
  208. local CoolDown3Bar = Instance.new("Frame", CoolDown3Frame)
  209. CoolDown3Bar.Name = "CoolDown3Bar"
  210. CoolDown3Bar.Size = UDim2.new(0,80,0,50)
  211. CoolDown3Bar.Position = UDim2.new(0,0,0,0)
  212. CoolDown3Bar.BackgroundColor3 = BrickColor.DarkGray().Color
  213.  
  214. local CoolDown3Text = Instance.new("TextLabel", CoolDown3Frame)
  215. CoolDown3Text.Name = "CoolDown3Text"
  216. CoolDown3Text.Size = UDim2.new(0,80,0,50)
  217. CoolDown3Text.Position = UDim2.new(0,0,0,0)
  218. CoolDown3Text.BackgroundTransparency = 1
  219. CoolDown3Text.TextScaled = true
  220. CoolDown3Text.Text = "C - Lighting shot"
  221. CoolDown3Text.TextStrokeTransparency = 0
  222. CoolDown3Text.TextStrokeColor3 = Color3.new(1,1,1)
  223. CoolDown3Text.TextColor3 = Color3.new(0,0,0)
  224. CoolDown3Text.Font = "SciFi"
  225.  
  226.  
  227. local CoolDown4Frame = Instance.new("Frame", CoolDowns)
  228. CoolDown4Frame.Name = "CoolDown4Frame"
  229. CoolDown4Frame.Size = UDim2.new(0,80,0,50)
  230. CoolDown4Frame.Position = UDim2.new(0.55,0,0.4,0)
  231. CoolDown4Frame.BackgroundTransparency = 0.5
  232. CoolDown4Frame.BackgroundColor3 = BrickColor.White().Color
  233.  
  234. local CoolDown4Bar = Instance.new("Frame", CoolDown4Frame)
  235. CoolDown4Bar.Name = "CoolDown4Bar"
  236. CoolDown4Bar.Size = UDim2.new(0,80,0,50)
  237. CoolDown4Bar.Position = UDim2.new(0,0,0,0)
  238. CoolDown4Bar.BackgroundColor3 = BrickColor.DarkGray().Color
  239.  
  240. local CoolDown4Text = Instance.new("TextLabel", CoolDown4Frame)
  241. CoolDown4Text.Name = "CoolDown4Text"
  242. CoolDown4Text.Size = UDim2.new(0,80,0,50)
  243. CoolDown4Text.Position = UDim2.new(0,0,0,0)
  244. CoolDown4Text.BackgroundTransparency = 1
  245. CoolDown4Text.TextScaled = true
  246. CoolDown4Text.Text = "V - Overshot"
  247. CoolDown4Text.TextStrokeTransparency = 0
  248. CoolDown4Text.TextStrokeColor3 = Color3.new(1,1,1)
  249. CoolDown4Text.TextColor3 = Color3.new(0,0,0)
  250. CoolDown4Text.Font = "SciFi"
  251.  
  252. local CoolDownEFrame = Instance.new("Frame", CoolDowns)
  253. CoolDownEFrame.Name = "CoolDownEFrame"
  254. CoolDownEFrame.Size = UDim2.new(0,180,0,50)
  255. CoolDownEFrame.Position = UDim2.new(0,0,0.74,0)
  256. CoolDownEFrame.BackgroundTransparency = 0.5
  257. CoolDownEFrame.BackgroundColor3 = BrickColor.White().Color
  258.  
  259. local CoolDownEBar = Instance.new("Frame", CoolDownEFrame)
  260. CoolDownEBar.Name = "CoolDownEBar"
  261. CoolDownEBar.Size = UDim2.new(0,180,0,50)
  262. CoolDownEBar.Position = UDim2.new(0,0,0,0)
  263. CoolDownEBar.BackgroundColor3 = BrickColor.DarkGray().Color
  264.  
  265. local CoolDownEText = Instance.new("TextLabel", CoolDownEFrame)
  266. CoolDownEText.Name = "CoolDownEText"
  267. CoolDownEText.Size = UDim2.new(0,180,0,50)
  268. CoolDownEText.Position = UDim2.new(0,0,0,0)
  269. CoolDownEText.BackgroundTransparency = 1
  270. CoolDownEText.TextScaled = true
  271. CoolDownEText.Text = "E - Shoot"
  272. CoolDownEText.TextStrokeTransparency = 0
  273. CoolDownEText.TextStrokeColor3 = Color3.new(1,1,1)
  274. CoolDownEText.TextColor3 = Color3.new(0,0,0)
  275. CoolDownEText.Font = "SciFi"
  276.  
  277.  
  278. WalkSpeed = Humanoid.WalkSpeed
  279. Health = Humanoid.Health
  280. MaxHealth = Humanoid.MaxHealth
  281.  
  282. --------[[ Mesh Ids ]]--------
  283.  
  284. SpikeMeshId = 1033714
  285. SpikeBallId = 9982590
  286. StarMeshId = 45428961
  287. CrystalMeshId = 9756362
  288.  
  289.  
  290. --------[[ Functions ]]--------
  291.  
  292. function NoOutlines(Part)
  293. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  294. end
  295.  
  296.  
  297. local CreatePart = function(Parent, Name, Color, Size, Material, Transparency, Shape)
  298.  
  299. local Part = Instance.new("Part", Parent)
  300. Part.Name = Name
  301. Part.BrickColor = BrickColor.new(Color)
  302. Part.Size = Size
  303. Part.Material = Material
  304. Part.Transparency = Transparency
  305. Part.Shape = Shape
  306. Part.CanCollide = false
  307. NoOutlines(Part)
  308.  
  309. return Part
  310.  
  311. end
  312.  
  313. local CreateBlockMesh = function(Parent, Scale)
  314.  
  315.  
  316. local Mesh = Instance.new("BlockMesh", Parent)
  317. Mesh.Scale = Scale
  318.  
  319. return Mesh
  320.  
  321. end
  322.  
  323. local CreateCylinderMesh = function(Parent, Scale)
  324.  
  325.  
  326. local Mesh = Instance.new("CylinderMesh", Parent)
  327. Mesh.Scale = Scale
  328.  
  329. return Mesh
  330.  
  331. end
  332.  
  333. local CreateWedgeMesh = function(Parent, Scale)
  334.  
  335.  
  336. local Mesh = Instance.new("SpecialMesh", Parent)
  337. Mesh.MeshType = "Wedge"
  338. Mesh.Scale = Scale
  339.  
  340. return Mesh
  341.  
  342. end
  343.  
  344. local CreateWeld = function(Parent, Cframe, Cframe2, P1 , P0, Name)
  345.  
  346. local Weld = Instance.new("Weld", Parent)
  347. Weld.Part0 = P0
  348. Weld.Part1 = P1
  349. Weld.Name = Name
  350. Weld.C0 = Cframe
  351. Weld.C1 = Cframe2
  352.  
  353. return Weld
  354.  
  355. end
  356.  
  357. local CreateCrystal = function(Parent, Name, Color, Size, Material, Transparency, Scale)
  358.  
  359.  
  360. local Part = Instance.new("Part", Parent)
  361. Part.Name = Name
  362. Part.BrickColor = BrickColor.new(Color)
  363. Part.Size = Size
  364. Part.Material = Material
  365. Part.Transparency = Transparency
  366. Part.CanCollide = false
  367. NoOutlines(Part)
  368.  
  369. local Mesh = Instance.new("SpecialMesh", Part)
  370. Mesh.MeshId = "http://www.roblox.com/asset?id=" .. CrystalMeshId
  371. Mesh.Scale = Scale
  372.  
  373. return Mesh and Part
  374.  
  375. end
  376.  
  377. local CreateSpike = function(Parent, Name, Color, Size, Material, Transparency, Scale)
  378.  
  379.  
  380. local Part = Instance.new("Part", Parent)
  381. Part.Name = Name
  382. Part.BrickColor = BrickColor.new(Color)
  383. Part.Size = Size
  384. Part.Material = Material
  385. Part.Transparency = Transparency
  386. Part.CanCollide = false
  387. NoOutlines(Part)
  388.  
  389. local Mesh = Instance.new("SpecialMesh", Part)
  390. Mesh.MeshId = "http://www.roblox.com/asset?id=" .. SpikeMeshId
  391. Mesh.Scale = Scale
  392.  
  393. return Mesh and Part
  394.  
  395. end
  396.  
  397. local CreateBlockMeshedPart = function(Parent, Name, Color, Size, Material, Transparency, Scale)
  398.  
  399.  
  400. local Part = Instance.new("Part", Parent)
  401. Part.Name = Name
  402. Part.BrickColor = BrickColor.new(Color)
  403. Part.Size = Size
  404. Part.Material = Material
  405. Part.Transparency = Transparency
  406. Part.CanCollide = false
  407. NoOutlines(Part)
  408.  
  409.  
  410. local Mesh = Instance.new("BlockMesh", Part)
  411. Mesh.Scale = Scale
  412.  
  413. return Mesh and Part
  414.  
  415. end
  416.  
  417.  
  418. local CreateVelocity = function(Parent,Velocity,Force)
  419. local BodyVelocity = Instance.new("BodyVelocity", Parent)
  420. BodyVelocity.Velocity = Velocity
  421. BodyVelocity.MaxForce = Force
  422.  
  423.  
  424.  
  425. return BodyVelocity
  426.  
  427. end
  428.  
  429. local MakeSFX = function(Parent, Id, Volume, Pitch)
  430.  
  431. local SFX = Instance.new("Sound", Parent)
  432. SFX.SoundId = "http://www.roblox.com/asset?id=" .. Id
  433. SFX.Name = "SFX"
  434. SFX:Play()
  435. SFX.Volume = Volume
  436. SFX.Pitch = Pitch
  437. SFX.PlayOnRemove = true
  438. SFX:Remove()
  439.  
  440. end
  441.  
  442.  
  443.  
  444.  
  445. CircleEffect = function(Position, Parent, DX, DY, DZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
  446.  
  447. local Part = Instance.new("Part", Parent)
  448. Part.Transparency = Transparency
  449. Part.Name = "CircleEffect"
  450. Part.Size = Vector3.new()
  451. Part.Anchored = true
  452. Part.CanCollide = false
  453. Part.Position = Position
  454. Part.BrickColor = BrickColor.new(Brickcolor)
  455. Part.Material = Material
  456. NoOutlines(Part)
  457.  
  458. local Mesh = Instance.new("SpecialMesh", Part)
  459. Mesh.MeshType = "Sphere"
  460. Mesh.Scale = Vector3.new(DX,DY,DZ)
  461.  
  462. Services.Debris:AddItem(Part, Time)
  463.  
  464.  
  465. table.insert(Effects, {Part, "Circle", Time, SX, SY, SZ})
  466.  
  467. return Part
  468.  
  469. end
  470.  
  471. CylinderEffect = function(Position, Parent, DX, DY, DZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
  472.  
  473. local Part = Instance.new("Part", Parent)
  474. Part.Transparency = Transparency
  475. Part.Name = "CylinderEffect"
  476. Part.Size = Vector3.new()
  477. Part.Anchored = true
  478. Part.CanCollide = false
  479. Part.Position = Position
  480. Part.BrickColor = BrickColor.new(Brickcolor)
  481. Part.Material = Material
  482. NoOutlines(Part)
  483.  
  484. local Mesh = Instance.new("SpecialMesh", Part)
  485. Mesh.MeshType = "Cylinder"
  486. Mesh.Scale = Vector3.new(DX,DY,DZ)
  487.  
  488. Services.Debris:AddItem(Part, Time)
  489.  
  490.  
  491. table.insert(Effects, {Part, "Cylinder", Time, SX, SY, SZ})
  492.  
  493.  
  494. end
  495.  
  496. function Lightning(p0,p1,tym,ofs,col,th,tra,last , SX, SY, SZ) -- yea i copy dis, it doenst matter anyways , everyone copy fenrier's thingies y not 1 time?
  497. local magz = (p0 - p1).magnitude local curpos = p0 local trz = {-ofs,ofs}
  498. for i=1,tym do
  499. local li = Instance.new("Part",workspace) li.TopSurface =0 li.BottomSurface = 0 li.Anchored = true li.Transparency = tra or 0.4 li.BrickColor = BrickColor.new(col)
  500. li.formFactor = "Custom" li.CanCollide = false li.Size = Vector3.new(th,th,magz/tym) local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  501. local Part = li
  502. local Mesh = Instance.new("BlockMesh", Part)
  503. Mesh.Scale = Vector3.new(1, 1, 1)
  504.  
  505. table.insert(Effects, {Part, "Lightning", tym, SX, SY, SZ})
  506. local trolpos = CFrame.new(curpos,p1)*CFrame.new(0,0,magz/tym).p+ofz
  507. if tym == i then
  508. local magz2 = (curpos - p1).magnitude li.Size = Vector3.new(th,th,magz2)
  509. li.CFrame = CFrame.new(curpos,p1)*CFrame.new(0,0,-magz2/2)
  510. else
  511. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/tym/2)
  512. end
  513. curpos = li.CFrame*CFrame.new(0,0,magz/tym/2).p game.Debris:AddItem(li,last)
  514. end
  515.  
  516.  
  517. end
  518.  
  519.  
  520. BlockEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
  521.  
  522. local Part = Instance.new("Part", Parent)
  523. Part.Transparency = Transparency
  524. Part.Name = "BlockEffect"
  525. Part.Size = Vector3.new()
  526. Part.Anchored = true
  527. Part.Position = Position
  528. Part.CanCollide = false
  529. Part.BrickColor = BrickColor.new(Brickcolor)
  530. Part.Material = Material
  531. NoOutlines(Part)
  532.  
  533. local Mesh = Instance.new("BlockMesh", Part)
  534. Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
  535.  
  536. Services.Debris:AddItem(Part, Time)
  537.  
  538. table.insert(Effects, {Part, "Block", Time, SX, SY, SZ})
  539.  
  540.  
  541. end
  542.  
  543. WaveEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
  544.  
  545. local Part = Instance.new("Part", Parent)
  546. Part.Transparency = Transparency
  547. Part.Name = "WaveEffect"
  548. Part.Size = Vector3.new()
  549. Part.Anchored = true
  550. Part.Position = Position
  551. Part.CanCollide = false
  552. Part.BrickColor = BrickColor.new(Brickcolor)
  553. Part.Material = Material
  554. NoOutlines(Part)
  555.  
  556. local Mesh = Instance.new("SpecialMesh", Part)
  557. Mesh.MeshId = "http://www.roblox.com/asset?id=20329976"
  558. Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
  559.  
  560. Services.Debris:AddItem(Part, Time)
  561.  
  562. table.insert(Effects, {Part, "Wave", Time, SX, SY, SZ})
  563.  
  564.  
  565. end
  566.  
  567. function Shot(Part)
  568. local HitPart = CircleEffect(Mouse.Hit.p, Services.Workspace, 1, 1, 1, 1, 1, 1, 10, "Bright yellow", "Neon", 0.5)
  569. CircleEffect(Mouse.Hit.p, Services.Workspace, 1, 1, 1, 0.5, 0.5, 0.5, 10, "CGA brown", "Neon", 0)
  570. CircleEffect(Part.Position, Services.Workspace, 1, 1, 1, 1, 1, 1, 10, "Bright yellow", "Neon", 0.5)
  571. CircleEffect(Part.Position, Services.Workspace, 1, 1, 1, 0.5, 0.5, 0.5, 10, "CGA brown", "Neon", 0)
  572. MakeSFX(Part, 203691885, 1, 1)
  573. ValidateDamage(HitPart, 3, 4, 5, "Ranged", "Penetration", 5)
  574. end
  575.  
  576. function LightShot(Part)
  577. local HitPart = CircleEffect(Mouse.Hit.p, Services.Workspace, 0, 0, 0, 0, 0, 0, 10, "Bright yellow", "Neon", 0)
  578.  
  579.  
  580. Lightning(Part.Position, HitPart.Position, 5, 1, "Bright yellow", 0.05, 0.4, 10,0.01,0.01,0.01)
  581.  
  582. MakeSFX(Part, 203691378, 1, 1)
  583. ValidateDamage(HitPart, 3, 6, 10, "Ranged", "Penetration", 5)
  584. end
  585.  
  586.  
  587. --[[ Ultra Calibers ]]--
  588. Caliber1 = Instance.new("Model", Character)
  589. Caliber1.Name = "Caliber1"
  590.  
  591. local Handle1 = CreatePart(Caliber1, "Handle", "Medium stone grey", Vector3.new(1.139, 0.352, 0.329), "Metal", 0, "Block")
  592. Handle1Mesh = CreateBlockMesh(Handle1, Vector3.new(1, 1, 0.856))
  593. local Part1 = CreatePart(Caliber1, "Part1", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  594. Part1Mesh = CreateBlockMesh(Part1, Vector3.new(0.385, 0.749, 0.856))
  595. local Part2 = CreatePart(Caliber1, "Part2", "Dark stone grey", Vector3.new(1.877, 0.397, 0.329), "Metal", 0, "Block")
  596. Part2Mesh = CreateBlockMesh(Part2, Vector3.new(1, 1, 1.112))
  597. local Part3 = CreatePart(Caliber1, "Part3", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  598. Part3Mesh = CreateBlockMesh(Part3, Vector3.new(0.543, 0.924, 0.856))
  599. local Part4 = CreatePart(Caliber1, "Part4", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  600. Part4Mesh = CreateBlockMesh(Part4, Vector3.new(0.862, 0.541, 0.299))
  601. local Part5 = CreatePart(Caliber1, "Part5", "Dark stone grey", Vector3.new(0.345, 0.329, 0.329), "Metal", 0, "Block")
  602. Part5Mesh = CreateBlockMesh(Part5, Vector3.new(1, 0.986, 0.727))
  603. local Part6 = CreatePart(Caliber1, "Part6", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  604. Part6Mesh = CreateBlockMesh(Part6, Vector3.new(0.541, 0.37, 0.856))
  605. local Part7 = CreatePart(Caliber1, "Part7", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  606. Part7Mesh = CreateBlockMesh(Part7, Vector3.new(0.276, 0.37, 0.856))
  607. local Part8 = CreatePart(Caliber1, "Part8", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  608. Part8Mesh = CreateBlockMesh(Part8, Vector3.new(0.276, 0.37, 0.856))
  609. local Part9 = CreatePart(Caliber1, "Part9", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  610. Part9Mesh = CreateBlockMesh(Part9, Vector3.new(0.276, 0.37, 0.856))
  611. local Part10 = CreatePart(Caliber1, "Part10", "Medium stone grey", Vector3.new(0.357, 0.329, 0.329), "Metal", 0, "Block")
  612. Part10Mesh = CreateBlockMesh(Part10, Vector3.new(1, 0.37, 0.856))
  613. local Part11 = CreatePart(Caliber1, "Part11", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  614. Part11Mesh = CreateBlockMesh(Part11, Vector3.new(0.995, 0.302, 0.699))
  615. local Part12 = CreatePart(Caliber1, "Part12", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  616. Part12Mesh = CreateBlockMesh(Part12, Vector3.new(0.347, 0.37, 0.684))
  617. local Part13 = CreatePart(Caliber1, "Part13", "Medium stone grey", Vector3.new(0.827, 0.352, 0.329), "Metal", 0, "Block")
  618. Part13Mesh = CreateBlockMesh(Part13, Vector3.new(1, 1, 0.573))
  619. local Part14 = CreatePart(Caliber1, "Part14", "Medium stone grey", Vector3.new(0.364, 0.351, 0.329), "Metal", 0, "Block")
  620. Part14Mesh = CreateBlockMesh(Part14, Vector3.new(1, 1, 0.573))
  621. local Part15 = CreatePart(Caliber1, "Part15", "Dark stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  622. Part15Mesh = CreateBlockMesh(Part15, Vector3.new(0.789, 0.272, 0.727))
  623. local Part16 = CreatePart(Caliber1, "Part16", "Medium stone grey", Vector3.new(1.229, 0.618, 0.329), "Metal", 0, "Block")
  624. Part16Mesh = CreateBlockMesh(Part16, Vector3.new(1, 1, 0.856))
  625. local Part17 = CreatePart(Caliber1, "Part17", "Medium stone grey", Vector3.new(0.86, 0.531, 0.329), "Metal", 0, "Block")
  626. Part17Mesh = CreateBlockMesh(Part17, Vector3.new(1, 1, 0.856))
  627. local Part18 = CreatePart(Caliber1, "Part18", "Medium stone grey", Vector3.new(0.414, 0.329, 0.329), "Metal", 0, "Block")
  628. Part18Mesh = CreateBlockMesh(Part18, Vector3.new(1, 0.265, 0.856))
  629. local Part19 = CreatePart(Caliber1, "Part19", "Medium stone grey", Vector3.new(0.528, 0.329, 0.329), "Metal", 0, "Block")
  630. Part19Mesh = CreateBlockMesh(Part19, Vector3.new(1, 0.263, 0.856))
  631. local Part20 = CreatePart(Caliber1, "Part20", "Dark stone grey", Vector3.new(1.173, 0.576, 0.329), "Metal", 0, "Block")
  632. Part20Mesh = CreateBlockMesh(Part20, Vector3.new(1, 1, 0.727))
  633. local Part21 = CreatePart(Caliber1, "Part21", "Really black", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  634. Part21Mesh = CreateBlockMesh(Part21, Vector3.new(0.086, 0.188, 1.121))
  635. local Part22 = CreatePart(Caliber1, "Part22", "Dark stone grey", Vector3.new(0.52, 0.329, 0.329), "Metal", 0, "Block")
  636. Part22Mesh = CreateBlockMesh(Part22, Vector3.new(1, 0.575, 1.112))
  637. local Part23 = CreatePart(Caliber1, "Part23", "Dark stone grey", Vector3.new(0.731, 0.329, 0.329), "Metal", 0, "Block")
  638. Part23Mesh = CreateBlockMesh(Part23, Vector3.new(1, 0.702, 1.112))
  639. local Part24 = CreatePart(Caliber1, "Part24", "Institutional white", Vector3.new(0.369, 0.329, 0.329), "Neon", 0, "Block")
  640. Part24Mesh = CreateBlockMesh(Part24, Vector3.new(1, 0.109, 1.129))
  641. local Part25 = CreatePart(Caliber1, "Part25", "Dark stone grey", Vector3.new(0.366, 0.626, 0.329), "Metal", 0, "Block")
  642. Part25Mesh = CreateWedgeMesh(Part25, Vector3.new(1, 1, 0.169))
  643. local Part26 = CreatePart(Caliber1, "Part26", "Really black", Vector3.new(0.419, 0.329, 0.329), "Metal", 0, "Block")
  644. Part26Mesh = CreateBlockMesh(Part26, Vector3.new(1, 0.188, 1.121))
  645. local Part27 = CreatePart(Caliber1, "Part27", "Dark stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  646. Part27Mesh = CreateBlockMesh(Part27, Vector3.new(0.841, 0.939, 0.442))
  647. local Part28 = CreatePart(Caliber1, "Part28", "Dark stone grey", Vector3.new(0.378, 0.378, 0.329), "Metal", 0, "Block")
  648. Part28Mesh = CreateCylinderMesh(Part28, Vector3.new(1, 1, 0.877))
  649. local Part29 = CreatePart(Caliber1, "Part29", "Really black", Vector3.new(0.378, 0.378, 0.329), "Metal", 0, "Block")
  650. Part29Mesh = CreateCylinderMesh(Part29, Vector3.new(1, 1.01, 0.799))
  651. local Part30 = CreatePart(Caliber1, "Part30", "Really black", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  652. Part30Mesh = CreateBlockMesh(Part30, Vector3.new(0.086, 0.188, 1.121))
  653. local Part31 = CreatePart(Caliber1, "Part31", "Really black", Vector3.new(0.419, 0.329, 0.329), "Metal", 0, "Block")
  654. Part31Mesh = CreateBlockMesh(Part31, Vector3.new(1, 0.188, 1.121))
  655. local Part32 = CreatePart(Caliber1, "Part32", "Dark stone grey", Vector3.new(0.498, 0.329, 0.329), "Metal", 0, "Block")
  656. Part32Mesh = CreateBlockMesh(Part32, Vector3.new(1, 0.563, 1.112))
  657. local Part33 = CreatePart(Caliber1, "Part33", "Institutional white", Vector3.new(0.369, 0.329, 0.329), "Neon", 0, "Block")
  658. Part33Mesh = CreateBlockMesh(Part33, Vector3.new(1, 0.109, 1.129))
  659. local Part34 = CreatePart(Caliber1, "Part34", "Really black", Vector3.new(0.419, 0.329, 0.329), "Metal", 0, "Block")
  660. Part34Mesh = CreateBlockMesh(Part34, Vector3.new(1, 0.188, 1.121))
  661. local Part35 = CreatePart(Caliber1, "Part35", "Really black", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  662. Part35Mesh = CreateBlockMesh(Part35, Vector3.new(0.086, 0.188, 1.121))
  663. local Part36 = CreatePart(Caliber1, "Part36", "Really black", Vector3.new(0.419, 0.329, 0.329), "Metal", 0, "Block")
  664. Part36Mesh = CreateBlockMesh(Part36, Vector3.new(1, 0.188, 1.121))
  665. local Part37 = CreatePart(Caliber1, "Part37", "Dark stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  666. Part37Mesh = CreateBlockMesh(Part37, Vector3.new(0.535, 0.787, 1.112))
  667. local Part38 = CreatePart(Caliber1, "Part38", "Dark stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  668. Part38Mesh = CreateBlockMesh(Part38, Vector3.new(0.086, 0.188, 1.121))
  669. local Part39 = CreatePart(Caliber1, "Part39", "Institutional white", Vector3.new(0.369, 0.329, 0.329), "Neon", 0, "Block")
  670. Part39Mesh = CreateBlockMesh(Part39, Vector3.new(1, 0.109, 1.129))
  671. local Part40 = CreatePart(Caliber1, "Part40", "Institutional white", Vector3.new(0.369, 0.329, 0.329), "Neon", 0, "Block")
  672. Part40Mesh = CreateBlockMesh(Part40, Vector3.new(1, 0.109, 1.129))
  673.  
  674. Barrel1 = Part29
  675.  
  676. Handle1Weld = CreateWeld(Handle1, CFrame.new(0,-1,0) * CFrame.Angles(0,1.57,0), CFrame.new(0,0,0), Handle1, Right_Arm, "HandleToRightArm")
  677. Part1Weld = CreateWeld(Part1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.60303497, 1.47352028, -3.81469727e-006, 0.965926528, -0.25881663, 0, 0.25881663, 0.965926528, 0, 0, 0, 1), Part1, Handle1, "Part1ToHandle")
  678. Part2Weld = CreateWeld(Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.41836548, -0.489547729, 0, 0.499999017, -0.866026163, 0, 0.866026163, 0.499999017, 0, 0, 0, 1), Part2, Handle1, "Part2ToHandle")
  679. Part3Weld = CreateWeld(Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.49446106, -0.284858704, 0, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part3, Handle1, "Part3ToHandle")
  680. Part4Weld = CreateWeld(Part4, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00104904175, 0.495059967, 0.486030579, 0, 0, -1, 0.866026163, 0.499999017, 0, 0.499999017, -0.866026163, 0), Part4, Handle1, "Part4ToHandle")
  681. Part5Weld = CreateWeld(Part5, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.903556824, -0.853889465, -0.00703048706, -0.25881663, -0.965926528, -0, 0.965926528, -0.25881663, 0, 0, 0, 1), Part5, Handle1, "Part5ToHandle")
  682. Part6Weld = CreateWeld(Part6, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.261646271, 0.554660797, 3.81469727e-006, 0.99708432, 0.0763106197, 0, -0.0763106197, 0.99708432, 0, 0, 0, 1), Part6, Handle1, "Part6ToHandle")
  683. Part7Weld = CreateWeld(Part7, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.23777771, 0.51366806, 0, 0.994569063, -0.104082122, 0, 0.104082122, 0.994569063, 0, 0, 0, 1), Part7, Handle1, "Part7ToHandle")
  684. Part8Weld = CreateWeld(Part8, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.276947021, 0.451875687, 0, 0.942421615, -0.334427655, 0, 0.334427595, 0.942421615, 0, 0, 0, 1), Part8, Handle1, "Part8ToHandle")
  685. Part9Weld = CreateWeld(Part9, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.327682495, 0.358730316, 0, 0.801670432, -0.597766697, 0, 0.597766697, 0.801670432, 0, 0, 0, 1), Part9, Handle1, "Part9ToHandle")
  686. Part10Weld = CreateWeld(Part10, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.280105591, 0.15290451, 0, 0.381983012, -0.924169481, 0, 0.924169481, 0.381983012, 0, 0, 0, 1), Part10, Handle1, "Part10ToHandle")
  687. Part11Weld = CreateWeld(Part11, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.202186584, 0.23966217, -0.000347137451, 0.381983012, -0.924169481, 0, 0.924169481, 0.381983012, 0, 0, 0, 1), Part11, Handle1, "Part11ToHandle")
  688. Part12Weld = CreateWeld(Part12, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.110679626, 0.400859833, 3.81469727e-006, 0.923589706, -0.383382916, 0, 0.383382916, 0.923589706, 0, 0, 0, 1), Part12, Handle1, "Part12ToHandle")
  689. Part13Weld = CreateWeld(Part13, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.151382446, -0.507144928, 0.00210952759, 0.491765201, -0.870728254, 0, 0.870728254, 0.491765201, 0, 0, 0, 1), Part13, Handle1, "Part13ToHandle")
  690. Part14Weld = CreateWeld(Part14, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.20772171, 0.338977814, 0.00210952759, -0.00877001509, 0.999961674, 0, -0.999961674, -0.00877001509, 0, 0, 0, 1), Part14, Handle1, "Part14ToHandle")
  691. Part15Weld = CreateWeld(Part15, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.632392883, -0.913993835, -0.00703048706, -0.529292822, -0.848439395, -0, 0.848439395, -0.529292822, 0, 0, 0, 1), Part15, Handle1, "Part15ToHandle")
  692. Part16Weld = CreateWeld(Part16, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.6075592, -0.270458221, 0, 0.499999017, -0.866026163, 0, 0.866026163, 0.499999017, 0, 0, 0, 1), Part16, Handle1, "Part16ToHandle")
  693. Part17Weld = CreateWeld(Part17, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.566223145, -0.314067841, 0, 0.499999017, -0.866026163, 0, 0.866026163, 0.499999017, 0, 0, 0, 1), Part17, Handle1, "Part17ToHandle")
  694. Part18Weld = CreateWeld(Part18, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.323228836, -0.883232117, 0, -0.499998778, -0.866026282, -0, 0.866026282, -0.499998778, 0, 0, 0, 1), Part18, Handle1, "Part18ToHandle")
  695. Part19Weld = CreateWeld(Part19, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.314693451, 2.26445007, -3.81469727e-006, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part19, Handle1, "Part19ToHandle")
  696. Part20Weld = CreateWeld(Part20, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.60757446, -0.236690521, -0.00703430176, 0.499999017, -0.866026163, 0, 0.866026163, 0.499999017, 0, 0, 0, 1), Part20, Handle1, "Part20ToHandle")
  697. Part21Weld = CreateWeld(Part21, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.08020401, 2.12657166, -3.81469727e-006, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part21, Handle1, "Part21ToHandle")
  698. Part22Weld = CreateWeld(Part22, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.574867249, 0.163562775, 0, 1.00000024, 0, 0, 0, 1.00000024, 0, 0, 0, 1), Part22, Handle1, "Part22ToHandle")
  699. Part23Weld = CreateWeld(Part23, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.99020386, -0.177051544, 0, 0.499999017, -0.866026163, 0, 0.866026163, 0.499999017, 0, 0, 0, 1), Part23, Handle1, "Part23ToHandle")
  700. Part24Weld = CreateWeld(Part24, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.201562881, 1.91455841, 0, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part24, Handle1, "Part24ToHandle")
  701. Part25Weld = CreateWeld(Part25, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000183105469, 0.375644684, 2.38105011, 0, 0, -1, -0.866346598, -0.49944365, 0, -0.49944365, 0.866346598, 0), Part25, Handle1, "Part25ToHandle")
  702. Part26Weld = CreateWeld(Part26, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.2569561, 2.07778931, -3.81469727e-006, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part26, Handle1, "Part26ToHandle")
  703. Part27Weld = CreateWeld(Part27, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.99460602, 0.744857788, -0.00316238403, 0.927193999, -0.374582142, 0, 0.374582142, 0.927193999, 0, 0, 0, 1), Part27, Handle1, "Part27ToHandle")
  704. Part28Weld = CreateWeld(Part28, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.485691071, 2.30821228, -0.00871658325, -0.866026163, -0.499999017, -0, -0.499999017, 0.866026163, 0, 0, 0, -1), Part28, Handle1, "Part28ToHandle")
  705. Part29Weld = CreateWeld(Part29, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.486751556, 2.30821991, -0.00660705566, -0.866026163, -0.499999017, -0, -0.499999017, 0.866026163, 0, 0, 0, -1), Part29, Handle1, "Part29ToHandle")
  706. Part30Weld = CreateWeld(Part30, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0759849548, 1.79244995, 0, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part30, Handle1, "Part30ToHandle")
  707. Part31Weld = CreateWeld(Part31, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.296571732, 2.22372437, -3.81469727e-006, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part31, Handle1, "Part31ToHandle")
  708. Part32Weld = CreateWeld(Part32, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.112157822, -1.67666626, 0, -0.707104385, -0.707109571, -0, 0.707109571, -0.707104385, 0, 0, 0, 1), Part32, Handle1, "Part32ToHandle")
  709. Part33Weld = CreateWeld(Part33, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.246152878, 2.07009888, -3.81469727e-006, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part33, Handle1, "Part33ToHandle")
  710. Part34Weld = CreateWeld(Part34, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.174539566, 1.7539978, 0, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part34, Handle1, "Part34ToHandle")
  711. Part35Weld = CreateWeld(Part35, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0797309875, 2.27779388, -3.81469727e-006, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part35, Handle1, "Part35ToHandle")
  712. Part36Weld = CreateWeld(Part36, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.217325211, 1.92167664, 0, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part36, Handle1, "Part36ToHandle")
  713. Part37Weld = CreateWeld(Part37, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0207366943, 0.521255493, 3.81469727e-006, 0.405499339, 0.914095461, 0, -0.914095461, 0.405499339, 0, 0, 0, 1), Part37, Handle1, "Part37ToHandle")
  714. Part38Weld = CreateWeld(Part38, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0781059265, 1.96547699, 0, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part38, Handle1, "Part38ToHandle")
  715. Part39Weld = CreateWeld(Part39, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.2856884, 2.21749115, -3.81469727e-006, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part39, Handle1, "Part39ToHandle")
  716. Part40Weld = CreateWeld(Part40, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.157697678, 1.74642944, 0, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part40, Handle1, "Part40ToHandle")
  717.  
  718. Caliber2 = Instance.new("Model", Character)
  719. Caliber2.Name = "Caliber2"
  720.  
  721. local Handle2 = CreatePart(Caliber2, "Handle", "Medium stone grey", Vector3.new(1.139, 0.352, 0.329), "Metal", 0, "Block")
  722. Handle2Mesh = CreateBlockMesh(Handle2, Vector3.new(1, 1, 0.856))
  723. local Part1 = CreatePart(Caliber2, "Part1", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  724. Part1Mesh = CreateBlockMesh(Part1, Vector3.new(0.385, 0.749, 0.856))
  725. local Part2 = CreatePart(Caliber2, "Part2", "Dark stone grey", Vector3.new(1.877, 0.397, 0.329), "Metal", 0, "Block")
  726. Part2Mesh = CreateBlockMesh(Part2, Vector3.new(1, 1, 1.112))
  727. local Part3 = CreatePart(Caliber2, "Part3", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  728. Part3Mesh = CreateBlockMesh(Part3, Vector3.new(0.543, 0.924, 0.856))
  729. local Part4 = CreatePart(Caliber2, "Part4", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  730. Part4Mesh = CreateBlockMesh(Part4, Vector3.new(0.862, 0.541, 0.299))
  731. local Part5 = CreatePart(Caliber2, "Part5", "Dark stone grey", Vector3.new(0.345, 0.329, 0.329), "Metal", 0, "Block")
  732. Part5Mesh = CreateBlockMesh(Part5, Vector3.new(1, 0.986, 0.727))
  733. local Part6 = CreatePart(Caliber2, "Part6", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  734. Part6Mesh = CreateBlockMesh(Part6, Vector3.new(0.541, 0.37, 0.856))
  735. local Part7 = CreatePart(Caliber2, "Part7", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  736. Part7Mesh = CreateBlockMesh(Part7, Vector3.new(0.276, 0.37, 0.856))
  737. local Part8 = CreatePart(Caliber2, "Part8", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  738. Part8Mesh = CreateBlockMesh(Part8, Vector3.new(0.276, 0.37, 0.856))
  739. local Part9 = CreatePart(Caliber2, "Part9", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  740. Part9Mesh = CreateBlockMesh(Part9, Vector3.new(0.276, 0.37, 0.856))
  741. local Part10 = CreatePart(Caliber2, "Part10", "Medium stone grey", Vector3.new(0.357, 0.329, 0.329), "Metal", 0, "Block")
  742. Part10Mesh = CreateBlockMesh(Part10, Vector3.new(1, 0.37, 0.856))
  743. local Part11 = CreatePart(Caliber2, "Part11", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  744. Part11Mesh = CreateBlockMesh(Part11, Vector3.new(0.995, 0.302, 0.699))
  745. local Part12 = CreatePart(Caliber2, "Part12", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  746. Part12Mesh = CreateBlockMesh(Part12, Vector3.new(0.347, 0.37, 0.684))
  747. local Part13 = CreatePart(Caliber2, "Part13", "Medium stone grey", Vector3.new(0.827, 0.352, 0.329), "Metal", 0, "Block")
  748. Part13Mesh = CreateBlockMesh(Part13, Vector3.new(1, 1, 0.573))
  749. local Part14 = CreatePart(Caliber2, "Part14", "Medium stone grey", Vector3.new(0.364, 0.351, 0.329), "Metal", 0, "Block")
  750. Part14Mesh = CreateBlockMesh(Part14, Vector3.new(1, 1, 0.573))
  751. local Part15 = CreatePart(Caliber2, "Part15", "Dark stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  752. Part15Mesh = CreateBlockMesh(Part15, Vector3.new(0.789, 0.272, 0.727))
  753. local Part16 = CreatePart(Caliber2, "Part16", "Medium stone grey", Vector3.new(1.229, 0.618, 0.329), "Metal", 0, "Block")
  754. Part16Mesh = CreateBlockMesh(Part16, Vector3.new(1, 1, 0.856))
  755. local Part17 = CreatePart(Caliber2, "Part17", "Medium stone grey", Vector3.new(0.86, 0.531, 0.329), "Metal", 0, "Block")
  756. Part17Mesh = CreateBlockMesh(Part17, Vector3.new(1, 1, 0.856))
  757. local Part18 = CreatePart(Caliber2, "Part18", "Medium stone grey", Vector3.new(0.414, 0.329, 0.329), "Metal", 0, "Block")
  758. Part18Mesh = CreateBlockMesh(Part18, Vector3.new(1, 0.265, 0.856))
  759. local Part19 = CreatePart(Caliber2, "Part19", "Medium stone grey", Vector3.new(0.528, 0.329, 0.329), "Metal", 0, "Block")
  760. Part19Mesh = CreateBlockMesh(Part19, Vector3.new(1, 0.263, 0.856))
  761. local Part20 = CreatePart(Caliber2, "Part20", "Dark stone grey", Vector3.new(1.173, 0.576, 0.329), "Metal", 0, "Block")
  762. Part20Mesh = CreateBlockMesh(Part20, Vector3.new(1, 1, 0.727))
  763. local Part21 = CreatePart(Caliber2, "Part21", "Really black", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  764. Part21Mesh = CreateBlockMesh(Part21, Vector3.new(0.086, 0.188, 1.121))
  765. local Part22 = CreatePart(Caliber2, "Part22", "Dark stone grey", Vector3.new(0.52, 0.329, 0.329), "Metal", 0, "Block")
  766. Part22Mesh = CreateBlockMesh(Part22, Vector3.new(1, 0.575, 1.112))
  767. local Part23 = CreatePart(Caliber2, "Part23", "Dark stone grey", Vector3.new(0.731, 0.329, 0.329), "Metal", 0, "Block")
  768. Part23Mesh = CreateBlockMesh(Part23, Vector3.new(1, 0.702, 1.112))
  769. local Part24 = CreatePart(Caliber2, "Part24", "Institutional white", Vector3.new(0.369, 0.329, 0.329), "Neon", 0, "Block")
  770. Part24Mesh = CreateBlockMesh(Part24, Vector3.new(1, 0.109, 1.129))
  771. local Part25 = CreatePart(Caliber2, "Part25", "Dark stone grey", Vector3.new(0.366, 0.626, 0.329), "Metal", 0, "Block")
  772. Part25Mesh = CreateWedgeMesh(Part25, Vector3.new(1, 1, 0.169))
  773. local Part26 = CreatePart(Caliber2, "Part26", "Really black", Vector3.new(0.419, 0.329, 0.329), "Metal", 0, "Block")
  774. Part26Mesh = CreateBlockMesh(Part26, Vector3.new(1, 0.188, 1.121))
  775. local Part27 = CreatePart(Caliber2, "Part27", "Dark stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  776. Part27Mesh = CreateBlockMesh(Part27, Vector3.new(0.841, 0.939, 0.442))
  777. local Part28 = CreatePart(Caliber2, "Part28", "Dark stone grey", Vector3.new(0.378, 0.378, 0.329), "Metal", 0, "Block")
  778. Part28Mesh = CreateCylinderMesh(Part28, Vector3.new(1, 1, 0.877))
  779. local Part29 = CreatePart(Caliber2, "Part29", "Really black", Vector3.new(0.378, 0.378, 0.329), "Metal", 0, "Block")
  780. Part29Mesh = CreateCylinderMesh(Part29, Vector3.new(1, 1.01, 0.799))
  781. local Part30 = CreatePart(Caliber2, "Part30", "Really black", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  782. Part30Mesh = CreateBlockMesh(Part30, Vector3.new(0.086, 0.188, 1.121))
  783. local Part31 = CreatePart(Caliber2, "Part31", "Really black", Vector3.new(0.419, 0.329, 0.329), "Metal", 0, "Block")
  784. Part31Mesh = CreateBlockMesh(Part31, Vector3.new(1, 0.188, 1.121))
  785. local Part32 = CreatePart(Caliber2, "Part32", "Dark stone grey", Vector3.new(0.498, 0.329, 0.329), "Metal", 0, "Block")
  786. Part32Mesh = CreateBlockMesh(Part32, Vector3.new(1, 0.563, 1.112))
  787. local Part33 = CreatePart(Caliber2, "Part33", "Institutional white", Vector3.new(0.369, 0.329, 0.329), "Neon", 0, "Block")
  788. Part33Mesh = CreateBlockMesh(Part33, Vector3.new(1, 0.109, 1.129))
  789. local Part34 = CreatePart(Caliber2, "Part34", "Really black", Vector3.new(0.419, 0.329, 0.329), "Metal", 0, "Block")
  790. Part34Mesh = CreateBlockMesh(Part34, Vector3.new(1, 0.188, 1.121))
  791. local Part35 = CreatePart(Caliber2, "Part35", "Really black", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  792. Part35Mesh = CreateBlockMesh(Part35, Vector3.new(0.086, 0.188, 1.121))
  793. local Part36 = CreatePart(Caliber2, "Part36", "Really black", Vector3.new(0.419, 0.329, 0.329), "Metal", 0, "Block")
  794. Part36Mesh = CreateBlockMesh(Part36, Vector3.new(1, 0.188, 1.121))
  795. local Part37 = CreatePart(Caliber2, "Part37", "Dark stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  796. Part37Mesh = CreateBlockMesh(Part37, Vector3.new(0.535, 0.787, 1.112))
  797. local Part38 = CreatePart(Caliber2, "Part38", "Dark stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
  798. Part38Mesh = CreateBlockMesh(Part38, Vector3.new(0.086, 0.188, 1.121))
  799. local Part39 = CreatePart(Caliber2, "Part39", "Institutional white", Vector3.new(0.369, 0.329, 0.329), "Neon", 0, "Block")
  800. Part39Mesh = CreateBlockMesh(Part39, Vector3.new(1, 0.109, 1.129))
  801. local Part40 = CreatePart(Caliber2, "Part40", "Institutional white", Vector3.new(0.369, 0.329, 0.329), "Neon", 0, "Block")
  802. Part40Mesh = CreateBlockMesh(Part40, Vector3.new(1, 0.109, 1.129))
  803.  
  804. Handle2Weld = CreateWeld(Handle2, CFrame.new(0,-1,0) * CFrame.Angles(0,1.57,0), CFrame.new(0,0,0), Handle2, Left_Arm, "HandleToLeftArm")
  805. Part1Weld = CreateWeld(Part1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.60303497, 1.47352028, -3.81469727e-006, 0.965926528, -0.25881663, 0, 0.25881663, 0.965926528, 0, 0, 0, 1), Part1, Handle2, "Part1ToHandle")
  806. Part2Weld = CreateWeld(Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.41836548, -0.489547729, 0, 0.499999017, -0.866026163, 0, 0.866026163, 0.499999017, 0, 0, 0, 1), Part2, Handle2, "Part2ToHandle")
  807. Part3Weld = CreateWeld(Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.49446106, -0.284858704, 0, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part3, Handle2, "Part3ToHandle")
  808. Part4Weld = CreateWeld(Part4, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00104904175, 0.495059967, 0.486030579, 0, 0, -1, 0.866026163, 0.499999017, 0, 0.499999017, -0.866026163, 0), Part4, Handle2, "Part4ToHandle")
  809. Part5Weld = CreateWeld(Part5, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.903556824, -0.853889465, -0.00703048706, -0.25881663, -0.965926528, -0, 0.965926528, -0.25881663, 0, 0, 0, 1), Part5, Handle2, "Part5ToHandle")
  810. Part6Weld = CreateWeld(Part6, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.261646271, 0.554660797, 3.81469727e-006, 0.99708432, 0.0763106197, 0, -0.0763106197, 0.99708432, 0, 0, 0, 1), Part6, Handle2, "Part6ToHandle")
  811. Part7Weld = CreateWeld(Part7, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.23777771, 0.51366806, 0, 0.994569063, -0.104082122, 0, 0.104082122, 0.994569063, 0, 0, 0, 1), Part7, Handle2, "Part7ToHandle")
  812. Part8Weld = CreateWeld(Part8, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.276947021, 0.451875687, 0, 0.942421615, -0.334427655, 0, 0.334427595, 0.942421615, 0, 0, 0, 1), Part8, Handle2, "Part8ToHandle")
  813. Part9Weld = CreateWeld(Part9, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.327682495, 0.358730316, 0, 0.801670432, -0.597766697, 0, 0.597766697, 0.801670432, 0, 0, 0, 1), Part9, Handle2, "Part9ToHandle")
  814. Part10Weld = CreateWeld(Part10, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.280105591, 0.15290451, 0, 0.381983012, -0.924169481, 0, 0.924169481, 0.381983012, 0, 0, 0, 1), Part10, Handle2, "Part10ToHandle")
  815. Part11Weld = CreateWeld(Part11, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.202186584, 0.23966217, -0.000347137451, 0.381983012, -0.924169481, 0, 0.924169481, 0.381983012, 0, 0, 0, 1), Part11, Handle2, "Part11ToHandle")
  816. Part12Weld = CreateWeld(Part12, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.110679626, 0.400859833, 3.81469727e-006, 0.923589706, -0.383382916, 0, 0.383382916, 0.923589706, 0, 0, 0, 1), Part12, Handle2, "Part12ToHandle")
  817. Part13Weld = CreateWeld(Part13, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.151382446, -0.507144928, 0.00210952759, 0.491765201, -0.870728254, 0, 0.870728254, 0.491765201, 0, 0, 0, 1), Part13, Handle2, "Part13ToHandle")
  818. Part14Weld = CreateWeld(Part14, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.20772171, 0.338977814, 0.00210952759, -0.00877001509, 0.999961674, 0, -0.999961674, -0.00877001509, 0, 0, 0, 1), Part14, Handle2, "Part14ToHandle")
  819. Part15Weld = CreateWeld(Part15, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.632392883, -0.913993835, -0.00703048706, -0.529292822, -0.848439395, -0, 0.848439395, -0.529292822, 0, 0, 0, 1), Part15, Handle2, "Part15ToHandle")
  820. Part16Weld = CreateWeld(Part16, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.6075592, -0.270458221, 0, 0.499999017, -0.866026163, 0, 0.866026163, 0.499999017, 0, 0, 0, 1), Part16, Handle2, "Part16ToHandle")
  821. Part17Weld = CreateWeld(Part17, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.566223145, -0.314067841, 0, 0.499999017, -0.866026163, 0, 0.866026163, 0.499999017, 0, 0, 0, 1), Part17, Handle2, "Part17ToHandle")
  822. Part18Weld = CreateWeld(Part18, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.323228836, -0.883232117, 0, -0.499998778, -0.866026282, -0, 0.866026282, -0.499998778, 0, 0, 0, 1), Part18, Handle2, "Part18ToHandle")
  823. Part19Weld = CreateWeld(Part19, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.314693451, 2.26445007, -3.81469727e-006, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part19, Handle2, "Part19ToHandle")
  824. Part20Weld = CreateWeld(Part20, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.60757446, -0.236690521, -0.00703430176, 0.499999017, -0.866026163, 0, 0.866026163, 0.499999017, 0, 0, 0, 1), Part20, Handle2, "Part20ToHandle")
  825. Part21Weld = CreateWeld(Part21, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.08020401, 2.12657166, -3.81469727e-006, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part21, Handle2, "Part21ToHandle")
  826. Part22Weld = CreateWeld(Part22, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.574867249, 0.163562775, 0, 1.00000024, 0, 0, 0, 1.00000024, 0, 0, 0, 1), Part22, Handle2, "Part22ToHandle")
  827. Part23Weld = CreateWeld(Part23, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.99020386, -0.177051544, 0, 0.499999017, -0.866026163, 0, 0.866026163, 0.499999017, 0, 0, 0, 1), Part23, Handle2, "Part23ToHandle")
  828. Part24Weld = CreateWeld(Part24, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.201562881, 1.91455841, 0, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part24, Handle2, "Part24ToHandle")
  829. Part25Weld = CreateWeld(Part25, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000183105469, 0.375644684, 2.38105011, 0, 0, -1, -0.866346598, -0.49944365, 0, -0.49944365, 0.866346598, 0), Part25, Handle2, "Part25ToHandle")
  830. Part26Weld = CreateWeld(Part26, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.2569561, 2.07778931, -3.81469727e-006, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part26, Handle2, "Part26ToHandle")
  831. Part27Weld = CreateWeld(Part27, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.99460602, 0.744857788, -0.00316238403, 0.927193999, -0.374582142, 0, 0.374582142, 0.927193999, 0, 0, 0, 1), Part27, Handle2, "Part27ToHandle")
  832. Part28Weld = CreateWeld(Part28, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.485691071, 2.30821228, -0.00871658325, -0.866026163, -0.499999017, -0, -0.499999017, 0.866026163, 0, 0, 0, -1), Part28, Handle2, "Part28ToHandle")
  833. Part29Weld = CreateWeld(Part29, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.486751556, 2.30821991, -0.00660705566, -0.866026163, -0.499999017, -0, -0.499999017, 0.866026163, 0, 0, 0, -1), Part29, Handle2, "Part29ToHandle")
  834. Part30Weld = CreateWeld(Part30, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0759849548, 1.79244995, 0, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part30, Handle2, "Part30ToHandle")
  835. Part31Weld = CreateWeld(Part31, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.296571732, 2.22372437, -3.81469727e-006, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part31, Handle2, "Part31ToHandle")
  836. Part32Weld = CreateWeld(Part32, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.112157822, -1.67666626, 0, -0.707104385, -0.707109571, -0, 0.707109571, -0.707104385, 0, 0, 0, 1), Part32, Handle2, "Part32ToHandle")
  837. Part33Weld = CreateWeld(Part33, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.246152878, 2.07009888, -3.81469727e-006, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part33, Handle2, "Part33ToHandle")
  838. Part34Weld = CreateWeld(Part34, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.174539566, 1.7539978, 0, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part34, Handle2, "Part34ToHandle")
  839. Part35Weld = CreateWeld(Part35, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0797309875, 2.27779388, -3.81469727e-006, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part35, Handle2, "Part35ToHandle")
  840. Part36Weld = CreateWeld(Part36, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.217325211, 1.92167664, 0, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part36, Handle2, "Part36ToHandle")
  841. Part37Weld = CreateWeld(Part37, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0207366943, 0.521255493, 3.81469727e-006, 0.405499339, 0.914095461, 0, -0.914095461, 0.405499339, 0, 0, 0, 1), Part37, Handle2, "Part37ToHandle")
  842. Part38Weld = CreateWeld(Part38, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0781059265, 1.96547699, 0, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part38, Handle2, "Part38ToHandle")
  843. Part39Weld = CreateWeld(Part39, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.2856884, 2.21749115, -3.81469727e-006, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part39, Handle2, "Part39ToHandle")
  844. Part40Weld = CreateWeld(Part40, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.157697678, 1.74642944, 0, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part40, Handle2, "Part40ToHandle")
  845.  
  846. Barrel2 = Part29
  847. --[[ Damage function ]]--
  848.  
  849. function DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
  850.  
  851. local HitHumanoid = Hit.Parent.Humanoid
  852.  
  853.  
  854. local Damage = math.random(Min, Max)
  855.  
  856.  
  857. coroutine.resume(coroutine.create(function()
  858. HitHumanoid:TakeDamage(Damage)
  859. end))
  860.  
  861. if Type == "Normal" then
  862.  
  863. local Push = CreateVelocity(Hit.Parent.Torso, Torso.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  864. Services.Debris:AddItem(Push, 0)
  865. Display(Hit.Parent, Damage)
  866.  
  867. elseif Type == "Ranged" then
  868. local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  869. Services.Debris:AddItem(Push, 0)
  870. Display(Hit.Parent, Damage)
  871.  
  872. elseif Type == "Knockdown" then
  873.  
  874.  
  875. local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  876. Display(Hit.Parent, Damage)
  877. Services.Debris:AddItem(Push, 0.3)
  878.  
  879. coroutine.resume(coroutine.create(function()
  880.  
  881. HitHumanoid.PlatformStand = true
  882. wait(1)
  883. HitHumanoid.PlatformStand = false
  884.  
  885.  
  886. end))
  887. end
  888.  
  889. if HitSFX == "Penetration" then
  890.  
  891. MakeSFX(Hit, 199149269, 1 , 1)
  892.  
  893. elseif HitSFX == "Punch" then
  894.  
  895. MakeSFX(Hit, 278062209, 1 , 1)
  896.  
  897.  
  898.  
  899.  
  900. end
  901. end
  902.  
  903. function Display(HitCharacter, DisplayTxt)
  904. if HitCharacter:FindFirstChild("Head") then
  905. local DamageShowingPart = CreatePart(Services.Workspace, "ShowDamage", "Crimson", Vector3.new(0.8,0.8,0.8), "Neon", 1, "Block")
  906. DamageShowingPart.Position = HitCharacter.Head.Position + Vector3.new(math.random(-5,5),2,math.random(-5,5))
  907.  
  908.  
  909. local DisplayGui = Instance.new("BillboardGui", DamageShowingPart)
  910. DisplayGui.Name = "Damage"
  911. DisplayGui.AlwaysOnTop = true
  912. DisplayGui.Size = UDim2.new(5, 0, 5, 0)
  913.  
  914. local DisplayNumber = Instance.new("TextLabel", DisplayGui)
  915. DisplayNumber.Size = UDim2.new(1,0,1,0)
  916. DisplayNumber.TextStrokeColor3 = BrickColor.White().Color
  917. DisplayNumber.TextColor3 = BrickColor.Black().Color
  918. DisplayNumber.TextStrokeTransparency = 0
  919. DisplayNumber.BackgroundTransparency = 1
  920. DisplayNumber.Font = "SciFi"
  921. DisplayNumber.TextScaled = true
  922. DisplayNumber.Text = DisplayTxt
  923.  
  924. if string.sub((DisplayTxt),1,1) ~= "+" then
  925.  
  926. if DisplayTxt > 19 then
  927.  
  928. DisplayNumber.TextColor3 = BrickColor.Red().Color
  929.  
  930.  
  931.  
  932. elseif DisplayTxt > 9 then
  933.  
  934. DisplayNumber.TextColor3 = BrickColor.Yellow().Color
  935.  
  936. end
  937. end
  938.  
  939. if string.sub((DisplayTxt),1,1) == "+" then
  940. DisplayNumber.TextColor3 = BrickColor.Green().Color
  941. end
  942.  
  943. local BodyVelocity = Instance.new("BodyVelocity", DamageShowingPart)
  944. BodyVelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  945. BodyVelocity.Velocity = Vector3.new(0,2,0)
  946.  
  947. Services.Debris:AddItem(DamageShowingPart, 3)
  948.  
  949. end
  950. end
  951. function ValidateDamage(Part, Distance ,Min , Max, Type, HitSFX, Knockback)
  952. for _,WorkspaceChildren in pairs(workspace:children()) do
  953.  
  954. local HitHumanoid = WorkspaceChildren:findFirstChild("Humanoid")
  955.  
  956. if HitHumanoid ~= nil then
  957. local Hit = WorkspaceChildren:findFirstChild("Torso")
  958.  
  959. if Hit ~= nil then
  960.  
  961. local Target = Hit.Position - Part.Position
  962.  
  963. local Magnitude = Target.magnitude
  964.  
  965. if Magnitude <= Distance and WorkspaceChildren.Name ~= Player.Name then
  966.  
  967. local HitBlock = Hit.Parent:FindFirstChild("Block")
  968.  
  969. if HitBlock ~= nil and HitBlock:FindFirstChild("BlockDurability") and HitBlock.Value == true then
  970.  
  971. local HitBlock2 = Hit.Parent.Block.BlockDurability
  972.  
  973. if HitBlock2.Value > 15 then
  974.  
  975. local HitN = math.random(1,5)
  976.  
  977. HitBlock2.Value = HitBlock2.Value - 15
  978.  
  979. if HitN == 1 then
  980. MakeSFX(Hit ,199148971, 0.5, 1)
  981. end
  982.  
  983. if HitN == 2 then
  984. MakeSFX(Hit ,199149025, 0.5, 1)
  985. end
  986.  
  987. if HitN == 3 then
  988. MakeSFX(Hit ,199149072, 0.5, 1)
  989. end
  990.  
  991. if HitN == 4 then
  992. MakeSFX(Hit ,199149109, 0.5, 1)
  993. end
  994.  
  995. if HitN == 5 then
  996. MakeSFX(Hit ,199149119, 0.5, 1)
  997. end
  998. return
  999. end
  1000. end
  1001.  
  1002. DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
  1003.  
  1004. end
  1005. end
  1006. end
  1007. end
  1008. end
  1009.  
  1010. function ValidateHeal(Part, Distance)
  1011. for _,WorkspaceChildren in pairs(workspace:children()) do
  1012.  
  1013. local HitHumanoid = WorkspaceChildren:findFirstChild("Humanoid")
  1014.  
  1015. if HitHumanoid ~= nil then
  1016. local Hit = WorkspaceChildren:findFirstChild("Torso")
  1017.  
  1018. if Hit ~= nil then
  1019.  
  1020. local Target = Hit.Position - Part.Position
  1021.  
  1022. local Magnitude = Target.magnitude
  1023.  
  1024. if Magnitude <= Distance then
  1025. local Heal = math.random(5,10)
  1026.  
  1027. Hit.Parent.Humanoid.Health = Hit.Parent.Humanoid.Health + Heal
  1028. Display(Hit.Parent, "+" .. Heal)
  1029.  
  1030. end
  1031. end
  1032. end
  1033. end
  1034. end
  1035.  
  1036. --[[ CLerp Declarations ]]--
  1037.  
  1038. function clerp(a,b,t)
  1039. local qa = {QuaternionFromCFrame(a)}
  1040. local qb = {QuaternionFromCFrame(b)}
  1041. local ax, ay, az = a.x, a.y, a.z
  1042. local bx, by, bz = b.x, b.y, b.z
  1043. local _t = 1-t
  1044. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1045. end
  1046.  
  1047. function QuaternionFromCFrame(cf)
  1048. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1049. local trace = m00 + m11 + m22
  1050. if trace > 0 then
  1051. local s = math.sqrt(1 + trace)
  1052. local recip = 0.5/s
  1053. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1054. else
  1055. local i = 0
  1056. if m11 > m00 then
  1057. i = 1
  1058. end
  1059. if m22 > (i == 0 and m00 or m11) then
  1060. i = 2
  1061. end
  1062. if i == 0 then
  1063. local s = math.sqrt(m00-m11-m22+1)
  1064. local recip = 0.5/s
  1065. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1066. elseif i == 1 then
  1067. local s = math.sqrt(m11-m22-m00+1)
  1068. local recip = 0.5/s
  1069. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1070. elseif i == 2 then
  1071. local s = math.sqrt(m22-m00-m11+1)
  1072. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1073. end
  1074. end
  1075. end
  1076.  
  1077. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1078. local xs, ys, zs = x + x, y + y, z + z
  1079. local wx, wy, wz = w*xs, w*ys, w*zs
  1080. local xx = x*xs
  1081. local xy = x*ys
  1082. local xz = x*zs
  1083. local yy = y*ys
  1084. local yz = y*zs
  1085. local zz = z*zs
  1086. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  1087. end
  1088.  
  1089. function QuaternionSlerp(a, b, t)
  1090. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1091. local startInterp, finishInterp;
  1092. if cosTheta >= 0.0001 then
  1093. if (1 - cosTheta) > 0.0001 then
  1094. local theta = math.acos(cosTheta)
  1095. local invSinTheta = 1/math.sin(theta)
  1096. startInterp = math.sin((1-t)*theta)*invSinTheta
  1097. finishInterp = math.sin(t*theta)*invSinTheta
  1098. else
  1099. startInterp = 1-t
  1100. finishInterp = t
  1101. end
  1102. else
  1103. if (1+cosTheta) > 0.0001 then
  1104. local theta = math.acos(-cosTheta)
  1105. local invSinTheta = 1/math.sin(theta)
  1106. startInterp = math.sin((t-1)*theta)*invSinTheta
  1107. finishInterp = math.sin(t*theta)*invSinTheta
  1108. else
  1109. startInterp = t-1
  1110. finishInterp = t
  1111. end
  1112. end
  1113. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  1114. end
  1115.  
  1116. function RayCast(Pos, Dir, Max, Ignore)
  1117. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1118. end
  1119.  
  1120. function Bars()
  1121.  
  1122. --[[ Mana Bar ]]--
  1123.  
  1124. if Mana ~= MaxMana then
  1125.  
  1126. Mana = Mana + 0.1
  1127.  
  1128. end
  1129.  
  1130. if Mana >= MaxMana then
  1131.  
  1132. Mana = MaxMana
  1133.  
  1134. end
  1135.  
  1136. --[[ Cooldowns Bars ]]--
  1137.  
  1138. if Cooldown1 ~= MaxCooldown1 then
  1139.  
  1140. Cooldown1 = Cooldown1 + 1
  1141.  
  1142. end
  1143.  
  1144. if Cooldown1 >= MaxCooldown1 then
  1145.  
  1146. Cooldown1 = MaxCooldown1
  1147.  
  1148. end
  1149.  
  1150.  
  1151.  
  1152. if Cooldown2 ~= MaxCooldown2 then
  1153.  
  1154. Cooldown2 = Cooldown2 + 0.1
  1155. end
  1156.  
  1157.  
  1158. if Cooldown2 >= MaxCooldown2 then
  1159.  
  1160. Cooldown2 = MaxCooldown2
  1161.  
  1162. end
  1163.  
  1164.  
  1165.  
  1166. if Cooldown3 ~= MaxCooldown3 then
  1167. Cooldown3 = Cooldown3 + 0.1
  1168. end
  1169.  
  1170. if Cooldown3 >= MaxCooldown3 then
  1171.  
  1172. Cooldown3 = MaxCooldown3
  1173.  
  1174. end
  1175.  
  1176.  
  1177.  
  1178. if Cooldown4 ~= MaxCooldown4 then
  1179. Cooldown4 = Cooldown4 + 0.1
  1180. end
  1181.  
  1182. if Cooldown4 >= MaxCooldown4 then
  1183.  
  1184. Cooldown4 = MaxCooldown4
  1185.  
  1186. end
  1187.  
  1188.  
  1189.  
  1190. if CooldownE ~= MaxCooldownE and not Blocking then
  1191. CooldownE = CooldownE + 0.1
  1192. end
  1193.  
  1194. if CooldownE >= MaxCooldownE then
  1195.  
  1196. CooldownE = MaxCooldownE
  1197.  
  1198. end
  1199.  
  1200. --[[ Health Bar ]]--
  1201.  
  1202. local YellowZone = Humanoid.MaxHealth / 2
  1203. local RedZone = Humanoid.MaxHealth / 4
  1204.  
  1205. if Humanoid.Health <= YellowZone then
  1206.  
  1207. HealthBarP2.BackgroundColor3 = BrickColor.new("Gold").Color
  1208.  
  1209. end
  1210.  
  1211. if Humanoid.Health <= RedZone then
  1212.  
  1213. HealthBarP2.BackgroundColor3 = BrickColor.new("Bright red").Color
  1214.  
  1215. end
  1216.  
  1217. if Humanoid.Health >= YellowZone then
  1218.  
  1219. HealthBarP2.BackgroundColor3 = BrickColor.new("Lime green").Color
  1220.  
  1221. end
  1222.  
  1223.  
  1224. --[[ Resize All Bars ]]--
  1225.  
  1226. CoolDown1Bar.Size = UDim2.new(Cooldown1 / MaxCooldown1,0,0,50)
  1227. CoolDown2Bar.Size = UDim2.new(Cooldown2 / MaxCooldown2,0,0,50)
  1228. CoolDown3Bar.Size = UDim2.new(Cooldown3 / MaxCooldown3,0,0,50)
  1229. CoolDown4Bar.Size = UDim2.new(Cooldown4 / MaxCooldown4,0,0,50)
  1230. CoolDownEBar.Size = UDim2.new(CooldownE / MaxCooldownE,0,0,50)
  1231.  
  1232. HealthBarP2.Size = UDim2.new(Humanoid.Health / Humanoid.MaxHealth,0,0,25)
  1233. ManaBarP2.Size = UDim2.new(Mana / MaxMana,0,0,25)
  1234.  
  1235. end
  1236.  
  1237. --[[ Attacks ]]--
  1238.  
  1239. function Shot1()
  1240. Attacking = true
  1241.  
  1242. for i = 1,10 do
  1243. wait()
  1244.  
  1245. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,-1.6),0.2)
  1246. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,1),0.3)
  1247. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, 0) * CFrame.Angles(0,0,0), 0.3)
  1248. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-2, 0.5, 0) * CFrame.Angles(0,0,-1.6), 0.3)
  1249. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1250. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1251. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,0),0.2)
  1252. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(0,3.2,-0.5),0.2)
  1253. end
  1254.  
  1255. Shot(Barrel2)
  1256.  
  1257. for i = 1,10 do
  1258. wait()
  1259.  
  1260. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,-1.6),0.2)
  1261. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,1),0.3)
  1262. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, 0) * CFrame.Angles(0,0,0.2), 0.3)
  1263. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-2, 0.8, 0) * CFrame.Angles(0,0,-2), 0.3)
  1264. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1265. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1266. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,0),0.2)
  1267. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(0,3.2,0),0.2)
  1268.  
  1269. end
  1270. Attacking = false
  1271. end
  1272.  
  1273. function Shot2()
  1274. Attacking = true
  1275.  
  1276. for i = 1,10 do
  1277. wait()
  1278.  
  1279. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,1.6),0.2)
  1280. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-1),0.3)
  1281. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(2, 0.5, 0) * CFrame.Angles(0,0,1.6), 0.3)
  1282. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
  1283. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1284. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1285. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,-0),0.2)
  1286. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.2)
  1287. end
  1288.  
  1289. Shot(Barrel1)
  1290.  
  1291. for i = 1,10 do
  1292. wait()
  1293.  
  1294.  
  1295. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,1.6),0.2)
  1296. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-1),0.3)
  1297. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(2, 0.8, 0) * CFrame.Angles(0,0,2), 0.3)
  1298. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
  1299. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1300. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1301. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,-0),0.2)
  1302. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0),0.2)
  1303. end
  1304. Attacking = false
  1305. end
  1306.  
  1307. function Shot3()
  1308.  
  1309. Attacking = true
  1310. for i = 1,10 do
  1311. wait()
  1312.  
  1313. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1314. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
  1315. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.2), 0.3)
  1316. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.2), 0.3)
  1317. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1318. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1319. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,-0.5),0.2)
  1320. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.2)
  1321. end
  1322.  
  1323. Shot(Barrel1)
  1324. Shot(Barrel2)
  1325.  
  1326. for i = 1,10 do
  1327. wait()
  1328.  
  1329. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1330. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
  1331. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(2,0,-0.2), 0.3)
  1332. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(2,0,0.2), 0.3)
  1333. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1334. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1335. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,0),0.2)
  1336. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,0),0.2)
  1337. end
  1338. Attacking = false
  1339. end
  1340.  
  1341. function Attack1()
  1342. Humanoid.WalkSpeed = 0
  1343. Humanoid.JumpPower = 0
  1344. Attacking = true
  1345. for i = 1,5 do
  1346. wait()
  1347.  
  1348. Torso.Neck.C0 = clerp(Torso.Neck.C0, Necko * CFrame.Angles(0, 0, -1), 0.5)
  1349. RootJoint.C0 = clerp(RootJoint.C0, RootCFrame *cf(0, 0, 0) * CFrame.Angles(-0.5,0,1.6), 0.5)
  1350. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1, 0.5, -0.5) * CFrame.Angles(1.6, 0, -1), 0.5)
  1351. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 0.5, 0) * CFrame.Angles(1.6, 0, -1.6), 0.5)
  1352. Right_Hip.C0 = clerp(Left_Hip.C0, cf(0, -1, 0.5) * CFrame.Angles(0, 1.57, 1.6) * CFrame.Angles(-1.6, -0, 0), 0.5)
  1353. Left_Hip.C0 = clerp(Right_Hip.C0, cf(-1, -1, 0) * CFrame.Angles(0, -1.57, 0) * CFrame.Angles(-0, 0, 0), 0.5)
  1354. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(-3,1.57,-0.3),0.2)
  1355. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(-3,1.57,-0.3),0.2)
  1356. end
  1357. MakeSFX(Torso,320557563, 1, 1)
  1358. ValidateDamage(Right_Leg, 3, 5, 7, "Normal", "Punch", 5)
  1359. for i = 1,5 do
  1360. wait()
  1361.  
  1362. Torso.Neck.C0 = clerp(Torso.Neck.C0, Necko * CFrame.Angles(0, 0, -1), 0.5)
  1363. RootJoint.C0 = clerp(RootJoint.C0, RootCFrame * cf(0, 0, 0) * CFrame.Angles(-0.5,0,1.6), 0.5)
  1364. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1, 0.5, -0.5) * CFrame.Angles(1.6, 0, -1), 0.5)
  1365. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 0.5, 0) * CFrame.Angles(1.6, 0, -1.6), 0.5)
  1366. Right_Hip.C0 = clerp(Right_Hip.C0, cf(1, -1, 0.5) * CFrame.Angles(0, 1.57, 1.6) * CFrame.Angles(-1.6, -0, 0), 0.5)
  1367. Left_Hip.C0 = clerp(Left_Hip.C0, cf(-1, -1, 0) * CFrame.Angles(0, -1.57, 0) * CFrame.Angles(-0, 0, 0), 0.5)
  1368. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(-3,1.57,-0.3),0.2)
  1369. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(-3,1.57,-0.3),0.2)
  1370. end
  1371. Humanoid.WalkSpeed = 16
  1372. Humanoid.JumpPower = 50
  1373. Attacking = false
  1374. end
  1375.  
  1376. function Attack2()
  1377. Attacking = true
  1378. Humanoid.WalkSpeed = 0
  1379. Humanoid.JumpPower = 0
  1380. for i = 1,5 do
  1381. wait()
  1382.  
  1383. Torso.Neck.C0 = clerp(Torso.Neck.C0, Necko * CFrame.Angles(0, 0, 1), 0.5)
  1384. RootJoint.C0 = clerp(RootJoint.C0, RootCFrame *cf(0, 0, 0) * CFrame.Angles(-0.5,0,-1.6), 0.5)
  1385. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1, 0.5, -0.5) * CFrame.Angles(1.6, 0, -1), 0.5)
  1386. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 0.5, 0) * CFrame.Angles(1.6, 0, -1.6), 0.5)
  1387. Right_Hip.C0 = clerp(Right_Hip.C0, cf(1, -1, 0) * CFrame.Angles(0, 1.57, 0) * CFrame.Angles(0, -0, 0), 0.5)
  1388. Left_Hip.C0 = clerp(Left_Hip.C0, cf(-0, -1, -0.5) * CFrame.Angles(0, -1.57, 1.6) * CFrame.Angles(-1.6, 0, 0), 0.5)
  1389. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(-3,1.57,-0.3),0.2)
  1390. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(-3,1.57,-0.3),0.2)
  1391. end
  1392. MakeSFX(Torso,320557563, 1, 1)
  1393. ValidateDamage(Left_Leg, 3, 5, 7, "Normal", "Punch", 5)
  1394. for i = 1,5 do
  1395. wait()
  1396.  
  1397. Torso.Neck.C0 = clerp(Torso.Neck.C0, Necko * CFrame.Angles(0, 0, 1), 0.5)
  1398. RootJoint.C0 = clerp(RootJoint.C0, RootCFrame * cf(0, 0, 0) * CFrame.Angles(-0.5,0,-1.6), 0.5)
  1399. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1, 0.5, -0.5) * CFrame.Angles(1.6, 0, -1), 0.5)
  1400. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 0.5, 0) * CFrame.Angles(1.6, 0, -1.6), 0.5)
  1401. Right_Hip.C0 = clerp(Right_Hip.C0, cf(1, -1, 0) * CFrame.Angles(0, 1.57, 0) * CFrame.Angles(0, -0, 0), 0.5)
  1402. Left_Hip.C0 = clerp(Left_Hip.C0, cf(-1, -1, -0.5) * CFrame.Angles(0, -1.57, 1.6) * CFrame.Angles(-1.6, 0, 0), 0.5)
  1403. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(-3,1.57,-0.3),0.2)
  1404. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(-3,1.57,-0.3),0.2)
  1405. end
  1406. Humanoid.WalkSpeed = 16
  1407. Humanoid.JumpPower = 50
  1408. Attacking = false
  1409. end
  1410.  
  1411. function Attack3()
  1412. Humanoid.WalkSpeed = 0
  1413. Humanoid.JumpPower = 0
  1414. Attacking = true
  1415. ValidateDamage(Torso, 10, 5, 7, "Normal", "Punch", 5)
  1416.  
  1417. MakeSFX(Torso,320557563, 1, 1)
  1418. for i = 1,10 do
  1419. wait()
  1420.  
  1421. Torso.Neck.C0 = clerp(Torso.Neck.C0, Necko * CFrame.Angles(0, 0, 0), 0.5)
  1422. RootJoint.C0 = clerp(RootJoint.C0, RootCFrame *cf(0, 0, 0) * CFrame.Angles(-i / 2,0,0), 0.5)
  1423. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1, 0.5, -0.5) * CFrame.Angles(1.6, 0, -1), 0.5)
  1424. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1, 0.5, -0.5) * CFrame.Angles(1.6, 0, 1), 0.5)
  1425. Right_Hip.C0 = clerp(Right_Hip.C0, cf(0, -1, -0.5) * CFrame.Angles(0, 1.57, 1.6) * CFrame.Angles(0, -0, 0), 0.5)
  1426. Left_Hip.C0 = clerp(Left_Hip.C0, cf(0, -1, 0.5) * CFrame.Angles(0, -1.57, 1.6) * CFrame.Angles(-0, 0, 0), 0.5)
  1427. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(-3,1.57,-0.3),0.2)
  1428. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(-3,1.57,-0.3),0.2)
  1429. end
  1430.  
  1431. Humanoid.WalkSpeed = 16
  1432. Humanoid.JumpPower = 50
  1433. Attacking = false
  1434.  
  1435. end
  1436.  
  1437.  
  1438. function Shotcombo()
  1439. Attacking = true
  1440. Humanoid.WalkSpeed = 10
  1441. Humanoid.JumpPower = 0
  1442.  
  1443. for i = 1,5 do
  1444. wait()
  1445.  
  1446. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1447. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
  1448. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.2), 0.3)
  1449. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.2), 0.3)
  1450. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1451. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1452. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,-0.5),0.2)
  1453. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.2)
  1454. end
  1455.  
  1456. Shot(Barrel1)
  1457. Shot(Barrel2)
  1458.  
  1459. for i = 1,5 do
  1460. wait()
  1461.  
  1462. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1463. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
  1464. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(2,0,-0.2), 0.3)
  1465. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(2,0,0.2), 0.3)
  1466. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1467. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1468. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,0),0.2)
  1469. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,0),0.2)
  1470. end
  1471. for i = 1,5 do
  1472. wait()
  1473.  
  1474. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1475. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
  1476. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.2), 0.3)
  1477. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.2), 0.3)
  1478. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1479. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1480. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,-0.5),0.2)
  1481. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.2)
  1482. end
  1483.  
  1484. Shot(Barrel1)
  1485. Shot(Barrel2)
  1486.  
  1487. for i = 1,5 do
  1488. wait()
  1489.  
  1490. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1491. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
  1492. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(2,0,-0.2), 0.3)
  1493. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(2,0,0.2), 0.3)
  1494. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1495. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1496. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,0),0.2)
  1497. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,0),0.2)
  1498. end
  1499. for i = 1,5 do
  1500. wait()
  1501.  
  1502. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1503. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
  1504. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.2), 0.3)
  1505. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.2), 0.3)
  1506. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1507. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1508. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,-0.5),0.2)
  1509. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.2)
  1510. end
  1511.  
  1512. Shot(Barrel1)
  1513. Shot(Barrel2)
  1514.  
  1515. for i = 1,5 do
  1516. wait()
  1517.  
  1518. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1519. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
  1520. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(2,0,-0.2), 0.3)
  1521. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(2,0,0.2), 0.3)
  1522. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1523. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1524. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,0),0.2)
  1525. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,0),0.2)
  1526. end
  1527. Humanoid.WalkSpeed = 16
  1528. Humanoid.JumpPower = 50
  1529.  
  1530. Attacking = false
  1531. end
  1532.  
  1533.  
  1534. function BackJump()
  1535. Attacking = true
  1536.  
  1537. Humanoid.WalkSpeed = 0
  1538. Humanoid.JumpPower = 0
  1539.  
  1540. for i = 1,5 do
  1541. wait()
  1542.  
  1543. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(-1.6,0,0),0.5)
  1544. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.8,0,0),0.5)
  1545. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(0,0,0), 0.5)
  1546. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(0,0,0), 0.5)
  1547. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.5)
  1548. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.5)
  1549. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,-0.5),0.5)
  1550. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.5)
  1551. end
  1552.  
  1553. Shot(Barrel1)
  1554. Shot(Barrel2)
  1555. local BV = Instance.new("BodyVelocity", Torso)
  1556. BV.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1557. BV.Velocity = Root.CFrame.lookVector * Vector3.new(-50,50,-50)
  1558.  
  1559. for i = 1,5 do
  1560. wait()
  1561.  
  1562. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,-3)* CFrame.Angles(-1.6,0,0),0.5)
  1563. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.8,0,0),0.3)
  1564. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(1,0,0), 0.3)
  1565. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(1,0,0), 0.3)
  1566. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1567. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1568. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,0),0.2)
  1569. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,0),0.2)
  1570. end
  1571. BV:Remove()
  1572. for i = 1,5 do
  1573. wait()
  1574.  
  1575. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,-3)* CFrame.Angles(-1.6,0,0),0.5)
  1576. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.8,0,0),0.3)
  1577. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(0,0,0), 0.3)
  1578. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(0,0,0), 0.3)
  1579. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1580. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1581. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,-0.5),0.2)
  1582. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.2)
  1583. end
  1584.  
  1585. Shot(Barrel1)
  1586. Shot(Barrel2)
  1587.  
  1588.  
  1589. for i = 1,5 do
  1590. wait()
  1591.  
  1592. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,-3)* CFrame.Angles(-1.6,0,0),0.5)
  1593. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.8,0,0),0.3)
  1594. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(1,0,0), 0.3)
  1595. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(1,0,0), 0.3)
  1596. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1597. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1598. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,0),0.2)
  1599. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,0),0.2)
  1600. end
  1601. for i = 1,5 do
  1602. wait()
  1603.  
  1604. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,-3)* CFrame.Angles(-1.6,0,0),0.5)
  1605. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.8,0,0),0.3)
  1606. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(0,0,0), 0.3)
  1607. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(0,0,0), 0.3)
  1608. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1609. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1610. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,-0.5),0.2)
  1611. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.2)
  1612. end
  1613.  
  1614. Shot(Barrel1)
  1615. Shot(Barrel2)
  1616.  
  1617.  
  1618. for i = 1,5 do
  1619. wait()
  1620.  
  1621. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,-3)* CFrame.Angles(-1.6,0,0),0.5)
  1622. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.8,0,0),0.3)
  1623. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(1,0,0), 0.3)
  1624. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(1,0,0), 0.3)
  1625. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1626. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1627. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,0),0.2)
  1628. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,0),0.2)
  1629. end
  1630. Attacking = false
  1631. Humanoid.WalkSpeed = 16
  1632. Humanoid.JumpPower = 50
  1633. end
  1634.  
  1635. function Energyshot()
  1636. Attacking = true
  1637.  
  1638. for i = 1,5 do
  1639. wait()
  1640.  
  1641. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1642. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
  1643. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.2), 0.3)
  1644. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.2), 0.3)
  1645. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1646. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1647. Handle1Weld.C0=clerp(Handle1Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.5)
  1648. Handle2Weld.C0=clerp(Handle2Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.5)
  1649. end
  1650.  
  1651. LightShot(Barrel1)
  1652. for i = 1,5 do
  1653. wait()
  1654.  
  1655. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1656. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
  1657. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.2), 0.3)
  1658. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.2), 0.3)
  1659. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1660. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1661. Handle1Weld.C0=clerp(Handle1Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,0),0.5)
  1662. Handle2Weld.C0=clerp(Handle2Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.5)
  1663. end
  1664. LightShot(Barrel2)
  1665. for i = 1,5 do
  1666. wait()
  1667.  
  1668. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1669. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
  1670. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.2), 0.3)
  1671. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.2), 0.3)
  1672. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1673. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1674. Handle1Weld.C0=clerp(Handle1Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.5)
  1675. Handle2Weld.C0=clerp(Handle2Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,0),0.5)
  1676. end
  1677. for i = 1,5 do
  1678. wait()
  1679.  
  1680. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1681. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
  1682. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.2), 0.3)
  1683. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.2), 0.3)
  1684. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1685. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1686. Handle1Weld.C0=clerp(Handle1Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.5)
  1687. Handle2Weld.C0=clerp(Handle2Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.5)
  1688. end
  1689.  
  1690. LightShot(Barrel1)
  1691. for i = 1,5 do
  1692. wait()
  1693.  
  1694. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1695. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
  1696. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.2), 0.3)
  1697. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.2), 0.3)
  1698. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1699. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1700. Handle1Weld.C0=clerp(Handle1Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,0),0.5)
  1701. Handle2Weld.C0=clerp(Handle2Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.5)
  1702. end
  1703. LightShot(Barrel2)
  1704. for i = 1,5 do
  1705. wait()
  1706.  
  1707. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1708. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
  1709. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.2), 0.3)
  1710. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.2), 0.3)
  1711. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1712. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1713. Handle1Weld.C0=clerp(Handle1Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.5)
  1714. Handle2Weld.C0=clerp(Handle2Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,0),0.5)
  1715. end
  1716.  
  1717.  
  1718. Attacking = false
  1719. end
  1720.  
  1721. function Overshot()
  1722. Attacking = true
  1723. Humanoid.WalkSpeed = 0
  1724. Humanoid.JumpPower = 0
  1725. coroutine.resume(coroutine.create(function()
  1726. for i = 1,14 do
  1727. wait(0.3)
  1728.  
  1729. local Hit, Position = RayCast(Root.Position, CFrame.new(Root.Position, Root.Position - Vector3.new(0, 1, 0)).lookVector, 200, Character)
  1730.  
  1731. if Hit ~= nil then
  1732.  
  1733. WaveEffect(Position, Services.Workspace, 0.05, 0.05, 0.05, 1, 0.05, 1, 1, "White", "SmoothPlastic", 0)
  1734. end
  1735. end
  1736. end))
  1737. MakeSFX(Torso,203691346,1,1)
  1738. for i = 1,60 do
  1739. wait()
  1740. CircleEffect(Torso.Position + Vector3.new(0,10,0), Services.Workspace, 0.05, 0.05, 0.05, 1, 1, 1, 10, "Bright yellow", "SmoothPlastic", 0)
  1741. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1742. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  1743. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0) * CFrame.Angles(3.2,0,-0.2), 0.3)
  1744. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0) * CFrame.Angles(3.2,0,0.2), 0.3)
  1745. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1746. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1747. Handle1Weld.C0=clerp(Handle1Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,0,-0.6),0.5)
  1748. Handle2Weld.C0=clerp(Handle2Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,3.2,-0.6),0.5)
  1749. end
  1750.  
  1751. for i = 1,10 do
  1752. wait()
  1753.  
  1754. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1755. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
  1756. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.2), 0.3)
  1757. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.2), 0.3)
  1758. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1759. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1760. Handle1Weld.C0=clerp(Handle1Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.5)
  1761. Handle2Weld.C0=clerp(Handle2Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.5)
  1762. end
  1763. MakeSFX(Torso,156572165,10,0.75)
  1764. wait(0.1)
  1765. MakeSFX(Torso,168586621,10,0.75)
  1766.  
  1767. local OvershotPart = CreatePart(Services.Workspace, "Overshot", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  1768. OvershotPart.Position = Barrel1.Position
  1769. OvershotPart.CFrame = CFrame.new(OvershotPart.Position, Mouse.Hit.p)
  1770. local OverVelocity = CreateVelocity(OvershotPart,OvershotPart.CFrame.lookVector * 50,Vector3.new(10000,10000,10000))
  1771.  
  1772. Services.Debris:AddItem(OvershotPart, 15)
  1773.  
  1774. coroutine.resume(coroutine.create(function()
  1775. while OvershotPart.Parent == Services.Workspace do
  1776. wait(0.3)
  1777.  
  1778. local Hit, Position = RayCast(OvershotPart.Position, CFrame.new(OvershotPart.Position, OvershotPart.Position - Vector3.new(0, 1, 0)).lookVector, 200, Character)
  1779.  
  1780. if Hit ~= nil then
  1781.  
  1782. WaveEffect(Position, Services.Workspace, 0.05, 0.05, 0.05, 1, 0.05, 1, 1, "White", "SmoothPlastic", 0)
  1783. CircleEffect(OvershotPart.Position, Services.Workspace, 0.05, 0.05, 0.05, 5, 5, 5, 10, "Bright yellow", "SmoothPlastic", 0)
  1784. end
  1785. end
  1786. end))
  1787. wait()
  1788. wait()
  1789. wait()
  1790. wait()
  1791. wait()
  1792. Connection = OvershotPart.Touched:connect(function(Hit)
  1793. if Hit.Name ~= "Reference" and Hit.Name ~= "BallEffect" and Hit.Parent ~= Caliber1 and Hit.Parent ~= Caliber2 and Hit.Parent ~= Character then
  1794. Connection:disconnect()
  1795. print(Hit.Name)
  1796. OvershotPart:Remove()
  1797. MakeSFX(OvershotPart, 320557563, 10, 1)
  1798. ValidateDamage(OvershotPart, 60 ,36, 50, "Knockdown", "Penetration", 100)
  1799. CircleEffect(OvershotPart.Position, Services.Workspace, 0.05, 0.05, 0.05, 30, 30, 30, 10, "Bright yellow", "SmoothPlastic", 0)
  1800. end
  1801. end)
  1802. Humanoid.WalkSpeed = 16
  1803. Humanoid.JumpPower = 50
  1804. Attacking = false
  1805. end
  1806.  
  1807.  
  1808.  
  1809. function OnClicked()
  1810.  
  1811.  
  1812. if Combo == 1 and not Attacking and CanAttack then
  1813. Combo = 2
  1814. Attack1()
  1815.  
  1816.  
  1817.  
  1818.  
  1819. elseif Combo == 2 and not Attacking and CanAttack then
  1820. Combo = 3
  1821. Attack2()
  1822.  
  1823.  
  1824. elseif Combo == 3 and not Attacking and CanAttack then
  1825. Combo = 1
  1826. Attack3()
  1827.  
  1828. end
  1829. end
  1830.  
  1831.  
  1832. function OnKeyDown(Key)
  1833.  
  1834. if Key == "e" and not Attacking and CooldownE > 10 then
  1835.  
  1836. CooldownE = CooldownE - 0
  1837.  
  1838.  
  1839. if Shots == 1 and not Attacking and CanAttack then
  1840. Shots = 2
  1841. Shot1()
  1842.  
  1843.  
  1844.  
  1845.  
  1846. elseif Shots == 2 and not Attacking and CanAttack then
  1847. Shots = 3
  1848. Shot2()
  1849.  
  1850.  
  1851. elseif Shots == 3 and not Attacking and CanAttack then
  1852. Shots = 1
  1853. Shot3()
  1854.  
  1855. end
  1856.  
  1857. end
  1858.  
  1859. if Key == "z" and not Attacking and Mana > 10 and Cooldown1 == MaxCooldown1 then
  1860.  
  1861. Mana = Mana - 0
  1862. Cooldown1 = 110
  1863. Shotcombo()
  1864.  
  1865. end
  1866.  
  1867. if Key == "x" and not Attacking and Mana > 20 and Cooldown2 == MaxCooldown2 then
  1868.  
  1869. Mana = Mana - 0
  1870. Cooldown2 = 110
  1871. BackJump()
  1872.  
  1873.  
  1874. end
  1875.  
  1876.  
  1877. if Key == "c" and not Attacking and Mana > 25 and Cooldown3 == MaxCooldown3 then
  1878.  
  1879. Mana = Mana - 0
  1880. Cooldown3 = 110
  1881. Energyshot()
  1882.  
  1883. end
  1884.  
  1885. if Key == "v" and not Attacking and Mana > 50 and Cooldown4 == MaxCooldown4 then
  1886.  
  1887. Mana = Mana - 0
  1888. Cooldown4 = 110
  1889. Overshot()
  1890.  
  1891. end
  1892. end
  1893.  
  1894. Mouse.KeyDown:connect(OnKeyDown)
  1895. Mouse.Button1Down:connect(OnClicked)
  1896.  
  1897. --[[ CLerp Animations ]]--
  1898.  
  1899. while true do
  1900. wait()
  1901.  
  1902. local Torvel = (Root.Velocity*Vector3.new(1,0,1)).magnitude
  1903. local Velderp = Root.Velocity.y
  1904. HitFloor,PosFloor = RayCast(Root.Position,(CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1905.  
  1906. Bars()
  1907.  
  1908.  
  1909. if Torvel < 1 and HitFloor ~= nil and Attacking == false then
  1910. Anim = "Idle"
  1911.  
  1912. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1913. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
  1914. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, -0.1) * CFrame.Angles(0.2,0,0.2), 0.3)
  1915. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, -0.1) * CFrame.Angles(0.2,0,-0.2), 0.3)
  1916. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0.1,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
  1917. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(-0.1,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
  1918. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.3),0.2)
  1919. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.3),0.2)
  1920.  
  1921. end
  1922.  
  1923.  
  1924. if 2 < Torvel and Torvel < 22 and HitFloor ~= nil and Attacking == false then
  1925. Anim = "Walking"
  1926.  
  1927. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0.5,0,0),0.2)
  1928. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.3,0,0),0.3)
  1929. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, 0.3) * CFrame.Angles(-0.6,0,0.2), 0.3)
  1930. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0.3) * CFrame.Angles(-0.6,0,-0.2), 0.3)
  1931. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(0,0,0),0.2)
  1932. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(0,0,0),0.2)
  1933. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(-3,1.57,-0.3),0.2)
  1934. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(-3,1.57,-0.3),0.2)
  1935. end
  1936.  
  1937. if Root.Velocity.y > 1 and HitFloor == nil and Attacking == false then
  1938. Anim = "Jump"
  1939.  
  1940. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1941. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  1942. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, 0.2) * CFrame.Angles(-0.4,0,0.2), 0.3)
  1943. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, 0.2) * CFrame.Angles(-0.4,0,-0.2), 0.3)
  1944. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,-0.2)*CFrame.Angles(-0.2,1.6,0),0.2)
  1945. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1946. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(-3,1.57,-0.3),0.2)
  1947. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(-3,1.57,-0.3),0.2)
  1948. end
  1949.  
  1950. if Root.Velocity.y < -1 and HitFloor == nil and Attacking == false then
  1951. Anim = "Fall"
  1952.  
  1953. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1954. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.5,0,0),0.3)
  1955. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, -0.2) * CFrame.Angles(0.4,0,0.2), 0.3)
  1956. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, -0.2) * CFrame.Angles(0.4,0,-0.2), 0.3)
  1957. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,-0.2)*CFrame.Angles(-0.2,1.6,0),0.2)
  1958. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1959. Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.3),0.2)
  1960. Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.3),0.2)
  1961. end
  1962.  
  1963. if #Effects > 0 then
  1964. for E = 1, #Effects do
  1965. if Effects[E]~=nil then
  1966. local Effect = Effects[E]
  1967.  
  1968. if Effect ~= nil then
  1969.  
  1970. local Part = Effect[1]
  1971. local Mode = Effect[2]
  1972. local Time = Effect[3]
  1973. local SizeX = Effect[4]
  1974. local SizeY = Effect[5]
  1975. local SizeZ = Effect[6]
  1976.  
  1977. if Effect[1].Transparency <= 1 then
  1978. if Effect[2] == "Block" then
  1979. Effect[1].CFrame = Effect[1].CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1980.  
  1981. Mesh = Effect[1]:FindFirstChild("Mesh")
  1982. if Mesh ~= nil then
  1983. Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
  1984. end
  1985.  
  1986. elseif Effect[2] == "Circle" then
  1987.  
  1988. if Effect[1]:FindFirstChild("Mesh") ~= nil then
  1989. Mesh=Effect[1].Mesh
  1990. Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
  1991. end
  1992. Effect[1].Transparency = Effect[1].Transparency + 0.05
  1993.  
  1994. elseif Effect[2] == "Cylinder" then
  1995.  
  1996. if Effect[1]:FindFirstChild("Mesh") ~= nil then
  1997. Mesh=Effect[1].Mesh
  1998. Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
  1999. end
  2000. Effect[1].Transparency = Effect[1].Transparency + 0.05
  2001.  
  2002. elseif Effect[2] == "Lightning" then
  2003.  
  2004. if Effect[1]:FindFirstChild("Mesh") ~= nil then
  2005. Mesh=Effect[1].Mesh
  2006. Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
  2007. end
  2008. Effect[1].Transparency = Effect[1].Transparency + 0.05
  2009.  
  2010. elseif Effect[2] == "Wave" then
  2011.  
  2012. if Effect[1]:FindFirstChild("Mesh") ~= nil then
  2013. Mesh=Effect[1].Mesh
  2014. Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
  2015. end
  2016. Effect[1].Transparency = Effect[1].Transparency + 0.05
  2017.  
  2018.  
  2019. else
  2020.  
  2021. Part.Parent=nil
  2022.  
  2023. table.remove(Effects, E)
  2024.  
  2025. end
  2026. end
  2027. end
  2028. end
  2029. end
  2030. end
  2031. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement