Advertisement
Thefrozen106

Dreemur (Edited)

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