Advertisement
memberhero

the savior

Jul 17th, 2017
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --i used stravants Beautifier so it might look a bit wonky
  2. Meshes = {
  3. Blast = '20329976',
  4. Crown = '1323306',
  5. Ring = '3270017',
  6. Claw = '10681506',
  7. Crystal = '9756362',
  8. Coil = '9753878',
  9. Cloud = '1095708',
  10. }
  11. clangsounds = {
  12. '199149119',
  13. '199149109',
  14. '199149072',
  15. '199149025',
  16. '199148971'
  17. }
  18. hitsounds = {
  19. '199149137',
  20. '199149186',
  21. '199149221',
  22. '199149235',
  23. '199149269',
  24. '199149297'
  25. }
  26. blocksounds = {
  27. '199148933',
  28. '199148947'
  29. }
  30. armorsounds = {
  31. '199149321',
  32. '199149338',
  33. '199149367',
  34. '199149409',
  35. '199149452'
  36. }
  37. woosh = {
  38. Heavy1 = '320557353',
  39. Heavy2 = '320557382',
  40. Heavy3 = '320557453',
  41. Heavy4 = '199144226',
  42. Heavy5 = '203691447',
  43. Heavy6 = '203691467',
  44. Heavy7 = '203691492',
  45. Light1 = '320557413',
  46. Light2 = '320557487',
  47. Light3 = '199145095',
  48. Light4 = '199145146',
  49. Light5 = '199145887',
  50. Light6 = '199145913',
  51. Light7 = '199145841',
  52. Medium1 = '320557518',
  53. Medium2 = '320557537',
  54. Medium3 = '320557563',
  55. Medium4 = '199145204'
  56. }
  57. music = {--i like music a lot
  58. Breaking = '179281636',
  59. FinalReckoning = '357375770',
  60. NotDeadYet = '346175829',
  61. Intense = '151514610',
  62. JumpP1 = '160536628',
  63. JumpP2 = '60536666',
  64. SonsOfWar = '158929777',
  65. WrathOfSea = '165520893',
  66. ProtecTorsofEarth = '160542922',
  67. SkyTitans = '179282324',
  68. ArchAngel = '144043274',
  69. Anticipation = '168614529',
  70. TheMartyred = '186849544',
  71. AwakeP1 = '335631255',
  72. AwakeP2 = '335631297',
  73. ReadyAimFireP1 = '342455387',
  74. ReadyAimFireP2 = '342455399',
  75. DarkLordP1 = '209567483',
  76. DarkLordP2 = '209567529',
  77. BloodDrainP1 = '162914123',
  78. BloodDrainP2 = '162914203',
  79. DanceOfSwords = '320473062',
  80. Opal = '286415112',
  81. Calamity = '190454307',
  82. Hypnotica = '155968128',
  83. Nemisis = '160453802',
  84. Breathe = '276963903',
  85. GateToTheRift = '270655227',
  86. InfernalBeserking = '244143404',
  87. Trust = '246184492',
  88. AwakeningTheProject = '245121821',
  89. BloodPain = '242545577',
  90. Chaos = '247241693',
  91. NightmareFictionHighStake = '248062278',
  92. TheWhiteWeapon = '247236446',
  93. Gale = '256851659',
  94. ImperialCode = '256848383',
  95. Blitzkrieg = '306431437',
  96. RhapsodyRage = '348690251',
  97. TheGodFist = '348541501',
  98. BattleForSoul = '321185592',
  99. TheDarkColossus = '305976780',
  100. EmpireOfAngels = '302580452',
  101. Kronos = '302205297',
  102. Exorcist = '299796054',
  103. CrimsonFlames = '297799220',
  104. UltimatePower = '295753229',
  105. DrivingInTheDark = '295753229',
  106. AscendToPower = '293860654',
  107. GodOfTheSun = '293612495',
  108. DarkRider = '293861765',
  109. Vengeance = '293375555',
  110. SoundOfWar = '293376196',
  111. HellsCrusaders = '293012202',
  112. Legend = '293011823',
  113. RisingSouls = '290524959'
  114. }
  115. misc = {
  116. GroundSlam = '199145477',
  117. LaserSlash = '199145497',
  118. RailGunFire = '199145534',
  119. Charge1 = '199145659',
  120. Charge2 = '169380469',
  121. Charge3 = '169380479',
  122. EmptyGun = '203691822',
  123. GunShoot = '203691837',
  124. Stomp1 = '200632875',
  125. Stomp2 = '200632561',
  126. TelsaCannonCharge = '169445572',
  127. TelsaCannonShoot = '169445602',
  128. AncientHymm = '245313442'
  129. }
  130. wait(1 / 60)
  131. local Player = game.Players.localPlayer
  132. local Character = Player.Character
  133. local Humanoid = Character.Humanoid
  134. local mouse = Player:GetMouse()
  135. local m = Instance.new('Model', Character)
  136. m.Name = "WeaponModel"
  137. local Effects = {}
  138. local LeftArm = Character["Left Arm"]
  139. local RightArm = Character["Right Arm"]
  140. local LeftLeg = Character["Left Leg"]
  141. local RightLeg = Character["Right Leg"]
  142. local Head = Character.Head
  143. local Torso = Character.Torso
  144. local cam = game.Workspace.CurrentCamera
  145. local RootPart = Character.HumanoidRootPart
  146. local RootJoint = RootPart.RootJoint
  147. --cam.CameraSubject = Head
  148. local equipped = false
  149. local attack = false
  150. local Anim = 'Idle'
  151. local idle = 0
  152. local sprint = false
  153. local battlestance = false
  154. local attacktype = 1
  155. local state = 'none'
  156. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  157. local velocity = RootPart.Velocity.y
  158. local sine = 0
  159. local change = 1
  160. local on = false
  161. local grabbed = false
  162. local skill1 = false
  163. local skill2 = false
  164. local skill3 = false
  165. local skill4 = false
  166. local cooldown1 = 0
  167. local cooldown2 = 0
  168. local cooldown3 = 0
  169. local cooldown4 = 0
  170. local co1 = 10--how long it will take for skill to cooldown
  171. local co2 = 15
  172. local co3 = 15
  173. local co4 = 25
  174. local inputserv = game:GetService('UserInputService')
  175. local typing = false
  176. local crit = false
  177. local critchance = 2--critical chance percentage
  178. local critdamageaddmin = 3--minimum amount of critical damage being added to regular damage
  179. local critdamageaddmax = 7--maximum amount
  180. local maxstamina = 100--max amount of stamina
  181. local stamina = 0--stamina you start out with
  182. local skill1stam = 10--how much stamina is needed for a skill
  183. local skill2stam = 10
  184. local skill3stam = 20
  185. local skill4stam = 30
  186. local recovermana = 3--how much mana per second
  187. local defensevalue = 1--how much defense this character has
  188. local speedvalue = 1--how much speed this character has
  189. --speed is 16*speedvalue
  190. local mindamage = 5--self explanatory
  191. local maxdamage = 7--self explanatory
  192. local damagevalue = 1--how much damage this character has
  193. --damage is math.random(mindamage,maxdamage)*damagevalue
  194. --damage(hit, mindamage, maxdamage, 1, 1, RootPart)
  195. --asd
  196. local cn = CFrame.new-- make things easier :)
  197. local mr = math.rad
  198. local angles = CFrame.Angles
  199. local ud = UDim2.new
  200. local c3 = Color3.new
  201. local skillcolorscheme = c3(1, 1, 1)--color scheme for skills lol
  202. --asd
  203. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  204. Humanoid.Animator:Destroy()
  205. Character.Animate:Destroy()
  206.  
  207. --Angles For RootJoint `~`
  208. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  209. --Save Shoulders/Hips
  210. RSH, LSH = nil, nil
  211. RHS, LHS = nil, nil
  212. --Shoulders
  213. RW = Instance.new("Weld")
  214. LW = Instance.new("Weld")
  215. --Hips
  216. RH = Instance.new("Weld")
  217. LH = Instance.new("Weld")
  218. --
  219. Player = Player
  220. ch = Character
  221. LHS = Torso["Left Hip"]
  222. RHS = Torso["Right Hip"]
  223. RSH = ch.Torso["Right Shoulder"]
  224. LSH = ch.Torso["Left Shoulder"]
  225. --
  226. RSH.Parent = nil
  227. LSH.Parent = nil
  228. --
  229. LHS.Parent = nil
  230. RHS.Parent = nil
  231. --
  232. RW.Name = "RW"
  233. RW.Part0 = ch.Torso
  234. RW.C0 = cn(1.5, 0.5, 0)
  235. RW.C1 = cn(0, 0.5, 0)
  236. RW.Part1 = ch["Right Arm"]
  237. RW.Parent = ch.Torso
  238. --
  239. LW.Name = "LW"
  240. LW.Part0 = ch.Torso
  241. LW.C0 = cn(-1.5, 0.5, 0)
  242. LW.C1 = cn(0, 0.5, 0)
  243. LW.Part1 = ch["Left Arm"]
  244. LW.Parent = ch.Torso
  245. --
  246. LH.Name = "LH"
  247. LH.Part0 = ch.Torso
  248. LH.C0 = cn(-0.5, -2, 0)
  249. LH.Part1 = ch["Left Leg"]
  250. LH.Parent = ch.Torso
  251. --
  252. RH.Name = "RH"
  253. RH.Part0 = ch.Torso
  254. RH.C0 = cn(0.5, -2, 0)
  255. RH.Part1 = ch["Right Leg"]
  256. RH.Parent = ch.Torso
  257.  
  258. local scrn = Instance.new('ScreenGui', Player.PlayerGui)
  259. function makeframe(par, trans, pos, size, color)
  260. local frame = Instance.new('Frame', par)
  261. frame.BackgroundTransparency = trans
  262. frame.BorderSizePixel = 0
  263. frame.Position = pos
  264. frame.Size = size
  265. frame.BackgroundColor3 = color
  266. return frame
  267. end
  268. function makelabel(par, text)
  269. local label = Instance.new('TextLabel', par)
  270. label.BackgroundTransparency = 1
  271. label.Size = ud(1, 0, 1, 0)
  272. label.Position = ud(0, 0, 0, 0)
  273. label.TextColor3 = c3(255, 255, 255)
  274. label.TextStrokeTransparency = 0
  275. label.FontSize = Enum.FontSize.Size32
  276. label.Font = Enum.Font.SourceSansBold
  277. label.BorderSizePixel = 0
  278. label.TextScaled = true
  279. label.Text = text
  280. end
  281. framesk1 = makeframe(scrn, .5, ud(.23, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  282. framesk2 = makeframe(scrn, .5, ud(.5, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  283. framesk3 = makeframe(scrn, .5, ud(.5, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  284. framesk4 = makeframe(scrn, .5, ud(.23, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  285. bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  286. bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  287. bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  288. bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  289. text1 = makelabel(framesk1, '[3] Skill3')
  290. text2 = makelabel(framesk2, '[4] Skill4')
  291. text3 = makelabel(framesk3, "[2] Skill2")
  292. text4 = makelabel(framesk4, '[1] Skill1')
  293. staminabar = makeframe(scrn, .5, ud(.23, 0, .82, 0), ud(.26, 0, .03, 0), c3(61 / 255, 171 / 255, 1))
  294. staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(61 / 255, 171 / 255, 1))
  295. staminatext = makelabel(staminabar, 'Mana')
  296. healthbar = makeframe(scrn, .5, ud(.5, 0, .82, 0), ud(.26, 0, .03, 0), c3(1, 1, 0))
  297. healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 46 / 255, 49 / 255))
  298. healthtext = makelabel(healthbar, 'Health')
  299.  
  300. local stats = Instance.new('Folder', Character)
  301. stats.Name = 'Stats'
  302. local block = Instance.new('BoolValue', stats)
  303. block.Name = 'Block'
  304. block.Value = false
  305. local stun = Instance.new('BoolValue', stats)
  306. stun.Name = 'Stun'
  307. stun.Value = false
  308. local defense = Instance.new('NumberValue', stats)
  309. defense.Name = 'Defence'
  310. defense.Value = defensevalue
  311. local speed = Instance.new('NumberValue', stats)
  312. speed.Name = 'Speed'
  313. speed.Value = speedvalue
  314. local damagea = Instance.new('NumberValue', stats)
  315. damagea.Name = 'Damage'
  316. damagea.Value = damagevalue
  317. gyro = Instance.new("BodyGyro")
  318. gyro.Parent = nil
  319. gyro.P = 1e7
  320. gyro.D = 1e3
  321. gyro.MaxTorque = Vector3.new(0,1e7,0)
  322.  
  323. function atktype(s, e)
  324. coroutine.resume(coroutine.create(function()
  325. attacktype = e
  326. wait(1.5)
  327. attacktype = s
  328. end))
  329. end
  330.  
  331. function turncrit()
  332. coroutine.resume(coroutine.create(function()
  333. print'CRITICAL!'
  334. crit = true
  335. wait(.25)
  336. crit = false
  337. end))
  338. end
  339.  
  340. function subtractstamina(k)
  341. if stamina >= k then
  342. stamina = stamina - k
  343. end
  344. end
  345.  
  346. function clerp(a, b, t)
  347. return a:lerp(b, t)
  348. end
  349.  
  350. function randomizer(percent)
  351. local randomized = math.random(0, 100)
  352. if randomized <= percent then
  353. return true
  354. elseif randomized >= percent then
  355. return false
  356. end
  357. end
  358.  
  359. local RbxUtility = LoadLibrary("RbxUtility")
  360. local Create = RbxUtility.Create
  361.  
  362. function RemoveOutlines(part)
  363. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  364. end
  365.  
  366. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  367. local Part = Create("Part"){
  368. formFactor = FormFactor,
  369. Parent = Parent,
  370. Reflectance = Reflectance,
  371. Transparency = Transparency,
  372. CanCollide = false,
  373. Locked = true,
  374. BrickColor = BrickColor.new(tostring(BColor)),
  375. Name = Name,
  376. Size = Size,
  377. Material = Material,
  378. }
  379. RemoveOutlines(Part)
  380. return Part
  381. end
  382.  
  383. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  384. local Msh = Create(Mesh){
  385. Parent = Part,
  386. Offset = OffSet,
  387. Scale = Scale,
  388. }
  389. if Mesh == "SpecialMesh" then
  390. Msh.MeshType = MeshType
  391. Msh.MeshId = MeshId
  392. end
  393. return Msh
  394. end
  395.  
  396. function CreateWeld(Parent, Part0, Part1, C0, C1)
  397. local Weld = Create("Weld"){
  398. Parent = Parent,
  399. Part0 = Part0,
  400. Part1 = Part1,
  401. C0 = C0,
  402. C1 = C1,
  403. }
  404. return Weld
  405. end
  406.  
  407. function rayCast(pos, dir, maxl, ignore)
  408. return game:service("Workspace"):FindPartOnRay(Ray.new(pos, dir.unit * (maxl or 999.999)), ignore)
  409. end
  410. --Effects
  411. function makeeffect(par, size, pos1, trans, trans1, howmuch, delay1, id, type)
  412. local p = Instance.new('Part', par or workspace)
  413. p.CFrame = pos1
  414. p.Anchored = true
  415. p.Material = 'SmoothPlastic'
  416. p.CanCollide = false
  417. p.TopSurface = 0
  418. p.Size = Vector3.new(1, 1, 1)
  419. p.BottomSurface = 0
  420. p.Transparency = trans
  421. p.FormFactor = 'Custom'
  422. RemoveOutlines(p)
  423. local mesh = Instance.new('SpecialMesh', p)
  424. mesh.Scale = size
  425. if id ~= nil and type == nil then
  426. mesh.MeshId = 'rbxassetid://'..id
  427. elseif id == nil and type ~= nil then
  428. mesh.MeshType = type
  429. elseif id == nil and type == nil then
  430. mesh.MeshType = 'Brick'
  431. end
  432. coroutine.wrap(function()
  433. for i = 0, delay1, .1 do
  434. wait(1 / 60)
  435. p.CFrame = p.CFrame
  436. mesh.Scale = mesh.Scale + howmuch
  437. p.Transparency = p.Transparency + trans1
  438. end
  439. p:Destroy()
  440. end)()
  441. return p
  442. end
  443. function clangy(cframe)
  444. wait(1 / 60)
  445. local clang = {}
  446. local dis = 0
  447. local part = Instance.new('Part', nil)
  448. part.CFrame = cframe
  449. part.Anchored = true
  450. part.CanCollide = false
  451. part.BrickColor = BrickColor.new('New Yeller')
  452. part.FormFactor = 'Custom'
  453. part.Name = 'clanger'
  454. part.Size = Vector3.new(.2, .2, .2)
  455. part.TopSurface = 10
  456. part.BottomSurface = 10
  457. part.RightSurface = 10
  458. part.LeftSurface = 10
  459. part.BackSurface = 10
  460. part.FrontSurface = 10
  461. --part.Material='Neon'
  462. part:BreakJoints()
  463. local mesh = Instance.new('BlockMesh', part)
  464. coroutine.wrap(function()
  465. for i = 1, 7 do
  466. wait(1 / 60)
  467. dis = dis + .2
  468. local partc = part:clone()
  469. partc.Parent = workspace
  470. partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
  471. partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
  472. table.insert(clang, partc)
  473. end
  474. for i, v in pairs(clang) do
  475. coroutine.wrap(function()
  476. for i = 1, 10 do
  477. wait(.01)
  478. v.Transparency = v.Transparency + .1
  479. end
  480. v:destroy()
  481. end)()
  482. end
  483. end)()
  484. end
  485. --damage effects
  486. function circle(color, pos1)
  487. local p = Instance.new('Part', m)
  488. p.BrickColor = BrickColor.new(color)
  489. p.CFrame = pos1
  490. p.Anchored = true
  491. p.Material = 'Plastic'
  492. p.CanCollide = false
  493. p.TopSurface = 0
  494. p.Size = Vector3.new(1, 1, 1)
  495. p.BottomSurface = 0
  496. p.Transparency = 0.35
  497. p.FormFactor = 'Custom'
  498. local mesh = Instance.new('CylinderMesh', p)
  499. mesh.Scale = Vector3.new(0, 0, 0)
  500. coroutine.wrap(function()
  501. for i = 0, 5, .1 do
  502. wait(1 / 60)
  503. p.CFrame = p.CFrame
  504. mesh.Scale = mesh.Scale + Vector3.new(.5, 0, .5)
  505. p.Transparency = p.Transparency + .025
  506. end
  507. p:Destroy()
  508. end)()
  509. end
  510. function firespaz1(color, pos1)
  511. local p = Instance.new('Part', m)
  512. p.BrickColor = BrickColor.new(color)
  513. p.CFrame = pos1
  514. p.Anchored = true
  515. p.Material = 'Plastic'
  516. p.CanCollide = false
  517. p.TopSurface = 0
  518. p.Size = Vector3.new(1, 1, 1)
  519. p.BottomSurface = 0
  520. p.Transparency = 0.5
  521. p.FormFactor = 'Custom'
  522. local mesh = Instance.new('BlockMesh', p)
  523. mesh.Scale = Vector3.new(1, 1, 1)
  524. coroutine.wrap(function()
  525. for i = 0, 15, .1 do
  526. wait(1 / 30)
  527. p.CFrame = p.CFrame * CFrame.new(0, .1, 0)
  528. mesh.Scale = mesh.Scale - Vector3.new(.1, .1, .1)
  529. p.Transparency = p.Transparency + .025
  530. end
  531. p:Destroy()
  532. end)()
  533. end
  534.  
  535. function pickrandom(tablesa)
  536. local randomized = tablesa[math.random(1, #tablesa)]
  537. return randomized
  538. end
  539. function sound(id, pitch, volume, par, last)
  540. local s = Instance.new('Sound', par or Torso)
  541. s.SoundId = 'rbxassetid://'..id
  542. s.Pitch = pitch or 1
  543. s.Volume = volume or 1
  544. wait()
  545. s:play()
  546. game.Debris:AddItem(s, last or 120)
  547. end
  548. function clangy(cframe)
  549. wait(1 / 60)
  550. local clang = {}
  551. local dis = 0
  552. local part = Instance.new('Part', nil)
  553. part.CFrame = cframe
  554. part.Anchored = true
  555. part.CanCollide = false
  556. part.BrickColor = BrickColor.new('New Yeller')
  557. part.FormFactor = 'Custom'
  558. part.Name = 'clanger'
  559. part.Size = Vector3.new(.2, .2, .2)
  560. part.TopSurface = 10
  561. part.BottomSurface = 10
  562. part.RightSurface = 10
  563. part.LeftSurface = 10
  564. part.BackSurface = 10
  565. part.FrontSurface = 10
  566. --part.Material='Neon'
  567. part:BreakJoints()
  568. local mesh = Instance.new('BlockMesh', part)
  569. coroutine.wrap(function()
  570. for i = 1, 7 do
  571. wait(1 / 60)
  572. dis = dis + .2
  573. local partc = part:clone()
  574. partc.Parent = workspace
  575. partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
  576. partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
  577. table.insert(clang, partc)
  578. end
  579. for i, v in pairs(clang) do
  580. coroutine.wrap(function()
  581. for i = 1, 10 do
  582. wait(.01)
  583. v.Transparency = v.Transparency + .1
  584. end
  585. v:destroy()
  586. end)()
  587. end
  588. end)()
  589. end
  590. --damage effects
  591. --Effects
  592. so = function(id, par, vol, pit)
  593. coroutine.resume(coroutine.create(function()
  594. local sou = Instance.new("Sound", par or workspace)
  595. sou.Volume = vol
  596. sou.Pitch = pit or 1
  597. sou.SoundId = id
  598. wait()
  599. sou:play()
  600. game:GetService("Debris"):AddItem(sou, 6)
  601. end))
  602. end
  603.  
  604. local function getclosest(obj, distance)
  605. local last, lastx = distance + 1
  606. for i, v in pairs(workspace:GetChildren()) do
  607. if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  608. local t = v.Torso
  609. local dist = (t.Position - obj.Position).magnitude
  610. if dist <= distance then
  611. if dist < last then
  612. last = dist
  613. lastx = v
  614. end
  615. end
  616. end
  617. end
  618. return lastx
  619. end
  620.  
  621. function makegui(cframe, text)
  622. local a = math.random(-10, 10) / 100
  623. local c = Instance.new("Part")
  624. c.Transparency = 1
  625. Instance.new("BodyGyro").Parent = c
  626. c.Parent = m
  627. c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0))
  628. local f = Instance.new("BodyPosition")
  629. f.P = 2000
  630. f.D = 100
  631. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  632. f.position = c.Position + Vector3.new(0, 3, 0)
  633. f.Parent = c
  634. game:GetService("Debris"):AddItem(c, .5 + 6)
  635. c.CanCollide = false
  636. c.CanCollide = false
  637. local bg = Instance.new('BillboardGui', m)
  638. bg.Adornee = c
  639. bg.Size = UDim2.new(1, 0, 1, 0)
  640. bg.StudsOffset = Vector3.new(0, 0, 0)
  641. bg.AlwaysOnTop = false
  642. local tl = Instance.new('TextLabel', bg)
  643. tl.BackgroundTransparency = 1
  644. tl.Size = UDim2.new(1, 0, 1, 0)
  645. tl.Text = text
  646. tl.Font = 'SourceSansBold'
  647. tl.FontSize = 'Size42'
  648. if crit == true then
  649. tl.TextColor3 = Color3.new(180 / 255, 0, 0)
  650. else
  651. tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255)
  652. end
  653. tl.TextStrokeTransparency = 0
  654. tl.TextScaled = true
  655. tl.TextWrapped = true
  656. coroutine.wrap(function()
  657. wait(2)
  658. for i = 1, 10 do
  659. wait()
  660. tl.TextTransparency = tl.TextTransparency + .1
  661. end
  662. end)()
  663. end
  664.  
  665. function tag(hum, Player)
  666. local creator = Instance.new('ObjectValue', hum)
  667. creator.Value = Player
  668. creator.Name = 'creator'
  669. end
  670. function untag(hum)
  671. if hum ~= nil then
  672. local tag = hum:findFirstChild("creator")
  673. if tag ~= nil then
  674. tag.Parent = nil
  675. end
  676. end
  677. end
  678.  
  679. function tagPlayer(h)
  680. coroutine.wrap(function()
  681. tag(h, Player)
  682. wait(1)
  683. untag(h)
  684. end)()
  685. end
  686.  
  687. function CheckClose(Obj,Dist)
  688. for _,v in pairs(workspace:GetChildren()) do
  689. if v:FindFirstChild('Humanoid') and v:FindFirstChild('Torso') and v ~= Character then
  690. local DistFromTorso = (v.Torso.Position - Obj.Position).magnitude
  691. if DistFromTorso < Dist then
  692. return v
  693. end
  694. end
  695. end
  696. end
  697.  
  698. function damage(hit, mind, maxd, knock, type, prop)
  699. --[[
  700. to apply it to a Player directly, make the first arg go to the Players Torso
  701. 1 - normal type(damage and knockback)
  702. 2 - drain type(damage no knockback)
  703. 3 - lifesteal(absorbs hp) crit does not have an effect on how much life is absorbed
  704. 4 - heal(heals target)
  705. 5 - subtracts enemies defense
  706. 6 - subtracts enemies speed
  707. 7 -
  708. ]]
  709. if hit.Name:lower() == 'Hitbox' then
  710. local pos = CFrame.new(0, 1, -1)
  711. sound(pickrandom(clangsounds), math.random(100, 150) / 100, 1, Torso, 6)
  712. coroutine.wrap(function()
  713. for i = 1, 4 do
  714. clangy(Torso.CFrame * pos * CFrame.Angles(0, math.rad(math.random(0, 360)), 0))
  715. end
  716. end)()
  717. end
  718. if hit.Parent == nil then
  719. return
  720. end
  721. local h = hit.Parent:FindFirstChild("Humanoid")
  722. for i, v in pairs(hit.Parent:children()) do
  723. if v:IsA("Humanoid") then
  724. h = v
  725. end
  726. end
  727. if hit.Parent.Parent:FindFirstChild('Torso') ~= nil then
  728. h = hit.Parent.Parent:FindFirstChild('Humanoid')
  729. end
  730. if hit.Parent:IsA('Hat') then
  731. hit = hit.Parent.Parent:findFirstChild('Head')
  732. end
  733. local D = math.random(mind, maxd) * damagea.Value
  734. if h.Parent:FindFirstChild('Stats') then
  735. D = D / h.Parent:FindFirstChild('Stats').Defence.Value
  736. elseif not h.Parent:FindFirstChild('Stats') then
  737. D = D
  738. end
  739. if h then
  740. makegui(h.Parent.Head.CFrame, tostring(math.floor(D + .5)))
  741. end
  742. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  743. if type == 1 then
  744. tagPlayer(h)
  745. local asd = randomizer(critchance)
  746. if asd == true then
  747. turncrit()
  748. end
  749. if crit == false then
  750. h.Health = h.Health - D
  751. else
  752. h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  753. end
  754. so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
  755. local vp = Instance.new('BodyVelocity')
  756. vp.P = 500
  757. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  758. vp.velocity = prop.CFrame.lookVector * knock + prop.Velocity / 1.05
  759. if knock > 0 then
  760. vp.Parent = hit.Parent.Torso
  761. end
  762. game:GetService("Debris"):AddItem(vp, .5)
  763. elseif type == 2 then
  764. so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
  765. local asd = randomizer(critchance)
  766. if asd == true then
  767. turncrit()
  768. end
  769. if crit == false then
  770. h.Health = h.Health - D
  771. else
  772. h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  773. end
  774. tagPlayer(h)
  775. elseif type == 3 then
  776. tagPlayer(h)
  777. local asd = randomizer(critchance)
  778. if asd == true then
  779. turncrit()
  780. end
  781. if crit == false then
  782. h.Health = h.Health - D
  783. else
  784. h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  785. end
  786. Character.Humanoid.Health = Character.Humanoid.Health + D / 2
  787. so("http://www.roblox.com/asset/?id=206083232", hit, 1, 1.5)
  788. for i = 1, 10 do
  789. firespaz1('Bright red', hit.CFrame * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3)))
  790. end
  791. elseif type == 4 then
  792. h.Health = h.Health + D
  793. so("http://www.roblox.com/asset/?id=186883084", hit, 1, 1)
  794. circle('Dark green', h.Parent.Torso.CFrame * CFrame.new(0, -2.5, 0))
  795. end
  796. end
  797. end
  798.  
  799. function subtrackstamina(k)
  800. if stamina >= k then
  801. stamina = stamina - k
  802. end
  803. end
  804.  
  805. Player=game:GetService('Players').LocalPlayer
  806. Character=Player.Character
  807. Mouse=Player:GetMouse()
  808. m=Instance.new('Model',Character)
  809.  
  810.  
  811. local function weldBetween(a, b)
  812. local weldd = Instance.new("ManualWeld")
  813. weldd.Part0 = a
  814. weldd.Part1 = b
  815. weldd.C0 = CFrame.new()
  816. weldd.C1 = b.CFrame:inverse() * a.CFrame
  817. weldd.Parent = a
  818. return weldd
  819. end
  820.  
  821. it=Instance.new
  822.  
  823. function nooutline(part)
  824. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  825. end
  826.  
  827. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  828. local fp=it("Part")
  829. fp.formFactor=formfactor
  830. fp.Parent=parent
  831. fp.Reflectance=reflectance
  832. fp.Transparency=transparency
  833. fp.CanCollide=false
  834. fp.Locked=true
  835. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  836. fp.Name=name
  837. fp.Size=size
  838. fp.Position=Character.Torso.Position
  839. nooutline(fp)
  840. fp.Material=material
  841. fp:BreakJoints()
  842. return fp
  843. end
  844.  
  845. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  846. local mesh=it(Mesh)
  847. mesh.Parent=part
  848. if Mesh=="SpecialMesh" then
  849. mesh.MeshType=meshtype
  850. mesh.MeshId=meshid
  851. end
  852. mesh.Offset=offset
  853. mesh.Scale=scale
  854. return mesh
  855. end
  856.  
  857. function weld(parent,part0,part1,c0,c1)
  858. local weld=it("Weld")
  859. weld.Parent=parent
  860. weld.Part0=part0
  861. weld.Part1=part1
  862. weld.C0=c0
  863. weld.C1=c1
  864. return weld
  865. end
  866.  
  867. HandleB = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Dark blue", "HandleB", Vector3.new(1.01999998, 0.410000026, 1.01999998))
  868. HandleBweld = weld(m, Character["Left Arm"], HandleB, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.34057617e-005, 0.00579214096, -0.000717163086, -0.99999702, 1.30612687e-009, 2.74129752e-006, 1.1281549e-009, 1.00000882, -9.4532792e-005, -2.29434954e-006, -9.45326028e-005, -1.00000536))
  869. FConnectorB1 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Dark blue", "FConnectorB1", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  870. FConnectorB1weld = weld(m, HandleB, FConnectorB1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410011292, -1.09512377, -0.40996933, -0.999990344, 9.75173589e-006, -4.76017885e-006, -9.75114472e-006, -1.00001204, 2.27628334e-007, -4.34698632e-006, 2.29010766e-007, 1.00000203))
  871. FConnectorB2 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Really black", "FConnectorB2", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  872. FConnectorB2weld = weld(m, HandleB, FConnectorB2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410003662, -1.09513116, -0.129657745, -0.999986649, 9.75185594e-006, -5.20708772e-006, -9.75106377e-006, -1.00000668, 5.36027073e-007, -3.48685307e-006, 5.38973836e-007, 0.999993324))
  873. FConnectorB3 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Really black", "FConnectorB3", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  874. FConnectorB3weld = weld(m, HandleB, FConnectorB3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.409965515, -1.08497524, 0.140300751, -0.999993324, 9.75177409e-006, -3.97838994e-006, -9.75137755e-006, -1.00000334, 5.61856723e-007, -3.11826261e-006, 5.63341018e-007, 0.999996662))
  875. FConnectorB4 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Really black", "FConnectorB4", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  876. FConnectorB4weld = weld(m, HandleB, FConnectorB4, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.409957886, -1.08498001, 0.410175323, -0.999991894, 9.75470903e-006, -3.12404359e-006, -9.75422699e-006, -1.00000405, 5.46198862e-007, -2.07960943e-006, 5.47988748e-007, 0.999995947))
  877. FConnectorB5 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Really black", "FConnectorB5", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  878. FConnectorB5weld = weld(m, HandleB, FConnectorB5, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.409980774, -1.09494543, -0.409542084, -0.999974728, 9.75853163e-006, -6.0076236e-006, -9.75704006e-006, -1.00001264, 6.99823431e-007, -2.75148182e-006, 7.05331331e-007, 0.999987364))
  879. HitboxB = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Really black", "HitboxB", Vector3.new(1.22000003, 1.00999999, 1.01999998))
  880. HitboxBweld = weld(m, HandleB, HitboxB, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.100006104, 0.889988422, -8.01086426e-005, 0.999965847, -7.24100557e-010, 3.32365107e-006, -7.63507535e-010, 1.00002456, 3.05735739e-008, 3.58721138e-007, -2.40979716e-008, 0.999989808))
  881. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.210000008))
  882. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410049438, 0.714781284, 0.405288696, 0.999982476, 1.32186387e-010, 7.77321588e-007, 5.98021299e-010, -1.00001609, -0.000257281994, -1.25018551e-006, 0.00025728374, -0.99999851))
  883. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(1.01999998, 0.200000003, 1.01999998))
  884. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.28881836e-005, 0.285013676, -0.000282287598, 0.999967337, -1.5549535e-009, 5.20209369e-006, 1.61488642e-010, 1.00001812, 7.64994184e-008, -1.3707679e-006, -6.97400537e-008, 0.999985218))
  885. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.399999917, 0.620000005))
  886. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.409980774, -0.0147089958, -0.000305175781, 0.999965847, -2.17003437e-009, 4.9788764e-006, 3.62124303e-010, 1.00002444, 0.000246998534, -1.29649527e-006, -0.000247000571, 0.999989808))
  887. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.620000005))
  888. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410041809, -0.714772701, -0.000305175781, 0.999984264, 5.30370525e-010, 7.77336254e-007, -9.50127754e-010, 1.00000787, 0.00022139927, 1.25007e-006, -0.000221399358, 0.999992192))
  889. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.399999917, 0.210000008))
  890. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410003662, 0.0146970749, 0.40537262, 0.999965847, -2.17019336e-009, 4.97882229e-006, -3.70234204e-010, -1.00002444, -0.000240876077, 1.29644116e-006, 0.00024087794, -0.999989808))
  891. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(1.01999998, 0.200000003, 0.819999993))
  892. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.05175781e-005, 0.904989719, 0.000244140625, 0.999978065, -7.79672504e-009, 3.02157605e-006, 6.82267665e-009, 1.00001097, -1.16917363e-007, -1.95484972e-007, 1.21617632e-007, 0.999989033))
  893. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  894. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.620000005, 0.200000003, 0.819999993))
  895. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.57763672e-005, 0.914862633, 0.000553131104, 0.999978065, -2.87229418e-009, 2.06913091e-006, 1.8980213e-009, 1.00001097, -5.95959136e-007, 7.56950044e-007, 6.00666681e-007, 0.999989033))
  896. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  897. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.600000024, 0.200000003, 1))
  898. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.685016155, 0.60004425, -0.000576019287, 1.07880278e-005, 1.0000155, 0.000307261536, -0.999969006, 1.0787875e-005, 2.61563605e-006, 6.60559135e-006, -0.000307264534, 0.999984682))
  899. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  900. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.600000024, 0.200000003, 0.200000003))
  901. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.684755325, 0.600059509, -0.400756836, 1.0788599e-005, 1.00000787, 0.000307488954, -0.999984264, 1.07877813e-005, 3.72219597e-006, 5.74624983e-006, -0.000307490496, 0.999992192))
  902. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  903. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.600000024, 0.200000003, 0.200000003))
  904. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.685072899, 0.600067139, 0.399261475, 1.07872711e-005, 1.0000155, 0.00030746602, -0.999969006, 1.07870783e-005, 2.73933233e-006, 6.729284e-006, -0.000307469018, 0.999984682))
  905. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  906. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  907. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.399326324, 0.684971809, 0.599990845, -4.03382401e-005, 9.44945641e-005, 0.999991834, -9.62037007e-007, 1.00000787, -9.44897838e-005, -0.999983966, -9.65175104e-007, -4.23658821e-005))
  908. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.202000037, 0.219999999, 1.35599995))
  909. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.810000002, 0.200000003, 0.210000008))
  910. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0949478149, -0.714713573, 0.404712677, 0.999982774, 2.57471877e-010, 7.7719352e-007, -7.87075238e-010, 1.00001347, 0.000235129759, 1.25028396e-006, -0.000235130938, 0.999996126))
  911. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.810000002, 0.399999917, 0.210000008))
  912. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0949478149, -0.0146975517, 0.4047966, 0.999982774, 6.53486099e-010, 7.77193463e-007, -1.11419485e-009, 1.00001299, 0.000259818073, 1.25028328e-006, -0.000259819906, 0.99999553))
  913. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  914. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.400676727, 0.684971809, 0.600036621, -4.03382401e-005, 9.44945641e-005, 0.999991834, -9.62037007e-007, 1.00000787, -9.44897838e-005, -0.999983966, -9.65175104e-007, -4.23658821e-005))
  915. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.19600004, 0.219999999, 1.35599995))
  916. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  917. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000675201416, 0.684971809, 0.600013733, -4.03382401e-005, 9.44945641e-005, 0.999991834, -9.62037007e-007, 1.00000787, -9.44897838e-005, -0.999983966, -9.65175104e-007, -4.23658821e-005))
  918. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.646000028, 0.638000011, 1.35599995))
  919. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  920. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.714962482, 0.599998474, -0.400279999, 1.07917776e-005, 1.00000787, 0.000307536626, -0.999984264, 1.07909609e-005, 3.72180239e-006, 5.74585465e-006, -0.000307538168, 0.999992192))
  921. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  922. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  923. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0853996277, 0.600074768, 0.399375916, 1.07918922e-005, 1.00001574, 0.000307276874, -0.999968529, 1.07916239e-005, 3.00816009e-006, 7.05953335e-006, -0.000307279872, 0.999984324))
  924. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  925. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.620000005))
  926. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.602294922, -0.221727371, -0.222377777, 0.999968529, -2.77844325e-008, 1.5804543e-006, -1.73086164e-006, 0.707148612, -0.707064986, 1.76833453e-006, 0.707087159, 0.707126319))
  927. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  928. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0850524902, 0.600036621, -0.400672913, 1.07914002e-005, 1.00001574, 0.0003071838, -0.999968529, 1.07914666e-005, 1.92046173e-006, 5.97185317e-006, -0.000307186769, 0.999984324))
  929. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  930. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.400000006))
  931. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.221570969, 0.602279663, -0.532333374, -9.16450119e-007, 0.707201421, -0.707024872, -0.99998188, -4.39811004e-007, -1.23922871e-006, 3.05380581e-007, 0.707037866, 0.707188487))
  932. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  933. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.400000036))
  934. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.221664429, 0.602294922, 0.0677280426, -5.32410468e-007, 0.707169592, -0.707043946, -0.999968529, 4.26314045e-007, -2.87682087e-006, 1.1334331e-006, 0.707066119, 0.707147479))
  935. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  936. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.620000005))
  937. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.602279663, -0.222204208, 0.221616745, 0.999968529, -2.7891728e-008, 1.5804543e-006, 1.76886238e-006, 0.706902444, 0.707310975, 1.7303239e-006, -0.707333207, 0.706880331))
  938. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  939. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.71464777, 0.599990845, 0.399719238, 1.07905635e-005, 1.00000787, 0.000307468435, -0.999984264, 1.07897467e-005, 3.7218565e-006, 5.74590968e-006, -0.000307469978, 0.999992192))
  940. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  941. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.400000036))
  942. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.222238541, 0.602272034, 0.531747818, 3.61345883e-006, 0.706890404, 0.707323194, -0.999984264, 2.18690184e-006, 8.96424808e-007, 5.20473066e-007, -0.70733428, 0.706879318))
  943. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  944. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.400000006))
  945. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.222442627, 0.602287292, -0.0682048798, 2.74106606e-006, 0.706903875, 0.707309544, -0.999968529, 1.72691671e-006, -1.90388391e-006, 3.00002284e-007, -0.707331777, 0.706881762))
  946. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  947. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.810000002, 0.399999917, 0.210000008))
  948. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0949707031, 0.014693737, 0.405315399, 0.999965847, -2.00778438e-009, 5.06809101e-006, -1.86809165e-010, -1.00002444, -0.000240532332, 1.38570761e-006, 0.000240534195, -0.999989808))
  949. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.200000003, 0.99999994, 1.01999998))
  950. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599967957, -0.314879894, -0.000305175781, 0.999968529, -1.52550794e-009, 3.47273135e-006, 2.76023454e-010, 1.00001574, 0.000246752985, 5.82059499e-007, -0.000246754033, 0.999984324))
  951. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.810000002, 0.200000003, 0.210000008))
  952. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0949478149, 0.71477747, 0.405269623, 0.999983668, 2.62990379e-010, 7.77281798e-007, 6.87050083e-010, -1.00001037, -0.00025712885, -1.25016015e-006, 0.000257130014, -0.99999398))
  953. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(1.01999998, 0.610000014, 1.01999998))
  954. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.57763672e-005, 0.690003395, 0, 0.999978065, -3.37791017e-009, 2.19185767e-006, 2.40435716e-009, 1.00001097, 5.20303729e-008, 6.34224364e-007, -4.73301043e-008, 0.999989033))
  955. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.200000003, 0.200000003, 0.210000008))
  956. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410049438, -0.714709282, 0.404720306, 0.999984264, 2.45380903e-011, 7.7730283e-007, -4.26871205e-010, 1.00000787, 0.000235340878, 1.25010342e-006, -0.000235341198, 0.999992192))
  957. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.200000003, 0.399999917, 0.210000008))
  958. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410041809, -0.0147390366, 0.404838562, 0.999983072, 5.45701151e-010, 7.77317439e-007, -1.05576647e-009, 1.0000155, 0.000272982696, 1.25019938e-006, -0.000272984529, 0.999998391))
  959. FHandleB1 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really red", "FHandleB1", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  960. FHandleB1weld = weld(m, FConnectorB1, FHandleB1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.05175781e-005, -0.100004435, 3.81469727e-006, 0.999987125, 9.48046641e-010, -8.29304327e-007, -1.90026062e-009, 1.00000644, -2.25118129e-008, -8.29517148e-007, 1.97178451e-008, 0.999993563))
  961. FHandleB2 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really red", "FHandleB2", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  962. FHandleB2weld = weld(m, FConnectorB2, FHandleB2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.0999953747, -1.90734863e-005, 0.999986887, 1.7767473e-009, -8.2923782e-007, -2.74682477e-009, 1.00000656, -3.37167876e-008, -8.60301839e-007, 3.08791641e-008, 0.999993443))
  963. FHandleB3 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really red", "FHandleB3", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  964. FHandleB3weld = weld(m, FConnectorB3, FHandleB3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.52587891e-005, -0.110008478, -6.48498535e-005, 0.999993801, 1.65772562e-009, -1.46104639e-007, -2.11578732e-009, 1.0000031, -3.14466888e-008, -6.52590643e-007, 3.01006366e-008, 0.999996901))
  965. FHandleB4 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really red", "FHandleB4", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  966. FHandleB4weld = weld(m, FConnectorB4, FHandleB4, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.05175781e-005, -0.110030413, -4.57763672e-005, 0.999992371, -3.29658301e-010, -1.30871194e-006, -2.33423003e-010, 1.00000381, -5.04951458e-009, 3.25705969e-007, 3.39059625e-009, 0.999996185))
  967. FHandleB5 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really red", "FHandleB5", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  968. FHandleB5weld = weld(m, FConnectorB5, FHandleB5, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.62939453e-006, -0.0900087357, -0.000114440918, 0.999993801, 3.53735596e-009, -1.22842721e-006, -3.99611277e-009, 1.0000031, -1.37908501e-007, 4.29716692e-007, 1.36555173e-007, 0.999996901))
  969.  
  970.  
  971. HandleB = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "hl/https://noligate-rpfeltz.rhcloud.com/rbxsb/get.php?key=*CLGb,70l3,ZzJm!$ani", "HandleB", Vector3.new(1.01999998, 0.410000026, 1.01999998))
  972. HandleBweld = weld(m, Character["Left Arm"], HandleB, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.34057617e-005, 0.00579214096, -0.000717163086, -0.99999702, 1.30612687e-009, 2.74129752e-006, 1.1281549e-009, 1.00000882, -9.4532792e-005, -2.29434954e-006, -9.45326028e-005, -1.00000536))
  973. FConnectorB1 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Dark blue", "FConnectorB1", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  974. FConnectorB1weld = weld(m, HandleB, FConnectorB1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410011292, -1.09512377, -0.40996933, -0.999990344, 9.75173589e-006, -4.76017885e-006, -9.75114472e-006, -1.00001204, 2.27628334e-007, -4.34698632e-006, 2.29010766e-007, 1.00000203))
  975. FConnectorB2 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Dark blue", "FConnectorB2", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  976. FConnectorB2weld = weld(m, HandleB, FConnectorB2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410003662, -1.09513116, -0.129657745, -0.999986649, 9.75185594e-006, -5.20708772e-006, -9.75106377e-006, -1.00000668, 5.36027073e-007, -3.48685307e-006, 5.38973836e-007, 0.999993324))
  977. FConnectorB3 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Dark blue", "FConnectorB3", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  978. FConnectorB3weld = weld(m, HandleB, FConnectorB3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.409965515, -1.08497524, 0.140300751, -0.999993324, 9.75177409e-006, -3.97838994e-006, -9.75137755e-006, -1.00000334, 5.61856723e-007, -3.11826261e-006, 5.63341018e-007, 0.999996662))
  979. FConnectorB4 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Really black", "FConnectorB4", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  980. FConnectorB4weld = weld(m, HandleB, FConnectorB4, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.409957886, -1.08498001, 0.410175323, -0.999991894, 9.75470903e-006, -3.12404359e-006, -9.75422699e-006, -1.00000405, 5.46198862e-007, -2.07960943e-006, 5.47988748e-007, 0.999995947))
  981. FConnectorB5 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Dark blue", "FConnectorB5", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  982. FConnectorB5weld = weld(m, HandleB, FConnectorB5, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.409980774, -1.09494543, -0.409542084, -0.999974728, 9.75853163e-006, -6.0076236e-006, -9.75704006e-006, -1.00001264, 6.99823431e-007, -2.75148182e-006, 7.05331331e-007, 0.999987364))
  983. HitboxB = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Really black", "HitboxB", Vector3.new(1.22000003, 1.00999999, 1.01999998))
  984. HitboxBweld = weld(m, HandleB, HitboxB, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.100006104, 0.889988422, -8.01086426e-005, 0.999965847, -7.24100557e-010, 3.32365107e-006, -7.63507535e-010, 1.00002456, 3.05735739e-008, 3.58721138e-007, -2.40979716e-008, 0.999989808))
  985. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.210000008))
  986. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410049438, 0.714781284, 0.405288696, 0.999982476, 1.32186387e-010, 7.77321588e-007, 5.98021299e-010, -1.00001609, -0.000257281994, -1.25018551e-006, 0.00025728374, -0.99999851))
  987. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(1.01999998, 0.200000003, 1.01999998))
  988. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.28881836e-005, 0.285013676, -0.000282287598, 0.999967337, -1.5549535e-009, 5.20209369e-006, 1.61488642e-010, 1.00001812, 7.64994184e-008, -1.3707679e-006, -6.97400537e-008, 0.999985218))
  989. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.399999917, 0.620000005))
  990. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.409980774, -0.0147089958, -0.000305175781, 0.999965847, -2.17003437e-009, 4.9788764e-006, 3.62124303e-010, 1.00002444, 0.000246998534, -1.29649527e-006, -0.000247000571, 0.999989808))
  991. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.620000005))
  992. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410041809, -0.714772701, -0.000305175781, 0.999984264, 5.30370525e-010, 7.77336254e-007, -9.50127754e-010, 1.00000787, 0.00022139927, 1.25007e-006, -0.000221399358, 0.999992192))
  993. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.399999917, 0.210000008))
  994. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410003662, 0.0146970749, 0.40537262, 0.999965847, -2.17019336e-009, 4.97882229e-006, -3.70234204e-010, -1.00002444, -0.000240876077, 1.29644116e-006, 0.00024087794, -0.999989808))
  995. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(1.01999998, 0.200000003, 0.819999993))
  996. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.05175781e-005, 0.904989719, 0.000244140625, 0.999978065, -7.79672504e-009, 3.02157605e-006, 6.82267665e-009, 1.00001097, -1.16917363e-007, -1.95484972e-007, 1.21617632e-007, 0.999989033))
  997. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  998. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.620000005, 0.200000003, 0.819999993))
  999. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.57763672e-005, 0.914862633, 0.000553131104, 0.999978065, -2.87229418e-009, 2.06913091e-006, 1.8980213e-009, 1.00001097, -5.95959136e-007, 7.56950044e-007, 6.00666681e-007, 0.999989033))
  1000. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1001. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.600000024, 0.200000003, 1))
  1002. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.685016155, 0.60004425, -0.000576019287, 1.07880278e-005, 1.0000155, 0.000307261536, -0.999969006, 1.0787875e-005, 2.61563605e-006, 6.60559135e-006, -0.000307264534, 0.999984682))
  1003. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1004. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.600000024, 0.200000003, 0.200000003))
  1005. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.684755325, 0.600059509, -0.400756836, 1.0788599e-005, 1.00000787, 0.000307488954, -0.999984264, 1.07877813e-005, 3.72219597e-006, 5.74624983e-006, -0.000307490496, 0.999992192))
  1006. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1007. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.600000024, 0.200000003, 0.200000003))
  1008. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.685072899, 0.600067139, 0.399261475, 1.07872711e-005, 1.0000155, 0.00030746602, -0.999969006, 1.07870783e-005, 2.73933233e-006, 6.729284e-006, -0.000307469018, 0.999984682))
  1009. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1010. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  1011. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.399326324, 0.684971809, 0.599990845, -4.03382401e-005, 9.44945641e-005, 0.999991834, -9.62037007e-007, 1.00000787, -9.44897838e-005, -0.999983966, -9.65175104e-007, -4.23658821e-005))
  1012. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.202000037, 0.219999999, 1.35599995))
  1013. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.810000002, 0.200000003, 0.210000008))
  1014. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0949478149, -0.714713573, 0.404712677, 0.999982774, 2.57471877e-010, 7.7719352e-007, -7.87075238e-010, 1.00001347, 0.000235129759, 1.25028396e-006, -0.000235130938, 0.999996126))
  1015. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.810000002, 0.399999917, 0.210000008))
  1016. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0949478149, -0.0146975517, 0.4047966, 0.999982774, 6.53486099e-010, 7.77193463e-007, -1.11419485e-009, 1.00001299, 0.000259818073, 1.25028328e-006, -0.000259819906, 0.99999553))
  1017. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  1018. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.400676727, 0.684971809, 0.600036621, -4.03382401e-005, 9.44945641e-005, 0.999991834, -9.62037007e-007, 1.00000787, -9.44897838e-005, -0.999983966, -9.65175104e-007, -4.23658821e-005))
  1019. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.19600004, 0.219999999, 1.35599995))
  1020. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  1021. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000675201416, 0.684971809, 0.600013733, -4.03382401e-005, 9.44945641e-005, 0.999991834, -9.62037007e-007, 1.00000787, -9.44897838e-005, -0.999983966, -9.65175104e-007, -4.23658821e-005))
  1022. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.646000028, 0.638000011, 1.35599995))
  1023. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1024. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.714962482, 0.599998474, -0.400279999, 1.07917776e-005, 1.00000787, 0.000307536626, -0.999984264, 1.07909609e-005, 3.72180239e-006, 5.74585465e-006, -0.000307538168, 0.999992192))
  1025. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1026. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1027. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0853996277, 0.600074768, 0.399375916, 1.07918922e-005, 1.00001574, 0.000307276874, -0.999968529, 1.07916239e-005, 3.00816009e-006, 7.05953335e-006, -0.000307279872, 0.999984324))
  1028. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1029. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.620000005))
  1030. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.602294922, -0.221727371, -0.222377777, 0.999968529, -2.77844325e-008, 1.5804543e-006, -1.73086164e-006, 0.707148612, -0.707064986, 1.76833453e-006, 0.707087159, 0.707126319))
  1031. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1032. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0850524902, 0.600036621, -0.400672913, 1.07914002e-005, 1.00001574, 0.0003071838, -0.999968529, 1.07914666e-005, 1.92046173e-006, 5.97185317e-006, -0.000307186769, 0.999984324))
  1033. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1034. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.400000006))
  1035. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.221570969, 0.602279663, -0.532333374, -9.16450119e-007, 0.707201421, -0.707024872, -0.99998188, -4.39811004e-007, -1.23922871e-006, 3.05380581e-007, 0.707037866, 0.707188487))
  1036. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1037. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.400000036))
  1038. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.221664429, 0.602294922, 0.0677280426, -5.32410468e-007, 0.707169592, -0.707043946, -0.999968529, 4.26314045e-007, -2.87682087e-006, 1.1334331e-006, 0.707066119, 0.707147479))
  1039. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1040. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.620000005))
  1041. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.602279663, -0.222204208, 0.221616745, 0.999968529, -2.7891728e-008, 1.5804543e-006, 1.76886238e-006, 0.706902444, 0.707310975, 1.7303239e-006, -0.707333207, 0.706880331))
  1042. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1043. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.71464777, 0.599990845, 0.399719238, 1.07905635e-005, 1.00000787, 0.000307468435, -0.999984264, 1.07897467e-005, 3.7218565e-006, 5.74590968e-006, -0.000307469978, 0.999992192))
  1044. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1045. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.400000036))
  1046. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.222238541, 0.602272034, 0.531747818, 3.61345883e-006, 0.706890404, 0.707323194, -0.999984264, 2.18690184e-006, 8.96424808e-007, 5.20473066e-007, -0.70733428, 0.706879318))
  1047. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1048. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.400000006))
  1049. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.222442627, 0.602287292, -0.0682048798, 2.74106606e-006, 0.706903875, 0.707309544, -0.999968529, 1.72691671e-006, -1.90388391e-006, 3.00002284e-007, -0.707331777, 0.706881762))
  1050. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1051. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.810000002, 0.399999917, 0.210000008))
  1052. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0949707031, 0.014693737, 0.405315399, 0.999965847, -2.00778438e-009, 5.06809101e-006, -1.86809165e-010, -1.00002444, -0.000240532332, 1.38570761e-006, 0.000240534195, -0.999989808))
  1053. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.200000003, 0.99999994, 1.01999998))
  1054. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599967957, -0.314879894, -0.000305175781, 0.999968529, -1.52550794e-009, 3.47273135e-006, 2.76023454e-010, 1.00001574, 0.000246752985, 5.82059499e-007, -0.000246754033, 0.999984324))
  1055. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.810000002, 0.200000003, 0.210000008))
  1056. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0949478149, 0.71477747, 0.405269623, 0.999983668, 2.62990379e-010, 7.77281798e-007, 6.87050083e-010, -1.00001037, -0.00025712885, -1.25016015e-006, 0.000257130014, -0.99999398))
  1057. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(1.01999998, 0.610000014, 1.01999998))
  1058. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.57763672e-005, 0.690003395, 0, 0.999978065, -3.37791017e-009, 2.19185767e-006, 2.40435716e-009, 1.00001097, 5.20303729e-008, 6.34224364e-007, -4.73301043e-008, 0.999989033))
  1059. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.210000008))
  1060. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410049438, -0.714709282, 0.404720306, 0.999984264, 2.45380903e-011, 7.7730283e-007, -4.26871205e-010, 1.00000787, 0.000235340878, 1.25010342e-006, -0.000235341198, 0.999992192))
  1061. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.399999917, 0.210000008))
  1062. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410041809, -0.0147390366, 0.404838562, 0.999983072, 5.45701151e-010, 7.77317439e-007, -1.05576647e-009, 1.0000155, 0.000272982696, 1.25019938e-006, -0.000272984529, 0.999998391))
  1063. FHandleB1 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "FHandleB1", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  1064. FHandleB1weld = weld(m, FConnectorB1, FHandleB1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.05175781e-005, -0.100004435, 3.81469727e-006, 0.999987125, 9.48046641e-010, -8.29304327e-007, -1.90026062e-009, 1.00000644, -2.25118129e-008, -8.29517148e-007, 1.97178451e-008, 0.999993563))
  1065. FHandleB2 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "FHandleB2", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  1066. FHandleB2weld = weld(m, FConnectorB2, FHandleB2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.0999953747, -1.90734863e-005, 0.999986887, 1.7767473e-009, -8.2923782e-007, -2.74682477e-009, 1.00000656, -3.37167876e-008, -8.60301839e-007, 3.08791641e-008, 0.999993443))
  1067. FHandleB3 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "FHandleB3", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  1068. FHandleB3weld = weld(m, FConnectorB3, FHandleB3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.52587891e-005, -0.110008478, -6.48498535e-005, 0.999993801, 1.65772562e-009, -1.46104639e-007, -2.11578732e-009, 1.0000031, -3.14466888e-008, -6.52590643e-007, 3.01006366e-008, 0.999996901))
  1069. FHandleB4 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "FHandleB4", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  1070. FHandleB4weld = weld(m, FConnectorB4, FHandleB4, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.05175781e-005, -0.110030413, -4.57763672e-005, 0.999992371, -3.29658301e-010, -1.30871194e-006, -2.33423003e-010, 1.00000381, -5.04951458e-009, 3.25705969e-007, 3.39059625e-009, 0.999996185))
  1071. FHandleB5 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "FHandleB5", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  1072. FHandleB5weld = weld(m, FConnectorB5, FHandleB5, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.62939453e-006, -0.0900087357, -0.000114440918, 0.999993801, 3.53735596e-009, -1.22842721e-006, -3.99611277e-009, 1.0000031, -1.37908501e-007, 4.29716692e-007, 1.36555173e-007, 0.999996901))
  1073.  
  1074. local lasrs = {}
  1075. local lasrspd = 6
  1076. local maxTravelDistance = 100
  1077. local maxRebounds = 5
  1078.  
  1079. function RAY(pos, dir, collidedlist, startpos, endpos, distleft)
  1080. collidedlist = collidedlist or {Character}
  1081. startpos = startpos or pos
  1082. distleft = distleft or dir.unit * dir.magnitude
  1083. endpos = endpos or pos + distleft
  1084. local ray = Ray.new(pos, distleft)
  1085. local hitz,enz = workspace:FindPartOnRayWithIgnoreList(ray, collidedlist)
  1086. if hitz ~= nil and not hitz.Parent:findFirstChild("Humanoid") then
  1087. if hitz.CanCollide == false then
  1088. table.insert(collidedlist, hitz)
  1089. local newpos = enz
  1090. local newdistleft = distleft - (dir.unit * (pos - newpos).magnitude)
  1091. if newdistleft then
  1092. return RAY(newpos-(dir*0.01), dir, collidedlist, startpos, endpos, newdistleft+(dir*0.01))
  1093. end
  1094. end
  1095. end
  1096. return hitz, enz, ray
  1097. end
  1098.  
  1099. function FindSurface(part, position)
  1100. local obj = part.CFrame:pointToObjectSpace(position)
  1101. local siz = part.Size/2
  1102. for i,v in pairs(Enum.NormalId:GetEnumItems()) do
  1103. local vec = Vector3.FromNormalId(v)
  1104. local wvec = part.CFrame:vectorToWorldSpace(vec)
  1105. local vz = (obj)/(siz*vec)
  1106. if (math.abs(vz.X-1) < 0.001 or math.abs(vz.Y-1) < 0.001 or math.abs(vz.Z-1) < 0.001) then
  1107. return wvec,vec
  1108. end
  1109. end
  1110. if part.className == "WedgePart" then
  1111. local pos = (part.CFrame * CFrame.new(0,part.Size.y/2,part.Size.z/2)).p
  1112. local apos = (part.CFrame * CFrame.Angles(-math.atan2(part.CFrame:pointToObjectSpace(pos).y,part.CFrame:pointToObjectSpace(pos).z),0,0) * CFrame.new(0,1,0)).p
  1113. local wvec,vec = (apos - part.Position).unit, part.CFrame:pointToObjectSpace(apos)
  1114. return wvec,vec
  1115. elseif part.className == "Part" and (part.Shape.Name == "Ball" or part.Shape.Name == "Cylinder") then
  1116. return (position - part.Position).unit, part.CFrame:vectorToObjectSpace((position - part.Position).unit)
  1117. end
  1118. end
  1119.  
  1120. function Reflect(direction, normal)
  1121. return direction - 2 * normal:Dot(direction) * normal
  1122. end
  1123.  
  1124. function ReflectShot(mouse,asd)
  1125. local dir = (mouse.Hit.p - Torso.Position).unit
  1126. local tabl
  1127. local tablnum = 0
  1128. for i, v in pairs(lasrs) do
  1129. if not v[1] then
  1130. tabl = v
  1131. tablnum = i
  1132. break
  1133. end
  1134. end
  1135. if not tabl then
  1136. tablnum = #lasrs + 1
  1137. tabl = {false,nil,nil,0,0,1,{},{},{},{}}
  1138. for i = 1, 2 do
  1139. for j = 1, 6 do
  1140. local p = Instance.new("Part")
  1141. p.FormFactor = "Custom"
  1142. p.CanCollide = false
  1143. p.Anchored = true
  1144. p.Locked = true
  1145. p.BrickColor = BarrelA.BrickColor
  1146. p.TopSurface = 10
  1147. p.BottomSurface = 10
  1148. p.RightSurface = 10
  1149. p.LeftSurface = 10
  1150. p.FrontSurface = 10
  1151. p.BackSurface = 10
  1152. p.Size = Vector3.new(.5,.5,.5)
  1153. p.Material = "Neon"
  1154. p.Transparency = i == 1 and 0 or 0.6
  1155. local mesh = Instance.new("CylinderMesh",p)
  1156. table.insert(tabl[6+i],p)
  1157. table.insert(tabl[8+i],mesh)
  1158. end
  1159. end
  1160. table.insert(lasrs,tabl)
  1161. end
  1162. -- isMoving,direction,lastPosition,rebounds,distance,recycleCount,middleLayer,outerLayer
  1163. tabl[4],tabl[5] = 0,0
  1164. tabl[3] = asd.Position
  1165. tabl[2] = dir
  1166. tabl[1] = true
  1167.  
  1168. end
  1169.  
  1170. gun = false
  1171.  
  1172. shoot = false
  1173.  
  1174. gunidle = false
  1175.  
  1176. local GunA = true
  1177. local GunB = false
  1178.  
  1179. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1180. local prt = CreatePart(3, Character, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.1, 0.1, 0.1))
  1181. prt.Anchored = true
  1182. prt.CFrame = cframe
  1183. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1184. game:GetService("Debris"):AddItem(prt, 5)
  1185. Effects[#Effects + 1] = {
  1186. prt,
  1187. "Cylinder",
  1188. delay,
  1189. x3,
  1190. y3,
  1191. z3
  1192. } --part, type, delay
  1193. end
  1194.  
  1195. function Shoot(asd, spread1, spread2)
  1196. local MainPos = asd.Position
  1197. local MainPos2 = mouse.Hit.p
  1198. local spread = Vector3.new((math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2) * (asd.Position - mouse.Hit.p).magnitude / 100
  1199. local MouseLook = cn((MainPos + MainPos2) / 2, MainPos2 + spread)
  1200. num = 30
  1201. coroutine.resume(coroutine.create(function(Spreaded)
  1202. repeat
  1203. wait()
  1204. local hit, pos = rayCast(MainPos, MouseLook.lookVector, 10, RootPart.Parent)
  1205. local TheHit = mouse.Hit.p
  1206. local mag = (MainPos - pos).magnitude
  1207. CylinderEffect(BrickColor.new(asd.BrickColor.Color), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 3, mag * 5, 3, .5, 0, 1.5, 0.1)
  1208. MainPos = MainPos + (MouseLook.lookVector * 10)
  1209. num = num - 1
  1210. if hit ~= nil then
  1211. num = 0
  1212. local ref = CreatePart(3, workspace, "Neon", 0, 1, BrickColor.new("New Yeller"), "Reference", Vector3.new())
  1213. ref.Anchored = true
  1214. ref.CFrame = cn(pos)
  1215. damage(hit.Parent:WaitForChild("Torso"), math.random(1,3), math.random(3,5), 5, 1, RootPart)
  1216. game:GetService("Debris"):AddItem(ref, 5)
  1217. end
  1218. until num <= 0
  1219. end))
  1220. end
  1221.  
  1222. function GunStance()
  1223. attack=true
  1224. gun=true
  1225. Humanoid.WalkSpeed = 0
  1226. gyro.Parent = RootPart
  1227. if GunA == true then
  1228. for i=0,1,0.2 do
  1229. wait()
  1230. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .25)
  1231. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(5), math.rad(-90)), .25)
  1232. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(30), math.rad(90)), .25)
  1233. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-10)), .25)
  1234. RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25)
  1235. LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25)
  1236. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), 5*i, math.rad(0)), .75)
  1237. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1238. end
  1239. for i=0,1,0.1 do
  1240. wait()
  1241. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .25)
  1242. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-90)), .25)
  1243. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), .25)
  1244. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-10)), .25)
  1245. RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25)
  1246. LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25)
  1247. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1248. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1249. end
  1250. elseif GunB == true then
  1251. for i=0,1,0.2 do
  1252. wait()
  1253. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .25)
  1254. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-5), math.rad(90)), .25)
  1255. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(10)), .25)
  1256. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(-30), math.rad(-90)), .25)
  1257. RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25)
  1258. LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25)
  1259. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1260. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), 5*i, math.rad(0)), .75)
  1261. end
  1262. for i=0,1,0.1 do
  1263. wait()
  1264. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .25)
  1265. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), .25)
  1266. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), .25)
  1267. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), .25)
  1268. RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25)
  1269. LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25)
  1270. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1271. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1272. end
  1273. end
  1274. local offset = nil
  1275. gunidle=true
  1276. while gun==true do
  1277. wait()
  1278. local gunpos = Vector3.new(mouse.Hit.p.x, Head.Position.Y, mouse.Hit.p.z)
  1279. offset = (Torso.Position.y - mouse.Hit.p.y) / 60
  1280. local mag = (Torso.Position - mouse.Hit.p).magnitude / 80
  1281. offset = offset / mag
  1282. if GunA == true and GunB == false then
  1283. RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(offset, 0, 0), .5)
  1284. elseif GunB == true and GunA == false then
  1285. LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(offset, 0, 0), .5)
  1286. end
  1287. end
  1288. if shoot==true then
  1289. gunidle=false
  1290. if GunA == true then
  1291. so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
  1292. so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
  1293. so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
  1294. GunA = false
  1295. Shoot(BarrelA, 0, 0)
  1296. for i=0,1,0.15 do
  1297. wait()
  1298. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), .3)
  1299. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(5), math.rad(-80)), .3)
  1300. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(90), math.rad(60), math.rad(80)), .55)
  1301. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-15)), .3)
  1302. RH.C0 = clerp(RH.C0, cn(0.6, -2, -.1) * angles(math.rad(5), math.rad(0), math.rad(3)), .25)
  1303. LH.C0 = clerp(LH.C0, cn(-0.6, -2, .1) * angles(math.rad(-5), math.rad(0), math.rad(-3)), .25)
  1304. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), .75)
  1305. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), .3)
  1306. end
  1307. GunB = true
  1308. elseif GunB == true then
  1309. so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
  1310. so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
  1311. so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
  1312. GunB = false
  1313. Shoot(BarrelB, 0, 0)
  1314. for i=0,1,0.15 do
  1315. wait()
  1316. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .3)
  1317. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-5), math.rad(80)), .3)
  1318. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(15)), .3)
  1319. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(90), math.rad(-60), math.rad(-80)), .55)
  1320. RH.C0 = clerp(RH.C0, cn(0.6, -2, .1) * angles(math.rad(-5), math.rad(0), math.rad(3)), .25)
  1321. LH.C0 = clerp(LH.C0, cn(-0.6, -2, -.1) * angles(math.rad(5), math.rad(0), math.rad(-3)), .25)
  1322. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), .3)
  1323. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), .75)
  1324. end
  1325. GunA = true
  1326. end
  1327. end
  1328. gyro.Parent = nil
  1329. Humanoid.WalkSpeed = 12
  1330. gun=false
  1331. gunidle=false
  1332. shoot=false
  1333. attack=false
  1334. end
  1335.  
  1336. function Jikishi()
  1337. attack = true
  1338. gyro.Parent = RootPart
  1339. for i = 0,1,0.1 do
  1340. wait()
  1341. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(0)), .3)
  1342. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  1343. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(10)), .3)
  1344. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-10)), .3)
  1345. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(3)), .3)
  1346. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(-3)), .3)
  1347. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 10*i, math.rad(0)), .7)
  1348. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7)
  1349. end
  1350. for i = 1,2 do
  1351. for i = 0,1,0.3 do
  1352. wait()
  1353. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1354. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1355. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3)
  1356. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3)
  1357. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .3)
  1358. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .3)
  1359. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1360. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1361. end
  1362. ReflectShot(mouse,BarrelA)
  1363. so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
  1364. so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
  1365. so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
  1366. --so("http://www.roblox.com/asset/?id=360087120", Torso, .5, 1)
  1367. for i = 0,1,0.35 do
  1368. wait()
  1369. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .4)
  1370. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(20)), .4)
  1371. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(-20)), .4)
  1372. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4)
  1373. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(3)), .4)
  1374. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(-3)), .4)
  1375. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1376. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1377. end
  1378. for i = 0,1,0.3 do
  1379. wait()
  1380. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1381. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1382. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3)
  1383. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3)
  1384. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .3)
  1385. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .3)
  1386. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1387. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1388. end
  1389. ReflectShot(mouse,BarrelB)
  1390. so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
  1391. so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
  1392. so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
  1393. --so("http://www.roblox.com/asset/?id=360087120", Torso, .5, 1)
  1394. for i = 0,1,0.35 do
  1395. wait()
  1396. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .4)
  1397. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(-20)), .4)
  1398. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4)
  1399. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(20)), .4)
  1400. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(3)), .4)
  1401. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(-3)), .4)
  1402. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1403. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1404. end
  1405. end
  1406. gyro.Parent = nil
  1407. attack = false
  1408. end
  1409.  
  1410. mouse.Button1Down:connect(function()
  1411. if gun==true and shoot==false then
  1412. shoot=true
  1413. gun=false
  1414. end
  1415. end)
  1416.  
  1417. mouse.KeyDown:connect(function(k)
  1418. k = k:lower()
  1419. if k=='e' and gun==false and shoot==false and attack==false then
  1420. GunStance()
  1421. end
  1422. if k=='e'and shoot==false then
  1423. if gun==true then
  1424. gun=false
  1425. end
  1426. end
  1427. if k=='q' and gun==false and shoot==false and attack==false then
  1428. Jikishi()
  1429. end
  1430. end)
  1431.  
  1432.  
  1433. inputserv.InputBegan:connect(function(k)
  1434. if k.KeyCode == Enum.KeyCode.One and typing == false and cooldown3 >= co1 and stamina >= skill1stam then
  1435. elseif k.KeyCode == Enum.KeyCode.Two and typing == false and cooldown3 >= co2 and stamina >= skill2stam then
  1436. elseif k.KeyCode == Enum.KeyCode.Three and typing == false and cooldown3 >= co3 and stamina >= skill3stam then
  1437. elseif k.KeyCode == Enum.KeyCode.Four and typing == false and cooldown3 >= co4 and stamina >= skill4stam then
  1438. end
  1439. end)
  1440.  
  1441. inputserv.InputBegan:connect(function(k)
  1442. if k.KeyCode == Enum.KeyCode.Slash then
  1443. local fin = nil
  1444. typing = true
  1445. fin = inputserv.InputBegan:connect(function(k)
  1446. if k.KeyCode == Enum.KeyCode.Return or k.UserInputType == Enum.UserInputType.MouseButton1 then
  1447. typing = false
  1448. fin:disconnect()
  1449. end
  1450. end)
  1451. end
  1452. end)
  1453.  
  1454. local ReboundCount = 0
  1455.  
  1456. function updateskills()
  1457. if cooldown1 <= co1 then
  1458. cooldown1 = cooldown1 + 1 / 30
  1459. end
  1460. if cooldown2 <= co2 then
  1461. cooldown2 = cooldown2 + 1 / 30
  1462. end
  1463. if cooldown3 <= co3 then
  1464. cooldown3 = cooldown3 + 1 / 30
  1465. end
  1466. if cooldown4 <= co4 then
  1467. cooldown4 = cooldown4 + 1 / 30
  1468. end
  1469. if stamina <= maxstamina then
  1470. stamina = stamina + recovermana / 30
  1471. end
  1472. end
  1473.  
  1474. game:GetService'RunService'.Heartbeat:connect(function()
  1475. updateskills()
  1476. gyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p -RootPart.CFrame.p).unit * 100)
  1477. healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), 'Out', 'Quad', .5)
  1478. staminacover:TweenSize(ud(1 * (stamina / maxstamina), 0, 1, 0), 'Out', 'Quad', .5)
  1479. bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), 'Out', 'Quad', .5)
  1480. bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), 'Out', 'Quad', .5)
  1481. bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), 'Out', 'Quad', .5)
  1482. bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), 'Out', 'Quad', .5)
  1483. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1484. velocity = RootPart.Velocity.y
  1485. sine = sine + change
  1486. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1487. Character.Humanoid.WalkSpeed = 16 * speed.Value
  1488. if equipped == true or equipped == false then
  1489. if RootPart.Velocity.y > 1 and hit == nil and stun.Value ~= true then
  1490. Anim = "Jump"
  1491. if attack == false then
  1492. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .25)
  1493. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .25)
  1494. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(50)), .25)
  1495. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-50)), .25)
  1496. RH.C0 = clerp(RH.C0, cn(0.4, -1.5, -.5) * angles(math.rad(-20), math.rad(0), math.rad(-5)), .25)
  1497. LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(-10), math.rad(0), math.rad(5)), .25)
  1498. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
  1499. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
  1500. RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  1501. LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  1502. end
  1503. elseif RootPart.Velocity.y < -1 and hit == nil and stun.Value ~= true then
  1504. Anim = "Fall"
  1505. if attack == false then
  1506. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(15), math.rad(0), math.rad(0)), .25)
  1507. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .25)
  1508. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(70)), .25)
  1509. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-70)), .25)
  1510. RH.C0 = clerp(RH.C0, cn(0.6, -1.5, -.3) * angles(math.rad(0), math.rad(0), math.rad(5)), .25)
  1511. LH.C0 = clerp(LH.C0, cn(-0.6, -1.8, -.2) * angles(math.rad(0), math.rad(0), math.rad(-5)), .25)
  1512. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
  1513. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
  1514. RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  1515. LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  1516. end
  1517. elseif Torsovelocity < 1 and hit ~= nil and stun.Value ~= true then
  1518. Anim = "Idle"
  1519. if attack == false then
  1520. change = 1
  1521. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.1+0.1*math.cos(sine/25), -0.1+0.05*math.cos(sine/25)) * angles(math.rad(0), math.rad(0), math.rad(-30)), .25)
  1522. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10+5*math.cos(sine/25)), math.rad(0), math.rad(30)), .25)
  1523. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.4, -.2) * angles(math.rad(50-5*math.cos(sine/25)), math.rad(0), math.rad(10)), .25)
  1524. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.4, -.2) * angles(math.rad(50-5*math.cos(sine/25)), math.rad(0), math.rad(-10)), .25)
  1525. RH.C0 = clerp(RH.C0, cn(0.7, -1.9-.05*math.cos(sine/25), 0) * angles(math.rad(0), math.rad(30), math.rad(5))* angles(math.rad(-5+1*math.cos(sine/25)), math.rad(0), math.rad(0)), .25)
  1526. LH.C0 = clerp(LH.C0, cn(-0.6, -1.9-.05*math.cos(sine/25), 0) * angles(math.rad(0), math.rad(30), math.rad(-3))* angles(math.rad(-3+1*math.cos(sine/25)), math.rad(0), math.rad(0)), .25)
  1527. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
  1528. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
  1529. RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  1530. LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  1531. end
  1532. elseif Torsovelocity > 2 and Torsovelocity < 18 and hit ~= nil and stun.Value ~= true then
  1533. Anim = "Walk"
  1534. if attack == false then
  1535. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20+1*math.cos(sine/5)), math.rad(0), math.rad(5*math.cos(sine/4.5))), .25)
  1536. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(-5*math.cos(sine/4.5))), .25)
  1537. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.45, 0) * angles(math.rad(-40), math.rad(0), math.rad(20+1*math.cos(sine/5))), .25)
  1538. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.45, 0) * angles(math.rad(-40), math.rad(0), math.rad(-20+1*math.cos(sine/5))), .25)
  1539. RH.C0 = clerp(RH.C0, cn(0.55, -2, 1*math.cos(sine/4.5)) * angles(math.rad(-50*math.cos(sine/4.5)), math.rad(0), math.rad(3)), .25)
  1540. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -1*math.cos(sine/4.5)) * angles(math.rad(50*math.cos(sine/4.5)), math.rad(0), math.rad(-3)), .25)
  1541. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
  1542. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
  1543. RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  1544. LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  1545. end
  1546. elseif Torsovelocity >= 18 and hit ~= nil and stun.Value ~= true then
  1547. Anim = "Run"
  1548. if attack == false then
  1549. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
  1550. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
  1551. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
  1552. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
  1553. RH.C0 = clerp(RH.C0, cn(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
  1554. LH.C0 = clerp(LH.C0, cn(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
  1555. RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  1556. LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  1557. end
  1558. elseif stun.Value == true then
  1559. if attack == false then
  1560. Character.Humanoid.WalkSpeed = 0
  1561. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
  1562. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
  1563. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
  1564. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
  1565. RH.C0 = clerp(RH.C0, cn(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
  1566. LH.C0 = clerp(LH.C0, cn(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
  1567. RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  1568. LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  1569. end
  1570. end
  1571. end
  1572. if sprint == true and stun.Value ~= true and equipped == false and on == false then
  1573. Character.Humanoid.WalkSpeed = 20
  1574. elseif sprint == false and stun.Value ~= true then
  1575. Character.Humanoid.WalkSpeed = 16
  1576. end
  1577. if #Effects > 0 then
  1578. for e = 1, #Effects do
  1579. if Effects[e] ~= nil then
  1580. local Thing = Effects[e]
  1581. if Thing ~= nil then
  1582. local Part = Thing[1]
  1583. local Mode = Thing[2]
  1584. local Delay = Thing[3]
  1585. local IncX = Thing[4]
  1586. local IncY = Thing[5]
  1587. local IncZ = Thing[6]
  1588. if Thing[1].Transparency <= 1 then
  1589. if Thing[2] == "Block1" then
  1590. Thing[1].CFrame = Thing[1].CFrame * CFrame.FromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1591. local Mesh = Thing[1].Mesh
  1592. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1593. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1594. elseif Thing[2] == "Cylinder" then
  1595. local Mesh = Thing[1].Mesh
  1596. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1597. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1598. elseif Thing[2] == "Blood" then
  1599. local Mesh = Thing[7]
  1600. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .5, 0)
  1601. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1602. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1603. elseif Thing[2] == "Elec" then
  1604. local Mesh = Thing[1].Mesh
  1605. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1606. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1607. elseif Thing[2] == "Disappear" then
  1608. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1609. end
  1610. else
  1611. Part.Parent = nil
  1612. table.remove(Effects, e)
  1613. end
  1614. end
  1615. end
  1616. end
  1617. end
  1618. for _, lasr in pairs(lasrs) do
  1619. for i, v in pairs(lasr[9]) do
  1620. if lasr[7][i].Parent then
  1621. v.Scale = v.Scale + Vector3.new(-0.1,0,-0.1)
  1622. lasr[10][i].Scale = lasr[10][i].Scale + Vector3.new(-0.1,0,-0.1)
  1623. if v.Scale.x < 0.1 then
  1624. lasr[7][i].Parent = nil
  1625. lasr[8][i].Parent = nil
  1626. end
  1627. end
  1628. end
  1629.  
  1630. if lasr[1] then
  1631. local hitz, enz = RAY(lasr[3],lasr[2]*lasrspd)
  1632. lasr[5] = lasr[5] + (lasr[3] - enz).magnitude
  1633.  
  1634. lasr[7][lasr[6]].Parent = m
  1635. lasr[7][lasr[6]].CFrame = CFrame.new((lasr[3] + enz)/2,enz) * CFrame.Angles(math.pi/2,0,0)
  1636. lasr[9][lasr[6]].Scale = Vector3.new(0.7,(lasr[3] - enz).magnitude*5,0.7)
  1637.  
  1638. lasr[8][lasr[6]].Parent = m
  1639. lasr[8][lasr[6]].CFrame = lasr[7][lasr[6]].CFrame
  1640. lasr[10][lasr[6]].Scale = Vector3.new(1.3,(lasr[3] - enz).magnitude*5 + 0.02,1.3)
  1641.  
  1642. lasr[3] = enz
  1643. lasr[6] = lasr[6]%#lasr[7] + 1
  1644.  
  1645. if hitz then
  1646. lasr[4] = lasr[4] + 1
  1647. if lasr[4] == maxRebounds then
  1648. lasr[1] = false
  1649. so("http://www.roblox.com/asset/?id=200633327", hitz, 1, 2)
  1650. damage(hitz.Parent:WaitForChild("Torso"), math.random(5,10), math.random(10,20), 5, 1, RootPart)
  1651. print(ReboundCount)
  1652. else
  1653. local norm = FindSurface(hitz,enz)
  1654. lasr[2] = Reflect(lasr[2],norm)
  1655. so("http://www.roblox.com/asset/?id=200633327", hitz, 1, 2)
  1656. damage(hitz.Parent:WaitForChild("Torso"), math.random(5,10), math.random(10,20), 5, 1, RootPart)
  1657. print(ReboundCount)
  1658. end
  1659. end
  1660. if lasr[5] > maxTravelDistance then
  1661. lasr[1] = false
  1662. end
  1663. end
  1664. end
  1665. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement