ItsFentix

Repulse

Sep 2nd, 2018
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 117.96 KB | None | 0 0
  1. --Fixed by Scenius(On ROBLOX) & Edited by lilh3/Frenchy
  2. Effects = {}
  3. local Player = game.Players.localPlayer
  4. local Character = Player.Character
  5. local Humanoid = Character.Humanoid
  6. Humanoid.WalkSpeed = 20
  7. local Mouse = Player:GetMouse()
  8. local LeftArm = Character["Left Arm"]
  9. local RightArm = Character["Right Arm"]
  10. local LeftLeg = Character["Left Leg"]
  11. local RightLeg = Character["Right Leg"]
  12. local Head = Character.Head
  13. local Torso = Character.Torso
  14. local Camera = game.Workspace.CurrentCamera
  15. local RootPart = Character.HumanoidRootPart
  16. local RootJoint = RootPart.RootJoint
  17. local attack = false
  18. local Anim = "Idle"
  19. local attacktype = 1
  20. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  21. local velocity = RootPart.Velocity.y
  22. local sine = 0
  23. local change = 1
  24. local Create = LoadLibrary("RbxUtility").Create
  25.  
  26. char = game.Players.LocalPlayer.Character
  27.  
  28. z = Instance.new("Sound", char)
  29. z.SoundId = "rbxassetid://150755805" -- Put Music ID Here.
  30. z.Looped = true
  31. z.Volume = 0.7
  32. wait(.1)
  33. z:Play()
  34.  
  35. local BC = char["Body Colors"]
  36. BC.HeadColor = BrickColor.new("Black")
  37. BC.LeftArmColor = BrickColor.new("Mid gray")
  38. BC.LeftLegColor = BrickColor.new("Mid gray")
  39. BC.RightArmColor = BrickColor.new("Mid gray")
  40. BC.RightLegColor = BrickColor.new("Mid gray")
  41. BC.TorsoColor = BrickColor.new("Mid gray")
  42.  
  43. shirt = Instance.new("Shirt", char)
  44. shirt.Name = "Shirt"
  45. pants = Instance.new("Pants", char)
  46. pants.Name = "Pants"
  47. char.Shirt.ShirtTemplate = "rbxassetid://0"
  48. char.Pants.PantsTemplate = "rbxassetid://0"
  49.  
  50. char.Head.face.Texture = "rbxassetid://0"
  51.  
  52. for i,v in pairs(char:children()) do
  53. if v:IsA("Hat") then
  54. v:Destroy()
  55. end
  56. end
  57. for i,v in pairs(char:children()) do
  58. if v:IsA("Accessory") then
  59. v:Destroy()
  60. end
  61. end
  62. for i,v in pairs(char:children()) do
  63. if v:IsA("Hair") then
  64. v:Destroy()
  65. end
  66. end
  67.  
  68. -- yay time to waste my whole life trying to gain these
  69. local AnimTable = {}
  70. AnimTable.RepWALK = {}
  71. AnimTable.RepulseAttack1 = {}
  72. AnimTable.RepulseAttack2 = {}
  73. AnimTable.RepulseAttack3 = {}
  74. AnimTable.RepulseAttack4 = {}
  75. AnimTable.RepulseShoot = {}
  76. AnimTable.RepulseORA = {}
  77. AnimTable.RepulseEnergyB = {}
  78. AnimTable.RepulseEnergyF = {}
  79. AnimTable.RepulseAttack1.Animation = function(num)
  80. repatk1cf = nil
  81. if num == 1 then
  82. repatk1cf = {CFrame.new(0.000151857734, -0.310488015, -0.087417841, 0.707106054, 5.26835073e-008, -0.707107484, 0.122787014, 0.984807968, 0.122786865, 0.696365058, -0.173646957, 0.696363688), CFrame.new(0.101928703, 1.50244772, -0.0383823365, 0.76589334, 0.0762532279, 0.638430059, -0.0196644422, 0.995256186, -0.095281601, -0.642666996, 0.0604211651, 0.763759375), CFrame.new(1.01774633, 0.557527065, -0.776187301, 0.541353703, 0.741649806, 0.396095604, 0.711713314, -0.153383806, -0.685520053, -0.447661191, 0.653015316, -0.610876858), CFrame.new(-1.07208586, 0.264054269, -0.716768324, 0.529938459, -0.260122895, -0.807156265, -0.752277017, 0.295165181, -0.589030504, 0.39146477, 0.919355154, -0.039265126), CFrame.new(0.81415844, -1.89738977, 0.144144416, 0.866025925, -0.171008825, 0.469845951, -1.40815973e-006, 0.939692497, 0.342020512, -0.499999285, -0.296199232, 0.813797772), CFrame.new(-0.818738878, -1.59999573, -0.397991776, 0.642786622, 0.0667650178, 0.763130188, 4.3399632e-007, 0.99619472, -0.0871558338, -0.766045213, 0.0560229495, 0.640340626)}
  83. elseif num == 2 then
  84. repatk1cf = {CFrame.new(0.31380862, -0.320521832, 0.0252371654, 0.249517962, -0.150383011, 0.956622124, -0.0458769947, 0.984923244, 0.166798219, -0.967282891, -0.0855060965, 0.238856897), CFrame.new(0.101926193, 1.50244832, -0.0383800864, 0.337979913, 0.0762555003, -0.938059092, -0.0828148723, 0.995255768, 0.051067099, 0.937502801, 0.0604255944, 0.342691481), CFrame.new(1.96121001, 0.774859428, -0.462411612, 0.340120375, -0.92077136, 0.191045195, 0.466549307, -0.0111669078, -0.884424806, 0.816486418, 0.389942825, 0.42578721), CFrame.new(-1.36170578, 0.526111126, -0.597925961, 0.81348151, -0.212761745, -0.541276693, -0.539894938, 0.0697831511, -0.838834763, 0.216243982, 0.974609077, -0.0581016839), CFrame.new(0.970680714, -1.68610644, -0.0975568295, 0.579166114, -0.127570763, -0.805166125, 0.110368893, 0.990856647, -0.0776019096, 0.807703912, -0.0439208932, 0.587950349), CFrame.new(-0.827146292, -1.8113209, -0.0556658059, 0.816036701, 0.217413262, -0.535551846, -0.0871567726, 0.962250471, 0.257832885, 0.571391284, -0.163724124, 0.804180741)}
  85. end
  86. return repatk1cf
  87. end
  88. AnimTable.RepulseAttack2.Animation = function(num)
  89. repatk2cf = nil
  90. if num == 1 then
  91. repatk2cf = {CFrame.new(-0.0382043272, -0.447743475, -0.209081307, 0.653245032, -0.0733856931, 0.753581822, -0.271655023, 0.906307638, 0.323743671, -0.706735075, -0.416198224, 0.572105408), CFrame.new(-2.74181366e-006, 1.49999321, -3.4570694e-006, 0.707105815, -0.183012873, -0.683013678, -8.7171793e-007, 0.965925694, -0.258819759, 0.707107782, 0.183013588, 0.683011472), CFrame.new(1.65075588, 0.743636727, -0.356577665, 0.542998552, -0.115416825, 0.831764221, 0.839699984, 0.0834951103, -0.536593378, -0.00751632452, 0.989801884, 0.142253295), CFrame.new(-1.08620656, -0.00580590963, -0.864283919, 0.656464815, -0.698875248, 0.283949524, 0.478162557, 0.0943745971, -0.873186052, 0.583450615, 0.708990037, 0.396129608), CFrame.new(0.856426239, -1.40340364, -0.356423855, 0.707105279, -0.122788861, -0.696365654, 9.42498446e-007, 0.98480767, -0.173648372, 0.707108438, 0.122787014, 0.696362913), CFrame.new(-0.695387185, -1.90375674, -0.304245114, 0.92541647, 0.246137589, -0.288133472, -0.173648298, 0.951251149, 0.254887551, 0.336824656, -0.185843274, 0.923044682)}
  92. elseif num == 2 then
  93. repatk2cf = {CFrame.new(-0.479634404, -0.393727064, -0.220339894, 0.248309121, 0.219825819, -0.94340837, 0.019257009, 0.972597659, 0.231695861, 0.968489468, -0.0756994039, 0.237271711), CFrame.new(-4.01586294e-006, 1.4999907, -1.59628689e-006, 0.237956509, -0.0991817266, 0.966198623, 0.22414881, 0.973527908, 0.0447304621, -0.945057809, 0.205928385, 0.253888786), CFrame.new(1.08192515, 0.657660127, -1.1749661, 0.228772208, 0.493058115, 0.839379132, 0.874719322, 0.27430138, -0.399530977, -0.427234828, 0.825622678, -0.368534833), CFrame.new(-1.23054802, 1.29996836, -0.754827142, 0.94838953, -0.316170156, 0.0243683457, -0.269034386, -0.84291333, -0.465958893, 0.167862713, 0.43535465, -0.88447094), CFrame.new(0.839919031, -1.81287205, 0.0102108568, 0.808574855, -0.267538428, 0.524051666, 0.171010748, 0.95905602, 0.22575888, -0.562994003, -0.0929245204, 0.821220458), CFrame.new(-0.846072078, -1.7213496, -0.247524291, 0.693717241, 0.0689389557, 0.716940701, -0.0478171073, 0.997620881, -0.0496601462, -0.718658566, 0.000168083934, 0.695363283)}
  94. end
  95. return repatk2cf
  96. end
  97. AnimTable.RepulseAttack3.Animation = function(num)
  98. repatk3cf = nil
  99. if num == 1 then
  100. repatk3cf = {CFrame.new(0.00015424937, -0.0303910244, 0.172732353, 0.707106054, -1.36977135e-007, -0.707107484, -0.241844028, 0.939693153, -0.241843715, 0.664464056, 0.342018902, 0.664462626), CFrame.new(-0.0900346041, 1.53916931, -0.0900347233, 0.707106054, -0.241844028, 0.664464056, -1.36977135e-007, 0.939693153, 0.342018902, -0.707107484, -0.241843715, 0.664462626), CFrame.new(1.54832983, 0.2894032, 0.329475105, 0.910240293, -0.411981106, -0.0416468978, 0.371504784, 0.768086612, 0.521562576, -0.182885468, -0.490219176, 0.852196038), CFrame.new(-1.68712711, 0.311459482, 0.3278009, 0.836423278, 0.536408186, -0.11252743, -0.403283268, 0.741368711, 0.536409497, 0.371158689, -0.403284907, 0.836422443), CFrame.new(0.788507879, -1.88569379, 0.155615538, 0.891722381, -0.274265081, 0.360013813, 0.116977148, 0.908105969, 0.402069658, -0.437204301, -0.316421092, 0.841861069), CFrame.new(-0.70507884, -0.807403564, -0.520998418, 0.734425247, 0.0872097909, 0.673063159, -0.0274242759, 0.994713306, -0.0989620388, -0.678135276, 0.0542218834, 0.732934237)}
  101. elseif num == 2 then
  102. repatk3cf = {CFrame.new(0.000153645873, -0.22751689, 0.07635656, 0.707106054, -5.26835073e-008, -0.707107484, -0.122787014, 0.984807968, -0.122786865, 0.696365058, 0.173646957, 0.696363688), CFrame.new(-0.0900349915, 1.53916812, -0.0900349319, 0.707106054, -0.241843998, 0.664464056, -5.26835073e-008, 0.939693153, 0.342018783, -0.707107484, -0.241843611, 0.664462686), CFrame.new(1.71330678, 0.609134197, 0.494451642, 0.798460722, -0.570534825, -0.192225158, 0.525007725, 0.503572106, 0.68613565, -0.294665128, -0.648771942, 0.701617837), CFrame.new(-1.5747292, 0.538585067, 0.559931517, 0.823553085, 0.541512251, 0.168892533, -0.481333375, 0.509595573, 0.713183403, 0.300130665, -0.668637991, 0.680326998), CFrame.new(0.761081278, -1.79488313, 0.123973221, 0.891722023, -0.241844088, 0.382548481, 0.116976976, 0.939693153, 0.321392685, -0.437205136, -0.241843581, 0.866235197), CFrame.new(-1.52726746, -1.01843166, -0.946048379, 0.710156322, 0.662300229, -0.238822937, -0.508035719, 0.247218758, -0.825095534, -0.487419516, 0.707277417, 0.512036085)}
  103. end
  104. return repatk3cf
  105. end
  106. AnimTable.RepulseAttack4.Animation = function(num)
  107. repatk4cf = nil
  108. if num == 1 then
  109. repatk4cf = {CFrame.new(1.90734863e-006, -0.101995051, -0.0435739271, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661), CFrame.new(0, 1.49999213, 1.14738941e-006, 1, 0, 0, 0, 0.999637008, -0.0269428417, 0, 0.0269428417, 0.999637008), CFrame.new(0.86135602, 0.96034044, -0.937009454, 0.707105935, 0.612373054, -0.35355404, 0.122787617, -0.598741174, -0.7914747, -0.696365118, 0.516244411, -0.498565257), CFrame.new(-0.7684232, 0.870659947, -1.04800045, 0.573576868, -0.627506495, 0.526540816, -0.0713939667, -0.678636789, -0.730995834, 0.816034675, 0.381690472, -0.43405062), CFrame.new(0.581118286, -1.97988117, 0.114086062, 0.984807849, -5.94328526e-007, -0.173648044, 0.0301542114, 0.984807789, 0.171009779, 0.171009853, -0.17364797, 0.969846427), CFrame.new(-0.646108985, -1.95065558, -0.272756487, 0.951251328, 0.126749247, 0.281168371, -0.144535154, 0.988549173, 0.0433596969, -0.27245295, -0.0818846598, 0.958678424)}
  110. elseif num == 2 then
  111. repatk4cf = {CFrame.new(1.90734863e-006, -0.21144633, 0.076259613, 1, 0, 0, 0, 0.965925872, -0.258818984, 0, 0.258818984, 0.965925872), CFrame.new(0, 1.57069409, -0.156875908, 1, 0, 0, 0, 0.948566556, 0.31657818, 0, -0.31657818, 0.948566556), CFrame.new(1.86454415, 0.46246621, -0.0639053285, 0.180947989, -0.97119087, -0.155068755, -0.0968869328, 0.139301777, -0.985498905, 0.978708744, 0.193348199, -0.0688893348), CFrame.new(-1.79790926, 0.473141432, -0.0660722554, 0.338663906, 0.913478255, 0.225531012, -0.0265247822, 0.248868778, -0.96817404, -0.940533519, 0.321903408, 0.1085127), CFrame.new(0.655676186, -1.95014548, 0.339207411, 0.977650881, -0.140885949, -0.156045124, 0.187192559, 0.921208084, 0.341078997, 0.095696792, -0.362666637, 0.926992536), CFrame.new(-0.7683267, -1.93554115, 0.114631325, 0.928176641, 0.239801988, 0.284575343, -0.306200802, 0.926717699, 0.21779722, -0.211492777, -0.289291471, 0.933585286)}
  112. end
  113. return repatk4cf
  114. end
  115. AnimTable.RepulseShoot.Animation = function(num)
  116. repshootcf = nil
  117. if num == 1 or num == 3 then
  118. repshootcf = {CFrame.new(0, -0.100000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1 ), CFrame.new( 0, 1.49999201, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1 ), CFrame.new( 0.661153734, 0.568759024, -0.827975571, -0.166752055, 0.025078943, 0.985679924, 0.98324734, -0.0704026297, 0.168131784, 0.0736110285, 0.99720335, -0.012919019 ), CFrame.new( -0.390097797, 0.861622274, -0.554995477, 0.351840883, -0.837056041, -0.418981194, -0.935129642, -0.294365793, -0.197183579, 0.0417199843, 0.461178988, -0.886325777 ), CFrame.new( 0.604644954, -1.9909004, 0.0280390829, 0.962250233, -0.0841861367, -0.258818984, 0.0871560201, 0.996194661, 4.23252061e-007, 0.257834047, -0.0225580372, 0.965925872 ), CFrame.new( -0.604644775, -1.99090064, 0.0280380547, 0.962250233, 0.0841861367, 0.258818984, -0.0871560201, 0.996194661, 4.23252061e-007, -0.257834047, -0.0225580372, 0.965925872 )}
  119. else
  120. repshootcf = {CFrame.new(1.90734863e-006, -0.25291419, 0.238341585, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661), CFrame.new(0, 1.49999189, -1.1920929e-006, 1, 0, 0, 0, 0.98480767, 0.173648626, 0, -0.173648626, 0.98480767), CFrame.new(0.689965963, 0.767623663, -0.856841147, -0.544456005, 0.160545677, 0.823281765, 0.798456132, -0.201499581, 0.567332089, 0.256973624, 0.966241658, -0.0184810348), CFrame.new(-0.392649293, 0.920519292, -0.977094412, 0.403439909, -0.887421727, -0.222977459, -0.91384387, -0.378501445, -0.147058249, 0.0461054072, 0.263095737, -0.963667512), CFrame.new(0.598512471, -1.89166105, 0.0173719227, 0.962250233, -0.061308533, -0.265171409, 0.0871564373, 0.992403805, 0.0868248865, 0.257834017, -0.106658652, 0.960284173), CFrame.new(-0.598512232, -1.89166129, 0.0173728764, 0.962250233, 0.061308533, 0.265171409, -0.0871564373, 0.992403805, 0.0868248865, -0.257834017, -0.106658652, 0.960284173)}
  121. end
  122. return repshootcf
  123. end
  124. AnimTable.RepulseORA.Animation = function(num)
  125. rep_ora = {}
  126. if num == 1 then
  127. rep_ora = {CFrame.new(4.76837158e-007, -0.107780606, -0.0868092626, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), CFrame.new(0, 1.4999913, 2.38418608e-007, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), CFrame.new(1.50214899, 0.590444803, 0.195881441, 0.965925872, 3.76027884e-007, 0.258818895, 0.257834077, -0.0871552154, -0.962250412, 0.0225570519, 0.99619478, -0.0841855928), CFrame.new(-1.60470915, 0.600643516, 0.204860806, 0.937436998, -0.0449436344, -0.345242023, -0.345831364, -0.00582624972, -0.938278675, 0.0401581824, 0.998972595, -0.0210046768), CFrame.new(0.636808395, -1.93472588, -0.370165229, 0.936116338, -0.0517791435, -0.347858071, 0.0266665779, 0.996705353, -0.0765988752, 0.350678325, 0.0624292716, 0.934412897), CFrame.new(-0.6665681, -1.92173398, -0.343467057, 0.962250233, 0.0613082647, 0.265171379, -0.0410595685, 0.99584806, -0.0812460929, -0.269051433, 0.0672912449, 0.960772276)}
  128. elseif num == 2 then
  129. rep_ora = {CFrame.new(0.0767437443, -0.107780531, -0.279432267, 0.866025388, -0.0868241936, 0.492404073, 0, 0.98480773, 0.173648342, -0.500000238, -0.150383845, 0.852868438), CFrame.new(-2.61076184e-006, 1.4999913, -6.19508683e-007, 0.866025209, 2.98023224e-007, -0.500000656, -2.56928615e-007, 1, 1.1920929e-007, 0.500000596, 2.98023224e-008, 0.866025209), CFrame.new(1.40606534, 0.812639356, -1.14933658, 0.82139349, -0.422619373, 0.383021921, 0.349686205, -0.157378837, -0.923553765, 0.450591207, 0.892538428, 0.0185142085), CFrame.new(-1.64197171, 0.599264741, 0.212680459, 0.807513177, -0.456930667, -0.373010725, -0.413006425, 0.0134942085, -0.9106282, 0.421127379, 0.889400065, -0.177818552), CFrame.new(0.636808515, -1.93472552, -0.37016958, 0.814187765, -0.0517790765, -0.578288436, 0.00593282748, 0.996705353, -0.0808905214, 0.580571651, 0.0624291934, 0.811812401), CFrame.new(-0.666569233, -1.92173398, -0.343468547, 0.867917657, 0.0613080971, -0.492910266, -0.0864830092, 0.99584806, -0.0284160972, 0.489121556, 0.0672912076, 0.869616032)}
  130. elseif num == 3 then
  131. rep_ora = {CFrame.new(-0.0223142356, -0.107780628, -0.249816686, 0.906307876, 0.0733869597, -0.416197479, 0, 0.98480773, 0.173648462, 0.422617942, -0.157378972, 0.892539084), CFrame.new(-2.22850417e-007, 1.49999118, 1.16660271e-006, 0.906307936, 1.49011612e-008, 0.422617972, -7.27595761e-009, 1, 0, -0.422618032, 0, 0.906308055), CFrame.new(1.5318948, 0.588474631, 0.207054406, 0.899958313, 0.340718478, 0.272003621, 0.314965397, -0.0767233223, -0.945997, -0.301449746, 0.9370296, -0.176362336), CFrame.new(-1.27977741, 0.723447502, -1.20010054, 0.726744413, 0.46058476, -0.509611845, -0.503104627, -0.148215696, -0.851421177, -0.46768418, 0.875153661, 0.124007396), CFrame.new(0.636807501, -1.93472636, -0.370165735, 0.868198872, -0.0517790169, 0.493507534, 0.075819321, 0.996705353, -0.0288097262, -0.490389913, 0.0624299645, 0.869264364), CFrame.new(-0.666569352, -1.92173386, -0.343467534, 0.86083132, 0.0613082871, 0.505183935, -0.018632248, 0.995848, -0.0891051888, -0.508549333, 0.0672918186, 0.858399451)}
  132. elseif num == 4 then
  133. rep_ora = {CFrame.new(0.0767437443, -0.107780531, -0.279432267, 0.866025388, -0.0868241936, 0.492404073, 0, 0.98480773, 0.173648342, -0.500000238, -0.150383845, 0.852868438), CFrame.new(-2.61076184e-006, 1.4999913, -6.19508683e-007, 0.866025209, 2.98023224e-007, -0.500000656, -2.56928615e-007, 1, 1.1920929e-007, 0.500000596, 2.98023224e-008, 0.866025209), CFrame.new(1.40606534, 0.812639356, -1.14933658, 0.82139349, -0.422619373, 0.383021921, 0.349686205, -0.157378837, -0.923553765, 0.450591207, 0.892538428, 0.0185142085), CFrame.new(-1.64197171, 0.599264741, 0.212680459, 0.807513177, -0.456930667, -0.373010725, -0.413006425, 0.0134942085, -0.9106282, 0.421127379, 0.889400065, -0.177818552), CFrame.new(0.636808515, -1.93472552, -0.37016958, 0.814187765, -0.0517790765, -0.578288436, 0.00593282748, 0.996705353, -0.0808905214, 0.580571651, 0.0624291934, 0.811812401), CFrame.new(-0.666569233, -1.92173398, -0.343468547, 0.867917657, 0.0613080971, -0.492910266, -0.0864830092, 0.99584806, -0.0284160972, 0.489121556, 0.0672912076, 0.869616032)}
  134. end
  135. return rep_ora
  136. end
  137. AnimTable.RepulseEnergyB.Animation = function(num)
  138. repeng = {}
  139. if num == 1 then
  140. repeng = {CFrame.new(-0.000108022243, -0.233785003, -0.0873367637, 0.499999821, -1.78813863e-007, -0.866025507, 0.150383934, 0.984807789, 0.0868239477, 0.852868676, -0.173648283, 0.492403716), CFrame.new(-1.2665987e-007, 1.49999368, -1.02072954e-006, 0.573575675, 0.0713936985, 0.816035628, -5.01982868e-007, 0.996194899, -0.0871551931, -0.819152594, 0.049989678, 0.571393132), CFrame.new(1.47017705, 0.884583473, 0.0280318335, 0.886720777, -0.205462068, 0.414139926, 0.236241817, -0.568640172, -0.787933052, 0.397386849, 0.796513736, -0.455686152), CFrame.new(-1.76647317, 0.409804255, -0.03838256, 0.444113791, 0.836516619, -0.320940912, -0.836516619, 0.258818626, -0.482962757, -0.320940822, 0.482962757, 0.814704895), CFrame.new(0.838749349, -1.98392951, 0.15807499, 0.830397308, -0.277826965, 0.48296237, 0.167731524, 0.951251447, 0.258818328, -0.53132534, -0.133914024, 0.836516857), CFrame.new(-0.811016142, -1.63281643, -0.179561377, 0.642214835, 0.00870995224, 0.76647532, -0.0151349902, 0.999884725, 0.00131897628, -0.766375303, -0.0124476701, 0.642272472)}
  141. else
  142. repeng = {CFrame.new(0.159273595, -0.292363107, -0.115490548, 0.0844330043, -0.144068986, 0.985959053, -0.357129037, 0.919379771, 0.164923266, -0.930231094, -0.366039604, 0.0261747837), CFrame.new(4.81307507e-006, 1.49999106, -3.65450978e-006, 0.171444774, -0.100317284, -0.980072975, -0.0616287738, 0.991762042, -0.11229457, 0.983264267, 0.0796530023, 0.163850009), CFrame.new(1.73932612, 1.06159639, 0.141945362, -0.153680667, -0.913934886, 0.375639945, 0.659919798, -0.377877831, -0.649395287, 0.735450923, 0.148092732, 0.661196351), CFrame.new(-1.68730593, 0.429691374, -0.418232322, 0.633863091, 0.519853055, -0.57268703, -0.772902489, 0.453472316, -0.443829596, 0.028971523, 0.723958433, 0.689235032), CFrame.new(0.51381135, -1.74729896, 0.0663300753, 0.422899842, 0.615153313, -0.665388703, -0.0435856879, 0.747240186, 0.66312325, 0.905127704, -0.251433372, 0.342819571), CFrame.new(-0.991570175, -1.5009346, -0.1830419, 0.415304065, 0.586875141, -0.695054054, -0.166150108, 0.800146103, 0.576333642, 0.894380629, -0.123870395, 0.429813296)}
  143. end
  144. return repeng
  145. end
  146. AnimTable.RepulseEnergyF.Animation = function(num)
  147. repenf = {}
  148. if num == 1 then
  149. repenf = {CFrame.new(0, -0.447293997, -0.2112111, 1, 0, 0, 0, 0.906307876, 0.422617942, 0, -0.422617942, 0.906307876),
  150. CFrame.new(0, 1.56152058, -0.112393305, 1, 0, 0, 0, 0.984807611, 0.173649013, 0, -0.173649013, 0.984807611),
  151. CFrame.new(1.40215218, 0.262826234, -0.571044147, 0.965925872, -7.91637774e-007, 0.258818924, 0.183013082, 0.707107067, -0.683012247, -0.183012128, 0.707106531, 0.683013082),
  152. CFrame.new(-1.50113642, 0.3615973, -0.530293226, 0.939693093, -1.40025165e-008, -0.342019022, -0.219845474, 0.766044676, -0.604022741, 0.262001872, 0.642787278, 0.719846845),
  153. CFrame.new(0.474119574, -1.8729918, 0.0565655231, 0.965926111, 1.87114551e-007, -0.25881803, 0.0885210708, 0.939692318, 0.330367059, 0.243209392, -0.342021078, 0.90767318),
  154. CFrame.new(-0.580936968, -1.35267889, -0.896118402, 0.981060326, 0.0858320147, 0.173647806, -0.00588275492, 0.909254968, -0.416197896, -0.193613231, 0.407293677, 0.892538965)}
  155. else
  156. repenf = {CFrame.new(0, -1.36848807, -0.310636044, 1, 0, 0, 0, 0.819151819, 0.573576868, 0, -0.573576868, 0.819151819), CFrame.new(0, 1.56151783, -0.112391293, 1, 0, 0, 0, 0.965925813, 0.258819401, 0, -0.258819401, 0.965925813), CFrame.new(1.01896489, 0.0858490542, -1.17818832, 0.64278698, -2.53824169e-007, 0.766045034, 0.383023024, 0.866025269, -0.321393669, -0.66341418, 0.500000536, 0.556669831), CFrame.new(-1.01494718, 0.206465095, -1.3528949, 0.496335, 0.031015249, -0.867576897, -0.496034414, 0.830292404, -0.254095674, 0.71246165, 0.556464553, 0.427487791), CFrame.new(0.62245965, -1.40458083, 0.119271994, 0.96592623, 0.0885211974, -0.243209109, 0.0885205865, 0.770030499, 0.631836414, 0.243209377, -0.631836355, 0.735956669), CFrame.new(-0.547003508, -0.542036593, -0.748789668, 0.939691901, -0.0298083462, 0.340720713, 0.144544527, 0.937470913, -0.316631377, -0.309977472, 0.346785247, 0.885242462)}
  157. end
  158. return repenf
  159. end
  160. AnimTable.RepWALK.Animation = function(num, fastnum)
  161. walkcf = nil
  162. if num == 1 then
  163. walkcf = {
  164. CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20), math.rad(-5 * math.cos((fastnum) / 10)), math.rad(0)),
  165. CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), math.rad(5 * math.cos((fastnum) / 10)), math.rad(0)),
  166. CFrame.new(1.14562762, 0.526349247, -0.591056466, 0.825674891, 0.469375819, 0.312965363, 0.547643542, -0.533675969, -0.644419432, -0.135452792, 0.703474402, -0.697693527),
  167. CFrame.new(-1.14244175, 0.534408689, -0.582344949, 0.825674295, -0.469376504, -0.312966168, -0.547644734, -0.533675849, -0.644418597, 0.13545242, 0.703474045, -0.697693944),
  168. CFrame.new(0.5, -1.85 - 0.5 * math.cos((fastnum) / 8) / 2, 0 + 2 * math.sin((fastnum) / 8) / 2) * CFrame.Angles(math.rad(-70 * math.sin((fastnum) / 8)), math.rad(-3), math.rad(0)),
  169. CFrame.new(-0.5, -1.85 + 0.5 * math.cos((fastnum) / 8) / 2, 0 - 2 * math.sin((fastnum) / 8) / 2) * CFrame.Angles(math.rad(70 * math.sin((fastnum) / 8)), math.rad(3), math.rad(0))}
  170. end
  171. return walkcf
  172. end
  173. --ok im finally done now after like 7 million hours
  174.  
  175. local m = Create("Model")({
  176. Parent = Character,
  177. Name = "WeaponModel"
  178. })
  179. Humanoid.Animator.Parent = nil
  180. Character.Animate.Parent = nil
  181. local function newMotor(part0, part1, c0, c1)
  182. local w = Create("Motor")({
  183. Parent = part0,
  184. Part0 = part0,
  185. Part1 = part1,
  186. C0 = c0,
  187. C1 = c1
  188. })
  189. return w
  190. end
  191. function clerp(a, b, t)
  192. return a:lerp(b, t)
  193. end
  194. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  195. NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  196. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  197. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  198. local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  199. local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  200. RootJoint.C1 = CFrame.new(0, 0, 0)
  201. RootJoint.C0 = CFrame.new(0, 0, 0)
  202. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  203. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  204. local rarmc1 = RW.C1
  205. local larmc1 = LW.C1
  206. local rlegc1 = RH.C1
  207. local llegc1 = LH.C1
  208. local resetc1 = false
  209. function PlayAnimationFromTable(table, speed, bool)
  210. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  211. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  212. RW.C0 = clerp(RW.C0, table[3], speed)
  213. LW.C0 = clerp(LW.C0, table[4], speed)
  214. RH.C0 = clerp(RH.C0, table[5], speed)
  215. LH.C0 = clerp(LH.C0, table[6], speed)
  216. if bool == true and resetc1 == false then
  217. resetc1 = true
  218. RootJoint.C1 = RootJoint.C1
  219. Torso.Neck.C1 = Torso.Neck.C1
  220. RW.C1 = rarmc1
  221. LW.C1 = larmc1
  222. RH.C1 = rlegc1
  223. LH.C1 = llegc1
  224. end
  225. end
  226. local co1 = 11
  227. local co2 = 15
  228. local co3 = 12
  229. local co4 = 28
  230. local cooldown1 = 0
  231. local cooldown2 = 0
  232. local cooldown3 = 0
  233. local cooldown4 = 0
  234. local maxEnergy = 100
  235. local Energy = 0
  236. local skill1stam = 10
  237. local skill2stam = 50
  238. local skill3stam = 60
  239. local skill4stam = 100
  240. local recovermana = 5
  241. local skillcolorscheme = BrickColor.new("Black").Color
  242. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  243. function makeframe(par, trans, pos, size, color)
  244. local frame = Instance.new("Frame", par)
  245. frame.BackgroundTransparency = trans
  246. frame.BorderSizePixel = 0
  247. frame.Position = pos
  248. frame.Size = size
  249. frame.BackgroundColor3 = color
  250. return frame
  251. end
  252. function makelabel(par, text)
  253. local label = Instance.new("TextLabel", par)
  254. label.BackgroundTransparency = 1
  255. label.Size = UDim2.new(1, 0, 1, 0)
  256. label.Position = UDim2.new(0, 0, 0, 0)
  257. label.TextColor3 = Color3.new(255, 255, 255)
  258. label.TextStrokeTransparency = 0
  259. label.FontSize = Enum.FontSize.Size32
  260. label.Font = Enum.Font.SourceSansBold
  261. label.BorderSizePixel = 0
  262. label.TextScaled = true
  263. label.Text = text
  264. end
  265. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  266. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  267. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  268. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  269. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  270. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  271. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  272. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  273. text1 = Instance.new("TextLabel", framesk1)
  274. text1.BackgroundTransparency = 1
  275. text1.Size = UDim2.new(1, 0, 1, 0)
  276. text1.Position = UDim2.new(0, 0, 0, 0)
  277. text1.TextColor3 = Color3.new(255, 255, 255)
  278. text1.TextStrokeTransparency = 0
  279. text1.FontSize = Enum.FontSize.Size18
  280. text1.Font = Enum.Font.SourceSansLight
  281. text1.BorderSizePixel = 0
  282. text1.TextScaled = true
  283. text1.Text = [[
  284. [Z]
  285. Technology Fusion]]
  286. text2 = Instance.new("TextLabel", framesk2)
  287. text2.BackgroundTransparency = 1
  288. text2.Size = UDim2.new(1, 0, 1, 0)
  289. text2.Position = UDim2.new(0, 0, 0, 0)
  290. text2.TextColor3 = Color3.new(255, 255, 255)
  291. text2.TextStrokeTransparency = 0
  292. text2.FontSize = Enum.FontSize.Size18
  293. text2.Font = Enum.Font.SourceSansLight
  294. text2.BorderSizePixel = 0
  295. text2.TextScaled = true
  296. text2.Text = [[
  297. [X]
  298. Pain by Knowledge]]
  299. text3 = Instance.new("TextLabel", framesk3)
  300. text3.BackgroundTransparency = 1
  301. text3.Size = UDim2.new(1, 0, 1, 0)
  302. text3.Position = UDim2.new(0, 0, 0, 0)
  303. text3.TextColor3 = Color3.new(255, 255, 255)
  304. text3.TextStrokeTransparency = 0
  305. text3.FontSize = Enum.FontSize.Size18
  306. text3.Font = Enum.Font.SourceSansLight
  307. text3.BorderSizePixel = 0
  308. text3.TextScaled = false
  309. text3.Text = [[
  310. [C]
  311. Field of Technology]]
  312. text4 = Instance.new("TextLabel", framesk4)
  313. text4.BackgroundTransparency = 1
  314. text4.Size = UDim2.new(1, 0, 1, 0)
  315. text4.Position = UDim2.new(0, 0, 0, 0)
  316. text4.TextColor3 = Color3.new(255, 255, 255)
  317. text4.TextStrokeTransparency = 0
  318. text4.FontSize = Enum.FontSize.Size18
  319. text4.Font = Enum.Font.SourceSansLight
  320. text4.BorderSizePixel = 0
  321. text4.TextScaled = true
  322. text4.Text = [[
  323. [V]
  324. Bring in the pain!]]
  325. ArtificialHB = Instance.new("BindableEvent", Player.PlayerGui)
  326. ArtificialHB.Name = "Heartbeat"
  327. Player.PlayerGui:WaitForChild("Heartbeat")
  328. frame = 0.03333333333333333
  329. tf = 0
  330. allowframeloss = false
  331. tossremainder = false
  332. lastframe = tick()
  333. Player.PlayerGui.Heartbeat:Fire()
  334. local gg = false
  335. game:GetService("RunService").Heartbeat:connect(function(s, p)
  336. if Player.PlayerGui:FindFirstChild("Heartbeat") == nil then
  337. gg = true
  338. end
  339. if gg == true then
  340. return
  341. end
  342. tf = tf + s
  343. if tf >= frame then
  344. if allowframeloss then
  345. Player.PlayerGui.Heartbeat:Fire()
  346. lastframe = tick()
  347. else
  348. for i = 1, math.floor(tf / frame) do
  349. Player.PlayerGui.Heartbeat:Fire()
  350. end
  351. lastframe = tick()
  352. end
  353. if tossremainder then
  354. tf = 0
  355. else
  356. tf = tf - frame * math.floor(tf / frame)
  357. end
  358. end
  359. end)
  360. function swait(num)
  361. if num == 0 or num == nil then
  362. ArtificialHB.Event:wait()
  363. else
  364. for i = 0, num do
  365. ArtificialHB.Event:wait()
  366. end
  367. end
  368. end
  369. function RemoveOutlines(part)
  370. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  371. end
  372. CFuncs = {
  373. Part = {
  374. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  375. local Part = Create("Part")({
  376. Parent = Parent,
  377. Reflectance = Reflectance,
  378. Transparency = Transparency,
  379. CanCollide = false,
  380. Locked = true,
  381. BrickColor = BrickColor.new(tostring(BColor)),
  382. Name = Name,
  383. Size = Size,
  384. Material = Material
  385. })
  386. RemoveOutlines(Part)
  387. return Part
  388. end
  389. },
  390. Mesh = {
  391. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  392. local Msh = Create(Mesh)({
  393. Parent = Part,
  394. Offset = OffSet,
  395. Scale = Scale
  396. })
  397. if Mesh == "SpecialMesh" then
  398. Msh.MeshType = MeshType
  399. Msh.MeshId = MeshId
  400. end
  401. return Msh
  402. end
  403. },
  404. Weld = {
  405. Create = function(Parent, Part0, Part1, C0, C1)
  406. local Weld = Create("Weld")({
  407. Parent = Parent,
  408. Part0 = Part0,
  409. Part1 = Part1,
  410. C0 = C0,
  411. C1 = C1
  412. })
  413. return Weld
  414. end
  415. },
  416. Sound = {
  417. Create = function(id, par, vol, pit)
  418. local Sound = Create("Sound")({
  419. Volume = vol,
  420. Pitch = pit or 1,
  421. SoundId = "http://www.roblox.com/asset?id=" .. id,
  422. Parent = par or workspace
  423. })
  424. Sound:play()
  425. game:GetService("Debris"):AddItem(Sound, 20)
  426. return Sound
  427. end
  428. },
  429. Decal = {
  430. Create = function(Color, Texture, Transparency, Name, Parent)
  431. local Decal = Create("Decal")({
  432. Color3 = Color,
  433. Texture = "rbxassetid://" .. Texture,
  434. Transparency = Transparency,
  435. Name = Name,
  436. Parent = Parent
  437. })
  438. return Decal
  439. end
  440. },
  441. BillboardGui = {
  442. Create = function(Parent, Image, Position, Size)
  443. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  444. BillPar.CFrame = CFrame.new(Position)
  445. local Bill = Create("BillboardGui")({
  446. Parent = BillPar,
  447. Adornee = BillPar,
  448. Size = UDim2.new(1, 0, 1, 0),
  449. SizeOffset = Vector2.new(Size, Size)
  450. })
  451. local d = Create("ImageLabel", Bill)({
  452. Parent = Bill,
  453. BackgroundTransparency = 1,
  454. Size = UDim2.new(1, 0, 1, 0),
  455. Image = "rbxassetid://" .. Image
  456. })
  457. return BillPar
  458. end
  459. },
  460. ParticleEmitter = {
  461. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  462. local Particle = Create("ParticleEmitter")({
  463. Parent = Parent,
  464. Color = ColorSequence.new(Color1, Color2),
  465. LightEmission = LightEmission,
  466. Size = Size,
  467. Texture = Texture,
  468. Transparency = Transparency,
  469. ZOffset = ZOffset,
  470. Acceleration = Accel,
  471. Drag = Drag,
  472. LockedToPart = LockedToPart,
  473. VelocityInheritance = VelocityInheritance,
  474. EmissionDirection = EmissionDirection,
  475. Enabled = Enabled,
  476. Lifetime = LifeTime,
  477. Rate = Rate,
  478. Rotation = Rotation,
  479. RotSpeed = RotSpeed,
  480. Speed = Speed,
  481. VelocitySpread = VelocitySpread
  482. })
  483. return Particle
  484. end
  485. },
  486. CreateTemplate = {}
  487. }
  488. function rayCast(Position, Direction, Range, Ignore)
  489. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  490. end
  491. function FindNearestTorso(Position, Distance, SinglePlayer)
  492. if SinglePlayer then
  493. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  494. end
  495. local List = {}
  496. for i, v in pairs(workspace:GetChildren()) do
  497. if v:IsA("Model") and v:findFirstChild("Torso") and v ~= Character and Distance >= (v.Torso.Position - Position).magnitude then
  498. table.insert(List, v)
  499. end
  500. end
  501. return List
  502. end
  503. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  504. if hit.Parent == nil then
  505. return
  506. end
  507. local h = hit.Parent:FindFirstChild("Humanoid")
  508. for _, v in pairs(hit.Parent:children()) do
  509. if v:IsA("Humanoid") then
  510. h = v
  511. end
  512. end
  513. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  514. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  515. return
  516. end
  517. local c = Create("ObjectValue")({
  518. Name = "creator",
  519. Value = game:service("Players").LocalPlayer,
  520. Parent = h
  521. })
  522. game:GetService("Debris"):AddItem(c, 0.5)
  523. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  524. local Damage = math.random(minim, maxim)
  525. local blocked = false
  526. local block = hit.Parent:findFirstChild("Block")
  527. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  528. blocked = true
  529. block.Value = block.Value - 1
  530. print(block.Value)
  531. end
  532. if blocked == false then
  533. h.Health = h.Health - Damage
  534. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Really black").Color)
  535. else
  536. h.Health = h.Health - Damage / 2
  537. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Really black").Color)
  538. end
  539. if Type == "Knockdown" then
  540. local hum = hit.Parent.Humanoid
  541. hum.PlatformStand = true
  542. coroutine.resume(coroutine.create(function(HHumanoid)
  543. swait(1)
  544. HHumanoid.PlatformStand = false
  545. end), hum)
  546. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  547. local bodvol = Create("BodyVelocity")({
  548. velocity = angle * knockback,
  549. P = 5000,
  550. maxForce = Vector3.new(8000, 8000, 8000),
  551. Parent = hit
  552. })
  553. local rl = Create("BodyAngularVelocity")({
  554. P = 3000,
  555. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  556. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  557. Parent = hit
  558. })
  559. game:GetService("Debris"):AddItem(bodvol, 0.5)
  560. game:GetService("Debris"):AddItem(rl, 0.5)
  561. elseif Type == "Normal" then
  562. local vp = Create("BodyVelocity")({
  563. P = 500,
  564. maxForce = Vector3.new(math.huge, 0, math.huge),
  565. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  566. })
  567. if knockback > 0 then
  568. vp.Parent = hit.Parent.Torso
  569. end
  570. game:GetService("Debris"):AddItem(vp, 0.5)
  571. elseif Type == "Up" then
  572. local bodyVelocity = Create("BodyVelocity")({
  573. velocity = Vector3.new(0, 20, 0),
  574. P = 5000,
  575. maxForce = Vector3.new(8000, 8000, 8000),
  576. Parent = hit
  577. })
  578. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  579. elseif Type == "DarkUp" then
  580. coroutine.resume(coroutine.create(function()
  581. for i = 0, 1, 0.1 do
  582. swait()
  583. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  584. end
  585. end))
  586. local bodyVelocity = Create("BodyVelocity")({
  587. velocity = Vector3.new(0, 20, 0),
  588. P = 5000,
  589. maxForce = Vector3.new(8000, 8000, 8000),
  590. Parent = hit
  591. })
  592. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  593. elseif Type == "Snare" then
  594. local bp = Create("BodyPosition")({
  595. P = 2000,
  596. D = 100,
  597. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  598. position = hit.Parent.Torso.Position,
  599. Parent = hit.Parent.Torso
  600. })
  601. game:GetService("Debris"):AddItem(bp, 1)
  602. elseif Type == "Freeze" then
  603. local BodPos = Create("BodyPosition")({
  604. P = 50000,
  605. D = 1000,
  606. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  607. position = hit.Parent.Torso.Position,
  608. Parent = hit.Parent.Torso
  609. })
  610. local BodGy = Create("BodyGyro")({
  611. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  612. P = 20000,
  613. Parent = hit.Parent.Torso,
  614. cframe = hit.Parent.Torso.CFrame
  615. })
  616. hit.Parent.Torso.Anchored = true
  617. coroutine.resume(coroutine.create(function(Part)
  618. swait(1.5)
  619. Part.Anchored = false
  620. end), hit.Parent.Torso)
  621. game:GetService("Debris"):AddItem(BodPos, 3)
  622. game:GetService("Debris"):AddItem(BodGy, 3)
  623. end
  624. local debounce = Create("BoolValue")({
  625. Name = "DebounceHit",
  626. Parent = hit.Parent,
  627. Value = true
  628. })
  629. game:GetService("Debris"):AddItem(debounce, Delay)
  630. c = Create("ObjectValue")({
  631. Name = "creator",
  632. Value = Player,
  633. Parent = h
  634. })
  635. game:GetService("Debris"):AddItem(c, 0.5)
  636. end
  637. end
  638. function ShowDamage(Pos, Text, Time, Color)
  639. local Rate = 0.03333333333333333
  640. local Pos = Pos or Vector3.new(0, 0, 0)
  641. local Text = Text or ""
  642. local Time = Time or 2
  643. local Color = Color or Color3.new(1, 0, 1)
  644. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  645. EffectPart.Anchored = true
  646. local BillboardGui = Create("BillboardGui")({
  647. Size = UDim2.new(3, 0, 3, 0),
  648. Adornee = EffectPart,
  649. Parent = EffectPart
  650. })
  651. local TextLabel = Create("TextLabel")({
  652. BackgroundTransparency = 1,
  653. Size = UDim2.new(1, 0, 1, 0),
  654. Text = Text,
  655. Font = "SciFi",
  656. TextColor3 = Color,
  657. TextScaled = true,
  658. Parent = BillboardGui
  659. })
  660. game.Debris:AddItem(EffectPart, Time)
  661. EffectPart.Parent = game:GetService("Workspace")
  662. delay(0, function()
  663. local Frames = Time / Rate
  664. for Frame = 1, Frames do
  665. wait(Rate)
  666. local Percent = Frame / Frames
  667. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  668. TextLabel.TextTransparency = Percent
  669. end
  670. if EffectPart and EffectPart.Parent then
  671. EffectPart:Destroy()
  672. end
  673. end)
  674. end
  675. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  676. for _, c in pairs(workspace:children()) do
  677. local hum = c:findFirstChild("Humanoid")
  678. if hum ~= nil then
  679. local head = c:findFirstChild("Torso")
  680. if head ~= nil then
  681. local targ = head.Position - Part.Position
  682. local mag = targ.magnitude
  683. if Magnitude >= mag and c.Name ~= Player.Name then
  684. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0.1, HitSound, HitPitch)
  685. end
  686. end
  687. end
  688. end
  689. end
  690. HHandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "HHandle", Vector3.new(1.09999979, 0.299999923, 1.0999999))
  691. HHandleWeld = CFuncs.Weld.Create(m, Head, HHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0646438599, -0.0500068665, -0.0646400452, -0.707107365, -3.21031663e-008, 0.707106411, -8.19564079e-008, 1.00000119, -1.41561088e-007, -0.707106352, 1.38630043e-007, -0.707107484))
  692. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.09999979, 0.399999917, 1.0999999))
  693. PartWeld = CFuncs.Weld.Create(m, HHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.350002289, 0, 1.00000024, -3.21031663e-008, -5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024))
  694. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.09999979, 0.499999911, 1.0999999))
  695. PartWeld = CFuncs.Weld.Create(m, HHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.62939453e-006, -0.400001526, 7.62939453e-006, 1.00000024, -3.21031663e-008, -5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024))
  696. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.499999821, 0.299999893, 0.200000003))
  697. PartWeld = CFuncs.Weld.Create(m, HHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.300033569, -0.800000191, -0.44997406, 1.00000024, -3.21031663e-008, -5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024))
  698. Eye1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "Toothpaste", "Eye1", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  699. PartWeld = CFuncs.Weld.Create(m, HHandle, Eye1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0381011963, -0.0574798584, 0.471725464, -2.89082527e-006, 0.173647985, -0.984807968, -6.2584877e-007, 0.984808922, 0.173648104, 1.00000012, 1.02902288e-006, -2.77161598e-006))
  700. CFuncs.Mesh.Create("SpecialMesh", Eye1, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  701. Eye2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "Institutional white", "Eye2", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  702. PartWeld = CFuncs.Weld.Create(m, HHandle, Eye2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0115432739, -0.0487277508, 0.482452393, -0.981060266, -0.173648134, -0.0858327746, -0.172987267, 0.984808922, -0.0151339322, 0.0871568322, 3.96735317e-007, -0.996194839))
  703. CFuncs.Mesh.Create("SpecialMesh", Eye2, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  704. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.499999821, 0.300000012, 0.200000003))
  705. PartWeld = CFuncs.Weld.Create(m, HHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.299995422, -0.800000191, 0.449989319, 5.96046448e-008, -1.38630043e-007, -1.00000024, -3.21031663e-008, 1.00000119, 1.38630043e-007, 1.00000024, -3.21031663e-008, -5.96046448e-008))
  706. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.10000002, 0.999999881, 1.0999999))
  707. PartWeld = CFuncs.Weld.Create(m, HHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.200004578, -0.150001526, 0.200012207, 1.00000024, -3.21031663e-008, -5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024))
  708. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.600000024))
  709. WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.449981689, -0.750000954, 0.250007629, 5.96046448e-008, -1.38630043e-007, -1.00000024, -3.21031663e-008, 1.00000119, 1.38630043e-007, 1.00000024, -3.21031663e-008, -5.96046448e-008))
  710. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  711. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.20000005, 0.200000003, 0.200000003))
  712. WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0500011444, -0.449970245, 0.650001526, 3.21031663e-008, -1.00000119, -1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024, -1.00000024, 3.21031663e-008, 5.96046448e-008))
  713. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  714. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.5))
  715. WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.449970245, -1.05000114, 0.300033569, -5.96046448e-008, 1.38630043e-007, 1.00000024, -3.21031663e-008, 1.00000119, 1.38630043e-007, -1.00000024, 3.21031663e-008, 5.96046448e-008))
  716. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  717. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.5))
  718. WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.449996948, -1.05000019, 0.300014496, 1.00000024, -3.21031663e-008, -5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024))
  719. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  720. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.20000005, 0.200000003, 0.200000003))
  721. WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0500011444, -0.650009155, 0.449989319, 3.21031663e-008, -1.00000119, -1.38630043e-007, 5.96046448e-008, -1.38630043e-007, -1.00000024, 1.00000024, -3.21031663e-008, -5.96046448e-008))
  722. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  723. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.600000024))
  724. WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.450012207, -0.750001907, 0.249996185, -1.00000024, 3.21031663e-008, 5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, 5.96046448e-008, -1.38630043e-007, -1.00000024))
  725. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  726. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.300000012, 0.200000003))
  727. WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.449985504, -0.800001144, 0.0500106812, 5.96046448e-008, -1.38630043e-007, -1.00000024, -3.21031663e-008, 1.00000119, 1.38630043e-007, 1.00000024, -3.21031663e-008, -5.96046448e-008))
  728. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  729. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.300000012, 0.200000003))
  730. WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.44997406, -0.800002098, 0.0500030518, -1.00000024, 3.21031663e-008, 5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, 5.96046448e-008, -1.38630043e-007, -1.00000024))
  731. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  732. THandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "THandle", Vector3.new(1, 0.799999893, 1))
  733. THandleWeld = CFuncs.Weld.Create(m, Torso, THandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
  734. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.19999981, 0.699999928, 1.20000005))
  735. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.328445435, -0.67606163, -0.323509216, 0.709785044, 0.0255700666, -0.70395416, -0.000232494262, 0.999350607, 0.0360652842, 0.704418302, -0.0254352745, 0.709329426))
  736. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.99999994, 0.499999851, 0.900000036))
  737. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.354995728, 0.217259884, 0.408233643, 0.709785223, -0.157498211, -0.686585248, -0.000232138293, 0.974633098, -0.2238141, 0.704418123, 0.159019142, 0.691742837))
  738. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.80000019, 0.700000048, 0.800000012))
  739. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.81469727e-005, -0.843423843, -1.0044136, 1, -8.19564079e-008, 5.96046519e-008, -1.01078633e-007, 0.939694166, -0.342019171, 1.52638329e-008, 0.34201926, 0.939693213))
  740. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  741. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.60000014, 0.400000006, 1.39999998))
  742. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.81469727e-005, -0.793423653, -0.504411697, 1, -8.19564079e-008, 5.96046519e-008, -1.01078633e-007, 0.939694166, -0.342019171, 1.52638329e-008, 0.34201926, 0.939693213))
  743. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  744. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.19999981, 0.499999911, 1.19999993))
  745. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.198799133, -0.0796661377, -0.194431305, 0.709785044, 0.0255700666, -0.70395416, -0.000232494262, 0.999350607, 0.0360652842, 0.704418302, -0.0254352745, 0.709329426))
  746. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.80000019, 0.300000012, 1.80000007))
  747. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.10351563e-005, -1.04342794, -0.404396057, 1, -8.19564079e-008, 5.96046519e-008, -1.01078633e-007, 0.939694166, -0.342019171, 1.52638329e-008, 0.34201926, 0.939693213))
  748. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  749. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 1.10000002, 0.300000012))
  750. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.34057617e-005, -0.943422318, -1.35441589, 1, -8.19564079e-008, 5.96046519e-008, -1.01078633e-007, 0.939694166, -0.342019171, 1.52638329e-008, 0.34201926, 0.939693213))
  751. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  752. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.09999979, 0.499999911, 1.0999999))
  753. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.11920929, 0.416726112, -0.115348816, 0.709785044, 0.0255700666, -0.70395416, -0.000232494262, 0.999350607, 0.0360652842, 0.704418302, -0.0254352745, 0.709329426))
  754. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.39999986, 1.19999993, 1.39999986))
  755. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.218803406, -0.55094862, 0.222564697, 0.709785223, -0.157498211, -0.686585248, -0.000232138293, 0.974633098, -0.2238141, 0.704418123, 0.159019142, 0.691742837))
  756. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.999999762, 0.300000012, 0.799999893))
  757. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0691986084, 0.816726685, -0.165359497, 0.709785044, 0.0255700666, -0.70395416, -0.000232494262, 0.999350607, 0.0360652842, 0.704418302, -0.0254352745, 0.709329426))
  758. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.899999976, 0.499999851, 0.899999917))
  759. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.331642151, 0.516366959, 0.335166931, 0.709785223, -0.157498211, -0.686585248, -0.000232138293, 0.974633098, -0.2238141, 0.704418123, 0.159019142, 0.691742837))
  760. AHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "AHandleR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  761. AHandleRWeld = CFuncs.Weld.Create(m, RightArm, AHandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.209915161, 0.00999641418, -3.81469727e-006, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
  762. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998))
  763. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999984741, 0.550004005, 0, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
  764. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  765. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.150001526, 0.200003624, -0.359994888, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
  766. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  767. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.20000267, 0.359992981, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
  768. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005))
  769. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.209899902, -0.809997559, 5.7220459e-006, -1, 8.19564079e-008, -5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, -5.96046519e-008, 1.41561088e-007, -1.00000024))
  770. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998))
  771. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.300003052, 0.650004387, 1.71661377e-005, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
  772. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998))
  773. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.650003433, 0, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
  774. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041))
  775. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199996948, -0.049996376, -3.81469727e-006, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
  776. HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  777. HitboxRWeld = CFuncs.Weld.Create(m, AHandleR, HitboxR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.700003624, 0, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
  778. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
  779. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.200012207, -0.149997711, 0.360010147, -1, 8.19564079e-008, -5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, -5.96046519e-008, 1.41561088e-007, -1.00000024))
  780. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  781. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
  782. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -1.30999851, 0.659896851, -5.96046519e-008, 1.41561088e-007, -1.00000024, -8.19564079e-008, 1.00000119, -1.41561088e-007, 1, -8.19564079e-008, 5.96046519e-008))
  783. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  784. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
  785. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199981689, -0.149998665, 0.359991074, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
  786. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  787. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.899999976))
  788. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.90734863e-006, 0.309997559, -0.0598983765, -5.96046519e-008, 1.41561088e-007, -1.00000024, 8.19564079e-008, -1.00000119, 1.41561088e-007, -1, 8.19564079e-008, -5.96046519e-008))
  789. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  790. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
  791. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.81469727e-006, 0.309999466, 0.659896851, 5.96046519e-008, -1.41561088e-007, 1.00000024, 8.19564079e-008, -1.00000119, 1.41561088e-007, 1, -8.19564079e-008, 5.96046519e-008))
  792. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  793. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.300000012))
  794. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.7220459e-006, 0.200003624, 0.150016785, 5.96046519e-008, -1.41561088e-007, 1.00000024, -8.19564079e-008, 1.00000119, -1.41561088e-007, -1, 8.19564079e-008, -5.96046519e-008))
  795. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  796. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.300000012, 0.200000003))
  797. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316e-006, -1.06000042, 0.490097046, 5.96046519e-008, -1.41561088e-007, 1.00000024, -8.19564079e-008, 1.00000119, -1.41561088e-007, -1, 8.19564079e-008, -5.96046519e-008))
  798. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  799. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.200000003))
  800. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.7220459e-006, 0.20000267, 0.299995422, -5.96046519e-008, 1.41561088e-007, -1.00000024, -8.19564079e-008, 1.00000119, -1.41561088e-007, 1, -8.19564079e-008, 5.96046519e-008))
  801. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  802. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.5, 0.200000003))
  803. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.62939453e-006, 0.659999847, 0.490089417, -5.96046519e-008, 1.41561088e-007, -1.00000024, 8.19564079e-008, -1.00000119, 1.41561088e-007, -1, 8.19564079e-008, -5.96046519e-008))
  804. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  805. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.900000095))
  806. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.7220459e-006, -1.30999947, -0.0598831177, 5.96046519e-008, -1.41561088e-007, 1.00000024, -8.19564079e-008, 1.00000119, -1.41561088e-007, -1, 8.19564079e-008, -5.96046519e-008))
  807. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  808. AHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "AHandleL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
  809. AHandleLWeld = CFuncs.Weld.Create(m, LeftArm, AHandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.210014343, 0.00999736786, 1.14440918e-005, -1, 8.19564079e-008, -5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, -5.96046519e-008, 1.41561088e-007, -1.00000024))
  810. HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "HitboxL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
  811. HitboxLWeld = CFuncs.Weld.Create(m, AHandleL, HitboxL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.700003624, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  812. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  813. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149986267, 0.200001717, -0.360012054, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  814. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041))
  815. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199989319, -0.0499982834, -9.53674316e-006, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  816. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  817. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149986267, 0.200001717, 0.359992981, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  818. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005))
  819. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.21005249, -0.81000042, 2.28881836e-005, -1, -8.19564079e-008, -5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, -5.96046519e-008, -1.41561088e-007, -1.00000024))
  820. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998))
  821. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999984741, 0.550003052, -5.7220459e-006, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  822. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998))
  823. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.299995422, 0.650003433, -3.81469727e-006, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  824. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998))
  825. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.65000248, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  826. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
  827. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.81469727e-006, 0.309998512, 0.660064697, 5.96046519e-008, 1.41561088e-007, 1.00000024, -8.19564079e-008, -1.00000119, -1.41561088e-007, 1, 8.19564079e-008, 5.96046519e-008))
  828. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  829. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
  830. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199989319, -0.149998665, 0.359992981, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  831. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  832. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.900000095))
  833. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.47955322e-005, -1.30999947, -0.060043335, 5.96046519e-008, 1.41561088e-007, 1.00000024, 8.19564079e-008, 1.00000119, 1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
  834. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  835. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.300000012))
  836. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.7220459e-006, 0.20000267, 0.150001526, 5.96046519e-008, 1.41561088e-007, 1.00000024, 8.19564079e-008, 1.00000119, 1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
  837. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  838. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
  839. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.199836731, -0.149998665, 0.36003685, -1, -8.19564079e-008, -5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, -5.96046519e-008, -1.41561088e-007, -1.00000024))
  840. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  841. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.5, 0.200000003))
  842. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.52587891e-005, 0.659998894, 0.489944458, -5.96046519e-008, -1.41561088e-007, -1.00000024, -8.19564079e-008, -1.00000119, -1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
  843. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  844. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
  845. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.199981689, -0.149999619, 0.360010147, -1, -8.19564079e-008, -5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, -5.96046519e-008, -1.41561088e-007, -1.00000024))
  846. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  847. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.899999976))
  848. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.67028809e-005, 0.309998512, -0.0600509644, -5.96046519e-008, -1.41561088e-007, -1.00000024, -8.19564079e-008, -1.00000119, -1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
  849. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  850. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.300000012, 0.200000003))
  851. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.33514404e-005, -1.06000042, 0.489936829, 5.96046519e-008, 1.41561088e-007, 1.00000024, 8.19564079e-008, 1.00000119, 1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
  852. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  853. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.200000003))
  854. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.62939453e-006, 0.200003624, 0.299987793, -5.96046519e-008, -1.41561088e-007, -1.00000024, 8.19564079e-008, 1.00000119, 1.41561088e-007, 1, 8.19564079e-008, 5.96046519e-008))
  855. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  856. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
  857. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-006, -1.30999947, 0.660049438, -5.96046519e-008, -1.41561088e-007, -1.00000024, 8.19564079e-008, 1.00000119, 1.41561088e-007, 1, 8.19564079e-008, 5.96046519e-008))
  858. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  859. LHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "LHandleR", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  860. LHandleRWeld = CFuncs.Weld.Create(m, RightLeg, LHandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00498962402, -0.0950021744, 0.00499534607, -1, 8.19564079e-008, -5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, -5.96046519e-008, 1.41561088e-007, -1.00000024))
  861. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.800000012, 0.800000012, 0.200000003))
  862. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00498962402, -0.00499916077, -0.604999542, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  863. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  864. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.600002289, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  865. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006))
  866. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.454998016, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  867. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.400000006, 1.20000005, 0.200000003))
  868. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00499725342, -0.00499916077, -0.604999542, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  869. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012))
  870. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00499725342, 0.0149993896, 0.00500297546, 2.28095047e-007, 1.00000775, 2.99581131e-007, -1.00000417, 5.63755016e-008, -4.06898749e-007, -2.98379774e-007, 2.07959161e-008, 1.0000037))
  871. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  872. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  873. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.604999542, -0.504998207, 0.29499054, -2.98023224e-008, -6.70552254e-008, -1.00000012, 3.7252903e-008, 1.0000006, 7.4505806e-008, 1, 4.47034836e-008, 2.98023224e-008))
  874. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  875. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  876. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.60499382, -0.495001793, 0.305000305, -5.96046519e-008, -1.41561088e-007, -1.00000024, -8.19564079e-008, -1.00000119, -1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
  877. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  878. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  879. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.604999542, -0.495001793, 0.29499054, 2.98023224e-008, 6.70552254e-008, 1.00000012, -3.7252903e-008, -1.0000006, -7.4505806e-008, 1, 4.47034836e-008, 2.98023224e-008))
  880. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  881. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  882. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.604999542, -0.504998207, 0.305000305, 2.98023224e-008, 6.70552254e-008, 1.00000012, 3.7252903e-008, 1.0000006, 7.4505806e-008, -1, -4.47034836e-008, -2.98023224e-008))
  883. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  884. LHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "LHandleL", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  885. LHandleLWeld = CFuncs.Weld.Create(m, LeftLeg, LHandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00498199463, -0.095000267, 0.00502204895, -1, 8.19564079e-008, -5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, -5.96046519e-008, 1.41561088e-007, -1.00000024))
  886. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  887. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.600001335, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  888. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.400000006, 1.20000005, 0.300000012))
  889. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00499725342, -0.00500106812, -0.554998398, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  890. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006))
  891. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.454999924, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  892. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012))
  893. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00499534607, 0.0149993896, 0.00500297546, 2.28095047e-007, 1.00000775, 2.99581131e-007, -1.00000417, 5.63755016e-008, -4.06898749e-007, -2.98379774e-007, 2.07959161e-008, 1.0000037))
  894. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  895. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.800000012, 0.800000012, 0.300000012))
  896. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00498962402, -0.00500106812, -0.554998398, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  897. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  898. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.554998398, -0.505000114, 0.305000305, 2.98023224e-008, 6.70552254e-008, 1.00000012, 3.7252903e-008, 1.0000006, 7.4505806e-008, -1, -4.47034836e-008, -2.98023224e-008))
  899. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  900. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  901. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.554998398, -0.505000114, 0.29499054, -2.98023224e-008, -6.70552254e-008, -1.00000012, 3.7252903e-008, 1.0000006, 7.4505806e-008, 1, 4.47034836e-008, 2.98023224e-008))
  902. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  903. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  904. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.554998398, -0.494999886, 0.29499054, 2.98023224e-008, 6.70552254e-008, 1.00000012, -3.7252903e-008, -1.0000006, -7.4505806e-008, 1, 4.47034836e-008, 2.98023224e-008))
  905. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  906. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  907. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.554998398, -0.494999886, 0.305000305, -5.96046519e-008, -1.41561088e-007, -1.00000024, -8.19564079e-008, -1.00000119, -1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
  908. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  909.  
  910. HandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "HandleR", Vector3.new(0.403949469, 0.452220112, 0.425030977))
  911. HandleRWeld = CFuncs.Weld.Create(m, Character["Right Arm"], HandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.637853563, -0.00997161865, 0.00182324648, 0, -1, 0, 1, 0, 0, 0, 0, 1))
  912. CFuncs.Mesh.Create("BlockMesh", Part6, "", "", Vector3.new(0, 0, 0), Vector3.new(0.48742649, 1, 1))
  913. sref = CFuncs.Part.Create(Character, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  914. sref.Anchored = true
  915.  
  916. coroutine.resume(coroutine.create(function(Part, Part2)
  917. while Part.Parent ~= nil do
  918. swait(math.random(100, 150))
  919. for i = 0, 1, 0.2 do
  920. wait()
  921. Eye1.Mesh.Scale = Vector3.new(1, .7 - 1 * i, 1)
  922. Eye2.Mesh.Scale = Vector3.new(1, .7 - 1 * i, 1)
  923. end
  924. for i = 0, 1, 0.2 do
  925. swait()
  926. Eye1.Mesh.Scale = Vector3.new(1, .7 + .3 * i, 1)
  927. Eye2.Mesh.Scale = Vector3.new(1, .7 + .3 * i, 1)
  928. end
  929. end
  930. end), Eye1, Eye2)
  931.  
  932. EffectModel = Create("Model")({Parent = Character, Name = "Effects"})
  933. Effects = {
  934. Block = {
  935. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  936. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  937. prt.Anchored = true
  938. prt.CFrame = cframe
  939. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  940. game:GetService("Debris"):AddItem(prt, 10)
  941. if Type == 1 or Type == nil then
  942. table.insert(Effects, {
  943. prt,
  944. "Block1",
  945. delay,
  946. x3,
  947. y3,
  948. z3,
  949. msh
  950. })
  951. elseif Type == 2 then
  952. table.insert(Effects, {
  953. prt,
  954. "Block2",
  955. delay,
  956. x3,
  957. y3,
  958. z3,
  959. msh
  960. })
  961. end
  962. end
  963. },
  964. Cylinder = {
  965. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  966. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  967. prt.Anchored = true
  968. prt.CFrame = cframe
  969. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  970. game:GetService("Debris"):AddItem(prt, 2)
  971. table.insert(Effects, {
  972. prt,
  973. "Cylinder",
  974. delay,
  975. x3,
  976. y3,
  977. z3,
  978. msh
  979. })
  980. end
  981. },
  982. Head = {
  983. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  984. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  985. prt.Anchored = true
  986. prt.CFrame = cframe
  987. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  988. game:GetService("Debris"):AddItem(prt, 10)
  989. table.insert(Effects, {
  990. prt,
  991. "Cylinder",
  992. delay,
  993. x3,
  994. y3,
  995. z3,
  996. msh
  997. })
  998. end
  999. },
  1000. Sphere = {
  1001. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1002. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1003. prt.Anchored = true
  1004. prt.CFrame = cframe
  1005. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1006. game:GetService("Debris"):AddItem(prt, 10)
  1007. table.insert(Effects, {
  1008. prt,
  1009. "Cylinder",
  1010. delay,
  1011. x3,
  1012. y3,
  1013. z3,
  1014. msh
  1015. })
  1016. end
  1017. },
  1018. Elect = {
  1019. Create = function(cff, x, y, z)
  1020. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Mid gray"), "Part", Vector3.new(1, 1, 1))
  1021. prt.Anchored = true
  1022. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  1023. prt.CFrame = CFrame.new(prt.Position)
  1024. game:GetService("Debris"):AddItem(prt, 2)
  1025. local xval = math.random() / 2
  1026. local yval = math.random() / 2
  1027. local zval = math.random() / 2
  1028. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  1029. table.insert(Effects, {
  1030. prt,
  1031. "Elec",
  1032. 0.1,
  1033. x,
  1034. y,
  1035. z,
  1036. xval,
  1037. yval,
  1038. zval
  1039. })
  1040. end
  1041. },
  1042. Ring = {
  1043. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1044. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1045. prt.Anchored = true
  1046. prt.CFrame = cframe
  1047. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1048. game:GetService("Debris"):AddItem(prt, 10)
  1049. table.insert(Effects, {
  1050. prt,
  1051. "Cylinder",
  1052. delay,
  1053. x3,
  1054. y3,
  1055. z3,
  1056. msh
  1057. })
  1058. end
  1059. },
  1060. Wave = {
  1061. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1062. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1063. prt.Anchored = true
  1064. prt.CFrame = cframe
  1065. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1066. game:GetService("Debris"):AddItem(prt, 10)
  1067. table.insert(Effects, {
  1068. prt,
  1069. "Cylinder",
  1070. delay,
  1071. x3,
  1072. y3,
  1073. z3,
  1074. msh
  1075. })
  1076. end
  1077. },
  1078. Break = {
  1079. Create = function(brickcolor, cframe, x1, y1, z1)
  1080. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1081. prt.Anchored = true
  1082. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1083. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1084. local num = math.random(10, 50) / 1000
  1085. game:GetService("Debris"):AddItem(prt, 10)
  1086. table.insert(Effects, {
  1087. prt,
  1088. "Shatter",
  1089. num,
  1090. prt.CFrame,
  1091. math.random() - math.random(),
  1092. 0,
  1093. math.random(50, 100) / 100
  1094. })
  1095. end
  1096. },
  1097. Fire = {
  1098. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  1099. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1100. prt.Anchored = true
  1101. prt.CFrame = cframe
  1102. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1103. game:GetService("Debris"):AddItem(prt, 10)
  1104. table.insert(Effects, {
  1105. prt,
  1106. "Fire",
  1107. delay,
  1108. 1,
  1109. 1,
  1110. 1,
  1111. msh
  1112. })
  1113. end
  1114. },
  1115. FireWave = {
  1116. Create = function(brickcolor, cframe, x1, y1, z1)
  1117. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  1118. prt.Anchored = true
  1119. prt.CFrame = cframe
  1120. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1121. local d = Create("Decal")({
  1122. Parent = prt,
  1123. Texture = "rbxassetid://26356434",
  1124. Face = "Top"
  1125. })
  1126. local d = Create("Decal")({
  1127. Parent = prt,
  1128. Texture = "rbxassetid://26356434",
  1129. Face = "Bottom"
  1130. })
  1131. game:GetService("Debris"):AddItem(prt, 10)
  1132. table.insert(Effects, {
  1133. prt,
  1134. "FireWave",
  1135. 1,
  1136. 30,
  1137. math.random(400, 600) / 100,
  1138. msh
  1139. })
  1140. end
  1141. },
  1142. Lightning = {
  1143. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  1144. local magz = (p0 - p1).magnitude
  1145. local curpos = p0
  1146. local trz = {
  1147. -ofs,
  1148. ofs
  1149. }
  1150. for i = 1, tym do
  1151. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  1152. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1153. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  1154. li.Material = "Neon"
  1155. if tym == i then
  1156. local magz2 = (curpos - p1).magnitude
  1157. li.Size = Vector3.new(th, th, magz2)
  1158. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  1159. table.insert(Effects, {
  1160. li,
  1161. "Disappear",
  1162. last
  1163. })
  1164. else
  1165. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  1166. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  1167. game.Debris:AddItem(li, 10)
  1168. table.insert(Effects, {
  1169. li,
  1170. "Disappear",
  1171. last
  1172. })
  1173. end
  1174. end
  1175. end
  1176. },
  1177. EffectTemplate = {}
  1178. }
  1179. local ptz2 = {1.5, 1.6, 1.7, 1.8, 1.9, 2}
  1180. function attackone()
  1181. attack = true
  1182. CFuncs.Sound.Create("169445184", HitboxR, 1, 0.9)
  1183. for i = 0, 1, 0.12 do
  1184. swait()
  1185. Effects.Elect.Create(HitboxR.CFrame, 2, 2, 2)
  1186. --[[
  1187. PlayAnimationFromTable({CFrame.new(0.000151857734, -0.310488015, -0.087417841, 0.707106054, 5.26835073e-008, -0.707107484, 0.122787014, 0.984807968, 0.122786865, 0.696365058, -0.173646957, 0.696363688), CFrame.new(0.101928703, 1.50244772, -0.0383823365, 0.76589334, 0.0762532279, 0.638430059, -0.0196644422, 0.995256186, -0.095281601, -0.642666996, 0.0604211651, 0.763759375), CFrame.new(1.01774633, 0.557527065, -0.776187301, 0.541353703, 0.741649806, 0.396095604, 0.711713314, -0.153383806, -0.685520053, -0.447661191, 0.653015316, -0.610876858), CFrame.new(-1.07208586, 0.264054269, -0.716768324, 0.529938459, -0.260122895, -0.807156265, -0.752277017, 0.295165181, -0.589030504, 0.39146477, 0.919355154, -0.039265126), CFrame.new(0.81415844, -1.89738977, 0.144144416, 0.866025925, -0.171008825, 0.469845951, -1.40815973e-006, 0.939692497, 0.342020512, -0.499999285, -0.296199232, 0.813797772), CFrame.new(-0.818738878, -1.59999573, -0.397991776, 0.642786622, 0.0667650178, 0.763130188, 4.3399632e-007, 0.99619472, -0.0871558338, -0.766045213, 0.0560229495, 0.640340626)}, 0.3, false)
  1188. ]]
  1189. PlayAnimationFromTable(AnimTable.RepulseAttack1.Animation(1), 0.3, false)
  1190. end
  1191. MagnitudeDamage(HitboxR, 7, 7, 14, math.random(1, 3), "Normal", "260430079", 1)
  1192. CFuncs.Sound.Create("200633077", HitboxR, 1, ptz2[math.random(1,#ptz2)])
  1193. RootPart.Velocity = RootPart.CFrame.lookVector * 40
  1194. for i = 0, 1, 0.11 do
  1195. swait()
  1196. Effects.Elect.Create(HitboxR.CFrame, 2, 2, 2)
  1197. --[[
  1198. PlayAnimationFromTable({CFrame.new(0.31380862, -0.320521832, 0.0252371654, 0.249517962, -0.150383011, 0.956622124, -0.0458769947, 0.984923244, 0.166798219, -0.967282891, -0.0855060965, 0.238856897), CFrame.new(0.101926193, 1.50244832, -0.0383800864, 0.337979913, 0.0762555003, -0.938059092, -0.0828148723, 0.995255768, 0.051067099, 0.937502801, 0.0604255944, 0.342691481), CFrame.new(1.96121001, 0.774859428, -0.462411612, 0.340120375, -0.92077136, 0.191045195, 0.466549307, -0.0111669078, -0.884424806, 0.816486418, 0.389942825, 0.42578721), CFrame.new(-1.36170578, 0.526111126, -0.597925961, 0.81348151, -0.212761745, -0.541276693, -0.539894938, 0.0697831511, -0.838834763, 0.216243982, 0.974609077, -0.0581016839), CFrame.new(0.970680714, -1.68610644, -0.0975568295, 0.579166114, -0.127570763, -0.805166125, 0.110368893, 0.990856647, -0.0776019096, 0.807703912, -0.0439208932, 0.587950349), CFrame.new(-0.827146292, -1.8113209, -0.0556658059, 0.816036701, 0.217413262, -0.535551846, -0.0871567726, 0.962250471, 0.257832885, 0.571391284, -0.163724124, 0.804180741)}, 0.45, false)
  1199. ]]
  1200. PlayAnimationFromTable(AnimTable.RepulseAttack1.Animation(2), 0.45, false)
  1201. end
  1202. attack = false
  1203. end
  1204. function attacktwo()
  1205. attack = true
  1206. CFuncs.Sound.Create("169445226", HitboxR, 1, 1)
  1207. for i = 0, 1, 0.12 do
  1208. swait()
  1209. Effects.Elect.Create(HitboxL.CFrame, 3, 3, 3)
  1210. PlayAnimationFromTable(AnimTable.RepulseAttack2.Animation(1), 0.34, false)
  1211. end
  1212. MagnitudeDamage(HitboxL, 7, 7, 14, math.random(1, 3), "Normal", "260430079", 1.1)
  1213. CFuncs.Sound.Create("200633077", HitboxL, 1, ptz2[math.random(1,#ptz2)])
  1214. RootPart.Velocity = RootPart.CFrame.lookVector * 40
  1215. for i = 0, 1, 0.12 do
  1216. swait()
  1217. Effects.Elect.Create(HitboxL.CFrame, 3, 3, 3)
  1218. PlayAnimationFromTable(AnimTable.RepulseAttack2.Animation(2), 0.45, false)
  1219. end
  1220. attack = false
  1221. end
  1222. function attackthree()
  1223. attack = true
  1224. CFuncs.Sound.Create("169445226", LeftLeg, 1, 0.8)
  1225. for i = 0, 1, 0.12 do
  1226. swait()
  1227. Effects.Elect.Create(LeftLeg.CFrame, 3, 3, 3)
  1228. PlayAnimationFromTable(AnimTable.RepulseAttack3.Animation(1), 0.35, false)
  1229. end
  1230. MagnitudeDamage(HitboxL, 7, 8, 10, math.random(1, 3), "Normal", "260430060", 1)
  1231. CFuncs.Sound.Create("200633077", LeftLeg, 1, ptz2[math.random(1,#ptz2)])
  1232. RootPart.Velocity = RootPart.CFrame.lookVector * 20
  1233. for i = 0, 1, 0.14 do
  1234. swait()
  1235. Effects.Elect.Create(LeftLeg.CFrame, 3, 3, 3)
  1236. PlayAnimationFromTable(AnimTable.RepulseAttack3.Animation(2), 0.5, false)
  1237. end
  1238. attack = false
  1239. end
  1240. function attackfour()
  1241. attack = true
  1242. CFuncs.Sound.Create("238319531", HitboxR, 1, 1)
  1243. for i = 0, 1, 0.1 do
  1244. swait()
  1245. Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxR.CFrame, 0.5, 0.5, 0.5, 1.5, 1.5, 1.5, 0.1)
  1246. Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxL.CFrame, 0.5, 0.5, 0.5, 1.5, 1.5, 1.5, 0.1)
  1247. Effects.Elect.Create(HitboxR.CFrame, 3, 3, 3)
  1248. Effects.Elect.Create(HitboxL.CFrame, 3, 3, 3)
  1249. PlayAnimationFromTable(AnimTable.RepulseAttack4.Animation(1), 0.4, false)
  1250. end
  1251. MagnitudeDamage(Torso, 15, 10, 15, math.random(1, 3), "Normal", "161006093", 0.8)
  1252. CFuncs.Sound.Create("192410077 ", Torso, 1, 1)
  1253. for i = 1, 20 do
  1254. Effects.Elect.Create(Torso.CFrame, 10, 10, 10)
  1255. end
  1256. Effects.Sphere.Create(BrickColor.new("Mid gray"), Torso.CFrame, 1, 1, 1, 7, 7, 7, 0.08)
  1257. Effects.Sphere.Create(BrickColor.new("Really black"), Torso.CFrame, 1, 1, 1, 5, 5, 5, 0.08)
  1258. for i = 0, 1, 0.1 do
  1259. swait()
  1260. RootPart.Velocity = RootPart.CFrame.lookVector * -50
  1261. Effects.Elect.Create(HitboxR.CFrame, 3, 3, 3)
  1262. Effects.Elect.Create(HitboxL.CFrame, 3, 3, 3)
  1263. PlayAnimationFromTable(AnimTable.RepulseAttack4.Animation(2), 0.43, false)
  1264. end
  1265. attack = false
  1266. end
  1267. local Grabbed = false
  1268. function EnergyBurst()
  1269. attack = true
  1270. for i = 0, 1, 0.2 do
  1271. swait()
  1272. PlayAnimationFromTable(AnimTable.RepulseEnergyB.Animation(1), 0.3, false)
  1273. end
  1274. CFuncs.Sound.Create("299440437", HitboxR, 1, 1.3)
  1275. CFuncs.Sound.Create("200632211", HitboxR, 1, 0.5)
  1276. CFuncs.Sound.Create("169445226", HitboxR, 1, 0.8)
  1277. local GGyro = Instance.new("BodyPosition")
  1278. local WhoTfDidYouGrab
  1279. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 15)) do
  1280. if v:FindFirstChild("Torso") then
  1281. Grabbed = true
  1282. CFuncs.Sound.Create("260430060", v.Torso, 1, 0.8)
  1283. WhoTfDidYouGrab = v
  1284. end
  1285. end
  1286. for i = 0, 1, 0.1 do
  1287. swait()
  1288. Effects.Elect.Create(HitboxR.CFrame, 4, 4, 4)
  1289. Effects.Block.Create(BrickColor.new("Mid gray"), sref.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  1290. if Grabbed == true then
  1291. WhoTfDidYouGrab.Humanoid.PlatformStand = true
  1292. GGyro.position = sref.Position
  1293. GGyro.Parent = WhoTfDidYouGrab.Torso
  1294. WhoTfDidYouGrab.Torso.CFrame = sref.CFrame
  1295. end
  1296. RootPart.Velocity = RootPart.CFrame.lookVector * 80
  1297. PlayAnimationFromTable(AnimTable.RepulseEnergyB.Animation(2), 0.3, false)
  1298. end
  1299. if Grabbed == true then
  1300. for i = 0, 1, 0.1 do
  1301. swait()
  1302. if Grabbed == true then
  1303. WhoTfDidYouGrab.Humanoid.PlatformStand = true
  1304. GGyro.position = sref.Position
  1305. GGyro.Parent = WhoTfDidYouGrab.Torso
  1306. WhoTfDidYouGrab.Torso.CFrame = sref.CFrame
  1307. end
  1308. --PlayAnimationFromTable(AnimTable.RepulseEnergyB.Animation(3), 0.2, false)
  1309. end
  1310. for i = 1, 5 do
  1311. for i = 0, 1, 0.15 do
  1312. swait()
  1313. if Grabbed == true then
  1314. WhoTfDidYouGrab.Humanoid.PlatformStand = true
  1315. GGyro.position = sref.Position
  1316. GGyro.Parent = WhoTfDidYouGrab.Torso
  1317. WhoTfDidYouGrab.Torso.CFrame = sref.CFrame
  1318. end
  1319. --PlayAnimationFromTable(AnimTable.RepulseEnergyB.Animation(4), 0.3, false)
  1320. end
  1321. MagnitudeDamage(HitboxR, 7, 5, 15, math.random(1, 3), "Normal", "161006093", 0.8)
  1322. CFuncs.Sound.Create("324867021", HitboxR, 1, 1)
  1323. for i = 1, 10 do
  1324. Effects.Elect.Create(Torso.CFrame, 10, 10, 10)
  1325. end
  1326. Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxR.CFrame, 1, 1, 1, 7, 7, 7, 0.08)
  1327. for i = 0, 1, 0.2 do
  1328. swait()
  1329. if Grabbed == true then
  1330. WhoTfDidYouGrab.Humanoid.PlatformStand = true
  1331. GGyro.position = sref.Position
  1332. GGyro.Parent = WhoTfDidYouGrab.Torso
  1333. WhoTfDidYouGrab.Torso.CFrame = sref.CFrame
  1334. end
  1335. --PlayAnimationFromTable(AnimTable.RepulseEnergyB.Animation(5), 0.3, false)
  1336. end
  1337. end
  1338. WhoTfDidYouGrab.Humanoid.PlatformStand = false
  1339. end
  1340. GGyro.Parent = nil
  1341. attack = false
  1342. Grabbed = false
  1343. end
  1344. local oys_teroomi = {"159882481","159882445","159882578","160212585"}
  1345. function ORA()
  1346. attack = true
  1347. for i = 0, 1, 0.2 do
  1348. swait()
  1349. PlayAnimationFromTable(AnimTable.RepulseEnergyB.Animation(1), 0.3, false)
  1350. end
  1351. CFuncs.Sound.Create(oys_teroomi[math.random(1,#oys_teroomi)], HitboxR, 1, 1)
  1352. local GGyro = Instance.new("BodyPosition")
  1353. local WhoTfDidYouGrab
  1354. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 15)) do
  1355. if v:FindFirstChild("Torso") then
  1356. Grabbed = true
  1357. CFuncs.Sound.Create("260430060", v.Torso, 1, 0.8)
  1358. WhoTfDidYouGrab = v
  1359. end
  1360. end
  1361. for i = 0, 1, 0.1 do
  1362. swait()
  1363. Effects.Elect.Create(HitboxR.CFrame, 4, 4, 4)
  1364. if Grabbed == true then
  1365. WhoTfDidYouGrab.Humanoid.PlatformStand = true
  1366. GGyro.position = sref.Position
  1367. GGyro.Parent = WhoTfDidYouGrab.Torso
  1368. WhoTfDidYouGrab.Torso.CFrame = sref.CFrame
  1369. end
  1370. PlayAnimationFromTable(AnimTable.RepulseEnergyB.Animation(2), 0.3, false)
  1371. end
  1372. if Grabbed == true then
  1373. for i = 0, 1, 0.2 do
  1374. swait()
  1375. PlayAnimationFromTable(AnimTable.RepulseORA.Animation(1), 0.3, false)
  1376. end
  1377. local DORA = CFuncs.Sound.Create("462996531", Torso, 1, 1)
  1378. Instance.new("DistortionSoundEffect", DORA).Level = 0.5
  1379. for i = 1, 13 do
  1380. RootPart.Velocity = RootPart.CFrame.lookVector * 5
  1381. for i = 0, 1, 0.5 do
  1382. swait()
  1383. Effects.Elect.Create(HitboxL.CFrame, 4, 4, 4)
  1384. Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxL.CFrame, 0.5, 0.5, 0.5, 1.5, 1.5, 1.5, 0.15)
  1385. PlayAnimationFromTable(AnimTable.RepulseORA.Animation(2), 0.7, false)
  1386. end
  1387. MagnitudeDamage(HitboxL, 5, 5, 6, 0, "Normal", "260430117", 1)
  1388. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  1389. Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxL.CFrame, 0.5, 0.5, 0.5, 2, 2, 2, 0.15)
  1390. RootPart.Velocity = RootPart.CFrame.lookVector * 5
  1391. for i = 0, 1, 0.5 do
  1392. swait()
  1393. Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxR.CFrame, 0.5, 0.5, 0.5, 1.5, 1.5, 1.5, 0.2)
  1394. PlayAnimationFromTable(AnimTable.RepulseORA.Animation(3), 0.7, false)
  1395. end
  1396. MagnitudeDamage(HitboxR, 5, 5, 6, 0, "Normal", "260430117", 1)
  1397. CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
  1398. Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxR.CFrame, 0.5, 0.5, 0.5, 2, 2, 2, 0.2)
  1399. end
  1400. WhoTfDidYouGrab.Humanoid.PlatformStand = false
  1401. end
  1402. GGyro.Parent = nil
  1403. attack = false
  1404. Grabbed = false
  1405. end
  1406. function EnergyField()
  1407. attack = true
  1408. local AntiJump = Humanoid.Changed:connect(function()
  1409. Humanoid.Jump = false
  1410. end)
  1411. Humanoid.WalkSpeed = 5
  1412. for i = 0, 1, 0.2 do
  1413. swait()
  1414. PlayAnimationFromTable(AnimTable.RepulseEnergyF.Animation(1), 0.35, false)
  1415. end
  1416. Humanoid.WalkSpeed = 0
  1417. for i = 0, 1, 0.15 do
  1418. swait()
  1419. PlayAnimationFromTable(AnimTable.RepulseEnergyF.Animation(2), 0.4, false)
  1420. end
  1421. local hitfloor2, posfloor2 = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
  1422. local eul = 0
  1423. local donum = 0
  1424. CFuncs.Sound.Create("300916082", Torso, 1, 1.35)
  1425. for i = 0, 4, 0.2 do
  1426. swait()
  1427. Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxL.CFrame, 0.5, 0.5, 0.5, 1.5, 1.5, 1.5, 0.09)
  1428. Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxR.CFrame, 0.5, 0.5, 0.5, 1.5, 1.5, 1.5, 0.09)
  1429. for i = 1, 5 do
  1430. Effects.Elect.Create(CFrame.new(posfloor2), 20, 20, 20)
  1431. end
  1432. Effects.Sphere.Create(BrickColor.new("Mid gray"), CFrame.new(posfloor2), 5, 5, 5, 10, 0, 10, 0.063)
  1433. if donum >= 15 then
  1434. donum = 0
  1435. local ref2 = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  1436. ref2.Anchored = true
  1437. ref2.CFrame = CFrame.new(posfloor2)
  1438. game:GetService("Debris"):AddItem(ref2, 1)
  1439. end
  1440. eul = eul + 0.2
  1441. donum = donum + 1
  1442. end
  1443. for i = 1, 50 do
  1444. Effects.Elect.Create(CFrame.new(posfloor2), 10, 10, 10)
  1445. end
  1446. MagnitudeDamage(Torso, 20, 15, 18, math.random(1, 3), "Up", "161006093", 0.8)
  1447. CFuncs.Sound.Create("161006182", Torso, 1, 0.7)
  1448. CFuncs.Sound.Create("300916105", Torso, 0.5, 1.1)
  1449. CFuncs.Sound.Create("324867021", Torso, 1, 0.9)
  1450. Effects.Block.Create(BrickColor.new("Mid gray"), CFrame.new(posfloor2), 5, 5, 5, 6, 6, 6, 0.05, 1)
  1451. Effects.Sphere.Create(BrickColor.new("Mid gray"), CFrame.new(posfloor2), 6, 6, 6, 10, 10, 10, 0.05)
  1452. Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxL.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.045)
  1453. Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxR.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.045)
  1454. Effects.Cylinder.Create(BrickColor.new("Really black"), CFrame.new(posfloor2), 45, 100000, 45, 3, 0, 3, 0.03)
  1455. Humanoid.WalkSpeed = 20
  1456. AntiJump:disconnect()
  1457. attack = false
  1458. end
  1459. function findNearestTorso(pos)
  1460. local list = game.Workspace:children()
  1461. local torso
  1462. local dist = 1000
  1463. local temp, human, temp2
  1464. for x = 1, #list do
  1465. temp2 = list[x]
  1466. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  1467. temp = temp2:findFirstChild("Torso")
  1468. human = temp2:findFirstChild("Humanoid")
  1469. if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then
  1470. local dohit = true
  1471. if dohit == true then
  1472. torso = temp
  1473. dist = (temp.Position - pos).magnitude
  1474. end
  1475. end
  1476. end
  1477. end
  1478. return torso, dist
  1479. end
  1480. function TrueAim(aim, mainaim)
  1481. -- is this my life now :>
  1482. local target, distance = findNearestTorso(Mouse.Hit.p)
  1483. local tehcf = mainaim
  1484. if aim ~= nil then
  1485. tehcf = aim
  1486. end
  1487. table.insert(Effects, {
  1488. tehcf,
  1489. "Shoot",
  1490. 20,
  1491. HitboxR.Position,
  1492. 1,
  1493. 5,
  1494. 0,
  1495. 3,
  1496. HitboxR,
  1497. target
  1498. })
  1499. end
  1500. warn(string.reverse("suinecS yb dexiF"))
  1501. function FireProjectiles()
  1502. attack = true
  1503. for i = 0, 1, 0.2 do
  1504. swait()
  1505. PlayAnimationFromTable(AnimTable.RepulseEnergyF.Animation(1), 0.35, false)
  1506. end
  1507. Humanoid.WalkSpeed = 0
  1508. for i = 0, 1, 0.15 do
  1509. swait()
  1510. PlayAnimationFromTable(AnimTable.RepulseEnergyF.Animation(2), 0.4, false)
  1511. end
  1512. CFuncs.Sound.Create("300915902", HitboxR, 1, 0.8)
  1513. local hitfloor2, posfloor2 = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
  1514. local magi = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  1515. local msh = CFuncs.Mesh.Create("BlockMesh",magi,"","",Vector3.new(0, 0, 0), Vector3.new(1,1.6754,1))
  1516. local dec = Instance.new('Decal',magi) dec.Texture = "http://www.roblox.com/asset/?id=342201299" dec.Face="Top" dec.Color3=Color3.new(255,255,255)
  1517. local decc = dec:clone() decc.Face="Bottom"
  1518. magi.Anchored = true
  1519. magi.CFrame = CFrame.new(posfloor2)
  1520. for i = 1, 50 do
  1521. swait()
  1522. msh.Scale = msh.Scale:lerp(Vector3.new(120,0,120),.05)
  1523. if i % 3 == 0 then
  1524. Effects.Wave.Create(BrickColor.new('White'), magi.CFrame, 5, 5, 5, 1, 0, 1, 0.1)
  1525. end
  1526. end
  1527. for i = 0, 1, 0.08 do
  1528. swait()
  1529. Effects.Elect.Create(HitboxR.CFrame, 2, 2, 2)
  1530. PlayAnimationFromTable(AnimTable.RepulseShoot.Animation(1), 0.3, false)
  1531. end
  1532. for i = 0, 1, 0.08 do
  1533. swait()
  1534. Effects.Elect.Create(HitboxR.CFrame, 3, 3, 3)
  1535. Effects.Block.Create(BrickColor.new("Mid gray"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
  1536. Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
  1537. PlayAnimationFromTable(AnimTable.RepulseShoot.Animation(2), 0.2, false)
  1538. end
  1539. for i = 1, 3 do
  1540. for i = 0, 1, 0.15 do
  1541. swait()
  1542. Effects.Elect.Create(HitboxR.CFrame, 3, 3, 3)
  1543. Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
  1544. PlayAnimationFromTable(AnimTable.RepulseShoot.Animation(3), 0.3, false)
  1545. end
  1546. Effects.Wave.Create(BrickColor.new('Really black'), magi.CFrame, 35, 15, 35, -2, -1, -2, 0.05)
  1547. CFuncs.Sound.Create("300916105", HitboxR, 1, 1.2)
  1548. CFuncs.Sound.Create("300916014", HitboxR, 1, 1)
  1549. Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxR.CFrame, 1, 1, 1, 2, 2, 2, 0.07)
  1550. local MouseLook = CFrame.new((magi.Position + Mouse.Hit.p) / 2, Mouse.Hit.p)
  1551. TrueAim(MouseLook.lookVector,MouseLook.lookVector)
  1552. for i = 0, 1, 0.15 do
  1553. swait()
  1554. Effects.Elect.Create(HitboxR.CFrame, 3, 3, 3)
  1555. Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
  1556. PlayAnimationFromTable(AnimTable.RepulseShoot.Animation(4), 0.3, false)
  1557. end
  1558. end
  1559. Humanoid.WalkSpeed = 20
  1560. attack = false
  1561. for i = 0, 1, 0.05 do
  1562. swait()
  1563. dec.Transparency=i
  1564. decc.Transparency=i
  1565. end
  1566. dec.Transparency=1
  1567. decc.Transparency=1
  1568. game:GetService("Debris"):AddItem(magi,1)
  1569. end
  1570. Mouse.Button1Down:connect(function()
  1571. if attack == false and attacktype == 1 then
  1572. attacktype = 2
  1573. attackone()
  1574. elseif attack == false and attacktype == 2 then
  1575. attacktype = 3
  1576. attacktwo()
  1577. elseif attack == false and attacktype == 3 then
  1578. attacktype = 4
  1579. attackthree()
  1580. elseif attack == false and attacktype == 4 then
  1581. attacktype = 1
  1582. attackfour()
  1583. end
  1584. end)
  1585. Mouse.KeyDown:connect(function(k)
  1586. k = k:lower()
  1587. if attack == false and k == "v" then --and cooldown4 >= co4 then
  1588. cooldown4 = 0
  1589. EnergyBurst()
  1590. elseif attack == false and k == "x" then --and cooldown2 >= co2 then
  1591. cooldown2 = 0
  1592. ORA()
  1593. elseif attack == false and k == "c" then --and cooldown3 >= co3 then
  1594. cooldown3 = 0
  1595. EnergyField()
  1596. elseif attack == false and k == "z" then --and cooldown1 >= co1 then
  1597. cooldown1 = 0
  1598. FireProjectiles()
  1599. end
  1600. end)
  1601. function updateskills()
  1602. if cooldown1 <= co1 then
  1603. cooldown1 = cooldown1 + 0.03333333333333333
  1604. end
  1605. if cooldown2 <= co2 then
  1606. cooldown2 = cooldown2 + 0.03333333333333333
  1607. end
  1608. if cooldown3 <= co3 then
  1609. cooldown3 = cooldown3 + 0.03333333333333333
  1610. end
  1611. if cooldown4 <= co4 then
  1612. cooldown4 = cooldown4 + 0.03333333333333333
  1613. end
  1614. end
  1615. while true do
  1616. swait()
  1617. if Humanoid.Health == 0 or Character == nil then
  1618. break
  1619. end
  1620. updateskills()
  1621. bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  1622. bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  1623. bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  1624. bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  1625. sref.CFrame = RightArm.CFrame * CFrame.new(0, -1.5, 0) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
  1626. for i, v in pairs(Character:GetChildren()) do
  1627. if v:IsA("Part") then
  1628. v.Material = "SmoothPlastic"
  1629. elseif v:IsA("Accessory") then
  1630. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1631. end
  1632. end
  1633. --Walk.Torso = CFrame.new(0, -0.240412444, -0.288435698, 0.996922016, 0, 0.0783994719, -0.0331330225, 0.906307876, 0.42131713, 0 + 0.5 * math.cos((sine) / 4), -0.422617942, 0.90351826 )
  1634. --Walk.RH = CFrame.new(0.5, -1.85 - 0.5 * math.cos((sine) / 4) / 2, 0 + 3 * math.sin((sine) / 4) / 2) * CFrame.Angles(math.rad(-80 * math.sin((sine) / 4)), math.rad(-3), math.rad(0))
  1635. --Walk.LH = CFrame.new(-0.5, -1.85 + 0.5 * math.cos((sine) / 4) / 2, 0 - 3 * math.sin((sine) / 4) / 2) * CFrame.Angles(math.rad(80 * math.sin((sine) / 4)), math.rad(3), math.rad(0))
  1636. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1637. velocity = RootPart.Velocity.y
  1638. sine = sine + change
  1639. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1640. if RootPart.Velocity.y > 1 and hit == nil then
  1641. Anim = "Jump"
  1642. if attack == false then
  1643. PlayAnimationFromTable({
  1644. CFrame.new(0, 0.0486936681, -0.0429394133, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1645. CFrame.new(0, 1.48698187, -0.0992434025, 1, 0, 0, 0, 0.98480767, 0.173648626, 0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1646. CFrame.new(1.66118193, 0.583681226, 0.430878729, 0.556951106, -0.772693694, -0.30454877, 0.830109596, 0.506009281, 0.234249175, -0.026898358, -0.383274168, 0.923242927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1647. CFrame.new(-1.65963519, 0.695907593, 0.339572817, 0.482961893, 0.810776234, 0.330741376, -0.866026103, 0.498096228, 0.0435779653, -0.129409045, -0.307477146, 0.94271481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1648. CFrame.new(0.499997795, -1.71809137, -0.102601528, 0.984807849, 3.55863392E-7, -0.173647791, 0.0593907312, 0.939692557, 0.336824298, 0.163175657, -0.342020214, 0.925416589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1649. CFrame.new(-0.599241376, -1.29528463, -0.396836221, 0.992403984, 0.086823605, 0.0871558413, -0.118890785, 0.858931601, 0.498097867, -0.0316142589, -0.504676282, 0.862729669) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1650. }, 0.3, false)
  1651. end
  1652. elseif RootPart.Velocity.y < -1 and hit == nil then
  1653. Anim = "Fall"
  1654. if attack == false then
  1655. PlayAnimationFromTable({
  1656. CFrame.new(0, -0.0520263538, -0.0354017057, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1657. CFrame.new(0, 1.51533091, -0.10684365, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1658. CFrame.new(1.67554009, 0.885679007, 0.385592818, 0.374123871, -0.696466088, -0.61234498, 0.914592147, 0.386364758, 0.119345918, 0.153468132, -0.604696095, 0.781530797) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1659. CFrame.new(-1.67474985, 0.999329269, 0.296636045, 0.250219911, 0.753912985, 0.607457995, -0.927206695, 0.367205799, -0.0738086402, -0.278707415, -0.544770718, 0.79091537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1660. CFrame.new(0.504494727, -1.81757987, -0.0935191363, 0.984807849, -0.0449431092, -0.167730823, 0.059390761, 0.99484998, 0.0821366012, 0.163175508, -0.0908504426, 0.982405365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1661. CFrame.new(-0.623603821, -1.49203336, -0.421764404, 0.992403865, 0.122534379, 0.0109562073, -0.118891656, 0.978150725, -0.17054674, -0.0316146575, 0.167948633, 0.985288799) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1662. }, 0.3, false)
  1663. end
  1664. elseif Torsovelocity < 1 and hit ~= nil then
  1665. Anim = "Idle"
  1666. if attack == false then
  1667. change = 1
  1668. PlayAnimationFromTable({
  1669. CFrame.new(0.0392251611, -0.399999946, -0.0661237091, 0.76604414, 0, 0.642788053, 0, 1, 0, -0.642788053, 0, 0.76604414) * CFrame.new(0, 0- 0.1 * math.cos((sine) / 6), 0) * CFrame.Angles(0, 0, 0),
  1670. CFrame.new(3.20374966e-007, 1.49998975, -3.20374966e-007, 0.76604712, 0.0560228042, -0.640339732, 2.79222441e-008, 0.996194661, 0.0871557072, 0.642792821, -0.0667651594, 0.763125181) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1671. CFrame.new(0.579222202, 0.891285896, -1.05190825, 0.561522603, 0.723551512, -0.401454747, 0.120765731, -0.551630616, -0.82529974, -0.818601489, 0.414942414, -0.397133231) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1672. CFrame.new(-1.61124444, 0.263379157, 0.32901755, 0.847116113, 0.408216923, 0.340225905, -0.468929023, 0.875426173, 0.117197424, -0.250000656, -0.258821666, 0.933012128) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1673. CFrame.new(0.771941304, -1.88623738, -0.0557135344, 0.816501081, -0.0616285168, -0.574043393, 0.0858317688, 0.996194422, 0.0151345003, 0.57092613, -0.0616286062, 0.818683982) * CFrame.new(0, 0+ 0.1 * math.cos((sine) / 6), 0) * CFrame.Angles(0, 0, 0),
  1674. CFrame.new(-0.699491143, -1.88838339, 0.0179257095, 0.903779387, 0.0983075202, -0.416555703, -0.0818995386, 0.995001972, 0.0571281463, 0.420089871, -0.0175155103, 0.907313585) * CFrame.new(0, 0+ 0.1 * math.cos((sine) / 6), 0) * CFrame.Angles(0, 0, 0),
  1675. }, .3, false)
  1676. end
  1677. elseif Torsovelocity > 2 and hit ~= nil then
  1678. Anim = "Walk"
  1679. if attack == false then
  1680. change = 2
  1681. PlayAnimationFromTable(AnimTable.RepWALK.Animation(1, sine), 0.3, false)
  1682. end
  1683. end
  1684. if 0 < #Effects then
  1685. for e = 1, #Effects do
  1686. if Effects[e] ~= nil then
  1687. local Thing = Effects[e]
  1688. if Thing ~= nil then
  1689. local Part = Thing[1]
  1690. local Mode = Thing[2]
  1691. local Delay = Thing[3]
  1692. local IncX = Thing[4]
  1693. local IncY = Thing[5]
  1694. local IncZ = Thing[6]
  1695. if Thing[2] == "Shoot" then
  1696. local Look = Thing[1]
  1697. local move = 5
  1698. local hit, pos = rayCast(Thing[4], Thing[1], move, Character)
  1699. if Thing[10] ~= nil then
  1700. da = pos
  1701. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1702. cfa = CFrame.new(Thing[4], pos)
  1703. tehCF = cfa:lerp(cf2, 0.2)
  1704. Thing[1] = tehCF.lookVector
  1705. end
  1706. local mag = (Thing[4] - pos).magnitude
  1707. Effects.Elect.Create(CFrame.new((Thing[4] + pos) / 2, pos), 4, 4, 4)
  1708. Effects.Sphere.Create(BrickColor.new("Mid gray"), CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, 3, 3, 5, 5, 5, 0.15)
  1709. Thing[4] = Thing[4] + Look * move
  1710. Thing[3] = Thing[3] - 1
  1711. if 2 < Thing[5] then
  1712. Thing[5] = Thing[5] - 0.3
  1713. Thing[6] = Thing[6] - 0.3
  1714. end
  1715. if hit ~= nil then
  1716. Thing[3] = 0
  1717. MagnitudeDamage(hit, 5, 10, 15, 0, "Normal", "161006093", 0.8)
  1718. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1719. ref.Anchored = true
  1720. ref.CFrame = CFrame.new(pos)
  1721. Effects.Block.Create(BrickColor.new("Mid gray"), CFrame.new(pos), 1, 1, 1, 3, 3, 3, 0.012)
  1722. Effects.Sphere.Create(BrickColor.new("Mid gray"), CFrame.new(pos), 5, 5, 5, 3, 3, 3, 0.01)
  1723. game:GetService("Debris"):AddItem(ref, 1)
  1724. end
  1725. if Thing[3] <= 0 then
  1726. table.remove(Effects, e)
  1727. end
  1728. end
  1729. if Thing[2] == "FireWave" then
  1730. if Thing[3] <= Thing[4] then
  1731. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1732. Thing[3] = Thing[3] + 1
  1733. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1734. else
  1735. Part.Parent = nil
  1736. table.remove(Effects, e)
  1737. end
  1738. end
  1739. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1740. if Thing[1].Transparency <= 1 then
  1741. if Thing[2] == "Block1" then
  1742. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1743. Mesh = Thing[7]
  1744. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1745. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1746. elseif Thing[2] == "Block2" then
  1747. Thing[1].CFrame = Thing[1].CFrame
  1748. Mesh = Thing[7]
  1749. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1750. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1751. elseif Thing[2] == "Fire" then
  1752. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1753. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1754. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1755. elseif Thing[2] == "Cylinder" then
  1756. Mesh = Thing[7]
  1757. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1758. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1759. elseif Thing[2] == "Blood" then
  1760. Mesh = Thing[7]
  1761. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1762. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1763. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1764. elseif Thing[2] == "Elec" then
  1765. Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9])
  1766. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1767. elseif Thing[2] == "Disappear" then
  1768. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1769. end
  1770. else
  1771. Part.Parent = nil
  1772. table.remove(Effects, e)
  1773. end
  1774. end
  1775. end
  1776. end
  1777. end
  1778. end
  1779. end
Add Comment
Please, Sign In to add comment