AgentVK

Untitled

Jul 6th, 2017
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 106.93 KB | None | 0 0
  1. --Fixed by Scenius(On ROBLOX)
  2. local Player = game.Players.LocalPlayer
  3. local Character = Player.Character
  4. local AnimTable = {}
  5. System = {}
  6. function System.Create(a, c)
  7. local e = Instance.new(a)
  8. for d, a in pairs(c) do
  9. local b, a = ypcall(function()
  10. return e[d]
  11. end)
  12. if b then
  13. e[d] = c[d]
  14. end
  15. end
  16. return e
  17. end
  18. function b(d, b)
  19. local c = getfenv(d)
  20. local a = setmetatable({}, {
  21. __index = function(a, a)
  22. if a:lower() == 'script' then
  23. return b
  24. else
  25. return c[a]
  26. end
  27. end
  28. })
  29. setfenv(d, a)
  30. ypcall(function()
  31. d()
  32. end)
  33. end
  34. Effects = {}
  35. local Humanoid = Character.Humanoid
  36. local mouse = Player:GetMouse()
  37. local m = Instance.new("Model", Character)
  38. m.Name = "WeaponModel"
  39. local LeftArm = Character["Left Arm"]
  40. local RightArm = Character["Right Arm"]
  41. local LeftLeg = Character["Left Leg"]
  42. local RightLeg = Character["Right Leg"]
  43. local Head = Character.Head
  44. local Torso = Character.Torso
  45. local cam = game.Workspace.CurrentCamera
  46. local RootPart = Character.HumanoidRootPart
  47. local RootJoint = RootPart.RootJoint
  48. local equipped = false
  49. local attack = false
  50. local Anim = "Idle"
  51. local idle = 0
  52. local attacktype = 1
  53. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  54. local velocity = RootPart.Velocity.y
  55. local sine = 0
  56. local change = 1
  57. local grabbed = false
  58. local cn = CFrame.new
  59. local mr = math.rad
  60. local angles = CFrame.Angles
  61. local ud = UDim2.new
  62. local c3 = Color3.new
  63. local hitr = false
  64. Humanoid.Animator.Parent = nil
  65. Character.Animate.Parent = nil
  66. local newMotor = function(part0, part1, c0, c1)
  67. local w = Instance.new("Motor", part0)
  68. w.Part0 = part0
  69. w.Part1 = part1
  70. w.C0 = c0
  71. w.C1 = c1
  72. return w
  73. end
  74. AnimTable.SharakAttack1 = {}
  75. AnimTable.SharakAttack1.Animation = function(frame)
  76. sr = {}
  77. sr[1] = {CFrame.new( -2.94484198e-006, -0.127072543, 7.61123374e-007, 0.224094763, -0.0871556699, -0.970662355, -0.116191179, 0.986499786, -0.115402527, 0.9676162, 0.138643503, 0.210942715 ),
  78. CFrame.new( -0.0775253177, 1.49361289, -0.152007639, 0.23532176, -0.259008348, 0.936770141, -0.144913197, 0.943713069, 0.297330976, -0.961053491, -0.205718815, 0.184542477 ),
  79. CFrame.new( 2.05580091, 0.451379389, -0.32676053, 0.218336463, -0.975549459, -0.025149107, -0.00864208117, 0.0238369703, -0.999678493, 0.975835204, 0.218483597, -0.00322628766 ),
  80. CFrame.new( -0.322871178, 0.43511951, -1.23702645, 0.619466603, -0.784127772, -0.0374807119, -0.0261314511, 0.027121298, -0.999290466, 0.784587979, 0.620006442, -0.00368966535 ),
  81. CFrame.new( 0.851484776, -1.79877162, -0.00429099333, 0.90489018, -0.277540147, 0.322715342, 0.241610199, 0.959115744, 0.147382051, -0.35042578, -0.0553932711, 0.934950948 ),
  82. CFrame.new( -0.476845533, -1.97459769, -0.16990155, 0.555973172, -0.116191179, 0.823039174, -0.0316814296, 0.986499786, 0.160668671, -0.830596268, -0.115402527, 0.544786394 )}
  83. sr[2] = {CFrame.new( 0.110238828, -0.371040165, -0.637286425, -0.0771515667, -0.535226345, 0.841178, 0.1353008, 0.83026737, 0.5406937, -0.987796247, 0.155527353, 0.00836011767 ),
  84. CFrame.new( 0.0970436931, 1.50392842, 0.0121063814, 0.271541774, 0.400271177, -0.875241756, -0.535855949, 0.818292856, 0.20797874, 0.799451888, 0.412528664, 0.436688364 ),
  85. CFrame.new( 1.42828858, 0.332611054, -0.848276019, 0.979408562, 0.157022581, 0.126896918, 0.0898949355, 0.223614946, -0.970523119, -0.180770129, 0.961946011, 0.204894885 ),
  86. CFrame.new( -1.20746446, 0.358943641, -0.713923454, 0.91646862, 0.181600958, 0.356520057, 0.345540881, 0.0899819732, -0.934079528, -0.20171015, 0.979246795, 0.0197150912 ),
  87. CFrame.new( 0.251972318, -1.94394803, -0.0907308534, -0.179604173, 0.580085874, -0.794507921, -0.275005698, 0.745834172, 0.606715083, 0.94451791, 0.327462763, 0.0255719312 ),
  88. CFrame.new( -0.377690136, -1.28565156, -0.944018781, 0.314944357, 0.1353008, -0.939416766, -0.553447843, 0.83026737, -0.0659659058, 0.77104187, 0.5406937, 0.336369962 )}
  89. sr[3] = {CFrame.new( 0.110238828, -0.371040165, -0.637286425, -0.0771515667, -0.535226345, 0.841178, 0.1353008, 0.83026737, 0.5406937, -0.987796247, 0.155527353, 0.00836011767 ),
  90. CFrame.new( 0.0970436931, 1.50392842, 0.0121063814, 0.271541774, 0.400271177, -0.875241756, -0.535855949, 0.818292856, 0.20797874, 0.799451888, 0.412528664, 0.436688364 ),
  91. CFrame.new( 1.42828858, 0.332611054, -0.848276019, 0.979408562, 0.157022581, 0.126896918, 0.0898949355, 0.223614946, -0.970523119, -0.180770129, 0.961946011, 0.204894885 ),
  92. CFrame.new( -1.20746446, 0.358943641, -0.713923454, 0.91646862, 0.181600958, 0.356520057, 0.345540881, 0.0899819732, -0.934079528, -0.20171015, 0.979246795, 0.0197150912 ),
  93. CFrame.new( 0.251972318, -1.94394803, -0.0907308534, -0.179604173, 0.580085874, -0.794507921, -0.275005698, 0.745834172, 0.606715083, 0.94451791, 0.327462763, 0.0255719312 ),
  94. CFrame.new( -0.377690136, -1.28565156, -0.944018781, 0.314944357, 0.1353008, -0.939416766, -0.553447843, 0.83026737, -0.0659659058, 0.77104187, 0.5406937, 0.336369962 )}
  95. return sr[frame]
  96. end
  97. AnimTable.SharakAttack2 = {}
  98. AnimTable.SharakAttack2.Animation = function(frame)
  99. sr = {}
  100. sr[1] = {CFrame.new( 0.110243425, -0.371041596, -0.637286782, 0.301226974, 0.524641871, -0.79624933, 0.0321390256, 0.828974307, 0.558362484, 0.953010798, -0.193784446, 0.232847899 ),
  101. CFrame.new( -0.145321012, 1.54870594, -0.0193913728, 0.39695847, -0.244903058, 0.884560168, 0.522118807, 0.852870822, 0.00182147324, -0.754861355, 0.461122513, 0.466422737 ),
  102. CFrame.new( 1.43178129, 0.263588548, -0.454503834, 0.867572367, -0.271592438, -0.416600466, -0.118112765, 0.701207399, -0.703105628, 0.48308146, 0.659200728, 0.576269448 ),
  103. CFrame.new( -0.683320403, -0.0996505618, -1.33746469, 0.73242259, -0.537442565, -0.417986631, 0.124554291, 0.709324718, -0.693790078, 0.669360399, 0.456085473, 0.586466014 ),
  104. CFrame.new( 0.669205189, -1.71590519, -0.408387303, 0.961436212, 0.202385008, -0.186228082, -0.116508424, 0.913074255, 0.39079535, 0.249131143, -0.354027539, 0.90144217 ),
  105. CFrame.new( -1.16825736, -1.76681399, -0.943420172, 0.599006057, 0.637203455, 0.484936744, 0.14337948, 0.51046896, -0.84785831, -0.787803292, 0.577402234, 0.214412004 )}
  106. sr[2] = {CFrame.new( 0.381869674, -0.3760086, -0.711174011, 0.231658608, 0.392350286, 0.890166044, 0.15180105, 0.889268756, -0.431459814, -0.96088016, 0.235079497, 0.146447569 ),
  107. CFrame.new( 0.177984715, 1.48287737, -0.523798168, 0.290941417, 0.284353554, -0.913507581, 0.428042382, 0.815235734, 0.390090257, 0.855647624, -0.504513383, 0.115470454 ),
  108. CFrame.new( 1.23544812, 0.954310417, -1.23796952, 0.974286199, 0.0195511431, -0.224463731, -0.0720490068, -0.916886449, -0.392591625, -0.213483363, 0.398669034, -0.891901314 ),
  109. CFrame.new( -1.05461812, 0.632238448, -0.549498022, 0.97537303, 0.0343630314, -0.217868626, -0.0575183779, -0.913980901, -0.401659846, -0.212930024, 0.404299587, -0.88949573 ),
  110. CFrame.new( 0.684821963, -1.81068873, 0.272932708, 0.79965806, 0.0234186724, -0.599998653, 0.288363695, 0.861491382, 0.417946398, 0.526681423, -0.50723213, 0.682145357 ),
  111. CFrame.new( -0.779857159, -1.61673427, 0.157368958, 0.765215874, 0.353961378, 0.537732363, -0.438814521, 0.897957802, 0.0333725065, -0.471048355, -0.261501908, 0.84245491 )}
  112. sr[3] = sr[2]
  113. return sr[frame]
  114. end
  115. AnimTable.SharakAttack3 = {}
  116. AnimTable.SharakAttack3.Animation = function(frame)
  117. sr = {}
  118. sr[1] = {CFrame.new( -0.269888461, -0.251841694, -0.0480436534, 0.0774952918, 0.0073427856, 0.996965647, 0.0265192427, 0.999603808, -0.00942364335, -0.996639967, 0.0271691009, 0.077269882 ),
  119. CFrame.new( 0.00463594496, 1.45134985, -0.138704151, 0.679284751, -0.0122912638, -0.733772039, 0.178388417, 0.972636342, 0.148849577, 0.711863697, -0.232007727, 0.662889481 ),
  120. CFrame.new( 0.71634531, 0.420230091, -0.657788754, 0.454300672, 0.86892724, -0.196408525, -0.238955826, -0.0935337692, -0.966515124, -0.8582021, 0.486021489, 0.165142804 ),
  121. CFrame.new( -1.89918697, 0.606499732, -0.660277963, -0.371785343, 0.807079196, -0.458692342, -0.25547418, 0.386078417, 0.886383712, 0.89247328, 0.446728557, 0.0626495779 ),
  122. CFrame.new( 0.753237486, -1.77126217, -0.25763917, 0.518195868, -0.0644434467, -0.852830589, 0.167875051, 0.985423386, 0.0275413878, 0.838624418, -0.157440871, 0.521460831 ),
  123. CFrame.new( -0.52868253, -1.73524547, -0.0446143895, 0.94262296, 0.0265195351, 0.332804382, -0.0281440858, 0.999603808, 6.06584363e-005, -0.332670927, -0.00942370575, 0.942995906 )}
  124. sr[2] = {CFrame.new( -2.94484198e-006, -0.127072543, 7.61123374e-007, 0.224094763, -0.0871556699, -0.970662355, -0.116191179, 0.986499786, -0.115402527, 0.9676162, 0.138643503, 0.210942715 ),
  125. CFrame.new( -0.0775253177, 1.49361289, -0.152007639, 0.23532176, -0.259008348, 0.936770141, -0.144913197, 0.943713069, 0.297330976, -0.961053491, -0.205718815, 0.184542477 ),
  126. CFrame.new( 2.05580091, 0.451379389, -0.32676053, 0.218336463, -0.975549459, -0.025149107, -0.00864208117, 0.0238369703, -0.999678493, 0.975835204, 0.218483597, -0.00322628766 ),
  127. CFrame.new( -0.322871178, 0.43511951, -1.23702645, 0.619466603, -0.784127772, -0.0374807119, -0.0261314511, 0.027121298, -0.999290466, 0.784587979, 0.620006442, -0.00368966535 ),
  128. CFrame.new( 0.851484776, -1.79877162, -0.00429099333, 0.90489018, -0.277540147, 0.322715342, 0.241610199, 0.959115744, 0.147382051, -0.35042578, -0.0553932711, 0.934950948 ),
  129. CFrame.new( -0.476845533, -1.97459769, -0.16990155, 0.555973172, -0.116191179, 0.823039174, -0.0316814296, 0.986499786, 0.160668671, -0.830596268, -0.115402527, 0.544786394 )}
  130. sr[3] = sr[2]
  131. return sr[frame]
  132. end
  133. AnimTable.SharakAttack4 = {}
  134. AnimTable.SharakAttack4.Animation = function(frame)
  135. sr = {}
  136. sr[1] = {CFrame.new( -0.0907734632, 0.00530735031, -0.538676143, -0.240463182, 0.231259823, -0.942706883, 0.141455382, 0.969184339, 0.20167309, 0.960295737, -0.0848559737, -0.265766084 ),
  137. CFrame.new( 0.0387715697, 1.54983413, -0.0852007419, 0.236834437, -0.230979353, 0.943693757, 0.273758918, 0.947835863, 0.163289234, -0.932183146, 0.219672084, 0.287712812 ),
  138. CFrame.new( 1.95524418, 0.770914555, -0.59926194, 0.621278286, -0.773895741, 0.122876987, -0.152903825, -0.273530126, -0.949632287, 0.768526971, 0.571197569, -0.288269937 ),
  139. CFrame.new( -1.98498368, 0.790361345, 0.0893675387, 0.0311367363, 0.994176328, -0.103170037, 0.0951812193, -0.105700202, -0.989832342, -0.994972825, 0.0210003257, -0.0979180932 ),
  140. CFrame.new( 0.662759721, -2.09205151, -0.354404151, 0.990992904, -0.0459267199, 0.125793099, 0.0560601875, 0.995357335, -0.0782371983, -0.121615872, 0.0845845342, 0.988966584 ),
  141. CFrame.new( -0.990238547, -1.84311366, -0.391312391, 0.355609775, 0.464967638, 0.810769439, 0.0299913958, 0.86134845, -0.507128537, -0.934153199, 0.204655915, 0.292358756 )}
  142. sr[2] = {CFrame.new( 0.107512698, 0.0053069219, -0.934055984, 0.0920024216, 0.220571831, 0.97102195, 0.11317715, 0.966522217, -0.230273023, -0.989306033, 0.13108319, 0.0639586896 ),
  143. CFrame.new( 0.237780839, 1.415295, -0.414946109, 0.354552567, 0.397619426, -0.846280813, 0.285298109, 0.815915227, 0.502879083, 0.890447855, -0.419739395, 0.175844789 ),
  144. CFrame.new( 2.04563165, 0.597230613, -0.408755928, 0.464263916, -0.875280261, 0.135437921, -0.135955974, -0.2215316, -0.96562916, 0.875200033, 0.429893196, -0.221848711 ),
  145. CFrame.new( -1.51430154, 0.30901739, 0.538694918, 0.692014098, 0.704773188, -0.156240806, -0.340318918, 0.127630115, -0.931608021, -0.63663131, 0.697857559, 0.328169495 ),
  146. CFrame.new( 0.464842737, -2.05111003, 0.327756226, 0.756659269, 0.0782863349, -0.64910543, 0.232830018, 0.895455539, 0.379406661, 0.61094749, -0.438212812, 0.659327447 ),
  147. CFrame.new( -0.89891547, -1.91808414, 0.215840563, 0.880392313, 0.38657707, -0.274713308, -0.283867776, 0.893589497, 0.347730786, 0.37990576, -0.228157252, 0.896446288 )}
  148. return sr[frame]
  149. end
  150. AnimTable.SharakCurse = {}
  151. AnimTable.SharakCurse.Animation = function(fr)
  152. frames = {}
  153. frames[1] = {CFrame.new( 1.31130219e-006, -0.327071726, -5.44823706e-007, 0.42261824, 0, -0.906307817, -0.234569699, 0.965925813, -0.109381638, 0.875426114, 0.258819014, 0.408217877 ),
  154. CFrame.new( -0.00470277667, 1.52653337, -0.222868189, 0.440072894, -0.348754525, 0.827469707, -0.0561037436, 0.909018278, 0.412962556, -0.89620769, -0.228157789, 0.380467921 ),
  155. CFrame.new( 2.07384968, 0.50406754, -0.399512887, -0.0553859174, -0.737298489, 0.673292994, 0.979036272, 0.0922760665, 0.181584865, -0.196011066, 0.669235528, 0.716731131 ),
  156. CFrame.new( -1.9032253, 0.119498998, -0.435613632, 0.318090379, 0.945018947, 0.0758794621, -0.370290458, 0.197519436, -0.907673359, -0.872756183, 0.260624796, 0.412760526 ),
  157. CFrame.new( 0.827520907, -1.73829162, -0.00223554671, 0.916512012, -0.399794281, -0.0130510628, 0.39873749, 0.910518587, 0.109381743, -0.0318469405, -0.105453618, 0.993914127 ),
  158. CFrame.new( -0.616950035, -1.89312196, -0.100288063, 0.56821382, -0.234569699, 0.788739622, 0.0449434295, 0.965925813, 0.254886985, -0.82165277, -0.109381638, 0.559394777 )}
  159. frames[2] = {CFrame.new( 0.499998391, -0.327071935, -1.30000019, -0.181640863, 0.0669872761, 0.981080651, -0.234569669, 0.965925813, -0.109381624, -0.954978228, -0.24999994, -0.159738451 ),
  160. CFrame.new( -0.179023594, 1.50558662, -0.0340124592, 0.0807854086, -0.0685561299, -0.994370937, 0.0707176328, 0.99551183, -0.0628894717, 0.994219601, -0.0652390346, 0.0852709711 ),
  161. CFrame.new( 1.57973516, 0.341464877, -0.775785327, -0.164655671, -0.0700922608, 0.983857393, 0.941340983, 0.286714256, 0.177966416, -0.294560045, 0.955448627, 0.0187716186 ),
  162. CFrame.new( -0.974794507, 0.301168948, -0.822329402, 0.534695864, -0.837733865, 0.110914305, -0.124204159, -0.207736567, -0.970267296, 0.835866928, 0.505021989, -0.215125948 ),
  163. CFrame.new( 0.968945444, -1.68744433, 0.143504247, 0.194605708, -0.272502482, -0.942268908, 0.331569582, 0.922362089, -0.198266745, 0.923141479, -0.273843914, 0.269850433 ),
  164. CFrame.new( 0.00891385972, -1.7930429, -0.558681011, 0.61479938, -0.234569669, -0.752993047, 0.234569669, 0.965925813, -0.109381586, 0.752993107, -0.109381624, 0.648873627 )}
  165. frames[3] = frames[2]
  166. return frames[fr]
  167. end
  168. AnimTable.SharakRush = {}
  169. AnimTable.SharakRush.Animation = function(fr)
  170. frames = {}
  171. frames[1] = {CFrame.new( -1.85426325e-006, -0.52458626, 0.325041413, 0.173647985, 0, -0.984807789, 0.564862669, 0.819151938, 0.099600412, 0.806707203, -0.57357657, 0.142244086 ),
  172. CFrame.new( 5.06639481e-007, 1.49999845, -2.00048089e-006, 0.178147823, -0.150383741, 0.972444355, -0.0593911633, 0.98480773, 0.163175881, -0.982209742, -0.0868240446, 0.166509897 ),
  173. CFrame.new( 1.62647974, 0.32842961, -0.463130951, -0.012263298, -0.530857861, 0.847372055, 0.322216004, 0.800133944, 0.505927384, -0.946586728, 0.279241174, 0.161238611 ),
  174. CFrame.new( -0.872465491, 0.494700283, -1.05803633, 0.678208232, -0.534130275, 0.504716158, 0.73401022, 0.459161967, -0.500399053, 0.0355318226, 0.709841728, 0.703464508 ),
  175. CFrame.new( 0.304369152, -1.92474055, -0.709685862, 0.492403626, -0.0868240595, 0.866025507, 0.173648179, 0.98480773, 0, -0.852868557, 0.150383726, 0.499999762 ),
  176. CFrame.new( -1.31516051, -0.924064279, 0.245193124, 0.311093062, 0.564862669, 0.764297843, -0.0996004865, 0.819151938, -0.564862669, -0.945145905, 0.099600412, 0.311093092 )}
  177. frames[2] = {CFrame.new( -1.69547275e-006, -0.493812144, 0.225245416, 0.661220312, -0.15012303, -0.735017538, 0.513668537, 0.804668725, 0.29774633, 0.546747029, -0.5744313, 0.609176874 ),
  178. CFrame.new( 0.0324506462, 1.50100529, -0.277382553, 0.642927587, 0.268261194, 0.717412055, -0.20681195, 0.962669849, -0.174630195, -0.737477422, -0.0360948294, 0.674406648 ),
  179. CFrame.new( 1.6159749, -0.307453126, 0.511745811, 0.607807636, -0.284722149, 0.741284728, 0.218921125, 0.957413912, 0.188234091, -0.76331085, 0.0478727818, 0.64425528 ),
  180. CFrame.new( -0.275011063, 0.380028695, -1.26438785, 0.756259203, -0.634734988, -0.158693194, 0.448845416, 0.679792762, -0.580016911, 0.476035535, 0.367414355, 0.798997462 ),
  181. CFrame.new( 0.460613787, -2.09938407, -0.17961742, 0.880605161, -0.0464498997, 0.471568406, 0.0297129303, 0.998638213, 0.0428809226, -0.472918063, -0.0237495601, 0.8807863 ),
  182. CFrame.new( -1.30099976, -0.913826704, -0.344506562, 0.746116519, 0.513668537, 0.423621058, -0.247591227, 0.804668725, -0.539635837, -0.618068576, 0.29774633, 0.727556527 )}
  183. frames[3] = frames[2]
  184. frames[4] = {CFrame.new( -0.0796553195, -0.251841605, 0.119275972, 0.957893491, -0.0783350542, -0.27623111, 0.0069835633, 0.96813494, -0.25033164, 0.287038743, 0.237861991, 0.927917242 ),
  185. CFrame.new( 2.08616257e-006, 1.49999917, -1.26361847e-005, 0.854813993, -0.218694866, 0.470601231, 0.0563096032, 0.940596104, 0.334825575, -0.515870214, -0.259714216, 0.816349387 ),
  186. CFrame.new( 1.62648463, 0.328426808, -0.463133574, -0.0122630894, -0.530857921, 0.847372055, 0.322215974, 0.800133824, 0.505927444, -0.946586609, 0.279241115, 0.161238849 ),
  187. CFrame.new( -0.630449533, 0.322621793, -1.01537049, 0.364715308, -0.876069903, -0.31541118, 0.102663979, 0.374514371, -0.921519995, 0.92544198, 0.303711057, 0.226531953 ),
  188. CFrame.new( 0.828500032, -1.72087038, 0.351171762, 0.984344721, -0.166475236, -0.057890594, 0.175739914, 0.952082276, 0.250309318, 0.0134463012, -0.256564349, 0.966433644 ),
  189. CFrame.new( -0.469288021, -1.73093545, 0.276040614, 0.993184626, 0.0069835633, 0.116341591, -0.0358406827, 0.96813494, 0.247851059, -0.110903457, -0.25033164, 0.961787105 )}
  190. frames[5] = {CFrame.new( 0.381868005, -0.376008749, -0.711175084, 0.231658608, 0.392350286, 0.890166044, 0.379749864, 0.805982769, -0.454072505, -0.895613968, 0.443230212, 0.0377178639 ),
  191. CFrame.new( 0.10863781, 1.38906801, -0.46440345, 0.300122619, 0.498920023, -0.813022375, 0.412246227, 0.700770855, 0.582214057, 0.860220671, -0.509900987, 0.00463930145 ),
  192. CFrame.new( 1.19846058, 0.843276739, -1.17939961, 0.952672839, 0.20477128, -0.224684715, 0.104248703, -0.914344311, -0.391288251, -0.285563767, 0.349346578, -0.892418265 ),
  193. CFrame.new( -1.31049156, 0.739615858, -0.530235708, 0.975789368, 0.01739043, -0.218019933, -0.0735227168, -0.91274035, -0.401869953, -0.205984294, 0.408169836, -0.889363766 ),
  194. CFrame.new( 0.246515483, -1.89268339, 0.42313844, 0.793291926, 0.25564748, -0.552568674, 0.146049678, 0.801171422, 0.580339432, 0.591064632, -0.54108119, 0.598225653 ),
  195. CFrame.new( -1.12443805, -1.39981365, 0.151433378, 0.689847469, 0.563031077, 0.455089658, -0.621796131, 0.782752097, -0.0258614868, -0.37078318, -0.265132487, 0.890070021 )}
  196. frames[6] = {CFrame.new( -1.09896064e-006, -0.0270723403, -2.2330787e-006, 0.788010836, 5.40302381e-008, -0.615661383, 0.128003299, 0.978147507, 0.163836882, 0.602207661, -0.207911924, 0.770790815 ),
  197. CFrame.new( -0.169320911, 1.59196734, -0.21671842, 0.797788918, -0.188629419, 0.572670698, 0.0174339879, 0.956621945, 0.290810049, -0.602684736, -0.222021043, 0.766470909 ),
  198. CFrame.new( 1.51330113, -0.140397429, -0.0747733042, 0.412404835, -0.6111601, -0.675577998, -0.309298247, 0.603595614, -0.734851658, 0.856887937, 0.512011468, 0.0598950088 ),
  199. CFrame.new( -1.84378958, -0.248354375, -0.0704766586, 0.796385646, 0.590126157, 0.132366747, -0.362917066, 0.641382217, -0.675958514, -0.483798563, 0.490285546, 0.724954426 ),
  200. CFrame.new( 0.509102523, -2.06986713, -0.0821513832, 0.978942215, -0.0426359773, -0.199635267, 0.0153243542, 0.990534902, -0.136402592, 0.203561336, 0.130470961, 0.970329881 ),
  201. CFrame.new( -0.628385723, -1.87346852, -0.365997493, 0.88061142, 0.128003299, 0.456222236, -0.0361034609, 0.978147507, -0.204753295, -0.47246176, 0.163836882, 0.865989268 )}
  202. frames[7] = {CFrame.new( 1.54739246e-006, -0.0270718634, 0.0999985114, 0.997564077, 0, -0.0697564185, 0, 1, 0, 0.0697564185, 0, 0.997564077 ),
  203. CFrame.new( -0.00697758421, 1.49999893, -0.0997543335, 0.997192502, 0.0304717757, 0.068400465, -0.0561037436, 0.909018278, 0.412962586, -0.0495935678, -0.415640712, 0.908175826 ),
  204. CFrame.new( 0.80041343, 0.444129348, -0.574356854, 0.769927084, 0.636901438, 0.0396068394, 0.0543855876, -0.00365049392, -0.998513401, -0.635810077, 0.770936608, -0.0374488831 ),
  205. CFrame.new( -0.850327611, 0.40951407, -0.55506748, 0.637000263, -0.770600975, 0.0201219339, 0.0323411003, 0.000635719858, -0.999476731, 0.770184934, 0.637317657, 0.0253270417 ),
  206. CFrame.new( 0.762032986, -1.97292817, 0.120753169, 0.946657956, -0.166921318, -0.275637329, 0.173648149, 0.98480773, 0, 0.271449775, -0.0478639156, 0.961261749 ),
  207. CFrame.new( -0.487603575, -1.97292793, -0.237573579, 0.994521916, 0, -0.104528442, 0, 1, 0, 0.104528442, 0, 0.994521916 )}
  208. return frames[fr]
  209. end
  210. AnimTable.SharakUlt = {}
  211. AnimTable.SharakUlt.Animation = function(fr)
  212. frames = {}
  213. frames[1] = {CFrame.new( 1.54739246e-006, -0.0270718634, 0.0999985114, 0.997564077, 0, -0.0697564185, 0, 1, 0, 0.0697564185, 0, 0.997564077 ),
  214. CFrame.new( -0.00697758421, 1.49999893, -0.0997543335, 0.997192502, 0.0304717757, 0.068400465, -0.0561037436, 0.909018278, 0.412962586, -0.0495935678, -0.415640712, 0.908175826 ),
  215. CFrame.new( 0.80041343, 0.444129348, -0.574356854, 0.769927084, 0.636901438, 0.0396068394, 0.0543855876, -0.00365049392, -0.998513401, -0.635810077, 0.770936608, -0.0374488831 ),
  216. CFrame.new( -0.850327611, 0.40951407, -0.55506748, 0.637000263, -0.770600975, 0.0201219339, 0.0323411003, 0.000635719858, -0.999476731, 0.770184934, 0.637317657, 0.0253270417 ),
  217. CFrame.new( 0.762032986, -1.97292817, 0.120753169, 0.946657956, -0.166921318, -0.275637329, 0.173648149, 0.98480773, 0, 0.271449775, -0.0478639156, 0.961261749 ),
  218. CFrame.new( -0.487603575, -1.97292793, -0.237573579, 0.994521916, 0, -0.104528442, 0, 1, 0, 0.104528442, 0, 0.994521916 )}
  219. frames[2] = frames[1]
  220. frames[3] = {CFrame.new( -1.5234109e-006, -0.0270720161, -5.70144039e-008, 0.109786786, 0.144929349, -0.983332276, -0.0308145583, 0.989333272, 0.142373428, 0.993477345, 0.014670223, 0.113081649 ),
  221. CFrame.new( 0.00867157616, 1.55646372, -0.278104872, 0.999469221, 0.0321651064, 0.0051548779, -0.0317106768, 0.924450934, 0.379980206, 0.00745667517, -0.37994194, 0.924980283 ),
  222. CFrame.new( 1.86248302, 0.0623719692, 0.279644072, 0.637404323, -0.70017755, -0.321662903, -0.10946624, 0.330936939, -0.937282264, 0.762714088, 0.632638931, 0.134294882 ),
  223. CFrame.new( -0.315948963, 0.231341809, -0.906727731, 0.145377815, -0.872826338, -0.46587494, -0.0960787162, 0.456197351, -0.884676754, 0.984700084, 0.173373073, -0.0175390616 ),
  224. CFrame.new( 0.779611945, -1.87652874, -0.648945093, 0.803977191, -0.173052803, 0.568922877, 0.276337177, 0.955869615, -0.099755004, -0.526553273, 0.237415329, 0.816318393 ),
  225. CFrame.new( -0.602526963, -1.95735657, -0.386425287, 0.698158741, -0.0308145583, 0.71527946, 0.123237796, 0.989333272, -0.0776670948, -0.705256522, 0.142373428, 0.694509268 )}
  226. frames[4] = {CFrame.new( 4.17605042e-006, -0.0270720031, 0.0999990776, 0.587785244, 0, -0.809017003, -0.112593397, 0.990268052, -0.0818038881, 0.801143706, 0.13917309, 0.582064927 ),
  227. CFrame.new( -0.00865927339, 1.51323581, -0.00629204512, 0.595691621, -0.179659992, 0.782862604, -0.0585554391, 0.962356389, 0.26540792, -0.801075995, -0.20394212, 0.562747538 ),
  228. CFrame.new( 1.88090706, 0.830321431, -0.411562085, 0.516953111, -0.845765948, 0.13205862, -0.428236812, -0.389098585, -0.815607429, 0.741196752, 0.365078419, -0.563333869 ),
  229. CFrame.new( -0.569407165, 0.264540732, -1.01994085, 0.367286921, -0.853136599, 0.370483875, 0.142254785, -0.342111468, -0.928828955, 0.919164777, 0.39384985, -0.00429033488 ),
  230. CFrame.new( 0.888441563, -1.87389672, 0.210701078, 0.759693623, -0.387810946, 0.521984816, 0.269233495, 0.918254972, 0.290380776, -0.591928065, -0.080064632, 0.802004218 ),
  231. CFrame.new( -0.751832485, -2.07494855, 0.0345227718, 0.717972636, -0.112593397, 0.686904788, 0.0241671428, 0.990268052, 0.13705875, -0.69565177, -0.0818038881, 0.713706374 )}
  232. frames[5] = {CFrame.new( 1.43796206e-006, -0.0270716306, -0.700002849, 0.17022264, -0.388461947, 0.905605674, -0.406430185, 0.809530377, 0.423645049, -0.897685111, -0.440179348, -0.0200822651 ),
  233. CFrame.new( -0.010596022, 1.38766551, -0.0653014183, 0.217796445, -0.0984900594, -0.971011996, -0.251169056, 0.955730319, -0.153276712, 0.943121791, 0.27727136, 0.183417052 ),
  234. CFrame.new( 1.26352453, 0.673610389, -0.678975224, 0.866734207, 0.382617772, 0.319961309, 0.32814011, 0.0456869155, -0.943523586, -0.375626981, 0.922776461, -0.0859538019 ),
  235. CFrame.new( -1.154302, 0.343036592, -0.0881100893, 0.948668361, 0.231606022, 0.215376303, 0.293274462, -0.389261484, -0.873192787, -0.118399009, 0.891534746, -0.437204182 ),
  236. CFrame.new( 1.58654225, -1.33118665, -0.591236234, 0.30614382, -0.34597078, -0.886893451, -0.0600061119, 0.922759831, -0.380675137, 0.950092256, 0.169760361, 0.2617369 ),
  237. CFrame.new( -0.42007339, -2.11616015, -1.01632464, 0.77230227, 0.198837131, -0.603334785, -0.36879009, 0.913654804, -0.17096439, 0.51724571, 0.35454011, 0.778946877 )}
  238. return frames[fr]
  239. end
  240. AnimTable.SharakDestroy = {}
  241. AnimTable.SharakDestroy.Animation = function(fr)
  242. frames = {}
  243. frames[1] = {CFrame.new( -1.5234109e-006, -0.0270720161, -5.70144039e-008, 0.109786786, 0.144929349, -0.983332276, -0.0308145583, 0.989333272, 0.142373428, 0.993477345, 0.014670223, 0.113081649 ),
  244. CFrame.new( 0.00867157616, 1.55646372, -0.278104872, 0.999469221, 0.0321651064, 0.0051548779, -0.0317106768, 0.924450934, 0.379980206, 0.00745667517, -0.37994194, 0.924980283 ),
  245. CFrame.new( 1.86248302, 0.0623719692, 0.279644072, 0.637404323, -0.70017755, -0.321662903, -0.10946624, 0.330936939, -0.937282264, 0.762714088, 0.632638931, 0.134294882 ),
  246. CFrame.new( -0.315948963, 0.231341809, -0.906727731, 0.145377815, -0.872826338, -0.46587494, -0.0960787162, 0.456197351, -0.884676754, 0.984700084, 0.173373073, -0.0175390616 ),
  247. CFrame.new( 0.779611945, -1.87652874, -0.648945093, 0.803977191, -0.173052803, 0.568922877, 0.276337177, 0.955869615, -0.099755004, -0.526553273, 0.237415329, 0.816318393 ),
  248. CFrame.new( -0.602526963, -1.95735657, -0.386425287, 0.698158741, -0.0308145583, 0.71527946, 0.123237796, 0.989333272, -0.0776670948, -0.705256522, 0.142373428, 0.694509268 )}
  249. frames[2] = {CFrame.new( -1.09896064e-006, -0.0270723403, -2.2330787e-006, 0.788010836, 5.40302381e-008, -0.615661383, 0.128003299, 0.978147507, 0.163836882, 0.602207661, -0.207911924, 0.770790815 ),
  250. CFrame.new( -0.169320911, 1.59196734, -0.21671842, 0.797788918, -0.188629419, 0.572670698, 0.0174339879, 0.956621945, 0.290810049, -0.602684736, -0.222021043, 0.766470909 ),
  251. CFrame.new( 1.51330113, -0.140397429, -0.0747733042, 0.412404835, -0.6111601, -0.675577998, -0.309298247, 0.603595614, -0.734851658, 0.856887937, 0.512011468, 0.0598950088 ),
  252. CFrame.new( -1.84378958, -0.248354375, -0.0704766586, 0.796385646, 0.590126157, 0.132366747, -0.362917066, 0.641382217, -0.675958514, -0.483798563, 0.490285546, 0.724954426 ),
  253. CFrame.new( 0.509102523, -2.06986713, -0.0821513832, 0.978942215, -0.0426359773, -0.199635267, 0.0153243542, 0.990534902, -0.136402592, 0.203561336, 0.130470961, 0.970329881 ),
  254. CFrame.new( -0.628385723, -1.87346852, -0.365997493, 0.88061142, 0.128003299, 0.456222236, -0.0361034609, 0.978147507, -0.204753295, -0.47246176, 0.163836882, 0.865989268 )}
  255. frames[3] = {CFrame.new(-1.95339089e-006, -0.0270718802, -7.03555997e-007, 0.788010836, 5.40302381e-008, -0.615661383, 0.0214863718, 0.999390781, 0.0275014043, 0.615286291, -0.0348997265, 0.78753072),
  256. CFrame.new( -0.0908292234, 1.50606489, -0.116252899, 0.797600031, -0.198880851, 0.569456279, 0.0177148618, 0.951395988, 0.30746007, -0.602926433, -0.235142291, 0.762356639 ),
  257. CFrame.new( 1.52014399, 0.0132875443, -0.0660085678, 0.708870649, -0.371940762, -0.599301696, -0.296725303, 0.613568664, -0.731770158, 0.639887929, 0.696558297, 0.324576616 ),
  258. CFrame.new( -2.09011436, 0.665438414, -0.385747582, 0.581551433, 0.714040875, -0.389799267, -0.293359965, -0.262846559, -0.919157922, -0.758773863, 0.648889124, 0.0566122383 ),
  259. CFrame.new( 0.728062689, -1.99523497, 0.198104918, 0.970166326, -0.149248675, -0.19105491, 0.147603422, 0.988781512, -0.0228963308, 0.192328751, -0.0059870854, 0.981312275 ),
  260. CFrame.new( -0.42177996, -1.96226776, -0.101554096, 0.882882476, 0.0214863718, 0.469102144, -0.00606021844, 0.999390781, -0.034369532, -0.469554901, 0.0275014043, 0.88247484 )}
  261. frames[4] = frames[3]
  262. frames[2] = frames[1]
  263. frames[3] = frames[2]
  264. frames[5] = {CFrame.new( 0.291819483, 0.0545924045, -0.147917569, 0.984377265, -0.0727515817, -0.160339341, 0.127195477, 0.923511922, 0.361866146, 0.121748954, -0.376607239, 0.918337822 ),
  265. CFrame.new( -0.179876477, 1.50999057, -0.093229495, 0.992624402, -0.0498190299, 0.110521249, 0.0577166378, 0.995914698, -0.0694474578, -0.106609918, 0.0753140748, 0.991444468 ),
  266. CFrame.new( 1.53532815, 0.193587959, -0.308411419, 0.819128931, -0.436226666, -0.37247026, -0.320242882, 0.19093892, -0.927893758, 0.475891113, 0.879345536, 0.0167051256 ),
  267. CFrame.new( -2.09618568, 0.538466811, -0.00774786249, 0.0870034695, 0.995763063, -0.0297720209, -0.0708903968, -0.0236211568, -0.997204423, -0.993682504, 0.0888707936, 0.0685350001 ),
  268. CFrame.new( 0.88205862, -2.28394771, -0.158991903, 0.962387919, -0.0906094611, -0.25612396, 0.0923746079, 0.995710969, -0.0051561296, 0.255492687, -0.0186972022, 0.96663034 ),
  269. CFrame.new( -0.718604803, -1.8551569, -0.690669537, 0.935313463, -0.0801898986, 0.344613433, 0.156749189, 0.96709466, -0.200393736, -0.317204297, 0.241448835, 0.91710633 )}
  270. return frames[fr]
  271. end
  272. function clerp(a, b, t)
  273. return a:lerp(b, t)
  274. end
  275. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  276. NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  277. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  278. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  279. local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  280. local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  281. RootJoint.C1 = CFrame.new(0, 0, 0)
  282. RootJoint.C0 = CFrame.new(0, 0, 0)
  283. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  284. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  285. local rarmc1 = RW.C1
  286. local larmc1 = LW.C1
  287. local rlegc1 = RH.C1
  288. local llegc1 = LH.C1
  289. local resetc1 = false
  290. function PPR(table, speed, bool)
  291. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  292. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  293. RW.C0 = clerp(RW.C0, table[3], speed)
  294. LW.C0 = clerp(LW.C0, table[4], speed)
  295. RH.C0 = clerp(RH.C0, table[5], speed)
  296. LH.C0 = clerp(LH.C0, table[6], speed)
  297. if bool == true and resetc1 == false then
  298. resetc1 = true
  299. RootJoint.C1 = RootJoint.C1
  300. Torso.Neck.C1 = Torso.Neck.C1
  301. RW.C1 = rarmc1
  302. LW.C1 = larmc1
  303. RH.C1 = rlegc1
  304. LH.C1 = llegc1
  305. end
  306. end
  307. local co1 = 10
  308. local co2 = 15
  309. local co3 = 30
  310. local co4 = 45
  311. local cooldown1 = 0
  312. local cooldown2 = 0
  313. local cooldown3 = 0
  314. local cooldown4 = 0
  315. local skillcolorscheme = BrickColor.new("Black").Color
  316. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  317. function makeframe(par, trans, pos, size, color)
  318. local frame = Instance.new("Frame", par)
  319. frame.BackgroundTransparency = trans
  320. frame.BorderSizePixel = 0
  321. frame.Position = pos
  322. frame.Size = size
  323. frame.BackgroundColor3 = color
  324. return frame
  325. end
  326. function makelabel(par, text)
  327. local label = Instance.new("TextLabel", par)
  328. label.BackgroundTransparency = 1
  329. label.Size = UDim2.new(1, 0, 1, 0)
  330. label.Position = UDim2.new(0, 0, 0, 0)
  331. label.TextColor3 = Color3.new(255, 255, 255)
  332. label.TextStrokeTransparency = 0
  333. label.FontSize = Enum.FontSize.Size32
  334. label.Font = Enum.Font.Legacy
  335. label.BorderSizePixel = 0
  336. label.TextScaled = true
  337. label.Text = text
  338. end
  339. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  340. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  341. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  342. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  343. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  344. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  345. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  346. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  347. text1 = Instance.new("TextLabel", framesk1)
  348. text1.BackgroundTransparency = 1
  349. text1.Size = UDim2.new(1, 0, 1, 0)
  350. text1.Position = UDim2.new(0, 0, 0, 0)
  351. text1.TextColor3 = Color3.new(255, 255, 255)
  352. text1.TextStrokeTransparency = 0
  353. text1.FontSize = Enum.FontSize.Size18
  354. text1.Font = Enum.Font.Legacy
  355. text1.BorderSizePixel = 0
  356. text1.TextScaled = true
  357. text1.Text = [[
  358. [Z]
  359. Nightmare Fang]]
  360. text2 = Instance.new("TextLabel", framesk2)
  361. text2.BackgroundTransparency = 1
  362. text2.Size = UDim2.new(1, 0, 1, 0)
  363. text2.Position = UDim2.new(0, 0, 0, 0)
  364. text2.TextColor3 = Color3.new(255, 255, 255)
  365. text2.TextStrokeTransparency = 0
  366. text2.FontSize = Enum.FontSize.Size18
  367. text2.Font = Enum.Font.Legacy
  368. text2.BorderSizePixel = 0
  369. text2.TextScaled = true
  370. text2.Text = [[
  371. [X]
  372. Corruption Assault]]
  373. text3 = Instance.new("TextLabel", framesk3)
  374. text3.BackgroundTransparency = 1
  375. text3.Size = UDim2.new(1, 0, 1, 0)
  376. text3.Position = UDim2.new(0, 0, 0, 0)
  377. text3.TextColor3 = Color3.new(255, 255, 255)
  378. text3.TextStrokeTransparency = 0
  379. text3.FontSize = Enum.FontSize.Size18
  380. text3.Font = Enum.Font.Legacy
  381. text3.BorderSizePixel = 0
  382. text3.TextScaled = false
  383. text3.Text = [[
  384. [C]
  385. Consuming Chaos]]
  386. text4 = Instance.new("TextLabel", framesk4)
  387. text4.BackgroundTransparency = 1
  388. text4.Size = UDim2.new(1, 0, 1, 0)
  389. text4.Position = UDim2.new(0, 0, 0, 0)
  390. text4.TextColor3 = Color3.new(255, 255, 255)
  391. text4.TextStrokeTransparency = 0
  392. text4.FontSize = Enum.FontSize.Size18
  393. text4.Font = Enum.Font.Legacy
  394. text4.BorderSizePixel = 0
  395. text4.TextScaled = true
  396. text4.Text = [[
  397. [V]
  398. Carnage Renegade]]
  399. ArtificialHB = Instance.new("BindableEvent", Player.PlayerGui)
  400. ArtificialHB.Name = "Heartbeat"
  401. Player.PlayerGui:WaitForChild("Heartbeat")
  402. frame = 0.03333333333333333
  403. tf = 0
  404. allowframeloss = false
  405. tossremainder = false
  406. lastframe = tick()
  407. Player.PlayerGui.Heartbeat:Fire()
  408. local gg = false
  409. game:GetService("RunService").Heartbeat:connect(function(s, p)
  410. if Player.PlayerGui:FindFirstChild("Heartbeat") == nil then
  411. gg = true
  412. end
  413. if gg == true then
  414. return
  415. end
  416. tf = tf + s
  417. if tf >= frame then
  418. if allowframeloss then
  419. Player.PlayerGui.Heartbeat:Fire()
  420. lastframe = tick()
  421. else
  422. for i = 1, math.floor(tf / frame) do
  423. Player.PlayerGui.Heartbeat:Fire()
  424. end
  425. lastframe = tick()
  426. end
  427. if tossremainder then
  428. tf = 0
  429. else
  430. tf = tf - frame * math.floor(tf / frame)
  431. end
  432. end
  433. end)
  434. function swait(num)
  435. if num == 0 or num == nil then
  436. ArtificialHB.Event:wait()
  437. else
  438. for i = 0, num do
  439. ArtificialHB.Event:wait()
  440. end
  441. end
  442. end
  443. o1 = System.Create("ParticleEmitter",{
  444. ["Name"] = "Black",
  445. ["Parent"] = script,
  446. ["Transparency"] = NumberSequence.new(0.70624995231628,0.83749997615814),
  447. ["Rotation"] = NumberRange.new(0,500),
  448. ["Size"] = NumberSequence.new(0,5.375),
  449. ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0),Color3.new(0, 0, 0)),
  450. ["Texture"] = "rbxassetid://242488057",
  451. ["ZOffset"] = -1,
  452. ["Lifetime"] = NumberRange.new(1,1),
  453. ["Rate"] = 100,
  454. ["RotSpeed"] = NumberRange.new(60,60),
  455. ["Speed"] = NumberRange.new(0,0),
  456. })
  457. o2 = System.Create("ParticleEmitter",{
  458. ["Name"] = "voidfog",
  459. ["Parent"] = script,
  460. ["Transparency"] = NumberSequence.new(0,1),
  461. ["Rotation"] = NumberRange.new(0,500),
  462. ["Size"] = NumberSequence.new(4.8125,10),
  463. ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.541176, 0.156863, 0.701961)),
  464. ["Texture"] = "rbxassetid://289665041",
  465. ["ZOffset"] = -1,
  466. ["Lifetime"] = NumberRange.new(1,1),
  467. ["Rate"] = 200,
  468. ["RotSpeed"] = NumberRange.new(60,60),
  469. ["Speed"] = NumberRange.new(0,0),
  470. })
  471. local black = script.Black--game.ReplicatedStorage.Black:Clone()
  472. local voidfog = script.voidfog--game.ReplicatedStorage.voidfog:Clone()
  473. black.Enabled=false
  474. voidfog.Enabled=false
  475. local RbxUtility = LoadLibrary("RbxUtility")
  476. local Create = RbxUtility.Create
  477. function RemoveOutlines(part)
  478. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  479. end
  480. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  481. local Part = Create("Part")({
  482. Parent = Parent,
  483. Reflectance = Reflectance,
  484. Transparency = Transparency,
  485. CanCollide = false,
  486. Locked = true,
  487. BrickColor = BrickColor.new(tostring(BColor)),
  488. Name = Name,
  489. Size = Size,
  490. Material = Material
  491. })
  492. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  493. RemoveOutlines(Part)
  494. return Part
  495. end
  496. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  497. local Msh = Create(Mesh)({
  498. Parent = Part,
  499. Offset = OffSet,
  500. Scale = Scale
  501. })
  502. if Mesh == "SpecialMesh" then
  503. Msh.MeshType = MeshType
  504. Msh.MeshId = MeshId
  505. end
  506. return Msh
  507. end
  508. function CreateWeld(Parent, Part0, Part1, C0, C1)
  509. local Weld = Create("Weld")({
  510. Parent = Parent,
  511. Part0 = Part0,
  512. Part1 = Part1,
  513. C0 = C0,
  514. C1 = C1
  515. })
  516. return Weld
  517. end
  518. CFuncs = {
  519. Part = {
  520. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  521. local Part = Create("Part")({
  522. Parent = Parent,
  523. Reflectance = Reflectance,
  524. Transparency = Transparency,
  525. CanCollide = false,
  526. Locked = true,
  527. BrickColor = BrickColor.new(tostring(BColor)),
  528. Name = Name,
  529. Size = Size,
  530. Material = Material
  531. })
  532. RemoveOutlines(Part)
  533. return Part
  534. end
  535. },
  536. Mesh = {
  537. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  538. local Msh = Create(Mesh)({
  539. Parent = Part,
  540. Offset = OffSet,
  541. Scale = Scale
  542. })
  543. if Mesh == "SpecialMesh" then
  544. Msh.MeshType = MeshType
  545. Msh.MeshId = MeshId
  546. end
  547. return Msh
  548. end
  549. },
  550. Weld = {
  551. Create = function(Parent, Part0, Part1, C0, C1)
  552. local Weld = Create("Weld")({
  553. Parent = Parent,
  554. Part0 = Part0,
  555. Part1 = Part1,
  556. C0 = C0,
  557. C1 = C1
  558. })
  559. return Weld
  560. end
  561. },
  562. Sound = {
  563. Create = function(id, par, vol, pit)
  564. coroutine.resume(coroutine.create(function()
  565. local S = Create("Sound")({
  566. Volume = vol,
  567. Pitch = pit or 1,
  568. SoundId = "rbxassetid://" .. id,
  569. Parent = par or workspace
  570. })
  571. wait()
  572. S:play()
  573. game:GetService("Debris"):AddItem(S, 6)
  574. end))
  575. end
  576. },
  577. ParticleEmitter = {
  578. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  579. local fp = Create("ParticleEmitter")({
  580. Parent = Parent,
  581. Color = ColorSequence.new(Color1, Color2),
  582. LightEmission = LightEmission,
  583. Size = Size,
  584. Texture = Texture,
  585. Transparency = Transparency,
  586. ZOffset = ZOffset,
  587. Acceleration = Accel,
  588. Drag = Drag,
  589. LockedToPart = LockedToPart,
  590. VelocityInheritance = VelocityInheritance,
  591. EmissionDirection = EmissionDirection,
  592. Enabled = Enabled,
  593. Lifetime = LifeTime,
  594. Rate = Rate,
  595. Rotation = Rotation,
  596. RotSpeed = RotSpeed,
  597. Speed = Speed,
  598. VelocitySpread = VelocitySpread
  599. })
  600. return fp
  601. end
  602. },
  603. CreateTemplate = {}
  604. }
  605. function rayCast(Position, Direction, Range, Ignore)
  606. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  607. end
  608. function FindNearestTorso(pos)
  609. local list = game.Workspace:children()
  610. local torso
  611. local dist = 1000
  612. local temp, human, temp2
  613. for x = 1, #list do
  614. temp2 = list[x]
  615. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  616. temp = temp2:findFirstChild("Torso")
  617. human = temp2:findFirstChild("Humanoid")
  618. if temp ~= nil and human ~= nil and human.Health > 0 and dist > temp.Position - pos.magnitude then
  619. local dohit = true
  620. if dohit == true then
  621. torso = temp
  622. dist = temp.Position - pos.magnitude
  623. end
  624. end
  625. end
  626. end
  627. return torso, dist
  628. end
  629. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  630. if hit.Parent == nil then
  631. return
  632. end
  633. local h = hit.Parent:FindFirstChild("Humanoid")
  634. for _, v in pairs(hit.Parent:children()) do
  635. if v:IsA("Humanoid") then
  636. h = v
  637. end
  638. end
  639. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  640. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  641. return
  642. end
  643. local c = Create("ObjectValue")({
  644. Name = "creator",
  645. Value = game:service("Players").LocalPlayer,
  646. Parent = h
  647. })
  648. game:GetService("Debris"):AddItem(c, 0.5)
  649. if HitSound ~= nil and HitPitch ~= nil then
  650. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  651. end
  652. local Damage = math.random(minim, maxim)
  653. local blocked = false
  654. local block = hit.Parent:findFirstChild("Block")
  655. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  656. blocked = true
  657. block.Value = block.Value - 1
  658. print(block.Value)
  659. end
  660. if blocked == false then
  661. HitHealth = h.Health
  662. h.Health = h.Health - Damage
  663. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  664. print("gained spree")
  665. game.Players.LocalPlayer:FindFirstChild("leaderstats").Spree.Value = game.Players.LocalPlayer.leaderstats.Spree.Value + 1
  666. end
  667. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  668. else
  669. h.Health = h.Health - Damage / 2
  670. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  671. end
  672. if Type == "Knockdown" then
  673. local hum = hit.Parent.Humanoid
  674. hum.PlatformStand = true
  675. coroutine.resume(coroutine.create(function(HHumanoid)
  676. swait(1)
  677. HHumanoid.PlatformStand = false
  678. end), hum)
  679. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  680. local bodvol = Create("BodyVelocity")({
  681. velocity = angle * knockback,
  682. P = 5000,
  683. maxForce = Vector3.new(8000, 8000, 8000),
  684. Parent = hit
  685. })
  686. local rl = Create("BodyAngularVelocity")({
  687. P = 3000,
  688. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  689. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  690. Parent = hit
  691. })
  692. game:GetService("Debris"):AddItem(bodvol, 0.5)
  693. game:GetService("Debris"):AddItem(rl, 0.5)
  694. elseif Type == "Normal" then
  695. local vp = Create("BodyVelocity")({
  696. P = 500,
  697. maxForce = Vector3.new(math.huge, 0, math.huge),
  698. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  699. })
  700. if knockback > 0 then
  701. vp.Parent = hit.Parent.Torso
  702. end
  703. game:GetService("Debris"):AddItem(vp, 0.5)
  704. elseif Type == "Up" then
  705. local bodyVelocity = Create("BodyVelocity")({
  706. velocity = Vector3.new(0, 20, 0),
  707. P = 5000,
  708. maxForce = Vector3.new(8000, 8000, 8000),
  709. Parent = hit
  710. })
  711. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  712. local bodyVelocity = Create("BodyVelocity")({
  713. velocity = Vector3.new(0, 20, 0),
  714. P = 5000,
  715. maxForce = Vector3.new(8000, 8000, 8000),
  716. Parent = hit
  717. })
  718. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  719. elseif Type == "Leech" then
  720. local hum = hit.Parent.Humanoid
  721. if hum ~= nil then
  722. for i = 0, 2 do
  723. Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  724. end
  725. Humanoid.Health = Humanoid.Health + 10
  726. end
  727. elseif Type == "UpKnock" then
  728. local hum = hit.Parent.Humanoid
  729. hum.PlatformStand = true
  730. if hum ~= nil then
  731. hitr = true
  732. end
  733. coroutine.resume(coroutine.create(function(HHumanoid)
  734. swait(5)
  735. HHumanoid.PlatformStand = false
  736. hitr = false
  737. end), hum)
  738. local bodyVelocity = Create("BodyVelocity")({
  739. velocity = Vector3.new(0, 20, 0),
  740. P = 5000,
  741. maxForce = Vector3.new(8000, 8000, 8000),
  742. Parent = hit
  743. })
  744. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  745. local bodyVelocity = Create("BodyVelocity")({
  746. velocity = Vector3.new(0, 20, 0),
  747. P = 5000,
  748. maxForce = Vector3.new(8000, 8000, 8000),
  749. Parent = hit
  750. })
  751. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  752. elseif Type == "Snare" then
  753. local bp = Create("BodyPosition")({
  754. P = 2000,
  755. D = 100,
  756. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  757. position = hit.Parent.Torso.Position,
  758. Parent = hit.Parent.Torso
  759. })
  760. game:GetService("Debris"):AddItem(bp, 1)
  761. elseif Type == "Slashnare" then
  762. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15, 15, 15, 3, 3, 3, 0.07)
  763. for i = 1, math.random(4, 5) do
  764. Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  765. end
  766. local bp = Create("BodyPosition")({
  767. P = 2000,
  768. D = 100,
  769. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  770. position = hit.Parent.Torso.Position,
  771. Parent = hit.Parent.Torso
  772. })
  773. game:GetService("Debris"):AddItem(bp, 1)
  774. elseif Type == "Spike" then
  775. CreateBigIceSword(hit.Parent.Torso.CFrame)
  776. local bp = Create("BodyPosition")({
  777. P = 2000,
  778. D = 100,
  779. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  780. position = hit.Parent.Torso.Position,
  781. Parent = hit.Parent.Torso
  782. })
  783. game:GetService("Debris"):AddItem(bp, 1)
  784. elseif Type == "Freeze" then
  785. local BodPos = Create("BodyPosition")({
  786. P = 50000,
  787. D = 1000,
  788. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  789. position = hit.Parent.Torso.Position,
  790. Parent = hit.Parent.Torso
  791. })
  792. local BodGy = Create("BodyGyro")({
  793. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  794. P = 20000,
  795. Parent = hit.Parent.Torso,
  796. cframe = hit.Parent.Torso.CFrame
  797. })
  798. hit.Parent.Torso.Anchored = true
  799. coroutine.resume(coroutine.create(function(Part)
  800. swait(1.5)
  801. Part.Anchored = false
  802. end), hit.Parent.Torso)
  803. game:GetService("Debris"):AddItem(BodPos, 3)
  804. game:GetService("Debris"):AddItem(BodGy, 3)
  805. end
  806. local debounce = Create("BoolValue")({
  807. Name = "DebounceHit",
  808. Parent = hit.Parent,
  809. Value = true
  810. })
  811. game:GetService("Debris"):AddItem(debounce, Delay)
  812. c = Instance.new("ObjectValue")
  813. c.Name = "creator"
  814. c.Value = Player
  815. c.Parent = h
  816. game:GetService("Debris"):AddItem(c, 0.5)
  817. end
  818. end
  819. function ShowDamage(Pos, Text, Time, Color)
  820. local Rate = 0.03333333333333333
  821. local Pos = Pos or Vector3.new(0, 0, 0)
  822. local Text = Text or ""
  823. local Time = Time or 2
  824. local Color = Color or Color3.new(1, 0, 1)
  825. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  826. EffectPart.Anchored = true
  827. local BillboardGui = Create("BillboardGui")({
  828. Size = UDim2.new(3, 0, 3, 0),
  829. Adornee = EffectPart,
  830. Parent = EffectPart
  831. })
  832. local TextLabel = Create("TextLabel")({
  833. BackgroundTransparency = 1,
  834. Size = UDim2.new(1, 0, 1, 0),
  835. Text = Text,
  836. TextColor3 = Color,
  837. TextScaled = true,
  838. Font = Enum.Font.ArialBold,
  839. Parent = BillboardGui
  840. })
  841. game.Debris:AddItem(EffectPart, Time + 0.1)
  842. EffectPart.Parent = game:GetService("Workspace")
  843. delay(0, function()
  844. local Frames = Time / Rate
  845. for Frame = 1, Frames do
  846. wait(Rate)
  847. local Percent = Frame / Frames
  848. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  849. TextLabel.TextTransparency = Percent
  850. end
  851. if EffectPart and EffectPart.Parent then
  852. EffectPart:Destroy()
  853. end
  854. end)
  855. end
  856. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  857. for _, c in pairs(workspace:children()) do
  858. local hum = c:findFirstChild("Humanoid")
  859. if hum ~= nil then
  860. local head = c:findFirstChild("Torso")
  861. if head ~= nil then
  862. local targ = head.Position - Part.Position
  863. local mag = targ.magnitude
  864. if magni >= mag and c.Name ~= Player.Name then
  865. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  866. end
  867. end
  868. end
  869. end
  870. end
  871. Handle = CreatePart(m, Enum.Material.SmoothPlastic, 0.10000000149012, 1, "Black", "Handle", Vector3.new(0.200000003, 1.99000025, 0.200000003))
  872. HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.03390694, -0.0378913879, 0.0423927307, 0.00537800649, -0.999863446, 0.0157010239, -0.00524299731, -0.0157292262, -0.999863803, 0.999973059, 0.00529494602, -0.00532687688))
  873. CreateMesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1))
  874. FakeHandle = CreatePart(m, Enum.Material.SmoothPlastic, 0.10000000149012, 0, "Black", "FakeHandle", Vector3.new(0.200000003, 1.99000025, 0.200000003))
  875. FakeHandleWeld = CreateWeld(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
  876. CreateMesh("CylinderMesh", FakeHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1))
  877. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
  878. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00539779663, 1.51061726, 6.02937508, 4.73624095E-6, 1.32070854E-5, 1.0000025, -0.947007656, -0.321219057, 8.72137025E-6, 0.321219087, -0.947007537, 1.09686516E-5))
  879. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  880. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
  881. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00527191162, -1.17340946, 7.33201027, 4.73624095E-6, 1.32070854E-5, 1.0000025, -0.999759614, 0.0220478512, 4.44427133E-6, -0.0220478605, -0.999759436, 1.32904388E-5))
  882. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.550000012, 1, 0.550000012))
  883. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
  884. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00539398193, -1.05569959, 6.98459435, 4.73624095E-6, 1.32070854E-5, 1.0000025, -0.999759614, 0.0220478512, 4.44427133E-6, -0.0220478605, -0.999759436, 1.32904388E-5))
  885. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  886. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
  887. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0053062439, -1.0411427, 7.68503571, 4.73624095E-6, 1.32070854E-5, 1.0000025, -0.999759614, 0.0220478512, 4.44427133E-6, -0.0220478605, -0.999759436, 1.32904388E-5))
  888. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  889. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
  890. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.16950607, -1.01756752, 4.80578327, 5.26593067E-6, -0.70710361, 0.707113385, -0.999759555, 0.015586785, 0.0155940205, -0.0220481604, -0.706941605, -0.70693171))
  891. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  892. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
  893. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00539398193, -0.822984934, 6.42893028, 4.73624095E-6, 1.32070854E-5, 1.0000025, -0.999759614, 0.0220478512, 4.44427133E-6, -0.0220478605, -0.999759436, 1.32904388E-5))
  894. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  895. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
  896. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00539398193, -2.3565917, 6.26401329, 4.73624095E-6, 1.32070854E-5, 1.0000025, -0.959987104, 0.280053258, 8.53091478E-7, -0.280053318, -0.959987104, 1.39866024E-5))
  897. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  898. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  899. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00124740601, -3.66927147, 0.0115699768, -1.00000262, -1.00008583E-6, -5.58793545E-9, 1.00036414E-6, -1.0000025, -2.00234354E-8, -5.58793545E-9, -9.31322575E-10, 1.0000025))
  900. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.300000012, 0.200000003))
  901. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
  902. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.19817162, -1.01794434, 4.81945038, 1.71642751E-6, 0.707115293, 0.707101882, -0.999759674, 0.0155910924, -0.0155889587, -0.0220476296, -0.706930101, 0.706943393))
  903. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  904. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
  905. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.19822502, -1.03336644, 5.51928711, 1.71642751E-6, 0.707115293, 0.707101882, -0.999759674, 0.0155910924, -0.0155889587, -0.0220476296, -0.706930101, 0.706943393))
  906. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  907. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
  908. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.3161087, -0.903581858, -0.36473465, 2.32301318E-7, -1.0000025, 2.97930092E-6, -0.999759674, -1.62021024E-7, 0.0220473688, -0.0220473688, -3.00398096E-6, -0.999759436))
  909. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  910. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
  911. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.16950226, -1.03307593, 5.50552177, 5.26593067E-6, -0.70710361, 0.707113385, -0.999759555, 0.015586785, 0.0155940205, -0.0220481604, -0.706941605, -0.70693171))
  912. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  913. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(1, 1.01999998, 1))
  914. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00271224976, 1.43500328, 6.71141815, -2.78232619E-6, -1.01770274E-5, -1.00000238, 0.705434084, -0.708779156, 5.23310155E-6, -0.708780169, -0.705434978, 9.13836266E-6))
  915. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.550000012, 1, 0.550000012))
  916. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
  917. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.3161087, -0.919006348, 0.335067749, 2.32301318E-7, -1.0000025, 2.97930092E-6, -0.999759674, -1.62021024E-7, 0.0220473688, -0.0220473688, -3.00398096E-6, -0.999759436))
  918. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  919. Hitbox = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Black", "Hitbox", Vector3.new(4.51999998, 5.11000013, 0.399999976))
  920. HitboxWeld = CreateWeld(m, FakeHandle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.03408241, 5.36113167, 0.0493354797, -0.860079408, 0.508478522, 0.0414839722, -0.508484244, -0.861003876, 0.0111955004, 0.0414102674, -0.0114648659, 0.99908036))
  921. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.560000002, 0.309999973, 0.550000012))
  922. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.128227711, -0.0119895935, -6.39540863, 0.999727249, 0.0210220404, 0.0104350243, 0.0104321279, 2.47409102E-4, -0.999948084, -0.0210234765, 0.999781609, 2.80560926E-5))
  923. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  924. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.310000002, 0.779999971, 0.350000024))
  925. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.81469727E-6, 0.594301224, 0.0104751587, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
  926. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  927. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.370000005, 0.200000003, 0.350000024))
  928. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.41074371E-6, 0.659021378, 0.0104751587, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
  929. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  930. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.5, 0.200000003, 0.350000024))
  931. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.33786011E-6, 3.25786209, 0.010471344, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
  932. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  933. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.289999992, 0.200000003, 0.350000024))
  934. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.74181366E-6, 3.33307076, 0.0104751587, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
  935. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  936. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.10000000149012, 0, "Black", "Part", Vector3.new(0.200000003, 7.42000008, 0.200000003))
  937. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.31130219E-6, -2.71500778, -0.0460586548, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
  938. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1))
  939. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.729999959, 0.200000003))
  940. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.52357054, -6.12787247, 0.0104598999, 0.916810095, -0.399330229, 7.1991235E-7, 0.399330258, 0.916809976, -2.74879858E-6, 4.38652933E-7, 2.82702968E-6, 1.0000025))
  941. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  942. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.10000000149012, 0, "Really black", "Part", Vector3.new(0.200000003, 7.42000008, 0.200000003))
  943. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.1920929E-6, -2.71500587, 0.0104751587, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
  944. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.5))
  945. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.729999959, 0.239999995))
  946. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.59473228, -6.09814835, 0.0104637146, 0.911903381, 0.410411119, -1.4170073E-6, -0.410411149, 0.911903322, -1.70012936E-6, 5.95580786E-7, 2.15135515E-6, 1.0000025))
  947. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  948. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.310000002, 0.779999971, 0.350000024))
  949. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.38418579E-6, -6.10501289, 0.0104751587, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
  950. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  951. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1, 1.24000001, 1))
  952. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.30716515, -0.387057304, 0.0104637146, 0.190524682, 0.981684983, -1.6624108E-6, -0.981685102, 0.190524623, -1.58930197E-6, -1.24238431E-6, 1.95298344E-6, 1.00000238))
  953. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.899999976))
  954. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1, 1.16999996, 1))
  955. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.32094574, -0.0780655146, 0.0104598999, 0.0220447183, 0.999759555, -1.81468204E-6, -0.999759674, 0.0220447183, -1.72108412E-6, -1.68057159E-6, 1.87195837E-6, 1.0000025))
  956. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  957. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1, 1.25, 1))
  958. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.0494957, -1.09056282, 0.0104675293, 0.516238034, 0.856448054, 3.89991328E-8, -0.856448054, 0.516238093, -4.39397991E-6, -3.78349796E-6, 2.25333497E-6, 1.0000025))
  959. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000012))
  960. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1, 1.16999996, 1))
  961. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.21307945, -0.478541851, 0.0104637146, 0.318955004, 0.947772443, -2.1609012E-6, -0.947772503, 0.318954974, -2.60910019E-6, -1.78301707E-6, 2.89874151E-6, 1.0000025))
  962. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.850000024))
  963. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.289999992, 0.200000003, 0.350000024))
  964. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.33786011E-6, 3.25786209, 0.010471344, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
  965. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  966. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.370000005, 0.200000003, 0.350000024))
  967. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.93390656E-6, 0.932256699, 0.0104751587, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
  968. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  969. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.10000000149012, 0, "Really black", "Part", Vector3.new(0.200000003, 2.72000027, 0.200000003))
  970. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.38418579E-7, 2.02774811, 0.0104751587, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
  971. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.29999995))
  972. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.439999998, 0.319999963, 0.550000012))
  973. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.128227711, -0.0119895935, -6.39540863, 0.999727249, 0.0210220404, 0.0104350243, 0.0104321279, 2.47409102E-4, -0.999948084, -0.0210234765, 0.999781609, 2.80560926E-5))
  974. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  975. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.840000033, 1.01999998, 1))
  976. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.32094765, 0.0104598999, -0.0780653358, -0.0220447201, -0.999759853, 1.81421638E-6, -1.68103725E-6, 1.8728897E-6, 1.00000226, -0.999759853, 0.022044722, -1.72108412E-6))
  977. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  978. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.370000005, 0.200000003, 0.350000024))
  979. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.81469727E-6, 0.715686798, 0.0104751587, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
  980. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  981. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.10000000149012, 0, "Black", "Part", Vector3.new(0.200000003, 7.42000008, 0.200000003))
  982. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.78813934E-6, -2.71500778, 0.0653190613, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
  983. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1))
  984. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1, 1.00999999, 1))
  985. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.32094765, 0.0104598999, -0.0780653358, -0.0220447201, -0.999759853, 1.81421638E-6, -1.68103725E-6, 1.8728897E-6, 1.00000226, -0.999759853, 0.022044722, -1.72108412E-6))
  986. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  987. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.670000017, 1.02999997, 0.710000038))
  988. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.32094765, 0.0104598999, -0.0780653358, -0.0220447201, -0.999759853, 1.81421638E-6, -1.68103725E-6, 1.8728897E-6, 1.00000226, -0.999759853, 0.022044722, -1.72108412E-6))
  989. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  990. EffectModel = Instance.new("Model", Character)
  991. EffectModel.Name = "Effects"
  992. function CreateBigIceSword(BaseCFrame)
  993. local basepart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BasePart", Vector3.new(1, 1, 1))
  994. basepart.Anchored = true
  995. game:GetService("Debris"):AddItem(basepart, 0.2)
  996. local icepart = CreatePart(workspace, "SmoothPlastic", 0, 0, BrickColor.new("Really black"), "IceSword", Vector3.new(2, 10, 2))
  997. icepart.CanCollide = true
  998. icepart.Anchored = true
  999. local icemesh = CreateMesh("SpecialMesh", icepart, "FileMesh", "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(2, 10, 2))
  1000. local con = icepart.Touched:connect(function(hit)
  1001. end)
  1002. basepart.CFrame = BaseCFrame
  1003. icepart.CFrame = basepart.CFrame * cn(0, -10, 0)
  1004. coroutine.resume(coroutine.create(function(Part)
  1005. for i = 0, 3, 0.2 do
  1006. swait()
  1007. Part.CFrame = Part.CFrame * cn(0, 0.8, 0)
  1008. end
  1009. wait(1)
  1010. Effects.Block.Create(BrickColor.new("Really black"), Part.CFrame, 5, 5, 5, 5, 5, 5, 0.07)
  1011. Part.Parent = nil
  1012. end), icepart)
  1013. end
  1014. Effects = {
  1015. Block = {
  1016. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1017. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1018. prt.Anchored = true
  1019. prt.CFrame = cframe
  1020. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1021. game:GetService("Debris"):AddItem(prt, 10)
  1022. if Type == 1 or Type == nil then
  1023. table.insert(Effects, {
  1024. prt,
  1025. "Block1",
  1026. delay,
  1027. x3,
  1028. y3,
  1029. z3,
  1030. msh
  1031. })
  1032. elseif Type == 2 then
  1033. table.insert(Effects, {
  1034. prt,
  1035. "Block2",
  1036. delay,
  1037. x3,
  1038. y3,
  1039. z3,
  1040. msh
  1041. })
  1042. end
  1043. end
  1044. },
  1045. Cylinder = {
  1046. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1047. local prt = CFuncs.Part .. Create(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  1048. prt.Anchored = true
  1049. prt.CFrame = cframe
  1050. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1051. game:GetService("Debris"):AddItem(prt, 2)
  1052. Effects[#Effects + 1] = {
  1053. prt,
  1054. "Cylinder",
  1055. delay,
  1056. x3,
  1057. y3,
  1058. z3
  1059. }
  1060. end
  1061. },
  1062. Head = {
  1063. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1064. local prt = CFuncs.Part .. Create(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1065. prt.Anchored = true
  1066. prt.CFrame = cframe
  1067. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1068. game:GetService("Debris"):AddItem(prt, 10)
  1069. table.insert(Effects, {
  1070. prt,
  1071. "Cylinder",
  1072. delay,
  1073. x3,
  1074. y3,
  1075. z3,
  1076. msh
  1077. })
  1078. end
  1079. },
  1080. Sphere = {
  1081. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1082. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1083. prt.Anchored = true
  1084. prt.CFrame = cframe
  1085. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1086. game:GetService("Debris"):AddItem(prt, 10)
  1087. table.insert(Effects, {
  1088. prt,
  1089. "Cylinder",
  1090. delay,
  1091. x3,
  1092. y3,
  1093. z3,
  1094. msh
  1095. })
  1096. end
  1097. },
  1098. Elect = {
  1099. Create = function(cff, x, y, z)
  1100. local prt = CFuncs.Part.Create(workspace, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  1101. prt.Anchored = true
  1102. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  1103. prt.CFrame = CFrame.new(prt.Position)
  1104. game:GetService("Debris"):AddItem(prt, 2)
  1105. local xval = math.random() / 2
  1106. local yval = math.random() / 2
  1107. local zval = math.random() / 2
  1108. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  1109. table.insert(Effects, {
  1110. prt,
  1111. "Elec",
  1112. 0.1,
  1113. x,
  1114. y,
  1115. z,
  1116. xval,
  1117. yval,
  1118. zval
  1119. })
  1120. end
  1121. },
  1122. Ring = {
  1123. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1124. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1125. prt.Anchored = true
  1126. prt.CFrame = cframe
  1127. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://559831844", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1128. game:GetService("Debris"):AddItem(prt, 10)
  1129. if Type == 1 or Type == nil then
  1130. table.insert(Effects, {
  1131. prt,
  1132. "Cylinder",
  1133. delay,
  1134. x3,
  1135. y3,
  1136. z3,
  1137. msh
  1138. })
  1139. elseif Type == 2 then
  1140. table.insert(Effects, {
  1141. prt,
  1142. "Cylinder3",
  1143. delay,
  1144. x3,
  1145. y3,
  1146. z3,
  1147. msh
  1148. })
  1149. end
  1150. end
  1151. },
  1152. Wave = {
  1153. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1154. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1155. prt.Anchored = true
  1156. prt.CFrame = cframe
  1157. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1158. game:GetService("Debris"):AddItem(prt, 10)
  1159. table.insert(Effects, {
  1160. prt,
  1161. "Cylinder",
  1162. delay,
  1163. x3,
  1164. y3,
  1165. z3,
  1166. msh
  1167. })
  1168. end
  1169. },
  1170. Break = {
  1171. Create = function(brickcolor, cframe, x1, y1, z1)
  1172. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1173. prt.Anchored = true
  1174. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1175. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1176. local num = math.random(10, 50) / 1000
  1177. game:GetService("Debris"):AddItem(prt, 10)
  1178. table.insert(Effects, {
  1179. prt,
  1180. "Shatter",
  1181. num,
  1182. prt.CFrame,
  1183. math.random() - math.random(),
  1184. 0,
  1185. math.random(50, 100) / 100
  1186. })
  1187. end
  1188. },
  1189. Fire = {
  1190. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  1191. local prt = CFuncs.Part.Create(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1192. prt.Anchored = true
  1193. prt.CFrame = cframe
  1194. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1195. game:GetService("Debris"):AddItem(prt, 10)
  1196. table.insert(Effects, {
  1197. prt,
  1198. "Fire",
  1199. delay,
  1200. 1,
  1201. 1,
  1202. 1,
  1203. msh
  1204. })
  1205. end
  1206. },
  1207. Slash = {
  1208. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1209. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1210. prt.Anchored = true
  1211. prt.CFrame = cframe
  1212. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://662586858", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1213. game:GetService("Debris"):AddItem(prt, 10)
  1214. table.insert(Effects, {
  1215. prt,
  1216. "Cylinder",
  1217. delay,
  1218. x3,
  1219. y3,
  1220. z3,
  1221. msh
  1222. })
  1223. end
  1224. },
  1225. RoundSlash = {
  1226. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1227. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1228. prt.Anchored = true
  1229. prt.CFrame = cframe
  1230. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://662585058", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1231. game:GetService("Debris"):AddItem(prt, 10)
  1232. if Type == 1 or Type == nil then
  1233. table.insert(Effects, {
  1234. prt,
  1235. "Cylinder",
  1236. delay,
  1237. x3,
  1238. y3,
  1239. z3,
  1240. msh
  1241. })
  1242. elseif Type == 2 then
  1243. table.insert(Effects, {
  1244. prt,
  1245. "Cylinder2",
  1246. delay,
  1247. x3,
  1248. y3,
  1249. z3,
  1250. msh
  1251. })
  1252. end
  1253. end
  1254. },
  1255. FireWave = {
  1256. Create = function(brickcolor, cframe, x1, y1, z1)
  1257. local prt = CFuncs.Part.Create(workspace, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  1258. prt.Anchored = true
  1259. prt.CFrame = cframe
  1260. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1261. local d = Instance.new("Decal")
  1262. d.Parent = prt
  1263. d.Texture = "rbxassetid://26356434"
  1264. d.Face = "Top"
  1265. d = Instance.new("Decal")
  1266. d.Parent = prt
  1267. d.Texture = "rbxassetid://26356434"
  1268. d.Face = "Bottom"
  1269. game:GetService("Debris"):AddItem(prt, 10)
  1270. table.insert(Effects, {
  1271. prt,
  1272. "FireWave",
  1273. 1,
  1274. 30,
  1275. math.random(400, 600) / 100,
  1276. msh
  1277. })
  1278. end
  1279. },
  1280. EffectTemplate = {}
  1281. }
  1282. function attackone()
  1283. attack = true
  1284. local con = Hitbox.Touched:connect(function(hit)
  1285. Damagefunc(Hitbox, hit, 7, 14, math.random(1, 5), "Normal", RootPart, 0.3, "588733541", 0.8)
  1286. end)
  1287. for i = 0, 1, 0.1 do
  1288. swait()
  1289. PPR(AnimTable.SharakAttack1.Animation(1), 0.3, false)
  1290. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.3)
  1291. end
  1292. CFuncs.Sound.Create("234365549", RootPart, 1, 1)
  1293. for i = 0, 1, 0.3 do
  1294. swait()
  1295. PPR(AnimTable.SharakAttack1.Animation(2), 0.4, false)
  1296. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(10)), 0.3)
  1297. end
  1298. for i = 0, 1, 0.13 do
  1299. swait()
  1300. PPR(AnimTable.SharakAttack1.Animation(3), 0.3, false)
  1301. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(10)), 0.3)
  1302. end
  1303. con:disconnect()
  1304. attack = false
  1305. end
  1306. function attacktwo()
  1307. attack = true
  1308. local con = Hitbox.Touched:connect(function(hit)
  1309. Damagefunc(Hitbox, hit, 7, 14, math.random(1, 5), "Normal", RootPart, 0.3, "588733541", 0.8)
  1310. end)
  1311. for i = 0, 1, 0.1 do
  1312. swait()
  1313. PPR(AnimTable.SharakAttack2.Animation(1), 0.3, false)
  1314. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  1315. end
  1316. CFuncs.Sound.Create("234365573", RootPart, 1, 1)
  1317. for i = 0, 1, 0.3 do
  1318. swait()
  1319. PPR(AnimTable.SharakAttack2.Animation(2), 0.4, false)
  1320. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  1321. end
  1322. for i = 0, 1, 0.13 do
  1323. swait()
  1324. PPR(AnimTable.SharakAttack2.Animation(3), 0.3, false)
  1325. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  1326. end
  1327. con:disconnect()
  1328. attack = false
  1329. end
  1330. function attackthree()
  1331. attack = true
  1332. local con = Hitbox.Touched:connect(function(hit)
  1333. Damagefunc(Hitbox, hit, 7, 14, math.random(1, 5), "Normal", RootPart, 0.3, "588733541", 0.8)
  1334. end)
  1335. for i = 0, 1, 0.1 do
  1336. swait()
  1337. PPR(AnimTable.SharakAttack3.Animation(1), 0.3, false)
  1338. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-90), math.rad(0), math.rad(-30)), 0.3)
  1339. end
  1340. CFuncs.Sound.Create("234365573", RootPart, 1, 1.3)
  1341. for i = 0, 1, 0.3 do
  1342. swait()
  1343. PPR(AnimTable.SharakAttack3.Animation(2), 0.4, false)
  1344. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-90), math.rad(0), math.rad(0)), 0.3)
  1345. end
  1346. for i = 0, 1, 0.13 do
  1347. swait()
  1348. PPR(AnimTable.SharakAttack3.Animation(3), 0.4, false)
  1349. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-90), math.rad(0), math.rad(-50)), 0.3)
  1350. end
  1351. con:disconnect()
  1352. attack = false
  1353. end
  1354. function attackfour()
  1355. attack = true
  1356. local con = Hitbox.Touched:connect(function(hit)
  1357. Damagefunc(Hitbox, hit, 7, 13, math.random(1, 5), "Normal", RootPart, 0.3, "588733541", 0.8)
  1358. end)
  1359. d = voidfog:Clone()
  1360. d.Parent = Handle
  1361. for i = 0, 1, 0.1 do
  1362. swait()
  1363. PPR(AnimTable.SharakAttack4.Animation(1), 0.3, false)
  1364. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-90), math.rad(0), math.rad(-30)), 0.3)
  1365. end
  1366. d.Enabled = true
  1367. for i = 0, 2 do
  1368. CFuncs.Sound.Create("234365549", RootPart, 1, 1.4)
  1369. for i = 0, 1, 0.1 do
  1370. swait()
  1371. Effects.Block.Create(BrickColor.new("Black"), Hitbox.CFrame * cn(0, 0, 0) * angles(0, 1.47, math.rad(90)), 5, 5, 5, 1, 1, 1, 0.07)
  1372. PPR(AnimTable.SharakAttack4.Animation(2), 0.4, false)
  1373. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0.5) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * i)), 0.5)
  1374. end
  1375. Effects.RoundSlash.Create(BrickColor.new("Black"), Handle.CFrame * cn(0, 0, 0) * angles(0, 1.47, math.rad(90)), 0.07, 1.0E-4, 0.07, 5.0E-4, 0, 5.0E-4, 0.07, 2)
  1376. end
  1377. con:disconnect()
  1378. d.Enabled = false
  1379. game.Debris:AddItem(d, 5)
  1380. attack = false
  1381. end
  1382. function blackbrigade()
  1383. attack = true
  1384. local con = Hitbox.Touched:connect(function(hit)
  1385. Damagefunc(Hitbox, hit, 13, 18, math.random(1, 5), "Leech", RootPart, 0.2, "588733541", 0.8)
  1386. end)
  1387. for i = 0, 1, 0.1 do
  1388. swait()
  1389. PPR(AnimTable.SharakCurse.Animation(1), 0.3, false)
  1390. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-180), math.rad(0), math.rad(0)), 0.3)
  1391. end
  1392. CFuncs.Sound.Create("234365549", RootPart, 1, 0.8)
  1393. for i = 0, 1, 0.2 do
  1394. swait()
  1395. Effects.Block.Create(BrickColor.new("Black"), Hitbox.CFrame * cn(0, 0, 0) * angles(0, 1.47, math.rad(90)), 5, 5, 5, 1, 1, 1, 0.07)
  1396. PPR(AnimTable.SharakCurse.Animation(2), 0.4, false)
  1397. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-180), math.rad(0), math.rad(-40)), 0.5)
  1398. end
  1399. for i = 0, 1, 0.1 do
  1400. swait()
  1401. PPR(AnimTable.SharakCurse.Animation(3), 0.3, false)
  1402. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-180), math.rad(0), math.rad(-40)), 0.3)
  1403. end
  1404. con:disconnect()
  1405. attack = false
  1406. end
  1407. function dragonrush()
  1408. attack = true
  1409. for i = 0, 1, 0.3 do
  1410. swait()
  1411. PPR(AnimTable.SharakRush.Animation(4), 0.3, false)
  1412. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-180), math.rad(0), math.rad(30)), 0.3)
  1413. end
  1414. for i = 0, 1, 0.3 do
  1415. swait()
  1416. PPR(AnimTable.SharakRush.Animation(1), 0.3, false)
  1417. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-180), math.rad(0), math.rad(30)), 0.3)
  1418. end
  1419. Effects.Ring.Create(BrickColor.new("Black"), RootPart.CFrame * cn(0, 0, 0) * angles(0, 0, math.rad(0)), 0.8, 0.8, 0.1, 0.1, 0.1, 0, 0.07)
  1420. CFuncs.Sound.Create("192410077", RootPart, 1, 1.2)
  1421. for i = 1, 5 do
  1422. for i = 0, 1, 0.3 do
  1423. swait()
  1424. Torso.Velocity = RootPart.CFrame.lookVector * 90
  1425. Effects.Block.Create(BrickColor.new("Black"), Hitbox.CFrame * cn(0, 0, 0) * angles(0, 1.47, math.rad(90)), 5, 5, 5, 1, 1, 1, 0.07)
  1426. PPR(AnimTable.SharakRush.Animation(2), 0.4, false)
  1427. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-180), math.rad(0), math.rad(-40)), 0.5)
  1428. end
  1429. end
  1430. Torso.Velocity = RootPart.CFrame.lookVector * 0
  1431. Effects.RoundSlash.Create(BrickColor.new("Black"), Handle.CFrame * cn(0, 0, 0) * angles(0, 1.47, math.rad(90)), 0.07, 1.0E-4, 0.07, 0.001, 0, 0.001, 0.07, 2)
  1432. Effects.Ring.Create(BrickColor.new("Black"), Handle.CFrame * cn(0, 0, 0) * angles(0, 0, math.rad(90)), 0.8, 0.8, 0.1, 0.1, 0.1, 0, 0.07)
  1433. MagniDamage(RootPart, 13, 10, 15, 0, "UpKnock")
  1434. for i = 0, 1, 0.3 do
  1435. swait()
  1436. PPR(AnimTable.SharakAttack2.Animation(3), 0.4, false)
  1437. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  1438. end
  1439. CFuncs.Sound.Create("588693156", RootPart, 1, 0.8)
  1440. if hitr == true then
  1441. for i = 0, 1, 0.13 do
  1442. swait()
  1443. PPR(AnimTable.SharakRush.Animation(5), 0.3, false)
  1444. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(-100)), 0.4)
  1445. end
  1446. for i = 0, 2 do
  1447. swait()
  1448. Effects.Ring.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 0, 0) * angles(math.rad(math.random(-180, 180)), 0, math.rad(math.random(-180, 180))), 2, 2, 0.1, 0.1, 0.1, 0, 0.07)
  1449. end
  1450. for i = 0, 1, 0.3 do
  1451. swait()
  1452. PPR(AnimTable.SharakRush.Animation(6), 0.4, false)
  1453. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(-100)), 0.4)
  1454. end
  1455. CFuncs.Sound.Create("231917863", RootPart, 1, 0.8)
  1456. for i = 0, 2 do
  1457. Effects.Block.Create(BrickColor.new("Really black"), LeftArm.CFrame * cn(0, -1, 0), 1, 1, 1, 5, 5, 5, 0.07)
  1458. end
  1459. MagniDamage(RootPart, 20, 10, 15, 60, "Knockdown")
  1460. Effects.Sphere.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 0, 0), 20, 20, 20, 5, 5, 5, 0.07)
  1461. Effects.Wave.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -2, -2), 1, 1, 1, 1, 0, 1, 0.07)
  1462. for i = 0, 1, 0.13 do
  1463. swait()
  1464. PPR(AnimTable.SharakRush.Animation(7), 0.3, false)
  1465. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(-100)), 0.4)
  1466. end
  1467. else
  1468. for i = 0, 1, 0.13 do
  1469. swait()
  1470. PPR(AnimTable.SharakRush.Animation(5), 0.3, false)
  1471. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(-100)), 0.4)
  1472. end
  1473. end
  1474. attack = false
  1475. end
  1476. function idfk()
  1477. attack = true
  1478. Humanoid.WalkSpeed = 0
  1479. Humanoid.JumpPower = 0
  1480. local orb = CreatePart(Character, "Neon", 0, 0.5, BrickColor.new("Really black"), "Orb", Vector3.new())
  1481. orb.Anchored = true
  1482. local omsh = CreateMesh("SpecialMesh", orb, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1483. orb.CFrame = RootPart.CFrame * cn(0, 1, 7.5)
  1484. local orb2 = CreatePart(Character, "Neon", 0, 0.5, BrickColor.new("Magenta"), "Orb", Vector3.new())
  1485. local deca = Instance.new("Decal", orb2)
  1486. deca.Texture = "rbxassetid://295332790"
  1487. deca.Face = "Front"
  1488. local orb3 = CreatePart(Character, "Neon", 0, 1, BrickColor.new("Magenta"), "Orb", Vector3.new(15, 7, 0.2))
  1489. orb3.Anchored = true
  1490. orb2.Anchored = true
  1491. d = voidfog:Clone()
  1492. d.Parent = orb3
  1493. d.Enabled = true
  1494. local omsh2 = CreateMesh("SpecialMesh", orb2, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1495. orb2.CFrame = RootPart.CFrame * cn(0, 1, 7.6)
  1496. orb3.CFrame = RootPart.CFrame * cn(0, 1, 7.6)
  1497. local orb4 = CreatePart(Character, "SmoothPlastic", 0, 0, BrickColor.new("Really black"), "Orb", Vector3.new())
  1498. orb4.Anchored = true
  1499. local thing = CreatePart(Character, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Orb", Vector3.new(30, 10, 30))
  1500. thing.Anchored = true
  1501. thing.CanCollide = false
  1502. d = voidfog:Clone()
  1503. d.Parent = thing
  1504. d.Enabled = true
  1505. thing.CFrame = RootPart.CFrame * cn(0, -2.9, 0)
  1506. local deca = Instance.new("Decal", orb4)
  1507. deca.Texture = "rbxassetid://469623821"
  1508. deca.Face = "Top"
  1509. local omsh5 = CreateMesh("CylinderMesh", orb4, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1510. orb4.CFrame = RootPart.CFrame * cn(0, -2.9, 0)
  1511. coroutine.resume(coroutine.create(function()
  1512. coroutine.resume(coroutine.create(function()
  1513. for i = 0, 5, 0.5 do
  1514. swait()
  1515. omsh2.Scale = Vector3.new(10 * i, 1, 1)
  1516. end
  1517. for i = 0, 50, 10 do
  1518. swait()
  1519. omsh2.Scale = Vector3.new(50, 1 * i, 1)
  1520. end
  1521. end))
  1522. for i = 0, 10 do
  1523. swait()
  1524. omsh.Scale = Vector3.new(10 * i, 1, 1)
  1525. end
  1526. for i = 0, 50, 10 do
  1527. swait()
  1528. omsh.Scale = Vector3.new(100, 1 * i, 1)
  1529. end
  1530. end))
  1531. CFuncs.Sound.Create("588707901", RootPart, 1, 0.7)
  1532. coroutine.resume(coroutine.create(function()
  1533. for i = 0, 30 do
  1534. swait(1)
  1535. Effects.Block.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(math.random(-15, 15), -2.5, math.random(-15, 15)), 5, 5, 5, 1, 1, 1, 0.08)
  1536. end
  1537. end))
  1538. for i = 0, 1, 0.1 do
  1539. swait()
  1540. PPR(AnimTable.SharakDestroy.Animation(1), 0.3, false)
  1541. end
  1542. MagniDamage(RootPart, 15, 0, 0, 0, "Snare")
  1543. coroutine.resume(coroutine.create(function()
  1544. for i = 0, 15, 0.5 do
  1545. swait()
  1546. omsh5.Scale = Vector3.new(10 * i, 1, 10 * i)
  1547. end
  1548. end))
  1549. coroutine.resume(coroutine.create(function()
  1550. for i = 0, 10 do
  1551. swait(3)
  1552. Effects.RoundSlash.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -3, 0) * angles(math.rad(math.random(0, 90)), 0, math.rad(math.random(0, 90))), 0.15, 1.0E-4, 0.15, -0.005, 0, -0.005, 0.07, 2)
  1553. Effects.Ring.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -3, 0) * angles(math.rad(90), 0, math.rad(0)), 3, 3, 0.1, -0.1, -0.1, 0, 0.07)
  1554. end
  1555. end))
  1556. for i = 0, 1, 0.03 do
  1557. swait()
  1558. PPR(AnimTable.SharakDestroy.Animation(2), 0.1, false)
  1559. end
  1560. for i = 0, 1, 0.1 do
  1561. swait()
  1562. PPR(AnimTable.SharakDestroy.Animation(3), 0.3, false)
  1563. end
  1564. coroutine.resume(coroutine.create(function()
  1565. for i = 0, 1, 0.07 do
  1566. swait()
  1567. omsh5.Scale = Vector3.new(500 * i, 1, 500 * i)
  1568. orb4.Transparency = i
  1569. end
  1570. end))
  1571. CFuncs.Sound.Create("588694789", RootPart, 1, 0.7)
  1572. CFuncs.Sound.Create("324867021", RootPart, 1, 0.8)
  1573. coroutine.resume(coroutine.create(function()
  1574. for i = 0, 5 do
  1575. swait(3)
  1576. Effects.RoundSlash.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -3, 0) * angles(math.rad(math.random(0, 90)), 0, math.rad(math.random(0, 90))), 0.1, 1.0E-4, 0.1, 0.004, 0, 0.004, 0.04, 2)
  1577. end
  1578. end))
  1579. Effects.Sphere.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 0, 0), 70, 70, 70, 6, 6, 6, 0.07)
  1580. MagniDamage(RootPart, 15, 15, 15, 0, "Spike")
  1581. for i = 0, 1, 0.3 do
  1582. swait()
  1583. PPR(AnimTable.SharakDestroy.Animation(4), 0.4, false)
  1584. end
  1585. for i = 0, 1, 0.1 do
  1586. swait()
  1587. PPR(AnimTable.SharakDestroy.Animation(5), 0.3, false)
  1588. end
  1589. orb.Parent = nil
  1590. orb2.Parent = nil
  1591. orb3.Parent = nil
  1592. orb4.Parent = nil
  1593. thing.Parent = nil
  1594. Humanoid.WalkSpeed = 16
  1595. Humanoid.JumpPower = 50
  1596. attack = false
  1597. end
  1598. function zestyult()
  1599. attack = true
  1600. Humanoid.WalkSpeed = 0
  1601. Humanoid.JumpPower = 0
  1602. local orb = CreatePart(Character, "Neon", 0, 0.5, BrickColor.new("Really black"), "Orb", Vector3.new())
  1603. orb.Anchored = true
  1604. local omsh = CreateMesh("SpecialMesh", orb, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1605. orb.CFrame = RootPart.CFrame * cn(0, 0, 0)
  1606. for i = 0, 1, 0.1 do
  1607. swait()
  1608. PPR(AnimTable.SharakUlt.Animation(1), 0.3, false)
  1609. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1610. end
  1611. local thing = CreatePart(Character, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Orb", Vector3.new(30, 1, 30))
  1612. thing.Anchored = true
  1613. thing.CanCollide = false
  1614. d = black:Clone()
  1615. d.Parent = thing
  1616. d.Enabled = true
  1617. thing.CFrame = RootPart.CFrame * cn(0, -2.9, 0)
  1618. local thing2 = CreatePart(Character, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Orb", Vector3.new(30, 1, 30))
  1619. thing2.Anchored = true
  1620. thing2.CanCollide = false
  1621. d = black:Clone()
  1622. d.Parent = thing2
  1623. d.Enabled = true
  1624. thing2.CFrame = RootPart.CFrame * cn(0, -2.9, 0) * angles(0, 1, 0)
  1625. coroutine.resume(coroutine.create(function()
  1626. for i = 0, 10 do
  1627. swait(3)
  1628. Effects.RoundSlash.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -3, 0) * angles(math.rad(math.random(-30, 30)), 0, math.rad(math.random(-30, 30))), 0.17, 1.0E-4, 0.17, 0.005, 0, 0.005, 0.07, 2)
  1629. Effects.Ring.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -3, 0) * angles(math.rad(90), 0, 0), 2.5, 2.5, 0.1, 0.1, 0.1, 0, 0.06, 2)
  1630. end
  1631. end))
  1632. coroutine.resume(coroutine.create(function()
  1633. for i = 0, 15, 0.5 do
  1634. swait()
  1635. omsh.Scale = Vector3.new(10 * i, 10 * i, 10 * i)
  1636. end
  1637. end))
  1638. CFuncs.Sound.Create("588735945", RootPart, 1, 0.7)
  1639. MagniDamage(RootPart, 15, 0, 0, 0, "Freeze")
  1640. for i = 0, 2 do
  1641. for i = 0, 1, 0.05 do
  1642. swait()
  1643. PPR(AnimTable.SharakUlt.Animation(1), 0.3, false)
  1644. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1645. end
  1646. end
  1647. MagniDamage(RootPart, 15, 5, 15, 0, "Knockdown")
  1648. CFuncs.Sound.Create("588736245", RootPart, 1, 0.8)
  1649. Effects.Sphere.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 0, 0), 150, 150, 150, 1, 1, 1, 0.06)
  1650. thing.Parent = nil
  1651. thing2.Parent = nil
  1652. orb.Parent = nil
  1653. for i = 0, 1, 0.1 do
  1654. swait()
  1655. PPR(AnimTable.SharakUlt.Animation(3), 0.3, false)
  1656. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.3)
  1657. end
  1658. Effects.RoundSlash.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 3, 0) * angles(0, 0, math.rad(10)), 0.17, 1.0E-4, 0.17, 0.01, 0, 0.01, 0.07, 2)
  1659. MagniDamage(RootPart, 24, 20, 35, 30, "Knockdown")
  1660. CFuncs.Sound.Create("300916105", RootPart, 1, 0.8)
  1661. for i = 0, 1, 0.3 do
  1662. swait()
  1663. Effects.Block.Create(BrickColor.new("Really black"), Hitbox.CFrame * cn(0, 0, 0) * angles(0, 1.47, math.rad(90)), 5, 5, 5, 1, 1, 1, 0.07)
  1664. PPR(AnimTable.SharakUlt.Animation(4), 0.4, false)
  1665. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.3)
  1666. end
  1667. for i = 0, 1, 0.1 do
  1668. swait()
  1669. PPR(AnimTable.SharakUlt.Animation(5), 0.3, false)
  1670. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.3)
  1671. end
  1672. Humanoid.WalkSpeed = 16
  1673. Humanoid.JumpPower = 50
  1674. attack = false
  1675. end
  1676. mouse.Button1Down:connect(function()
  1677. if attack == false and attacktype == 1 then
  1678. attacktype = 2
  1679. attackone()
  1680. elseif attack == false and attacktype == 2 then
  1681. attacktype = 3
  1682. attacktwo()
  1683. elseif attack == false and attacktype == 3 then
  1684. attacktype = 4
  1685. attackthree()
  1686. elseif attack == false and attacktype == 4 then
  1687. attacktype = 1
  1688. attackfour()
  1689. end
  1690. end)
  1691. mouse.KeyDown:connect(function(k)
  1692. k = k:lower()
  1693. if attack == false and k == "z" and cooldown1 >= co1 then
  1694. cooldown1 = 0
  1695. blackbrigade()
  1696. elseif attack == false and k == "x" and cooldown2 >= co2 then
  1697. cooldown2 = 0
  1698. dragonrush()
  1699. elseif attack == false and k == "c" and cooldown3 >= co3 then
  1700. cooldown3 = 0
  1701. idfk()
  1702. elseif attack == false and k == "v" and cooldown4 >= co4 then
  1703. cooldown4 = 0
  1704. zestyult()
  1705. end
  1706. end)
  1707. function updateskills()
  1708. if cooldown1 <= co1 then
  1709. cooldown1 = co1--cooldown1 + 0.03333333333333333
  1710. end
  1711. if cooldown2 <= co2 then
  1712. cooldown2 = co2--cooldown2 + 0.03333333333333333
  1713. end
  1714. if cooldown3 <= co3 then
  1715. cooldown3 = co3--cooldown3 + 0.03333333333333333
  1716. end
  1717. if cooldown4 <= co4 then
  1718. cooldown4 = co4--cooldown4 + 0.03333333333333333
  1719. end
  1720. end
  1721. while true do
  1722. swait()
  1723. if Humanoid.Health == 0 or Character == nil then
  1724. break
  1725. end
  1726. updateskills()
  1727. bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  1728. bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  1729. bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  1730. bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  1731. for i, v in pairs(Character:GetChildren()) do
  1732. if v:IsA("Part") then
  1733. v.Material = "SmoothPlastic"
  1734. elseif v:IsA("Accessory") then
  1735. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1736. end
  1737. end
  1738. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1739. velocity = RootPart.Velocity.y
  1740. sine = sine + change
  1741. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1742. if equipped == true or equipped == false then
  1743. if RootPart.Velocity.y > 1 and hit == nil then
  1744. Anim = "Jump"
  1745. if attack == false then
  1746. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1747. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1748. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * angles(math.rad(70), math.rad(0), math.rad(40)), 0.3)
  1749. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.3)
  1750. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1751. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  1752. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
  1753. end
  1754. elseif RootPart.Velocity.y < -1 and hit == nil then
  1755. Anim = "Fall"
  1756. if attack == false then
  1757. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1758. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1759. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * angles(math.rad(70), math.rad(0), math.rad(40)), 0.3)
  1760. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  1761. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  1762. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1.8, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1763. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
  1764. end
  1765. elseif Torsovelocity<1 and hit ~= nil then
  1766. Anim = "Idle"
  1767. if attack == false then
  1768. change = 1
  1769. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(40), math.rad(0)), 0.3)
  1770. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(-10), math.rad(-40), math.rad(0)), 0.3)
  1771. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * angles(math.rad(70), math.rad(0), math.rad(40)), 0.3)
  1772. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  1773. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
  1774. LH.C0 = clerp(LH.C0, CFrame.new(-0.7, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  1775. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
  1776. end
  1777. elseif Torsovelocity>2 and hit ~= nil then
  1778. Anim = "Walk"
  1779. if attack == false then
  1780. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1781. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.3)
  1782. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * angles(math.rad(70), math.rad(0), math.rad(40)), 0.3)
  1783. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, -0.2, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  1784. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0 - 0.8 * math.cos(sine / 3)) * angles(math.rad(0 + 50 * math.cos(sine / 3)), math.rad(0), math.rad(0)), 0.3)
  1785. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0 + 0.8 * math.cos(sine / 3)) * angles(math.rad(0 - 50 * math.cos(sine / 3)), math.rad(0), math.rad(0)), 0.3)
  1786. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
  1787. end
  1788. end
  1789. end
  1790. if 0 < #Effects then
  1791. for e = 1, #Effects do
  1792. if Effects[e] ~= nil then
  1793. local Thing = Effects[e]
  1794. if Thing ~= nil then
  1795. local Part = Thing[1]
  1796. local Mode = Thing[2]
  1797. local Delay = Thing[3]
  1798. local IncX = Thing[4]
  1799. local IncY = Thing[5]
  1800. local IncZ = Thing[6]
  1801. if Thing[2] == "Shoot" then
  1802. local Look = Thing[1]
  1803. local move = 30
  1804. if Thing[8] == 3 then
  1805. move = 10
  1806. end
  1807. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  1808. if Thing[10] ~= nil then
  1809. da = pos
  1810. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1811. cfa = CFrame.new(Thing[4], pos)
  1812. tehCF = cfa:lerp(cf2, 0.2)
  1813. Thing[1] = tehCF.lookVector
  1814. end
  1815. local mag = Thing[4] - pos.magnitude
  1816. Effects.Head.Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  1817. if Thing[8] == 2 then
  1818. Effects.Ring.Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
  1819. end
  1820. Thing[4] = Thing[4] + Look * move
  1821. Thing[3] = Thing[3] - 1
  1822. if 2 < Thing[5] then
  1823. Thing[5] = Thing[5] - 0.3
  1824. Thing[6] = Thing[6] - 0.3
  1825. end
  1826. if hit ~= nil then
  1827. Thing[3] = 0
  1828. if Thing[8] == 1 or Thing[8] == 3 then
  1829. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1830. elseif Thing[8] == 2 then
  1831. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1832. if hit.Parent:findFirstChild("Humanoid") ~= nil or hit.Parent.Parent:findFirstChild("Humanoid") ~= nil then
  1833. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1834. ref.Anchored = true
  1835. ref.CFrame = CFrame.new(pos)
  1836. CFuncs.Sound.Create("161006093", ref, 1, 1.2)
  1837. game:GetService("Debris"):AddItem(ref, 0.2)
  1838. Effects.Block.Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
  1839. Effects.Ring.Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
  1840. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  1841. end
  1842. end
  1843. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1844. ref.Anchored = true
  1845. ref.CFrame = CFrame.new(pos)
  1846. Effects.Sphere.Create(Torso.BrickCOlor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  1847. game:GetService("Debris"):AddItem(ref, 1)
  1848. end
  1849. if Thing[3] <= 0 then
  1850. table.remove(Effects, e)
  1851. end
  1852. end
  1853. if Thing[2] == "FireWave" then
  1854. if Thing[3] <= Thing[4] then
  1855. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1856. Thing[3] = Thing[3] + 1
  1857. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1858. else
  1859. Part.Parent = nil
  1860. table.remove(Effects, e)
  1861. end
  1862. end
  1863. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1864. if Thing[1].Transparency <= 1 then
  1865. if Thing[2] == "Block1" then
  1866. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1867. Mesh = Thing[7]
  1868. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1869. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1870. elseif Thing[2] == "Block2" then
  1871. Thing[1].CFrame = Thing[1].CFrame
  1872. Mesh = Thing[7]
  1873. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1874. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1875. elseif Thing[2] == "Fire" then
  1876. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1877. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1878. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1879. elseif Thing[2] == "Cylinder" then
  1880. Mesh = Thing[7]
  1881. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1882. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1883. elseif Thing[2] == "Cylinder2" then
  1884. Thing[1].CFrame = Thing[1].CFrame * angles(0, -0.5, 0)
  1885. Mesh = Thing[1].Mesh
  1886. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1887. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1888. elseif Thing[2] == "Cylinder3" then
  1889. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0, -0.5)
  1890. Mesh = Thing[1].Mesh
  1891. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1892. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1893. elseif Thing[2] == "Blood" then
  1894. Mesh = Thing[7]
  1895. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1896. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1897. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1898. elseif Thing[2] == "Elec" then
  1899. Mesh = Thing[10]
  1900. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1901. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1902. elseif Thing[2] == "Disappear" then
  1903. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1904. end
  1905. else
  1906. Part.Parent = nil
  1907. table.remove(Effects, e)
  1908. end
  1909. end
  1910. end
  1911. end
  1912. end
  1913. end
  1914. end
Add Comment
Please, Sign In to add comment