Advertisement
Xoxanityz

,..

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