Advertisement
ericdesouza

Untitled

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