Advertisement
SheeityArtist

fuck off ass

Jan 4th, 2018 (edited)
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 228.54 KB | None | 0 0
  1. -- kk
  2. --[[
  3. Script leaked.
  4. Accept the REAL dreamer in return
  5. ]]
  6. ---------------------------------
  7. --Beautified by Sugarie Saffron--
  8. ---------------------------------
  9. Player = game:GetService("Players").LocalPlayer
  10. Character = Player.Character
  11. PlayerGui = Player.PlayerGui
  12. Backpack = Player.Backpack
  13. Torso = Character.Torso
  14. Head = Character.Head
  15. Humanoid = Character.Humanoid
  16. LeftArm = Character["Left Arm"]
  17. LeftLeg = Character["Left Leg"]
  18. RightArm = Character["Right Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LS = Torso["Left Shoulder"]
  21. LH = Torso["Left Hip"]
  22. RS = Torso["Right Shoulder"]
  23. RH = Torso["Right Hip"]
  24. Neck = Torso.Neck
  25. it = Instance.new
  26. vt = Vector3.new
  27. cf = CFrame.new
  28. euler = CFrame.fromEulerAnglesXYZ
  29. angles = CFrame.Angles
  30. mr = math.rad
  31. mr2 = math.random
  32. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  33. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  34. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  35. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  36. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  37. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  38. RootPart = Character.HumanoidRootPart
  39. RootJoint = RootPart.RootJoint
  40. RootCF = euler(-1.57, 0, 3.14)
  41. attack = false
  42. attackdebounce = false
  43. MMouse = Player:GetMouse()
  44. combo = 0
  45. local hitfloor, posfloor = nil, nil
  46. local idle = 0
  47. local Anim = "Idle"
  48. local Effects = {}
  49. local Weapon = {}
  50. local Welds = {}
  51. local Saber = {}
  52. local Buster = {}
  53. local decreaseatk = 0
  54. local decreasedef = 0
  55. local decreasemvmt = 0
  56. local manainc = 16
  57. local handle = nil
  58. local floating = false
  59. local testpart = it("Part")
  60. testpart.Anchored = true
  61. local Mode = "Normal"
  62. local cbuster = false
  63. local cshoot = false
  64. local cdebounce = false
  65. local sbreaker = false
  66. local shockshoot = false
  67. local shockdebounce = false
  68. local TehM = nil
  69. local sblazing = false
  70. local starshoot = false
  71. local stardebounce = false
  72. local busterlaser = false
  73. local sbreakerII = false
  74. local galacblazing = false
  75. local prising = false
  76. local move1 = "(Z)\nChaos Buster"
  77. local move2 = "(X)\nShocker Breaker"
  78. local move3 = "(C)\nStar Blazing"
  79. local move4 = "(V)\n"
  80. local cooldowns = {}
  81. local cooldown1 = 100
  82. table.insert(cooldowns, cooldown1)
  83. local cooldown2 = 100
  84. table.insert(cooldowns, cooldown2)
  85. local cooldown3 = 100
  86. table.insert(cooldowns, cooldown3)
  87. local cooldown4 = 100
  88. table.insert(cooldowns, cooldown4)
  89. local cooldownsadd = {}
  90. local cooldownadd1 = 0.16
  91. table.insert(cooldownsadd, cooldownadd1)
  92. local cooldownadd2 = 0.14
  93. table.insert(cooldownsadd, cooldownadd2)
  94. local cooldownadd3 = 0.12
  95. table.insert(cooldownsadd, cooldownadd3)
  96. local cooldownadd4 = 0.1
  97. table.insert(cooldownsadd, cooldownadd4)
  98. local cooldownmax = 100
  99. player = nil
  100. RSH = nil
  101. LSH = nil
  102. RW = Instance.new("Motor")
  103. LW = Instance.new("Motor")
  104. RW.Name = "Right Shoulder"
  105. LW.Name = "Left Shoulder"
  106. LH = Torso["Left Hip"]
  107. RH = Torso["Right Hip"]
  108. TorsoColor = Torso.BrickColor
  109. NewCol = BrickColor.new("Ghost grey").Color
  110. NewCol2 = BrickColor.new("Smoky grey").Color
  111. NewCol3 = BrickColor.new("Pearl").Color
  112.  
  113. New = function(Object, Parent, Name, Data)
  114. local Object = Instance.new(Object)
  115. for Index, Value in pairs(Data or {}) do
  116. Object[Index] = Value
  117. end
  118. Object.Parent = Parent
  119. Object.Name = Name
  120. return Object
  121. end
  122.  
  123. Player:ClearCharacterAppearance()
  124. for i, v in pairs(Player.Character:GetDescendants()) do
  125. if v:IsA("Shirt") or v:IsA("CharacterMesh") or v:IsA("Accessory") or v:IsA("Pants") or v:IsA("ShirtGraphic") or v.Name == "Chest" or v.Name == "FakeHeadM" or v:IsA("BodyColors") or v.Name == "FaysG" then
  126. v:Destroy()
  127. elseif v:IsA("Decal") then
  128. v.Texture = ""
  129. v.Transparency = 1
  130. end
  131. end
  132.  
  133. Instance.new("BoolValue",Character).Name = "HolyMode"
  134.  
  135. --coroutine.resume(coroutine.create(function()
  136. --while true do
  137. --swait()
  138. --for i, v in pairs(Player.Character:GetChildren()) do
  139. --if v:IsA("BodyColors") then v:Destroy() end
  140. --if v:IsA("BasePart") then v.BrickColor = BrickColor.new("Institutional white") end
  141. --end
  142. --end
  143. --end))
  144.  
  145. local bcols = Instance.new("BodyColors",Character)
  146. bcols.LeftArmColor = BrickColor.new("Institutional white")
  147. bcols.RightArmColor = BrickColor.new("Institutional white")
  148. bcols.LeftLegColor = BrickColor.new("Institutional white")
  149. bcols.RightLegColor = BrickColor.new("Institutional white")
  150. bcols.HeadColor = BrickColor.new("Institutional white")
  151. bcols.TorsoColor = BrickColor.new("Institutional white")
  152.  
  153. Head.Transparency = 1
  154. LACM = New("CharacterMesh",Character,"LACM",{MeshId = "279174949",BodyPart = "LeftArm"})
  155. LLCM = New("CharacterMesh",Character,"LLCM",{MeshId = "319336109",BodyPart = "LeftLeg"})
  156. RACM = New("CharacterMesh",Character,"RACM",{MeshId = "279174886",BodyPart = "RightArm"})
  157. RLCM = New("CharacterMesh",Character,"RLCM",{MeshId = "319336155",BodyPart = "RightLeg"})
  158. TOCM = New("CharacterMesh",Character,"TOCM",{MeshId = "376169183",BodyPart = "Torso"})
  159. Pants = New("Pants",Character,"Pantsa",{PantsTemplate = "rbxassetid://389479482"})
  160. Shirt = New("Shirt",Character,"Shirta",{ShirtTemplate = "rbxassetid://390381061"})
  161. ChestStuff = New("Model",Character,"ChestStuff",{})
  162. Collar = New("Part",ChestStuff,"Collar",{FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 1, 1),CFrame = CFrame.new(-1.70064068, 4.29996586, -16.7994385, 2.99409203e-06, 5.6751992e-10, -1, 1.17999421e-11, 0.999990225, 5.67524916e-10, 1, -1.18015302e-11, 2.99409203e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  163. Mesh = New("SpecialMesh",Collar,"Mesh",{Scale = Vector3.new(1.10000002, 1, 1),MeshId = "http://www.roblox.com/asset/?id=63717022",TextureId = "http://www.roblox.com/asset/?id=133861532 ",MeshType = Enum.MeshType.FileMesh,})
  164. Weld = New("ManualWeld",Collar,"Weld",{Part0 = Collar,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 1.29482317e-19, -2.25178137e-22, 1, 2.80755899e-22, 1, 2.25178137e-22, -1, 2.80755899e-22, 1.29482317e-19),C1 = CFrame.new(2.38418579e-07, 1.29998374, 0.499998093, 4.49431016e-21, 4.7225172e-22, 1, -6.79971797e-22, 0.999996424, -4.72250306e-22, -1, -6.79974725e-22, 4.49431016e-21),})
  165. Cape = New("Part",ChestStuff,"Cape",{FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 1, 0.200000003),CFrame = CFrame.new(-2.89767838, 2.38060069, -16.7990494, -2.52780637e-06, -0.642786622, -0.766044497, -2.34805711e-07, -0.766036451, 0.642780483, -0.999999464, 2.04442836e-06, 2.80171844e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  166. Mesh = New("SpecialMesh",Cape,"Mesh",{Scale = Vector3.new(2, 2.5, 0.5),MeshId = "http://www.roblox.com/asset/?id=63717022",TextureId = "http://www.roblox.com/asset/?id=64110954",MeshType = Enum.MeshType.FileMesh,})
  167. Weld = New("ManualWeld",Cape,"Weld",{Part0 = Cape,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 4.66283979e-07, -2.34796204e-07, -0.999999464, -0.642786622, -0.766043961, 1.19856935e-07, -0.766044497, 0.642786801, 5.08118433e-07),C1 = CFrame.new(0.000385522842, -0.61939311, 1.69703579, 4.49431016e-21, 4.7225172e-22, 1, -6.79971797e-22, 0.999996424, -4.72250306e-22, -1, -6.79974725e-22, 4.49431016e-21),})
  168. TailPart = New("Part",ChestStuff,"TailPart",{BrickColor = BrickColor.new("Institutional white"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-1.68723869, 2.17991281, -16.8110466, -0.866020024, 4.27408349e-06, -0.500009298, 0.433020443, 0.49998793, -0.749990582, 0.249997839, -0.866029561, -0.433005661),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  169. Mesh = New("SpecialMesh",TailPart,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.200000003),MeshId = "http://www.roblox.com/asset/?id=188635159",MeshType = Enum.MeshType.FileMesh,})
  170. Weld = New("ManualWeld",TailPart,"Weld",{Part0 = TailPart,Part1 = Torso,C0 = CFrame.new(0, 0, 0, -0.866020799, 0.433024675, 0.249995247, 6.86677186e-06, 0.499992818, -0.866029561, -0.500007987, -0.749997914, -0.433007151),C1 = CFrame.new(-0.0116074085, -0.820082188, 0.486596107, 4.49431016e-21, 4.7225172e-22, 1, -6.79971797e-22, 0.999996424, -4.72250306e-22, -1, -6.79974725e-22, 4.49431016e-21),})
  171. Pads = New("Part",ChestStuff,"Pads",{FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(2, 1, 0.899999976),CFrame = CFrame.new(-1.3506422, 3.89997244, -16.7994385, 3.60440413e-06, 7.15832755e-07, -1, 2.93740754e-10, 0.999993801, 7.15828321e-07, 1, -2.96322522e-10, 3.60440413e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  172. Mesh = New("SpecialMesh",Pads,"Mesh",{Scale = Vector3.new(2.20000005, 1.5, 2),MeshId = "http://www.roblox.com/asset/?id=340617875 ",TextureId = "http://www.roblox.com/asset/?id=340617950 ",MeshType = Enum.MeshType.FileMesh,})
  173. Weld = New("ManualWeld",Pads,"Weld",{Part0 = Pads,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 6.10310963e-07, 2.81943358e-10, 0.999998093, 7.15258068e-07, 0.999993563, -4.93400876e-10, -0.999997735, 1.19208619e-06, 6.10499455e-07),C1 = CFrame.new(1.84774399e-06, 0.899987936, 0.149999619, 4.49431016e-21, 4.7225172e-22, 1, -6.79971797e-22, 0.999996424, -4.72250306e-22, -1, -6.79974725e-22, 4.49431016e-21),})
  174. HeadStuff = New("Model",Character,"HeadStuff",{})
  175. FakeHead = New("Part",HeadStuff,"FakeHead",{BrickColor = BrickColor.new("Institutional white"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(2, 1, 1),CFrame = CFrame.new(-1.20064259, 4.49998093, -16.7994404, 2.99409203e-06, 5.67521974e-10, -1, 1.17999421e-11, 0.999993801, 5.67524916e-10, 1, -1.18015727e-11, 2.99409203e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  176. Mesh = New("SpecialMesh",FakeHead,"Mesh",{Scale = Vector3.new(1.25, 1.25, 1.25),})
  177. Weld = New("ManualWeld",FakeHead,"Weld",{Part0 = FakeHead,Part1 = Head,C0 = CFrame.new(0, 0, 0, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),C1 = CFrame.new(0, 0, 0, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),})
  178. Decal = New("Decal",FakeHead,"Decal",{Texture = "rbxassetid://1173606089",})
  179. Part = New("Part",HeadStuff,"Part",{BrickColor = BrickColor.new("Institutional white"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.600000024, 1, 0.600000024),CFrame = CFrame.new(-1.11440957, 4.48569775, -16.1841698, 0.939692736, -0.336824387, -0.0593881011, 0.3420178, 0.925411046, 0.163174689, -2.81353073e-06, -0.173646942, 0.984807968),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  180. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 0.600000024, 0.400000006),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  181. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = FakeHead,C0 = CFrame.new(0, 0, 0, 0.939692736, 0.342019916, 0, -0.336823881, 0.925416768, -0.173647955, -0.0593910515, 0.163175702, 0.984807789),C1 = CFrame.new(0.615270615, -0.0142831802, -0.0862312317, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),})
  182. Part = New("Part",HeadStuff,"Part",{BrickColor = BrickColor.new("Institutional white"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.600000024, 1, 0.600000024),CFrame = CFrame.new(-1.11441314, 4.48569679, -17.4147186, 0.939692736, -0.336823374, 0.0593939982, 0.3420178, 0.925411046, -0.163174689, -2.81353073e-06, 0.173648968, 0.984807611),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  183. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 0.600000024, 0.400000006),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  184. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = FakeHead,C0 = CFrame.new(0, 0, 0, 0.939692736, 0.342019916, 0, -0.336823881, 0.925416768, 0.173647955, 0.0593910515, -0.163175702, 0.984807789),C1 = CFrame.new(-0.615278244, -0.0142841339, -0.0862312317, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),})
  185. Part = New("Part",HeadStuff,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.599999845, 0.600000024, 0.600000024),CFrame = CFrame.new(-0.912314177, 3.93045259, -16.0799809, 0.939692736, -0.336824387, -0.0593881011, 0.3420178, 0.925411046, 0.163174689, -2.81353073e-06, -0.173646942, 0.984807968),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  186. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Sphere,})
  187. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = FakeHead,C0 = CFrame.new(0, 0, 0, 0.939692736, 0.342019916, 0, -0.336823881, 0.925416768, -0.173647955, -0.0593910515, 0.163175702, 0.984807789),C1 = CFrame.new(0.719459534, -0.569531918, -0.288326263, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),})
  188. Part = New("Part",HeadStuff,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.599999845, 0.600000024, 0.600000024),CFrame = CFrame.new(-0.912318468, 3.93045163, -17.5189056, 0.939692736, -0.336823374, 0.0593939982, 0.3420178, 0.925411046, -0.163174689, -2.81353073e-06, 0.173648968, 0.984807611),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  189. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Sphere,})
  190. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = FakeHead,C0 = CFrame.new(0, 0, 0, 0.939692736, 0.342019916, 0, -0.336823881, 0.925416768, 0.173647955, 0.0593910515, -0.163175702, 0.984807789),C1 = CFrame.new(-0.719465256, -0.569532871, -0.288326263, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),})
  191. Part = New("Part",HeadStuff,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(0.399999857, 0.200000003, 0.800000012),CFrame = CFrame.new(-0.699055672, 5.08261108, -16.7994595, 2.99409203e-06, -0.173647985, -0.984807849, 1.17999421e-11, 0.984801769, -0.173646912, 1, 5.1990645e-07, 2.94860729e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  192. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  193. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = FakeHead,C0 = CFrame.new(0, 0, 0, 0, -3.05623195e-42, 1, -0.173647985, 0.984807849, 0, -0.984807849, -0.173647985, 0),C1 = CFrame.new(-1.71661377e-05, 0.582633972, -0.501586914, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),})
  194. Part = New("Part",HeadStuff,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(0.300000012, 0.200000003, 0.800000012),CFrame = CFrame.new(-0.97226429, 5.15581608, -16.7994576, 2.99409203e-06, -0.499999851, -0.866026402, 1.17999421e-11, 0.866021037, -0.499996752, 1, 1.49703533e-06, 2.59296871e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  195. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  196. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = FakeHead,C0 = CFrame.new(0, 0, 0, 0, -3.05623195e-42, 1, -0.499999851, 0.866026402, 0, -0.866026402, -0.499999851, 0),C1 = CFrame.new(-1.71661377e-05, 0.655839443, -0.228378296, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),})
  197. Part = New("Part",HeadStuff,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 0.200000003, 0.800000012),CFrame = CFrame.new(-1.18975163, 5.10386324, -16.7994576, 2.99409203e-06, -0.766049445, -0.642793179, 1.17999421e-11, 0.642789185, -0.766044676, 1, 2.29361513e-06, 1.92459106e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  198. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  199. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = FakeHead,C0 = CFrame.new(0, 0, 0, 0, -3.05623195e-42, 1, -0.766049445, 0.642793179, 0, -0.642793179, -0.766049445, 0),C1 = CFrame.new(-1.71661377e-05, 0.603886127, -0.0108909607, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),})
  200. Horns = New("Part",HeadStuff,"Horns",{BrickColor = BrickColor.new("Institutional white"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(-1.70063961, 5.19996881, -16.7994366, 0, -6.38378239e-15, -1, 1.41440103e-16, 0.999987602, 6.38378239e-15, 1, 1.41440103e-16, 0),CanCollide = false,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  201. Mesh = New("SpecialMesh",Horns,"Mesh",{Offset = Vector3.new(0.100000001, 0, 0),Scale = Vector3.new(0.0109999999, 0.0170000009, 0.0120000001),MeshId = "rbxassetid://444893999",MeshType = Enum.MeshType.FileMesh,})
  202. Weld = New("ManualWeld",Horns,"Weld",{Part0 = Horns,Part1 = FakeHead,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(1.90734863e-06, 0.69999218, 0.49999702, 2.99409203e-06, 1.17999421e-11, 1, 5.67521974e-10, 0.999993801, -1.18015727e-11, -1, 5.67524916e-10, 2.99409203e-06),})
  203.  
  204. Visualizaaa = New("Model",Character,"Visualizaaa",{})
  205. MusicBars = New("Model",Visualizaaa,"MusicBars",{})
  206. Bar1 = New("Part",MusicBars,"Bar1",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(0, 6.23247004, -1.29999999e-05, 5.22534128e-06, -8.11779773e-06, -1, 5.66249719e-06, 1, -8.11776772e-06, 1, -5.6624549e-06, 5.22538721e-06),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  207. Mesh = New("BlockMesh",Bar1,"Mesh",{Offset = Vector3.new(0, 0, 400),Scale = Vector3.new(1000, 0, 1000),})
  208. Bar2 = New("Part",MusicBars,"Bar2",{BrickColor = BrickColor.new("Deep orange"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(0, 6.23247004, -1.29999999e-05, 0.342024833, -8.11779773e-06, -0.939690948, 8.09744597e-06, 1, -5.69152007e-06, 0.939690948, -5.6624549e-06, 0.342024803),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  209. Mesh = New("BlockMesh",Bar2,"Mesh",{Offset = Vector3.new(0, 0, 400),Scale = Vector3.new(1000, 0, 1000),})
  210. Bar3 = New("Part",MusicBars,"Bar3",{BrickColor = BrickColor.new("New Yeller"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(0, 6.23247004, -1.29999999e-05, 0.64279139, -8.11779864e-06, -0.766041458, 9.55572614e-06, 1, -2.57879196e-06, 0.766041577, -5.6624549e-06, 0.642791152),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  211. Mesh = New("BlockMesh",Bar3,"Mesh",{Offset = Vector3.new(0, 0, 400),Scale = Vector3.new(1000, 0, 1000),})
  212. Bar4 = New("Part",MusicBars,"Bar4",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(0, 6.23247004, -1.29999999e-05, 0.866028309, -8.11780046e-06, -0.499996245, 9.86144823e-06, 1, 8.44977876e-07, 0.499996513, -5.66245308e-06, 0.866027594),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  213. Mesh = New("BlockMesh",Bar4,"Mesh",{Offset = Vector3.new(0, 0, 400),Scale = Vector3.new(1000, 0, 1000),})
  214. Bar5 = New("Part",MusicBars,"Bar5",{BrickColor = BrickColor.new("Toothpaste"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(0, 6.23247004, -1.29999999e-05, 0.98481071, -8.11780501e-06, -0.173644096, 8.97774135e-06, 1, 4.16683679e-06, 0.173644513, -5.66244717e-06, 0.984808624),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  215. Mesh = New("BlockMesh",Bar5,"Mesh",{Offset = Vector3.new(0, 0, 400),Scale = Vector3.new(1000, 0, 1000),})
  216. Bar6 = New("Part",MusicBars,"Bar6",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(0, 6.23247004, -1.29999999e-05, 0.984813631, -8.1178141e-06, 0.173652858, 7.01119643e-06, 1, 6.98613439e-06, -0.173652411, -5.66242625e-06, 0.98480773),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  217. Mesh = New("BlockMesh",Bar6,"Mesh",{Offset = Vector3.new(0, 0, 400),Scale = Vector3.new(1000, 0, 1000),})
  218. Bar7 = New("Part",MusicBars,"Bar7",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(0, 6.23247004, -1.29999999e-05, 0.866025507, -8.11769951e-06, 0.499999821, 4.19891967e-06, 1, 8.9626601e-06, -0.499999821, -5.66243261e-06, 0.866025507),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  219. Mesh = New("BlockMesh",Bar7,"Mesh",{Offset = Vector3.new(0, 0, 400),Scale = Vector3.new(1000, 0, 1000),})
  220. Bar8 = New("Part",MusicBars,"Bar8",{BrickColor = BrickColor.new("Deep orange"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(0, 6.23247004, -1.29999999e-05, 0.642787993, -8.11769951e-06, 0.76604414, 8.80286279e-07, 1, 9.85826136e-06, -0.76604414, -5.66243216e-06, 0.642787993),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  221. Mesh = New("BlockMesh",Bar8,"Mesh",{Offset = Vector3.new(0, 0, 400),Scale = Vector3.new(1000, 0, 1000),})
  222. Bar9 = New("Part",MusicBars,"Bar9",{BrickColor = BrickColor.new("New Yeller"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(0, 6.23247004, -1.29999999e-05, 0.342020869, -8.1176986e-06, 0.939692378, -2.54452357e-06, 1, 9.56481381e-06, -0.939692438, -5.66243125e-06, 0.342020899),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  223. Mesh = New("BlockMesh",Bar9,"Mesh",{Offset = Vector3.new(0, 0, 400),Scale = Vector3.new(1000, 0, 1000),})
  224. Bar10 = New("Part",MusicBars,"Bar10",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(0, 6.23247004, -1.29999999e-05, -2.23513121e-06, -8.11721111e-06, 1, -5.66275912e-06, 1, 8.11719838e-06, -1, -5.66274093e-06, -2.23517713e-06),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  225. Mesh = New("BlockMesh",Bar10,"Mesh",{Offset = Vector3.new(0, 0, 400),Scale = Vector3.new(1000, 0, 1000),})
  226. Bar11 = New("Part",MusicBars,"Bar11",{BrickColor = BrickColor.new("Toothpaste"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(0, 6.23247004, -1.29999999e-05, -0.342022002, -8.11721111e-06, 0.939691961, -8.0974969e-06, 1, 5.69089616e-06, -0.939691961, -5.66274093e-06, -0.342021972),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  227. Mesh = New("BlockMesh",Bar11,"Mesh",{Offset = Vector3.new(0, 0, 400),Scale = Vector3.new(1000, 0, 1000),})
  228. Bar12 = New("Part",MusicBars,"Bar12",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(0, 6.23247004, -1.29999999e-05, -0.642789006, -8.11721111e-06, 0.766043425, -9.55555879e-06, 1, 2.5781892e-06, -0.766043365, -5.66274093e-06, -0.642788887),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  229. Mesh = New("BlockMesh",Bar12,"Mesh",{Offset = Vector3.new(0, 0, 400),Scale = Vector3.new(1000, 0, 1000),})
  230. Bar13 = New("Part",MusicBars,"Bar13",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(0, 6.23247004, -1.29999999e-05, -0.866026402, -8.11721111e-06, 0.499998927, -9.8610808e-06, 1, -8.45484237e-07, -0.499998719, -5.66274139e-06, -0.866026044),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  231. Mesh = New("BlockMesh",Bar13,"Mesh",{Offset = Vector3.new(0, 0, 400),Scale = Vector3.new(1000, 0, 1000),})
  232. Bar14 = New("Part",MusicBars,"Bar14",{BrickColor = BrickColor.new("Deep orange"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(0, 6.23247004, -1.29999999e-05, -0.984808862, -8.11721293e-06, 0.173647434, -8.97721475e-06, 1, -4.16717739e-06, -0.173646778, -5.6627423e-06, -0.984807849),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  233. Mesh = New("BlockMesh",Bar14,"Mesh",{Offset = Vector3.new(0, 0, 400),Scale = Vector3.new(1000, 0, 1000),})
  234. Bar15 = New("Part",MusicBars,"Bar15",{BrickColor = BrickColor.new("New Yeller"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(0, 6.23247004, -1.29999999e-05, -0.984810114, -8.11721929e-06, -0.173648164, -7.0105657e-06, 1, -6.98624353e-06, 0.173650384, -5.66274366e-06, -0.984807491),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  235. Mesh = New("BlockMesh",Bar15,"Mesh",{Offset = Vector3.new(0, 0, 400),Scale = Vector3.new(1000, 0, 1000),})
  236. Bar16 = New("Part",MusicBars,"Bar16",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(0, 6.23247004, -1.29999999e-05, -0.866031587, -8.11723839e-06, -0.499998778, -4.19833304e-06, 1, -8.96265465e-06, 0.50000602, -5.66274321e-06, -0.866025031),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  237. Mesh = New("BlockMesh",Bar16,"Mesh",{Offset = Vector3.new(0, 0, 400),Scale = Vector3.new(1000, 0, 1000),})
  238. Bar17 = New("Part",MusicBars,"Bar17",{BrickColor = BrickColor.new("Toothpaste"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(0, 6.23247004, -1.29999999e-05, -0.642786443, -8.11721293e-06, -0.766045451, -8.7965384e-07, 1, -9.8581404e-06, 0.766045511, -5.66282324e-06, -0.642786443),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  239. Mesh = New("BlockMesh",Bar17,"Mesh",{Offset = Vector3.new(0, 0, 400),Scale = Vector3.new(1000, 0, 1000),})
  240. Bar18 = New("Part",MusicBars,"Bar18",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(0, 6.23247004, -1.29999999e-05, -0.342018992, -8.11721293e-06, -0.939693034, 2.54507654e-06, 1, -9.56448275e-06, 0.939693332, -5.66282279e-06, -0.342018962),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  241. Mesh = New("BlockMesh",Bar18,"Mesh",{Offset = Vector3.new(0, 0, 400),Scale = Vector3.new(1000, 0, 1000),})
  242. Skybox = New("Part",Visualizaaa,"Skybox",{FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(0, 6.10749292, 0, 5.22534128e-06, -8.11779773e-06, -1, 5.66249719e-06, 1, -8.11776772e-06, 1, -5.6624549e-06, 5.22538721e-06),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,BrickColor = BrickColor.new("Really black")})
  243. Mesh = New("SpecialMesh",Skybox,"Mesh",{Scale = Vector3.new(-4000, -500, -4000),MeshId = "http://www.roblox.com/asset/?id=1527559",MeshType = Enum.MeshType.FileMesh,})
  244. Visualizaaa:MoveTo(Vector3.new(0,0,0))
  245.  
  246. local moosiks = Instance.new("Sound",Visualizaaa)
  247. moosiks.Volume = 1
  248. moosiks.Looped = true
  249. moosiks.SoundId = "rbxassetid://700654812"
  250. moosiks:Play()
  251.  
  252. for i,v in pairs(Character:children()) do
  253. if v.Name=="Glaciem" then
  254. v:Destroy()
  255. end
  256. end
  257.  
  258. for i,v in pairs(Backpack:children()) do
  259. if v.Name=="Glaciem" then
  260. v:Destroy()
  261. end
  262. end
  263.  
  264. local mdec = Instance.new("NumberValue", Decrease)
  265. mdec.Name = "DecreaseDef"
  266. mdec.Value = 0.4
  267. local mdec2 = Instance.new("NumberValue", Decrease)
  268. mdec2.Name = "DecreaseMvmt"
  269. mdec2.Value = 0.1
  270. local Neons = {BrickColor.new("Bright red"), BrickColor.new("Bright orange"), BrickColor.new("Bright yellow"), BrickColor.new("Bright green"), BrickColor.new("Bright blue"), BrickColor.new("Royal purple"), BrickColor.new("Bright violet")}
  271. local Animate = Humanoid.Animator
  272. local canjump = true
  273.  
  274. removeControl = function()
  275. canjump = false
  276. end
  277.  
  278. resumeControl = function()
  279. canjump = true
  280. end
  281.  
  282. Player.Character.Humanoid.Changed:connect(function()
  283. if canjump == false then
  284. Player.Character.Humanoid.Jump = false
  285. end
  286. end
  287. )
  288.  
  289. ArtificialHB = Instance.new("BindableEvent", script)
  290. ArtificialHB.Name = "Heartbeat"
  291. script:WaitForChild("Heartbeat")
  292. frame = 0.03333333333333333
  293. tf = 0
  294. allowframeloss = false
  295. tossremainder = false
  296. lastframe = tick()
  297. script.Heartbeat:Fire()
  298. game:GetService("RunService").Heartbeat:connect(function(s, p)
  299. tf = tf + s
  300. if tf >= frame then
  301. if allowframeloss then
  302. script.Heartbeat:Fire()
  303. lastframe = tick()
  304. else
  305. for i = 1, math.floor(tf / frame) do
  306. script.Heartbeat:Fire()
  307. end
  308. lastframe = tick()
  309. end
  310. if tossremainder then
  311. tf = 0
  312. else
  313. tf = tf - frame * math.floor(tf / frame)
  314. end
  315. end
  316. end)
  317. function swait(num)
  318. if num == 0 or num == nil then
  319. ArtificialHB.Event:wait()
  320. else
  321. for i = 0, num do
  322. ArtificialHB.Event:wait()
  323. end
  324. end
  325. end
  326.  
  327.  
  328. speed = 2
  329. speeddep = true
  330. coroutine.resume(coroutine.create(function()
  331. while true do
  332. swait()
  333. if moosiks.IsPlaying == true then
  334. if speeddep == true then
  335. Skybox.CFrame = Skybox.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(speed*(moosiks.PlaybackLoudness/500)),0)
  336. for i, v in pairs(MusicBars:GetChildren()) do
  337. v.CFrame = v.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(-speed*(moosiks.PlaybackLoudness/500)),0)
  338. v.Mesh.Scale = Vector3.new(1000,(moosiks.PlaybackLoudness)*20,1000)
  339. end
  340. elseif speeddep == false then
  341. Skybox.CFrame = Skybox.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(speed),0)
  342. for i, v in pairs(MusicBars:GetChildren()) do
  343. v.CFrame = v.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(-speed),0)
  344. v.Mesh.Scale = Vector3.new(1000,(moosiks.PlaybackLoudness)*20,1000)
  345. end
  346. end
  347. end
  348. end
  349. end))
  350.  
  351. createpassgui = function(parent)
  352. print("makegui111")
  353. local g = Instance.new("ScreenGui", parent)
  354. local f = Instance.new("Frame", g)
  355. f.Position = UDim2.new(0.3, 0, 0.25, 0)
  356. f.Size = UDim2.new(0.4, 0, 0.4, 0)
  357. f.Style = "DropShadow"
  358. local t = Instance.new("TextBox", f)
  359. t.BackgroundColor3 = Color3.new(0, 0, 0)
  360. t.BackgroundTransparency = 0.5
  361. t.BorderSizePixel = 0
  362. t.Position = UDim2.new(0.15, 0, 0.2, 0)
  363. t.Size = UDim2.new(0.7, 0, 0.2, 0)
  364. t.Font = "SourceSansLight"
  365. t.Text = "Enter Access Code."
  366. t.TextScaled = true
  367. t.TextColor3 = Color3.new(1, 1, 1)
  368. t.TextStrokeTransparency = 0
  369. local t2 = Instance.new("TextButton", f)
  370. t2.BackgroundColor3 = Color3.new(0, 0, 0)
  371. t2.BackgroundTransparency = 0.5
  372. t2.BorderSizePixel = 0
  373. t2.Position = UDim2.new(0.3, 0, 0.5, 0)
  374. t2.Size = UDim2.new(0.4, 0, 0.15, 0)
  375. t2.TextScaled = true
  376. t2.Font = "SourceSansLight"
  377. t2.Text = "Submit"
  378. t2.TextColor3 = Color3.new(1, 1, 1)
  379. t2.TextStrokeTransparency = 0
  380. print("done1")
  381. return t2
  382. end
  383.  
  384. for i,v in pairs(Character:children()) do
  385. if v.Name=="Glaciem" then
  386. v:Destroy()
  387. end
  388. end
  389.  
  390. for i,v in pairs(Backpack:children()) do
  391. if v.Name=="Glaciem" then
  392. v:Destroy()
  393. end
  394. end
  395.  
  396. if Character:findFirstChild("Handles", true) ~= nil then
  397. Character:findFirstChild("Handles", true).Parent = nil
  398. end
  399. if Character:findFirstChild("Chaos Saber", true) ~= nil then
  400. Character:findFirstChild("Chaos Saber", true).Parent = nil
  401. end
  402. if Character:findFirstChild("Chaos Buster", true) ~= nil then
  403. Character:findFirstChild("Chaos Buster", true).Parent = nil
  404. end
  405. if Character:findFirstChild("Chaos Buster Rainbow", true) ~= nil then
  406. Character:findFirstChild("Chaos Buster Rainbow", true).Parent = nil
  407. end
  408. if Character:findFirstChild("Effects", true) ~= nil then
  409. Character:findFirstChild("Effects", true).Parent = nil
  410. end
  411. if Player.PlayerGui:findFirstChild("WeaponGUI", true) ~= nil then
  412. Player.PlayerGui:findFirstChild("WeaponGUI", true).Parent = nil
  413. end
  414. if Character:findFirstChild("Stats", true) ~= nil then
  415. Character:findFirstChild("Stats", true).Parent = nil
  416. end
  417. local Stats = Instance.new("BoolValue")
  418. Stats.Name = "Stats"
  419. Stats.Parent = Character
  420. local Atk = Instance.new("NumberValue")
  421. Atk.Name = "Damage"
  422. Atk.Parent = Stats
  423. Atk.Value = 1
  424. local Def = Instance.new("NumberValue")
  425. Def.Name = "Defense"
  426. Def.Parent = Stats
  427. Def.Value = 1
  428. local Mvmt = Instance.new("NumberValue")
  429. Mvmt.Name = "Movement"
  430. Mvmt.Parent = Stats
  431. Mvmt.Value = 1
  432. local Block = Instance.new("BoolValue")
  433. Block.Name = "Block"
  434. Block.Parent = Stats
  435. Block.Value = false
  436. local Stun = Instance.new("NumberValue")
  437. Stun.Name = "Stun"
  438. Stun.Parent = Stats
  439. Stun.Value = 0
  440. local StunT = Instance.new("NumberValue")
  441. StunT.Name = "StunThreshold"
  442. StunT.Parent = Stats
  443. StunT.Value = 80
  444. local Rooted = Instance.new("BoolValue")
  445. Rooted.Name = "Rooted"
  446. Rooted.Parent = Stats
  447. Rooted.Value = false
  448. local Stunned = Instance.new("BoolValue")
  449. Stunned.Name = "Stunned"
  450. Stunned.Parent = Stats
  451. Stunned.Value = false
  452. local Stagger = Instance.new("BoolValue")
  453. Stagger.Name = "Stagger"
  454. Stagger.Parent = Stats
  455. Stagger.Value = false
  456. local StaggerHit = Instance.new("BoolValue")
  457. StaggerHit.Name = "StaggerHit"
  458. StaggerHit.Parent = Stats
  459. StaggerHit.Value = false
  460. local RecentEnemy = Instance.new("ObjectValue")
  461. RecentEnemy.Name = "RecentEnemy"
  462. RecentEnemy.Parent = Stats
  463. RecentEnemy.Value = nil
  464. local Decrease = Instance.new("BoolValue")
  465. Decrease.Name = "Decrease"
  466. Decrease.Parent = Stats
  467. Decrease.Value = false
  468. local mana = Instance.new("NumberValue")
  469. mana.Name = "Mana"
  470. mana.Parent = Stats
  471. mana.Value = 0
  472. local passive1 = Instance.new("NumberValue", Decrease)
  473. passive1.Name = "DecreaseMvmt"
  474. passive1.Value = -0.1
  475. local passive2 = Instance.new("NumberValue", Decrease)
  476. passive2.Name = "DecreaseDef"
  477. passive2.Value = 0
  478. NoOutline = function(Part)
  479. Part.TopSurface = 10
  480. end
  481.  
  482. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  483. local fp = it("Part")
  484. fp.formFactor = formfactor
  485. fp.Parent = parent
  486. fp.Reflectance = reflectance
  487. fp.Transparency = transparency
  488. fp.CanCollide = false
  489. fp.Locked = true
  490. fp.BrickColor = brickcolor
  491. fp.Name = name
  492. fp.Size = size
  493. fp.Position = Torso.Position
  494. NoOutline(fp)
  495. fp.Material = "SmoothPlastic"
  496. fp:BreakJoints()
  497. return fp
  498. end
  499.  
  500. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  501. local mesh = it(Mesh)
  502. mesh.Parent = part
  503. if Mesh == "SpecialMesh" then
  504. mesh.MeshType = meshtype
  505. if meshid ~= "nil" then
  506. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  507. end
  508. end
  509. mesh.Offset = offset
  510. mesh.Scale = scale
  511. return mesh
  512. end
  513.  
  514. weld = function(parent, part0, part1, c0)
  515. local weld = it("Motor")
  516. weld.Parent = parent
  517. weld.Part0 = part0
  518. weld.Part1 = part1
  519. weld.C0 = c0
  520. return weld
  521. end
  522.  
  523. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  524. local gui = it(GuiType)
  525. gui.Parent = parent
  526. gui.Text = text
  527. gui.BackgroundTransparency = backtrans
  528. gui.BackgroundColor3 = backcol
  529. gui.SizeConstraint = "RelativeXY"
  530. gui.TextXAlignment = "Center"
  531. gui.TextYAlignment = "Center"
  532. gui.Position = pos
  533. gui.Size = size
  534. gui.Font = "SourceSans"
  535. gui.FontSize = "Size14"
  536. gui.TextWrapped = false
  537. gui.TextStrokeTransparency = 0
  538. gui.TextColor = BrickColor.new("White")
  539. return gui
  540. end
  541.  
  542. AesthPart = function(model, wldpar, reflec, trans, col, name, neon, meshh, mshtype, mshtxt, x1, y1, z1, ceef)
  543. prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt(.2,.2,.2))
  544. prt.Material = neon
  545. msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1))
  546. wld = weld(handle, prt, wldpar, ceef)
  547. v = it("NumberValue", prt)
  548. v.Value = trans
  549. v.Name = "MainTransparency"
  550. return prt, msh, wld
  551. end
  552.  
  553. local nr = NumberRange.new
  554. local ns = NumberSequence.new
  555. local cs = ColorSequence.new
  556. local nsk = NumberSequenceKeypoint.new
  557. particle = function(parent, col1, col2, lightemis, size, texture, transparency, zoffset, accel, drag, ltp, velinher, emisdir, enabled, lifetime, rate, rotation, rotspeed, speed, velspread)
  558. local fp = it("ParticleEmitter")
  559. fp.Parent = parent
  560. fp.Color = cs(col1, col2)
  561. fp.LightEmission = lightemis
  562. fp.Size = size
  563. fp.Texture = texture
  564. fp.Transparency = transparency
  565. fp.ZOffset = zoffset
  566. fp.Acceleration = accel
  567. fp.Drag = drag
  568. fp.LockedToPart = ltp
  569. fp.VelocityInheritance = velinher
  570. fp.EmissionDirection = emisdir
  571. fp.Enabled = enabled
  572. fp.Lifetime = lifetime
  573. fp.Rate = rate
  574. fp.Rotation = rotation
  575. fp.RotSpeed = rotspeed
  576. fp.Speed = speed
  577. fp.VelocitySpread = velspread
  578. return fp
  579. end
  580.  
  581. local Color1 = Torso.BrickColor
  582. local fengui = it("GuiMain")
  583. fengui.Parent = Player.PlayerGui
  584. fengui.Name = "WeaponGUI"
  585. local fenframe = it("Frame")
  586. fenframe.Parent = fengui
  587. fenframe.BackgroundColor3 = Color3.new(255, 255, 255)
  588. fenframe.BackgroundTransparency = 1
  589. fenframe.BorderColor3 = Color3.new(17, 17, 17)
  590. fenframe.Size = UDim2.new(0.1, 0, 0.1, 0)
  591. fenframe.Position = UDim2.new(0.95, 0, 0.7, 0)
  592. local fenframe2 = it("Frame")
  593. fenframe2.Parent = fengui
  594. fenframe2.BackgroundColor3 = Color3.new(255, 255, 255)
  595. fenframe2.BackgroundTransparency = 1
  596. fenframe2.BorderColor3 = Color3.new(17, 17, 17)
  597. fenframe2.Size = UDim2.new(0.2, 0, 0.1, 0)
  598. fenframe2.Position = UDim2.new(0.4, 0, 0.85, 0)
  599. local fenframe3 = it("Frame")
  600. fenframe3.Parent = fengui
  601. fenframe3.BackgroundColor3 = Color3.new(255, 255, 255)
  602. fenframe3.BackgroundTransparency = 1
  603. fenframe3.BorderColor3 = Color3.new(17, 17, 17)
  604. fenframe3.Size = UDim2.new(0.2, 0, 0.2, 0)
  605. fenframe3.Position = UDim2.new(0.8, 0, 0.8, 0)
  606. local fenframe4 = it("Frame")
  607. fenframe4.Parent = fengui
  608. fenframe4.BackgroundColor3 = Color3.new(255, 255, 255)
  609. fenframe4.BackgroundTransparency = 1
  610. fenframe4.BorderColor3 = Color3.new(17, 17, 17)
  611. fenframe4.Size = UDim2.new(0.1, 0, 0.1, 0)
  612. fenframe4.Position = UDim2.new(0, 0, 0.7, 0)
  613. local pressedf = false
  614. local fenframe5 = it("Frame")
  615. fenframe5.Parent = fengui
  616. fenframe5.Parent = nil
  617. fenframe5.BackgroundColor3 = Color3.new(0, 0, 0)
  618. fenframe5.BackgroundTransparency = 1
  619. fenframe5.BorderColor3 = Color3.new(0, 0, 0)
  620. fenframe5.Size = UDim2.new(1, 0, 1, 0)
  621. fenframe5.Position = UDim2.new(0, 0, 0, 0)
  622. fenframe5.ZIndex = 2
  623. local tellbar = gui("TextLabel", fenframe5, "Press \'F\' to equip your weapon.", 1, Color3.new(0, 0, 0), UDim2.new(0.25, 0, 0.25, 0), UDim2.new(0.5, 0, 0.5, 0))
  624. tellbar.Font = "Arial"
  625. tellbar.TextScaled = true
  626. tellbar.TextTransparency = 1
  627. tellbar.TextStrokeTransparency = 1
  628. tellbar.ZIndex = 2
  629. local fnumb = 0
  630. local fenbarmana1 = gui("TextLabel", fenframe, "", 0, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
  631. local fenbarmana2 = gui("TextLabel", fenframe, "", 0, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, 0, 0))
  632. local fenbarmana4 = gui("TextLabel", fenframe, "Mana(" .. mana.Value .. ")", 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0))
  633. local fenbardamage = gui("TextLabel", fenframe2, "Damage", 0.55, Color3.new(0.6078431372549, 0, 0), UDim2.new(-0.23, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
  634. local fenbardef = gui("TextLabel", fenframe2, "Defense", 0.55, Color3.new(0, 0, 0.6078431372549), UDim2.new(-0.46, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
  635. local fenbarmove = gui("TextLabel", fenframe2, "Walkspeed", 0.55, Color3.new(0, 0.6078431372549, 0), UDim2.new(1.03, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
  636. local fenbarhp1 = gui("TextLabel", fenframe2, "", 0, Color3.new(0, 0, 0), UDim2.new(-0.46, 0, 1, 0), UDim2.new(1.92, 0, 0.4, 0))
  637. local fenbarhp2 = gui("TextLabel", fenbarhp1, "", 0, Color3.new(1, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  638. local fenbarhp3 = gui("TextLabel", fenbarhp1, "(100)", 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
  639. local fenbarstun1 = gui("TextLabel", fenframe4, "", 0, Color3.new(0, 0, 0), UDim2.new(0.2, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
  640. local fenbarstun2 = gui("TextLabel", fenframe4, "", 0, Color3.new(0.960784, 0.803922, 0.188235), UDim2.new(0.2, 0, 0, 0), UDim2.new(0.4, 0, 0, 0))
  641. local fenbarstun3 = gui("TextLabel", fenframe4, "Stun(" .. Stun.Value .. ")", 1, Color3.new(0.960784, 0.803922, 0.188235), UDim2.new(0.2, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0))
  642. local fenbarmove1 = gui("TextButton", fenframe3, move1, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.1, 0, 0.1, 0), UDim2.new(0.4, 0, 0.4, 0))
  643. fenbarmove1.ZIndex = 2
  644. local fenbarmove1b = gui("TextLabel", fenbarmove1, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  645. local fenbarmove2 = gui("TextButton", fenframe3, move2, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.6, 0, 0.1, 0), UDim2.new(0.4, 0, 0.4, 0))
  646. fenbarmove2.ZIndex = 2
  647. local fenbarmove2b = gui("TextLabel", fenbarmove2, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  648. local fenbarmove3 = gui("TextButton", fenframe3, move3, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.1, 0, 0.6, 0), UDim2.new(0.4, 0, 0.4, 0))
  649. fenbarmove3.ZIndex = 2
  650. local fenbarmove3b = gui("TextLabel", fenbarmove3, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  651. local fenbarmove4 = gui("TextButton", fenframe3, move4, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.6, 0, 0.6, 0), UDim2.new(0.4, 0, 0.4, 0))
  652. fenbarmove4.ZIndex = 2
  653. local fenbarmove4b = gui("TextLabel", fenbarmove4, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  654. local handles = Instance.new("Model")
  655. handles.Parent = Character
  656. handles.Name = "Handles"
  657. local modelzorz = Instance.new("Model")
  658. modelzorz.Parent = Character
  659. modelzorz.Name = "Chaos Saber"
  660. local model2 = Instance.new("Model")
  661. model2.Parent = Character
  662. model2.Name = "Chaos Buster"
  663. local model3 = Instance.new("Model")
  664. model3.Parent = Character
  665. model3.Name = "Chaos Buster Rainbow"
  666. handle = part(3, handles, 0, 1, BrickColor.new(NewCol), "Handle", vt(.2,.2,.2))
  667. local handle2 = part(3, handles, 0, 1, BrickColor.new(NewCol), "Handle2", vt(.2,.2,.2))
  668. local handle3 = part(3, handles, 0, 1, BrickColor.new(NewCol3), "Handle3", vt(.2,.2,.2))
  669. local handle3a = part(3, handles, 0, 1, BrickColor.new(NewCol3), "Handle3a", vt(.2,.2,.2))
  670. local handle4 = part(3, model2, 0, 1, BrickColor.new(NewCol3), "Handle4", vt(.2,.2,.2))
  671. local handle5 = part(3, model2, 0, 1, BrickColor.new(NewCol3), "Handle5", vt(.2,.2,.2))
  672. local handle6 = part(3, model2, 0, 1, BrickColor.new(NewCol3), "Handle6", vt(.2,.2,.2))
  673. local handle7 = part(3, model2, 0, 1, BrickColor.new(NewCol3), "Handle7", vt(.2,.2,.2))
  674. local handle8 = part(3, model2, 0, 1, BrickColor.new(NewCol3), "Handle8", vt(.2,.2,.2))
  675. local handle9 = part(3, model2, 0, 1, BrickColor.new(NewCol3), "Handle9", vt(.2,.2,.2))
  676. local handle10 = part(3, model2, 0, 1, BrickColor.new(NewCol3), "Handle10", vt(.2,.2,.2))
  677. hmsh3 = mesh("BlockMesh", handle3, "", "", vt(0, 0, 0), vt(25, 3, 1))
  678. hmsh4 = mesh("BlockMesh", handle4, "nil", "nil", vt(0, 0, 0), vt(0, 0, 0))
  679. hmsh5 = mesh("BlockMesh", handle5, "nil", "nil", vt(0, 0, 0), vt(0, 0, 0))
  680. hmsh6 = mesh("BlockMesh", handle6, "nil", "nil", vt(0, 0, 0), vt(0, 0, 0))
  681. hmsh7 = mesh("BlockMesh", handle7, "nil", "nil", vt(0, 0, 0), vt(0, 0, 0))
  682. hmsh8 = mesh("BlockMesh", handle8, "nil", "nil", vt(0, 0, 0), vt(0, 0, 0))
  683. hmsh9 = mesh("BlockMesh", handle9, "nil", "nil", vt(0, 0, 0), vt(0, 0, 0))
  684. hmsh10 = mesh("BlockMesh", handle10, "nil", "nil", vt(0, 0, 0), vt(0, 0, 0))
  685. local handlewld = weld(handle, handle, Torso, euler(0, 3.14, -2.6) * cf(0, 0, -0.6))
  686. local handlewld2 = weld(handle2, handle2, Torso, euler(0, 3.14, -2.6) * euler(0, 3.14, 0) * cf(0, 0, -0.6))
  687. local handlewld3 = weld(handle3, handle3, Torso, euler(1.57, 0, 0) * cf(-0.5, 0, 0) * euler(0, 0, -0.5) * cf(0, 0, -0.8))
  688. local handlewld3a = weld(handle3a, handle3a, handle3, cf(0, 0, 0))
  689. local handlewld4 = weld(handle4, handle4, handle3a, euler(0, 0, 0) * cf(0, 0, 0))
  690. local handlewld5 = weld(handle5, handle5, handle3a, euler(0, 0, 0) * cf(0, 0, 0))
  691. local handlewld6 = weld(handle6, handle6, handle5, cf(3.35, 0, -0.075))
  692. local handlewld7 = weld(handle7, handle7, handle4, cf(3.35, 0, 0.075))
  693. local handlewld8 = weld(handle8, handle8, handle6, cf(0.291, 0, 0))
  694. local handlewld9 = weld(handle9, handle9, handle7, cf(0.291, 0, 0))
  695. local handlewld10 = weld(handle10, handle10, handle3a, euler(0, mr(-90), 0) * cf(3.141, 0, 0))
  696. local main1, mmsh1, mwld1 = AesthPart(modelzorz, handle, 0, 0, NewCol, "Main1", "Neon", "BlockMesh", "nil", "nil", 0.8, 7, 0.65, cf(0, 0, 0))
  697. local main2, mmsh2, mwld2 = AesthPart(modelzorz, handle2, 0, 0, NewCol, "Main2", "Neon", "BlockMesh", "nil", "nil", 0.8, 7, 0.65, cf(0, 0, 0))
  698. local core1, cmsh1, cwld1 = AesthPart(modelzorz, main1, 0, 0, NewCol2, "Core1", "Neon", "SpecialMesh", "Sphere", "nil", 1.25, 0.75, 1, euler(0, 0, 0) * cf(0, -0.8, 0))
  699. local core2, cmsh2, cwld2 = AesthPart(modelzorz, main2, 0, 0, NewCol2, "Core2", "Neon", "SpecialMesh", "Sphere", "nil", 1.25, 0.75, 1, euler(0, 0, 0) * cf(0, -0.8, 0))
  700. local upper1, umsh1, uwld1 = AesthPart(modelzorz, core1, 0, 0, NewCol, "Upper1", "Neon", "SpecialMesh", "Sphere", "nil", 1.75, 0.9, 0.55, euler(0, 0, 0) * cf(0, -0.05, 0))
  701. local upper2, umsh2, uwld2 = AesthPart(modelzorz, core2, 0, 0, NewCol, "Upper1", "Neon", "SpecialMesh", "Sphere", "nil", 1.75, 0.9, 0.55, euler(0, 0, 0) * cf(0, -0.05, 0))
  702. RainbowVals = function(parent, sval, bval)
  703. d = it("NumberValue", parent)
  704. d.Name = "Size"
  705. d.Value = sval
  706. b = it("NumberValue", parent)
  707. b.Name = "Weld"
  708. b.Value = bval
  709. return d, b
  710. end
  711.  
  712. rmain1, rmrmsh1, rmwld1 = AesthPart(model3, handle4, 1, 0, NewCol, "RainbowMain", "Neon", "BlockMesh", "nil", "nil", 0, 0, 0, euler(0, 0, 0) * cf(0, 0, 0))
  713. rmain1a, rmrmsh1a, rmwld1a = AesthPart(model3, handle5, 1, 0, NewCol, "RainbowMaina", "Neon", "BlockMesh", "nil", "nil", 0, 0, 0, euler(0, 0, 0) * cf(0, 0, 0))
  714. rainbow1, rmsh1, rwld1 = AesthPart(model3, rmain1, 0, 0, Neons[7].Color, "Rainbow1", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3, euler(0, mr(90), 0) * cf(-1.55, 0, 0.1))
  715. rainbow1a, rmsh1a, rwld1a = AesthPart(model3, rmain1a, 0, 0, Neons[7].Color, "Rainbow1a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3, euler(0, mr(90), 0) * cf(-1.55, 0, -0.1))
  716. rainbow2, rmsh2, rwld2 = AesthPart(model3, rmain1, 0, 0, Neons[6].Color, "Rainbow2", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(-0.875, 0, 0.1))
  717. rainbow2a, rmsh2a, rwld2a = AesthPart(model3, rmain1a, 0, 0, Neons[6].Color, "Rainbow2a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(-0.875, 0, -0.1))
  718. rainbow3, rmsh3, rwld3 = AesthPart(model3, rmain1, 0, 0, Neons[5].Color, "Rainbow3", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(-0.125, 0, 0.1))
  719. rainbow3a, rmsh3a, rwld3a = AesthPart(model3, rmain1a, 0, 0, Neons[5].Color, "Rainbow3a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(-0.125, 0, -0.1))
  720. rainbow4, rmsh4, rwld4 = AesthPart(model3, rmain1, 0, 0, Neons[4].Color, "Rainbow4", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 4, euler(0, mr(90), 0) * cf(0.65, 0, 0.1))
  721. rainbow4a, rmsh4a, rwld4a = AesthPart(model3, rmain1a, 0, 0, Neons[4].Color, "Rainbow4a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 4, euler(0, mr(90), 0) * cf(0.65, 0, -0.1))
  722. rainbow5, rmsh5, rwld5 = AesthPart(model3, rmain1, 0, 0, Neons[3].Color, "Rainbow5", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(1.425, 0, 0.1))
  723. rainbow5a, rmsh5a, rwld5a = AesthPart(model3, rmain1a, 0, 0, Neons[3].Color, "Rainbow5a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(1.425, 0, -0.1))
  724. rainbow6, rmsh6, rwld6 = AesthPart(model3, rmain1, 0, 0, Neons[2].Color, "Rainbow6", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(2.175, 0, 0.1))
  725. rainbow6a, rmsh6a, rwld6a = AesthPart(model3, rmain1a, 0, 0, Neons[2].Color, "Rainbow6a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(2.175, 0, -0.1))
  726. rainbow7, rmsh7, rwld7 = AesthPart(model3, rmain1, 0, 0, Neons[1].Color, "Rainbow7", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 2.99, euler(0, mr(90), 0) * cf(2.85, 0, 0.1))
  727. rainbow7a, rmsh7a, rwld7a = AesthPart(model3, rmain1a, 0, 0, Neons[1].Color, "Rainbow7a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 2.99, euler(0, mr(90), 0) * cf(2.85, 0, -0.1))
  728. local rw1 = 0.32
  729. local rw2 = 0.395
  730. local rw3 = 0.295
  731. local rs1 = 3
  732. local rs2 = 3.75
  733. local rs3 = 4
  734. local rs4 = 2.99
  735. rmsh1.Scale = vt(2.5, 2.25, rs1 - rs1)
  736. rmsh1a.Scale = vt(2.5, 2.25, rs1 - rs1)
  737. rwld1.C0 = euler(0, mr(90), 0) * cf(-1.55 + rw1, 0, 0.1)
  738. rwld1a.C0 = euler(0, mr(90), 0) * cf(-1.55 + rw1, 0, -0.1)
  739. rmsh2.Scale = vt(2.5, 2.25, rs2 - rs2)
  740. rmsh2a.Scale = vt(2.5, 2.25, rs2 - rs2)
  741. rwld2.C0 = euler(0, mr(90), 0) * cf(-0.875 + rw2, 0, 0.1)
  742. rwld2a.C0 = euler(0, mr(90), 0) * cf(-0.875 + rw2, 0, -0.1)
  743. rmsh3.Scale = vt(2.5, 2.25, rs2 - rs2)
  744. rmsh3a.Scale = vt(2.5, 2.25, rs2 - rs2)
  745. rwld3.C0 = euler(0, mr(90), 0) * cf(-0.125 + rw2, 0, 0.1)
  746. rwld3a.C0 = euler(0, mr(90), 0) * cf(-0.125 + rw2, 0, -0.1)
  747. rmsh4.Scale = vt(2.5, 2.25, rs3 - rs3)
  748. rmsh4a.Scale = vt(2.5, 2.25, rs3 - rs3)
  749. rwld4.C0 = euler(0, mr(90), 0) * cf(0.65 + rw2, 0, 0.1)
  750. rwld4a.C0 = euler(0, mr(90), 0) * cf(0.65 + rw2, 0, -0.1)
  751. rmsh5.Scale = vt(2.5, 2.25, rs2 - rs2)
  752. rmsh5a.Scale = vt(2.5, 2.25, rs2 - rs2)
  753. rwld5.C0 = euler(0, mr(90), 0) * cf(1.425 + rw2, 0, 0.1)
  754. rwld5a.C0 = euler(0, mr(90), 0) * cf(1.425 + rw2, 0, -0.1)
  755. rmsh6.Scale = vt(2.5, 2.25, rs2 - rs2)
  756. rmsh6a.Scale = vt(2.5, 2.25, rs2 - rs2)
  757. rwld6.C0 = euler(0, mr(90), 0) * cf(2.175 + rw2, 0, 0.1)
  758. rwld6a.C0 = euler(0, mr(90), 0) * cf(2.175 + rw2, 0, -0.1)
  759. rmsh7.Scale = vt(2.5, 2.25, rs4 - rs4)
  760. rmsh7a.Scale = vt(2.5, 2.25, rs4 - rs4)
  761. rwld7.C0 = euler(0, mr(90), 0) * cf(2.85 + rw3, 0, 0.1)
  762. rwld7a.C0 = euler(0, mr(90), 0) * cf(2.85 + rw3, 0, -0.1)
  763. mwld1.C0 = cf(0, 2, 0)
  764. mwld2.C0 = cf(0, 2, 0)
  765. for i = -1, 1, 2 do
  766. thprt = main1
  767. thprt2 = core1
  768. thprt3 = upper1
  769. thprt4 = handle4
  770. thprt5 = handle6
  771. thprt6 = handle8
  772. if i == 1 then
  773. thprt = main2
  774. thprt2 = core2
  775. thprt3 = upper2
  776. thprt4 = handle5
  777. thprt5 = handle7
  778. thprt6 = handle9
  779. end
  780. prt = AesthPart(modelzorz, thprt, 0, 0, NewCol, "Part01", "Neon", "BlockMesh", "nil", "nil", 0.8, 7, 0.65, cf(0, 0, 0))
  781. prt = AesthPart(modelzorz, thprt, 0, 0, NewCol, "Part02", "Neon", "SpecialMesh", "Wedge", "nil", 0.65, 1.05, 0.5, euler(mr(90), mr(-90), 0) * cf(-0.025, 0.75, 0))
  782. prt = AesthPart(modelzorz, thprt, 0, 0, NewCol, "Part03", "Neon", "SpecialMesh", "Wedge", "nil", 0.65, 1.2, 0.25, euler(mr(-90), mr(-90), 0) * cf(-0.2, 0.675, 0))
  783. prt = AesthPart(modelzorz, thprt, 0, 0, NewCol, "Part04", "Neon", "SpecialMesh", "Wedge", "nil", 0.65, 0.95, 0.5, euler(mr(90), mr(90), 0) * cf(-0.225, 0.75, 0))
  784. for d = -1, 1, 2 do
  785. prt = AesthPart(modelzorz, thprt, 0, 0, NewCol, "Part05", "Neon", "SpecialMesh", "Wedge", "nil", 0.65, 2, 0.25, euler(mr(180.04), mr(90) * d, 0) * cf(0.075 * d, -0.5, 0))
  786. prt = AesthPart(modelzorz, thprt, 0, 0, NewCol, "Part06", "Neon", "SpecialMesh", "Wedge", "nil", 0.65, 1, 0.25, euler(mr(73), mr(-90) * d, 0) * cf(0.149 * d, -0.688, 0))
  787. end
  788. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol2, "Part07", "Neon", "SpecialMesh", "Sphere", "nil", 2, 1, 0.65, euler(0, 0, 0) * cf(0, -0.025, 0))
  789. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part08", "Neon", "BlockMesh", "nil", "nil", 0.5, 0.5, 0.75, euler(0, 0, 0) * cf(0, 0.025, 0))
  790. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part09", "Neon", "BlockMesh", "nil", "nil", 0.5, 0.25, 0.75, euler(0, 0, 0) * cf(0, -0.05, 0))
  791. for d = -1, 1, 2 do
  792. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part10", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.25, 1, euler(0, mr(90) * d, 0) * cf(-0.15 * d, -0.05, 0))
  793. end
  794. for d = -1, 1, 2 do
  795. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part11", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.25, 0.75, euler(mr(180), mr(90) * d, 0) * cf(0.125 * d, 0.05, 0))
  796. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part12", "Neon", "BlockMesh", "nil", "nil", 0.75, 0.25, 0.75, euler(mr(0), mr(90) * d, 0) * cf(0.125 * d, 0, 0))
  797. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part13", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.25, 0.5, euler(mr(180), mr(90) * d, 0) * cf(0.25 * d, 0, 0))
  798. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part14", "Neon", "BlockMesh", "nil", "nil", 0.5, 0.25, 0.75, euler(mr(0), mr(0) * d, 0) * cf(0.25 * d, -0.05, 0))
  799. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part15", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.5, 0.5, euler(mr(180), mr(90) * d, 0) * cf(0.35 * d, -0.075, 0))
  800. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part16", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.75, 0.25, euler(mr(180), mr(90) * d, 0) * cf(0.425 * d, -0.2, 0))
  801. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part17", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.75, 0.25, euler(mr(0), mr(-90) * d, 0) * cf(0.425 * d, -0.35, 0))
  802. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part18", "Neon", "BlockMesh", "nil", "nil", 0.5, 0.5, 0.75, euler(mr(0), mr(0) * d, 0) * cf(0.35 * d, -0.175, 0))
  803. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part19", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.5, 0.25, euler(mr(0), mr(-90) * d, 0) * cf(0.375 * d, -0.475, 0))
  804. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part20", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.375, 0.5, euler(mr(180), mr(-90) * d, 0) * cf(0.3 * d, -0.462, 0))
  805. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part21", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.125, 0.5, euler(mr(0), mr(90) * d, 0) * cf(0.3 * d, -0.512, 0))
  806. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part22", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.25, 1.5, euler(mr(90), mr(90) * d, 0) * cf(0.375 * d, -0.275, 0))
  807. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part23", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 1, 0.5, euler(mr(0), mr(90) * d, 0) * cf(0.35 * d, -0.325, 0))
  808. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part24", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.75, 0.5, euler(mr(0), mr(90) * d, 0) * cf(0.25 * d, -0.15, 0))
  809. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part25", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.25, 1, euler(mr(0), mr(90) * d, 0) * cf(0.1 * d, -0.05, 0))
  810. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part26", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.25, 1, euler(mr(65), mr(-90) * d, 0) * cf(0.294 * d, 0.035, 0))
  811. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part27", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.25, 0.5, euler(mr(115), mr(90) * d, 0) * cf(0.217 * d, -0.012, 0))
  812. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part28", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.25, 1.25, euler(mr(155), mr(90) * d, 0) * cf(0.431 * d, -0.205, 0))
  813. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part29", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.25, 1.25, euler(mr(25), mr(-90) * d, 0) * cf(0.498 * d, -0.229, 0))
  814. prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part30", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.25, 0.75, euler(mr(195), mr(90) * d, 0) * cf(0.434 * d, -0.387, 0))
  815. end
  816. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part31", "Neon", "SpecialMesh", "Torso", "nil", 1, 3, 0.35, euler(mr(180), 0, 0) * cf(0, -0.35, 0))
  817. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part32", "Neon", "BlockMesh", "nil", "nil", 2, 7, 0.35, euler(0, 0, 0) * cf(0.1, -1.35, 0))
  818. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part33", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 1.5, euler(mr(180), mr(90), 0) * cf(0.15, -0.625, 0))
  819. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part34", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 1.5, euler(mr(0), mr(90), 0) * cf(0.05, -2.075, 0))
  820. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part35", "Neon", "BlockMesh", "nil", "nil", 1, 2, 0.35, euler(0, 0, 0) * cf(0.2, -2.25, 0))
  821. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part36", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 2, euler(mr(-90), mr(90), 0) * cf(0.275, -2.65, 0))
  822. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part37", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 1.5, euler(mr(-90), mr(90), 0) * cf(0.225, -3, 0))
  823. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part38", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.5, 1.5, euler(mr(-90), mr(90), 0) * cf(0.15, -3.3, 0))
  824. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part39", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.5, 1, euler(mr(-90), mr(90), 0) * cf(0.05, -3.55, 0))
  825. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part40", "Neon", "BlockMesh", "nil", "nil", 0.25, 2, 0.35, euler(0, 0, 0) * cf(0.225, -2.65, 0))
  826. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part41", "Neon", "BlockMesh", "nil", "nil", 0.25, 1.5, 0.35, euler(0, 0, 0) * cf(0.175, -3, 0))
  827. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part42", "Neon", "BlockMesh", "nil", "nil", 0.25, 0.75, 0.35, euler(0, 0, 0) * cf(0.075, -3.375, 0))
  828. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part43", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.5, 1, euler(mr(-90), mr(-90), 0) * cf(0.15, -2.55, 0))
  829. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part44", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 2, euler(mr(90), mr(90), 0) * cf(0.175, -2.65, 0))
  830. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part45", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 1.5, euler(mr(90), mr(90), 0) * cf(0.125, -3, 0))
  831. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part46", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 0.75, euler(mr(90), mr(90), 0) * cf(0.075, -3.225, 0))
  832. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part47", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 0.75, euler(mr(90), mr(90), 0) * cf(0.025, -3.375, 0))
  833. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part48", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.5, 1, euler(mr(-90), mr(-90), 0) * cf(-0.025, -3.475, 0))
  834. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part49", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 1, euler(mr(-90), mr(-90), 0) * cf(-0.1, -3.275, 0))
  835. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part50", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 1.5, euler(mr(-90), mr(-90), 0) * cf(-0.15, -3.025, 0))
  836. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part51", "Neon", "BlockMesh", "nil", "nil", 0.25, 1, 0.35, euler(0, mr(0), 0) * cf(-0.15, -2.775, 0))
  837. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part52", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.5, 0.75, euler(mr(90), mr(90), 0) * cf(-0.125, -2.6, 0))
  838. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part53", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 1.25, 1, euler(mr(90), mr(90), 0) * cf(0.05, -2.425, 0))
  839. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part54", "Neon", "BlockMesh", "nil", "nil", 0.5, 0.5, 0.35, euler(0, mr(0), 0) * cf(-0.025, -2.575, 0))
  840. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part55", "Neon", "BlockMesh", "nil", "nil", 0.25, 0.75, 0.35, euler(0, mr(0), 0) * cf(-0.1, -3.1, 0))
  841. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part56", "Neon", "BlockMesh", "nil", "nil", 0.25, 0.75, 0.35, euler(0, mr(0), 0) * cf(-0.05, -3.3, 0))
  842. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part57", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 1.25, 0.5, euler(mr(-90), mr(90), 0) * cf(0.15, -2.575, 0))
  843. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part58", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.5, 0.25, euler(mr(-90), mr(90), 0) * cf(-0.025, -2.65, 0))
  844. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part59", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.5, 2, euler(mr(-90), mr(90), 0) * cf(-0.075, -2.85, 0))
  845. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part60", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 2, euler(mr(90), mr(-90), 0) * cf(-0.1, -2.825, 0))
  846. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part61", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 1, euler(mr(90), mr(-90), 0) * cf(-0.05, -3.125, 0))
  847. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part62", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 0.75, euler(mr(90), mr(-90), 0) * cf(0, -3.3, 0))
  848. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part63", "Neon", "BlockMesh", "nil", "nil", 0.25, 1.75, 0.25, euler(0, mr(0), mr(90)) * cf(0.05, -2.75, 0))
  849. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part64", "Neon", "BlockMesh", "nil", "nil", 0.25, 1.75, 0.25, euler(0, mr(0), mr(90)) * cf(0.05, -2.925, 0))
  850. prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part65", "Neon", "BlockMesh", "nil", "nil", 0.25, 1.5, 0.25, euler(0, mr(0), mr(90)) * cf(0.05, -3.1, 0))
  851. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part01", "Neon", "BlockMesh", "nil", "nil", 1.75, 2.5, 0.25, euler(0, mr(90), 0) * cf(2.55, 0, -0.175 * i))
  852. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part02", "Neon", "BlockMesh", "nil", "nil", 1.75, 2.5, 0.25, euler(0, mr(90), 0) * cf(1.8, 0, -0.175 * i))
  853. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part03", "Neon", "BlockMesh", "nil", "nil", 1.75, 2.5, 0.25, euler(0, mr(90), 0) * cf(1.05, 0, -0.175 * i))
  854. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part04", "Neon", "BlockMesh", "nil", "nil", 1.75, 2.5, 0.25, euler(0, mr(90), 0) * cf(0.25, 0, -0.175 * i))
  855. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part05", "Neon", "BlockMesh", "nil", "nil", 1.75, 2.5, 0.25, euler(0, mr(90), 0) * cf(-0.5, 0, -0.175 * i))
  856. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part06", "Neon", "BlockMesh", "nil", "nil", 1.75, 2.5, 0.25, euler(0, mr(90), 0) * cf(-1.25, 0, -0.175 * i))
  857. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part07", "Neon", "BlockMesh", "nil", "nil", 25, 3, 1, euler(0, 0, 0) * cf(0.65, 0, -0.45 * i))
  858. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part08", "Neon", "SpecialMesh", "Wedge", "nil", 3, 0.5, 5, euler(0, mr(-90), 0) * euler(mr(-90) * i, 0, 0) * cf(2.65, 0, -0.6 * i))
  859. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part09", "Neon", "BlockMesh", "nil", "nil", 15, 3, 0.5, euler(0, 0, 0) * cf(0.65, 0, -0.6 * i))
  860. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part10", "Neon", "SpecialMesh", "Wedge", "nil", 3, 0.5, 5, euler(0, mr(90), 0) * euler(mr(-90) * i, 0, 0) * cf(-1.35, 0, -0.6 * i))
  861. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part11", "Neon", "SpecialMesh", "Wedge", "nil", 3, 0.25, 5, euler(0, mr(-90), 0) * euler(mr(-90) * i, 0, 0) * cf(1.65, 0, -0.675 * i))
  862. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part12", "Neon", "BlockMesh", "nil", "nil", 5, 3, 0.25, euler(0, 0, 0) * cf(0.65, 0, -0.675 * i))
  863. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part13", "Neon", "SpecialMesh", "Wedge", "nil", 3, 0.25, 5, euler(0, mr(90), 0) * euler(mr(-90) * i, 0, 0) * cf(-0.35, 0, -0.675 * i))
  864. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part14", "Neon", "SpecialMesh", "Wedge", "nil", 3, 0.25, 5, euler(0, mr(90), 0) * euler(mr(90) * i, 0, 0) * cf(1.65, 0, -0.325 * i))
  865. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part15", "Neon", "SpecialMesh", "Wedge", "nil", 3, 0.75, 5, euler(0, mr(90), 0) * euler(mr(90) * i, 0, 0) * cf(2.65, 0, -0.225 * i))
  866. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part16", "Neon", "SpecialMesh", "Wedge", "nil", 3, 1.5, 2.5, euler(0, mr(90), 0) * euler(mr(90) * i, 0, 0) * cf(2.9, 0, -0.15 * i))
  867. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part17", "Neon", "BlockMesh", "nil", "nil", 5, 3, 0.25, euler(0, 0, 0) * cf(2.65, 0, -0.325 * i))
  868. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part18", "Neon", "SpecialMesh", "Wedge", "nil", 3, 0.75, 5, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * cf(-1.35, 0, -0.225 * i))
  869. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part19", "Neon", "SpecialMesh", "Wedge", "nil", 3, 0.25, 5, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * cf(-0.35, 0, -0.325 * i))
  870. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part20", "Neon", "SpecialMesh", "Wedge", "nil", 3, 1.5, 2.5, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * cf(-1.6, 0, -0.15 * i))
  871. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part21", "Neon", "BlockMesh", "nil", "nil", 5, 3, 0.25, euler(0, 0, 0) * cf(-1.35, 0, -0.325 * i))
  872. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part22", "Neon", "BlockMesh", "nil", "nil", 3, 1.05, 1.05, euler(mr(45), 0, mr(90)) * cf(3.15, 0, -0.15 * i))
  873. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part23", "Neon", "CylinderMesh", "nil", "nil", 1.5, 3, 1.5, euler(0, 0, 0) * cf(3.05, 0, -0.5 * i))
  874. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part24", "Neon", "BlockMesh", "nil", "nil", 1.25, 3, 1.25, euler(0, 0, 0) * cf(3.175, 0, -0.525 * i))
  875. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part25", "Neon", "SpecialMesh", "Wedge", "nil", 3, 1.25, 1.25, euler(0, mr(-90), 0) * euler(mr(-90) * i, 0, 0) * cf(3.425, 0, -0.525 * i))
  876. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part26", "Neon", "CylinderMesh", "nil", "nil", 5.5, 3, 0.5, euler(mr(90), 0, 0) * cf(2.925, 0, -0.8 * i))
  877. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part27", "Neon", "CylinderMesh", "nil", "nil", 5.5, 0.5, 0.5, euler(mr(90), 0, 0) * euler(0, mr(-45) * i, 0) * cf(2.89, 0, -1.135 * i))
  878. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part28", "Neon", "CylinderMesh", "nil", "nil", 5.5, 1.5, 0.5, euler(mr(90), 0, 0) * euler(0, mr(-90), 0) * cf(2.725, 0, -1.15 * i))
  879. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part29", "Neon", "BlockMesh", "nil", "nil", 3, 1.75, 1, euler(mr(90), 0, mr(90)) * cf(-1.95, 0, -0.175 * i))
  880. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part30", "Neon", "SpecialMesh", "Wedge", "nil", 3, 1, 1, euler(0, mr(90), 0) * euler(mr(-90) * i, 0, 0) * cf(-1.95, 0, -0.45 * i))
  881. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part31", "Neon", "SpecialMesh", "Wedge", "nil", 1.5, 0.25, 0.25, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * cf(-1.375, 0, -0.7 * i))
  882. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part32", "Neon", "BlockMesh", "nil", "nil", 0.25, 1.5, 1.5, euler(0, mr(90), 0) * cf(-1.55, 0, -0.7 * i))
  883. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part33", "Neon", "SpecialMesh", "Wedge", "nil", 1.5, 0.5, 2.5, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * euler(0, mr(-90) * i, 0) * cf(-1.65, 0, -0.7 * i))
  884. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part34", "Neon", "BlockMesh", "nil", "nil", 0.25, 1.5, 1.5, euler(0, mr(90), 0) * cf(-1.55, 0, -0.825 * i))
  885. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part35", "Neon", "SpecialMesh", "Wedge", "nil", 1.5, 0.25, 0.25, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * cf(-1.375, 0, -0.825 * i))
  886. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part36", "Neon", "BlockMesh", "nil", "nil", 0.25, 1.5, 1.5, euler(0, mr(90), 0) * cf(-1.65, 0, -0.95 * i))
  887. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part37", "Neon", "SpecialMesh", "Torso", "nil", 2.5, 1, 1.5, euler(mr(90), mr(90), 0) * cf(-1.8, 0, -0.725 * i))
  888. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part38", "Neon", "SpecialMesh", "Wedge", "nil", 1.5, 0.25, 0.25, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * cf(-1.475, 0, -0.95 * i))
  889. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part39", "Neon", "SpecialMesh", "Wedge", "nil", 1.5, 0.5, 0.5, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * cf(-1.6, 0, -1.2 * i))
  890. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part40", "Neon", "SpecialMesh", "Wedge", "nil", 1.5, 0.5, 1.5, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * euler(0, mr(-90) * i, 0) * cf(-1.75, 0, -1.1 * i))
  891. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part41", "Neon", "SpecialMesh", "Torso", "nil", 2.5, 1, 1.5, euler(mr(90), mr(90), 0) * cf(-1.9, 0, -1.05 * i))
  892. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part42", "Neon", "SpecialMesh", "Wedge", "nil", 1.5, 0.5, 1, euler(0, mr(-90), 0) * euler(mr(-90) * i, 0, 0) * euler(0, mr(-150) * i, 0) * cf(-2.034, 0, -1.221 * i))
  893. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part43", "Neon", "SpecialMesh", "Wedge", "nil", 1.5, 0.25, 0.25, euler(0, mr(-90), 0) * euler(mr(-90) * i, 0, 0) * cf(-1.775, 0, -1.275 * i))
  894. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part44", "Neon", "BlockMesh", "nil", "nil", 0.5, 0.75, 1.5, euler(mr(90), mr(90), 0) * cf(-1.725, 0, -1.2 * i))
  895. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part45", "Neon", "SpecialMesh", "Wedge", "nil", 1.5, 0.5, 3, euler(0, mr(90), 0) * euler(mr(-90) * i, 0, 0) * euler(0, mr(55) * i, 0) * cf(-2.387, 0, -0.631 * i))
  896. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part46", "Neon", "BlockMesh", "nil", "nil", 1.5, 0.5, 2.5, euler(mr(90), 0, mr(90)) * cf(-2, 0, -0.4 * i))
  897. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part47", "Neon", "BlockMesh", "nil", "nil", 3, 0.75, 1.25, euler(mr(90), 0, mr(90)) * cf(-2.175, 0, -0.225 * i))
  898. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part48", "Neon", "SpecialMesh", "Wedge", "nil", 3, 0.75, 0.75, euler(0, mr(90), 0) * euler(mr(-90) * i, 0, 0) * cf(-2.375, 0, -0.225 * i))
  899. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part49", "Neon", "BlockMesh", "nil", "nil", 3, 0.5, 2.5, euler(mr(90), 0, mr(90)) * cf(-2.3, 0, -0.05 * i))
  900. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part50", "Neon", "SpecialMesh", "Wedge", "nil", 3, 0.5, 0.5, euler(0, mr(90), 0) * euler(mr(-90) * i, 0, 0) * cf(-2.6, 0, -0.05 * i))
  901. prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part51", "Neon", "BlockMesh", "nil", "nil", 3, 0.25, 0.5, euler(0, 0, mr(90)) * cf(-2.125, 0, -0.15 * i))
  902. prt = AesthPart(model2, thprt5, 0, 0, NewCol3, "Part52", "Neon", "SpecialMesh", "Wedge", "nil", 1, 0.75, 0.75, euler(0, mr(90), 0) * euler(mr(-90) * i, 0, 0) * cf(0, 0, 0))
  903. prt = AesthPart(model2, thprt5, 0, 0, NewCol3, "Part53", "Neon", "SpecialMesh", "Wedge", "nil", 1, 0.25, 0.25, euler(0, mr(90), 0) * euler(mr(90) * i, 0, 0) * euler(0, mr(-45) * i, 0) * cf(0.212, 0, 0.212 * i))
  904. prt = AesthPart(model2, thprt5, 0, 0, NewCol3, "Part54", "Neon", "BlockMesh", "nil", "nil", 1, 0.255, 0.5, euler(0, 0, mr(90)) * euler(0, mr(-45) * i, 0) * cf(0.088, 0, 0.053 * i))
  905. prt = AesthPart(model2, thprt5, 0, 0, NewCol3, "Part55", "Neon", "SpecialMesh", "Wedge", "nil", 1, 0.2, 0.2, euler(0, mr(90), 0) * euler(mr(90) * i, 0, 0) * euler(0, mr(45) * i, 0) * cf(0.141, 0, -0.038 * i))
  906. prt = AesthPart(model2, thprt5, 0, 0, NewCol3, "Part56", "Neon", "SpecialMesh", "Wedge", "nil", 1, 0.5, 0.5, euler(0, mr(-90), 0) * euler(mr(-90) * i, 0, 0) * euler(0, mr(45) * i, 0) * cf(0.141, 0, 0))
  907. prt = AesthPart(model2, thprt6, 0, 0, NewCol3, "Part57", "Neon", "CylinderMesh", "nil", "nil", 0.7, 1, 0.7, euler(0, 0, 0) * cf(0, 0, 0))
  908. prt = AesthPart(model2, thprt6, 0, 0, NewCol3, "Part58", "Neon", "SpecialMesh", "Wedge", "nil", 0.5, 0.5, 0.5, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * euler(0, mr(45) * i, 0) * cf(-0.029, 0, 0.026 * i))
  909. prt = AesthPart(model2, thprt5, 0, 0, NewCol3, "Part59", "Neon", "BlockMesh", "nil", "nil", 1, 1, 0.25, euler(0, mr(45) * i, 0) * cf(0.124, 0, 0.124 * i))
  910. prt = AesthPart(model2, thprt5, 0, 0, NewCol3, "Part60", "Neon", "BlockMesh", "nil", "nil", 1, 0.75, 0.2, euler(0, 0, mr(90)) * cf(0.216, 0, -0.05 * i))
  911. prt = AesthPart(model2, thprt6, 0, 0, NewCol3, "Part61", "Neon", "SpecialMesh", "Wedge", "nil", 0.5, 0.5, 0.5, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * cf(0, 0, 0.1 * i))
  912. prt = AesthPart(model2, thprt6, 0, 0, NewCol3, "Part62", "Neon", "SpecialMesh", "Wedge", "nil", 0.5, 0.4, 0.4, euler(0, mr(90), 0) * euler(mr(90) * i, 0, 0) * cf(0.15, 0, 0))
  913. prt = AesthPart(model2, thprt6, 0, 0, NewCol3, "Part63", "Neon", "SpecialMesh", "Wedge", "nil", 0.5, 0.4, 0.4, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * cf(0.325, 0, 0))
  914. prt = AesthPart(model2, thprt6, 0, 0, NewCol3, "Part64", "Neon", "SpecialMesh", "Wedge", "nil", 0.5, 0.225, 1.5, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * cf(0.475, 0, -0.038 * i))
  915. prt = AesthPart(model2, thprt6, 0, 0, NewCol3, "Part65", "Neon", "BlockMesh", "nil", "nil", 0.5, 1.5, 0.1, euler(0, 0, mr(90)) * cf(0.175, 0, -0.05 * i))
  916. end
  917. for _,c in pairs(modelzorz:children()) do
  918. table.insert(Weapon, c)
  919. table.insert(Saber, c)
  920. end
  921. for _,c in pairs(model2:children()) do
  922. table.insert(Weapon, c)
  923. table.insert(Buster, c)
  924. end
  925. for _,c in pairs(model3:children()) do
  926. c.Transparency = 1
  927. end
  928. rmwld1.C0 = cf(0, 0, 0)
  929. rmwld1a.C0 = cf(0, 0, 0)
  930. for _,c in pairs(handle:children()) do
  931. if c.className == "Motor" then
  932. table.insert(Welds, c)
  933. end
  934. end
  935. local hitbox = part(3, nil, 0, 1, BrickColor.new("Black"), "Hitbox", vt(.2,.2,.2))
  936. hitbox.Anchored = true
  937. local hitboxCF = cf(0, 0, 0)
  938. sizeseq = ns({nsk(0, 0.3), nsk(0.25, 1), nsk(0.6, 0.2), nsk(1, 0)})
  939. transseq = ns({nsk(0, 0), nsk(0.8, 0.5), nsk(1, 1)})
  940. local starsparti = particle(Torso, Color3.new(1, 0, 0), Color3.new(0.3921568627451, 0.3921568627451, 1), 0.5, sizeseq, "http://www.roblox.com/asset/?id=146120327", transseq, 0, vt(0, 0, 0), 0, false, 0, "Top", false, nr(1, 1), 40, nr(-360, 360), nr(-200, 200), nr(8), 180)
  941. starsparti.Parent = Torso
  942. sizeseq = ns({nsk(0, 1), nsk(0.7, 6), nsk(1, 7)})
  943. transseq = ns({nsk(0, 0), nsk(1, 1)})
  944. local lparti1 = particle(Torso, Color3.new(1, 0, 0), Color3.new(0.3921568627451, 0.3921568627451, 1), 1, sizeseq, "http://www.roblox.com/asset/?id=243098098", transseq, 0, vt(0, 0, 0), 0, false, 0, "Top", false, nr(0.2, 0.2), 500, nr(-360, 360), nr(0, 0), nr(0), 0)
  945. lparti1.Parent = Torso
  946. sizeseq = ns({nsk(0, 0.5), nsk(1, 0.5)})
  947. transseq = ns({nsk(0, 0), nsk(1, 1)})
  948. local sparti = particle(Torso, Color3.new(1, 0, 0), Color3.new(0.3921568627451, 0.3921568627451, 1), 1, sizeseq, "http://www.roblox.com/asset/?id=82057200", transseq, 0, vt(0, 0, 0), 0, false, 0, "Top", false, nr(1, 1), 50, nr(-360, 360), nr(400, 500), nr(5), 180)
  949. sparti.Parent = Torso
  950. local effects = it("Model", modelzorz)
  951. effects.Name = "Effects"
  952. hboxpos = Instance.new("BodyPosition", nil)
  953. hboxpos.P = 2000
  954. hboxpos.D = 100
  955. hboxpos.maxForce = Vector3.new(545000, 545000, 545000)
  956. local bodvel = Instance.new("BodyVelocity")
  957. local bg = Instance.new("BodyGyro")
  958. so = function(id, par, vol, pit)
  959. local sou = Instance.new("Sound", par or workspace)
  960. sou.Volume = vol
  961. sou.Pitch = pit or 1
  962. sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
  963. coroutine.resume(coroutine.create(function(Sound)
  964. swait()
  965. Sound:play()
  966. end
  967. ), sou)
  968. game:GetService("Debris"):AddItem(sou, 6)
  969. end
  970.  
  971. for i,v in pairs(Character:children()) do
  972. if v.Name=="Glaciem" then
  973. v:Destroy()
  974. end
  975. end
  976.  
  977. for i,v in pairs(Backpack:children()) do
  978. if v.Name=="Glaciem" then
  979. v:Destroy()
  980. end
  981. end
  982.  
  983. function clerp(a,b,t)
  984. local qa = {QuaternionFromCFrame(a)}
  985. local qb = {QuaternionFromCFrame(b)}
  986. local ax, ay, az = a.x, a.y, a.z
  987. local bx, by, bz = b.x, b.y, b.z
  988. local _t = 1-t
  989. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  990. end
  991.  
  992. function QuaternionFromCFrame(cf)
  993. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  994. local trace = m00 + m11 + m22
  995. if trace > 0 then
  996. local s = math.sqrt(1 + trace)
  997. local recip = 0.5/s
  998. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  999. else
  1000. local i = 0
  1001. if m11 > m00 then
  1002. i = 1
  1003. end
  1004. if m22 > (i == 0 and m00 or m11) then
  1005. i = 2
  1006. end
  1007. if i == 0 then
  1008. local s = math.sqrt(m00-m11-m22+1)
  1009. local recip = 0.5/s
  1010. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1011. elseif i == 1 then
  1012. local s = math.sqrt(m11-m22-m00+1)
  1013. local recip = 0.5/s
  1014. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1015. elseif i == 2 then
  1016. local s = math.sqrt(m22-m00-m11+1)
  1017. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1018. end
  1019. end
  1020. end
  1021.  
  1022. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1023. local xs, ys, zs = x + x, y + y, z + z
  1024. local wx, wy, wz = w*xs, w*ys, w*zs
  1025. local xx = x*xs
  1026. local xy = x*ys
  1027. local xz = x*zs
  1028. local yy = y*ys
  1029. local yz = y*zs
  1030. local zz = z*zs
  1031. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  1032. end
  1033.  
  1034. function QuaternionSlerp(a, b, t)
  1035. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1036. local startInterp, finishInterp;
  1037. if cosTheta >= 0.0001 then
  1038. if (1 - cosTheta) > 0.0001 then
  1039. local theta = math.acos(cosTheta)
  1040. local invSinTheta = 1/math.sin(theta)
  1041. startInterp = math.sin((1-t)*theta)*invSinTheta
  1042. finishInterp = math.sin(t*theta)*invSinTheta
  1043. else
  1044. startInterp = 1-t
  1045. finishInterp = t
  1046. end
  1047. else
  1048. if (1+cosTheta) > 0.0001 then
  1049. local theta = math.acos(-cosTheta)
  1050. local invSinTheta = 1/math.sin(theta)
  1051. startInterp = math.sin((t-1)*theta)*invSinTheta
  1052. finishInterp = math.sin(t*theta)*invSinTheta
  1053. else
  1054. startInterp = t-1
  1055. finishInterp = t
  1056. end
  1057. end
  1058. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  1059. end
  1060.  
  1061. hideanim = function()
  1062. equipped = false
  1063. if Mode == "Sabers" then
  1064. UnSword()
  1065. end
  1066. for i = 0, 1, 0.1 do
  1067. swait()
  1068. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0), 0.4)
  1069. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4)
  1070. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
  1071. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1072. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
  1073. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1074. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0), 0.3)
  1075. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0), 0.3)
  1076. end
  1077. mdec2.Parent = nil
  1078. mdec.Parent = Decrease
  1079. Humanoid.JumpPower = 50
  1080. end
  1081.  
  1082. mdec.Parent = Decrease
  1083. equipanim = function()
  1084. equipped = true
  1085. floating = false
  1086. Humanoid.JumpPower = 60
  1087. local dec = Instance.new("NumberValue", Decrease)
  1088. dec.Name = "DecreaseMvmt"
  1089. dec.Value = 10
  1090. so("341336144", LeftArm, 1, 1)
  1091. so("341336144", RightArm, 1, 1)
  1092. rara = 4
  1093. local col = 1
  1094. local colnum = 0
  1095. for i = 0, 1, 0.1 do
  1096. swait()
  1097. colnum = colnum + 1
  1098.  
  1099. if #Neons - 1 < col and (colnum) % 2 == 0 then
  1100. col = 1
  1101. end
  1102. if (colnum) % 2 == 0 then
  1103. col = col + 1
  1104. end
  1105. MagicBlock2(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  1106. MagicBlock2(Neons[col], RightArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  1107. rara = rara + 1
  1108. if rara % 6 == 0 then
  1109. hitfloor2, posfloor2 = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 20, Character)
  1110. if hitfloor2 ~= nil then
  1111. MagicWave(BrickColor.new("Institutional white"), cf(posfloor2), 1, 2, 1, 1, -0.1, 1, 0.1)
  1112. end
  1113. end
  1114. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.3, 0, 0), 0.3)
  1115. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1) * euler(-0.05, 0, 0), 0.1)
  1116. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.2, 0, 0.4) * euler(0, -1.57, 0), 0.3)
  1117. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.4) * euler(0, 1.57, 0), 0.3)
  1118. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.05, 0, 0.1), 0.3)
  1119. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.05, 0, -0.05), 0.3)
  1120. end
  1121. for i = 0, 1, 0.1 do
  1122. swait()
  1123. colnum = colnum + 1
  1124.  
  1125. if #Neons - 1 < col and (colnum) % 2 == 0 then
  1126. col = 1
  1127. end
  1128. if (colnum) % 2 == 0 then
  1129. col = col + 1
  1130. end
  1131. MagicBlock2(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  1132. MagicBlock2(Neons[col], RightArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  1133. rara = rara + 1
  1134. if rara % 6 == 0 then
  1135. hitfloor2, posfloor2 = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 20, Character)
  1136. if hitfloor2 ~= nil then
  1137. MagicWave(BrickColor.new("Institutional white"), cf(posfloor2), 1, 2, 1, 1, -0.1, 1, 0.1)
  1138. end
  1139. end
  1140. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.4, 0, 0), 0.3)
  1141. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1.2) * euler(-0.05, 0, 0), 0.1)
  1142. RW.C0 = clerp(RW.C0, cf(1.2, 0.7, -0.4) * euler(2.9, 0, 0) * euler(0, 0, -0.5) * euler(0, 1.5, 0), 0.25)
  1143. LW.C0 = clerp(LW.C0, cf(-1.2, 0.7, -0.4) * euler(2.9, 0, 0) * euler(0, 0, 0.5) * euler(0, -1.5, 0), 0.25)
  1144. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.05, 0, 0.1), 0.3)
  1145. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.05, 0, -0.05), 0.3)
  1146. end
  1147. mdec.Parent = nil
  1148. mdec2.Parent = Decrease
  1149. hitfloor2, posfloor2 = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 20, Character)
  1150. if hitfloor2 ~= nil then
  1151. MagicWave(BrickColor.new("Institutional white"), cf(posfloor2), 4, 2, 4, 0.7, -0.08, 0.7, 0.05)
  1152. end
  1153. MagicCircle(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 10, 10, 10, 4, 4, 4, 0.1, 1)
  1154. MagicCircle(Neons[col], RightArm.CFrame * cf(0, -1, 0), 10, 10, 10, 4, 4, 4, 0.1, 1)
  1155. so("341336138", LeftArm, 1, 1)
  1156. so("341336138", RightArm, 1, 1)
  1157. so("341336243", LeftArm, 1, 1)
  1158. so("341336243", RightArm, 1, 1)
  1159. for i = 0, 1, 0.1 do
  1160. swait()
  1161. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2, 0, 0), 0.4)
  1162. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1.4) * euler(-0.05, 0, 0), 0.2)
  1163. if i < 0.3 then
  1164. RW.C0 = clerp(RW.C0, cf(1, 0.5, 0.3) * euler(-0.2, 0, 1) * euler(0, -1.5, 0), 0.4)
  1165. LW.C0 = clerp(LW.C0, cf(-1, 0.5, 0.3) * euler(-0.2, 0, -1) * euler(0, 1.5, 0), 0.4)
  1166. else
  1167. RW.C0 = clerp(RW.C0, cf(1, 0.5, 0.3) * euler(0.4, 0, 0.4) * euler(0, -1.5, 0), 0.2)
  1168. LW.C0 = clerp(LW.C0, cf(-1, 0.5, 0.3) * euler(0.4, 0, -0.4) * euler(0, 1.5, 0), 0.2)
  1169. end
  1170. RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.1), 0.4)
  1171. LH.C0 = clerp(LH.C0, cf(-0.95, -0.9, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, 0.05), 0.4)
  1172. end
  1173. dec.Parent = nil
  1174. floating = true
  1175. end
  1176.  
  1177. StaggerAnim = function()
  1178. attack = true
  1179. removeControl()
  1180. local dosaber = false
  1181. if Mode == "Sabers" then
  1182. dosaber = true
  1183. end
  1184. Mode = "Stagger"
  1185. for i = 1, math.random(2, 4) do
  1186. ClangEffect(BrickColor.new("New Yeller"), cf(hitbox.Position) * euler(math.random(-50, 50) / 100, math.random(-50, 50), math.random(-50, 50) / 100), 0, 0.1, 0.2, math.random(150, 300) / 1000)
  1187. end
  1188. for i = 0, 1, 0.35 do
  1189. swait()
  1190. if dosaber == true then
  1191. for d = 1, #Saber do
  1192. Saber[d].Transparency = i
  1193. end
  1194. end
  1195. do
  1196. do
  1197. Torso.Velocity = RootPart.CFrame.lookVector * -40
  1198. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.3)
  1199. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, -0.4), 0.3)
  1200. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.7) * euler(0, -0.7, 0), 0.3)
  1201. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1202. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.3)
  1203. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1204. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.3)
  1205. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
  1206.  
  1207. end
  1208. end
  1209. end
  1210. if dosaber == true then
  1211. for d = 1, #Saber do
  1212. Saber[d].Transparency = 1
  1213. end
  1214. handlewld.Part1 = Torso
  1215. handlewld2.Part1 = Torso
  1216. handlewld.C0 = euler(0, 3.14, -2.6) * cf(0, 0, -0.6)
  1217. handlewld2.C0 = euler(0, 3.14, -2.6) * euler(0, 3.14, 0) * cf(0, 0, -0.6)
  1218. mwld1.C0 = cf(0, 2, 0)
  1219. mwld2.C0 = cf(0, 2, 0)
  1220. floating = true
  1221. end
  1222. for i = 1, 0, -0.2 do
  1223. swait()
  1224. if dosaber == true then
  1225. for d = 1, #Saber do
  1226. Saber[d].Transparency = i
  1227. end
  1228. end
  1229. do
  1230. do
  1231. Torso.Velocity = RootPart.CFrame.lookVector * -40
  1232. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.4)
  1233. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(-0.5, 0, -0.4), 0.4)
  1234. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.7) * euler(0, -0.7, 0), 0.4)
  1235. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1236. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.4)
  1237. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1238. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.4)
  1239. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.5), 0.4)
  1240.  
  1241. end
  1242. end
  1243. end
  1244. for d = 1, #Saber do
  1245. Saber[d].Transparency = 0
  1246. end
  1247. for i = 0, 1, 0.1 do
  1248. swait()
  1249. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.5, 0, 0), 0.3)
  1250. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.8) * euler(-0.2, 0, -0.4), 0.3)
  1251. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.3, 0, 0.4) * euler(0, -0.4, 0), 0.3)
  1252. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1253. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.3, 0, -0.2) * euler(0, 0.4, 0), 0.3)
  1254. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1255. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 1.2), 0.3)
  1256. LH.C0 = clerp(LH.C0, cf(-1, 0, -1) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
  1257. end
  1258. for i = 1, 40 do
  1259. swait()
  1260. if StunT.Value <= Stun.Value then
  1261. break
  1262. end
  1263. end
  1264. do
  1265. Mode = "Normal"
  1266. resumeControl()
  1267. combo = 0
  1268. attack = false
  1269. end
  1270. end
  1271.  
  1272. StaggerHitt = function()
  1273. attack = true
  1274. for i = 1, math.random(2, 4) do
  1275. ClangEffect(BrickColor.new("New Yeller"), cf(hitbox.Position) * euler(math.random(-50, 50) / 100, math.random(-50, 50), math.random(-50, 50) / 100), 0, 0.1, 0.2, math.random(150, 300) / 1000)
  1276. end
  1277. for i = 0, 1, 0.1 do
  1278. swait()
  1279. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.7) * euler(0.1, 0, 0), 0.3)
  1280. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, -0.6), 0.3)
  1281. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.4, 0, 0.9) * euler(0, -0.7, 0), 0.3)
  1282. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1283. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.3)
  1284. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1285. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.4), 0.3)
  1286. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
  1287. end
  1288. attack = false
  1289. end
  1290.  
  1291. StunAnim = function()
  1292. attack = true
  1293. removeControl()
  1294. Stunned.Value = true
  1295. showDamage(Character, "Stunned", "Interrupt")
  1296. local dec = Instance.new("NumberValue", Decrease)
  1297. dec.Name = "DecreaseMvmt"
  1298. dec.Value = 10
  1299. for i = 0, 1, 0.3 do
  1300. swait()
  1301. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.5), 0.2)
  1302. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0.2, 0, -3), 0.2)
  1303. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 1.3), 0.2)
  1304. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1305. LW.C0 = clerp(LW.C0, cf(-1.2, 0.5, -0.4) * euler(1, 0, 0.4) * euler(0, -0.1, 0), 0.2)
  1306. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1307. RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.3), 0.25)
  1308. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, 0), 0.25)
  1309. end
  1310. for i = 0, 1, 0.3 do
  1311. swait()
  1312. Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -0.5), 0.2)
  1313. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5) * euler(0.8, 0, -3), 0.2)
  1314. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2)
  1315. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1316. LW.C0 = clerp(LW.C0, cf(-1.2, 0.5, -0.4) * euler(1.2, 0, 0.8) * euler(0, -0.1, 0), 0.2)
  1317. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1318. RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.25)
  1319. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(0.1, 0, 0.7), 0.25)
  1320. end
  1321. for i = 0, 1, 0.3 do
  1322. swait()
  1323. Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -1), 0.2)
  1324. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1.57, 0, -3), 0.2)
  1325. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2)
  1326. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1327. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, -0.8) * euler(0, -0.1, 0), 0.2)
  1328. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1329. RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, 0.6), 0.25)
  1330. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.3), 0.25)
  1331. end
  1332. local gairost = Instance.new("BodyGyro")
  1333. gairost.Parent = RootPart
  1334. gairost.maxTorque = Vector3.new(400000, 0, 400000) * math.huge
  1335. gairost.P = 20000
  1336. gairost.cframe = cf(0, 0, 0)
  1337. for i = 0, 1, 0.1 do
  1338. swait()
  1339. if hitfloor ~= nil then
  1340. Torso.Velocity = vt(0, 0, 0)
  1341. end
  1342. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.57), 0.3)
  1343. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2.5) * euler(1.57, 0, -3.14), 0.3)
  1344. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1.5) * euler(0.2, 0, 0), 0.3)
  1345. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1346. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.5, 0, -1.57) * euler(0, 0, 0), 0.3)
  1347. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1348. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.3, 0.5, 0), 0.3)
  1349. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 0), 0.3)
  1350. end
  1351. for i = 1, 70 do
  1352. swait()
  1353. gairost.cframe = RootPart.CFrame
  1354. if hitfloor ~= nil then
  1355. Torso.Velocity = vt(0, 0, 0)
  1356. end
  1357. end
  1358. for i = 0, 1, 0.2 do
  1359. swait()
  1360. Stun.Value = 0
  1361. gairost.cframe = RootPart.CFrame
  1362. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.3)
  1363. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1, 0, -4), 0.3)
  1364. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1) * euler(0.2, -1, 0), 0.3)
  1365. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1366. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, 0.2) * euler(0, 0, 0), 0.3)
  1367. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1368. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.3, 0.5, 0.4), 0.3)
  1369. LH.C0 = clerp(LH.C0, cf(-1, -1, -1) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 1), 0.3)
  1370. end
  1371. resumeControl()
  1372. gairost.Parent = nil
  1373. dec.Parent = nil
  1374. Stun.Value = 0
  1375. combo = 0
  1376. Stunned.Value = false
  1377. attack = false
  1378. for i = 1, 10 do
  1379. swait()
  1380. Stun.Value = 0
  1381. end
  1382. end
  1383.  
  1384. UnSword = function()
  1385. combo = 0
  1386. for i = 0, 1, 0.1 do
  1387. swait()
  1388. mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.5)
  1389. mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.5)
  1390. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.1, 0, 0), 0.5)
  1391. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.4) * euler(0.2, 0, 0), 0.5)
  1392. RW.C0 = clerp(RW.C0, cf(1.4, 0.4, -0.1) * euler(1.4, 0, 0.7) * euler(0, 1.3, 0), 0.5)
  1393. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.8, 0, -0.8) * euler(0, -1.5, 0), 0.5)
  1394. RH.C0 = clerp(RH.C0, cf(1, -0.7, -0.3) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.1), 0.5)
  1395. LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.2) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(-0.05, 0, -0.15), 0.5)
  1396. for d = 1, #Saber do
  1397. Saber[d].Transparency = i
  1398. end
  1399. end
  1400. for d = 1, #Saber do
  1401. Saber[d].Transparency = 1
  1402. end
  1403. handlewld.Part1 = Torso
  1404. handlewld2.Part1 = Torso
  1405. handlewld.C0 = euler(0, 3.14, -2.6) * cf(0, 0, -0.6)
  1406. handlewld2.C0 = euler(0, 3.14, -2.6) * euler(0, 3.14, 0) * cf(0, 0, -0.6)
  1407. mwld1.C0 = cf(0, 2, 0)
  1408. mwld2.C0 = cf(0, 2, 0)
  1409. floating = true
  1410. Mode = "Normal"
  1411. for i = 1, 0, -0.2 do
  1412. swait()
  1413. for d = 1, #Saber do
  1414. Saber[d].Transparency = i
  1415. end
  1416. end
  1417. for d = 1, #Saber do
  1418. Saber[d].Transparency = 0
  1419. end
  1420. end
  1421.  
  1422. attackone = function()
  1423. floating = false
  1424. Mode = "Sabers"
  1425. for i = 0, 1, 0.3 do
  1426. swait()
  1427. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.6) * euler(0.2, 0, 0), 0.3)
  1428. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0.1, 0, 0) * euler(0, 0, 0.6), 0.3)
  1429. RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0.1) * euler(0.4, 0, 1.2) * euler(0, 0, 0), 0.3)
  1430. LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0.1) * euler(0.4, 0, -1.6) * euler(0, 2, 0), 0.3)
  1431. RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(0, -0.6, 0) * euler(0, 0, 0.1), 0.3)
  1432. LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.05), 0.3)
  1433. for d = 1, #Saber do
  1434. Saber[d].Transparency = i
  1435. end
  1436. end
  1437. for d = 1, #Saber do
  1438. Saber[d].Transparency = 1
  1439. end
  1440. handlewld.Part1 = LeftArm
  1441. handlewld2.Part1 = RightArm
  1442. handlewld.C0 = euler(0, 0, -1.57) * euler(0, 1.57, 0) * cf(0, 1, 0)
  1443. handlewld2.C0 = euler(0, 0, -1.57) * euler(0, 1.57, 0) * cf(0, 1, 0)
  1444. mwld1.C0 = cf(0, 0, 0)
  1445. mwld2.C0 = cf(0, 0, 0)
  1446. so("341336274", main1, 0.6, 1.2)
  1447. so("341336274", main2, 0.6, 1.2)
  1448. for i = 1, 0, -0.3 do
  1449. swait()
  1450. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.6) * euler(0.2, 0, 0), 0.3)
  1451. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0.1, 0, 0) * euler(0, 0, 0.6), 0.3)
  1452. RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0.1) * euler(0.4, 0, 1.2) * euler(0, 0, 0), 0.3)
  1453. LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0.1) * euler(0.4, 0, -1.6) * euler(0, 2, 0), 0.3)
  1454. RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(0, -0.6, 0) * euler(0, 0, 0.1), 0.3)
  1455. LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.05), 0.3)
  1456. for d = 1, #Saber do
  1457. Saber[d].Transparency = i
  1458. end
  1459. end
  1460. for d = 1, #Saber do
  1461. Saber[d].Transparency = 0
  1462. end
  1463. hitbox.Parent = modelzorz
  1464. hitbox.CFrame = main1.CFrame * cf(0, 2, 0)
  1465. teh = math.random(-30, 30) / 100
  1466. so("341336307", main1, 0.6, 1.4 + teh)
  1467. so("341336485", main1, 0.6, 1 + teh)
  1468. for i = 0, 1, 0.12 do
  1469. swait()
  1470. hitbox.CFrame = main1.CFrame * cf(0, 2, 0)
  1471. MagniDamage(hitbox, 3, 6, 8, math.random(6, 8), "Normal", RootPart, 0.3, 2, (math.random(4, 6)), nil, true)
  1472. mwld1.C0 = clerp(mwld1.C0, cf(0, 0.2, 0) * euler(0, 0, -1), 0.4)
  1473. mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, 0.5), 0.4)
  1474. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.8) * euler(0.2, 0, 0), 0.4)
  1475. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0.1, 0, 0) * euler(0, 0, -0.8), 0.4)
  1476. RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0.1) * euler(2.5, 0, 0.6) * euler(0, -1, 0), 0.4)
  1477. LW.C0 = clerp(LW.C0, cf(-1, 0.5, -0.5) * euler(0.4, 0, -1.6) * euler(0, 2.5, 0) * euler(-2.5, 0, 0), 0.4)
  1478. RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.1, 0, -0.1), 0.4)
  1479. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0.1) * euler(0, -1.57, 0) * euler(0, 0.8, 0) * euler(-0.1, 0, 0.05), 0.4)
  1480. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1481. do
  1482. if StaggerHit.Value == true then
  1483. break
  1484. end
  1485. end
  1486. end
  1487. end
  1488. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1489. teh = math.random(-30, 30) / 100
  1490. so("341336307", main2, 0.6, 1.4 + teh)
  1491. so("341336485", main2, 0.6, 1 + teh)
  1492. for i = 0, 1, 0.12 do
  1493. swait()
  1494. hitbox.CFrame = main2.CFrame * cf(0, 2, 0)
  1495. MagniDamage(hitbox, 3, 6, 8, math.random(6, 8), "Normal", RootPart, 0.3, 2, (math.random(4, 6)), nil, true)
  1496. mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.4)
  1497. mwld2.C0 = clerp(mwld2.C0, cf(0, 0.3, 0) * euler(0, 0, -0.5), 0.4)
  1498. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.6) * euler(0.2, 0, 0), 0.4)
  1499. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0.1, 0, 0) * euler(0, 0, 0.6), 0.4)
  1500. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(2.5, 0, 0.6) * euler(0, 0.2, 0) * euler(-2, 0, 0), 0.4)
  1501. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.4, 0, -0.6) * euler(0, 0.4, 0), 0.4)
  1502. RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(0, -0.6, 0) * euler(0, 0, 0.1), 0.4)
  1503. LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.05), 0.4)
  1504. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1505. do
  1506. if StaggerHit.Value == true then
  1507. break
  1508. end
  1509. end
  1510. end
  1511. end
  1512. hitbox.Parent = nil
  1513. end
  1514. end
  1515.  
  1516. attacktwo = function()
  1517. for i = 0, 1, 0.15 do
  1518. swait()
  1519. mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.4)
  1520. mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.4)
  1521. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, -0.6) * euler(0.1, 0, 0), 0.4)
  1522. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0.6) * euler(0.2, 0, 0), 0.4)
  1523. RW.C0 = clerp(RW.C0, cf(1.4, 0.4, -0.1) * euler(0.6, 0, 0.7) * euler(0, 1, 0) * euler(0.4, 0, 0), 0.4)
  1524. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1, 0, -0.8) * euler(0, 2, 0), 0.4)
  1525. RH.C0 = clerp(RH.C0, cf(0.9, -0.7, 0.2) * euler(0, 1.57, 0) * euler(0, -0.6, 0) * euler(0, 0, 0.1), 0.4)
  1526. LH.C0 = clerp(LH.C0, cf(-1, -0.7, -0.1) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.2, 0, 0.15), 0.4)
  1527. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1528. do
  1529. if StaggerHit.Value == true then
  1530. break
  1531. end
  1532. end
  1533. end
  1534. end
  1535. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1536. hitbox.Parent = modelzorz
  1537. hitbox.CFrame = main1.CFrame * cf(0, 2, 0)
  1538. teh = math.random(-30, 30) / 100
  1539. so("341336307", main1, 0.6, 1.4 + teh)
  1540. so("341336485", main1, 0.6, 1 + teh)
  1541. for i = 0, 1, 0.12 do
  1542. swait()
  1543. hitbox.CFrame = main1.CFrame * cf(0, 2, 0)
  1544. MagniDamage(hitbox, 2, 6, 8, math.random(6, 8), "Normal", RootPart, 0.3, 2, (math.random(4, 6)), nil, true)
  1545. mwld1.C0 = clerp(mwld1.C0, cf(0, 0.3, 0) * euler(0, 0, -0.4), 0.4)
  1546. mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.4)
  1547. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.8) * euler(0.1, 0, 0), 0.4)
  1548. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.8) * euler(0.2, 0, 0), 0.4)
  1549. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.57, 0, 1.57) * euler(0, -1, 0) * euler(0, 0, 0), 0.4)
  1550. LW.C0 = clerp(LW.C0, cf(-1, 0.5, -0.5) * euler(1, 0, -0.8) * euler(0, 2.5, 0) * euler(-2, 0, 0), 0.4)
  1551. RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.4) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.3), 0.4)
  1552. LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, 0.2) * euler(0, -1.57, 0) * euler(0, 0.8, 0) * euler(0.1, 0, -0.15), 0.4)
  1553. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1554. do
  1555. if StaggerHit.Value == true then
  1556. break
  1557. end
  1558. end
  1559. end
  1560. end
  1561. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1562. teh = math.random(-30, 30) / 100
  1563. so("341336307", main2, 0.6, 1.4 + teh)
  1564. so("341336485", main2, 0.6, 1 + teh)
  1565. for i = 0, 1, 0.12 do
  1566. swait()
  1567. hitbox.CFrame = main2.CFrame * cf(0, 2, 0)
  1568. MagniDamage(hitbox, 2, 6, 8, math.random(6, 8), "Normal", RootPart, 0.3, 2, (math.random(4, 6)), nil, true)
  1569. mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.4)
  1570. mwld2.C0 = clerp(mwld2.C0, cf(0, 0.3, 0) * euler(0, 0, -0.4), 0.4)
  1571. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1) * euler(0.1, 0, 0), 0.4)
  1572. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 1) * euler(0, 0, 0), 0.4)
  1573. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(1.57, 0, 1.57) * euler(0, -1.5, 0) * euler(-2, 0, 0), 0.4)
  1574. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.6, 0, -0.8) * euler(0, -0.2, 0) * euler(0, 0, 0), 0.4)
  1575. RH.C0 = clerp(RH.C0, cf(0.8, -0.7, 0.3) * euler(0, 1.57, 0) * euler(0, -1, 0) * euler(0, 0, 0.1), 0.4)
  1576. LH.C0 = clerp(LH.C0, cf(-1, -0.7, -0.4) * euler(0, -1.57, 0) * euler(0, -0.6, 0) * euler(-0.2, 0, 0.3), 0.4)
  1577. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1578. do
  1579. if StaggerHit.Value == true then
  1580. break
  1581. end
  1582. end
  1583. end
  1584. end
  1585. hitbox.Parent = nil
  1586. end
  1587. end
  1588. end
  1589.  
  1590. attackthree = function()
  1591. for i = 0, 1, 0.15 do
  1592. swait()
  1593. mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.5)
  1594. mwld2.C0 = clerp(mwld2.C0, cf(0, 0.1, 0) * euler(0, 0, 0.4), 0.5)
  1595. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.1) * euler(0.5, 0, 0), 0.5)
  1596. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -1, 0.8) * euler(0, 0, 0.1) * euler(-0.2, 0, 0), 0.5)
  1597. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, -0.1, 0) * euler(2.8, 0, 0), 0.5)
  1598. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.6, 0, -0.7) * euler(0, 0.5, 0) * euler(0, 0, 0.6), 0.5)
  1599. RH.C0 = clerp(RH.C0, cf(1.1, -0.7, -0.2) * euler(0, 1.57, 0) * euler(0, -0.1, 0) * euler(-0.05, 0, 0.15), 0.5)
  1600. LH.C0 = clerp(LH.C0, cf(-0.95, -0.7, -0.1) * euler(0, -1.57, 0) * euler(-0.2, 0, 0.1), 0.5)
  1601. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1602. do
  1603. if StaggerHit.Value == true then
  1604. break
  1605. end
  1606. end
  1607. end
  1608. end
  1609. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1610. hitbox.Parent = modelzorz
  1611. hitbox.CFrame = main2.CFrame * cf(0, 2, 0)
  1612. teh = math.random(-30, 30) / 100
  1613. so("341336307", main2, 0.6, 1.4 + teh)
  1614. so("341336485", main2, 0.6, 1 + teh)
  1615. for i = 0, 1, 0.12 do
  1616. swait()
  1617. hitbox.CFrame = main2.CFrame * cf(0, 2, 0)
  1618. MagniDamage(hitbox, 2, 6, 8, math.random(6, 8), "Normal", RootPart, 0.3, 2, (math.random(4, 6)), nil, true)
  1619. mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.5)
  1620. mwld2.C0 = clerp(mwld2.C0, cf(0, 0.2, 0) * euler(0, 0, -0.4), 0.5)
  1621. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.1) * euler(0.2, 0, 0), 0.5)
  1622. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -1.5, -0.8) * euler(0, 0, 0.1) * euler(0.2, 0, 0), 0.5)
  1623. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, -0.1, 0) * euler(0.3, 0, 0), 0.5)
  1624. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.57, 0, -1.57) * euler(0, 1.7, 0), 0.5)
  1625. RH.C0 = clerp(RH.C0, cf(1.1, -0.2, -0.2) * euler(0, 1.57, 0) * euler(0, -0.1, 0) * euler(-0.05, 0, -0.1), 0.5)
  1626. LH.C0 = clerp(LH.C0, cf(-0.95, -0.5, -0.6) * euler(0, -1.57, 0) * euler(-0.2, 0, 0.4), 0.5)
  1627. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1628. do
  1629. if StaggerHit.Value == true then
  1630. break
  1631. end
  1632. end
  1633. end
  1634. end
  1635. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1636. teh = math.random(-30, 30) / 100
  1637. so("341336307", main1, 0.6, 1.4 + teh)
  1638. so("341336485", main1, 0.6, 1 + teh)
  1639. for i = 0, 1, 0.12 do
  1640. swait()
  1641. hitbox.CFrame = main1.CFrame * cf(0, 2, 0)
  1642. MagniDamage(hitbox, 2, 6, 8, math.random(6, 8), "Normal", RootPart, 0.3, 2, (math.random(4, 6)), nil, true)
  1643. mwld1.C0 = clerp(mwld1.C0, cf(0, 0.1, 0) * euler(0, 0, -0.4), 0.5)
  1644. mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.5)
  1645. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.1) * euler(0.2, 0, 0), 0.5)
  1646. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -1.5, -0.8) * euler(0, 0, -0.4) * euler(0.2, 0, 0), 0.5)
  1647. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, -0.1, 0) * euler(-0.3, 0, 0.6), 0.5)
  1648. LW.C0 = clerp(LW.C0, cf(-0.6, 0.5, -0.5) * euler(1.57, 0, -1.57) * euler(0, 1.7, 0) * euler(-2.8, 0, 0), 0.5)
  1649. RH.C0 = clerp(RH.C0, cf(1.1, -0.2, -0.2) * euler(0, 1.57, 0) * euler(0, 0.4, 0) * euler(-0.05, 0, -0.1), 0.5)
  1650. LH.C0 = clerp(LH.C0, cf(-0.95, -0.5, -0.6) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(-0.2, 0, 0.4), 0.5)
  1651. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1652. do
  1653. if StaggerHit.Value == true then
  1654. break
  1655. end
  1656. end
  1657. end
  1658. end
  1659. hitbox.Parent = nil
  1660. end
  1661. end
  1662. end
  1663.  
  1664. attackfour = function()
  1665. so("341336200", main1, 0.6, 1)
  1666. so("341336200", main2, 0.6, 1)
  1667. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.6, 0, 0) * euler(0, 0, 2) * euler(0, 0, 0), 0.3)
  1668. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.6, 0, 0) * euler(0, 0, -2) * euler(0, 0, 0), 0.3)
  1669. local tehn = math.random(1, 7)
  1670. local rara = 0
  1671. for i = 0, 1, 0.05 do
  1672. swait()
  1673. rara = rara + 1
  1674. if (rara) % 2 == 0 then
  1675. if tehn > 6 then
  1676. tehn = 1
  1677. else
  1678. tehn = tehn + 1
  1679. end
  1680. end
  1681. da1 = math.random(150, 250) / 100
  1682. da2 = math.random(700, 900) / 100
  1683. MagicCircle(Neons[tehn], main1.CFrame * cf(0, 3, 0), 5, 10, 5, da1, da2, da1, 0.2)
  1684. MagicCircle(Neons[tehn], main2.CFrame * cf(0, 3, 0), 5, 10, 5, da1, da2, da1, 0.2)
  1685. mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1686. mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1687. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.1, 0, 0), 0.3)
  1688. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, 0) * euler(0, 0, 0), 0.3)
  1689. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.6, 0, 0) * euler(0, 0, 2) * euler(0, -1.5, 0), 0.3)
  1690. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.6, 0, 0) * euler(0, 0, -2) * euler(0, 1.5, 0), 0.3)
  1691. RH.C0 = clerp(RH.C0, cf(1.05, -0.95, -0.1) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, -0.1), 0.3)
  1692. LH.C0 = clerp(LH.C0, cf(-1.05, -0.95, -0.1) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, 0.1), 0.3)
  1693. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1694. do
  1695. if StaggerHit.Value == true then
  1696. break
  1697. end
  1698. end
  1699. end
  1700. end
  1701. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1702. hitbox.Parent = modelzorz
  1703. hitbox.CFrame = main2.CFrame * cf(0, 2, 0)
  1704. so("341336307", main1, 1, 1.2)
  1705. so("341336307", main2, 1, 1.2)
  1706. for i = 0, 1, 0.2 do
  1707. swait()
  1708. hitbox.CFrame = main1.CFrame * cf(0, 2, 0)
  1709. MagniDamage(hitbox, 2, 8, 10, math.random(6, 8), "Normal", RootPart, 0.2, 2, (math.random(4, 6)), nil, true)
  1710. hitbox.CFrame = main2.CFrame * cf(0, 2, 0)
  1711. MagniDamage(hitbox, 2, 8, 10, math.random(6, 8), "Normal", RootPart, 0.2, 2, (math.random(4, 6)), nil, true)
  1712. mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, -1.4), 0.8)
  1713. mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, -1.4), 0.8)
  1714. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2, 0, 0), 0.8)
  1715. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -1, -0.2) * euler(0, 0, 0) * euler(0, 0, 0), 0.8)
  1716. RW.C0 = clerp(RW.C0, cf(0.8, 0.5, -0.5) * euler(1.6, 0, 0) * euler(0, 0, 2) * euler(0, -1.5, 0) * euler(-2.2, 0, 0), 0.8)
  1717. LW.C0 = clerp(LW.C0, cf(-0.8, 0.5, -0.5) * euler(1.6, 0, 0) * euler(0, 0, -2) * euler(0, 1.5, 0) * euler(-2.2, 0, 0), 0.8)
  1718. RH.C0 = clerp(RH.C0, cf(1.05, -0.95, -0.1) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, -0.1), 0.8)
  1719. LH.C0 = clerp(LH.C0, cf(-1.05, -0.95, -0.1) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, 0.1), 0.8)
  1720. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1721. do
  1722. if StaggerHit.Value == true then
  1723. break
  1724. end
  1725. end
  1726. end
  1727. end
  1728. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1729. for i = 1, 3 do
  1730. Star(main2, 50)
  1731. Star(main1, 50)
  1732. end
  1733. hitbox.Parent = nil
  1734. local ref1 = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt(.2,.2,.2))
  1735. ref1.Anchored = true
  1736. ref1.CFrame = cf(main1.Position)
  1737. game:GetService("Debris"):AddItem(ref1, 1)
  1738. so("341336243", ref1, 1, 1)
  1739. local ref2 = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt(.2,.2,.2))
  1740. ref2.Anchored = true
  1741. ref2.CFrame = cf(main2.Position)
  1742. game:GetService("Debris"):AddItem(ref2, 1)
  1743. so("341336243", ref1, 1, 1)
  1744. for i = 0, 1, 0.2 do
  1745. swait()
  1746. mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, -1.4), 0.5)
  1747. mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, -1.4), 0.5)
  1748. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2, 0, 0), 0.5)
  1749. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -1, -0.2) * euler(0, 0, 0) * euler(0, 0, 0), 0.5)
  1750. RW.C0 = clerp(RW.C0, cf(0.8, 0.5, -0.5) * euler(1.6, 0, 0) * euler(0, 0, 2) * euler(0, -1.5, 0) * euler(-2.2, 0, 0), 0.5)
  1751. LW.C0 = clerp(LW.C0, cf(-0.8, 0.5, -0.5) * euler(1.6, 0, 0) * euler(0, 0, -2) * euler(0, 1.5, 0) * euler(-2.2, 0, 0), 0.5)
  1752. RH.C0 = clerp(RH.C0, cf(1.05, -0.95, -0.1) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, -0.1), 0.5)
  1753. LH.C0 = clerp(LH.C0, cf(-1.05, -0.95, -0.1) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, 0.1), 0.5)
  1754. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1755. do
  1756. if StaggerHit.Value == true then
  1757. break
  1758. end
  1759. end
  1760. end
  1761. end
  1762. for i = 0, 1, 0.3 do
  1763. swait()
  1764. for d = 1, #Saber do
  1765. Saber[d].Transparency = i
  1766. end
  1767. end
  1768. for d = 1, #Saber do
  1769. Saber[d].Transparency = 1
  1770. end
  1771. handlewld.Part1 = Torso
  1772. handlewld2.Part1 = Torso
  1773. handlewld.C0 = euler(0, 3.14, -2.6) * cf(0, 0, -0.6)
  1774. handlewld2.C0 = euler(0, 3.14, -2.6) * euler(0, 3.14, 0) * cf(0, 0, -0.6)
  1775. mwld1.C0 = cf(0, 2, 0)
  1776. mwld2.C0 = cf(0, 2, 0)
  1777. floating = true
  1778. Mode = "Normal"
  1779. for i = 1, 0, -0.2 do
  1780. swait()
  1781. for d = 1, #Saber do
  1782. Saber[d].Transparency = i
  1783. end
  1784. end
  1785. for d = 1, #Saber do
  1786. Saber[d].Transparency = 0
  1787. end
  1788. end
  1789. end
  1790. end
  1791.  
  1792. PowerRising = function()
  1793. attack = true
  1794. if Mode == "Sabers" then
  1795. UnSword()
  1796. end
  1797. local dec = Instance.new("NumberValue", Decrease)
  1798. dec.Name = "DecreaseMvmt"
  1799. dec.Value = 10
  1800. manainc = 12
  1801. local col = 1
  1802. local colnum = 0
  1803. local dopart = 0
  1804. cooldownsadd[1] = 0.18
  1805. cooldownsadd[2] = 0.16
  1806. cooldownsadd[3] = 0.14
  1807. prising = true
  1808. local prref = part(3, nil, 0, 1, BrickColor.new("Black"), "Reference", vt(.2,.2,.2))
  1809. prref.Anchored = true
  1810. while prising == true do
  1811. swait()
  1812. dopart = dopart + 1
  1813. if (dopart) % 4 == 0 then
  1814. colnum = colnum + 1
  1815. if (colnum) % 2 == 0 then
  1816. col = math.random(1, 7)
  1817. end
  1818. MagicBlock2(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 0.6, 0.6, 0.6, 0.05, 1)
  1819. MagicBlock2(Neons[col], RightArm.CFrame * cf(0, -1, 0), 4, 4, 4, 0.6, 0.6, 0.6, 0.05, 1)
  1820. prref.CFrame = cf(RootPart.Position) * cf(math.random(-500, 500) / 100, 0, math.random(-500, 500) / 100)
  1821. local phitfloor, pposfloor = rayCast(prref.Position, CFrame.new(prref.Position, prref.Position - Vector3.new(0, 1, 0)).lookVector, 50, Character)
  1822. if phitfloor ~= nil then
  1823. MagicCircle(Neons[col], cf(pposfloor), 1, 1, 1, 1, 5, 1, 0.1)
  1824. end
  1825. end
  1826. do
  1827. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.3, 0, 0), 0.1)
  1828. RW.C0 = clerp(RW.C0, cf(1.4, 0.5, 0.1) * euler(1, 0, 1.3) * euler(0, -1.57, 0), 0.1)
  1829. LW.C0 = clerp(LW.C0, cf(-1.4, 0.5, 0.1) * euler(1, 0, -1.3) * euler(0, 1.57, 0), 0.1)
  1830. RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.1), 0.1)
  1831. LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.05), 0.1)
  1832. if Stagger.Value ~= true and StunT.Value > Stun.Value and StaggerHit.Value == true then
  1833. break
  1834. end
  1835. end
  1836. end
  1837. cooldownsadd[1] = 0.16
  1838. cooldownsadd[2] = 0.14
  1839. cooldownsadd[3] = 0.12
  1840. manainc = 16
  1841. dec.Parent = nil
  1842. attack = false
  1843. end
  1844.  
  1845. Star = function(mainpart, rand)
  1846. local stref = part(3, effects, 0, 0, BrickColor.new("Black"), "Reference", vt(.2,.2,.2))
  1847. stref.Anchored = true
  1848. stref.Material = "Neon"
  1849. stref.CFrame = cf(mainpart.Position)
  1850. local strmsh = mesh("SpecialMesh", stref, "FileMesh", "45428961", vt(0, 0, 0), vt(3, 3, 3))
  1851. hitbox.CFrame = mainpart.CFrame * cf(math.random(-100, 100) / 100, 2 + math.random(-200, 200) / 100, math.random(-100, 100) / 100)
  1852. table.insert(Effects, {RootPart.CFrame.lookVector + vt(math.random(-rand, rand) / 100, math.random(-rand, rand) / 100, math.random(-rand, rand) / 100), "Shoot", 80, hitbox.Position, 7, 9, 0, math.random(1, 7), stref, euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0})
  1853. end
  1854.  
  1855. do1 = function()
  1856. if attack == true then
  1857. return
  1858. end
  1859. attack = true
  1860. if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1861. return
  1862. end
  1863. if cooldowns[1] >= 50 then
  1864. if Mode == "Sabers" then
  1865. UnSword()
  1866. end
  1867. cbuster = true
  1868. Humanoid.AutoRotate = false
  1869. for i = 0, 1, 0.1 do
  1870. swait()
  1871. LeftArm.Transparency = i
  1872. for d = 1, #Buster do
  1873. Buster[d].Transparency = i
  1874. end
  1875. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.8) * euler(0.2, 0, 0), 0.3)
  1876. RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0.1) * euler(0.4, 0, 0.4) * euler(0, -1.5, 0), 0.3)
  1877. LW.C0 = clerp(LW.C0, cf(-1, 0.5, 0.5) * euler(1.3, 0, -1) * euler(0, 0, 0), 0.3)
  1878. RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.1), 0.3)
  1879. LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.05), 0.3)
  1880. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1881. do
  1882. if StaggerHit.Value == true then
  1883. break
  1884. end
  1885. end
  1886. end
  1887. end
  1888. local rara1 = Instance.new("NumberValue", Decrease)
  1889. rara1.Name = "DecreaseMvmt"
  1890. rara1.Value = 0.4
  1891. local rara2 = Instance.new("NumberValue", Decrease)
  1892. rara2.Name = "DecreaseDef"
  1893. rara2.Value = -0.1
  1894. handlewld3.Part1 = LeftArm
  1895. handlewld3.C0 = euler(0, 0, mr(-90)) * euler(0, mr(40), 0) * cf(0, 0, 0)
  1896. LeftArm.Transparency = 1
  1897. for d = 1, #Buster do
  1898. Buster[d].Transparency = 1
  1899. end
  1900. for i = 1, 0, -0.2 do
  1901. swait()
  1902. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2, 0, 0), 0.5)
  1903. for d = 1, #Buster do
  1904. Buster[d].Transparency = i
  1905. end
  1906. end
  1907. for d = 1, #Buster do
  1908. Buster[d].Transparency = 0
  1909. end
  1910. cshoot = false
  1911. cdebounce = false
  1912. local dashoot = 0
  1913. local laser1 = part(3, nil, 0, 0.5, BrickColor.new("Really red"), "Effect", vt(.2,.2,.2))
  1914. laser1.Material = "Neon"
  1915. laser1.Anchored = true
  1916. local laser2 = laser1:Clone()
  1917. local laser3 = laser1:Clone()
  1918. local laser4 = laser1:Clone()
  1919. local lmsh1 = mesh("CylinderMesh", laser1, "", "", vt(0, 0, 0), vt(1, 1, 1))
  1920. local lmsh2 = mesh("CylinderMesh", laser2, "", "", vt(0, 0, 0), vt(1, 1, 1))
  1921. local lmsh3 = mesh("CylinderMesh", laser3, "", "", vt(0, 0, 0), vt(1, 1, 1))
  1922. local lmsh4 = (mesh("CylinderMesh", laser4, "", "", vt(0, 0, 0), vt(1, 1, 1)))
  1923. local l2cf, l3cf, l4cf = nil, nil, nil
  1924. while cbuster == true and cooldowns[1] > 10 do
  1925. swait()
  1926. if MMouse ~= nil then
  1927. local mpos = handle3.CFrame * euler(0, 0, 0)
  1928. local cff = CFrame.new(mpos.p, MMouse.Hit.p) * CFrame.Angles(math.pi / 2, 0, 0)
  1929. local x, y, z = handle3.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  1930. handlewld3a.Part0 = handle3
  1931. handlewld3a.Part1 = handle3a
  1932. handlewld3a.C0 = clerp(handlewld3a.C0, CFrame.Angles(x, y, z) * euler(0, -mr(45), 1.57) * cf(-1, 0, 0), 0.3)
  1933. end
  1934. if busterlaser == true then
  1935. busterlaser = false
  1936. so("306247678", Torso, 1, 0.5)
  1937. for _,c in pairs(model3:children()) do
  1938. c.Transparency = 0
  1939. end
  1940. local dec = Instance.new("NumberValue", Decrease)
  1941. dec.Name = "DecreaseMvmt"
  1942. dec.Value = 0
  1943. for d = 1, 7 do
  1944. for i = 1, 0, -0.25 do
  1945. swait()
  1946. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.4, 0, 0.4) * euler(0, 0, 0), 0.3)
  1947. do
  1948. do
  1949. if d == 1 then
  1950. rmsh7.Scale = vt(2.5, 2.25, rs4 - rs4 * i)
  1951. rmsh7a.Scale = vt(2.5, 2.25, rs4 - rs4 * i)
  1952. rwld7.C0 = euler(0, mr(90), 0) * cf(2.85 + rw3 * i, 0, 0.1)
  1953. rwld7a.C0 = euler(0, mr(90), 0) * cf(2.85 + rw3 * i, 0, -0.1)
  1954. else
  1955. if d == 2 then
  1956. rmsh6.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1957. rmsh6a.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1958. rwld6.C0 = euler(0, mr(90), 0) * cf(2.175 + rw2 * i, 0, 0.1)
  1959. rwld6a.C0 = euler(0, mr(90), 0) * cf(2.175 + rw2 * i, 0, -0.1)
  1960. else
  1961. if d == 3 then
  1962. rmsh5.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1963. rmsh5a.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1964. rwld5.C0 = euler(0, mr(90), 0) * cf(1.425 + rw2 * i, 0, 0.1)
  1965. rwld5a.C0 = euler(0, mr(90), 0) * cf(1.425 + rw2 * i, 0, -0.1)
  1966. else
  1967. if d == 4 then
  1968. rmsh4.Scale = vt(2.5, 2.25, rs3 - rs3 * i)
  1969. rmsh4a.Scale = vt(2.5, 2.25, rs3 - rs3 * i)
  1970. rwld4.C0 = euler(0, mr(90), 0) * cf(0.65 + rw2 * i, 0, 0.1)
  1971. rwld4a.C0 = euler(0, mr(90), 0) * cf(0.65 + rw2 * i, 0, -0.1)
  1972. else
  1973. if d == 5 then
  1974. rmsh3.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1975. rmsh3a.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1976. rwld3.C0 = euler(0, mr(90), 0) * cf(-0.125 + rw2 * i, 0, 0.1)
  1977. rwld3a.C0 = euler(0, mr(90), 0) * cf(-0.125 + rw2 * i, 0, -0.1)
  1978. else
  1979. if d == 6 then
  1980. rmsh2.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1981. rmsh2a.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1982. rwld2.C0 = euler(0, mr(90), 0) * cf(-0.875 + rw2 * i, 0, 0.1)
  1983. rwld2a.C0 = euler(0, mr(90), 0) * cf(-0.875 + rw2 * i, 0, -0.1)
  1984. else
  1985. if d == 7 then
  1986. rmsh1.Scale = vt(2.5, 2.25, rs1 - rs1 * i)
  1987. rmsh1a.Scale = vt(2.5, 2.25, rs1 - rs1 * i)
  1988. rwld1.C0 = euler(0, mr(90), 0) * cf(-1.55 + rw1 * i, 0, 0.1)
  1989. rwld1a.C0 = euler(0, mr(90), 0) * cf(-1.55 + rw1 * i, 0, -0.1)
  1990. end
  1991. end
  1992. end
  1993. end
  1994. end
  1995. end
  1996. end
  1997. end
  1998. end
  1999. end
  2000. end
  2001. local mainpos = MMouse.Hit.p
  2002. for i = 0, 3, 0.2 do
  2003. swait()
  2004. if mainpos ~= nil then
  2005. local mpos = handle3.CFrame * euler(0, 0, 0)
  2006. local cff = CFrame.new(mpos.p, mainpos) * CFrame.Angles(math.pi / 2, 0, 0)
  2007. local x, y, z = handle3.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  2008. handlewld3a.Part0 = handle3
  2009. handlewld3a.Part1 = handle3a
  2010. handlewld3a.C0 = clerp(handlewld3a.C0, CFrame.Angles(x, y, z) * euler(0, -mr(45), 1.57) * cf(-1, 0, 0), 0.8)
  2011. end
  2012. do
  2013. do
  2014. if i < 1 then
  2015. handlewld4.C0 = clerp(handlewld4.C0, cf(0, 0, 0.1), 0.4)
  2016. handlewld5.C0 = clerp(handlewld5.C0, cf(0, 0, -0.1), 0.4)
  2017. handlewld6.C0 = euler(0, mr(-45) * i, 0) * cf(3.35, 0, -0.075 - 0.065 * i)
  2018. handlewld7.C0 = euler(0, mr(45) * i, 0) * cf(3.35, 0, 0.075 + 0.065 * i)
  2019. end
  2020. end
  2021. end
  2022. end
  2023. mana.Value = mana.Value - 15
  2024. cooldowns[1] = cooldowns[1] - 30
  2025. for i = 1, 3 do
  2026. so("341336476", handle10, 10, 1)
  2027. end
  2028. local refl = part(3, nil, 0, 1, BrickColor.new("Black"), "Reference", vt(.2,.2,.2))
  2029. refl.Anchored = true
  2030. for d = 1, 7 do
  2031. for i = 0, 1, 0.25 do
  2032. swait()
  2033. if mainpos ~= nil then
  2034. local mpos = handle3.CFrame * euler(0, 0, 0)
  2035. local cff = CFrame.new(mpos.p, mainpos) * CFrame.Angles(math.pi / 2, 0, 0)
  2036. local x, y, z = handle3.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  2037. handlewld3a.Part0 = handle3
  2038. handlewld3a.Part1 = handle3a
  2039. handlewld3a.C0 = clerp(handlewld3a.C0, CFrame.Angles(x, y, z) * euler(0, -mr(45), 1.57) * cf(-1, 0, 0) * cf(math.random(-50, 50) / 100, math.random(-50, 50) / 100, math.random(-50, 50) / 100), 0.5)
  2040. for i = 1, 5 do
  2041. tehcf = cf(0, 0, -1.5)
  2042. if i == 2 then
  2043. tehcf = cf(0, 3, -1.5)
  2044. else
  2045. if i == 3 then
  2046. tehcf = cf(0, -3, -1.5)
  2047. else
  2048. if i == 4 then
  2049. tehcf = cf(3, 0, -1.5)
  2050. else
  2051. if i == 5 then
  2052. tehcf = cf(-3, 0, -1.5)
  2053. end
  2054. end
  2055. end
  2056. end
  2057. refl.CFrame = handle10.CFrame * tehcf
  2058. local mainpos = refl.Position
  2059. local dist = 500
  2060. raa = math.random(1, 7)
  2061. if i == 1 then
  2062. MagicCircle(Neons[raa], refl.CFrame, 30, 30, 10, 0, 0, 0, 0.3)
  2063. end
  2064. local bounce = 10
  2065. repeat
  2066. bounce = bounce - 1
  2067. local hit, pos = rayCast(mainpos, refl.CFrame.lookVector, dist, Character)
  2068. local targl = mainpos - pos
  2069. local magl = targl.magnitude
  2070. dist = dist - magl
  2071. local mag = (mainpos - pos).magnitude
  2072. if i == 1 then
  2073. MagicCylinder(Neons[raa], CFrame.new((mainpos + pos) / 2, pos) * angles(1.57, 0, 0), 30, mag * 5, 30, 0, 0, 0, 0.3)
  2074. end
  2075. mainpos = pos
  2076. if hit ~= nil then
  2077. Damagefunc(hit, 8, 10, 0, "Normal", RootPart, 0.2, 1, (math.random(8, 10)), nil, nil, true)
  2078. end
  2079. until dist <= 0 or hit == nil or bounce < 1
  2080. end
  2081. end
  2082. do
  2083. do
  2084. if d == 7 then
  2085. rainbow6.Transparency = 1
  2086. rainbow6a.Transparency = 1
  2087. rmsh7.Scale = vt(2.5, 2.25, rs4 - rs4 * i)
  2088. rmsh7a.Scale = vt(2.5, 2.25, rs4 - rs4 * i)
  2089. rwld7.C0 = euler(0, mr(90), 0) * cf(2.85 + rw3 * i, 0, 0.1)
  2090. rwld7a.C0 = euler(0, mr(90), 0) * cf(2.85 + rw3 * i, 0, -0.1)
  2091. else
  2092. if d == 6 then
  2093. rainbow5.Transparency = 1
  2094. rainbow5a.Transparency = 1
  2095. rmsh6.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  2096. rmsh6a.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  2097. rwld6.C0 = euler(0, mr(90), 0) * cf(2.175 + rw2 * i, 0, 0.1)
  2098. rwld6a.C0 = euler(0, mr(90), 0) * cf(2.175 + rw2 * i, 0, -0.1)
  2099. else
  2100. if d == 5 then
  2101. rainbow4.Transparency = 1
  2102. rainbow4a.Transparency = 1
  2103. rmsh5.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  2104. rmsh5a.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  2105. rwld5.C0 = euler(0, mr(90), 0) * cf(1.425 + rw2 * i, 0, 0.1)
  2106. rwld5a.C0 = euler(0, mr(90), 0) * cf(1.425 + rw2 * i, 0, -0.1)
  2107. else
  2108. if d == 4 then
  2109. rainbow3.Transparency = 1
  2110. rainbow3a.Transparency = 1
  2111. rmsh4.Scale = vt(2.5, 2.25, rs3 - rs3 * i)
  2112. rmsh4a.Scale = vt(2.5, 2.25, rs3 - rs3 * i)
  2113. rwld4.C0 = euler(0, mr(90), 0) * cf(0.65 + rw2 * i, 0, 0.1)
  2114. rwld4a.C0 = euler(0, mr(90), 0) * cf(0.65 + rw2 * i, 0, -0.1)
  2115. else
  2116. if d == 3 then
  2117. rainbow2.Transparency = 1
  2118. rainbow2a.Transparency = 1
  2119. rmsh3.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  2120. rmsh3a.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  2121. rwld3.C0 = euler(0, mr(90), 0) * cf(-0.125 + rw2 * i, 0, 0.1)
  2122. rwld3a.C0 = euler(0, mr(90), 0) * cf(-0.125 + rw2 * i, 0, -0.1)
  2123. else
  2124. if d == 2 then
  2125. rainbow1.Transparency = 1
  2126. rainbow1a.Transparency = 1
  2127. rmsh2.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  2128. rmsh2a.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  2129. rwld2.C0 = euler(0, mr(90), 0) * cf(-0.875 + rw2 * i, 0, 0.1)
  2130. rwld2a.C0 = euler(0, mr(90), 0) * cf(-0.875 + rw2 * i, 0, -0.1)
  2131. else
  2132. if d == 1 then
  2133. rmsh1.Scale = vt(2.5, 2.25, rs1 - rs1 * i)
  2134. rmsh1a.Scale = vt(2.5, 2.25, rs1 - rs1 * i)
  2135. rwld1.C0 = euler(0, mr(90), 0) * cf(-1.55 + rw1 * i, 0, 0.1)
  2136. rwld1a.C0 = euler(0, mr(90), 0) * cf(-1.55 + rw1 * i, 0, -0.1)
  2137. end
  2138. end
  2139. end
  2140. end
  2141. end
  2142. end
  2143. end
  2144. end
  2145. end
  2146. end
  2147. end
  2148. for _,c in pairs(model3:children()) do
  2149. c.Transparency = 1
  2150. end
  2151. for i = 0, 1, 0.1 do
  2152. swait()
  2153. if mainpos ~= nil then
  2154. local mpos = handle3.CFrame * euler(0, 0, 0)
  2155. local cff = CFrame.new(mpos.p, mainpos) * CFrame.Angles(math.pi / 2, 0, 0)
  2156. local x, y, z = handle3.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  2157. handlewld3a.Part0 = handle3
  2158. handlewld3a.Part1 = handle3a
  2159. handlewld3a.C0 = clerp(handlewld3a.C0, CFrame.Angles(x, y, z) * euler(0, -mr(45), 1.57) * cf(-1, 0, 0), 0.5)
  2160. end
  2161. do
  2162. do
  2163. if i < 1 then
  2164. handlewld4.C0 = clerp(handlewld4.C0, cf(0, 0, 0), 0.4)
  2165. handlewld5.C0 = clerp(handlewld5.C0, cf(0, 0, 0), 0.4)
  2166. handlewld6.C0 = clerp(handlewld6.C0, cf(3.35, 0, -0.075), 0.4)
  2167. handlewld7.C0 = clerp(handlewld7.C0, cf(3.35, 0, 0.075), 0.4)
  2168. end
  2169. end
  2170. end
  2171. end
  2172. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2, 0, 0), 1)
  2173. RootJoint.C1 = clerp(RootJoint.C1, RootCF, 1)
  2174. dec.Parent = nil
  2175. handlewld4.C0 = cf(0, 0, 0)
  2176. handlewld5.C0 = cf(0, 0, 0)
  2177. handlewld6.C0 = clerp(handlewld6.C0, cf(3.35, 0, -0.075), 1)
  2178. handlewld7.C0 = clerp(handlewld7.C0, cf(3.35, 0, 0.075), 1)
  2179. end
  2180. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  2181. if StaggerHit.Value ~= true and cshoot == true then
  2182. cdebounce = true
  2183. cshoot = false
  2184. while cdebounce do
  2185. swait()
  2186. if cdebounce == true and dashoot < 27 then
  2187. if dashoot == 0 then
  2188. l2cf = vt(math.random(-10, 10) / 100, math.random(-10, 10) / 100, math.random(-10, 10) / 100)
  2189. l3cf = vt(math.random(-10, 10) / 100, math.random(-10, 10) / 100, math.random(-10, 10) / 100)
  2190. l4cf = vt(math.random(-10, 10) / 100, math.random(-10, 10) / 100, math.random(-10, 10) / 100)
  2191. end
  2192. dashoot = dashoot + 1
  2193. local hit, pos = rayCast(handle10.Position, handle10.CFrame.lookVector, 500, Character)
  2194. local hit2, pos2 = rayCast(handle10.Position, handle10.CFrame.lookVector + l2cf, 500, Character)
  2195. local hit3, pos3 = rayCast(handle10.Position, handle10.CFrame.lookVector + l3cf, 500, Character)
  2196. local hit4, pos4 = rayCast(handle10.Position, handle10.CFrame.lookVector + l4cf, 500, Character)
  2197. if (dashoot) % 3 == 0 and dashoot < 20 then
  2198. so("341336333", handle10, 1, 1)
  2199. end
  2200. if dashoot == 20 or dashoot == 22 or dashoot == 24 or dashoot == 26 then
  2201. cooldowns[1] = cooldowns[1] - 4
  2202. handlewld8.C0 = euler(0, mr(-20), 0) * cf(0.291, 0, 0)
  2203. handlewld9.C0 = euler(0, mr(20), 0) * cf(0.291, 0, 0)
  2204. so("341336385", handle10, 1, 1)
  2205. table.insert(Effects, {handle10.CFrame.lookVector, "Shoot2", 50, handle10.Position, 6, 8, 0, math.random(1, 7)})
  2206. table.insert(Effects, {handle10.CFrame.lookVector + l2cf, "Shoot2", 50, handle10.Position, 6, 8, 0, math.random(1, 7)})
  2207. table.insert(Effects, {handle10.CFrame.lookVector + l3cf, "Shoot2", 50, handle10.Position, 6, 8, 0, math.random(1, 7)})
  2208. table.insert(Effects, {handle10.CFrame.lookVector + l4cf, "Shoot2", 50, handle10.Position, 6, 8, 0, math.random(1, 7)})
  2209. else
  2210. handlewld8.C0 = euler(0, 0, 0) * cf(0.291, 0, 0)
  2211. handlewld9.C0 = euler(0, 0, 0) * cf(0.291, 0, 0)
  2212. end
  2213. local mag = (handle10.Position - pos).magnitude
  2214. laser1.Parent = effects
  2215. laser1.CFrame = cf((handle10.Position + pos) / 2, pos) * angles(1.57, 0, 0)
  2216. lmsh1.Scale = vt(0.5, mag * 5, 0.5)
  2217. local mag2 = (handle10.Position - pos2).magnitude
  2218. laser2.Parent = effects
  2219. laser2.CFrame = cf((handle10.Position + pos2) / 2, pos2) * angles(1.57, 0, 0)
  2220. lmsh2.Scale = vt(0.5, mag2 * 5, 0.5)
  2221. local mag3 = (handle10.Position - pos3).magnitude
  2222. laser3.Parent = effects
  2223. laser3.CFrame = cf((handle10.Position + pos3) / 2, pos3) * angles(1.57, 0, 0)
  2224. lmsh3.Scale = vt(0.5, mag3 * 5, 0.5)
  2225. local mag4 = (handle10.Position - pos4).magnitude
  2226. laser4.Parent = effects
  2227. laser4.CFrame = cf((handle10.Position + pos4) / 2, pos4) * angles(1.57, 0, 0)
  2228. lmsh4.Scale = vt(0.5, mag4 * 5, 0.5)
  2229. else
  2230. do
  2231. laser1.Parent = nil
  2232. laser2.Parent = nil
  2233. laser3.Parent = nil
  2234. laser4.Parent = nil
  2235. cdebounce = false
  2236. dashoot = 0
  2237. if MMouse ~= nil then
  2238. local mpos = handle3.CFrame * euler(0, 0, 0)
  2239. local cff = CFrame.new(mpos.p, MMouse.Hit.p) * CFrame.Angles(math.pi / 2, 0, 0)
  2240. local x, y, z = handle3.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  2241. handlewld3a.Part0 = handle3
  2242. handlewld3a.Part1 = handle3a
  2243. handlewld3a.C0 = clerp(handlewld3a.C0, CFrame.Angles(x, y, z) * euler(0, -mr(45), 1.57) * cf(-1, 0, 0), 0.3)
  2244. end
  2245. end
  2246. end
  2247. end
  2248. end
  2249. end
  2250. if Anim == "Idle" then
  2251. RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0.1) * euler(0.4, 0, 0.4) * euler(0, -1.5, 0), 0.3)
  2252. RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.1), 0.3)
  2253. LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.05), 0.3)
  2254. end
  2255. if Anim == "Walk" or Anim == "Run" then
  2256. RW.C0 = clerp(RW.C0, cf(1.4, 0.5, 0.1) * euler(-0.2, 0, 0.4) * euler(0, 0, 0), 0.3)
  2257. RH.C0 = clerp(RH.C0, cf(0.95, -0.8, -0.2) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.5), 0.3)
  2258. LH.C0 = clerp(LH.C0, cf(-0.95, -0.8, -0.2) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.5), 0.3)
  2259. end
  2260. if Anim == "Jump" then
  2261. RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0.1) * euler(0.4, 0, 0.8) * euler(0, 0, 0), 0.3)
  2262. RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.1), 0.3)
  2263. LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.05), 0.3)
  2264. end
  2265. if Anim == "Fall" then
  2266. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.8) * euler(0, -1.5, 0), 0.2)
  2267. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.2)
  2268. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.2)
  2269. end
  2270. end
  2271. Humanoid.AutoRotate = true
  2272. cbuster = false
  2273. rara1.Parent = nil
  2274. rara2.Parent = nil
  2275. handlewld8.C0 = euler(0, 0, 0) * cf(0.291, 0, 0)
  2276. handlewld9.C0 = euler(0, 0, 0) * cf(0.291, 0, 0)
  2277. laser1.Parent = nil
  2278. laser2.Parent = nil
  2279. laser3.Parent = nil
  2280. laser4.Parent = nil
  2281. LW.Part0 = ch.Torso
  2282. LW.Part1 = ch["Left Arm"]
  2283. handlewld3.Part0 = handle3
  2284. handlewld3.Part1 = LeftArm
  2285. for i = 0, 1, 0.1 do
  2286. swait()
  2287. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.8) * euler(0.2, 0, 0), 0.3)
  2288. for d = 1, #Buster do
  2289. Buster[d].Transparency = i
  2290. end
  2291. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  2292. do
  2293. if StaggerHit.Value == true then
  2294. break
  2295. end
  2296. end
  2297. end
  2298. end
  2299. handlewld3a.C0 = clerp(handlewld3a.C0, cf(0, 0, 0), 1)
  2300. handlewld3.Part1 = Torso
  2301. handlewld3.C0 = euler(1.57, 0, 0) * cf(-0.5, 0, 0) * euler(0, 0, -0.5) * cf(0, 0, -0.8)
  2302. for i = 1, 0, -0.1 do
  2303. swait()
  2304. LeftArm.Transparency = i
  2305. for d = 1, #Buster do
  2306. Buster[d].Transparency = i
  2307. end
  2308. end
  2309. LeftArm.Transparency = 0
  2310. for d = 1, #Buster do
  2311. Buster[d].Transparency = 0
  2312. end
  2313. end
  2314. attack = false
  2315. end
  2316.  
  2317. do2 = function()
  2318. if sbreaker == true then
  2319. sbreaker = false
  2320. end
  2321. if attack == true then
  2322. return
  2323. end
  2324. attack = true
  2325. if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  2326. return
  2327. end
  2328. if cooldowns[2] >= 70 then
  2329. if Mode == "Sabers" then
  2330. UnSword()
  2331. end
  2332. local rara1 = Instance.new("NumberValue", Decrease)
  2333. rara1.Name = "DecreaseMvmt"
  2334. rara1.Value = -0.05
  2335. local rara2 = Instance.new("NumberValue", Decrease)
  2336. rara2.Name = "DecreaseDef"
  2337. rara2.Value = 0.1
  2338. so("341336144", LeftArm, 1, 1)
  2339. so("341336144", RightArm, 1, 1)
  2340. sbreaker = true
  2341. local sbref1 = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt(.2,.2,.2))
  2342. local sbrwld1 = weld(sbref1, sbref1, LeftArm, cf(0, 1, 0))
  2343. local sbref2 = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt(.2,.2,.2))
  2344. local sbrwld2 = weld(sbref2, sbref2, RightArm, cf(0, 1, 0))
  2345. local da1 = lparti1:Clone()
  2346. da1.Parent = sbref1
  2347. local da2 = lparti1:Clone()
  2348. da2.Parent = sbref2
  2349. da1.Enabled = true
  2350. da2.Enabled = true
  2351. for i = 0, 1, 0.1 do
  2352. swait()
  2353. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2, 0, 0), 0.3)
  2354. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(2.5, 0, 1) * euler(0, 0, 0), 0.3)
  2355. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(2.5, 0, -1) * euler(0, 0, 0), 0.3)
  2356. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  2357. do
  2358. if StaggerHit.Value == true then
  2359. break
  2360. end
  2361. end
  2362. end
  2363. end
  2364. shockshoot = false
  2365. shockdebounce = false
  2366. local dashoot = 3
  2367. local sref = part(3, nil, 0, 1, BrickColor.new("Black"), "Reference", vt(.2,.2,.2))
  2368. sref.Anchored = true
  2369. TehM = nil
  2370. while sbreaker == true and cooldowns[2] > 20 do
  2371. swait()
  2372. if sbreakerII == true then
  2373. sbreakerII = false
  2374. for i = 0, 1, 0.1 do
  2375. swait()
  2376. da1.Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  2377. da2.Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  2378. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.3, 0, -0.2) * euler(0, 0, 0), 0.3)
  2379. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.3, 0, 0.2) * euler(0, 0, 0), 0.3)
  2380. end
  2381. cooldowns[2] = cooldowns[2] - 30
  2382. mana.Value = mana.Value - 10
  2383. for i = 1, 3 do
  2384. MouseLook = cf((RootPart.Position + MMouse.Hit.p) / 2, MMouse.Hit.p)
  2385. local hit, pos = rayCast(RootPart.Position, MouseLook.lookVector, 200, Character)
  2386. rand = cf(math.random(-1500, 1500) / 100, 10, math.random(-1500, 1500) / 100)
  2387. sref.CFrame = cf(pos) * rand
  2388. local hit2, pos2 = rayCast(sref.Position, CFrame.new(sref.Position, sref.Position - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  2389. local d1 = part(3, effects, 0, 0.5, BrickColor.new("White"), "Effect", vt(.2,.2,.2))
  2390. d1.Anchored = true
  2391. d1.CFrame = cf(pos2)
  2392. d1.Material = "Neon"
  2393. msh = mesh("CylinderMesh", d1, "nil", "nil", vt(0, 0, 0), vt(100, 5, 100))
  2394. d2 = d1:Clone()
  2395. d2.Transparency = 1
  2396. d2.Parent = d1
  2397. d2.CFrame = cf(d1.Position)
  2398. d2.BrickColor = BrickColor.new("New Yeller")
  2399. table.insert(Effects, {d1, "SatelliteStrike2", d2, d2.Mesh, 0, 0})
  2400. end
  2401. end
  2402. do
  2403. if shockshoot == true then
  2404. shockshoot = false
  2405. shockdebounce = true
  2406. end
  2407. if shockdebounce == true and dashoot < 25 then
  2408. dashoot = dashoot + 1
  2409. if (dashoot) % 4 == 0 and dashoot < 20 then
  2410. cooldowns[2] = cooldowns[2] - 3
  2411. MouseLook = cf((RootPart.Position + TehM) / 2, TehM)
  2412. local hit, pos = rayCast(RootPart.Position, MouseLook.lookVector, 200, Character)
  2413. rand = cf(math.random(-1500, 1500) / 100, 10, math.random(-1500, 1500) / 100)
  2414. if dashoot == 4 then
  2415. rand = cf(0, 10, 0)
  2416. end
  2417. sref.CFrame = cf(pos) * rand
  2418. local hit2, pos2 = rayCast(sref.Position, CFrame.new(sref.Position, sref.Position - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  2419. local d1 = part(3, effects, 0, 0.5, BrickColor.new("White"), "Effect", vt(.2,.2,.2))
  2420. d1.Anchored = true
  2421. d1.CFrame = cf(pos2)
  2422. d1.Material = "Neon"
  2423. msh = mesh("CylinderMesh", d1, "nil", "nil", vt(0, 0, 0), vt(50, 5, 50))
  2424. d2 = d1:Clone()
  2425. d2.Transparency = 1
  2426. d2.Parent = d1
  2427. d2.CFrame = cf(d1.Position)
  2428. d2.BrickColor = BrickColor.new("New Yeller")
  2429. table.insert(Effects, {d1, "SatelliteStrike", d2, d2.Mesh, 0, 0})
  2430. end
  2431. else
  2432. do
  2433. shockdebounce = false
  2434. dashoot = 3
  2435. da1.Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  2436. da2.Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  2437. RW.C0 = clerp(RW.C0, cf(1.4, 0.5, 0.1) * euler(2.5, 0, 1) * euler(0, 0, 0), 0.3)
  2438. LW.C0 = clerp(LW.C0, cf(-1.4, 0.5, 0.1) * euler(2.5, 0, -1) * euler(0, 0, 0), 0.3)
  2439. if Stagger.Value ~= true and StunT.Value > Stun.Value and StaggerHit.Value == true then
  2440. break
  2441. end
  2442. end
  2443. end
  2444. end
  2445. if Anim == "Idle" then
  2446. RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.1), 0.3)
  2447. LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.05), 0.3)
  2448. end
  2449. if Anim == "Walk" or Anim == "Run" then
  2450. RH.C0 = clerp(RH.C0, cf(0.95, -0.8, -0.2) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.5), 0.3)
  2451. LH.C0 = clerp(LH.C0, cf(-0.95, -0.8, -0.2) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.5), 0.3)
  2452. end
  2453. if Anim == "Jump" then
  2454. RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.1), 0.3)
  2455. LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.05), 0.3)
  2456. end
  2457. if Anim == "Fall" then
  2458. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.2)
  2459. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.2)
  2460. end
  2461. end
  2462. sbreaker = false
  2463. rara1.Parent = nil
  2464. rara2.Parent = nil
  2465. sbrwld1.Parent = nil
  2466. sbrwld2.Parent = nil
  2467. sbref1.Anchored = true
  2468. sbref2.Anchored = true
  2469. da1.Enabled = false
  2470. da2.Enabled = false
  2471. game:GetService("Debris"):AddItem(sbref1, 5)
  2472. game:GetService("Debris"):AddItem(sbref2, 5)
  2473. end
  2474. attack = false
  2475. end
  2476.  
  2477. do3 = function()
  2478. if attack == true then
  2479. return
  2480. end
  2481. attack = true
  2482. if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  2483. return
  2484. end
  2485. if cooldowns[3] >= 80 then
  2486. if Mode == "Sabers" then
  2487. UnSword()
  2488. end
  2489. local rara1 = Instance.new("NumberValue", Decrease)
  2490. rara1.Name = "DecreaseMvmt"
  2491. rara1.Value = 0.1
  2492. local rara2 = Instance.new("NumberValue", Decrease)
  2493. rara2.Name = "DecreaseDef"
  2494. rara2.Value = 0.05
  2495. so("341336144", LeftArm, 1, 1)
  2496. so("341336144", RightArm, 1, 1)
  2497. sblazing = true
  2498. local sbref1 = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt(1, 1, 1))
  2499. local sbrwld1 = weld(sbref1, sbref1, LeftArm, cf(0, 1, 0))
  2500. local sbref2 = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt(1, 1, 1))
  2501. local sbrwld2 = weld(sbref2, sbref2, RightArm, cf(0, 1, 0))
  2502. local da1 = sparti:Clone()
  2503. da1.Parent = sbref1
  2504. local da2 = sparti:Clone()
  2505. da2.Parent = sbref2
  2506. da1.Enabled = true
  2507. da2.Enabled = true
  2508. for i = 0, 1, 0.1 do
  2509. swait()
  2510. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2, 0, 0), 0.3)
  2511. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(2.5, 0, 1) * euler(0, 0, 0), 0.3)
  2512. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(2.5, 0, -1) * euler(0, 0, 0), 0.3)
  2513. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  2514. do
  2515. if StaggerHit.Value == true then
  2516. break
  2517. end
  2518. end
  2519. end
  2520. end
  2521. starshoot = false
  2522. stardebounce = false
  2523. local dashoot = 0
  2524. local sref = part(3, nil, 0, 0.5, BrickColor.new("Black"), "Reference", vt(.2,.2,.2))
  2525. sref.Anchored = true
  2526. TehM = nil
  2527. while sblazing == true and cooldowns[3] > 20 do
  2528. swait()
  2529. if galacblazing == true then
  2530. galacblazing = false
  2531. for i = 0, 1, 0.1 do
  2532. swait()
  2533. RW.C0 = clerp(RW.C0, cf(1.5, 0.6, 0) * euler(2.8, 0, 0.4) * euler(0, 0, 0), 0.3)
  2534. LW.C0 = clerp(LW.C0, cf(-1.5, 0.6, 0) * euler(2.8, 0, -0.4) * euler(0, 0, 0), 0.3)
  2535. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.6, 0, 0), 0.3)
  2536. da1.Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  2537. da2.Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  2538. if math.random(1, 2) == 1 then
  2539. da1.RotSpeed = nr(400, 500)
  2540. else
  2541. da1.RotSpeed = nr(-500, -400)
  2542. end
  2543. if math.random(1, 2) == 1 then
  2544. da2.RotSpeed = nr(400, 500)
  2545. else
  2546. da2.RotSpeed = nr(-500, -400)
  2547. end
  2548. end
  2549. cooldowns[3] = cooldowns[3] - 20
  2550. mana.Value = mana.Value - 20
  2551. sref.CFrame = cf(RootPart.Position) * cf(0, 50, 0)
  2552. sref.CFrame = cf(sref.Position, MMouse.Hit.p)
  2553. local stref = part(3, effects, 0, 0, BrickColor.new("Black"), "Reference", vt(.2,.2,.2))
  2554. stref.Anchored = true
  2555. stref.Material = "Neon"
  2556. stref.CFrame = sref.CFrame
  2557. local strmsh = mesh("SpecialMesh", stref, "FileMesh", "45428961", vt(0, 0, 0), vt(90, 90, 90))
  2558. so("341336159", stref, 1, 0.4)
  2559. table.insert(Effects, {stref.CFrame.lookVector, "Shoot4", 150, sref.Position, 7, 9, 0, math.random(1, 7), stref, math.random(-50, 50), 0})
  2560. end
  2561. do
  2562. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  2563. if StaggerHit.Value ~= true or starshoot == true then
  2564. starshoot = false
  2565. stardebounce = true
  2566. cooldowns[3] = cooldowns[3] - 10
  2567. sref.CFrame = cf(RootPart.Position) * cf(math.random(-3000, 3000) / 100, math.random(500, 5000) / 100, math.random(-3000, 3000) / 100)
  2568. sref.CFrame = cf(sref.Position, MMouse.Hit.p)
  2569. local stref = part(3, effects, 0, 0, BrickColor.new("Black"), "Reference", vt(.2,.2,.2))
  2570. stref.Anchored = true
  2571. stref.Material = "Neon"
  2572. stref.CFrame = sref.CFrame
  2573. local strmsh = mesh("SpecialMesh", stref, "FileMesh", "45428961", vt(0, 0, 0), vt(30, 30, 30))
  2574. so("341336159", stref, 1, 1)
  2575. table.insert(Effects, {stref.CFrame.lookVector, "Shoot3", 150, sref.Position, 7, 9, 0, math.random(1, 7), stref, math.random(-50, 50), 0})
  2576. end
  2577. do
  2578. if stardebounce == true and dashoot < 10 then
  2579. dashoot = dashoot + 1
  2580. else
  2581. stardebounce = false
  2582. dashoot = 0
  2583. end
  2584. da1.Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  2585. da2.Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  2586. if math.random(1, 2) == 1 then
  2587. da1.RotSpeed = nr(400, 500)
  2588. else
  2589. da1.RotSpeed = nr(-500, -400)
  2590. end
  2591. if math.random(1, 2) == 1 then
  2592. da2.RotSpeed = nr(400, 500)
  2593. else
  2594. da2.RotSpeed = nr(-500, -400)
  2595. end
  2596. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2, 0, 0), 0.3)
  2597. RW.C0 = clerp(RW.C0, cf(1.4, 0.5, 0.1) * euler(2.5, 0, 1) * euler(0, 0, 0), 0.3)
  2598. LW.C0 = clerp(LW.C0, cf(-1.4, 0.5, 0.1) * euler(2.5, 0, -1) * euler(0, 0, 0), 0.3)
  2599. if Anim == "Idle" then
  2600. RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.1), 0.3)
  2601. LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.05), 0.3)
  2602. end
  2603. end
  2604. if Anim == "Walk" or Anim == "Run" then
  2605. RH.C0 = clerp(RH.C0, cf(0.95, -0.8, -0.2) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.5), 0.3)
  2606. LH.C0 = clerp(LH.C0, cf(-0.95, -0.8, -0.2) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.5), 0.3)
  2607. end
  2608. end
  2609. if Anim == "Jump" then
  2610. RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.1), 0.3)
  2611. LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.05), 0.3)
  2612. end
  2613. end
  2614. if Anim == "Fall" then
  2615. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.2)
  2616. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.2)
  2617. end
  2618. end
  2619. sblazing = false
  2620. rara1.Parent = nil
  2621. rara2.Parent = nil
  2622. sref.Parent = nil
  2623. sbrwld1.Parent = nil
  2624. sbrwld2.Parent = nil
  2625. sbref1.Anchored = true
  2626. sbref2.Anchored = true
  2627. da1.Enabled = false
  2628. da2.Enabled = false
  2629. game:GetService("Debris"):AddItem(sbref1, 5)
  2630. game:GetService("Debris"):AddItem(sbref2, 5)
  2631. end
  2632. attack = false
  2633. end
  2634.  
  2635. do4 = function()
  2636. if attack == true then
  2637. return
  2638. end
  2639. if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  2640. return
  2641. end
  2642. cooldowns[4] = 0
  2643. end
  2644.  
  2645. findNearestTorso = function(pos, distance)
  2646. local list = (workspace:GetDescendants())
  2647. local torso = nil
  2648. local dist = distance
  2649. local temp, human, temp2 = nil, nil, nil
  2650. for x = 1, #list do
  2651. temp2 = list[x]
  2652. canfind = true
  2653. if game.Players:GetPlayerFromCharacter(temp2) ~= nil and game.Players:GetPlayerFromCharacter(temp2).TeamColor == Player.TeamColor and Player.Neutral == false then
  2654. canfind = false
  2655. end
  2656. canfind = true
  2657. if temp2.className == "Model" and temp2 ~= Character and canfind == true then
  2658. temp = temp2:findFirstChild("Head")
  2659. human = temp2:findFirstChildOfClass("Humanoid")
  2660. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  2661. torso = temp
  2662. dist = (temp.Position - pos).magnitude
  2663. end
  2664. end
  2665. end
  2666. return torso, dist
  2667. end
  2668.  
  2669. DecreaseStat = function(Model, Stat, Amount, Duration)
  2670. if Model:findFirstChild("Stats") ~= nil and Model.Stats[Stat] ~= nil then
  2671. Model.Stats[Stat].Value = Model.Stats[Stat].Value - Amount
  2672. d = Instance.new("NumberValue", Model.Stats.Decrease)
  2673. dur = Instance.new("NumberValue", d)
  2674. dur.Name = "Duration"
  2675. dur.Value = Duration
  2676. game:GetService("Debris"):AddItem(d, 20)
  2677. if Stat == "Damage" then
  2678. d.Name = "DecreaseAtk"
  2679. else
  2680. if Stat == "Defense" then
  2681. d.Name = "DecreaseDef"
  2682. else
  2683. if Stat == "Movement" then
  2684. d.Name = "DecreaseMvmt"
  2685. end
  2686. end
  2687. end
  2688. if Model:findFirstChild("Head") ~= nil then
  2689. display = ""
  2690. if Stat == "Damage" then
  2691. if Amount > 0 then
  2692. display = "-Damage"
  2693. else
  2694. display = "+Damage"
  2695. end
  2696. else
  2697. if Stat == "Defense" then
  2698. if Amount > 0 then
  2699. display = "-Defense"
  2700. else
  2701. display = "+Defense"
  2702. end
  2703. else
  2704. if Stat == "Movement" then
  2705. if Amount > 0 then
  2706. display = "-Movement"
  2707. else
  2708. display = "+Movement"
  2709. end
  2710. end
  2711. end
  2712. end
  2713. showDamage(Model, display, "Debuff")
  2714. end
  2715. d.Value = Amount
  2716. end
  2717. end
  2718.  
  2719. GetDist = function(Part1, Part2, magni)
  2720. local targ = Part1.Position - Part2.Position
  2721. local mag = targ.magnitude
  2722. if mag <= magni then
  2723. return true
  2724. else
  2725. return false
  2726. end
  2727. end
  2728.  
  2729. MagniDamage = function(Part, magni, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  2730. for _,c in pairs(workspace:GetDescendants()) do
  2731. local hum = c:findFirstChildOfClass("Humanoid")
  2732. if hum ~= nil then
  2733. local head = nil
  2734. for _,d in pairs(c:children()) do
  2735. if d.className == "Model" and ranged ~= true then
  2736. head = d:findFirstChild("Hitbox")
  2737. if d.Parent == Character then
  2738. break
  2739. end
  2740. if head ~= nil then
  2741. local targ = head.Position - Part.Position
  2742. local mag = targ.magnitude
  2743. if mag <= magni and c.Name ~= Player.Name then
  2744. ref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt(.2,.2,.2))
  2745. ref.Anchored = true
  2746. ref.CFrame = cf(head.Position)
  2747. game:GetService("Debris"):AddItem(ref, 1)
  2748. hitnum = math.random(1, 5)
  2749. if hitnum == 1 then
  2750. so("199148971", ref, 1, 1)
  2751. else
  2752. if hitnum == 2 then
  2753. so("199149025", ref, 1, 1)
  2754. else
  2755. if hitnum == 3 then
  2756. so("199149072", ref, 1, 1)
  2757. else
  2758. if hitnum == 4 then
  2759. so("199149109", ref, 1, 1)
  2760. else
  2761. if hitnum == 5 then
  2762. so("199149119", ref, 1, 1)
  2763. end
  2764. end
  2765. end
  2766. end
  2767. end
  2768. StaggerHit.Value = true
  2769. end
  2770. end
  2771. end
  2772. do
  2773. if d.className == "Part" then
  2774. head = d
  2775. if head ~= nil then
  2776. local targ = head.Position - Part.Position
  2777. local mag = targ.magnitude
  2778. if mag <= magni and c.Name ~= Player.Name then
  2779. if stun == nil then
  2780. stun = math.random(5, 10)
  2781. end
  2782. local Rang = nil
  2783. if Ranged == false then
  2784. Rang = true
  2785. end
  2786. local stag = nil
  2787. if shbash == true then
  2788. stag = true
  2789. end
  2790. Damagefunc(head, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  2791. end
  2792. end
  2793. end
  2794. end
  2795. end
  2796. end
  2797. end
  2798. end
  2799.  
  2800. MagniBuff = function(Part, magni, Dec, DecAm, Dur)
  2801. DecreaseStat(Character, Dec, DecAm, Dur)
  2802. for _,c in pairs(workspace:GetDescendants()) do
  2803. local hum = c:findFirstChildOfClass("Humanoid")
  2804. if hum ~= nil then
  2805. local head = c:findFirstChild("Head")
  2806. if head ~= nil then
  2807. local targ = head.Position - Part.Position
  2808. local mag = targ.magnitude
  2809. cando = true
  2810. if mag <= magni then
  2811. if Player.Neutral == false then
  2812. if game.Players:GetPlayerFromCharacter(head.Parent) ~= nil then
  2813. if game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
  2814. cando = true
  2815. else
  2816. cando = false
  2817. end
  2818. else
  2819. cando = false
  2820. end
  2821. if head.Parent:findFirstChild("Alignment") ~= nil and head.Parent.Alignment.Value == Player.TeamColor.Color then
  2822. cando = true
  2823. end
  2824. else
  2825. cando = false
  2826. end
  2827. if cando == true then
  2828. DecreaseStat(head.Parent, Dec, DecAm, Dur)
  2829. end
  2830. end
  2831. end
  2832. end
  2833. end
  2834. end
  2835.  
  2836. rayCast = function(Pos, Dir, Max, Ignore)
  2837. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2838. end
  2839.  
  2840. local Point = Torso.CFrame * cf(0, Torso.Size.Y, 0)
  2841. LastPoint = Point
  2842. effect = function(Color, Ref, LP, P1, returnn, size, thing1)
  2843. if LP == nil or P1 == nil then
  2844. return
  2845. end
  2846. local effectsmsh = Instance.new("SpecialMesh")
  2847. effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
  2848. effectsmsh.MeshType = "Head"
  2849. effectsmsh.Name = "Mesh"
  2850. local effectsg = Instance.new("Part")
  2851. NoOutline(effectsg)
  2852. effectsg.formFactor = 3
  2853. effectsg.CanCollide = false
  2854. effectsg.Name = "Eff"
  2855. effectsg.Locked = true
  2856. effectsg.Anchored = true
  2857. effectsg.Size = Vector3.new(0.5, 1, 0.5)
  2858. effectsg.Parent = workspace
  2859. effectsmsh.Parent = effectsg
  2860. effectsg.BrickColor = BrickColor.new(Color)
  2861. effectsg.Reflectance = Ref
  2862. local point1 = P1
  2863. local mg = (LP.p - point1.p).magnitude
  2864. effectsg.Size = Vector3.new(0.5, mg, 0.5)
  2865. effectsg.CFrame = cf((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0)
  2866. effectsmsh.Scale = Vector3.new(size, 1, size)
  2867. game:GetService("Debris"):AddItem(effectsg, 2)
  2868. if returnn then
  2869. return effectsg
  2870. end
  2871. if not returnn then
  2872. if thing1 == 1 then
  2873. table.insert(Effects, {effectsg, "Cylinder", 0.05, 0.2, 0, 0.2, effectsmsh})
  2874. else
  2875. if thing1 == 2 then
  2876. table.insert(Effects, {effectsg, "Cylinder", 0.2, 0.01, 0, 0.01, effectsmsh})
  2877. else
  2878. if thing1 == 3 then
  2879. table.insert(Effects, {effectsg, "Cylinder", 0, 0, 0, 0.1, effectsmsh})
  2880. end
  2881. end
  2882. end
  2883. end
  2884. end
  2885.  
  2886. effect2 = function(Color, Ref, LP, P1, returnn, size, raa)
  2887. if LP == nil or P1 == nil then
  2888. return
  2889. end
  2890. MshTypee = "CylinderMesh"
  2891. if raa == 2 then
  2892. MshTypee = "BlockMesh"
  2893. end
  2894. local effectsmsh = Instance.new(MshTypee)
  2895. effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
  2896. effectsmsh.Name = "Mesh"
  2897. local effectsg = Instance.new("Part")
  2898. NoOutline(effectsg)
  2899. if raa == 2 then
  2900. effectsg.Material = "Neon"
  2901. end
  2902. effectsg.formFactor = 3
  2903. effectsg.CanCollide = false
  2904. effectsg.Name = "Eff"
  2905. effectsg.Locked = true
  2906. effectsg.Anchored = true
  2907. effectsg.Size = Vector3.new(0.5, 1, 0.5)
  2908. effectsg.Parent = workspace
  2909. effectsmsh.Parent = effectsg
  2910. effectsg.BrickColor = BrickColor.new(Color)
  2911. effectsg.Reflectance = Ref
  2912. local point1 = P1
  2913. local mg = (LP.p - point1.p).magnitude
  2914. effectsg.Size = Vector3.new(0.5, mg, 0.5)
  2915. effectsg.CFrame = cf((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0)
  2916. effectsmsh.Scale = Vector3.new(size, 1, size)
  2917. game:GetService("Debris"):AddItem(effectsg, 5)
  2918. if returnn then
  2919. return effectsg
  2920. end
  2921. if not returnn then
  2922. if raa == 2 then
  2923. table.insert(Effects, {effectsg, "Cylinder", 0.05, -0.05, 0, -0.05, effectsmsh})
  2924. else
  2925. table.insert(Effects, {effectsg, "Cylinder", 0.1, -0.2, 0, -0.2, effectsmsh})
  2926. end
  2927. end
  2928. end
  2929.  
  2930. local CFrameFromTopBack = function(at, top, back)
  2931. local right = top:Cross(back)
  2932. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  2933. end
  2934.  
  2935. Triangle = function(a, b, c)
  2936. local edg1 = c - a:Dot(b - a.unit)
  2937. local edg2 = a - b:Dot(c - b.unit)
  2938. local edg3 = b - c:Dot(a - c.unit)
  2939. if edg1 <= b - a.magnitude and edg1 >= 0 then
  2940. a = a
  2941. else
  2942. if edg2 <= c - b.magnitude and edg2 >= 0 then
  2943. a = b
  2944. else
  2945. if edg3 <= a - c.magnitude and edg3 >= 0 then
  2946. a = c
  2947. else
  2948. assert(false, "unreachable")
  2949. end
  2950. end
  2951. end
  2952. local len1 = (c-a):Dot((b-a).unit)
  2953. local len2 = (b-a).magnitude - len1
  2954. local width = (a + (b-a).unit*len1 - c).magnitude
  2955. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  2956. local list = {}
  2957. if len1 > 0.01 then
  2958. local w1 = Instance.new("WedgePart", m)
  2959. w1.Name = "Triangle"
  2960. game:GetService("Debris"):AddItem(w1, 5)
  2961. w1.Material = "SmoothPlastic"
  2962. w1.FormFactor = "Custom"
  2963. w1.BrickColor = BrickColor.new("Medium blue")
  2964. w1.Transparency = 0
  2965. w1.Reflectance = 0
  2966. w1.Material = "SmoothPlastic"
  2967. w1.CanCollide = false
  2968. NoOutline(w1)
  2969. local sz = Vector3.new(0.2, width, len1)
  2970. w1.Size = sz
  2971. local sp = Instance.new("SpecialMesh", w1)
  2972. sp.MeshType = "Wedge"
  2973. sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  2974. w1:BreakJoints()
  2975. w1.Anchored = true
  2976. w1.Parent = workspace
  2977. w1.Transparency = 0.7
  2978. table.insert(Effects, {w1, "Disappear", 0.05})
  2979. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  2980. table.insert(list, w1)
  2981. end
  2982. do
  2983. if len2 > 0.01 then
  2984. local w2 = Instance.new("WedgePart", m)
  2985. w2.Name = "Triangle"
  2986. game:GetService("Debris"):AddItem(w2, 5)
  2987. w2.Material = "SmoothPlastic"
  2988. w2.FormFactor = "Custom"
  2989. w2.BrickColor = BrickColor.new("Medium blue")
  2990. w2.Transparency = 0
  2991. w2.Reflectance = 0
  2992. w2.Material = "SmoothPlastic"
  2993. w2.CanCollide = false
  2994. NoOutline(w2)
  2995. local sz = Vector3.new(0.2, width, len2)
  2996. w2.Size = sz
  2997. local sp = Instance.new("SpecialMesh", w2)
  2998. sp.MeshType = "Wedge"
  2999. sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  3000. w2:BreakJoints()
  3001. w2.Anchored = true
  3002. w2.Parent = workspace
  3003. w2.Transparency = 0.7
  3004. table.insert(Effects, {w2, "Disappear", 0.05})
  3005. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  3006. table.insert(list, w2)
  3007. end
  3008. do
  3009. return unpack(list)
  3010. end
  3011. end
  3012. end
  3013.  
  3014. MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  3015. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt(.2,.2,.2))
  3016. prt.Anchored = true
  3017. prt.CFrame = cframe
  3018. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3019. game:GetService("Debris"):AddItem(prt, 10)
  3020. if Type == 1 or Type == nil then
  3021. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  3022. else
  3023. if Type == 2 then
  3024. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  3025. else
  3026. if Type == 3 then
  3027. table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh, prt.CFrame})
  3028. else
  3029. if Type == 4 then
  3030. table.insert(Effects, {prt, "Block4", delay, x3, y3, z3, msh, 1})
  3031. end
  3032. end
  3033. end
  3034. end
  3035. end
  3036.  
  3037. MagicBlock2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  3038. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt(.2,.2,.2))
  3039. prt.Material = "Neon"
  3040. prt.Anchored = true
  3041. prt.CFrame = cframe
  3042. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3043. game:GetService("Debris"):AddItem(prt, 10)
  3044. if Type == 1 or Type == nil then
  3045. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  3046. else
  3047. if Type == 2 then
  3048. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  3049. else
  3050. if Type == 3 then
  3051. table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh, prt.CFrame})
  3052. end
  3053. end
  3054. end
  3055. end
  3056.  
  3057. MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3058. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt(.2,.2,.2))
  3059. prt.Material = "Neon"
  3060. prt.Anchored = true
  3061. prt.CFrame = cframe
  3062. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  3063. game:GetService("Debris"):AddItem(prt, 10)
  3064. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  3065. end
  3066.  
  3067. MagicCircle2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, push)
  3068. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt(.2,.2,.2))
  3069. prt.Anchored = true
  3070. prt.CFrame = cframe
  3071. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  3072. game:GetService("Debris"):AddItem(prt, 10)
  3073. table.insert(Effects, {prt, "Blood", delay, x3, y3, z3, msh, push})
  3074. end
  3075.  
  3076. MagicCylinder = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3077. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt(.2,.2,.2))
  3078. prt.Material = "Neon"
  3079. prt.Anchored = true
  3080. prt.CFrame = cframe
  3081. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3082. game:GetService("Debris"):AddItem(prt, 10)
  3083. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  3084. end
  3085.  
  3086. MagicHead = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3087. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt(.2,.2,.2))
  3088. prt.Anchored = true
  3089. prt.CFrame = cframe
  3090. local msh = mesh("SpecialMesh", prt, "Head", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  3091. game:GetService("Debris"):AddItem(prt, 10)
  3092. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  3093. end
  3094.  
  3095. ClangEffect = function(brickcolor, cframe, duration, decrease, size, power)
  3096. local prt = part(3, effects, 0, 1, brickcolor, "Effect", vt(.2,.2,.2))
  3097. prt.Anchored = true
  3098. prt.CFrame = cframe
  3099. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(5, 5, 5))
  3100. game:GetService("Debris"):AddItem(prt, 10)
  3101. table.insert(Effects, {prt, "CylinderClang", duration, decrease, size, power, prt.CFrame, nil})
  3102. end
  3103.  
  3104. MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3105. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt(.2,.2,.2))
  3106. prt.Anchored = true
  3107. prt.CFrame = cframe
  3108. local msh = mesh("SpecialMesh", prt, "FileMesh", "20329976", vt(0, 0, 0), vt(x1, y1, z1))
  3109. game:GetService("Debris"):AddItem(prt, 10)
  3110. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  3111. end
  3112.  
  3113. MagicSpecial = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3114. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt(.2,.2,.2))
  3115. prt.Anchored = true
  3116. prt.CFrame = cframe
  3117. local msh = mesh("SpecialMesh", prt, "FileMesh", "24388358", vt(0, 0, 0), vt(x1, y1, z1))
  3118. game:GetService("Debris"):AddItem(prt, 10)
  3119. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  3120. end
  3121.  
  3122. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  3123. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3124. prt.Anchored = true
  3125. prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3126. game:GetService("Debris"):AddItem(prt, 10)
  3127. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  3128. local num = math.random(10, 50) / 1000
  3129. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  3130. end
  3131.  
  3132. MagicStar = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3133. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt(.2,.2,.2))
  3134. prt.Material = "Neon"
  3135. prt.Anchored = true
  3136. prt.CFrame = cframe
  3137. local msh = mesh("SpecialMesh", prt, "FileMesh", "45428961", vt(0, 0, 0), vt(x1, y1, z1))
  3138. game:GetService("Debris"):AddItem(prt, 10)
  3139. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  3140. end
  3141.  
  3142. Lightning = function(p0, p1, tym, ofs, col, th, tra, last)
  3143. local magz = (p0 - p1).magnitude
  3144. local curpos = p0
  3145. local trz = {-ofs, ofs}
  3146. for i = 1, tym do
  3147. local li = Instance.new("Part", effects)
  3148. li.TopSurface = 0
  3149. li.BottomSurface = 0
  3150. li.Anchored = true
  3151. li.Transparency = tra or 0.4
  3152. li.BrickColor = BrickColor.new(col)
  3153. li.formFactor = "Custom"
  3154. li.CanCollide = false
  3155. li.Size = Vector3.new(th, th, magz / tym)
  3156. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  3157. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  3158. li.Material = "Neon"
  3159. if tym == i then
  3160. local magz2 = (curpos - p1).magnitude
  3161. li.Size = Vector3.new(th, th, magz2)
  3162. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  3163. table.insert(Effects, {li, "Disappear", last})
  3164. else
  3165. do
  3166. do
  3167. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  3168. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  3169. game.Debris:AddItem(li, 10)
  3170. table.insert(Effects, {li, "Disappear", last})
  3171. end
  3172. end
  3173. end
  3174. end
  3175. end
  3176.  
  3177. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  3178. if hit.Parent == nil then
  3179. return
  3180. end
  3181. if hit.Name == "Hitbox" and hit.Parent ~= modelzorz and ranged ~= true then
  3182. ref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt(.2,.2,.2))
  3183. ref.Anchored = true
  3184. ref.CFrame = cf(hit.Position)
  3185. game:GetService("Debris"):AddItem(ref, 1)
  3186. hitnum = math.random(1, 5)
  3187. if hitnum == 1 then
  3188. so("199148971", ref, 1, 1)
  3189. else
  3190. if hitnum == 2 then
  3191. so("199149025", ref, 1, 1)
  3192. else
  3193. if hitnum == 3 then
  3194. so("199149072", ref, 1, 1)
  3195. else
  3196. if hitnum == 4 then
  3197. so("199149109", ref, 1, 1)
  3198. else
  3199. if hitnum == 5 then
  3200. so("199149119", ref, 1, 1)
  3201. end
  3202. end
  3203. end
  3204. end
  3205. end
  3206. StaggerHit.Value = true
  3207. end
  3208. h = hit.Parent:findFirstChildOfClass("Humanoid")
  3209. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  3210. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  3211. return
  3212. end
  3213. c = Instance.new("ObjectValue")
  3214. c.Name = "creator"
  3215. c.Value = game:service("Players").LocalPlayer
  3216. c.Parent = h
  3217. RecentEnemy.Value = hit.Parent
  3218. game:GetService("Debris"):AddItem(c, 0.5)
  3219. minim = minim * Atk.Value
  3220. maxim = maxim * Atk.Value
  3221. Damage = 0
  3222. if minim == maxim then
  3223. Damage = maxim
  3224. else
  3225. Damage = math.random(minim, maxim)
  3226. end
  3227. blocked = false
  3228. enblock = nil
  3229. local EStats = hit.Parent:findFirstChild("Stats")
  3230. if EStats ~= nil then
  3231. invis = EStats:findFirstChild("Invisibility")
  3232. isinvis = EStats:findFirstChild("IsInvisible")
  3233. if (ranged == false or ranged == nil) and invis ~= nil and isinvis.Value == true then
  3234. invis.Value = 0
  3235. end
  3236. enblock = EStats:findFirstChild("Block")
  3237. if enblock ~= nil and enblock.Value == true then
  3238. blocked = true
  3239. end
  3240. if EStats:findFirstChild("Defense") ~= nil then
  3241. Damage = Damage / EStats.Defense.Value
  3242. if Damage <= 3 and (ranged == false or ranged == nil) and blocked ~= true then
  3243. hitnum = math.random(1, 5)
  3244. if hitnum == 1 then
  3245. so("199149321", hit, 1, 1)
  3246. else
  3247. if hitnum == 2 then
  3248. so("199149338", hit, 1, 1)
  3249. else
  3250. if hitnum == 3 then
  3251. so("199149367", hit, 1, 1)
  3252. else
  3253. if hitnum == 4 then
  3254. so("199149409", hit, 1, 1)
  3255. else
  3256. if hitnum == 5 then
  3257. so("199149452", hit, 1, 1)
  3258. end
  3259. end
  3260. end
  3261. end
  3262. end
  3263. else
  3264. if ranged == false or ranged == nil and blocked ~= true then
  3265. hitnum = math.random(1, 6)
  3266. if hitnum == 1 then
  3267. so("199149137", hit, 1, 1)
  3268. else
  3269. if hitnum == 2 then
  3270. so("199149186", hit, 1, 1)
  3271. else
  3272. if hitnum == 3 then
  3273. so("199149221", hit, 1, 1)
  3274. else
  3275. if hitnum == 4 then
  3276. so("199149235", hit, 1, 1)
  3277. else
  3278. if hitnum == 5 then
  3279. so("199149269", hit, 1, 1)
  3280. else
  3281. if hitnum == 6 then
  3282. so("199149297", hit, 1, 1)
  3283. end
  3284. end
  3285. end
  3286. end
  3287. end
  3288. end
  3289. end
  3290. end
  3291. if Damage <= 3 and staghit == true and ranged ~= true then
  3292. StaggerHit.Value = true
  3293. end
  3294. end
  3295. if EStats:findFirstChild("Stun") ~= nil then
  3296. if blocked == true then
  3297. incstun = incstun / 2
  3298. end
  3299. if EStats.Stun.Value < EStats.StunThreshold.Value then
  3300. EStats.Stun.Value = EStats.Stun.Value + incstun
  3301. end
  3302. end
  3303. if EStats:findFirstChild("Stagger") ~= nil and stagger == true then
  3304. EStats.Stagger.Value = true
  3305. end
  3306. end
  3307. if blocked == true then
  3308. showDamage(hit.Parent, "Block", "Damage")
  3309. if ranged ~= true then
  3310. enblock.Value = false
  3311. Stagger.Value = true
  3312. hitnum = math.random(1, 2)
  3313. if hitnum == 1 then
  3314. so("199148933", hit, 1, 1)
  3315. else
  3316. if hitnum == 2 then
  3317. so("199148947", hit, 1, 1)
  3318. end
  3319. end
  3320. end
  3321. else
  3322. Damage = math.floor(Damage)
  3323. coroutine.resume(coroutine.create(function(Hum, Dam)
  3324. hit.Parent:findFirstChildOfClass("Humanoid"):TakeDamage(Damage)
  3325. end
  3326. ), h, Damage)
  3327. showDamage(hit.Parent, Damage, "Damage")
  3328. if DecreaseState ~= nil then
  3329. if DecreaseState == "Temporal" then
  3330. DecreaseStat(hit.Parent, "Damage", DecreaseAmount, Duration)
  3331. DecreaseStat(hit.Parent, "Defense", DecreaseAmount, Duration)
  3332. else
  3333. if DecreaseState == "Temporal2" then
  3334. DecreaseStat(hit.Parent, "Damage", DecreaseAmount, Duration)
  3335. DecreaseStat(hit.Parent, "Movement", DecreaseAmount, Duration)
  3336. else
  3337. DecreaseStat(hit.Parent, DecreaseState, DecreaseAmount, Duration)
  3338. end
  3339. end
  3340. end
  3341. if Type == "NormalDecreaseMvmt1" then
  3342. DecreaseStat(hit.Parent, "Movement", 0.1, 200)
  3343. end
  3344. if Type == "Knockdown" then
  3345. hum = hit.Parent:findFirstChildOfClass("Humanoid")
  3346. hum.PlatformStand = true
  3347. coroutine.resume(coroutine.create(function(HHumanoid)
  3348. swait(1)
  3349. HHumanoid.PlatformStand = false
  3350. end
  3351. ), hum)
  3352. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  3353. local bodvol = Instance.new("BodyVelocity")
  3354. bodvol.velocity = angle * knockback
  3355. bodvol.P = 5000
  3356. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  3357. bodvol.Parent = hit
  3358. rl = Instance.new("BodyAngularVelocity")
  3359. rl.P = 3000
  3360. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  3361. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  3362. rl.Parent = hit
  3363. game:GetService("Debris"):AddItem(bodvol, 0.5)
  3364. game:GetService("Debris"):AddItem(rl, 0.5)
  3365. else
  3366. do
  3367. if Type == "Knockdown2" then
  3368. hum = hit.Parent:findFirstChildOfClass("Humanoid")
  3369. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  3370. local bodvol = Instance.new("BodyVelocity")
  3371. bodvol.velocity = angle * knockback
  3372. bodvol.P = 5000
  3373. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  3374. bodvol.Parent = hit
  3375. game:GetService("Debris"):AddItem(bodvol, 0.5)
  3376. else
  3377. do
  3378. if Type == "Normal" or Type == "NormalDecreaseMvmt1" then
  3379. vp = Instance.new("BodyVelocity")
  3380. vp.P = 500
  3381. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  3382. if KnockbackType == 1 then
  3383. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  3384. else
  3385. if KnockbackType == 2 then
  3386. vp.velocity = Property.CFrame.lookVector * knockback
  3387. end
  3388. end
  3389. game:GetService("Debris"):AddItem(vp, 0.5)
  3390. if knockback > 0 then
  3391. vp.Parent = hit.Parent.Torso
  3392. end
  3393. end
  3394. debounce = Instance.new("BoolValue")
  3395. debounce.Name = "DebounceHit"
  3396. debounce.Parent = hit.Parent
  3397. debounce.Value = true
  3398. game:GetService("Debris"):AddItem(debounce, Delay)
  3399. c = Instance.new("ObjectValue")
  3400. c.Name = "creator"
  3401. c.Value = Player
  3402. c.Parent = h
  3403. game:GetService("Debris"):AddItem(c, 0.5)
  3404. CRIT = false
  3405. end
  3406. end
  3407. end
  3408. end
  3409. end
  3410. end
  3411. end
  3412.  
  3413. showDamage = function(Char, Dealt, Type)
  3414. m = Instance.new("Model")
  3415. m.Name = "Effect"
  3416. c = Instance.new("Part")
  3417. c.Transparency = 1
  3418. c.Name = "Head"
  3419. c.TopSurface = 0
  3420. c.BottomSurface = 0
  3421. c.formFactor = "Plate"
  3422. c.Size = Vector3.new(1, 0.4, 1)
  3423. b = Instance.new("BillboardGui", c)
  3424. b.Size = UDim2.new(5, 0, 5, 0)
  3425. b.AlwaysOnTop = true
  3426. damgui = gui("TextLabel", b, tostring(Dealt), 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
  3427. if Type == "Damage" then
  3428. damgui.Font = "SourceSans"
  3429. if Dealt == "Block" then
  3430. damgui.TextColor3 = BrickColor.new("Bright blue").Color
  3431. else
  3432. if Dealt < 3 then
  3433. damgui.TextColor3 = BrickColor.new("White").Color
  3434. else
  3435. if Dealt >= 3 and Dealt < 20 then
  3436. damgui.TextColor3 = BrickColor.new("Bright yellow").Color
  3437. else
  3438. damgui.TextColor3 = BrickColor.new("Really red").Color
  3439. damgui.Font = "SourceSansBold"
  3440. end
  3441. end
  3442. end
  3443. else
  3444. if Type == "Debuff" then
  3445. damgui.TextColor3 = BrickColor.new("White").Color
  3446. else
  3447. if Type == "Interrupt" then
  3448. damgui.TextColor3 = BrickColor.new("New Yeller").Color
  3449. end
  3450. end
  3451. end
  3452. damgui.TextScaled = true
  3453. ms = Instance.new("CylinderMesh")
  3454. ms.Scale = Vector3.new(0.8, 0.8, 0.8)
  3455. ms.Parent = c
  3456. c.Reflectance = 0
  3457. Instance.new("BodyGyro").Parent = c
  3458. c.Parent = m
  3459. if Char:findFirstChild("Head") ~= nil then
  3460. c.CFrame = cf(Char.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  3461. else
  3462. if Char.Parent:findFirstChild("Head") ~= nil then
  3463. c.CFrame = cf(Char.Parent.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  3464. end
  3465. end
  3466. f = Instance.new("BodyPosition")
  3467. f.P = 2000
  3468. f.D = 100
  3469. f.maxForce = Vector3.new(545000, 545000, 545000)
  3470. if Type == "Damage" then
  3471. f.position = c.Position + Vector3.new(0, 3, 0)
  3472. else
  3473. if Type == "Debuff" or Type == "Interrupt" then
  3474. f.position = c.Position + Vector3.new(0, 5, 0)
  3475. end
  3476. end
  3477. f.Parent = c
  3478. game:GetService("Debris"):AddItem(m, 5)
  3479. table.insert(Effects, {m, "showDamage", damgui, f, 10, 1, 15, 50, 100})
  3480. c.CanCollide = false
  3481. m.Parent = workspace
  3482. c.CanCollide = false
  3483. end
  3484.  
  3485. combo = 0
  3486. ob1d = function(mouse)
  3487. if cshoot == false and cdebounce == false then
  3488. cshoot = true
  3489. end
  3490. if shockshoot == false and shockdebounce == false then
  3491. shockshoot = true
  3492. TehM = MMouse.Hit.p
  3493. end
  3494. if starshoot == false and stardebounce == false then
  3495. starshoot = true
  3496. TehM = MMouse.Hit.p
  3497. end
  3498. if attack == true or equipped == false then
  3499. return
  3500. end
  3501. attack = true
  3502. hold = true
  3503. if combo == 0 then
  3504. combo = 1
  3505. attackone()
  3506. else
  3507. if combo == 1 then
  3508. combo = 2
  3509. attacktwo()
  3510. else
  3511. if combo == 2 then
  3512. combo = 3
  3513. attackthree()
  3514. else
  3515. if combo == 3 then
  3516. combo = 0
  3517. attackfour()
  3518. end
  3519. end
  3520. end
  3521. end
  3522. attack = false
  3523. end
  3524.  
  3525. ob1u = function(mouse)
  3526. hold = false
  3527. end
  3528.  
  3529. buttonhold = false
  3530. fenbarmove1.MouseButton1Click:connect(do1)
  3531. fenbarmove2.MouseButton1Click:connect(do2)
  3532. fenbarmove3.MouseButton1Click:connect(do3)
  3533. fenbarmove4.MouseButton1Click:connect(do4)
  3534. eul = 0
  3535. equipped = false
  3536. key = function(key)
  3537. if key == "q" then
  3538. cooldowns[1] = 100
  3539. cooldowns[2] = 100
  3540. cooldowns[3] = 100
  3541. cooldowns[4] = 100
  3542. end
  3543. if key == "z" and cbuster == true then
  3544. cbuster = false
  3545. return
  3546. end
  3547. if key == "x" and sbreaker == true then
  3548. sbreaker = false
  3549. return
  3550. end
  3551. if key == "c" and sblazing == true then
  3552. sblazing = false
  3553. return
  3554. end
  3555. if key == "e" then
  3556. if prising == true then
  3557. prising = false
  3558. return
  3559. end
  3560. if cbuster == true and mana.Value > 15 then
  3561. busterlaser = true
  3562. return
  3563. end
  3564. if sbreaker == true and mana.Value > 10 then
  3565. sbreakerII = true
  3566. return
  3567. end
  3568. if sblazing == true and mana.Value > 20 then
  3569. galacblazing = true
  3570. return
  3571. end
  3572. end
  3573. if attack == true then
  3574. return
  3575. end
  3576. if key == "f" then
  3577. attack = true
  3578. pressedf = true
  3579. fnumb = 0
  3580. repeat swait() until effects:FindFirstChild("Effect") == nil
  3581. if equipped == false then
  3582. RSH = ch.Torso["Right Shoulder"]
  3583. LSH = ch.Torso["Left Shoulder"]
  3584. RSH.Parent = nil
  3585. LSH.Parent = nil
  3586. RW.Name = "Right Shoulder"
  3587. RW.Part0 = ch.Torso
  3588. RW.C0 = cf(1.5, 0.5, 0)
  3589. RW.C1 = cf(0, 0.5, 0)
  3590. RW.Part1 = ch["Right Arm"]
  3591. RW.Parent = ch.Torso
  3592. LW.Name = "Left Shoulder"
  3593. LW.Part0 = ch.Torso
  3594. LW.C0 = cf(-1.5, 0.5, 0)
  3595. LW.C1 = cf(0, 0.5, 0)
  3596. LW.Part1 = ch["Left Arm"]
  3597. LW.Parent = ch.Torso
  3598. Animate.Parent = nil
  3599. equipanim()
  3600. equipped = true
  3601. else
  3602. equipped = false
  3603. hideanim()
  3604. LH.C1 = LHC1
  3605. RH.C1 = RHC1
  3606. Animate.Parent = Humanoid
  3607. swait(0)
  3608. RW.Parent = nil
  3609. LW.Parent = nil
  3610. RSH.Parent = player.Character.Torso
  3611. LSH.Parent = player.Character.Torso
  3612. end
  3613. attack = false
  3614. end
  3615. if equipped == false then
  3616. return
  3617. end
  3618. if key == "e" then
  3619. PowerRising()
  3620. end
  3621. if key == "q" then
  3622. mana.Value = 100
  3623. end
  3624. if key == "z" then
  3625. do1()
  3626. end
  3627. if key == "x" then
  3628. do2()
  3629. end
  3630. if key == "c" then
  3631. do3()
  3632. end
  3633. if key == "v" then
  3634. do4()
  3635. end
  3636. end
  3637.  
  3638. key2 = function(key)
  3639. end
  3640.  
  3641. mouse = Player:GetMouse()
  3642. if mouse then
  3643. mouse.Button1Down:connect(function()
  3644. ob1d(mouse)
  3645. end)
  3646. mouse.Button1Up:connect(function()
  3647. ob1u(mouse)
  3648. end)
  3649. mouse.KeyDown:connect(key)
  3650. mouse.KeyUp:connect(key2)
  3651. player = Player
  3652. ch = Character
  3653. end
  3654.  
  3655. print("Dreamer loaded.")
  3656. local mananum = 0
  3657. local donum = 0
  3658. local stunnum = 0
  3659. local staggeranim = false
  3660. local stunanim = false
  3661. local walk = 0
  3662. local walkforw = true
  3663. local fnum = 0
  3664. local domodel = false
  3665. local gef = 10
  3666. local col = 1
  3667. local colnum = 0
  3668. while true do
  3669. swait()
  3670. for _,c in pairs(model3:children()) do
  3671. if c.className == "Part" then
  3672. if c.BrickColor == Neons[1] then
  3673. c.BrickColor = Neons[2]
  3674. else
  3675. if c.BrickColor == Neons[2] then
  3676. c.BrickColor = Neons[3]
  3677. else
  3678. if c.BrickColor == Neons[3] then
  3679. c.BrickColor = Neons[4]
  3680. else
  3681. if c.BrickColor == Neons[4] then
  3682. c.BrickColor = Neons[5]
  3683. else
  3684. if c.BrickColor == Neons[5] then
  3685. c.BrickColor = Neons[6]
  3686. else
  3687. if c.BrickColor == Neons[6] then
  3688. c.BrickColor = Neons[7]
  3689. else
  3690. if c.BrickColor == Neons[7] then
  3691. c.BrickColor = Neons[1]
  3692. end
  3693. end
  3694. end
  3695. end
  3696. end
  3697. end
  3698. end
  3699. end
  3700. end
  3701. starsparti.Color = cs(Neons[math.random(1, 7)].Color, Color3.new(1, 1, 1))
  3702. if Mode == "Sabers" then
  3703. passive1.Value = 0
  3704. passive2.Value = -0.1
  3705. else
  3706. passive1.Value = -0.1
  3707. passive2.Value = 0
  3708. end
  3709. if (Head:findFirstChild("Running")) ~= nil then
  3710. if floating == true then
  3711. Head.Running.Volume = 0
  3712. Humanoid.JumpPower = 60
  3713. else
  3714. Head.Running.Volume = 0.5
  3715. Humanoid.JumpPower = 50
  3716. end
  3717. end
  3718. colnum = colnum + 1
  3719. if #Neons - 1 < col and (colnum) % 2 == 0 then
  3720. col = 1
  3721. end
  3722. if (colnum) % 2 == 0 then
  3723. col = col + 1
  3724. end
  3725. gef = gef + 1
  3726. if (gef) % 10 == 0 and 0 < Humanoid.Health then
  3727. hitfloor2, posfloor2 = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 20, Character)
  3728. if hitfloor2 ~= nil and equipped == true and floating == true and Mode == "Normal" then
  3729. MagicWave(BrickColor.new("Institutional white"), cf(posfloor2) * euler(0, math.random(-50, 50), 0), 1, 2, 1, 0.7, -0.05, 0.7, 0.15)
  3730. end
  3731. end
  3732. if Humanoid.Health <= 0 then
  3733. attack = true
  3734. resumeControl()
  3735. modelzorz.Parent = workspace
  3736. model2.Parent = workspace
  3737. game:GetService("Debris"):AddItem(modelzorz, 30)
  3738. game:GetService("Debris"):AddItem(model2, 30)
  3739. if domodel == false then
  3740. domodel = true
  3741. for i = 1, #Weapon do
  3742. Weapon[i].Parent = modelzorz
  3743. Weapon[i].CanCollide = true
  3744. end
  3745. for i = 1, #Welds do
  3746. Welds[i].Parent = main1
  3747. end
  3748. end
  3749. end
  3750. do
  3751. if fnumb < 21 then
  3752. fnumb = fnumb + 1
  3753. if pressedf == false then
  3754. fenframe5.BackgroundTransparency = fenframe5.BackgroundTransparency - 0.025
  3755. tellbar.TextTransparency = tellbar.TextTransparency - 0.05
  3756. tellbar.TextStrokeTransparency = tellbar.TextStrokeTransparency - 0.05
  3757. else
  3758. if fnumb == 20 then
  3759. fenframe5.Parent = nil
  3760. print("daigui")
  3761. end
  3762. fenframe5.BackgroundTransparency = fenframe5.BackgroundTransparency + 0.025
  3763. tellbar.TextTransparency = tellbar.TextTransparency + 0.05
  3764. tellbar.TextStrokeTransparency = tellbar.TextStrokeTransparency + 0.05
  3765. end
  3766. end
  3767. if Stagger.Value == true and staggeranim == false then
  3768. coroutine.resume(coroutine.create(function()
  3769. staggeranim = true
  3770. while attack == true do
  3771. swait()
  3772. end
  3773. StaggerAnim()
  3774. StaggerHit.Value = false
  3775. Stagger.Value = false
  3776. staggeranim = false
  3777. end
  3778. ))
  3779. end
  3780. if StaggerHit.Value == true and staggeranim == false then
  3781. coroutine.resume(coroutine.create(function()
  3782. staggeranim = true
  3783. while attack == true do
  3784. swait()
  3785. end
  3786. StaggerHitt()
  3787. StaggerHit.Value = false
  3788. Stagger.Value = false
  3789. staggeranim = false
  3790. end
  3791. ))
  3792. end
  3793. if Mvmt.Value < 0 or Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true or Rooted.Value == true then
  3794. Humanoid.WalkSpeed = 0
  3795. else
  3796. Humanoid.WalkSpeed = 16 * Mvmt.Value
  3797. end
  3798. if StunT.Value <= Stun.Value and stunanim == false then
  3799. coroutine.resume(coroutine.create(function()
  3800. stunanim = true
  3801. while attack == true do
  3802. swait()
  3803. end
  3804. StunAnim()
  3805. Stun.Value = 0
  3806. stunanim = false
  3807. end
  3808. ))
  3809. end
  3810. local stunnum2 = 40
  3811. if stunnum2 <= stunnum then
  3812. if 0 < Stun.Value then
  3813. Stun.Value = Stun.Value - 1
  3814. end
  3815. stunnum = 0
  3816. end
  3817. stunnum = stunnum + 1
  3818. if 0.5 <= donum then
  3819. handidle = true
  3820. else
  3821. if donum <= 0 then
  3822. handidle = false
  3823. end
  3824. end
  3825. if handidle == false then
  3826. donum = donum + 0.003
  3827. else
  3828. donum = donum - 0.003
  3829. end
  3830. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  3831. local velderp = RootPart.Velocity.y
  3832. hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  3833. if equipped == true then
  3834. if Anim == "Walk" and floating == false then
  3835. if walkforw == true then
  3836. RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
  3837. LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
  3838. else
  3839. RH.C1 = clerp(RH.C1, RHC1 * cf(-0.1, 0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
  3840. LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
  3841. end
  3842. else
  3843. RH.C1 = clerp(RH.C1, RHC1, 0.2)
  3844. LH.C1 = clerp(LH.C1, LHC1, 0.2)
  3845. end
  3846. if 1 < RootPart.Velocity.y and hitfloor == nil then
  3847. Anim = "Jump"
  3848. if Mode == "Normal" and floating == true then
  3849. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1.5 - (donum)) * euler(-0.1, 0, 0), 0.3)
  3850. end
  3851. if attack == false then
  3852. if Mode == "Normal" then
  3853. MagicBlock2(Neons[col], LeftLeg.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  3854. MagicBlock2(Neons[col], RightLeg.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  3855. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.4 - (donum) / 2, 0, 0), 0.3)
  3856. RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0.1) * euler(0.4, 0, 0.8 + (donum) / 4) * euler(0, 0, 0), 0.3)
  3857. LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0.1) * euler(0.4, 0, -0.8 - (donum) / 4) * euler(0, 0, 0), 0.3)
  3858. RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(-0.2 - (donum) / 4, 0, -0.1 + (donum) / 7), 0.3)
  3859. LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1 - (donum) / 4, 0, 0.05 - (donum) / 7), 0.3)
  3860. else
  3861. mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  3862. mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  3863. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.2, 0, 0), 0.25)
  3864. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.25)
  3865. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.6, 0, 0.8) * euler(0, -0.6, 0) * euler(0, 0, -0.2), 0.25)
  3866. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.6, 0, -0.8) * euler(0, 0.6, 0) * euler(0, 0, 0.2), 0.25)
  3867. RH.C0 = clerp(RH.C0, cf(1, -1, -0.3) * euler(-0.5, 1.57, 0) * euler(-0.2, 0, 0), 0.25)
  3868. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(-0.5, -1.57, 0) * euler(-0.2, 0, 0), 0.25)
  3869. end
  3870. end
  3871. else
  3872. if RootPart.Velocity.y < -1 and hitfloor == nil then
  3873. Anim = "Fall"
  3874. if Mode == "Normal" and floating == true then
  3875. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
  3876. end
  3877. if attack == false then
  3878. if Mode == "Normal" then
  3879. Neck.C0 = clerp(Neck.C0, necko * euler(0.4, 0, 0), 0.2)
  3880. Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
  3881. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.8) * euler(0, -1.5, 0), 0.2)
  3882. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.8), 0.2)
  3883. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.2)
  3884. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.2)
  3885. else
  3886. Neck.C0 = clerp(Neck.C0, necko * euler(0.4, 0, 0), 0.2)
  3887. Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
  3888. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
  3889. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 0.4) * euler(0, -1, 0) * euler(0, 0, 0.6), 0.25)
  3890. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.8, 0, -0.4) * euler(0, 1, 0) * euler(0, 0, -0.6), 0.25)
  3891. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.2)
  3892. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.2)
  3893. end
  3894. end
  3895. else
  3896. if torvel < 1 and hitfloor ~= nil then
  3897. Anim = "Idle"
  3898. if Mode == "Normal" and floating == true then
  3899. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1.5 - (donum)) * euler(-0.05, 0, 0), 0.3)
  3900. end
  3901. if attack == false then
  3902. if Mode == "Normal" then
  3903. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2 - (donum) / 8, 0, 0), 0.3)
  3904. RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0.1) * euler(0.4, 0, 0.4 + (donum) / 4) * euler(0, -1.5, 0), 0.3)
  3905. LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0.1) * euler(0.4, 0, -0.4 - (donum) / 4) * euler(0, 1.5, 0), 0.3)
  3906. RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(-0.2 - (donum) / 4, 0, -0.1 + (donum) / 7), 0.3)
  3907. LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1 - (donum) / 4, 0, 0.05 - (donum) / 7), 0.3)
  3908. else
  3909. mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  3910. mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  3911. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.1, 0, 0), 0.2)
  3912. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.4) * euler(0.2 + (donum) / 4, 0, 0), 0.2)
  3913. RW.C0 = clerp(RW.C0, cf(1.4, 0.4, -0.1) * euler(1, 0, 0.7 - (donum) / 3) * euler(0, 1, 0), 0.2)
  3914. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.4, 0, -0.8 + (donum) / 3) * euler(0, -1, 0), 0.2)
  3915. RH.C0 = clerp(RH.C0, cf(1, -0.7, -0.3) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.1 + (donum) / 4), 0.2)
  3916. LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.2) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(-0.05, 0, -0.15 - (donum) / 4), 0.2)
  3917. end
  3918. end
  3919. else
  3920. if 2 < torvel and torvel < 30 and hitfloor ~= nil then
  3921. Anim = "Walk"
  3922. walk = walk + 1
  3923. if 15 - 5 * Mvmt.Value <= walk then
  3924. walk = 0
  3925. if walkforw == true then
  3926. walkforw = false
  3927. else
  3928. if walkforw == false then
  3929. walkforw = true
  3930. end
  3931. end
  3932. end
  3933. testpart.CFrame = cf(RootPart.Position - RootPart.Velocity) * cf(0, 6, 0)
  3934. newpos = vt(RootPart.Position.X, RootPart.Position.Y, RootPart.Position.Z)
  3935. MoveCF = cf(testpart.Position, newpos)
  3936. local mpos = testpart.CFrame * euler(0, 0, 0)
  3937. local cff = CFrame.new(mpos.p, newpos) * CFrame.Angles(math.pi / 2, 0, 0)
  3938. local x, y, z = RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  3939. if Mode == "Normal" and floating == true then
  3940. RootJoint.C0 = clerp(RootJoint.C0, cf(0, 1.4 - (donum), 0) * CFrame.Angles(x, y, 0) * euler(0, 3.14, 0), 0.3)
  3941. end
  3942. if attack == false then
  3943. if Mode == "Normal" then
  3944. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.2 + (donum) / 2, 0, 0), 0.3)
  3945. RW.C0 = clerp(RW.C0, cf(1.4, 0.5, 0.1) * euler(-0.2, 0, 0.4 + (donum) / 4) * euler(0, 0, 0), 0.3)
  3946. LW.C0 = clerp(LW.C0, cf(-1.4, 0.5, 0.1) * euler(-0.2, 0, -0.4 - (donum) / 4) * euler(0, 0, 0), 0.3)
  3947. RH.C0 = clerp(RH.C0, cf(0.95, -0.8, -0.2 - (donum) / 2) * euler(0, 1.57, 0) * euler(-0.2 - (donum) / 4, 0, -0.5 - (donum) / 2), 0.3)
  3948. LH.C0 = clerp(LH.C0, cf(-0.95, -0.8, -0.2 - (donum) / 2) * euler(0, -1.57, 0) * euler(-0.1 - (donum) / 4, 0, 0.5 + (donum) / 2), 0.3)
  3949. else
  3950. mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  3951. mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  3952. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.1, 0, 0), 0.25)
  3953. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.1, 0, 0), 0.25)
  3954. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.6, 0, 0.8) * euler(0, -1, 0), 0.25)
  3955. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.6, 0, -0.8) * euler(0, 1, 0), 0.25)
  3956. RH.C0 = clerp(RH.C0, cf(1.05, -0.9, -0.1) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, 0.2), 0.25)
  3957. LH.C0 = clerp(LH.C0, cf(-1.05, -0.9, -0.1) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, -0.2), 0.25)
  3958. end
  3959. end
  3960. else
  3961. do
  3962. if 30 <= torvel and hitfloor ~= nil then
  3963. Anim = "Run"
  3964. if Mode == "Normal" and floating == true then
  3965. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1.4 - (donum)) * euler(0.4, 0, 0), 0.3)
  3966. end
  3967. if attack == false then
  3968. if Mode == "Normal" then
  3969. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.2 + (donum) / 2, 0, 0), 0.3)
  3970. RW.C0 = clerp(RW.C0, cf(1.4, 0.5, 0.1) * euler(-0.2, 0, 0.4 + (donum) / 4) * euler(0, 0, 0), 0.3)
  3971. LW.C0 = clerp(LW.C0, cf(-1.4, 0.5, 0.1) * euler(-0.2, 0, -0.4 - (donum) / 4) * euler(0, 0, 0), 0.3)
  3972. RH.C0 = clerp(RH.C0, cf(0.95, -0.8, -0.2 - (donum) / 2) * euler(0, 1.57, 0) * euler(-0.2 - (donum) / 4, 0, -0.5 - (donum) / 2), 0.3)
  3973. LH.C0 = clerp(LH.C0, cf(-0.95, -0.8, -0.2 - (donum) / 2) * euler(0, -1.57, 0) * euler(-0.1 - (donum) / 4, 0, 0.5 + (donum) / 2), 0.3)
  3974. else
  3975. mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  3976. mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  3977. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.1, 0, 0), 0.25)
  3978. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.1, 0, 0), 0.25)
  3979. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.6, 0, 0.8) * euler(0, -1, 0), 0.25)
  3980. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.6, 0, -0.8) * euler(0, 1, 0), 0.25)
  3981. RH.C0 = clerp(RH.C0, cf(1.05, -0.9, -0.1) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, 0.2), 0.25)
  3982. LH.C0 = clerp(LH.C0, cf(-1.05, -0.9, -0.1) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, -0.2), 0.25)
  3983. end
  3984. end
  3985. end
  3986. end
  3987. end
  3988. end
  3989. end
  3990. end
  3991. fenbarmana2:TweenSize((UDim2.new(0.4, 0, -4 * mana.Value / 100, 0)), nil, 1, 0.4, true)
  3992. fenbarmana4.Text = "Mana(" .. mana.Value .. ")"
  3993. fenbarhp2.BackgroundColor3 = Color3.new(Humanoid.Health / Humanoid.MaxHealth, 0, 0)
  3994. fenbarhp2:TweenSize((UDim2.new(Humanoid.Health / Humanoid.MaxHealth, 0, 1, 0)), nil, 1, 0.4, true)
  3995. fenbarhp3.Text = "(" .. math.floor(Humanoid.Health) .. ")"
  3996. fenbarmove1b:TweenSize((UDim2.new(1 * cooldowns[1] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  3997. fenbarmove2b:TweenSize((UDim2.new(1 * cooldowns[2] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  3998. fenbarmove3b:TweenSize((UDim2.new(1 * cooldowns[3] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  3999. fenbarmove4b:TweenSize((UDim2.new(1 * cooldowns[4] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  4000. for _,c in pairs(Decrease:children()) do
  4001. if (c:findFirstChild("Duration")) ~= nil then
  4002. c.Duration.Value = c.Duration.Value - 1
  4003. if c.Duration.Value <= 0 then
  4004. c.Parent = nil
  4005. end
  4006. end
  4007. if c.Name == "DecreaseAtk" then
  4008. decreaseatk = decreaseatk + c.Value
  4009. else
  4010. if c.Name == "DecreaseDef" then
  4011. decreasedef = decreasedef + c.Value
  4012. else
  4013. if c.Name == "DecreaseMvmt" then
  4014. decreasemvmt = decreasemvmt + c.Value
  4015. end
  4016. end
  4017. end
  4018. end
  4019. Atk.Value = 1 - (decreaseatk)
  4020. if Atk.Value <= 0 then
  4021. Atk.Value = 0
  4022. end
  4023. Def.Value = 1 - (decreasedef)
  4024. if Def.Value <= 0 then
  4025. Def.Value = 0.01
  4026. end
  4027. Mvmt.Value = 1 - (decreasemvmt)
  4028. if Mvmt.Value <= 0 then
  4029. Mvmt.Value = 0
  4030. end
  4031. decreaseatk = 0
  4032. decreasedef = 0
  4033. decreasemvmt = 0
  4034. AtkVal = Atk.Value * 100
  4035. AtkVal = math.floor(AtkVal)
  4036. AtkVal = AtkVal / 100
  4037. fenbardamage.Text = "Damage\n(" .. AtkVal .. ")"
  4038. DefVal = Def.Value * 100
  4039. DefVal = math.floor(DefVal)
  4040. DefVal = DefVal / 100
  4041. fenbardef.Text = "Defense\n(" .. DefVal .. ")"
  4042. MvmtVal = Mvmt.Value * 100
  4043. MvmtVal = math.floor(MvmtVal)
  4044. MvmtVal = MvmtVal / 100
  4045. if Rooted.Value == true then
  4046. MvmtVal = 0
  4047. end
  4048. fenbarmove.Text = "Walkspeed\n(" .. MvmtVal .. ")"
  4049. if StunT.Value <= Stun.Value then
  4050. fenbarstun2:TweenSize((UDim2.new(0.4, 0, -4, 0)), nil, 1, 0.4, true)
  4051. else
  4052. fenbarstun2:TweenSize((UDim2.new(0.4, 0, -4 * Stun.Value / StunT.Value, 0)), nil, 1, 0.4, true)
  4053. end
  4054. fenbarstun3.Text = "Stun(" .. Stun.Value .. ")"
  4055. if 100 <= mana.Value then
  4056. mana.Value = 100
  4057. else
  4058. if mananum <= manainc then
  4059. mananum = mananum + 1
  4060. else
  4061. mananum = 0
  4062. mana.Value = mana.Value + 1
  4063. end
  4064. end
  4065. for i = 1, #cooldowns do
  4066. if cooldownmax <= cooldowns[i] then
  4067. cooldowns[i] = cooldownmax
  4068. else
  4069. cooldowns[i] = cooldowns[i] + cooldownsadd[i]
  4070. end
  4071. end
  4072. end
  4073. if #Effects>0 then
  4074. for e=1,#Effects do
  4075. if Effects[e]~=nil then
  4076. local Thing=Effects[e]
  4077. if Thing ~= nil then
  4078. local Part = Thing[1]
  4079. local Mode = Thing[2]
  4080. local Delay = Thing[3]
  4081. local IncX = Thing[4]
  4082. local IncY = Thing[5]
  4083. local IncZ = Thing[6]
  4084. if Thing[2] == "CylinderClang" then
  4085. if Thing[3] <= 1 then
  4086. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 2.5 * Thing[5], 0) * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  4087. Thing[7] = Thing[1].CFrame
  4088. effect("New Yeller", 0, Thing[8], Thing[7], nil, 0.1, 2)
  4089. Thing[8] = Thing[7]
  4090. Thing[3] = Thing[3] + Thing[4]
  4091. else
  4092. Part.Parent = nil
  4093. table.remove(Effects, e)
  4094. end
  4095. end
  4096. if Thing[2] == "showDamage" then
  4097. if Thing[6] < Thing[5] then
  4098. Thing[6] = Thing[6] + 1
  4099. else
  4100. if Thing[6] < Thing[7] then
  4101. Thing[4].position = Thing[4].position + vt(0, -0.2, 0)
  4102. Thing[6] = Thing[6] + 1
  4103. else
  4104. if Thing[6] < Thing[8] then
  4105. Thing[6] = Thing[6] + 1
  4106. else
  4107. if Thing[6] < Thing[9] then
  4108. Thing[6] = Thing[6] + 1
  4109. Thing[4].position = Thing[4].position + vt(0, 0.2, 0)
  4110. Thing[3].TextStrokeTransparency = Thing[3].TextStrokeTransparency + 0.1
  4111. Thing[3].TextTransparency = Thing[3].TextTransparency + 0.1
  4112. else
  4113. Thing[1].Parent = nil
  4114. table.remove(Effects, e)
  4115. end
  4116. end
  4117. end
  4118. end
  4119. end
  4120. if Thing[2] == "CloneEf" then
  4121. if Thing[3] <= 500 then
  4122. Thing[3] = Thing[3] + 1
  4123. if 10 <= Thing[4] then
  4124. Thing[4] = 0
  4125. end
  4126. Thing[4] = Thing[4] + 1
  4127. else
  4128. table.remove(Effects, e)
  4129. end
  4130. end
  4131. if Thing[2] == "SatelliteStrike" then
  4132. if Thing[5] < 100 then
  4133. Thing[5] = Thing[5] + 2
  4134. Thing[6] = Thing[6] + 1
  4135. if 2 < Thing[6] then
  4136. Thing[6] = 0
  4137. if Thing[3].BrickColor == BrickColor.new("New Yeller") then
  4138. Thing[3].Transparency = 0.8
  4139. Thing[3].BrickColor = BrickColor.new("Really red")
  4140. else
  4141. Thing[3].Transparency = 0.8
  4142. Thing[3].BrickColor = BrickColor.new("New Yeller")
  4143. end
  4144. end
  4145. else
  4146. refda = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt(.2,.2,.2))
  4147. refda.Anchored = true
  4148. refda.CFrame = cf(Thing[1].Position) * cf(0, 500, 0)
  4149. game:GetService("Debris"):AddItem(refda, 1)
  4150. local mag = (refda.Position - Thing[1].Position).magnitude
  4151. MagicCylinder(BrickColor.new("White"), CFrame.new((refda.Position + Thing[1].Position) / 2, Thing[1].Position) * angles(1.57, 0, 0), 40, mag * 5, 40, 0, 0, 0, 0.3)
  4152. Lightning(refda.Position, Thing[1].Position, 15, 5, "Bright yellow", 3.5, 0.2, 0.05)
  4153. MagicBlock2(BrickColor.new("Bright yellow"), cf(Thing[1].Position), 40, 40, 40, -1, -1, -1, 0.08, 1)
  4154. refda.CFrame = cf(Thing[1].Position)
  4155. MagniDamage(refda, 5, 10, 12, 0, "Knockdown2", refda, 0.1, 1, (math.random(10, 12)), nil, nil, true)
  4156. refda.CFrame = cf(Thing[1].Position) * cf(0, 3, 0)
  4157. MagniDamage(refda, 5, 10, 12, 0, "Knockdown2", refda, 0.1, 1, (math.random(10, 12)), nil, nil, true)
  4158. refda.CFrame = cf(Thing[1].Position)
  4159. so("341336446", refda, 1, math.random(100, 120) / 100)
  4160. so("341336459", refda, 1, math.random(100, 120) / 100)
  4161. Thing[1].Parent = nil
  4162. table.remove(Effects, e)
  4163. end
  4164. end
  4165. do
  4166. if Thing[2] == "SatelliteStrike2" then
  4167. if Thing[5] < 100 then
  4168. Thing[5] = Thing[5] + 2
  4169. Thing[6] = Thing[6] + 1
  4170. if 2 < Thing[6] then
  4171. Thing[6] = 0
  4172. if Thing[3].BrickColor == BrickColor.new("New Yeller") then
  4173. Thing[3].Transparency = 0.8
  4174. Thing[3].BrickColor = BrickColor.new("Really red")
  4175. else
  4176. Thing[3].Transparency = 0.8
  4177. Thing[3].BrickColor = BrickColor.new("New Yeller")
  4178. end
  4179. end
  4180. else
  4181. refda = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt(.2,.2,.2))
  4182. refda.Anchored = true
  4183. refda.CFrame = cf(Thing[1].Position) * cf(0, 500, 0)
  4184. game:GetService("Debris"):AddItem(refda, 1)
  4185. local mag = (refda.Position - Thing[1].Position).magnitude
  4186. MagicCylinder(BrickColor.new("White"), CFrame.new((refda.Position + Thing[1].Position) / 2, Thing[1].Position) * angles(1.57, 0, 0), 60, mag * 5, 60, 0, 0, 0, 0.1)
  4187. Lightning(refda.Position, Thing[1].Position, 25, 5, "Bright yellow", 5, 0.2, 0.03)
  4188. MagicBlock2(BrickColor.new("Bright yellow"), cf(Thing[1].Position), 80, 80, 80, -1, -1, -1, 0.06, 1)
  4189. refda.CFrame = cf(Thing[1].Position)
  4190. MagniDamage(refda, 10, 14, 16, 0, "Knockdown2", refda, 0.1, 1, (math.random(14, 18)), nil, nil, true)
  4191. refda.CFrame = cf(Thing[1].Position) * cf(0, 3, 0)
  4192. MagniDamage(refda, 10, 14, 16, 0, "Knockdown2", refda, 0.1, 1, (math.random(14, 18)), nil, nil, true)
  4193. refda.CFrame = cf(Thing[1].Position)
  4194. so("341336446", refda, 1, math.random(70, 90) / 100)
  4195. so("341336459", refda, 1, math.random(50, 80) / 100)
  4196. Thing[1].Parent = nil
  4197. table.remove(Effects, e)
  4198. end
  4199. end
  4200. do
  4201. if Thing[2] == "Shoot" then
  4202. Thing[11] = Thing[11] + 0.02
  4203. local Look = Thing[1]
  4204. local hit, pos = rayCast(Thing[4], Look, Thing[11], modelzorz)
  4205. local mag = (Thing[4] - pos).magnitude
  4206. if 6 < Thing[8] then
  4207. Thing[8] = 1
  4208. else
  4209. Thing[8] = Thing[8] + 1
  4210. end
  4211. MagicCylinder(Neons[Thing[8]], CFrame.new((Thing[4] + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  4212. Thing[9].BrickColor = Neons[Thing[8]]
  4213. Thing[9].CFrame = CFrame.new((Thing[4] + pos) / 2, pos) * cf(0, 0, -1) * Thing[10]
  4214. Thing[4] = Thing[4] + Look * Thing[11]
  4215. Thing[3] = Thing[3] - 1
  4216. if hit ~= nil then
  4217. Damagefunc(hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0.1, 2, (math.random(1, 3)), nil, nil, true)
  4218. end
  4219. if Thing[3] <= 0 then
  4220. Thing[9].Parent = nil
  4221. table.remove(Effects, e)
  4222. end
  4223. end
  4224. do
  4225. if Thing[2] == "Shoot2" then
  4226. local Look = Thing[1]
  4227. local hit, pos = rayCast(Thing[4], Look, 4, Character)
  4228. local mag = (Thing[4] - pos).magnitude
  4229. if 6 < Thing[8] then
  4230. Thing[8] = 1
  4231. else
  4232. Thing[8] = Thing[8] + 1
  4233. end
  4234. MagicCircle(BrickColor.new(NewCol3), CFrame.new((Thing[4] + pos) / 2, pos) * angles(1.57, 0, 0), 4, 4, 4, -0.5, -0.5, -0.5, 0.5)
  4235. Thing[4] = Thing[4] + Look * 4
  4236. Thing[3] = Thing[3] - 1
  4237. if hit ~= nil then
  4238. Thing[3] = 0
  4239. Damagefunc(hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0.1, 2, (math.random(1, 5)), nil, nil, true)
  4240. end
  4241. if Thing[3] <= 0 then
  4242. table.remove(Effects, e)
  4243. end
  4244. end
  4245. do
  4246. if Thing[2] == "Shoot3" then
  4247. local Look = Thing[1]
  4248. local hit, pos = rayCast(Thing[4], Look, 1.5, modelzorz)
  4249. local mag = (Thing[4] - pos).magnitude
  4250. if 6 < Thing[8] then
  4251. Thing[8] = 1
  4252. else
  4253. Thing[8] = Thing[8] + 1
  4254. end
  4255. Thing[11] = Thing[11] + 0.05
  4256. Thing[9].BrickColor = Neons[Thing[8]]
  4257. Thing[9].CFrame = CFrame.new((Thing[4] + pos) / 2, pos) * euler(0, mr(90), 0) * euler(Thing[10], 0, 0) * euler(0, Thing[11], 0)
  4258. MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 25, 25, 25, 2, 2, 2, 0.25)
  4259. Thing[4] = Thing[4] + Look * 1.5
  4260. Thing[3] = Thing[3] - 1
  4261. if hit ~= nil then
  4262. Thing[3] = 0
  4263. end
  4264. if Thing[3] <= 0 then
  4265. MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 30, 30, 30, 4, 4, 4, 0.1)
  4266. MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 100, 100, 100, 0, 0, 0, 0.05)
  4267. local staaaaref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt(.2,.2,.2))
  4268. staaaaref.Anchored = true
  4269. staaaaref.CFrame = cf(Thing[9].Position)
  4270. game:GetService("Debris"):AddItem(staaaaref, 1)
  4271. so("341336499", staaaaref, 0.8, 2)
  4272. MagniDamage(staaaaref, 10, 10, 12, math.random(10, 20), "Knockdown2", staaaaref, 0.1, 1, (math.random(4, 6)), nil, nil, true, "Damage", 0.1, 200)
  4273. Thing[9].Parent = nil
  4274. table.remove(Effects, e)
  4275. end
  4276. end
  4277. do
  4278. if Thing[2] == "Shoot4" then
  4279. local Look = Thing[1]
  4280. local hit, pos = rayCast(Thing[4], Look, 1.5, modelzorz)
  4281. local mag = (Thing[4] - pos).magnitude
  4282. if 6 < Thing[8] then
  4283. Thing[8] = 1
  4284. else
  4285. Thing[8] = Thing[8] + 1
  4286. end
  4287. Thing[11] = Thing[11] + 0.05
  4288. Thing[9].BrickColor = Neons[Thing[8]]
  4289. Thing[9].CFrame = CFrame.new((Thing[4] + pos) / 2, pos) * euler(0, mr(90), 0) * euler(Thing[10], 0, 0) * euler(0, Thing[11], 0)
  4290. MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 80, 80, 80, 2, 2, 2, 0.25)
  4291. Thing[4] = Thing[4] + Look * 1.5
  4292. Thing[3] = Thing[3] - 1
  4293. if hit ~= nil then
  4294. Thing[3] = 0
  4295. end
  4296. if Thing[3] <= 0 then
  4297. MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 90, 90, 90, 4, 4, 4, 0.1)
  4298. MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 200, 200, 200, 0, 0, 0, 0.1)
  4299. MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 150, 150, 150, 10, 10, 10, 0.08)
  4300. MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 100, 100, 100, 15, 15, 15, 0.06)
  4301. local staaaaref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt(.2,.2,.2))
  4302. staaaaref.Anchored = true
  4303. staaaaref.CFrame = cf(Thing[9].Position)
  4304. game:GetService("Debris"):AddItem(staaaaref, 1)
  4305. so("341336499", staaaaref, 0.8, 1)
  4306. MagniDamage(staaaaref, 20, 15, 18, math.random(30, 50), "Knockdown2", staaaaref, 0.1, 1, (math.random(8, 10)), nil, nil, true, "Damage", 0.1, 400)
  4307. Thing[9].Parent = nil
  4308. table.remove(Effects, e)
  4309. end
  4310. end
  4311. do
  4312. do
  4313. if Thing[2] ~= "DecreaseStat" and Thing[2] ~= "showDamage" and Thing[2] ~= "CloneEf" and Thing[2] ~= "Blink" and Thing[2] ~= "ShootIce" and Thing[2] ~= "Freeze" and Thing[2] ~= "Shoot" and Thing[2] ~= "Shoot2" and Thing[2] ~= "Shoot3" and Thing[2] ~= "Shoot4" and Thing[2] ~= "SatelliteStrike" and Thing[2] ~= "SatelliteStrike2" then
  4314. if Thing[1].Transparency <= 1 then
  4315. if Thing[2] == "Block1" then
  4316. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  4317. Mesh = Thing[7]
  4318. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  4319. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4320. else
  4321. if Thing[2] == "Block2" then
  4322. Thing[1].CFrame = Thing[1].CFrame
  4323. Mesh = Thing[7]
  4324. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  4325. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4326. else
  4327. if Thing[2] == "Block3" then
  4328. Thing[8] = Thing[8] * cf(0, 1, 0)
  4329. Thing[1].CFrame = Thing[8] * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  4330. Mesh = Thing[7]
  4331. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  4332. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4333. else
  4334. if Thing[2] == "Block4" then
  4335. if #Neons - 1 < Thing[8] then
  4336. Thing[8] = 1
  4337. else
  4338. Thing[8] = Thing[8] + 1
  4339. end
  4340. Thing[1].BrickColor = Neons[Thing[8]]
  4341. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  4342. Mesh = Thing[7]
  4343. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  4344. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4345. else
  4346. if Thing[2] == "Cylinder" then
  4347. Mesh = Thing[7]
  4348. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  4349. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4350. else
  4351. if Thing[2] == "Shatter" then
  4352. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4353. Thing[4] = Thing[4] * cf(0, Thing[7], 0)
  4354. Thing[1].CFrame = Thing[4] * euler(Thing[6], 0, 0)
  4355. Thing[6] = Thing[6] + Thing[5]
  4356. else
  4357. if Thing[2] == "Blood" then
  4358. Mesh = Thing[7]
  4359. Thing[1].CFrame = Thing[1].CFrame * cf(0, Thing[8], 0)
  4360. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  4361. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4362. else
  4363. if Thing[2] == "Elec" then
  4364. Mesh = Thing[7]
  4365. Mesh.Scale = Mesh.Scale + vt(Thing[7], Thing[8], Thing[9])
  4366. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4367. else
  4368. if Thing[2] == "Disappear" then
  4369. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4370. end
  4371. end
  4372. end
  4373. end
  4374. end
  4375. end
  4376. end
  4377. end
  4378. end
  4379. else
  4380. Part.Parent = nil
  4381. table.remove(Effects, e)
  4382. end
  4383. end
  4384. end
  4385. end
  4386. end
  4387. end
  4388. end
  4389. end
  4390. end
  4391. end
  4392. end
  4393. end
  4394. end
  4395. end
  4396. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement