jayrock3401

Untitled

Aug 9th, 2016
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 71.78 KB | None | 0 0
  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 LeftArm = Character["Left Arm"]
  138. local RightArm = Character["Right Arm"]
  139. local LeftLeg = Character["Left Leg"]
  140. local RightLeg = Character["Right Leg"]
  141. local Head = Character.Head
  142. local Torso = Character.Torso
  143. local cam = game.Workspace.CurrentCamera
  144. local RootPart = Character.HumanoidRootPart
  145. local RootJoint = RootPart.RootJoint
  146. --cam.CameraSubject = Head
  147. local equipped = false
  148. local attack = false
  149. local Anim = 'Idle'
  150. local idle = 0
  151. local sprint = false
  152. local battlestance = false
  153. local attacktype = 1
  154. local state = 'none'
  155. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  156. local velocity = RootPart.Velocity.y
  157. local sine = 0
  158. local change = 1
  159. local on = false
  160. local grabbed = false
  161. local skill1 = false
  162. local skill2 = false
  163. local skill3 = false
  164. local skill4 = false
  165. local cooldown1 = 0
  166. local cooldown2 = 0
  167. local cooldown3 = 0
  168. local cooldown4 = 0
  169. local co1 = 10--how long it will take for skill to cooldown
  170. local co2 = 15
  171. local co3 = 15
  172. local co4 = 25
  173. local inputserv = game:GetService('UserInputService')
  174. local typing = false
  175. local crit = false
  176. local critchance = 2--critical chance percentage
  177. local critdamageaddmin = 3--minimum amount of critical damage being added to regular damage
  178. local critdamageaddmax = 7--maximum amount
  179. local maxstamina = 100--max amount of stamina
  180. local stamina = 0--stamina you start out with
  181. local skill1stam = 10--how much stamina is needed for a skill
  182. local skill2stam = 10
  183. local skill3stam = 20
  184. local skill4stam = 30
  185. local recovermana = 3--how much mana per second
  186. local defensevalue = 1--how much defense this character has
  187. local speedvalue = 1--how much speed this character has
  188. --speed is 16*speedvalue
  189. local mindamage = 5--self explanatory
  190. local maxdamage = 7--self explanatory
  191. local damagevalue = 1--how much damage this character has
  192. --damage is math.random(mindamage,maxdamage)*damagevalue
  193. --damage(hit, mindamage, maxdamage, 1, 1, RootPart)
  194. --asd
  195. local cn = CFrame.new-- make things easier :)
  196. local mr = math.rad
  197. local angles = CFrame.Angles
  198. local ud = UDim2.new
  199. local c3 = Color3.new
  200. local skillcolorscheme = c3(1, 1, 1)--color scheme for skills lol
  201. --asd
  202. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  203. Humanoid.Animator:Destroy()
  204. Character.Animate:Destroy()
  205.  
  206. --Angles For RootJoint And Hips `~`
  207. local ch = Character
  208. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  209. local RHCF = CFrame.fromEulerAnglesXYZ(0,1.6,0)
  210. local LHCF = CFrame.fromEulerAnglesXYZ(0,-1.6,0)
  211. --Save Shoulders/Hips
  212. RSH, LSH = nil, nil
  213. --Shoulders
  214. RW = Instance.new("Weld")
  215. LW = Instance.new("Weld")
  216. --Hips
  217. RH = ch.Torso["Right Hip"]
  218. LH = ch.Torso["Left Hip"]
  219. --
  220. Player = Player
  221. ch = Character
  222. RSH = ch.Torso["Right Shoulder"]
  223. LSH = ch.Torso["Left Shoulder"]
  224. --
  225. RSH.Parent = nil
  226. LSH.Parent = nil
  227. --
  228. RW.Name = "RW"
  229. RW.Part0 = ch.Torso
  230. RW.C0 = cn(1.5, 0.5, 0)
  231. RW.C1 = cn(0, 0.5, 0)
  232. RW.Part1 = ch["Right Arm"]
  233. RW.Parent = ch.Torso
  234. --
  235. LW.Name = "LW"
  236. LW.Part0 = ch.Torso
  237. LW.C0 = cn(-1.5, 0.5, 0)
  238. LW.C1 = cn(0, 0.5, 0)
  239. LW.Part1 = ch["Left Arm"]
  240. LW.Parent = ch.Torso
  241.  
  242. local scrn = Instance.new('ScreenGui', Player.PlayerGui)
  243. function makeframe(par, trans, pos, size, color)
  244. local frame = Instance.new('Frame', par)
  245. frame.BackgroundTransparency = trans
  246. frame.BorderSizePixel = 0
  247. frame.Position = pos
  248. frame.Size = size
  249. frame.BackgroundColor3 = color
  250. return frame
  251. end
  252. function makelabel(par, text)
  253. local label = Instance.new('TextLabel', par)
  254. label.BackgroundTransparency = 1
  255. label.Size = ud(1, 0, 1, 0)
  256. label.Position = ud(0, 0, 0, 0)
  257. label.TextColor3 = c3(255, 255, 255)
  258. label.TextStrokeTransparency = 0
  259. label.FontSize = Enum.FontSize.Size32
  260. label.Font = Enum.Font.SourceSansBold
  261. label.BorderSizePixel = 0
  262. label.TextScaled = true
  263. label.Text = text
  264. end
  265. framesk1 = makeframe(scrn, .5, ud(.23, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  266. framesk2 = makeframe(scrn, .5, ud(.5, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  267. framesk3 = makeframe(scrn, .5, ud(.5, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  268. framesk4 = makeframe(scrn, .5, ud(.23, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  269. bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  270. bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  271. bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  272. bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  273. text1 = makelabel(framesk1, '[3] Skill3')
  274. text2 = makelabel(framesk2, '[4] Skill4')
  275. text3 = makelabel(framesk3, "[2] Skill2")
  276. text4 = makelabel(framesk4, '[1] Rush Charge')
  277. staminabar = makeframe(scrn, .5, ud(.23, 0, .82, 0), ud(.26, 0, .03, 0), c3(61 / 255, 171 / 255, 1))
  278. staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(61 / 255, 171 / 255, 1))
  279. staminatext = makelabel(staminabar, 'Mana')
  280. healthbar = makeframe(scrn, .5, ud(.5, 0, .82, 0), ud(.26, 0, .03, 0), c3(1, 1, 0))
  281. healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 46 / 255, 49 / 255))
  282. healthtext = makelabel(healthbar, 'Health')
  283.  
  284. local stats = Instance.new('Folder', Character)
  285. stats.Name = 'Stats'
  286. local block = Instance.new('BoolValue', stats)
  287. block.Name = 'Block'
  288. block.Value = false
  289. local stun = Instance.new('BoolValue', stats)
  290. stun.Name = 'Stun'
  291. stun.Value = false
  292. local defense = Instance.new('NumberValue', stats)
  293. defense.Name = 'Defence'
  294. defense.Value = defensevalue
  295. local speed = Instance.new('NumberValue', stats)
  296. speed.Name = 'Speed'
  297. speed.Value = speedvalue
  298. local damagea = Instance.new('NumberValue', stats)
  299. damagea.Name = 'Damage'
  300. damagea.Value = damagevalue
  301.  
  302. function atktype(s, e)
  303. coroutine.resume(coroutine.create(function()
  304. attacktype = e
  305. wait(1.5)
  306. attacktype = s
  307. end))
  308. end
  309.  
  310. function turncrit()
  311. coroutine.resume(coroutine.create(function()
  312. print'CRITICAL!'
  313. crit = true
  314. wait(.25)
  315. crit = false
  316. end))
  317. end
  318.  
  319. function subtractstamina(k)
  320. if stamina >= k then
  321. stamina = stamina - k
  322. end
  323. end
  324.  
  325. function clerp(a, b, t)
  326. return a:lerp(b, t)
  327. end
  328.  
  329. function randomizer(percent)
  330. local randomized = math.random(0, 100)
  331. if randomized <= percent then
  332. return true
  333. elseif randomized >= percent then
  334. return false
  335. end
  336. end
  337.  
  338. local RbxUtility = LoadLibrary("RbxUtility")
  339. local Create = RbxUtility.Create
  340.  
  341. function RemoveOutlines(part)
  342. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  343. end
  344.  
  345. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  346. local Part = Create("Part"){
  347. formFactor = FormFactor,
  348. Parent = Parent,
  349. Reflectance = Reflectance,
  350. Transparency = Transparency,
  351. CanCollide = false,
  352. Locked = true,
  353. BrickColor = BrickColor.new(tostring(BColor)),
  354. Name = Name,
  355. Size = Size,
  356. Material = Material,
  357. }
  358. RemoveOutlines(Part)
  359. return Part
  360. end
  361.  
  362. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  363. local Msh = Create(Mesh){
  364. Parent = Part,
  365. Offset = OffSet,
  366. Scale = Scale,
  367. }
  368. if Mesh == "SpecialMesh" then
  369. Msh.MeshType = MeshType
  370. Msh.MeshId = MeshId
  371. end
  372. return Msh
  373. end
  374.  
  375. function CreateWeld(Parent, Part0, Part1, C0, C1)
  376. local Weld = Create("Weld"){
  377. Parent = Parent,
  378. Part0 = Part0,
  379. Part1 = Part1,
  380. C0 = C0,
  381. C1 = C1,
  382. }
  383. return Weld
  384. end
  385.  
  386. function rayCast(pos, dir, maxl, ignore)
  387. return game:service("Workspace"):FindPartOnRay(Ray.new(pos, dir.unit * (maxl or 999.999)), ignore)
  388. end
  389. --Effects
  390. function makeeffect(par, size, pos1, trans, trans1, howmuch, delay1, id, type)
  391. local p = Instance.new('Part', par or workspace)
  392. p.CFrame = pos1
  393. p.Anchored = true
  394. p.Material = 'SmoothPlastic'
  395. p.CanCollide = false
  396. p.TopSurface = 0
  397. p.Size = Vector3.new(1, 1, 1)
  398. p.BottomSurface = 0
  399. p.Transparency = trans
  400. p.FormFactor = 'Custom'
  401. RemoveOutlines(p)
  402. local mesh = Instance.new('SpecialMesh', p)
  403. mesh.Scale = size
  404. if id ~= nil and type == nil then
  405. mesh.MeshId = 'rbxassetid://'..id
  406. elseif id == nil and type ~= nil then
  407. mesh.MeshType = type
  408. elseif id == nil and type == nil then
  409. mesh.MeshType = 'Brick'
  410. end
  411. coroutine.wrap(function()
  412. for i = 0, delay1, .1 do
  413. wait(1 / 60)
  414. p.CFrame = p.CFrame
  415. mesh.Scale = mesh.Scale + howmuch
  416. p.Transparency = p.Transparency + trans1
  417. end
  418. p:Destroy()
  419. end)()
  420. return p
  421. end
  422. function clangy(cframe)
  423. wait(1 / 60)
  424. local clang = {}
  425. local dis = 0
  426. local part = Instance.new('Part', nil)
  427. part.CFrame = cframe
  428. part.Anchored = true
  429. part.CanCollide = false
  430. part.BrickColor = BrickColor.new('New Yeller')
  431. part.FormFactor = 'Custom'
  432. part.Name = 'clanger'
  433. part.Size = Vector3.new(.2, .2, .2)
  434. part.TopSurface = 10
  435. part.BottomSurface = 10
  436. part.RightSurface = 10
  437. part.LeftSurface = 10
  438. part.BackSurface = 10
  439. part.FrontSurface = 10
  440. --part.Material='Neon'
  441. part:BreakJoints()
  442. local mesh = Instance.new('BlockMesh', part)
  443. coroutine.wrap(function()
  444. for i = 1, 7 do
  445. wait(1 / 60)
  446. dis = dis + .2
  447. local partc = part:clone()
  448. partc.Parent = workspace
  449. partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
  450. partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
  451. table.insert(clang, partc)
  452. end
  453. for i, v in pairs(clang) do
  454. coroutine.wrap(function()
  455. for i = 1, 10 do
  456. wait(.01)
  457. v.Transparency = v.Transparency + .1
  458. end
  459. v:destroy()
  460. end)()
  461. end
  462. end)()
  463. end
  464. --damage effects
  465. function circle(color, pos1)
  466. local p = Instance.new('Part', m)
  467. p.BrickColor = BrickColor.new(color)
  468. p.CFrame = pos1
  469. p.Anchored = true
  470. p.Material = 'Plastic'
  471. p.CanCollide = false
  472. p.TopSurface = 0
  473. p.Size = Vector3.new(1, 1, 1)
  474. p.BottomSurface = 0
  475. p.Transparency = 0.35
  476. p.FormFactor = 'Custom'
  477. local mesh = Instance.new('CylinderMesh', p)
  478. mesh.Scale = Vector3.new(0, 0, 0)
  479. coroutine.wrap(function()
  480. for i = 0, 5, .1 do
  481. wait(1 / 60)
  482. p.CFrame = p.CFrame
  483. mesh.Scale = mesh.Scale + Vector3.new(.5, 0, .5)
  484. p.Transparency = p.Transparency + .025
  485. end
  486. p:Destroy()
  487. end)()
  488. end
  489. function firespaz1(color, pos1)
  490. local p = Instance.new('Part', m)
  491. p.BrickColor = BrickColor.new(color)
  492. p.CFrame = pos1
  493. p.Anchored = true
  494. p.Material = 'Plastic'
  495. p.CanCollide = false
  496. p.TopSurface = 0
  497. p.Size = Vector3.new(1, 1, 1)
  498. p.BottomSurface = 0
  499. p.Transparency = 0.5
  500. p.FormFactor = 'Custom'
  501. local mesh = Instance.new('BlockMesh', p)
  502. mesh.Scale = Vector3.new(1, 1, 1)
  503. coroutine.wrap(function()
  504. for i = 0, 15, .1 do
  505. wait(1 / 30)
  506. p.CFrame = p.CFrame * CFrame.new(0, .1, 0)
  507. mesh.Scale = mesh.Scale - Vector3.new(.1, .1, .1)
  508. p.Transparency = p.Transparency + .025
  509. end
  510. p:Destroy()
  511. end)()
  512. end
  513.  
  514. function pickrandom(tablesa)
  515. local randomized = tablesa[math.random(1, #tablesa)]
  516. return randomized
  517. end
  518. function sound(id, pitch, volume, par, last)
  519. local s = Instance.new('Sound', par or Torso)
  520. s.SoundId = 'rbxassetid://'..id
  521. s.Pitch = pitch or 1
  522. s.Volume = volume or 1
  523. wait()
  524. s:play()
  525. game.Debris:AddItem(s, last or 120)
  526. end
  527. function clangy(cframe)
  528. wait(1 / 60)
  529. local clang = {}
  530. local dis = 0
  531. local part = Instance.new('Part', nil)
  532. part.CFrame = cframe
  533. part.Anchored = true
  534. part.CanCollide = false
  535. part.BrickColor = BrickColor.new('New Yeller')
  536. part.FormFactor = 'Custom'
  537. part.Name = 'clanger'
  538. part.Size = Vector3.new(.2, .2, .2)
  539. part.TopSurface = 10
  540. part.BottomSurface = 10
  541. part.RightSurface = 10
  542. part.LeftSurface = 10
  543. part.BackSurface = 10
  544. part.FrontSurface = 10
  545. --part.Material='Neon'
  546. part:BreakJoints()
  547. local mesh = Instance.new('BlockMesh', part)
  548. coroutine.wrap(function()
  549. for i = 1, 7 do
  550. wait(1 / 60)
  551. dis = dis + .2
  552. local partc = part:clone()
  553. partc.Parent = workspace
  554. partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
  555. partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
  556. table.insert(clang, partc)
  557. end
  558. for i, v in pairs(clang) do
  559. coroutine.wrap(function()
  560. for i = 1, 10 do
  561. wait(.01)
  562. v.Transparency = v.Transparency + .1
  563. end
  564. v:destroy()
  565. end)()
  566. end
  567. end)()
  568. end
  569. --damage effects
  570. --Effects
  571. so = function(id, par, vol, pit)
  572. coroutine.resume(coroutine.create(function()
  573. local sou = Instance.new("Sound", par or workspace)
  574. sou.Volume = vol
  575. sou.Pitch = pit or 1
  576. sou.SoundId = id
  577. wait()
  578. sou:play()
  579. game:GetService("Debris"):AddItem(sou, 6)
  580. end))
  581. end
  582.  
  583. local function getclosest(obj, distance)
  584. local last, lastx = distance + 1
  585. for i, v in pairs(workspace:GetChildren()) do
  586. if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  587. local t = v.Torso
  588. local dist = (t.Position - obj.Position).magnitude
  589. if dist <= distance then
  590. if dist < last then
  591. last = dist
  592. lastx = v
  593. end
  594. end
  595. end
  596. end
  597. return lastx
  598. end
  599.  
  600. function makegui(cframe, text)
  601. local a = math.random(-10, 10) / 100
  602. local c = Instance.new("Part")
  603. c.Transparency = 1
  604. Instance.new("BodyGyro").Parent = c
  605. c.Parent = m
  606. c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0))
  607. local f = Instance.new("BodyPosition")
  608. f.P = 2000
  609. f.D = 100
  610. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  611. f.position = c.Position + Vector3.new(0, 3, 0)
  612. f.Parent = c
  613. game:GetService("Debris"):AddItem(c, .5 + 6)
  614. c.CanCollide = false
  615. m.Parent = workspace
  616. c.CanCollide = false
  617. local bg = Instance.new('BillboardGui', m)
  618. bg.Adornee = c
  619. bg.Size = UDim2.new(1, 0, 1, 0)
  620. bg.StudsOffset = Vector3.new(0, 0, 0)
  621. bg.AlwaysOnTop = false
  622. local tl = Instance.new('TextLabel', bg)
  623. tl.BackgroundTransparency = 1
  624. tl.Size = UDim2.new(1, 0, 1, 0)
  625. tl.Text = text
  626. tl.Font = 'SourceSansBold'
  627. tl.FontSize = 'Size42'
  628. if crit == true then
  629. tl.TextColor3 = Color3.new(180 / 255, 0, 0)
  630. else
  631. tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255)
  632. end
  633. tl.TextStrokeTransparency = 0
  634. tl.TextScaled = true
  635. tl.TextWrapped = true
  636. coroutine.wrap(function()
  637. wait(2)
  638. for i = 1, 10 do
  639. wait()
  640. tl.TextTransparency = tl.TextTransparency + .1
  641. end
  642. end)()
  643. end
  644.  
  645. function tag(hum, Player)
  646. local creator = Instance.new('ObjectValue', hum)
  647. creator.Value = Player
  648. creator.Name = 'creator'
  649. end
  650. function untag(hum)
  651. if hum ~= nil then
  652. local tag = hum:findFirstChild("creator")
  653. if tag ~= nil then
  654. tag.Parent = nil
  655. end
  656. end
  657. end
  658.  
  659. function tagPlayer(h)
  660. coroutine.wrap(function()
  661. tag(h, Player)
  662. wait(1)
  663. untag(h)
  664. end)()
  665. end
  666. function damage(hit, mind, maxd, knock, type, prop)
  667. --[[
  668. to apply it to a Player directly, make the first arg go to the Players Torso
  669. 1 - normal type(damage and knockback)
  670. 2 - drain type(damage no knockback)
  671. 3 - lifesteal(absorbs hp) crit does not have an effect on how much life is absorbed
  672. 4 - heal(heals target)
  673. 5 - subtracts enemies defense
  674. 6 - subtracts enemies speed
  675. 7 -
  676. ]]
  677. if hit.Name:lower() == 'Hitbox' then
  678. local pos = CFrame.new(0, 1, -1)
  679. sound(pickrandom(clangsounds), math.random(100, 150) / 100, 1, Torso, 6)
  680. coroutine.wrap(function()
  681. for i = 1, 4 do
  682. clangy(Torso.CFrame * pos * CFrame.Angles(0, math.rad(math.random(0, 360)), 0))
  683. end
  684. end)()
  685. end
  686. if hit.Parent == nil then
  687. return
  688. end
  689. local h = hit.Parent:FindFirstChild("Humanoid")
  690. for i, v in pairs(hit.Parent:children()) do
  691. if v:IsA("Humanoid") then
  692. h = v
  693. end
  694. end
  695. if hit.Parent.Parent:FindFirstChild('Torso') ~= nil then
  696. h = hit.Parent.Parent:FindFirstChild('Humanoid')
  697. end
  698. if hit.Parent:IsA('Hat') then
  699. hit = hit.Parent.Parent:findFirstChild('Head')
  700. end
  701. local D = math.random(mind, maxd) * damagea.Value
  702. if h.Parent:FindFirstChild('Stats') then
  703. D = D / h.Parent:FindFirstChild('Stats').Defence.Value
  704. elseif not h.Parent:FindFirstChild('Stats') then
  705. D = D
  706. end
  707. if h then
  708. makegui(h.Parent.Head.CFrame, tostring(math.floor(D + .5)))
  709. end
  710. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  711. if type == 1 then
  712. tagPlayer(h)
  713. local asd = randomizer(critchance)
  714. if asd == true then
  715. turncrit()
  716. end
  717. if crit == false then
  718. h.Health = h.Health - D
  719. else
  720. h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  721. end
  722. so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
  723. local vp = Instance.new('BodyVelocity')
  724. vp.P = 500
  725. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  726. vp.velocity = prop.CFrame.lookVector * knock + prop.Velocity / 1.05
  727. if knock > 0 then
  728. vp.Parent = hit.Parent.Torso
  729. end
  730. game:GetService("Debris"):AddItem(vp, .5)
  731. elseif type == 2 then
  732. so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
  733. local asd = randomizer(critchance)
  734. if asd == true then
  735. turncrit()
  736. end
  737. if crit == false then
  738. h.Health = h.Health - D
  739. else
  740. h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  741. end
  742. tagPlayer(h)
  743. elseif type == 3 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. Character.Humanoid.Health = Character.Humanoid.Health + D / 2
  755. so("http://www.roblox.com/asset/?id=206083232", hit, 1, 1.5)
  756. for i = 1, 10 do
  757. firespaz1('Bright red', hit.CFrame * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3)))
  758. end
  759. elseif type == 4 then
  760. h.Health = h.Health + D
  761. so("http://www.roblox.com/asset/?id=186883084", hit, 1, 1)
  762. circle('Dark green', h.Parent.Torso.CFrame * CFrame.new(0, -2.5, 0))
  763. end
  764. end
  765. end
  766.  
  767. function subtrackstamina(k)
  768. if stamina >= k then
  769. stamina = stamina - k
  770. end
  771. end
  772.  
  773. Handle=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Ice,0,1,"Pastel light blue","Handle",Vector3.new(0.549599648, 1, 1.01160002))
  774. Handleweld=CreateWeld(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0937860012, 0.00657367706, 0.00419616699, 5.96046448e-008, 0.999994755, 5.96095191e-008, 1, -5.96043037e-008, -4.8416058e-007, -4.8416058e-007, 5.96092349e-008, -1))
  775. Hitbox=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Ice,0,1,"Pastel light blue","Hitbox",Vector3.new(4.54959965, 0.600000024, 6.41160011))
  776. Hitboxweld=CreateWeld(m,Handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.200000048, -0.599998474, 0.100006104, 1, -4.38871487e-016, 0, -4.38871487e-016, 1, 0, 0, 0, 1))
  777. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.728999913, 0.291599959))
  778. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.748267651, 0.374885559, -0.163708687, 0.259237081, -0.965813696, 8.29293697e-007, -1.94643121e-006, -1.38109544e-006, -1, 0.965813696, 0.259237081, -2.23792108e-006))
  779. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 1, 1))
  780. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.549599648, 1.16819978, 0.210000008))
  781. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.15255737e-007, -0.0840969086, -0.409217834, 1, -4.38871487e-016, 0, -4.38871487e-016, 1, 0, 0, 0, 1))
  782. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.291599959, 2.6243999, 0.291599959))
  783. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.668091297, 1.44761658, 2.02336073, -0.259194463, 0.96582514, 3.82060307e-006, 4.7164408e-006, -2.69006023e-006, 1, 0.96582514, 0.259194463, -3.85800831e-006))
  784. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  785. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.58319968, 0.200000003, 0.291599929))
  786. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.387033463, -0.748291492, -2.00602722, 0.932904124, 0.250400364, 0.258823335, -0.259233505, 0.965814769, -1.51112181e-006, -0.249975771, -0.0670942664, 0.96592468))
  787. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 1))
  788. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  789. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.791927338, 0.0731578469, -2.68690491, 0.258355826, 0.96604985, 1.57819898e-006, 0.96604985, -0.258355826, 4.46641252e-006, 4.72251395e-006, 3.70695147e-007, -1))
  790. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 0.728999913, 0.728999913))
  791. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  792. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.748335838, 0.499908447, 0.236524105, 0.259243727, -0.965811968, 2.29213128e-006, 3.49563311e-006, 3.31156821e-006, 1, -0.965811968, -0.259243727, 4.23462734e-006))
  793. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 0.728999913, 0.728999913))
  794. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.200000003, 1.31219983))
  795. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.748334408, 0.354118347, -0.49246645, 0.259243727, -0.965811968, 2.42647434e-006, 3.57742101e-006, 3.47262016e-006, 1, -0.965811968, -0.259243727, 4.35537095e-006))
  796. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 0.728999913, 1))
  797. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  798. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.748334885, -0.354110718, 1.22145891, 0.259243816, -0.965811849, 1.87510204e-006, -3.89473416e-006, -2.98690452e-006, -1, 0.965811849, 0.259243816, -4.53591747e-006))
  799. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 0.728999913, 0.728999913))
  800. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(1.16639984, 0.437400103, 0.200000003))
  801. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.419552326, 0.645721436, 0.748315811, 0.965813994, 0.259236038, -1.18782089e-006, 8.57471662e-007, 1.38739472e-006, 1, 0.259236038, -0.965813994, 1.1176777e-006))
  802. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.728999913))
  803. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.728999913, 0.291599989))
  804. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.748250961, -1.10388184, 1.00268936, -0.259237349, 0.965813696, -2.95466089e-006, 2.05441142e-006, 3.61067669e-006, 1, 0.965813696, 0.259237349, -2.92020081e-006))
  805. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 1, 1))
  806. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(1.16639984, 0.729000032, 0.200000003))
  807. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.273701668, -1.10388947, 0.748267174, 0.965814769, 0.259233236, -4.11742462e-007, 3.74089325e-007, 1.94579599e-007, 1, 0.259233236, -0.965814769, 9.09514597e-008))
  808. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.728999913))
  809. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Metal,0,0,"Medium stone grey","Part",Vector3.new(0.291599959, 2.18700004, 0.437399924))
  810. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.71172905, 1.08311462, 1.8220439, -0.258364588, -0.966047525, 4.46861804e-006, -1.88454442e-006, 5.12968245e-006, 1, -0.966047525, 0.258364588, -3.14588783e-006))
  811. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  812. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.58319968, 0.200000003, 0.291599929))
  813. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.291137397, 0.791987419, -0.0103759766, -0.966036141, 0.258407384, 3.18614229e-006, -0.258407384, -0.966036141, -1.70527414e-006, 2.6372727e-006, -2.47067874e-006, 1))
  814. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 1))
  815. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 2.04120016, 0.200000003))
  816. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0733758211, 1.59341431, -0.791968346, -0.966033578, 0.258416891, -1.1448418e-006, -1.16560352e-006, 7.2865646e-008, 1, 0.258416891, 0.966033578, 2.30821001e-007))
  817. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 1, 0.728999913))
  818. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.291599959, 1.02060008))
  819. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.791931152, -2.61401367, 0.509956539, 0.258375138, 0.966044664, -2.14422334e-006, 3.80396909e-006, -3.2369876e-006, -1, -0.966044664, 0.258375138, -4.51116148e-006))
  820. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 1, 1))
  821. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.291599959, 2.04120016, 0.437399924))
  822. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.711686134, -1.03097534, -1.82201755, 0.258405864, 0.966036499, -3.94140943e-006, -1.7037512e-006, 4.53571738e-006, 1, 0.966036499, -0.258405864, 2.81794178e-006))
  823. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  824. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Metal,0,0,"Medium stone grey","Part",Vector3.new(0.291599959, 2.04120016, 0.437399983))
  825. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.711735725, 1.03098297, 1.82195807, 0.258460104, 0.966022015, -2.66190364e-006, 1.11263591e-006, -3.05321805e-006, -1, -0.966022015, 0.258460104, -1.86396585e-006))
  826. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  827. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.291599959, 2.47859979, 0.437399924))
  828. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.711661339, -1.09309554, 2.978508, -0.258407265, -0.966036081, 3.36418725e-006, 0.966036081, -0.258407265, -8.32808269e-007, 1.67385315e-006, 3.03472257e-006, 1))
  829. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  830. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.58319968, 0.200000003, 0.291599929))
  831. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.31173015, 0.791917801, -0.0103683472, -0.966039896, 0.258393317, -5.88560738e-007, -0.258393317, -0.966039896, -1.65475512e-006, -9.96150675e-007, -1.44647902e-006, 1))
  832. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 1))
  833. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.0205996, 0.2915999, 0.200000003))
  834. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.280853271, -2.04826355, -0.791953087, -0.933117151, 0.249601856, 0.25882712, 0.25003624, -0.0668830872, 0.965923667, 0.258407503, 0.966036081, 2.45528014e-007))
  835. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.728999913))
  836. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.0205996, 0.2915999, 0.200000003))
  837. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.801402152, -0.0103759766, -0.791955948, -0.966036141, 0.258407384, -2.41263734e-007, -2.7156463e-007, -8.15671228e-008, 1, 0.258407384, 0.966036141, 1.48971026e-007))
  838. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.728999913))
  839. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Metal,0,0,"Medium stone grey","Part",Vector3.new(0.291599959, 2.1869998, 0.583199859))
  840. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.711751938, -0.947353661, 2.46820831, -0.258386463, -0.966041744, -1.42285126e-006, 0.966041744, -0.258386463, -3.87151067e-006, 3.37239476e-006, -2.37487916e-006, 1))
  841. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  842. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.291599959, 2.47859979, 0.437399924))
  843. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.711641312, -1.09310102, 2.85347748, 0.258411825, 0.96603483, -3.37836354e-006, 0.96603483, -0.258411825, 1.16675437e-006, 2.54116259e-007, -3.5651201e-006, -1))
  844. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  845. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.291599959, 2.1869998, 0.583199859))
  846. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.711715698, 0.94726485, -2.46821594, -0.258387119, -0.966041565, -1.17710044e-007, -0.966041565, 0.258387119, 2.52460541e-006, -2.40845884e-006, 7.66038113e-007, -1))
  847. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  848. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.728999913, 0.291599959))
  849. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.792075157, 0.374885559, -0.000447571278, 0.258397371, 0.966038823, -3.81478458e-008, 1.99738133e-006, -5.73751208e-007, -1, -0.966038823, 0.258397371, -2.07780386e-006))
  850. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 1, 1))
  851. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.437399983, 0.291599959))
  852. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.792011261, 2.24951172, 0.145552039, -0.258379161, -0.966043591, -2.21535828e-007, -4.39142241e-006, 9.4521215e-007, 1, -0.966043591, 0.258379161, -4.48652872e-006))
  853. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 1, 1))
  854. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.58319968, 0.200000003, 0.291599929))
  855. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.22946167, 0.791992188, -2.04825592, -0.933117151, 0.249601737, 0.258827031, -0.258407086, -0.966036141, 8.11744485e-007, 0.250036478, -0.066881977, 0.965923727))
  856. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 1))
  857. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.58319968, 0.200000003, 0.291599929))
  858. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.79108429, 0.791954994, -2.04824829, -0.933117151, 0.249601856, 0.25882712, -0.258407176, -0.966036081, 9.06736943e-007, 0.250036567, -0.0668819323, 0.965923727))
  859. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 1))
  860. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.291599959, 2.1869998, 0.583199859))
  861. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.711748123, 0.947217226, -2.34318542, 0.258388281, 0.966041148, 1.08739897e-007, -0.966041148, 0.258388281, -2.73797241e-006, -2.67309088e-006, 6.0241274e-007, 1))
  862. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  863. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Metal,0,0,"Medium stone grey","Part",Vector3.new(0.291599959, 2.1869998, 0.583199859))
  864. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.711779594, -0.947313726, 2.3431778, 0.258389086, 0.966040909, 1.36804704e-006, 0.966040909, -0.258389086, 4.12955433e-006, 4.34280719e-006, 2.54557619e-007, -1))
  865. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  866. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  867. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.79196167, 0.499908447, 0.0733489394, 0.258376598, 0.966044366, 1.46641844e-006, -4.57452143e-006, -2.94468009e-007, 1, 0.966044366, -0.258376598, 4.34310687e-006))
  868. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 0.728999913, 0.728999913))
  869. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.200000003, 1.31219983))
  870. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.791954994, 0.354118347, -0.655609488, 0.258398682, 0.966038465, 1.57091995e-006, -4.80159633e-006, -3.41801865e-007, 1, 0.966038465, -0.258398682, 4.55020563e-006))
  871. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 0.728999913, 1))
  872. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.0205996, 0.2915999, 0.200000003))
  873. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.248426437, 2.16902924, -0.79195118, -0.933116436, 0.249601498, -0.25883016, -0.25003925, 0.0668835416, 0.965922832, 0.258407265, 0.966036201, 3.19331264e-008))
  874. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.728999913))
  875. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(1.16639984, 0.729000032, 0.200000003))
  876. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.436873257, -1.10388184, -0.79204464, -0.966035903, 0.25840804, -2.51160202e-007, -4.18471444e-008, 8.1551002e-007, 1, 0.25840804, 0.966035903, -7.7699832e-007))
  877. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.728999913))
  878. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.728999913, 0.291599989))
  879. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.791975021, -1.10387421, 1.16587758, -0.258397251, -0.966038764, -2.16711919e-006, -3.48613889e-006, -1.31082766e-006, 1, -0.966038764, 0.258397251, -3.02903118e-006))
  880. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 1, 1))
  881. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.583199918, 0.291599989))
  882. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.791950226, -1.15602112, 0.145350814, 0.258398414, 0.966038465, 1.00403645e-006, 4.74357103e-006, -2.29488592e-007, -1, -0.966038465, 0.258398414, -4.64177128e-006))
  883. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 1, 1))
  884. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  885. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.791969299, -0.354118347, 1.38458776, 0.258398414, 0.966038465, 9.90328999e-007, 4.74258241e-006, -2.4341341e-007, -1, -0.966038465, 0.258398414, -4.64441473e-006))
  886. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 0.728999913, 0.728999913))
  887. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Metal,0,0,"Medium stone grey","Part",Vector3.new(1.7495997, 4.22819996, 0.291599929))
  888. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.728473842, 0.0625152588, -0.711821556, -0.96603328, 0.258417934, -4.64850359e-007, -2.20301672e-007, 9.7528698e-007, 1, 0.258417934, 0.96603328, -8.85229781e-007))
  889. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.291599959, 1.16639984))
  890. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.791952133, -1.01022339, 0.582776666, 0.258398414, 0.966038465, 9.73264605e-007, 4.68442522e-006, -2.45521846e-007, -1, -0.966038465, 0.258398414, -4.58877776e-006))
  891. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 1, 1))
  892. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.437399983, 0.200000003))
  893. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.791953087, -0.645729065, 1.23882413, 0.258398414, 0.966038465, 9.85365432e-007, 4.74521448e-006, -2.49255436e-007, -1, -0.966038465, 0.258398414, -4.64846698e-006))
  894. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 1, 0.728999913))
  895. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.58319968, 0.200000003, 0.291599929))
  896. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.758653641, 0.791967392, 2.16901398, -0.933116317, 0.249601379, -0.258830756, -0.258406103, -0.966036439, -4.07655898e-006, -0.250040919, 0.0668796301, 0.965922713))
  897. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 1))
  898. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(1.16639984, 0.437400103, 0.200000003))
  899. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.582713842, 0.645721436, -0.791945457, -0.966035903, 0.258407861, -1.25082556e-006, -1.27987164e-006, 5.58177362e-008, 1, 0.258407861, 0.966035903, 2.76806929e-007))
  900. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.728999913))
  901. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.291599929, 0.291599959))
  902. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.792108536, -1.61417389, -0.000424981117, -0.258397162, -0.966038883, -2.09015161e-006, -3.05568869e-006, -1.34629158e-006, 1, -0.966038883, 0.258397162, -2.60403613e-006))
  903. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 1, 1))
  904. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.58319968, 0.200000003, 0.291599929))
  905. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.261831284, 0.7920084, 2.16902924, -0.933116376, 0.249601558, -0.258829921, -0.258406281, -0.966036439, -4.11973315e-006, -0.250040174, 0.0668794289, 0.965923011))
  906. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 1))
  907. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  908. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.748393536, 0.236421585, -2.68690491, 0.259242177, -0.965812325, 9.39434904e-006, -0.965812325, -0.259242177, 1.81594089e-006, 6.81553331e-007, -9.54394636e-006, -1))
  909. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 0.728999913, 0.728999913))
  910. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.549599648, 0.200000003, 0.611599982))
  911. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.400000095, 0, 1, -4.38871487e-016, 0, -4.38871487e-016, 1, 0, 0, 0, 1))
  912. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.58319968, 0.200000003, 0.291599929))
  913. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.633543015, -0.748318195, -2.00602722, 0.932904184, 0.250400394, 0.258823454, -0.259233505, 0.965814769, -1.53903522e-006, -0.24997583, -0.0670942515, 0.965924621))
  914. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 1))
  915. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.291599959, 2.6243999, 0.291599959))
  916. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.668150902, 1.32257843, 2.02337718, 0.259231716, -0.965815246, -5.59616274e-006, -2.02115484e-006, 5.25174482e-006, -1, 0.965815246, 0.259231716, -5.90643424e-007))
  917. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  918. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.291599959, 1.16639984))
  919. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.748328209, -1.01021576, 0.419537544, 0.259243816, -0.965811849, 1.82883696e-006, -3.7662528e-006, -2.90451476e-006, -1, 0.965811849, 0.259243816, -4.39046926e-006))
  920. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 1, 1))
  921. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.291599929, 0.291599959))
  922. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.748274803, -1.61417389, -0.163676262, -0.259237617, 0.965813577, -2.98417535e-006, 1.98260818e-006, 3.62196397e-006, 1, 0.965813577, 0.259237617, -2.85377928e-006))
  923. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 1, 1))
  924. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.583199918, 0.291599989))
  925. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.748350143, -1.15601349, -0.0178599358, 0.259243816, -0.965811849, 1.85960675e-006, -3.80946062e-006, -2.94797155e-006, -1, 0.965811849, 0.259243816, -4.44346597e-006))
  926. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 1, 1))
  927. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.0205996, 0.2915999, 0.200000003))
  928. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0908699036, 2.12680817, 0.748318195, 0.932903409, 0.250400096, -0.258826435, 0.24997808, 0.067097418, 0.965923846, 0.259234011, -0.96581459, 8.78642084e-007))
  929. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.728999913))
  930. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.58319968, 0.200000003, 0.291599929))
  931. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.601093292, -0.748310566, 2.12677765, 0.93290323, 0.250400156, -0.258826882, -0.259234697, 0.965814352, -3.2069297e-006, 0.249977916, 0.0670999065, 0.965923727))
  932. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 1))
  933. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Metal,0,0,"Medium stone grey","Part",Vector3.new(1.7495997, 4.22819996, 0.291599929))
  934. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.565392971, 0.0625152588, 0.668135643, 0.965815246, 0.259231359, -4.91199387e-007, 4.8916678e-007, 7.23472908e-008, 1, 0.259231359, -0.965815246, -5.69332315e-008))
  935. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.437399983, 0.200000003))
  936. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.748342991, -0.645713806, 1.0756433, 0.259243816, -0.965811849, 1.8409371e-006, -3.99065493e-006, -2.97727752e-006, -1, 0.965811849, 0.259243816, -4.6260634e-006))
  937. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 1, 0.728999913))
  938. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.58319968, 0.200000003, 0.291599929))
  939. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.419418335, -0.748321056, 2.12680054, 0.932903469, 0.250400156, -0.258826196, -0.259234637, 0.965814352, -3.23053882e-006, 0.249977246, 0.0670997277, 0.965924025))
  940. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 1))
  941. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.549599648, 1.16819966, 0.200000003))
  942. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.15255737e-007, -0.0840959549, 0.40423584, 1, -4.38871487e-016, 0, -4.38871487e-016, 1, 0, 0, 0, 1))
  943. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  944. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.748373508, -0.236422062, 2.68690491, 0.259242624, -0.965812266, 1.82163058e-006, 0.965812266, 0.259242624, -2.00591694e-006, 1.46509501e-006, 2.27937221e-006, 1))
  945. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 0.728999913, 0.728999913))
  946. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.291599959, 2.18700004, 0.437399924))
  947. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.668161869, -1.08311462, -1.65887642, -0.259238631, 0.965813279, -4.12923669e-007, 2.22891821e-008, -4.21557132e-007, -1, -0.965813279, -0.259238631, 8.77566961e-008))
  948. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  949. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Metal,0,0,"Medium stone grey","Part",Vector3.new(0.291599959, 2.18700004, 0.437399924))
  950. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.668140888, 1.08312225, 1.65885949, -0.259237617, 0.965813577, 3.65497885e-006, 3.96671521e-006, -2.71963154e-006, 1, 0.965813577, 0.259237617, -3.12607654e-006))
  951. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  952. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.58319968, 0.200000003, 0.291599929))
  953. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.127997398, -0.748288631, -0.0103759766, 0.96581459, 0.259233892, 3.24961434e-006, -0.259233892, 0.96581459, -2.47951652e-006, -3.78129926e-006, 1.55234306e-006, 1))
  954. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 1))
  955. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.291599959, 2.47859979, 0.437399924))
  956. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.668211937, -0.929962635, 2.97852325, -0.259212017, 0.965820491, 2.54913289e-006, -0.965820491, -0.259212017, -8.96806228e-007, -2.05387948e-007, -2.69446741e-006, 1))
  957. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  958. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.0205996, 0.2915999, 0.200000003))
  959. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.123281479, -2.00604248, 0.748316288, 0.932904124, 0.250400394, 0.258823514, -0.249975741, -0.0670948401, 0.965924621, 0.259233654, -0.96581471, 9.78878688e-007))
  960. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.728999913))
  961. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.58319968, 0.200000003, 0.291599929))
  962. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.14855218, -0.748366833, -0.0103759766, 0.965815067, 0.259231985, -7.14727889e-007, -0.259231985, 0.965815067, -2.50817857e-006, 4.00949318e-008, 2.60771685e-006, 1))
  963. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.728999913, 1))
  964. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.291599959, 2.04120016, 0.437399924))
  965. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.668152809, -1.03097534, -1.65887117, 0.259237349, -0.965813637, -3.15378566e-006, 3.45980902e-006, -2.33675905e-006, 1, -0.965813637, -0.259237349, 2.73575552e-006))
  966. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  967. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Metal,0,0,"Medium stone grey","Part",Vector3.new(0.291599959, 2.04120016, 0.437399983))
  968. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.66814518, 1.03097534, 1.65886927, 0.259237885, -0.965813518, -1.87370847e-006, -2.21794357e-006, 1.34470429e-006, -1, 0.965813518, 0.259237885, -1.79352128e-006))
  969. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  970. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.291599959, 2.47859979, 0.437399924))
  971. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.668205738, -0.930031061, 2.85346985, 0.259222269, -0.96581769, -2.60306479e-006, -0.96581775, -0.259222299, 1.14704233e-006, -1.7826062e-006, 2.21674713e-006, -1))
  972. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  973. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 2.04120016, 0.200000003))
  974. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.236513138, 1.59341431, 0.748343468, 0.965813994, 0.259236038, -1.21717028e-006, 8.87492035e-007, 1.38876521e-006, 1, 0.259236038, -0.965813994, 1.11121904e-006))
  975. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 1, 0.728999913))
  976. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.291599959, 2.6243999, 0.291599959))
  977. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.711784363, 1.44760895, 2.18656635, -0.258395731, -0.96603924, 3.16468504e-006, 7.73344993e-007, 3.06908441e-006, 1, -0.96603924, 0.258395731, -4.59567389e-008))
  978. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  979. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  980. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.791934013, -0.0731610656, 2.68690491, 0.258360416, 0.966048717, 8.7551814e-007, -0.966048717, 0.258360416, -1.93419714e-006, -2.09472728e-006, -3.46073136e-007, 1))
  981. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 0.728999913, 0.728999913))
  982. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.291599959, 2.1869998, 0.583199859))
  983. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.668188095, 0.784166813, -2.46821594, -0.259239137, 0.96581322, -9.58106966e-007, 0.96581322, 0.259239137, 2.45358251e-006, 2.61808077e-006, -2.89287811e-007, -1))
  984. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  985. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.291599959, 2.18700004, 0.437399924))
  986. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.711663246, -1.08311462, -1.82211637, -0.258347362, -0.966052175, 4.26980762e-007, -6.51804299e-008, -4.24554258e-007, -1, 0.966052175, -0.258347362, 4.67147743e-008))
  987. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  988. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Metal,0,0,"Medium stone grey","Part",Vector3.new(0.291599959, 2.1869998, 0.583199859))
  989. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.66814518, -0.784229279, 2.34318542, 0.259237558, -0.965813577, 2.15522095e-006, -0.965813577, -0.259237558, 4.15574686e-006, -3.45496255e-006, -3.15886746e-006, -1))
  990. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  991. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.291599959, 2.6243999, 0.291599959))
  992. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.711732864, 1.32258606, 2.18660164, 0.258424789, 0.966031373, -5.72344379e-006, 2.51068946e-006, -6.59633633e-006, -1, -0.966031373, 0.258424789, -4.13006182e-006))
  993. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  994. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.437399983, 0.291599929))
  995. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.748332024, 2.24951172, -0.0176463127, -0.259235293, 0.965814173, -1.04926676e-006, 3.99967757e-006, 2.15996465e-006, 1, 0.965814173, 0.259235293, -4.42288456e-006))
  996. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 1, 1))
  997. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.291599959, 2.1869998, 0.583199859))
  998. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.668171883, 0.784127712, -2.34318542, 0.259238124, -0.965813458, 8.95987228e-007, 0.965813458, 0.259238124, -2.76424407e-006, 2.4374699e-006, 1.58195394e-006, 1))
  999. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1000. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.0205996, 0.2915999, 0.200000003))
  1001. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.63828373, -0.0103759766, 0.748314857, 0.96581459, 0.259233892, -1.77737036e-007, -7.47181232e-008, 9.63997763e-007, 1, 0.259233892, -0.96581459, 9.50412584e-007))
  1002. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.728999913))
  1003. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Ice,0,0,"Pastel light blue","Part",Vector3.new(0.200000003, 0.291599959, 1.02060008))
  1004. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.748323441, -2.61401367, 0.346779823, 0.259239912, -0.965812981, -1.30390742e-006, -4.67701739e-006, 9.46744763e-008, -1, 0.965812981, 0.259239912, -4.49258096e-006))
  1005. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.728999913, 1, 1))
  1006. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Metal,0,0,"Medium stone grey","Part",Vector3.new(0.291599959, 2.1869998, 0.583199859))
  1007. Partweld=CreateWeld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.668186665, -0.784234047, 2.46820831, -0.259239942, 0.965813041, -2.21002483e-006, -0.965813041, -0.259239942, -3.84502073e-006, -4.28649719e-006, 1.1376876e-006, 1))
  1008. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1009.  
  1010. function attackone()
  1011. attack = true
  1012. Hitbox.CanCollide = true
  1013. for i = 0,1,0.1 do
  1014. wait()
  1015. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .33)
  1016. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-20)), .33)
  1017. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.4) * angles(math.rad(85), math.rad(0), math.rad(-70)), .33)
  1018. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.1) * angles(math.rad(80), math.rad(0), math.rad(45)), .33)
  1019. RH.C0=clerp(RH.C0,cn(1,-1,0)*RHCF*angles(math.rad(-5),math.rad(-20),math.rad(0)),.33)
  1020. LH.C0=clerp(LH.C0,cn(-1,-1,0)*LHCF*angles(math.rad(-5),math.rad(-20),math.rad(0)),.33)
  1021. end
  1022. RootPart.Velocity = RootPart.CFrame.lookVector* 70
  1023. for i = 0,1,0.13 do
  1024. wait()
  1025. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), .5)
  1026. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-5), math.rad(-60)), .5)
  1027. RW.C0 = clerp(RW.C0, CFrame.new(1.7, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), .5)
  1028. LW.C0 = clerp(LW.C0, CFrame.new(-.3, 0.5, -.5)*CFrame.new(0, 0, -.5) * angles(math.rad(80), math.rad(0), math.rad(70)), .5)
  1029. RH.C0=clerp(RH.C0,cn(1,-1,0)*RHCF*angles(math.rad(-10),math.rad(-30),math.rad(-10)),.5)
  1030. LH.C0=clerp(LH.C0,cn(-1,-1,0)*LHCF*angles(math.rad(-10),math.rad(-30),math.rad(10)),.5)
  1031. end
  1032. Hitbox.CanCollide = false
  1033. attack = false
  1034. end
  1035.  
  1036. function attacktwo()
  1037. attack = true
  1038. for i = 0,1,0.1 do
  1039. wait()
  1040. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(60)), .33)
  1041. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-60)), .33)
  1042. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.7) * angles(math.rad(85), math.rad(0), math.rad(-70)), .33)
  1043. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.1) * angles(math.rad(20), math.rad(0), math.rad(-10)), .33)
  1044. RH.C0=clerp(RH.C0,cn(1,-1,0)*RHCF*angles(math.rad(-5),math.rad(-30),math.rad(0)),.33)
  1045. LH.C0=clerp(LH.C0,cn(-1,-1,0)*LHCF*angles(math.rad(-5),math.rad(-30),math.rad(0)),.33)
  1046. end
  1047. for i = 0,1,0.12 do
  1048. wait()
  1049. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .35)
  1050. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(80)), .35)
  1051. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), .35)
  1052. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.1) * angles(math.rad(20), math.rad(0), math.rad(-80)), .35)
  1053. RH.C0=clerp(RH.C0,cn(1,-1,0)*RHCF*angles(math.rad(-10),math.rad(30),math.rad(0)),.35)
  1054. LH.C0=clerp(LH.C0,cn(-1,-1,0)*LHCF*angles(math.rad(-10),math.rad(30),math.rad(0)),.35)
  1055. end
  1056. attack = false
  1057. end
  1058.  
  1059. function OrbEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay)
  1060. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1061. prt.Anchored = true
  1062. prt.CanCollide=false
  1063. prt.CFrame = cframe*cn(0,-1,0)*angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90)))
  1064. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1065. game:GetService("Debris"):AddItem(prt, 10)
  1066. coroutine.resume(coroutine.create(function(Part, Mesh)
  1067. for i = 0, 1, delay do
  1068. wait(0)
  1069. Part.CFrame = Part.CFrame
  1070. Part.Transparency = i
  1071. Mesh.Scale = Mesh.Scale + Vector3.new(x2, y2, z2)
  1072. end
  1073. Part.Parent = nil
  1074. end), prt, msh)
  1075. end
  1076.  
  1077. function Shockwave(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1078. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1079. prt.Anchored = true
  1080. prt.CFrame = cframe*cn(0,-1,0)
  1081. --prt.Material = "Neon"
  1082. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1083. game:GetService("Debris"):AddItem(prt, 10)
  1084. coroutine.resume(coroutine.create(function(Part, Mesh)
  1085. for i = 0, 1, delay do
  1086. wait(0)
  1087. Part.CFrame = Part.CFrame
  1088. Part.Transparency = i
  1089. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1090. end
  1091. Part.Parent = nil
  1092. end), prt, msh)
  1093. end
  1094.  
  1095. function attackthree()
  1096. attack = true
  1097. for i = 0,1,0.1 do
  1098. wait()
  1099. OrbEffect(Hitbox.BrickColor,cn(LeftArm.Position)*CFrame.new(0,1,-1),.5,.5,.5,.5,.5,.5,0.2)
  1100. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), .33)
  1101. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(60)), .33)
  1102. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), .33)
  1103. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.1) * angles(math.rad(85), math.rad(0), math.rad(-60)), .33)
  1104. RH.C0=clerp(RH.C0,cn(1,-1,0)*RHCF*angles(math.rad(-5),math.rad(40),math.rad(0)),.33)
  1105. LH.C0=clerp(LH.C0,cn(-1,-1,0)*LHCF*angles(math.rad(-5),math.rad(40),math.rad(0)),.33)
  1106. end
  1107. RootPart.Velocity = RootPart.CFrame.lookVector* -70
  1108. for i = 1,3 do
  1109. Shockwave(Hitbox.BrickColor,cn(LeftArm.Position)*CFrame.new(0,1,-1),1,1,1,1,1,1,0.05)
  1110. OrbEffect(Hitbox.BrickColor,cn(LeftArm.Position)*CFrame.new(0,1,-1),1,1,1,1,1,1,0.05)
  1111. end
  1112. for i = 0,1,0.13 do
  1113. wait()
  1114. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-4), math.rad(0), math.rad(40)), .33)
  1115. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-5), math.rad(-40)), .33)
  1116. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(30)), .33)
  1117. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.1) * angles(math.rad(120), math.rad(0), math.rad(30)), .33)
  1118. RH.C0=clerp(RH.C0,cn(1,-1,0)*RHCF*angles(math.rad(-10),math.rad(-40),math.rad(5)),.33)
  1119. LH.C0=clerp(LH.C0,cn(-1,-1,0)*LHCF*angles(math.rad(-10),math.rad(-40),math.rad(-5)),.33)
  1120. end
  1121. attack = false
  1122. end
  1123.  
  1124. mouse.Button1Down:connect(function()
  1125. if attack == false and attacktype == 1 then
  1126. attacktype = 2
  1127. attackone()
  1128. elseif attack == false and attacktype == 2 then
  1129. attacktype = 3
  1130. attacktwo()
  1131. elseif attack == false and attacktype == 3 then
  1132. attacktype = 1
  1133. attackthree()
  1134. end
  1135. end)
  1136.  
  1137. mouse.KeyDown:connect(function(k)
  1138. k = k:lower()
  1139. end)
  1140.  
  1141.  
  1142. inputserv.InputBegan:connect(function(k)
  1143. if k.KeyCode == Enum.KeyCode.One and typing == false and cooldown3 >= co1 and stamina >= skill1stam then
  1144. elseif k.KeyCode == Enum.KeyCode.Two and typing == false and cooldown3 >= co2 and stamina >= skill2stam then
  1145. elseif k.KeyCode == Enum.KeyCode.Three and typing == false and cooldown3 >= co3 and stamina >= skill3stam then
  1146. elseif k.KeyCode == Enum.KeyCode.Four and typing == false and cooldown3 >= co4 and stamina >= skill4stam then
  1147. end
  1148. end)
  1149.  
  1150. inputserv.InputBegan:connect(function(k)
  1151. if k.KeyCode == Enum.KeyCode.Slash then
  1152. local fin = nil
  1153. typing = true
  1154. fin = inputserv.InputBegan:connect(function(k)
  1155. if k.KeyCode == Enum.KeyCode.Return or k.UserInputType == Enum.UserInputType.MouseButton1 then
  1156. typing = false
  1157. fin:disconnect()
  1158. end
  1159. end)
  1160. end
  1161. end)
  1162.  
  1163. function updateskills()
  1164. if cooldown1 <= co1 then
  1165. cooldown1 = cooldown1 + 1 / 30
  1166. end
  1167. if cooldown2 <= co2 then
  1168. cooldown2 = cooldown2 + 1 / 30
  1169. end
  1170. if cooldown3 <= co3 then
  1171. cooldown3 = cooldown3 + 1 / 30
  1172. end
  1173. if cooldown4 <= co4 then
  1174. cooldown4 = cooldown4 + 1 / 30
  1175. end
  1176. if stamina <= maxstamina then
  1177. stamina = stamina + recovermana / 30
  1178. end
  1179. end
  1180.  
  1181. game:GetService'RunService'.Heartbeat:connect(function()
  1182. updateskills()
  1183. healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), 'Out', 'Quad', .5)
  1184. staminacover:TweenSize(ud(1 * (stamina / maxstamina), 0, 1, 0), 'Out', 'Quad', .5)
  1185. bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), 'Out', 'Quad', .5)
  1186. bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), 'Out', 'Quad', .5)
  1187. bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), 'Out', 'Quad', .5)
  1188. bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), 'Out', 'Quad', .5)
  1189. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1190. velocity = RootPart.Velocity.y
  1191. sine = sine + change
  1192. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1193. Character.Humanoid.WalkSpeed = 16 * speed.Value
  1194. if equipped == true or equipped == false then
  1195. if RootPart.Velocity.y > 1 and hit == nil and stun.Value ~= true then
  1196. Anim = "Jump"
  1197. if attack == false then
  1198. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1199. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  1200. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(10)), .3)
  1201. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), .3)
  1202. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.3) * RHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(-20)), .3)
  1203. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1204. end
  1205. elseif RootPart.Velocity.y < -1 and hit == nil and stun.Value ~= true then
  1206. Anim = "Fall"
  1207. if attack == false then
  1208. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1209. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1210. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(20)), .3)
  1211. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-30)), .3)
  1212. RH.C0 = clerp(RH.C0, CFrame.new(1, -.8, 0) * RHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), .3)
  1213. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), .3)
  1214. end
  1215. elseif Torsovelocity < 1 and hit ~= nil and stun.Value ~= true then
  1216. Anim = "Idle"
  1217. if attack == false then
  1218. change = 1
  1219. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.15+0.1*math.cos(sine/15)) * angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
  1220. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10-2*math.cos(sine/15)), math.rad(0), math.rad(30)), .3)
  1221. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.5) * angles(math.rad(65), math.rad(30), math.rad(-30+5*math.cos(sine/15))), .3)
  1222. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10-3*math.cos(sine/15)), math.rad(0), math.rad(-10-3*math.cos(sine/15))), .3)
  1223. RH.C0=clerp(RH.C0,cn(1.05,-.8-0.1*math.cos(sine/15),0)*RHCF*angles(math.rad(-3-3*math.cos(sine/15)),math.rad(30),math.rad(0)),.3)
  1224. LH.C0=clerp(LH.C0,cn(-1.05,-.8-0.1*math.cos(sine/15),0)*LHCF*angles(math.rad(-3-3*math.cos(sine/15)),math.rad(30),math.rad(0)),.3)
  1225. end
  1226. elseif Torsovelocity > 2 and hit ~= nil and stun.Value ~= true then
  1227. Anim = "Walk"
  1228. if attack == false then
  1229. change = 3
  1230. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10+1*math.cos(sine/15)), math.rad(0), math.rad(0+3*math.cos(sine/15))), .3)
  1231. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-5-1*math.cos(sine/15)), math.rad(0), math.rad(0-1*math.cos(sine/15))), .3)
  1232. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(50+1*math.cos(sine/15)), math.rad(0), math.rad(20+3*math.cos(sine/15))), .3)
  1233. LW.C0=clerp(LW.C0,CFrame.new(-1.45+.1*math.cos(sine/15),0.5,0-.1*math.cos(sine/15))*angles(math.sin(40)*math.cos(sine/15),math.rad(0),math.rad(-10+1*math.cos(sine/15))),.3)
  1234. RH.C0=clerp(RH.C0,cn(1,-1,0-0.5*math.cos(sine/15)/2)*RHCF*angles(math.rad(-3),math.rad(0),math.rad(40*math.cos(sine/15))),.3)
  1235. LH.C0=clerp(LH.C0,cn(-1,-1,0+0.5*math.cos(sine/15)/2)*LHCF*angles(math.rad(-3),math.rad(0),math.rad(40*math.cos(sine/15))),.3)
  1236. end
  1237. end
  1238. end
  1239. end)
Add Comment
Please, Sign In to add comment