Advertisement
memberhero

Universal Glitcher FE Script

Feb 21st, 2019
2,412
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 418.28 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player = owner
  3. local Mouse,mouse,UserInputService,ContextActionService
  4. do
  5. script.Parent = RhiBel00351
  6. local CAS = {Actions={}}
  7. local Event = Instance.new("RemoteEvent")
  8. Event.Name = "UserInput_Event"
  9. Event.Parent = Player.Character
  10. local fakeEvent = function()
  11. local t = {_fakeEvent=true}
  12. t.Connect = function(self,f)self.Function=f end
  13. t.connect = t.Connect
  14. return t
  15. end
  16. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  17. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  18. function CAS:BindAction(name,fun,touch,...)
  19. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  20. end
  21. function CAS:UnbindAction(name)
  22. CAS.Actions[name] = nil
  23. end
  24. local function te(self,ev,...)
  25. local t = m[ev]
  26. if t and t._fakeEvent and t.Function then
  27. t.Function(...)
  28. end
  29. end
  30. m.TrigEvent = te
  31. UIS.TrigEvent = te
  32. Event.OnServerEvent:Connect(function(plr,io)
  33. if plr~=Player then return end
  34. if io.isMouse then
  35. m.Target = io.Target
  36. m.Hit = io.Hit
  37. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  38. if io.UserInputState == Enum.UserInputState.Begin then
  39. m:TrigEvent("Button1Down")
  40. else
  41. m:TrigEvent("Button1Up")
  42. end
  43. else
  44. for n,t in pairs(CAS.Actions) do
  45. for _,k in pairs(t.Keys) do
  46. if k==io.KeyCode then
  47. t.Function(t.Name,io.UserInputState,io)
  48. end
  49. end
  50. end
  51. if io.UserInputState == Enum.UserInputState.Begin then
  52. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  53. UIS:TrigEvent("InputBegan",io,false)
  54. else
  55. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  56. UIS:TrigEvent("InputEnded",io,false)
  57. end
  58. end
  59. end)
  60. NLS([==[
  61. local Player = game:GetService("Players").LocalPlayer
  62.  
  63. local Char = Player.Character
  64. local Event = Char:WaitForChild("UserInput_Event")
  65.  
  66. local UIS = game:GetService("UserInputService")
  67.  
  68. local input = function(io,a)
  69. if a then return end
  70. local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  71. Event:FireServer(io)
  72. end
  73. UIS.InputBegan:Connect(input)
  74. UIS.InputEnded:Connect(input)
  75. local Changed = false
  76. local Mouse = Player:GetMouse()
  77. local h,t = Mouse.Hit,Mouse.Target
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  81. h,t=Mouse.Hit,Mouse.Target
  82. end
  83. end
  84. ]==],Player.Character)
  85. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  86. end
  87.  
  88.  
  89. wait(0.2)
  90.  
  91. --Converted with ttyyuu12345's model to script plugin v4
  92. function sandbox(var,func)
  93. local env = getfenv(func)
  94. local newenv = setmetatable({},{
  95. __index = function(self,k)
  96. if k=="script" then
  97. return var
  98. else
  99. return env[k]
  100. end
  101. end,
  102. })
  103. setfenv(func,newenv)
  104. return func
  105. end
  106. cors = {}
  107. mas = Instance.new("Model",game:GetService("Lighting"))
  108. UnionOperation0 = Instance.new("UnionOperation")
  109. UnionOperation1 = Instance.new("UnionOperation")
  110. UnionOperation2 = Instance.new("UnionOperation")
  111. UnionOperation3 = Instance.new("UnionOperation")
  112. Trail4 = Instance.new("Trail")
  113. MeshPart5 = Instance.new("MeshPart")
  114. MeshPart6 = Instance.new("MeshPart")
  115. ---ColorCorrectionEffect7 = Instance.new("ColorCorrectionEffect")
  116. MeshPart8 = Instance.new("MeshPart")
  117. LocalScript9 = Instance.new("LocalScript")
  118. LocalScript10 = Instance.new("LocalScript")
  119. NumberValue11 = Instance.new("NumberValue")
  120. NumberValue12 = Instance.new("NumberValue")
  121. UnionOperation0.Name = "Diamond"
  122. UnionOperation0.Parent = mas
  123. UnionOperation0.CFrame = CFrame.new(-19.5686951, -21.0893707, 10.1247301, 0, 0, 1, -1, 0, 0, 0, -1, 0)
  124. UnionOperation0.Orientation = Vector3.new(0, 90, -90)
  125. UnionOperation0.Position = Vector3.new(-19.5686951, -21.0893707, 10.1247301)
  126. UnionOperation0.Rotation = Vector3.new(-90, 90, 0)
  127. UnionOperation0.Color = Color3.new(0.639216, 0.635294, 0.647059)
  128. UnionOperation0.Size = Vector3.new(0.199999854, 1.70000076, 1.70000029)
  129. UnionOperation0.Anchored = true
  130. UnionOperation0.BrickColor = BrickColor.new("Medium stone grey")
  131. UnionOperation0.CanCollide = false
  132. UnionOperation0.Material = Enum.Material.Neon
  133. UnionOperation0.brickColor = BrickColor.new("Medium stone grey")
  134. UnionOperation0.UsePartColor = true
  135. UnionOperation1.Name = "Outshard"
  136. UnionOperation1.Parent = mas
  137. UnionOperation1.CFrame = CFrame.new(-19.5686951, -21.0893707, 10.1247301, -4.67859707e-08, -0.707106829, -0.707106709, 0.99999994, -3.70535069e-08, 2.69940177e-08, -1.48901549e-08, -0.707106709, 0.707106829)
  138. UnionOperation1.Orientation = Vector3.new(0, -45, 90)
  139. UnionOperation1.Position = Vector3.new(-19.5686951, -21.0893707, 10.1247301)
  140. UnionOperation1.Rotation = Vector3.new(0, -45, 90)
  141. UnionOperation1.Color = Color3.new(0.639216, 0.635294, 0.647059)
  142. UnionOperation1.Size = Vector3.new(0.230012104, 5.52012205, 5.52014017)
  143. UnionOperation1.Anchored = true
  144. UnionOperation1.BrickColor = BrickColor.new("Medium stone grey")
  145. UnionOperation1.CanCollide = false
  146. UnionOperation1.Material = Enum.Material.Neon
  147. UnionOperation1.brickColor = BrickColor.new("Medium stone grey")
  148. UnionOperation1.UsePartColor = true
  149. UnionOperation2.Name = "Ring"
  150. UnionOperation2.Parent = mas
  151. UnionOperation2.CFrame = CFrame.new(-19.5686951, -21.0893707, 10.1247301, 0, 1.58457567e-08, 1, -1, -2.02948698e-08, 0, 2.02948698e-08, -1, 1.58457567e-08)
  152. UnionOperation2.Orientation = Vector3.new(0, 90, -90)
  153. UnionOperation2.Position = Vector3.new(-19.5686951, -21.0893707, 10.1247301)
  154. UnionOperation2.Rotation = Vector3.new(-90, 90, 0)
  155. UnionOperation2.Color = Color3.new(0.639216, 0.635294, 0.647059)
  156. UnionOperation2.Size = Vector3.new(0.199999779, 3.20000076, 3.19999909)
  157. UnionOperation2.Anchored = true
  158. UnionOperation2.BrickColor = BrickColor.new("Medium stone grey")
  159. UnionOperation2.CanCollide = false
  160. UnionOperation2.Material = Enum.Material.Neon
  161. UnionOperation2.brickColor = BrickColor.new("Medium stone grey")
  162. UnionOperation2.UsePartColor = true
  163. UnionOperation3.Name = "Shard"
  164. UnionOperation3.Parent = mas
  165. UnionOperation3.CFrame = CFrame.new(-24.0236816, -21.1145096, 10.2847404, -6.81059387e-09, -5.25793717e-18, -1, 1, 0, -2.29301911e-09, -1.80703132e-08, -1, 8.81290864e-17)
  166. UnionOperation3.Orientation = Vector3.new(0, -90, 90)
  167. UnionOperation3.Position = Vector3.new(-24.0236816, -21.1145096, 10.2847404)
  168. UnionOperation3.Rotation = Vector3.new(-90, -90, 0)
  169. UnionOperation3.Color = Color3.new(0.639216, 0.635294, 0.647059)
  170. UnionOperation3.Size = Vector3.new(0.1091391, 2.18227482, 4.51000547)
  171. UnionOperation3.Anchored = true
  172. UnionOperation3.BrickColor = BrickColor.new("Medium stone grey")
  173. UnionOperation3.CanCollide = false
  174. UnionOperation3.Material = Enum.Material.Neon
  175. UnionOperation3.brickColor = BrickColor.new("Medium stone grey")
  176. UnionOperation3.UsePartColor = true
  177. Trail4.Parent = UnionOperation3
  178. Trail4.Attachment0 = nil
  179. Trail4.Attachment1 = nil
  180. Trail4.LightEmission = 1
  181. Trail4.Texture = "rbxassetid://1049211078"
  182. Trail4.Transparency = NumberSequence.new(0,0,1)
  183. MeshPart5.Name = "chring"
  184. MeshPart5.Parent = mas
  185. MeshPart5.CFrame = CFrame.new(-6.13871002, 2.00000501, -11.4352522, 1.91068547e-15, -4.37113883e-08, 1, -1, -4.37113883e-08, 0, 4.37113883e-08, -1, -4.37113883e-08)
  186. MeshPart5.Orientation = Vector3.new(0, 90, -90)
  187. MeshPart5.Position = Vector3.new(-6.13871002, 2.00000501, -11.4352522)
  188. MeshPart5.Rotation = Vector3.new(-90, 90, 0)
  189. MeshPart5.Transparency = 1
  190. MeshPart5.Size = Vector3.new(3, 15, 15)
  191. MeshPart5.Anchored = true
  192. MeshPart5.CanCollide = false
  193. MeshPart5.Material = Enum.Material.Neon
  194. MeshPart6.Name = "chring2"
  195. MeshPart6.Parent = mas
  196. MeshPart6.CFrame = CFrame.new(-29.6786957, 23.4964809, -10.8952541, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  197. MeshPart6.Position = Vector3.new(-29.6786957, 23.4964809, -10.8952541)
  198. MeshPart6.Transparency = 1
  199. MeshPart6.Size = Vector3.new(3, 3, 1)
  200. MeshPart6.Anchored = true
  201. MeshPart6.CanCollide = false
  202. MeshPart6.Material = Enum.Material.Neon
  203. ---ColorCorrectionEffect7.Name = "redness"
  204. ----ColorCorrectionEffect7.Parent = mas
  205. ----ColorCorrectionEffect7.Contrast = 5
  206. ---ColorCorrectionEffect7.Saturation = 1
  207. ----ColorCorrectionEffect7.TintColor = Color3.new(1, 0, 0)
  208. MeshPart8.Name = "spball"
  209. MeshPart8.Parent = mas
  210. MeshPart8.CFrame = CFrame.new(-6.13869476, 5.00000191, -11.4352684, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  211. MeshPart8.Position = Vector3.new(-6.13869476, 5.00000191, -11.4352684)
  212. MeshPart8.Transparency = 1
  213. MeshPart8.Size = Vector3.new(10, 10, 10)
  214. MeshPart8.Anchored = true
  215. MeshPart8.CanCollide = false
  216. MeshPart8.Material = Enum.Material.Neon
  217. LocalScript9.Parent = mas
  218. table.insert(cors,sandbox(LocalScript9,function()
  219. local Player = game:GetService("Players").LocalPlayer
  220.  
  221. local Char = Player.Character
  222. local Event = Char:WaitForChild("UserInput_Event")
  223.  
  224. local UIS = game:GetService("UserInputService")
  225.  
  226. local input = function(io,a)
  227. if a then return end
  228. local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  229. Event:FireServer(io)
  230. end
  231. UIS.InputBegan:Connect(input)
  232. UIS.InputEnded:Connect(input)
  233. local Changed = false
  234. local Mouse = Player:GetMouse()
  235. local h,t = Mouse.Hit,Mouse.Target
  236. while wait(1/30) do
  237. if h~=Mouse.Hit or t~=Mouse.Target then
  238. Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  239. h,t=Mouse.Hit,Mouse.Target
  240. end
  241. end
  242. end))
  243. LocalScript10.Name = "Shaker"
  244. LocalScript10.Parent = mas
  245. table.insert(cors,sandbox(LocalScript10,function()
  246. --//Screenshake improved by KirokiFreedom < fuck u
  247. --//Tip nooby, replicating this script to everyone is inefficient, I would recommend replicating it on script startup, then using a remote:FireAllClients/FireClient to trigger it.
  248. paly = game.Players.LocalPlayer
  249. char = paly.Character
  250. local cam = game.Workspace.CurrentCamera
  251. vt = Vector3.new
  252. hum = char:FindFirstChildOfClass("Humanoid")
  253. --------- SazEreno's Artificial HB --------------
  254. ArtificialHB = Instance.new("BindableEvent", script)
  255. ArtificialHB.Name = "ArtificialHB"
  256.  
  257. script:WaitForChild("ArtificialHB")
  258. Frame_Speed = 1 / 60
  259. frame = Frame_Speed
  260. tf = 0
  261. allowframeloss = false
  262. tossremainder = false
  263. lastframe = tick()
  264. script.ArtificialHB:Fire()
  265.  
  266. game:GetService("RunService").Heartbeat:connect(function(s, p)
  267. tf = tf + s
  268. if tf >= frame then
  269. if allowframeloss then
  270. script.ArtificialHB:Fire()
  271. lastframe = tick()
  272. else
  273. for i = 1, math.floor(tf / frame) do
  274. script.ArtificialHB:Fire()
  275. end
  276. lastframe = tick()
  277. end
  278. if tossremainder then
  279. tf = 0
  280. else
  281. tf = tf - frame * math.floor(tf / frame)
  282. end
  283. end
  284. end)
  285.  
  286. ------------------
  287. function swait(num)
  288. if num == 0 or num == nil then
  289. ArtificialHB.Event:wait()
  290. else
  291. for i = 1, num do
  292. ArtificialHB.Event:wait()
  293. end
  294. end
  295. end
  296. function lerp(object, newCFrame, alpha)
  297. return object:lerp(newCFrame, alpha)
  298. end
  299. cam.CameraSubject = hum
  300. wait()
  301. local sv = script.Shakeval
  302. local ml = script.MultLength
  303. local va = sv.Value*10
  304. local vax = sv.Value*100
  305. coroutine.resume(coroutine.create(function()
  306. for i = 0, 99*ml.Value do
  307. swait()
  308. va = va - sv.Value/10/ml.Value
  309. vax = vax - sv.Value/ml.Value
  310. end
  311. end))
  312. for i = 1, 100*ml.Value do
  313. --cam.CameraType = "Custom"
  314. game:GetService('RunService').RenderStepped:wait()
  315. --cam.CFrame = cam.CFrame*CFrame.new(math.random(-va,va)/10,math.random(-va,va)/10,math.random(-va,va)/10)
  316. --cam:SetRoll(math.rad(math.random(-va,va)))
  317. local ava = va/(i/5)
  318. cam.CFrame = cam.CFrame*(CFrame.new(math.random(-ava,ava)/10,math.random(-ava,ava)/10,math.random(-ava,ava)/10) * CFrame.Angles(math.random(-ava,ava)/100,math.random(-ava,ava)/100,math.random(-ava,ava)/100))
  319. --cam:SetRoll(math.rad(math.random(-ava,ava)))
  320. --SetRoll being used did not allow for camera movement during screenshake and did not add a good effect compared to CFrame.Angles in above used statement.
  321. swait()
  322. --cam.CameraType = "Custom" ...why
  323. end
  324. --Nooby, do not add the Script:Destroy() back, it's clientsided and results in hundreds of scripts in the serverside. I added in the 'inc' script inside the shake functions game:GetService("Debris"):AddItem(script, multlength+4) so it removes. No need to add anything here to destroy it.
  325. end))
  326. LocalScript10.Disabled = true
  327. NumberValue11.Name = "Shakeval"
  328. NumberValue11.Parent = LocalScript10
  329. NumberValue11.Value = 1
  330. NumberValue12.Name = "MultLength"
  331. NumberValue12.Parent = LocalScript10
  332. NumberValue12.Value = 1
  333. for i,v in pairs(mas:GetChildren()) do
  334. v.Parent = script
  335. pcall(function() v:MakeJoints() end)
  336. end
  337. mas:Destroy()
  338. for i,v in pairs(cors) do
  339. spawn(function()
  340. pcall(v)
  341. end)
  342. end
  343. wait(1)
  344. warn([[UNIVERSAL GLITCHER Loaded.
  345. FOURTH GLITCHER OVERALL
  346.  
  347. Created by NoobyGames12
  348. ]])
  349.  
  350.  
  351. print([[Icons:
  352. ! = New
  353. ? = Spoilers
  354. * = Exclusivity
  355. C = Changes
  356.  
  357. ]])
  358. warn([[V 0.1 Update Log:
  359. ! - Started]])
  360. --- its obs smooth af do not touch
  361. ---- Sources and functions might be taken from others
  362. plr = owner
  363. char = plr.Character
  364. hum = char:FindFirstChildOfClass("Humanoid")
  365. local cam = game.Workspace.CurrentCamera
  366. Camera = cam
  367. local CamInterrupt = false
  368. local TwoD = false
  369. local TargetInfo = {nil, nil}
  370. cam.CameraType = "Custom"
  371. t = char.Torso
  372. h = char.Head
  373. ra = char["Right Arm"]
  374. la = char["Left Arm"]
  375. rl = char["Right Leg"]
  376. ll = char["Left Leg"]
  377. tors = char.Torso
  378. lleg = char["Left Leg"]
  379. root = char.HumanoidRootPart
  380. hed = char.Head
  381. rleg = char["Right Leg"]
  382. rarm = char["Right Arm"]
  383. larm = char["Left Arm"]
  384. radian = math.rad
  385. random = math.random
  386. Vec3 = Vector3.new
  387. Inst = Instance.new
  388. cFrame = CFrame.new
  389. Euler = CFrame.fromEulerAnglesXYZ
  390. vt = Vector3.new
  391. bc = BrickColor.new
  392. br = BrickColor.random
  393. it = Instance.new
  394. cf = CFrame.new
  395. local kan = Instance.new("Sound",char)
  396. kan.Volume = 1.25
  397. kan.TimePosition = 0
  398. kan.PlaybackSpeed = 1
  399. kan.Pitch = 1.01
  400. kan.SoundId = "rbxassetid://2128137966"
  401. kan.Name = "ero"
  402. kan.Looped = true
  403. kan:Play()
  404. local Mode = "Neutral"
  405. local enableddam = true
  406.  
  407.  
  408.  
  409. -------------------------------------------------------
  410. --Start Good Stuff--
  411. -------------------------------------------------------
  412. cam = game.Workspace.CurrentCamera
  413. CF = CFrame.new
  414. VT = Vector3.new
  415. angles = CFrame.Angles
  416. attack = false
  417. Euler = CFrame.fromEulerAnglesXYZ
  418. Rad = math.rad
  419. IT = Instance.new
  420. BrickC = BrickColor.new
  421. Cos = math.cos
  422. Acos = math.acos
  423. Sin = math.sin
  424. Asin = math.asin
  425. Abs = math.abs
  426. Mrandom = math.random
  427. Floor = math.floor
  428. local Player_Size = 0
  429. local rootj = root.RootJoint
  430. -------------------------------------------------------
  431. --End Good Stuff--
  432. -------------------------------------------------------
  433.  
  434. function shakes(power,length)
  435. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  436. local var = script.Shaker:Clone()
  437. var.Parent = v.Character
  438. local pw = var.Shakeval
  439. local lgth = var.MultLength
  440. pw.Value = power
  441. lgth.Value = length
  442. var.Disabled = false
  443. game:GetService("Debris"):AddItem(var, length+4)
  444. end
  445. end
  446.  
  447. function localshakes(power,length)
  448. local var = script.Shaker:Clone()
  449. var.Parent = plr.Character
  450. local pw = var.Shakeval
  451. local lgth = var.MultLength
  452. pw.Value = power
  453. lgth.Value = length
  454. var.Disabled = false
  455. game:GetService("Debris"):AddItem(var, length+4)
  456. end
  457. local Booleans = {
  458. CamFollow = true,
  459. GyroUse = true
  460. }
  461.  
  462. function lerp(object, newCFrame, alpha)
  463. return object:lerp(newCFrame, alpha)
  464. end
  465.  
  466. local Directer = Inst("BodyGyro", root)
  467. Directer.MaxTorque = Vec3(0, 0, 0)
  468. Directer.P = 600000
  469. local CPart = Inst("Part")
  470. CPart.Anchored = true
  471. CPart.CanCollide = false
  472. CPart.Locked = true
  473. CPart.Transparency = 1
  474.  
  475. local rainbowmode = false
  476. local chaosmode = false
  477.  
  478. local kan = char.ero
  479. local currentThemePlaying = kan.SoundId
  480. local currentPitch = kan.Pitch
  481. local currentVol = kan.Volume
  482. function newTheme(ID,timepos,pitch,vol)
  483. local kanz = kan
  484. --kanz:Stop()
  485. kanz.Volume = vol
  486. --kanz.TimePosition = timepos
  487. kanz.PlaybackSpeed = pitch
  488. kanz.Pitch = pitch
  489. kanz.SoundId = ID
  490. kanz.Name = "ero"
  491. kanz.Looped = true
  492. currentThemePlaying = kanz.SoundId
  493. currentVol = kanz.Volume
  494. currentPitch = kanz.Pitch
  495. --kanz:Play()
  496. --coroutine.resume(coroutine.create(function()
  497. --wait(0.05)
  498. --end))
  499. end
  500.  
  501.  
  502. function newThemeCust(ID,timepos,pitch,vol)
  503. local kanz = kan
  504. kanz:Stop()
  505. kanz.Volume = vol
  506. kanz.TimePosition = timepos
  507. kanz.PlaybackSpeed = pitch
  508. kanz.Pitch = pitch
  509. kanz.SoundId = ID
  510. kanz.Looped = true
  511. currentThemePlaying = kanz.SoundId
  512. currentVol = kanz.Volume
  513. currentPitch = kanz.Pitch
  514. kanz:Play()
  515. coroutine.resume(coroutine.create(function()
  516. wait(0.05)
  517. end))
  518. end
  519.  
  520. local mutedtog = false
  521.  
  522. function CameraEnshaking(Length,Intensity)
  523. coroutine.resume(coroutine.create(function()
  524. local intensity = 1*Intensity
  525. local rotM = 0.01*Intensity
  526. for i = 0, Length, 0.1 do
  527. swait()
  528. intensity = intensity - 0.05*Intensity/Length
  529. rotM = rotM - 0.0005*Intensity/Length
  530. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  531. cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  532. end
  533. Humanoid.CameraOffset = Vec3(0, 0, 0)
  534. end))
  535. end
  536. CamShake=function(Part,Distan,Power,Times)
  537. local de=Part.Position
  538. for i,v in pairs(workspace:children()) do
  539. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  540. for _,c in pairs(v:children()) do
  541. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  542. local Noob=v.Humanoid
  543. if Noob~=nil then
  544. coroutine.resume(coroutine.create(function()
  545. FV = Instance.new("BoolValue", Noob)
  546. FV.Name = "CameraShake"
  547. for ShakeNum=1,Times do
  548. swait()
  549. local ef=Power
  550. if ef>=1 then
  551. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  552. else
  553. ef=Power*10
  554. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  555. end
  556. end
  557. Humanoid.CameraOffset = Vector3.new(0,0,0)
  558. FV:Destroy()
  559. end))
  560. CameraShake(Times, Power, Noob)
  561. end
  562. end
  563. end
  564. end
  565. end
  566. end
  567.  
  568. local toggleTag = true
  569. local bilguit = Instance.new("BillboardGui", hed)
  570. bilguit.Adornee = nil
  571. bilguit.Name = "ModeName"
  572. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  573. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  574. local modet = Instance.new("TextLabel", bilguit)
  575. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  576. modet.FontSize = "Size8"
  577. modet.TextScaled = true
  578. modet.TextTransparency = 0
  579. modet.BackgroundTransparency = 1
  580. modet.TextTransparency = 0
  581. modet.TextStrokeTransparency = 0
  582. modet.Font = "Antique"
  583. modet.TextStrokeColor3 = bc("Mint").Color
  584. modet.TextColor3 = bc("Toothpaste").Color
  585. modet.Text = "EXQUISITE"
  586.  
  587.  
  588.  
  589. function chatfunc(text,color,color2,typet,font,timeex)
  590. local chat = coroutine.wrap(function()
  591. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  592. Character:FindFirstChild("TalkingBillBoard"):destroy()
  593. end
  594. local naeeym2 = Instance.new("BillboardGui",Character)
  595. naeeym2.Size = UDim2.new(0,100,0,40)
  596. naeeym2.StudsOffset = Vector3.new(0,1.5,0)
  597. naeeym2.Adornee = Character.Head
  598. naeeym2.Name = "TalkingBillBoard"
  599. local tecks2 = Instance.new("TextLabel",naeeym2)
  600. tecks2.BackgroundTransparency = 1
  601. tecks2.BorderSizePixel = 0
  602. tecks2.Text = ""
  603. tecks2.Font = font
  604. tecks2.TextSize = 30
  605. tecks2.TextStrokeTransparency = 0
  606. tecks2.TextColor3 = color
  607. tecks2.TextStrokeColor3 = color2
  608. tecks2.Size = UDim2.new(1,0,0.5,0)
  609. local tecks3 = Instance.new("TextLabel",naeeym2)
  610. tecks3.BackgroundTransparency = 1
  611. tecks3.BorderSizePixel = 0
  612. tecks3.Text = ""
  613. tecks3.Font = font
  614. tecks3.TextSize = 30
  615. tecks3.TextStrokeTransparency = 0
  616. if typet == "Inverted" then
  617. tecks3.TextColor3 = color2
  618. tecks3.TextStrokeColor3 = color
  619. elseif typet == "Normal" then
  620. tecks3.TextColor3 = color
  621. tecks3.TextStrokeColor3 = color2
  622. end
  623. tecks3.Size = UDim2.new(1,0,0.5,0)
  624. coroutine.resume(coroutine.create(function()
  625. while true do
  626. swait(1)
  627. if chaosmode == true then
  628. tecks2.TextColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  629. tecks3.TextStrokeColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  630. end
  631. end
  632. end))
  633. for i = 0, 74*timeex do
  634. swait()
  635. tecks2.Text = text
  636. tecks3.Text = text
  637. end
  638. local va = 0
  639. local mult = 1
  640. for i = 0, 49 do
  641. swait()
  642. mult = mult + 0.1
  643. va = va + 0.1*mult
  644. tecks2.Text = text
  645. tecks3.Text = text
  646. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  647. tecks2.TextTransparency = tecks2.TextTransparency + .04
  648. tecks2.Position = tecks2.Position + UDim2.new(0,va,0,0)
  649. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  650. tecks3.TextTransparency = tecks2.TextTransparency + .04
  651. tecks3.Position = tecks3.Position - UDim2.new(0,va,0,0)
  652. end
  653. naeeym2:Destroy()
  654. end)
  655. chat()
  656. end
  657. local disach = true
  658. function bosschatfunc(text,color,watval)
  659. if disach == false then
  660. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  661. coroutine.resume(coroutine.create(function()
  662. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  663. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  664. end
  665. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  666. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  667. scrg.Name = "Dialog"
  668. local txtlb = Instance.new("TextLabel",scrg)
  669. txtlb.Text = ""
  670. txtlb.Font = "Bodoni"
  671. txtlb.TextColor3 = Color3.new(0,0,0)
  672. txtlb.TextStrokeTransparency = 0
  673. txtlb.BackgroundTransparency = 0.75
  674. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  675. txtlb.TextStrokeColor3 = color
  676. txtlb.TextScaled = true
  677. txtlb.Size = UDim2.new(1,0,0.25,0)
  678. txtlb.TextXAlignment = "Left"
  679. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  680. local txtlb2 = Instance.new("TextLabel",scrg)
  681. txtlb2.Text = "???:"
  682. txtlb2.Font = "Arcade"
  683. txtlb2.TextColor3 = Color3.new(0,0,0)
  684. txtlb2.TextStrokeTransparency = 0
  685. txtlb2.BackgroundTransparency = 1
  686. txtlb2.TextStrokeColor3 = color
  687. txtlb2.TextSize = 40
  688. txtlb2.Size = UDim2.new(1,0,0.25,0)
  689. txtlb2.TextXAlignment = "Left"
  690. txtlb2.Position = UDim2.new(0,0,1,0)
  691. local fvalen = 0.55
  692. local fval = -0.49
  693. coroutine.resume(coroutine.create(function()
  694. while true do
  695. swait()
  696. if chaosmode == true then
  697. txtlb.Rotation = math.random(-1,1)
  698. txtlb2.Rotation = math.random(-1,1)
  699. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  700. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  701. txtlb.TextStrokeColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  702. txtlb2.TextStrokeColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  703. end
  704. end
  705. end))
  706. coroutine.resume(coroutine.create(function()
  707. while true do
  708. swait()
  709. if scrg.Parent ~= nil then
  710. fvalen = fvalen - 0.0001
  711. elseif scrg.Parent == nil then
  712. break
  713. end
  714. end
  715. end))
  716. local flol = 1.75
  717. local flil = 1.6
  718. coroutine.resume(coroutine.create(function()
  719. for i = 0, 9 do
  720. swait()
  721. fval = fval + 0.05
  722. flol = flol - 0.1
  723. flil = flil - 0.1
  724. txtlb.Text = ""
  725. txtlb.Position = UDim2.new(0,0,flol,0)
  726. txtlb2.Position = UDim2.new(0,0,flil,0)
  727. end
  728. txtlb.Text = text
  729. wait(watval)
  730. local valinc = 0
  731. for i = 0, 99 do
  732. swait()
  733. valinc = valinc + 0.0001
  734. flol = flol + valinc
  735. flil = flil + valinc
  736. txtlb.Rotation = txtlb.Rotation + valinc*20
  737. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  738. txtlb.Position = UDim2.new(0,0,flol,0)
  739. txtlb2.Position = UDim2.new(0,0,flil,0)
  740. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  741. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  742. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  743. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  744. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  745. end
  746. scrg:Destroy()
  747. end))
  748. end))
  749. end
  750. end
  751. end
  752.  
  753.  
  754. local Create = LoadLibrary("RbxUtility").Create
  755.  
  756. CFuncs = {
  757. ["Part"] = {
  758. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  759. local Part = Create("Part"){
  760. Parent = Parent,
  761. Reflectance = Reflectance,
  762. Transparency = Transparency,
  763. CanCollide = false,
  764. Locked = true,
  765. BrickColor = BrickColor.new(tostring(BColor)),
  766. Name = Name,
  767. Size = Size,
  768. Material = Material,
  769. }
  770. RemoveOutlines(Part)
  771. return Part
  772. end;
  773. };
  774.  
  775. ["Mesh"] = {
  776. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  777. local Msh = Create(Mesh){
  778. Parent = Part,
  779. Offset = OffSet,
  780. Scale = Scale,
  781. }
  782. if Mesh == "SpecialMesh" then
  783. Msh.MeshType = MeshType
  784. Msh.MeshId = MeshId
  785. end
  786. return Msh
  787. end;
  788. };
  789.  
  790. ["Mesh"] = {
  791. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  792. local Msh = Create(Mesh){
  793. Parent = Part,
  794. Offset = OffSet,
  795. Scale = Scale,
  796. }
  797. if Mesh == "SpecialMesh" then
  798. Msh.MeshType = MeshType
  799. Msh.MeshId = MeshId
  800. end
  801. return Msh
  802. end;
  803. };
  804.  
  805. ["Weld"] = {
  806. Create = function(Parent, Part0, Part1, C0, C1)
  807. local Weld = Create("Weld"){
  808. Parent = Parent,
  809. Part0 = Part0,
  810. Part1 = Part1,
  811. C0 = C0,
  812. C1 = C1,
  813. }
  814. return Weld
  815. end;
  816. };
  817.  
  818. ["Sound"] = {
  819. Create = function(id, par, vol, pit)
  820. coroutine.resume(coroutine.create(function()
  821. local S = Create("Sound"){
  822. Volume = vol,
  823. Name = "EffectSoundo",
  824. Pitch = pit or 1,
  825. SoundId = id,
  826. Parent = par or workspace,
  827. }
  828. wait()
  829. S:play()
  830. game:GetService("Debris"):AddItem(S, 10)
  831. end))
  832. end;
  833. };
  834.  
  835. ["TimeSound"] = {
  836. Create = function(id, par, vol, pit, timepos)
  837. coroutine.resume(coroutine.create(function()
  838. local S = Create("Sound"){
  839. Volume = vol,
  840. Name = "EffectSoundo",
  841. Pitch = pit or 1,
  842. SoundId = id,
  843. TimePosition = timepos,
  844. Parent = par or workspace,
  845. }
  846. wait()
  847. S:play()
  848. game:GetService("Debris"):AddItem(S, 10)
  849. end))
  850. end;
  851. };
  852. ["EchoSound"] = {
  853. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  854. coroutine.resume(coroutine.create(function()
  855. local Sas = Create("Sound"){
  856. Volume = vol,
  857. Name = "EffectSoundo",
  858. Pitch = pit or 1,
  859. SoundId = id,
  860. TimePosition = timepos,
  861. Parent = par or workspace,
  862. }
  863. local E = Create("EchoSoundEffect"){
  864. Delay = echodelay,
  865. Name = "Echo",
  866. Feedback = fedb,
  867. DryLevel = dryl,
  868. Parent = Sas,
  869. }
  870. wait()
  871. Sas:play()
  872. game:GetService("Debris"):AddItem(Sas, delays)
  873. end))
  874. end;
  875. };
  876.  
  877. ["LongSound"] = {
  878. Create = function(id, par, vol, pit)
  879. coroutine.resume(coroutine.create(function()
  880. local S = Create("Sound"){
  881. Volume = vol,
  882. Pitch = pit or 1,
  883. SoundId = id,
  884. Parent = par or workspace,
  885. }
  886. wait()
  887. S:play()
  888. game:GetService("Debris"):AddItem(S, 60)
  889. end))
  890. end;
  891. };
  892.  
  893. ["ParticleEmitter"] = {
  894. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  895. local fp = Create("ParticleEmitter"){
  896. Parent = Parent,
  897. Color = ColorSequence.new(Color1, Color2),
  898. LightEmission = LightEmission,
  899. Size = Size,
  900. Texture = Texture,
  901. Transparency = Transparency,
  902. ZOffset = ZOffset,
  903. Acceleration = Accel,
  904. Drag = Drag,
  905. LockedToPart = LockedToPart,
  906. VelocityInheritance = VelocityInheritance,
  907. EmissionDirection = EmissionDirection,
  908. Enabled = Enabled,
  909. Lifetime = LifeTime,
  910. Rate = Rate,
  911. Rotation = Rotation,
  912. RotSpeed = RotSpeed,
  913. Speed = Speed,
  914. VelocitySpread = VelocitySpread,
  915. }
  916. return fp
  917. end;
  918. };
  919.  
  920. CreateTemplate = {
  921.  
  922. };
  923. }
  924.  
  925.  
  926.  
  927. New = function(Object, Parent, Name, Data)
  928. local Object = Instance.new(Object)
  929. for Index, Value in pairs(Data or {}) do
  930. Object[Index] = Value
  931. end
  932. Object.Parent = Parent
  933. Object.Name = Name
  934. return Object
  935. end
  936. local halocolor = BrickColor.new("Pastel light blue")
  937. local halocolor2 = BrickColor.new("Cool yellow")
  938. local starcolor = BrickColor.new("Bright yellow")
  939. local lunacolor = BrickColor.new("Navy blue")
  940. local lunacolor2 = BrickColor.new("Bright blue")
  941. local wepcolor = BrickColor.new("Really black")
  942. local maincolor = BrickColor.new("Really black")
  943. local m = Instance.new("Model",char)
  944. local m2 = Instance.new("Model",char)
  945. local m3 = Instance.new("Model",char)
  946. local mw1 = Instance.new("Model",char)
  947. local mw2 = Instance.new("Model",char)
  948.  
  949.  
  950. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  951. local gui = it(GuiType)
  952. gui.Parent = parent
  953. gui.Text = text
  954. gui.BackgroundTransparency = backtrans
  955. gui.BackgroundColor3 = backcol
  956. gui.SizeConstraint = "RelativeXY"
  957. gui.TextXAlignment = "Center"
  958. gui.TextYAlignment = "Center"
  959. gui.Position = pos
  960. gui.Size = size
  961. gui.Font = "SourceSans"
  962. gui.FontSize = "Size14"
  963. gui.TextWrapped = false
  964. gui.TextStrokeTransparency = 0
  965. gui.TextColor = BrickColor.new("White")
  966. return gui
  967. end
  968. --------------------------- GUI STUFF
  969.  
  970. local basgui = it("GuiMain")
  971. basgui.Parent = nil
  972. if owner.Name == ""..Player.Name then
  973. basgui.Parent = plr:WaitForChild("PlayerGui")
  974. end
  975. basgui.Name = "VISgui"
  976. local fullscreenz = it("Frame")
  977. fullscreenz.Parent = basgui
  978. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  979. fullscreenz.BackgroundTransparency = 1
  980. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  981. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  982. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  983. local fr = it("Frame",fullscreenz)
  984. fr.Size = UDim2.new(1,0,0.1,0)
  985. fr.BorderColor3 = BrickColor.new("Toothpaste").Color
  986. fr.BackgroundColor3 = BrickColor.new("Mint").Color
  987. fr.BorderSizePixel = 5
  988. fr.Position = UDim2.new(0, 0, 0.925, 0)
  989. fr.BackgroundTransparency = 0.75
  990. local fr2 = fr:Clone()
  991. fr2.Parent = fullscreenz
  992. fr2.BorderColor3 = BrickColor.new("Mint").Color
  993. fr2.BackgroundColor3 = BrickColor.new("Toothpaste").Color
  994. fr2.Position = UDim2.new(0, 0, 0.85, 0)
  995. local midr = fr:Clone()
  996. midr.Parent = fullscreenz
  997. midr.Size = UDim2.new(0,200,0,200)
  998. midr.BorderSizePixel = 10
  999. midr.BackgroundTransparency = 0.5
  1000. midr.Position = UDim2.new(0.5, -100, 1, -100)
  1001. local midr2 = midr:Clone()
  1002. midr2.Parent = fullscreenz
  1003. midr2.Size = UDim2.new(0,100,0,100)
  1004. midr2.BorderSizePixel = 10
  1005. midr2.BackgroundTransparency = 0.2
  1006. midr2.Position = UDim2.new(0.5, -50, 1, -50)
  1007.  
  1008. local glw = Instance.new("ImageLabel",fullscreenz)
  1009. glw.BackgroundTransparency = 1
  1010. glw.BorderSizePixel = 0
  1011. glw.ImageTransparency = 0
  1012. glw.ImageColor3 = BrickColor.new("Toothpaste").Color
  1013. glw.Position = UDim2.new(0.5,-400,1,-400)
  1014. glw.Size = UDim2.new(0,800,0,800)
  1015. glw.Image = "rbxassetid://2344870656"
  1016. local glw2 = glw:Clone()
  1017. glw2.Parent = fullscreenz
  1018. glw2.ImageColor3 = BrickColor.new("Toothpaste").Color
  1019. glw2.Position = UDim2.new(0.5,-150,1,-150)
  1020. glw2.Size = UDim2.new(0,300,0,300)
  1021. glw2.Image = "rbxassetid://172380355"--172380355 2344870656
  1022.  
  1023. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  1024. imgl2.BackgroundTransparency = 1
  1025. imgl2.BorderSizePixel = 0
  1026. imgl2.ImageTransparency = 0
  1027. imgl2.ImageColor3 = BrickColor.new("Mint").Color
  1028. imgl2.Position = UDim2.new(1,-400,1,-400)
  1029. imgl2.Size = UDim2.new(0,800,0,800)
  1030. imgl2.Image = "rbxassetid://172380355"
  1031. local techc = imgl2:Clone()
  1032. techc.Parent = fullscreenz
  1033. techc.ImageTransparency = 0
  1034. techc.Size = UDim2.new(0,400,0,400)
  1035. techc.Position = UDim2.new(1,-200,1,-200)
  1036. techc.ImageColor3 = BrickColor.new("Mint").Color
  1037. techc.Image = "rbxassetid://2312128106"
  1038. local techc2 = imgl2:Clone()
  1039. techc2.Parent = fullscreenz
  1040. techc2.ImageTransparency = 0
  1041. techc2.Size = UDim2.new(0,900,0,900)
  1042. techc2.Position = UDim2.new(1,-450,1,-450)
  1043. techc2.ImageColor3 = BrickColor.new("Toothpaste").Color
  1044. techc2.Image = "rbxassetid://2344830904"
  1045. local circl = imgl2:Clone()
  1046. circl.Parent = fullscreenz
  1047. circl.ImageTransparency = 0
  1048. circl.Size = UDim2.new(0,450,0,450)
  1049. circl.Position = UDim2.new(1,-225,1,-225)
  1050. circl.ImageColor3 = BrickColor.new("Toothpaste").Color
  1051. circl.Image = "rbxassetid://2109045978"
  1052. local circl2 = imgl2:Clone()
  1053. circl2.Parent = fullscreenz
  1054. circl2.ImageTransparency = 0
  1055. circl2.Size = UDim2.new(0,600,0,600)
  1056. circl2.Position = UDim2.new(1,-300,1,-300)
  1057. circl2.ImageColor3 = BrickColor.new("Mint").Color
  1058. circl2.Image = "rbxassetid://2312119891"
  1059. local imgl2b = imgl2:Clone()
  1060. imgl2b.Parent = fullscreenz
  1061. imgl2b.ImageTransparency = 0
  1062. imgl2b.ImageColor3 = BrickColor.new("White").Color
  1063. imgl2b.Image = "rbxassetid://2344870656"
  1064. local ned = Instance.new("TextLabel",fullscreenz)
  1065. ned.ZIndex = 2
  1066. ned.Font = "Arcade"
  1067. ned.BackgroundTransparency = 1
  1068. ned.BorderSizePixel = 0.65
  1069. ned.Size = UDim2.new(0.3,0,0.2,0)
  1070. ned.Position = UDim2.new(0.7,0,0.8,0)
  1071. ned.TextColor3 = BrickColor.new("Mint").Color
  1072. ned.TextStrokeColor3 = BrickColor.new("Toothpaste").Color
  1073. ned.TextScaled = true
  1074. ned.TextStrokeTransparency = 0
  1075. ned.Text = "EXQUISITE"
  1076. ned.TextSize = 24
  1077. ned.Rotation = 1
  1078. ned.TextXAlignment = "Right"
  1079. ned.TextYAlignment = "Bottom"
  1080. local nedx = Instance.new("TextLabel",fullscreenz)
  1081. nedx.ZIndex = 2
  1082. nedx.Font = "SciFi"
  1083. nedx.BackgroundTransparency = 1
  1084. nedx.BorderSizePixel = 0.65
  1085. nedx.Size = UDim2.new(0.25,0,0.1,0)
  1086. nedx.Position = UDim2.new(0.0025,0,0.875,0)
  1087. nedx.TextColor3 = BrickColor.new("Mint").Color
  1088. nedx.TextStrokeColor3 = BrickColor.new("Toothpaste").Color
  1089. nedx.TextScaled = true
  1090. nedx.TextStrokeTransparency = 0
  1091. nedx.Text = "Damage: Enabled"
  1092. nedx.TextSize = 24
  1093. nedx.Rotation = 5
  1094. nedx.TextXAlignment = "Center"
  1095. nedx.TextYAlignment = "Bottom"
  1096.  
  1097. local nedm = nedx:Clone()
  1098. nedm.Parent = fullscreenz
  1099. nedm.Position = UDim2.new(0.0025,0,0.775,0)
  1100. nedm.Text = "MODETYPES: UNIVERSAL"
  1101.  
  1102. local sngy = Instance.new("TextLabel",fullscreenz)
  1103. sngy.ZIndex = 2
  1104. sngy.Font = "Arcade"
  1105. sngy.BackgroundTransparency = 1
  1106. sngy.BorderSizePixel = 0.65
  1107. sngy.Size = UDim2.new(0.35,0,0.2,0)
  1108. sngy.Position = UDim2.new(0.325,0,0.8,0)
  1109. sngy.TextColor3 = BrickColor.new("Mint").Color
  1110. sngy.TextStrokeColor3 = BrickColor.new("Toothpaste").Color
  1111. sngy.TextScaled = true
  1112. sngy.TextStrokeTransparency = 0
  1113. sngy.Text = string.upper("Camellia - Insecticide")
  1114. sngy.TextSize = 24
  1115. sngy.Rotation = 0
  1116. sngy.TextXAlignment = "Center"
  1117. sngy.TextYAlignment = "Bottom"
  1118.  
  1119.  
  1120.  
  1121. local extrawingmod1 = Instance.new("Model",char)
  1122. local extrawingmod2 = Instance.new("Model",char)
  1123.  
  1124. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  1125. local p = Instance.new("Part")
  1126. p.TopSurface = 0
  1127. p.BottomSurface = 0
  1128. p.Parent = parent
  1129. p.Size = Vector3.new(0.1,0.1,0.1)
  1130. p.Transparency = transparency
  1131. p.Reflectance = reflectance
  1132. p.CanCollide = false
  1133. p.Locked = true
  1134. p.BrickColor = brickcolor
  1135. p.Material = material
  1136. return p
  1137. end
  1138.  
  1139. function CreateMesh(parent,meshtype,x1,y1,z1)
  1140. local mesh = Instance.new("SpecialMesh",parent)
  1141. mesh.MeshType = meshtype
  1142. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  1143. return mesh
  1144. end
  1145.  
  1146. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  1147. local mesh = Instance.new("SpecialMesh",parent)
  1148. mesh.MeshType = "FileMesh"
  1149. mesh.MeshId = meshid
  1150. mesh.Scale = Vector3.new(x1,y1,z1)
  1151. return mesh
  1152. end
  1153.  
  1154.  
  1155. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  1156. local mesh = Instance.new("SpecialMesh",parent)
  1157. mesh.MeshType = "FileMesh"
  1158. mesh.MeshId = meshid
  1159. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  1160. mesh.Scale = Vector3.new(x1,y1,z1)
  1161. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  1162. return mesh
  1163. end
  1164.  
  1165. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  1166. local weld = Instance.new("Weld")
  1167. weld.Parent = parent
  1168. weld.Part0 = part0
  1169. weld.Part1 = part1
  1170. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  1171. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  1172. return weld
  1173. end
  1174.  
  1175.  
  1176. --------------
  1177. -------------- ground effect
  1178. local cen = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1179. CreateWeld(cen,root,cen,0,3,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1180. local effar = Instance.new("ParticleEmitter",cen)
  1181. effar.Texture = "rbxassetid://2344870656"
  1182. effar.LightEmission = 1
  1183. effar.Color = ColorSequence.new(Color3.new(1,0,0))
  1184. effar.Rate = 50
  1185. effar.Enabled = false
  1186. effar.EmissionDirection = "Front"
  1187. effar.Lifetime = NumberRange.new(1)
  1188. effar.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,40,0)})
  1189. effar.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1190. effar.Speed = NumberRange.new(80,90)
  1191. effar.Acceleration = Vector3.new(0,10,0)
  1192. effar.Drag = 5
  1193. effar.Rotation = NumberRange.new(-500,500)
  1194. effar.SpreadAngle = Vector2.new(0,900)
  1195. effar.RotSpeed = NumberRange.new(-500,500)
  1196.  
  1197. ----
  1198. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1199. CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1200. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1201. CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1202.  
  1203. local handlex = CreateParta(mw1,1,1,"Neon",maincolor)
  1204. CreateMesh(handlex,"Brick",0,0,0)
  1205. local handlexweld = CreateWeld(handlex,tors,handlex,0,-3.75,-1.25,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1206.  
  1207. local effc = Instance.new("ParticleEmitter",handlex)
  1208. effc.Texture = "rbxassetid://2344870656"
  1209. effc.LightEmission = 1
  1210. effc.Color = ColorSequence.new(Color3.new(1,0,0))
  1211. effc.Rate = 50
  1212. effc.Lifetime = NumberRange.new(1)
  1213. effc.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,2,0),NumberSequenceKeypoint.new(0.8,3,0),NumberSequenceKeypoint.new(1,0,0)})
  1214. effc.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1215. effc.Speed = NumberRange.new(0,1)
  1216. effc.Drag = 5
  1217. effc.LockedToPart = true
  1218. effc.Rotation = NumberRange.new(-500,500)
  1219. effc.SpreadAngle = Vector2.new(0,900)
  1220. effc.RotSpeed = NumberRange.new(-500,500)
  1221.  
  1222. local handler = CreateParta(mw2,1,1,"Neon",maincolor)
  1223. CreateMesh(handler,"Brick",0,0,0)
  1224. local rotweld = CreateWeld(handler,handlex,handler,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1225. local valuaring = 10
  1226. local ae = script.Ring:Clone()
  1227. ae.Parent = mw1
  1228. ae.Anchored = false
  1229. CreateWeld(ae,handlex,ae,0,0,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1230. local ae = script.Outshard:Clone()
  1231. ae.Parent = mw2
  1232. ae.Anchored = false
  1233. CreateWeld(ae,handler,ae,0,0,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1234. local ae = script.Diamond:Clone()
  1235. ae.Parent = mw2
  1236. ae.Anchored = false
  1237. CreateWeld(ae,handler,ae,0,0,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1238.  
  1239. local handle = CreateParta(m,1,1,"Neon",maincolor)
  1240. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1241. local handleweld = CreateWeld(handle,handlex,handle,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1242.  
  1243. --- Left wing.
  1244.  
  1245. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1246. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1247. local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1248.  
  1249. local ae = script.Shard:Clone()
  1250. ae.Parent = mw1
  1251. ae.Anchored = false
  1252. CreateWeld(ae,lwing1,ae,0,0,-1.75,math.rad(0),math.rad(90),math.rad(-90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1253.  
  1254. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1255. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1256. local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1257.  
  1258. local ae = script.Shard:Clone()
  1259. ae.Parent = mw1
  1260. ae.Anchored = false
  1261. CreateWeld(ae,lwing2,ae,0,0,-1.75,math.rad(0),math.rad(90),math.rad(-90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1262.  
  1263. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1264. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1265. local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1266.  
  1267. local ae = script.Shard:Clone()
  1268. ae.Parent = mw1
  1269. ae.Anchored = false
  1270. CreateWeld(ae,lwing3,ae,0,0,-1.75,math.rad(0),math.rad(90),math.rad(-90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1271.  
  1272. -- Right wing.
  1273.  
  1274. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1275. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1276. local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1277.  
  1278. local ae = script.Shard:Clone()
  1279. ae.Parent = mw2
  1280. ae.Anchored = false
  1281. CreateWeld(ae,rwing1,ae,0,0,-1.75,math.rad(0),math.rad(90),math.rad(-90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1282.  
  1283. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1284. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1285. local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1286.  
  1287. local ae = script.Shard:Clone()
  1288. ae.Parent = mw2
  1289. ae.Anchored = false
  1290. CreateWeld(ae,rwing2,ae,0,0,-1.75,math.rad(0),math.rad(90),math.rad(-90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1291.  
  1292. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1293. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1294. local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1295.  
  1296. local ae = script.Shard:Clone()
  1297. ae.Parent = mw2
  1298. ae.Anchored = false
  1299. CreateWeld(ae,rwing3,ae,0,0,-1.75,math.rad(0),math.rad(90),math.rad(-90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1300.  
  1301.  
  1302. ---- HERES THE RING
  1303.  
  1304.  
  1305. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1306. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1307. CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1308. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1309. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1310. CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1311. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1312. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1313. CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1314.  
  1315.  
  1316. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1317. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1318. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1319.  
  1320. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1321. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1322. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1323.  
  1324.  
  1325.  
  1326. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1327. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1328. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1329.  
  1330. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1331. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1332. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1333.  
  1334. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1335. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1336. CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1337.  
  1338. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1339. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1340. CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1341. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1342. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1343. CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1344.  
  1345. --- second ring
  1346.  
  1347. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1348. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1349. CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1350. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1351. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1352. CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1353. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1354. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1355. CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1356.  
  1357. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1358. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1359. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1360.  
  1361. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1362. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1363. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1364.  
  1365.  
  1366.  
  1367. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1368. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1369. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1370.  
  1371. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1372. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1373. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1374.  
  1375. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1376. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1377. CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1378.  
  1379. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1380. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1381. CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1382. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1383. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1384. --CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  1385.  
  1386. -- no problem nooby.
  1387.  
  1388. script.Shard.Transparency = 1
  1389.  
  1390. local MRCL = BrickColor.new("Toothpaste")
  1391. local MRCL2 = BrickColor.new("Mint")
  1392. for i, v in pairs(mw2:GetDescendants()) do
  1393. if v:IsA("Part") or v:IsA("UnionOperation") then
  1394. v.Color = MRCL.Color
  1395. v.Material = "Neon"
  1396. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  1397. v.Color = ColorSequence.new(MRCL.Color)
  1398. end
  1399. end
  1400. for i, v in pairs(mw1:GetDescendants()) do
  1401. if v:IsA("Part") or v:IsA("UnionOperation") then
  1402. v.Color = MRCL2.Color
  1403. v.Material = "Neon"
  1404. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  1405. v.Color = ColorSequence.new(MRCL2.Color)
  1406. end
  1407. end
  1408. ------
  1409.  
  1410.  
  1411. function RemoveOutlines(part)
  1412. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1413. end
  1414. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1415. local Part = Create("Part")({
  1416. Parent = Parent,
  1417. Reflectance = Reflectance,
  1418. Transparency = Transparency,
  1419. CanCollide = false,
  1420. Locked = true,
  1421. BrickColor = BrickColor.new(tostring(BColor)),
  1422. Name = Name,
  1423. Size = Size,
  1424. Material = Material
  1425. })
  1426. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1427. RemoveOutlines(Part)
  1428. return Part
  1429. end
  1430. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1431. local Msh = Create(Mesh)({
  1432. Parent = Part,
  1433. Offset = OffSet,
  1434. Scale = Scale
  1435. })
  1436. if Mesh == "SpecialMesh" then
  1437. Msh.MeshType = MeshType
  1438. Msh.MeshId = MeshId
  1439. end
  1440. return Msh
  1441. end
  1442. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1443. local Weld = Create("Weld")({
  1444. Parent = Parent,
  1445. Part0 = Part0,
  1446. Part1 = Part1,
  1447. C0 = C0,
  1448. C1 = C1
  1449. })
  1450. return Weld
  1451. end
  1452.  
  1453. Character=Player.Character
  1454. Torso=Character.Torso
  1455. Head=Character.Head
  1456. Humanoid=Character:FindFirstChildOfClass("Humanoid")
  1457. m=Instance.new('Model',Character)
  1458. LeftArm=Character["Left Arm"]
  1459. LeftLeg=Character["Left Leg"]
  1460. RightArm=Character["Right Arm"]
  1461. RightLeg=Character["Right Leg"]
  1462.  
  1463. Face = Head.face
  1464. Neck=Torso.Neck
  1465. it=Instance.new
  1466. attacktype=1
  1467. vt=Vector3.new
  1468. cf=CFrame.new
  1469. euler=CFrame.fromEulerAnglesXYZ
  1470. angles=CFrame.Angles
  1471. cloaked=false
  1472. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1473. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1474. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1475. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1476. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1477. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1478. RootPart=Character.HumanoidRootPart
  1479. RootJoint=RootPart.RootJoint
  1480. RootCF=euler(-1.57,0,3.14)
  1481. attack = false
  1482. attackdebounce = false
  1483. deb=false
  1484. equipped=true
  1485. hand=false
  1486. MMouse=nil
  1487. combo=0
  1488. mana=0
  1489. trispeed=.2
  1490. attackmode='none'
  1491. local idle=0
  1492. local Anim="Idle"
  1493. local Effects={}
  1494. local gun=false
  1495. local shoot=false
  1496. local sine = 0
  1497. local change = 1
  1498.  
  1499. function RecolorTextAndRename(name,col1,col2,font,sngname)
  1500. modet.TextStrokeColor3 = col2
  1501. modet.TextColor3 = col1
  1502. modet.Font = font
  1503. modet.Text = name
  1504. techc.ImageColor3 = col1
  1505. circl.ImageColor3 = col2
  1506. circl2.ImageColor3 = col1
  1507. imgl2.ImageColor3 = col2
  1508. techc2.ImageColor3 = col2
  1509. ned.Text = name
  1510. ned.TextColor3 = col1
  1511. ned.TextStrokeColor3 = col2
  1512. nedx.TextColor3 = col1
  1513. nedx.TextStrokeColor3 = col2
  1514. nedm.TextColor3 = col1
  1515. nedm.TextStrokeColor3 = col2
  1516. sngy.Text = string.upper(sngname)
  1517. sngy.TextColor3 = col1
  1518. sngy.TextStrokeColor3 = col2
  1519. fr.BorderColor3 = col1
  1520. fr.BackgroundColor3 = col2
  1521. fr2.BorderColor3 = col2
  1522. fr2.BackgroundColor3 = col1
  1523. midr.BorderColor3 = col1
  1524. midr.BackgroundColor3 = col2
  1525. midr2.BorderColor3 = col1
  1526. midr2.BackgroundColor3 = col2
  1527. glw.ImageColor3 = col1
  1528. glw2.ImageColor3 = col1
  1529. end
  1530.  
  1531. local disably = true
  1532.  
  1533. function warnedpeople(text,represfont,color,color2)
  1534. if disably ~= true then
  1535. CFuncs["Sound"].Create("rbxassetid://534859368", char, 2.5,1)
  1536. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  1537. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1538. coroutine.resume(coroutine.create(function()
  1539. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  1540. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  1541. end
  1542. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1543. scrg.Name = "Spinny"
  1544. local frm = Instance.new("Frame",scrg)
  1545. frm.BackgroundTransparency = 0.25
  1546. frm.BackgroundColor3 = color
  1547. frm.BorderSizePixel = 0
  1548. frm.Rotation = 45
  1549. frm.Size = UDim2.new(3,0,0,100)
  1550. frm.Position = UDim2.new(-4,0,0,0)
  1551. local frm2 = frm:Clone()
  1552. frm2.Parent = scrg
  1553. frm2.BackgroundColor3 = color2
  1554. frm2.Position = UDim2.new(-4.05,0,0,0)
  1555. local imlb = Instance.new("ImageLabel",scrg)
  1556. imlb.BackgroundTransparency = 1
  1557. imlb.BackgroundColor3 = Color3.new(0,0,0)
  1558. imlb.Image = "rbxassetid://2344851144"
  1559. imlb.Size = UDim2.new(0,750,0,750)
  1560. imlb.ImageColor3 = color2
  1561. imlb.ImageTransparency = 0.25
  1562. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  1563. local imlb2 = imlb:Clone()
  1564. imlb2.Image = "rbxassetid://2325939897"
  1565. imlb2.Size = UDim2.new(1,0,1,0)
  1566. imlb2.ImageColor3 = color
  1567. imlb2.ImageTransparency = 0
  1568. imlb2.Position = UDim2.new(0,0,0,0)
  1569. local imlb3 = imlb:Clone()
  1570. imlb3.Image = "rbxassetid://2344830904"
  1571. imlb3.Size = UDim2.new(1,0,1,0)
  1572. imlb3.ImageColor3 = color2
  1573. imlb3.ImageTransparency = 0
  1574. imlb3.Position = UDim2.new(0,0,0,0)
  1575. local imlb4 = imlb:Clone()
  1576. imlb4.Image = "rbxassetid://2344870656"
  1577. imlb4.Size = UDim2.new(3,0,3,0)
  1578. imlb4.ImageColor3 = Color3.new(1,1,1)
  1579. imlb4.ImageTransparency = 0
  1580. imlb4.Position = UDim2.new(-1,0,-1,0)
  1581. local imlb5 = imlb:Clone()
  1582. imlb5.Image = "rbxassetid://2344870656"
  1583. imlb5.Size = UDim2.new(10,0,10,0)
  1584. imlb5.ImageColor3 = color2
  1585. imlb5.ImageTransparency = 0
  1586. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  1587. imlb2.Parent = imlb
  1588. imlb3.Parent = imlb
  1589. imlb4.Parent = imlb
  1590. imlb5.Parent = imlb
  1591. local txtlb2 = Instance.new("TextLabel",imlb)
  1592. txtlb2.Text = text
  1593. txtlb2.Font = represfont
  1594. txtlb2.TextColor3 = color
  1595. txtlb2.TextStrokeTransparency = 0
  1596. txtlb2.BackgroundTransparency = 1
  1597. txtlb2.TextStrokeColor3 = color2
  1598. txtlb2.TextScaled = true
  1599. txtlb2.Size = UDim2.new(1,0,1,0)
  1600. txtlb2.Position = UDim2.new(0,0,0,0)
  1601. local fvalen = 0.55
  1602. local fval = -0.49
  1603. coroutine.resume(coroutine.create(function()
  1604. while true do
  1605. swait()
  1606. if chaosmode == true then
  1607. txtlb2.Rotation = math.random(-1,1)
  1608. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1609. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1610. imlb.ImageColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  1611. txtlb2.TextStrokeColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  1612. end
  1613. end
  1614. end))
  1615. coroutine.resume(coroutine.create(function()
  1616. while true do
  1617. swait()
  1618. if scrg.Parent ~= nil then
  1619. fvalen = fvalen - 0.0001
  1620. elseif scrg.Parent == nil then
  1621. break
  1622. end
  1623. end
  1624. end))
  1625. local flol = -5
  1626. local flil = 1.6
  1627. coroutine.resume(coroutine.create(function()
  1628. for i = 0, 49 do
  1629. swait()
  1630. flol = flol + 0.125
  1631. flil = flil - 0.1
  1632. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  1633. frm.Rotation = frm.Rotation - 0.25
  1634. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  1635. frm2.Rotation = frm.Rotation + 0.325
  1636. imlb3.Rotation = imlb3.Rotation - 10
  1637. imlb2.Rotation = imlb.Rotation + 7.5
  1638. imlb.Rotation = imlb.Rotation + 5
  1639. txtlb2.Rotation = txtlb2.Rotation - 5.125
  1640. imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  1641. end
  1642. for i = 0, 99 do
  1643. swait()
  1644. fval = fval + 0.05
  1645. flol = flol + 0.005
  1646. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  1647. frm.Rotation = frm.Rotation - 0.075
  1648. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  1649. frm2.Rotation = frm2.Rotation + 0.125
  1650. imlb3.Rotation = imlb3.Rotation - 2
  1651. imlb2.Rotation = imlb.Rotation + 1.5
  1652. imlb.Rotation = imlb.Rotation + 1
  1653. txtlb2.Rotation = txtlb2.Rotation - 1.125
  1654. imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  1655. end
  1656. local valinc = 0
  1657. local vinc2 = 1
  1658. for i = 0, 99 do
  1659. swait()
  1660. vinc2 = vinc2 + 0.25
  1661. valinc = valinc + 0.0001
  1662. flol = flol + valinc
  1663. flil = flil + valinc
  1664. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  1665. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  1666. imlb.Rotation = imlb.Rotation + 1*vinc2
  1667. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  1668. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  1669. frm.Rotation = frm.Rotation + 0.1*vinc2
  1670. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  1671. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  1672. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  1673. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  1674. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  1675. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  1676. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  1677. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  1678. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  1679. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  1680. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  1681. end
  1682. scrg:Destroy()
  1683. end))
  1684. end))
  1685. end
  1686. end
  1687. end
  1688.  
  1689. --save shoulders
  1690. RSH, LSH=nil, nil
  1691. --welds
  1692. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1693. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1694. LH=Torso["Left Hip"]
  1695. RH=Torso["Right Hip"]
  1696. TorsoColor=Torso.BrickColor
  1697. function NoOutline(Part)
  1698. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1699. end
  1700. ch=Character
  1701. RSH=ch.Torso["Right Shoulder"]
  1702. LSH=ch.Torso["Left Shoulder"]
  1703. --
  1704. RSH.Parent=nil
  1705. LSH.Parent=nil
  1706. --
  1707. RW.Name="Right Shoulder"
  1708. RW.Part0=ch.Torso
  1709. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1710. RW.C1=cf(0, 0.5, 0)
  1711. RW.Part1=ch["Right Arm"]
  1712. RW.Parent=ch.Torso
  1713. --
  1714. LW.Name="Left Shoulder"
  1715. LW.Part0=ch.Torso
  1716. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1717. LW.C1=cf(0, 0.5, 0)
  1718. LW.Part1=ch["Left Arm"]
  1719. LW.Parent=ch.Torso
  1720.  
  1721. local Stats=Instance.new("BoolValue")
  1722. Stats.Name="Stats"
  1723. Stats.Parent=Character
  1724. local Atk=Instance.new("NumberValue")
  1725. Atk.Name="Damage"
  1726. Atk.Parent=Stats
  1727. Atk.Value=1
  1728. local Def=Instance.new("NumberValue")
  1729. Def.Name="Defense"
  1730. Def.Parent=Stats
  1731. Def.Value=1
  1732. local Speed=Instance.new("NumberValue")
  1733. Speed.Name="Speed"
  1734. Speed.Parent=Stats
  1735. Speed.Value=1
  1736. local Mvmt=Instance.new("NumberValue")
  1737. Mvmt.Name="Movement"
  1738. Mvmt.Parent=Stats
  1739. Mvmt.Value=1
  1740.  
  1741. local donum=0
  1742.  
  1743.  
  1744. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1745. local fp=it("Part")
  1746. fp.formFactor=formfactor
  1747. fp.Parent=parent
  1748. fp.Reflectance=reflectance
  1749. fp.Transparency=transparency
  1750. fp.CanCollide=false
  1751. fp.Locked=true
  1752. fp.BrickColor=brickcolor
  1753. fp.Name=name
  1754. fp.Size=size
  1755. fp.Position=Torso.Position
  1756. NoOutline(fp)
  1757. fp.Material="SmoothPlastic"
  1758. fp:BreakJoints()
  1759. return fp
  1760. end
  1761.  
  1762. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1763. local mesh=it(Mesh)
  1764. mesh.Parent=part
  1765. if Mesh=="SpecialMesh" then
  1766. mesh.MeshType=meshtype
  1767. if meshid~="nil" then
  1768. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1769. end
  1770. end
  1771. mesh.Offset=offset
  1772. mesh.Scale=scale
  1773. return mesh
  1774. end
  1775.  
  1776. function weld(parent,part0,part1,c0)
  1777. local weld=it("Weld")
  1778. weld.Parent=parent
  1779. weld.Part0=part0
  1780. weld.Part1=part1
  1781. weld.C0=c0
  1782. return weld
  1783. end
  1784.  
  1785. local Color1=Torso.BrickColor
  1786.  
  1787. local bodvel=Instance.new("BodyVelocity")
  1788. local bg=Instance.new("BodyGyro")
  1789.  
  1790. --------- SazEreno's Artificial HB --------------
  1791. ArtificialHB = Instance.new("BindableEvent", script)
  1792. ArtificialHB.Name = "ArtificialHB"
  1793.  
  1794. script:WaitForChild("ArtificialHB")
  1795. Frame_Speed = 1 / 60
  1796. frame = Frame_Speed
  1797. tf = 0
  1798. allowframeloss = false
  1799. tossremainder = false
  1800. lastframe = tick()
  1801. script.ArtificialHB:Fire()
  1802.  
  1803. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1804. tf = tf + s
  1805. if tf >= frame then
  1806. if allowframeloss then
  1807. script.ArtificialHB:Fire()
  1808. lastframe = tick()
  1809. else
  1810. for i = 1, math.floor(tf / frame) do
  1811. script.ArtificialHB:Fire()
  1812. end
  1813. lastframe = tick()
  1814. end
  1815. if tossremainder then
  1816. tf = 0
  1817. else
  1818. tf = tf - frame * math.floor(tf / frame)
  1819. end
  1820. end
  1821. end)
  1822.  
  1823. ------------------
  1824. function swait(num)
  1825. if num == 0 or num == nil then
  1826. ArtificialHB.Event:wait()
  1827. else
  1828. for i = 1, num do
  1829. ArtificialHB.Event:wait()
  1830. end
  1831. end
  1832. end
  1833. -------- RAINBOW LEAVE IT TO ME
  1834. local r = 255
  1835. local g = 0
  1836. local b = 0
  1837. coroutine.resume(coroutine.create(function()
  1838. while wait() do
  1839. for i = 0, 254/5 do
  1840. swait()
  1841. g = g + 5
  1842. end
  1843. for i = 0, 254/5 do
  1844. swait()
  1845. r = r - 5
  1846. end
  1847. for i = 0, 254/5 do
  1848. swait()
  1849. b = b + 5
  1850. end
  1851. for i = 0, 254/5 do
  1852. swait()
  1853. g = g - 5
  1854. end
  1855. for i = 0, 254/5 do
  1856. swait()
  1857. r = r + 5
  1858. end
  1859. for i = 0, 254/5 do
  1860. swait()
  1861. b = b - 5
  1862. end
  1863. end
  1864. end))
  1865.  
  1866.  
  1867. so = function(id,par,vol,pit)
  1868. coroutine.resume(coroutine.create(function()
  1869. local sou = Instance.new("Sound",par or workspace)
  1870. sou.Volume=vol
  1871. sou.Pitch=pit or 1
  1872. sou.SoundId=id
  1873. swait()
  1874. sou:play()
  1875. game:GetService("Debris"):AddItem(sou,6)
  1876. end))
  1877. end
  1878.  
  1879. function clerp(a,b,t)
  1880. local qa = {QuaternionFromCFrame(a)}
  1881. local qb = {QuaternionFromCFrame(b)}
  1882. local ax, ay, az = a.x, a.y, a.z
  1883. local bx, by, bz = b.x, b.y, b.z
  1884. local _t = 1-t
  1885. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1886. end
  1887.  
  1888. function QuaternionFromCFrame(cf)
  1889. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1890. local trace = m00 + m11 + m22
  1891. if trace > 0 then
  1892. local s = math.sqrt(1 + trace)
  1893. local recip = 0.5/s
  1894. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1895. else
  1896. local i = 0
  1897. if m11 > m00 then
  1898. i = 1
  1899. end
  1900. if m22 > (i == 0 and m00 or m11) then
  1901. i = 2
  1902. end
  1903. if i == 0 then
  1904. local s = math.sqrt(m00-m11-m22+1)
  1905. local recip = 0.5/s
  1906. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1907. elseif i == 1 then
  1908. local s = math.sqrt(m11-m22-m00+1)
  1909. local recip = 0.5/s
  1910. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1911. elseif i == 2 then
  1912. local s = math.sqrt(m22-m00-m11+1)
  1913. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1914. end
  1915. end
  1916. end
  1917.  
  1918. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1919. local xs, ys, zs = x + x, y + y, z + z
  1920. local wx, wy, wz = w*xs, w*ys, w*zs
  1921. local xx = x*xs
  1922. local xy = x*ys
  1923. local xz = x*zs
  1924. local yy = y*ys
  1925. local yz = y*zs
  1926. local zz = z*zs
  1927. 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))
  1928. end
  1929.  
  1930. function QuaternionSlerp(a, b, t)
  1931. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1932. local startInterp, finishInterp;
  1933. if cosTheta >= 0.0001 then
  1934. if (1 - cosTheta) > 0.0001 then
  1935. local theta = math.acos(cosTheta)
  1936. local invSinTheta = 1/math.sin(theta)
  1937. startInterp = math.sin((1-t)*theta)*invSinTheta
  1938. finishInterp = math.sin(t*theta)*invSinTheta
  1939. else
  1940. startInterp = 1-t
  1941. finishInterp = t
  1942. end
  1943. else
  1944. if (1+cosTheta) > 0.0001 then
  1945. local theta = math.acos(-cosTheta)
  1946. local invSinTheta = 1/math.sin(theta)
  1947. startInterp = math.sin((t-1)*theta)*invSinTheta
  1948. finishInterp = math.sin(t*theta)*invSinTheta
  1949. else
  1950. startInterp = t-1
  1951. finishInterp = t
  1952. end
  1953. end
  1954. 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
  1955. end
  1956.  
  1957. local function CFrameFromTopBack(at, top, back)
  1958. local right = top:Cross(back)
  1959. return CFrame.new(at.x, at.y, at.z,
  1960. right.x, top.x, back.x,
  1961. right.y, top.y, back.y,
  1962. right.z, top.z, back.z)
  1963. end
  1964.  
  1965. function Triangle(a, b, c)
  1966. local edg1 = (c-a):Dot((b-a).unit)
  1967. local edg2 = (a-b):Dot((c-b).unit)
  1968. local edg3 = (b-c):Dot((a-c).unit)
  1969. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1970. a, b, c = a, b, c
  1971. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1972. a, b, c = b, c, a
  1973. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1974. a, b, c = c, a, b
  1975. else
  1976. assert(false, "unreachable")
  1977. end
  1978.  
  1979. local len1 = (c-a):Dot((b-a).unit)
  1980. local len2 = (b-a).magnitude - len1
  1981. local width = (a + (b-a).unit*len1 - c).magnitude
  1982.  
  1983. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1984.  
  1985. local list = {}
  1986.  
  1987. if len1 > 0.01 then
  1988. local w1 = Instance.new('WedgePart', m)
  1989. game:GetService("Debris"):AddItem(w1,5)
  1990. w1.Material = "SmoothPlastic"
  1991. w1.FormFactor = 'Custom'
  1992. w1.BrickColor = BrickColor.new("Really red")
  1993. w1.Transparency = 0
  1994. w1.Reflectance = 0
  1995. w1.Material = "SmoothPlastic"
  1996. w1.CanCollide = false
  1997. local l1 = Instance.new("PointLight",w1)
  1998. l1.Color = Color3.new(170,0,0)
  1999. NoOutline(w1)
  2000. local sz = Vector3.new(0.2, width, len1)
  2001. w1.Size = sz
  2002. local sp = Instance.new("SpecialMesh",w1)
  2003. sp.MeshType = "Wedge"
  2004. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  2005. w1:BreakJoints()
  2006. w1.Anchored = true
  2007. w1.Parent = workspace
  2008. w1.Transparency = 0.7
  2009. table.insert(Effects,{w1,"Disappear",.01})
  2010. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  2011. table.insert(list,w1)
  2012. end
  2013.  
  2014. if len2 > 0.01 then
  2015. local w2 = Instance.new('WedgePart', m)
  2016. game:GetService("Debris"):AddItem(w2,5)
  2017. w2.Material = "SmoothPlastic"
  2018. w2.FormFactor = 'Custom'
  2019. w2.BrickColor = BrickColor.new("Really red")
  2020. w2.Transparency = 0
  2021. w2.Reflectance = 0
  2022. w2.Material = "SmoothPlastic"
  2023. w2.CanCollide = false
  2024. local l2 = Instance.new("PointLight",w2)
  2025. l2.Color = Color3.new(170,0,0)
  2026. NoOutline(w2)
  2027. local sz = Vector3.new(0.2, width, len2)
  2028. w2.Size = sz
  2029. local sp = Instance.new("SpecialMesh",w2)
  2030. sp.MeshType = "Wedge"
  2031. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  2032. w2:BreakJoints()
  2033. w2.Anchored = true
  2034. w2.Parent = workspace
  2035. w2.Transparency = 0.7
  2036. table.insert(Effects,{w2,"Disappear",.01})
  2037. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  2038. table.insert(list,w2)
  2039. end
  2040. return unpack(list)
  2041. end
  2042.  
  2043.  
  2044. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2045. if hit.Parent == nil then
  2046. return
  2047. end
  2048. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  2049. for _, v in pairs(hit.Parent:children()) do
  2050. if v:IsA("Humanoid") then
  2051. h = v
  2052. end
  2053. end
  2054. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  2055. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  2056. return
  2057. end
  2058. local c = Create("ObjectValue")({
  2059. Name = "creator",
  2060. Value = owner,
  2061. Parent = h
  2062. })
  2063. game:GetService("Debris"):AddItem(c, 0.5)
  2064. if HitSound ~= nil and HitPitch ~= nil then
  2065. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2066. end
  2067. local Damage = math.random(minim, maxim)
  2068. local blocked = false
  2069. local block = hit.Parent:findFirstChild("Block")
  2070. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  2071. blocked = true
  2072. block.Value = block.Value - 1
  2073. print(block.Value)
  2074. end
  2075. if blocked == false then
  2076. HitHealth = h.Health
  2077. h.MaxHealth = 100
  2078. if enableddam == true then
  2079. h.Health = h.Health - Damage
  2080. end
  2081. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  2082. print("gained kill")
  2083. dmg(h.Parent)
  2084. end
  2085. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2086. else
  2087. h.Health = h.Health - Damage / 2
  2088. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2089. end
  2090. if Type == "Knockdown" then
  2091. local hum = hit.Parent.Humanoid
  2092. hum.PlatformStand = true
  2093. coroutine.resume(coroutine.create(function(HHumanoid)
  2094. swait(1)
  2095. HHumanoid.PlatformStand = false
  2096. end), hum)
  2097. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2098. local bodvol = Create("BodyVelocity")({
  2099. velocity = angle * knockback,
  2100. P = 5000,
  2101. maxForce = Vector3.new(8000, 8000, 8000),
  2102. Parent = hit
  2103. })
  2104. local rl = Create("BodyAngularVelocity")({
  2105. P = 3000,
  2106. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2107. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2108. Parent = hit
  2109. })
  2110. game:GetService("Debris"):AddItem(bodvol, 0.5)
  2111. game:GetService("Debris"):AddItem(rl, 0.5)
  2112. elseif Type == "Normal" then
  2113. local vp = Create("BodyVelocity")({
  2114. P = 500,
  2115. maxForce = Vector3.new(math.huge, 0, math.huge),
  2116. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2117. })
  2118. if knockback > 0 then
  2119. vp.Parent = hit.Parent.Head
  2120. end
  2121. game:GetService("Debris"):AddItem(vp, 0.5)
  2122. elseif Type == "Up" then
  2123. local bodyVelocity = Create("BodyVelocity")({
  2124. velocity = Vector3.new(0, 20, 0),
  2125. P = 5000,
  2126. maxForce = Vector3.new(8000, 8000, 8000),
  2127. Parent = hit
  2128. })
  2129. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2130. local bodyVelocity = Create("BodyVelocity")({
  2131. velocity = Vector3.new(0, 20, 0),
  2132. P = 5000,
  2133. maxForce = Vector3.new(8000, 8000, 8000),
  2134. Parent = hit
  2135. })
  2136. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2137. elseif Type == "Leech" then
  2138. local hum = hit.Parent.Humanoid
  2139. if hum ~= nil then
  2140. for i = 0, 2 do
  2141. Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  2142. end
  2143. Humanoid.Health = Humanoid.Health + 10
  2144. end
  2145. elseif Type == "UpKnock" then
  2146. local hum = hit.Parent.Humanoid
  2147. hum.PlatformStand = true
  2148. if hum ~= nil then
  2149. hitr = true
  2150. end
  2151. coroutine.resume(coroutine.create(function(HHumanoid)
  2152. swait(5)
  2153. HHumanoid.PlatformStand = false
  2154. hitr = false
  2155. end), hum)
  2156. local bodyVelocity = Create("BodyVelocity")({
  2157. velocity = Vector3.new(0, 20, 0),
  2158. P = 5000,
  2159. maxForce = Vector3.new(8000, 8000, 8000),
  2160. Parent = hit
  2161. })
  2162. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2163. local bodyVelocity = Create("BodyVelocity")({
  2164. velocity = Vector3.new(0, 20, 0),
  2165. P = 5000,
  2166. maxForce = Vector3.new(8000, 8000, 8000),
  2167. Parent = hit
  2168. })
  2169. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2170. elseif Type == "Snare" then
  2171. local bp = Create("BodyPosition")({
  2172. P = 2000,
  2173. D = 100,
  2174. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2175. position = hit.Parent.Torso.Position,
  2176. Parent = hit.Parent.Torso
  2177. })
  2178. game:GetService("Debris"):AddItem(bp, 1)
  2179. elseif Type == "Slashnare" then
  2180. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
  2181. for i = 1, math.random(4, 5) do
  2182. Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  2183. end
  2184. local bp = Create("BodyPosition")({
  2185. P = 2000,
  2186. D = 100,
  2187. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2188. position = hit.Parent.Torso.Position,
  2189. Parent = hit.Parent.Torso
  2190. })
  2191. game:GetService("Debris"):AddItem(bp, 1)
  2192. elseif Type == "Spike" then
  2193. CreateBigIceSword(hit.Parent.Torso.CFrame)
  2194. local bp = Create("BodyPosition")({
  2195. P = 2000,
  2196. D = 100,
  2197. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2198. position = hit.Parent.Torso.Position,
  2199. Parent = hit.Parent.Torso
  2200. })
  2201. game:GetService("Debris"):AddItem(bp, 1)
  2202. elseif Type == "Freeze" then
  2203. local BodPos = Create("BodyPosition")({
  2204. P = 50000,
  2205. D = 1000,
  2206. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2207. position = hit.Parent.Torso.Position,
  2208. Parent = hit.Parent.Torso
  2209. })
  2210. local BodGy = Create("BodyGyro")({
  2211. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  2212. P = 20000,
  2213. Parent = hit.Parent.Torso,
  2214. cframe = hit.Parent.Torso.CFrame
  2215. })
  2216. hit.Parent.Torso.Anchored = true
  2217. coroutine.resume(coroutine.create(function(Part)
  2218. swait(1.5)
  2219. Part.Anchored = false
  2220. end), hit.Parent.Torso)
  2221. game:GetService("Debris"):AddItem(BodPos, 3)
  2222. game:GetService("Debris"):AddItem(BodGy, 3)
  2223. end
  2224. local debounce = Create("BoolValue")({
  2225. Name = "DebounceHit",
  2226. Parent = hit.Parent,
  2227. Value = true
  2228. })
  2229. game:GetService("Debris"):AddItem(debounce, Delay)
  2230. c = Instance.new("ObjectValue")
  2231. c.Name = "creator"
  2232. c.Value = Player
  2233. c.Parent = h
  2234. game:GetService("Debris"):AddItem(c, 0.5)
  2235. end
  2236. end
  2237. function ShowDamage(Pos, Text, Time, Color)
  2238. local Rate = 0.03333333333333333
  2239. local Pos = Pos or Vector3.new(0, 0, 0)
  2240. local Text = Text or ""
  2241. local Time = Time or 2
  2242. local Color = Color or Color3.new(1, 0, 1)
  2243. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2244. EffectPart.Anchored = true
  2245. local BillboardGui = Create("BillboardGui")({
  2246. Size = UDim2.new(3, 0, 3, 0),
  2247. Adornee = EffectPart,
  2248. Parent = EffectPart
  2249. })
  2250. local TextLabel = Create("TextLabel")({
  2251. BackgroundTransparency = 1,
  2252. Size = UDim2.new(1, 0, 1, 0),
  2253. Text = Text,
  2254. TextColor3 = Color,
  2255. TextScaled = true,
  2256. Font = Enum.Font.ArialBold,
  2257. Parent = BillboardGui
  2258. })
  2259. game.Debris:AddItem(EffectPart, Time + 0.1)
  2260. EffectPart.Parent = game:GetService("Workspace")
  2261. delay(0, function()
  2262. local Frames = Time / Rate
  2263. for Frame = 1, Frames do
  2264. wait(Rate)
  2265. local Percent = Frame / Frames
  2266. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2267. TextLabel.TextTransparency = Percent
  2268. end
  2269. if EffectPart and EffectPart.Parent then
  2270. EffectPart:Destroy()
  2271. end
  2272. end)
  2273. end
  2274. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2275. for _, c in pairs(workspace:children()) do
  2276. local hum = c:findFirstChildOfClass("Humanoid")
  2277. if hum ~= nil then
  2278. local head = c:findFirstChild("Head")
  2279. if head ~= nil then
  2280. local targ = head.Position - Part.Position
  2281. local mag = targ.magnitude
  2282. if magni >= mag and c.Name ~= Player.Name then
  2283. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2284. end
  2285. end
  2286. end
  2287. end
  2288. end
  2289.  
  2290. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2291. for _, c in pairs(workspace:children()) do
  2292. local hum = c:findFirstChild("Humanoid")
  2293. if hum ~= nil then
  2294. local head = c:findFirstChild("Torso")
  2295. if head ~= nil then
  2296. local targ = head.Position - Part.Position
  2297. local mag = targ.magnitude
  2298. if magni >= mag and c.Name ~= Player.Name then
  2299. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2300. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2301. end
  2302. end
  2303. end
  2304. end
  2305. end
  2306.  
  2307. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2308. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2309. end
  2310.  
  2311. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2312. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2313. prt.Anchored=true
  2314. prt.CFrame=cframe
  2315. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2316. --http://www.roblox.com/asset/?id=4770560
  2317. game:GetService("Debris"):AddItem(prt,2)
  2318. CF=prt.CFrame
  2319. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2320. for i=0,1,0.2 do
  2321. wait()
  2322. Part.CFrame=CF*cf(0,0,-0.4)
  2323. end
  2324. for i=0,1,delay do
  2325. wait()
  2326. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  2327. Mesh.Scale=Mesh.Scale
  2328. end
  2329. for i=0,1,0.1 do
  2330. wait()
  2331. Part.Transparency=i
  2332. end
  2333. Part.Parent=nil
  2334. end),prt,msh,CF)
  2335. end
  2336.  
  2337. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2338. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2339. prt.Anchored=true
  2340. prt.Material = "Neon"
  2341. prt.CFrame=cframe
  2342. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2343. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2344. game:GetService("Debris"):AddItem(prt,5)
  2345. coroutine.resume(coroutine.create(function(Part,Mesh)
  2346. for i=0,1,delay do
  2347. swait()
  2348. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2349. Part.Transparency=i
  2350. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2351. end
  2352. Part.Parent=nil
  2353. end),prt,msh)
  2354. end
  2355.  
  2356. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2357. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2358. prt.Anchored=true
  2359. prt.Material = "Neon"
  2360. prt.CFrame=cframe
  2361. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2362. game:GetService("Debris"):AddItem(prt,5)
  2363. coroutine.resume(coroutine.create(function(Part,Mesh)
  2364. local rtype = rottype
  2365. for i=0,1,delay do
  2366. swait()
  2367. if rtype == 1 then
  2368. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2369. elseif rtype == 2 then
  2370. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2371. end
  2372. Part.Transparency=i
  2373. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2374. end
  2375. Part.Parent=nil
  2376. end),prt,msh)
  2377. end
  2378.  
  2379. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2380. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2381. prt.Anchored=true
  2382. prt.CFrame=cframe
  2383. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2384. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2385. game:GetService("Debris"):AddItem(prt,5)
  2386. coroutine.resume(coroutine.create(function(Part,Mesh)
  2387. for i=0,1,delay do
  2388. wait()
  2389. Part.Transparency=i
  2390. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2391. end
  2392. Part.Parent=nil
  2393. end),prt,msh)
  2394. end
  2395.  
  2396. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2397. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2398. prt.Anchored=true
  2399. prt.Material = "Neon"
  2400. prt.CFrame=cframe
  2401. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2402. game:GetService("Debris"):AddItem(prt,5)
  2403. coroutine.resume(coroutine.create(function(Part,Mesh)
  2404. local rtype = rottype
  2405. for i=0,1,delay do
  2406. swait()
  2407. if rtype == 1 then
  2408. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2409. elseif rtype == 2 then
  2410. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2411. end
  2412. Part.Transparency=i
  2413. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2414. end
  2415. Part.Parent=nil
  2416. end),prt,msh)
  2417. end
  2418.  
  2419. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2420. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2421. prt.Anchored=true
  2422. prt.Material = "Neon"
  2423. prt.CFrame=cframe
  2424. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2425. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2426. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2427. game:GetService("Debris"):AddItem(prt,5)
  2428. coroutine.resume(coroutine.create(function(Part,Mesh)
  2429. local rtype = rottype
  2430. for i=0,1,delay do
  2431. swait()
  2432. if rtype == 1 then
  2433. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2434. elseif rtype == 2 then
  2435. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2436. end
  2437. dec.Transparency=i
  2438. dec2.Transparency=i
  2439. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2440. end
  2441. Part.Parent=nil
  2442. end),prt,msh)
  2443. end
  2444.  
  2445. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2446. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2447. prt.Anchored=true
  2448. prt.Material = "Neon"
  2449. prt.CFrame=cframe
  2450. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2451. game:GetService("Debris"):AddItem(prt,5)
  2452. coroutine.resume(coroutine.create(function(Part,Mesh)
  2453. local rtype = rottype
  2454. for i=0,1,delay do
  2455. swait()
  2456. if rtype == 1 then
  2457. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2458. elseif rtype == 2 then
  2459. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2460. end
  2461. prt.Transparency=i
  2462. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2463. end
  2464. Part.Parent=nil
  2465. end),prt,msh)
  2466. end
  2467.  
  2468. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2469. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2470. prt.Anchored=true
  2471. prt.Material = "Neon"
  2472. prt.CFrame=cframe
  2473. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2474. game:GetService("Debris"):AddItem(prt,5)
  2475. coroutine.resume(coroutine.create(function(Part,Mesh)
  2476. local rtype = rottype
  2477. for i=0,1,delay do
  2478. swait()
  2479. if rtype == 1 then
  2480. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2481. elseif rtype == 2 then
  2482. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2483. end
  2484. prt.Transparency=i
  2485. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2486. end
  2487. Part.Parent=nil
  2488. end),prt,msh)
  2489. end
  2490.  
  2491. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2492. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2493. prt.Anchored=true
  2494. prt.Material = "Neon"
  2495. prt.CFrame=cframe
  2496. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2497. game:GetService("Debris"):AddItem(prt,5)
  2498. coroutine.resume(coroutine.create(function(Part,Mesh)
  2499. local rtype = rottype
  2500. for i=0,1,delay do
  2501. swait()
  2502. if rtype == 1 then
  2503. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2504. elseif rtype == 2 then
  2505. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2506. end
  2507. prt.Transparency=i
  2508. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2509. end
  2510. Part.Parent=nil
  2511. end),prt,msh)
  2512. end
  2513.  
  2514. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2515. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2516. prt.Anchored=true
  2517. prt.Material = "Neon"
  2518. prt.CFrame=cframe
  2519. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2520. game:GetService("Debris"):AddItem(prt,5)
  2521. coroutine.resume(coroutine.create(function(Part,Mesh)
  2522. local rtype = rottype
  2523. for i=0,1,delay do
  2524. swait()
  2525. if rtype == 1 then
  2526. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2527. elseif rtype == 2 then
  2528. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2529. end
  2530. prt.Transparency=i
  2531. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2532. end
  2533. Part.Parent=nil
  2534. end),prt,msh)
  2535. end
  2536.  
  2537. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2538. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2539. prt.Anchored=false
  2540. prt.CFrame=cframe
  2541. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2542. local wld=weld(prt,prt,Parent,cframe)
  2543. game:GetService("Debris"):AddItem(prt,5)
  2544. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2545. for i=0,1,delay do
  2546. wait()
  2547. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2548. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2549. Part.Transparency=i
  2550. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2551. end
  2552. Part.Parent=nil
  2553. end),prt,msh,wld)
  2554. end
  2555.  
  2556. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2557. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2558. prt.Anchored=false
  2559. prt.CFrame=cframe
  2560. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2561. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2562. game:GetService("Debris"):AddItem(prt,5)
  2563. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2564. for i=0,1,delay do
  2565. wait()
  2566. Weld.C0=euler(i*20,0,0)
  2567. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2568. Part.Transparency=i
  2569. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2570. end
  2571. Part.Parent=nil
  2572. end),prt,msh,wld)
  2573. end
  2574.  
  2575. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2576. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2577. prt.Anchored=true
  2578. prt.CFrame=cframe
  2579. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2580. game:GetService("Debris"):AddItem(prt,2)
  2581. coroutine.resume(coroutine.create(function(Part,Mesh)
  2582. for i=0,1,delay do
  2583. wait()
  2584. Part.CFrame=Part.CFrame
  2585. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2586. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2587. prt2.Anchored=true
  2588. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2589. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2590. game:GetService("Debris"):AddItem(prt2,2)
  2591. coroutine.resume(coroutine.create(function(Part,Mesh)
  2592. for i=0,1,0.1 do
  2593. wait()
  2594. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2595. end
  2596. Part.Parent=nil
  2597. end),prt2,msh2)
  2598. end
  2599. for i=0,1,delay*2 do
  2600. wait()
  2601. Part.CFrame=Part.CFrame
  2602. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2603. end
  2604. Part.Parent=nil
  2605. end),prt,msh)
  2606. end
  2607.  
  2608. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2609. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2610. prt.Anchored=true
  2611. prt.CFrame=cframe
  2612. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2613. game:GetService("Debris"):AddItem(prt,2)
  2614. coroutine.resume(coroutine.create(function(Part,Mesh)
  2615. for i=0,1,delay do
  2616. wait()
  2617. Part.CFrame=Part.CFrame
  2618. Part.Transparency=i
  2619. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2620. end
  2621. Part.Parent=nil
  2622. end),prt,msh)
  2623. end
  2624.  
  2625. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2626. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2627. prt.Anchored=true
  2628. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2629. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2630. game:GetService("Debris"):AddItem(prt,2)
  2631. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2632. CF=Part.CFrame
  2633. Numbb=0
  2634. randnumb=math.random()/10
  2635. rand1=math.random()/10
  2636. for i=0,1,rand1 do
  2637. wait()
  2638. CF=CF*cf(0,math.random()/2,0)
  2639. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2640. Part.CFrame=CF*euler(Numbb,0,0)
  2641. Part.Transparency=i
  2642. Numbb=Numbb+randnumb
  2643. end
  2644. Part.Parent=nil
  2645. end),prt,CF,Numbb,randnumb)
  2646. end
  2647.  
  2648. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2649. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2650. prt.Anchored=true
  2651. prt.CFrame=cframe
  2652. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2653. game:GetService("Debris"):AddItem(prt,5)
  2654. coroutine.resume(coroutine.create(function(Part,Mesh)
  2655. for i=0,1,delay do
  2656. wait()
  2657. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2658. Part.Transparency=i
  2659. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2660. end
  2661. Part.Parent=nil
  2662. end),prt,msh)
  2663. end
  2664.  
  2665. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2666. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2667. prt.Anchored=true
  2668. prt.CFrame=cframe
  2669. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2670. game:GetService("Debris"):AddItem(prt,2)
  2671. coroutine.resume(coroutine.create(function(Part,Mesh)
  2672. for i=0,1,delay do
  2673. wait()
  2674. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2675. Part.Transparency=i
  2676. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2677. end
  2678. Part.Parent=nil
  2679. end),prt,msh)
  2680. end
  2681.  
  2682. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2683. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2684. prt.Anchored=true
  2685. prt.CFrame=cframe*cf(x,y,z)
  2686. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2687. game:GetService("Debris"):AddItem(prt,5)
  2688. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2689. local num=math.random()
  2690. local num2=math.random(-3,2)+math.random()
  2691. local numm=0
  2692. for i=0,1,delay*2 do
  2693. swait()
  2694. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2695. Part.Transparency=i
  2696. numm=numm+0.01
  2697. end
  2698. Part.Parent=nil
  2699. Mesh.Parent=nil
  2700. end),prt,msh,x,y,z)
  2701. end
  2702.  
  2703. function dmgstart(dmg,what)
  2704. hitcon = what.Touched:connect(function(hit)
  2705. local hum = hit.Parent:FindFirstChild("Humanoid")
  2706. if hum and not hum:IsDescendantOf(Character) then
  2707. hum:TakeDamage(dmg)
  2708. end
  2709. end)
  2710. end
  2711.  
  2712. function dmgstop()
  2713. hitcon:disconnect()
  2714. end
  2715.  
  2716. function Cloak()
  2717. Face.Parent=nil
  2718. cloaked=true
  2719. for _,v in pairs(Torso.Parent:children()) do
  2720. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2721. coroutine.resume(coroutine.create(function()
  2722. for i=0,1,0.2 do
  2723. wait()
  2724. v.Transparency=i
  2725. end
  2726. v.Transparency=1
  2727. end))
  2728. end
  2729. if v.className=="Hat" then
  2730. hatp=v.Handle
  2731. coroutine.resume(coroutine.create(function(derp)
  2732. for i=0,1,0.2 do
  2733. wait()
  2734. derp.Transparency=i
  2735. end
  2736. derp.Transparency=1
  2737. end),hatp)
  2738. end
  2739. end
  2740. for _,v in pairs(m:children()) do
  2741. if v.className=="Part" then
  2742. coroutine.resume(coroutine.create(function()
  2743. for i=0,1,0.2 do
  2744. wait()
  2745. v.Transparency=i
  2746. end
  2747. v.Transparency=1
  2748. end))
  2749. end
  2750. end
  2751. end
  2752.  
  2753. function UnCloak()
  2754. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2755. Face.Parent=Head
  2756. cloaked=false
  2757. for _,v in pairs(Torso.Parent:children()) do
  2758. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2759. coroutine.resume(coroutine.create(function()
  2760. for i=0,1,0.1 do
  2761. wait()
  2762. v.Transparency=v.Transparency-0.1
  2763. end
  2764. v.Transparency=0
  2765. end))
  2766. end
  2767. if v.className=="Hat" then
  2768. hatp=v.Handle
  2769. coroutine.resume(coroutine.create(function(derp)
  2770. for i=0,1,0.1 do
  2771. wait()
  2772. derp.Transparency=derp.Transparency-0.1
  2773. end
  2774. derp.Transparency=0
  2775. end),hatp)
  2776. end
  2777. end
  2778. for _,v in pairs(m:children()) do
  2779. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2780. coroutine.resume(coroutine.create(function()
  2781. for i=0,1,0.1 do
  2782. wait()
  2783. v.Transparency=v.Transparency-0.1
  2784. end
  2785. v.Transparency=0
  2786. end))
  2787. v.Transparency=0
  2788. end
  2789. end
  2790. end
  2791.  
  2792. local origcolor = BrickColor.new("Pastel light blue")
  2793. ---- This section of explosions.
  2794.  
  2795. ----
  2796.  
  2797.  
  2798. function ring(type,pos,scale,value)
  2799. local type = type
  2800. local rng = Instance.new("Part", char)
  2801. rng.Anchored = true
  2802. rng.BrickColor = origcolor
  2803. rng.CanCollide = false
  2804. rng.FormFactor = 3
  2805. rng.Name = "Ring"
  2806. rng.Size = Vector3.new(1, 1, 1)
  2807. rng.Transparency = 0
  2808. rng.TopSurface = 0
  2809. rng.BottomSurface = 0
  2810. rng.CFrame = pos
  2811. local rngm = Instance.new("SpecialMesh", rng)
  2812. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2813. rngm.Scale = scale
  2814. local scaler2 = 1
  2815. if type == "Add" then
  2816. scaler2 = 1*value
  2817. elseif type == "Divide" then
  2818. scaler2 = 1/value
  2819. end
  2820. coroutine.resume(coroutine.create(function()
  2821. for i = 0,10,0.1 do
  2822. swait()
  2823. if type == "Add" then
  2824. scaler2 = scaler2 - 0.01*value
  2825. elseif type == "Divide" then
  2826. scaler2 = scaler2 - 0.01/value
  2827. end
  2828. rng.Transparency = rng.Transparency + 0.01
  2829. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2830. end
  2831. rng:Destroy()
  2832. end))
  2833. end
  2834.  
  2835.  
  2836. function wave(type,pos,scale,value)
  2837. local type = type
  2838. local rng = Instance.new("Part", char)
  2839. rng.Anchored = true
  2840. rng.BrickColor = origcolor
  2841. rng.CanCollide = false
  2842. rng.FormFactor = 3
  2843. rng.Name = "Ring"
  2844. rng.Size = Vector3.new(1, 1, 1)
  2845. rng.Transparency = 0
  2846. rng.TopSurface = 0
  2847. rng.BottomSurface = 0
  2848. rng.CFrame = pos
  2849. local rngm = Instance.new("SpecialMesh", rng)
  2850. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2851. rngm.Scale = scale
  2852. local scaler2 = 1
  2853. if type == "Add" then
  2854. scaler2 = 1*value
  2855. elseif type == "Divide" then
  2856. scaler2 = 1/value
  2857. end
  2858. coroutine.resume(coroutine.create(function()
  2859. for i = 0,10,0.1 do
  2860. swait()
  2861. if type == "Add" then
  2862. scaler2 = scaler2 - 0.01*value
  2863. elseif type == "Divide" then
  2864. scaler2 = scaler2 - 0.01/value
  2865. end
  2866. rng.Transparency = rng.Transparency + 0.01
  2867. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2868. end
  2869. rng:Destroy()
  2870. end))
  2871. end
  2872.  
  2873. function wind(type,pos,scale,value,speed)
  2874. local type = type
  2875. local rng = Instance.new("Part", char)
  2876. rng.Anchored = true
  2877. rng.BrickColor = origcolor
  2878. rng.CanCollide = false
  2879. rng.FormFactor = 3
  2880. rng.Name = "Ring"
  2881. rng.Size = Vector3.new(1, 1, 1)
  2882. rng.Transparency = 0
  2883. rng.TopSurface = 0
  2884. rng.BottomSurface = 0
  2885. rng.CFrame = pos
  2886. local rngm = Instance.new("SpecialMesh", rng)
  2887. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2888. rngm.Scale = scale
  2889. local scaler2 = 1
  2890. if type == "Add" then
  2891. scaler2 = 1*value
  2892. elseif type == "Divide" then
  2893. scaler2 = 1/value
  2894. end
  2895. coroutine.resume(coroutine.create(function()
  2896. for i = 0,10,0.1 do
  2897. swait()
  2898. if type == "Add" then
  2899. scaler2 = scaler2 - 0.01*value
  2900. elseif type == "Divide" then
  2901. scaler2 = scaler2 - 0.01/value
  2902. end
  2903. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2904. rng.Transparency = rng.Transparency + 0.01
  2905. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2906. end
  2907. rng:Destroy()
  2908. end))
  2909. end
  2910.  
  2911. function groundwind(type,pos,scale,value,speed)
  2912. local type = type
  2913. local rng = Instance.new("Part", char)
  2914. rng.Anchored = true
  2915. rng.BrickColor = origcolor
  2916. rng.CanCollide = false
  2917. rng.FormFactor = 3
  2918. rng.Name = "Ring"
  2919. rng.Size = Vector3.new(1, 1, 1)
  2920. rng.Transparency = 0
  2921. rng.TopSurface = 0
  2922. rng.BottomSurface = 0
  2923. rng.CFrame = pos
  2924. local rngm = Instance.new("SpecialMesh", rng)
  2925. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2926. rngm.Scale = scale
  2927. local scaler2 = 1
  2928. if type == "Add" then
  2929. scaler2 = 1*value
  2930. elseif type == "Divide" then
  2931. scaler2 = 1/value
  2932. end
  2933. coroutine.resume(coroutine.create(function()
  2934. for i = 0,10,0.1 do
  2935. swait()
  2936. if type == "Add" then
  2937. scaler2 = scaler2 - 0.01*value
  2938. elseif type == "Divide" then
  2939. scaler2 = scaler2 - 0.01/value
  2940. end
  2941. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2942. rng.Transparency = rng.Transparency + 0.01
  2943. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2944. end
  2945. rng:Destroy()
  2946. end))
  2947. end
  2948.  
  2949. function CameraManager()
  2950. if TwoD and not CamInterrupt then
  2951. if Humanoid.Health > 0 then
  2952. Camera.CameraSubject = Humanoid
  2953. Camera.CameraType = "Scriptable"
  2954. Humanoid.AutoRotate = false
  2955. if Booleans.GyroUse then
  2956. Directer.MaxTorque = Vec3(0, huge, 0)
  2957. else
  2958. Directer.MaxTorque = Vec3(0, 0, 0)
  2959. end
  2960. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2961. if Booleans.CamFollow then
  2962. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2963. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2964. else
  2965. CPart.Position = RootPart.Position
  2966. end
  2967. else
  2968. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2969. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2970. end
  2971. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2972. else
  2973. Camera.CameraSubject = Humanoid
  2974. Camera.CameraType = "Custom"
  2975. Controller.Disabled = false
  2976. end
  2977. end
  2978. end
  2979.  
  2980. function ring(type,pos,scale,value)
  2981. local type = type
  2982. local rng = Instance.new("Part", char)
  2983. rng.Anchored = true
  2984. rng.BrickColor = origcolor
  2985. rng.CanCollide = false
  2986. rng.FormFactor = 3
  2987. rng.Name = "Ring"
  2988. rng.Size = Vector3.new(1, 1, 1)
  2989. rng.Transparency = 0
  2990. rng.TopSurface = 0
  2991. rng.BottomSurface = 0
  2992. rng.CFrame = pos
  2993. local rngm = Instance.new("SpecialMesh", rng)
  2994. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2995. rngm.Scale = scale
  2996. local scaler2 = 1
  2997. if type == "Add" then
  2998. scaler2 = 1*value
  2999. elseif type == "Divide" then
  3000. scaler2 = 1/value
  3001. end
  3002. coroutine.resume(coroutine.create(function()
  3003. for i = 0,10,0.1 do
  3004. swait()
  3005. if type == "Add" then
  3006. scaler2 = scaler2 - 0.01*value
  3007. elseif type == "Divide" then
  3008. scaler2 = scaler2 - 0.01/value
  3009. end
  3010. rng.Transparency = rng.Transparency + 0.01
  3011. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  3012. end
  3013. rng:Destroy()
  3014. end))
  3015. end
  3016.  
  3017.  
  3018. function wave(type,pos,scale,value)
  3019. local type = type
  3020. local rng = Instance.new("Part", char)
  3021. rng.Anchored = true
  3022. rng.BrickColor = origcolor
  3023. rng.CanCollide = false
  3024. rng.FormFactor = 3
  3025. rng.Name = "Ring"
  3026. rng.Size = Vector3.new(1, 1, 1)
  3027. rng.Transparency = 0
  3028. rng.TopSurface = 0
  3029. rng.BottomSurface = 0
  3030. rng.CFrame = pos
  3031. local rngm = Instance.new("SpecialMesh", rng)
  3032. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3033. rngm.Scale = scale
  3034. local scaler2 = 1
  3035. if type == "Add" then
  3036. scaler2 = 1*value
  3037. elseif type == "Divide" then
  3038. scaler2 = 1/value
  3039. end
  3040. coroutine.resume(coroutine.create(function()
  3041. for i = 0,10,0.1 do
  3042. swait()
  3043. if type == "Add" then
  3044. scaler2 = scaler2 - 0.01*value
  3045. elseif type == "Divide" then
  3046. scaler2 = scaler2 - 0.01/value
  3047. end
  3048. rng.Transparency = rng.Transparency + 0.01
  3049. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3050. end
  3051. rng:Destroy()
  3052. end))
  3053. end
  3054.  
  3055. function sphere(bonuspeed,type,pos,scale,value,color)
  3056. local type = type
  3057. local rng = Instance.new("Part", char)
  3058. rng.Anchored = true
  3059. if ModeOfGlitch ~= 9 then
  3060. rng.BrickColor = color
  3061. elseif ModeOfGlitch == 9 then
  3062. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3063. end
  3064. rng.CanCollide = false
  3065. rng.FormFactor = 3
  3066. rng.Name = "Ring"
  3067. rng.Material = "Neon"
  3068. rng.Size = Vector3.new(1, 1, 1)
  3069. rng.Transparency = 0
  3070. rng.TopSurface = 0
  3071. rng.BottomSurface = 0
  3072. rng.CFrame = pos
  3073. local rngm = Instance.new("SpecialMesh", rng)
  3074. rngm.MeshType = "Sphere"
  3075. rngm.Scale = scale
  3076. if rainbowmode == true then
  3077. rng.Color = Color3.new(r/255,g/255,b/255)
  3078. end
  3079. if ModeOfGlitch == 9 then
  3080. coroutine.resume(coroutine.create(function()
  3081. while true do
  3082. swait()
  3083. if rng.Parent ~= nil then
  3084. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3085. else
  3086. break
  3087. end
  3088. end
  3089. end))
  3090. end
  3091. local scaler2 = 1
  3092. if type == "Add" then
  3093. scaler2 = 1*value
  3094. elseif type == "Divide" then
  3095. scaler2 = 1/value
  3096. end
  3097. coroutine.resume(coroutine.create(function()
  3098. for i = 0,10/bonuspeed,0.1 do
  3099. swait()
  3100. if rainbowmode == true then
  3101. rng.Color = Color3.new(r/255,g/255,b/255)
  3102. end
  3103. if type == "Add" then
  3104. scaler2 = scaler2 - 0.01*value/bonuspeed
  3105. elseif type == "Divide" then
  3106. scaler2 = scaler2 - 0.01/value*bonuspeed
  3107. end
  3108. if chaosmode == true then
  3109. rng.Color = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  3110. end
  3111. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3112. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3113. end
  3114. rng:Destroy()
  3115. end))
  3116. end
  3117.  
  3118. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  3119. local type = type
  3120. local rng = Instance.new("Part", char)
  3121. rng.Anchored = true
  3122. if ModeOfGlitch ~= 9 then
  3123. rng.BrickColor = color
  3124. elseif ModeOfGlitch == 9 then
  3125. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3126. end
  3127. rng.CanCollide = false
  3128. rng.FormFactor = 3
  3129. rng.Name = "Ring"
  3130. rng.Material = "Neon"
  3131. rng.Size = Vector3.new(1, 1, 1)
  3132. rng.Transparency = 0
  3133. rng.TopSurface = 0
  3134. rng.BottomSurface = 0
  3135. rng.CFrame = pos
  3136. local rngm = Instance.new("SpecialMesh", rng)
  3137. rngm.MeshType = "Sphere"
  3138. if rainbowmode == true then
  3139. rng.Color = Color3.new(r/255,g/255,b/255)
  3140. end
  3141. rngm.Scale = scale
  3142. local scaler2 = 1
  3143. local scaler2b = 1
  3144. local scaler2c = 1
  3145. if type == "Add" then
  3146. scaler2 = 1*value
  3147. scaler2b = 1*value2
  3148. scaler2c = 1*value3
  3149. elseif type == "Divide" then
  3150. scaler2 = 1/value
  3151. scaler2b = 1/value2
  3152. scaler2c = 1/value3
  3153. end
  3154. if ModeOfGlitch == 9 then
  3155. coroutine.resume(coroutine.create(function()
  3156. while true do
  3157. swait()
  3158. if rng.Parent ~= nil then
  3159. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3160. else
  3161. break
  3162. end
  3163. end
  3164. end))
  3165. end
  3166. coroutine.resume(coroutine.create(function()
  3167. for i = 0,10/bonuspeed,0.1 do
  3168. swait()
  3169. if chaosmode == true then
  3170. rng.Color = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  3171. end
  3172. if rainbowmode == true then
  3173. rng.Color = Color3.new(r/255,g/255,b/255)
  3174. end
  3175. if type == "Add" then
  3176. scaler2 = scaler2 - 0.01*value/bonuspeed
  3177. scaler2b = scaler2b - 0.01*value/bonuspeed
  3178. scaler2c = scaler2c - 0.01*value/bonuspeed
  3179. elseif type == "Divide" then
  3180. scaler2 = scaler2 - 0.01/value*bonuspeed
  3181. scaler2b = scaler2b - 0.01/value*bonuspeed
  3182. scaler2c = scaler2c - 0.01/value*bonuspeed
  3183. end
  3184. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3185. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3186. end
  3187. rng:Destroy()
  3188. end))
  3189. end
  3190.  
  3191. function spherec(bonuspeed,type,pos,scale,value,value2,value3,color)
  3192. local type = type
  3193. local rng = Instance.new("Part", char)
  3194. rng.Anchored = true
  3195. rng.Color = color
  3196. rng.CanCollide = false
  3197. rng.FormFactor = 3
  3198. rng.Name = "Ring"
  3199. rng.Material = "Neon"
  3200. rng.Size = Vector3.new(1, 1, 1)
  3201. rng.Transparency = 0
  3202. rng.TopSurface = 0
  3203. rng.BottomSurface = 0
  3204. rng.CFrame = pos
  3205. local rngm = Instance.new("SpecialMesh", rng)
  3206. rngm.MeshType = "Sphere"
  3207. if rainbowmode == true then
  3208. rng.Color = Color3.new(r/255,g/255,b/255)
  3209. end
  3210. rngm.Scale = scale
  3211. local scaler2 = 1
  3212. local scaler2b = 1
  3213. local scaler2c = 1
  3214. if type == "Add" then
  3215. scaler2 = 1*value
  3216. scaler2b = 1*value2
  3217. scaler2c = 1*value3
  3218. elseif type == "Divide" then
  3219. scaler2 = 1/value
  3220. scaler2b = 1/value2
  3221. scaler2c = 1/value3
  3222. end
  3223. if ModeOfGlitch == 9 then
  3224. coroutine.resume(coroutine.create(function()
  3225. while true do
  3226. swait()
  3227. if rng.Parent ~= nil then
  3228. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3229. else
  3230. break
  3231. end
  3232. end
  3233. end))
  3234. end
  3235. coroutine.resume(coroutine.create(function()
  3236. for i = 0,10/bonuspeed,0.1 do
  3237. swait()
  3238. if chaosmode == true then
  3239. rng.Color = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  3240. end
  3241. if rainbowmode == true then
  3242. rng.Color = Color3.new(r/255,g/255,b/255)
  3243. end
  3244. if type == "Add" then
  3245. scaler2 = scaler2 - 0.01*value/bonuspeed
  3246. scaler2b = scaler2b - 0.01*value/bonuspeed
  3247. scaler2c = scaler2c - 0.01*value/bonuspeed
  3248. elseif type == "Divide" then
  3249. scaler2 = scaler2 - 0.01/value*bonuspeed
  3250. scaler2b = scaler2b - 0.01/value*bonuspeed
  3251. scaler2c = scaler2c - 0.01/value*bonuspeed
  3252. end
  3253. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3254. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3255. end
  3256. rng:Destroy()
  3257. end))
  3258. end
  3259.  
  3260.  
  3261. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  3262. local type = type
  3263. local rotenable = rotatingop
  3264. local rng = Instance.new("Part", char)
  3265. rng.Anchored = true
  3266. rng.BrickColor = color
  3267. rng.CanCollide = false
  3268. rng.FormFactor = 3
  3269. rng.Name = "Ring"
  3270. rng.Material = "Neon"
  3271. rng.Size = Vector3.new(1, 1, 1)
  3272. rng.Transparency = 0
  3273. if typeoftrans == "In" then
  3274. rng.Transparency = 1
  3275. end
  3276. rng.TopSurface = 0
  3277. rng.BottomSurface = 0
  3278. rng.CFrame = pos
  3279. local rngm = Instance.new("SpecialMesh", rng)
  3280. rngm.MeshType = "FileMesh"
  3281. if rainbowmode == true then
  3282. rng.Color = Color3.new(r/255,g/255,b/255)
  3283. end
  3284. if typeofshape == "Normal" then
  3285. rngm.MeshId = "rbxassetid://662586858"
  3286. elseif typeofshape == "Round" then
  3287. rngm.MeshId = "rbxassetid://662585058"
  3288. end
  3289. rngm.Scale = scale
  3290. local scaler2 = 1/10
  3291. if type == "Add" then
  3292. scaler2 = 1*value/10
  3293. elseif type == "Divide" then
  3294. scaler2 = 1/value/10
  3295. end
  3296. local randomrot = math.random(1,2)
  3297. coroutine.resume(coroutine.create(function()
  3298. for i = 0,10/bonuspeed,0.1 do
  3299. swait()
  3300. if rainbowmode == true then
  3301. rng.Color = Color3.new(r/255,g/255,b/255)
  3302. end
  3303. if type == "Add" then
  3304. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  3305. elseif type == "Divide" then
  3306. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  3307. end
  3308. if rotenable == true then
  3309. if randomrot == 1 then
  3310. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  3311. elseif randomrot == 2 then
  3312. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  3313. end
  3314. end
  3315. if typeoftrans == "Out" then
  3316. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3317. elseif typeoftrans == "In" then
  3318. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3319. end
  3320. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  3321. end
  3322. rng:Destroy()
  3323. end))
  3324. end
  3325.  
  3326. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3327. local type = type
  3328. local rng = Instance.new("Part", char)
  3329. rng.Anchored = true
  3330. rng.BrickColor = color
  3331. rng.CanCollide = false
  3332. rng.FormFactor = 3
  3333. rng.Name = "Ring"
  3334. rng.Material = "Neon"
  3335. rng.Size = Vector3.new(1, 1, 1)
  3336. rng.Transparency = 0
  3337. rng.TopSurface = 0
  3338. rng.BottomSurface = 0
  3339. rng.CFrame = pos
  3340. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3341. local rngm = Instance.new("SpecialMesh", rng)
  3342. rngm.MeshType = "Brick"
  3343. rngm.Scale = vt(x1,y1,z1)
  3344. if rainbowmode == true then
  3345. rng.Color = Color3.new(r/255,g/255,b/255)
  3346. end
  3347. local scaler2 = 1
  3348. local speeder = FastSpeed/10
  3349. if type == "Add" then
  3350. scaler2 = 1*value
  3351. elseif type == "Divide" then
  3352. scaler2 = 1/value
  3353. end
  3354. coroutine.resume(coroutine.create(function()
  3355. for i = 0,10/bonuspeed,0.1 do
  3356. swait()
  3357. if rainbowmode == true then
  3358. rng.Color = Color3.new(r/255,g/255,b/255)
  3359. end
  3360. if type == "Add" then
  3361. scaler2 = scaler2 - 0.01*value/bonuspeed
  3362. elseif type == "Divide" then
  3363. scaler2 = scaler2 - 0.01/value*bonuspeed
  3364. end
  3365. if chaosmode == true then
  3366. rng.Color = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  3367. end
  3368. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3369. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3370. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3371. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3372. end
  3373. rng:Destroy()
  3374. end))
  3375. end
  3376.  
  3377. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3378. local type = type
  3379. local rng = Instance.new("Part", char)
  3380. rng.Anchored = true
  3381. rng.BrickColor = color
  3382. rng.CanCollide = false
  3383. rng.FormFactor = 3
  3384. rng.Name = "Ring"
  3385. rng.Material = "Neon"
  3386. rng.Size = Vector3.new(1, 1, 1)
  3387. rng.Transparency = 0
  3388. rng.TopSurface = 0
  3389. rng.BottomSurface = 0
  3390. rng.CFrame = pos
  3391. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3392. local rngm = Instance.new("SpecialMesh", rng)
  3393. rngm.MeshType = "Brick"
  3394. rngm.Scale = vt(x1,y1,z1)
  3395. if rainbowmode == true then
  3396. rng.Color = Color3.new(r/255,g/255,b/255)
  3397. end
  3398. local scaler2 = 1
  3399. local speeder = FastSpeed/10
  3400. if type == "Add" then
  3401. scaler2 = 1*value
  3402. elseif type == "Divide" then
  3403. scaler2 = 1/value
  3404. end
  3405. coroutine.resume(coroutine.create(function()
  3406. for i = 0,10/bonuspeed,0.1 do
  3407. swait()
  3408. if rainbowmode == true then
  3409. rng.Color = Color3.new(r/255,g/255,b/255)
  3410. end
  3411. if type == "Add" then
  3412. scaler2 = scaler2 - 0.01*value/bonuspeed
  3413. elseif type == "Divide" then
  3414. scaler2 = scaler2 - 0.01/value*bonuspeed
  3415. end
  3416. if chaosmode == true then
  3417. rng.Color = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  3418. end
  3419. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3420. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3421. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3422. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3423. end
  3424. rng:Destroy()
  3425. end))
  3426. end
  3427.  
  3428. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3429. local type = type
  3430. local rng = Instance.new("Part", char)
  3431. rng.Anchored = true
  3432. rng.BrickColor = color
  3433. rng.CanCollide = false
  3434. rng.FormFactor = 3
  3435. rng.Name = "Ring"
  3436. rng.Material = "Neon"
  3437. rng.Size = Vector3.new(1, 1, 1)
  3438. rng.Transparency = 0
  3439. rng.TopSurface = 0
  3440. rng.BottomSurface = 0
  3441. rng.CFrame = pos
  3442. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3443. local rngm = Instance.new("SpecialMesh", rng)
  3444. rngm.MeshType = "Brick"
  3445. rngm.Scale = vt(x1,y1,z1)
  3446. if rainbowmode == true then
  3447. rng.Color = Color3.new(r/255,g/255,b/255)
  3448. end
  3449. local scaler2 = 0
  3450. local speeder = FastSpeed/10
  3451. if type == "Add" then
  3452. scaler2 = 1*value
  3453. elseif type == "Divide" then
  3454. scaler2 = 1/value
  3455. end
  3456. coroutine.resume(coroutine.create(function()
  3457. for i = 0,10/bonuspeed,0.1 do
  3458. swait()
  3459. if rainbowmode == true then
  3460. rng.Color = Color3.new(r/255,g/255,b/255)
  3461. end
  3462. if type == "Add" then
  3463. scaler2 = scaler2 - 0.01*value/bonuspeed
  3464. elseif type == "Divide" then
  3465. scaler2 = scaler2 - 0.01/value*bonuspeed
  3466. end
  3467. if chaosmode == true then
  3468. rng.Color = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  3469. end
  3470. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3471. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3472. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3473. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3474. end
  3475. rng:Destroy()
  3476. end))
  3477. end
  3478.  
  3479. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3480. local type = type
  3481. local rng = Instance.new("Part", char)
  3482. rng.Anchored = true
  3483. rng.BrickColor = color
  3484. rng.Color = color3
  3485. rng.CanCollide = false
  3486. rng.FormFactor = 3
  3487. rng.Name = "Ring"
  3488. rng.Material = "Neon"
  3489. rng.Size = Vector3.new(1, 1, 1)
  3490. rng.Transparency = 0
  3491. rng.TopSurface = 0
  3492. rng.BottomSurface = 0
  3493. rng.CFrame = pos
  3494. local rngm = Instance.new("SpecialMesh", rng)
  3495. rngm.MeshType = "Brick"
  3496. rngm.Scale = scale
  3497. if rainbowmode == true then
  3498. rng.Color = Color3.new(r/255,g/255,b/255)
  3499. end
  3500. local scaler2 = 1
  3501. local scaler2b = 1
  3502. local scaler2c = 1
  3503. if type == "Add" then
  3504. scaler2 = 1*value
  3505. scaler2b = 1*value2
  3506. scaler2c = 1*value3
  3507. elseif type == "Divide" then
  3508. scaler2 = 1/value
  3509. scaler2b = 1/value2
  3510. scaler2c = 1/value3
  3511. end
  3512. coroutine.resume(coroutine.create(function()
  3513. for i = 0,10/bonuspeed,0.1 do
  3514. swait()
  3515. if rainbowmode == true then
  3516. rng.Color = Color3.new(r/255,g/255,b/255)
  3517. end
  3518. if type == "Add" then
  3519. scaler2 = scaler2 - 0.01*value/bonuspeed
  3520. scaler2b = scaler2b - 0.01*value/bonuspeed
  3521. scaler2c = scaler2c - 0.01*value/bonuspeed
  3522. elseif type == "Divide" then
  3523. scaler2 = scaler2 - 0.01/value*bonuspeed
  3524. scaler2b = scaler2b - 0.01/value*bonuspeed
  3525. scaler2c = scaler2c - 0.01/value*bonuspeed
  3526. end
  3527. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3528. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3529. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3530. end
  3531. rng:Destroy()
  3532. end))
  3533. end
  3534.  
  3535. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3536. local type = type
  3537. local rng = Instance.new("Part", char)
  3538. rng.Anchored = true
  3539. if ModeOfGlitch ~= 9 then
  3540. rng.BrickColor = color
  3541. elseif ModeOfGlitch == 9 then
  3542. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3543. end
  3544. rng.CanCollide = false
  3545. rng.FormFactor = 3
  3546. rng.Name = "Ring"
  3547. rng.Material = "Neon"
  3548. rng.Size = Vector3.new(1, 1, 1)
  3549. rng.Transparency = 0
  3550. rng.TopSurface = 0
  3551. rng.BottomSurface = 0
  3552. rng.CFrame = pos
  3553. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3554. local rngm = Instance.new("SpecialMesh", rng)
  3555. rngm.MeshType = "Sphere"
  3556. rngm.Scale = vt(x1,y1,z1)
  3557. if rainbowmode == true then
  3558. rng.Color = Color3.new(r/255,g/255,b/255)
  3559. end
  3560. if ModeOfGlitch == 9 then
  3561. coroutine.resume(coroutine.create(function()
  3562. while true do
  3563. swait()
  3564. if rng.Parent ~= nil then
  3565. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3566. else
  3567. break
  3568. end
  3569. end
  3570. end))
  3571. end
  3572. local scaler2 = 1
  3573. local speeder = FastSpeed
  3574. if type == "Add" then
  3575. scaler2 = 1*value
  3576. elseif type == "Divide" then
  3577. scaler2 = 1/value
  3578. end
  3579. coroutine.resume(coroutine.create(function()
  3580. for i = 0,10/bonuspeed,0.1 do
  3581. swait()
  3582. if rainbowmode == true then
  3583. rng.Color = Color3.new(r/255,g/255,b/255)
  3584. end
  3585. if type == "Add" then
  3586. scaler2 = scaler2 - 0.01*value/bonuspeed
  3587. elseif type == "Divide" then
  3588. scaler2 = scaler2 - 0.01/value*bonuspeed
  3589. end
  3590. if chaosmode == true then
  3591. rng.Color = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  3592. end
  3593. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3594. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3595. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3596. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3597. end
  3598. rng:Destroy()
  3599. end))
  3600. end
  3601.  
  3602.  
  3603. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3604. local type = type
  3605. local rng = Instance.new("Part", char)
  3606. rng.Anchored = true
  3607. if ModeOfGlitch ~= 9 then
  3608. rng.BrickColor = color
  3609. elseif ModeOfGlitch == 9 then
  3610. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3611. end
  3612. rng.CanCollide = false
  3613. rng.FormFactor = 3
  3614. rng.Name = "Ring"
  3615. rng.Material = "Neon"
  3616. rng.Size = Vector3.new(1, 1, 1)
  3617. rng.Transparency = 1
  3618. rng.TopSurface = 0
  3619. rng.BottomSurface = 0
  3620. rng.CFrame = pos
  3621. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3622. local rngm = Instance.new("SpecialMesh", rng)
  3623. rngm.MeshType = "Sphere"
  3624. rngm.Scale = vt(x1,y1,z1)
  3625. if rainbowmode == true then
  3626. rng.Color = Color3.new(r/255,g/255,b/255)
  3627. end
  3628. if ModeOfGlitch == 9 then
  3629. coroutine.resume(coroutine.create(function()
  3630. while true do
  3631. swait()
  3632. if rng.Parent ~= nil then
  3633. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3634. else
  3635. break
  3636. end
  3637. end
  3638. end))
  3639. end
  3640. local scaler2 = 1
  3641. local speeder = FastSpeed
  3642. if type == "Add" then
  3643. scaler2 = 1*value
  3644. elseif type == "Divide" then
  3645. scaler2 = 1/value
  3646. end
  3647. coroutine.resume(coroutine.create(function()
  3648. for i = 0,10/bonuspeed,0.1 do
  3649. swait()
  3650. if rainbowmode == true then
  3651. rng.Color = Color3.new(r/255,g/255,b/255)
  3652. end
  3653. if type == "Add" then
  3654. scaler2 = scaler2 - 0.01*value/bonuspeed
  3655. elseif type == "Divide" then
  3656. scaler2 = scaler2 - 0.01/value*bonuspeed
  3657. end
  3658. if chaosmode == true then
  3659. rng.Color = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  3660. end
  3661. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3662. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3663. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3664. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3665. end
  3666. rng:Destroy()
  3667. end))
  3668. end
  3669.  
  3670. function dmg(dude)
  3671. if dude.Name ~= Character and enableddam == true then
  3672. local keptcolor = MRCL
  3673. local bgf = Instance.new("BodyGyro",dude.Head)
  3674. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3675. --[[local val = Instance.new("BoolValue",dude)
  3676. val.Name = "IsHit"]]--
  3677. local ds = coroutine.wrap(function()
  3678. dude:WaitForChild("Head"):BreakJoints()
  3679. for i, v in pairs(dude:GetChildren()) do
  3680. if v:IsA("Part") or v:IsA("MeshPart") then
  3681. v.Name = "DEMINISHED"
  3682. end
  3683. end
  3684. wait(0.5)
  3685. targetted = nil
  3686. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3687. coroutine.resume(coroutine.create(function()
  3688. for i, v in pairs(dude:GetChildren()) do
  3689. if v:IsA("Accessory") then
  3690. v:Destroy()
  3691. end
  3692. if v:IsA("Humanoid") then
  3693. v:Destroy()
  3694. end
  3695. if v:IsA("CharacterMesh") then
  3696. v:Destroy()
  3697. end
  3698. if v:IsA("Model") then
  3699. v:Destroy()
  3700. end
  3701. if v:IsA("Part") or v:IsA("MeshPart") then
  3702. for x, o in pairs(v:GetChildren()) do
  3703. if o:IsA("Decal") then
  3704. o:Destroy()
  3705. end
  3706. end
  3707. coroutine.resume(coroutine.create(function()
  3708. v.Material = "Neon"
  3709. v.CanCollide = false
  3710. v.Anchored = false
  3711. local bld = Instance.new("ParticleEmitter",v)
  3712. bld.LightEmission = 0.75
  3713. bld.Texture = "rbxassetid://363275192" ---284205403
  3714. bld.Color = ColorSequence.new(keptcolor.Color)
  3715. bld.Rate = 500
  3716. bld.Lifetime = NumberRange.new(1)
  3717. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3718. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3719. bld.Speed = NumberRange.new(2,5)
  3720. bld.VelocitySpread = 50000
  3721. bld.Rotation = NumberRange.new(-500,500)
  3722. bld.RotSpeed = NumberRange.new(-500,500)
  3723. local sbs = Instance.new("BodyPosition", v)
  3724. sbs.P = 3000
  3725. sbs.D = 1000
  3726. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3727. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3728. v.Color = keptcolor.Color
  3729. coroutine.resume(coroutine.create(function()
  3730. for i = 0, 49 do
  3731. swait(1)
  3732. v:BreakJoints()
  3733. v.Transparency = v.Transparency + 0.02
  3734. end
  3735. v:BreakJoints()
  3736. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3737. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3738. bld.Speed = NumberRange.new(10,25)
  3739. bld.Drag = 5
  3740. bld.Acceleration = vt(0,2,0)
  3741. wait(0.5)
  3742. bld.Enabled = false
  3743. wait(8)
  3744. v:Destroy()
  3745. dude:Destroy()
  3746. end))
  3747. end))
  3748. end
  3749. end
  3750. end))
  3751. end)
  3752. ds()
  3753. end
  3754. end
  3755.  
  3756.  
  3757. function FindNearestHead(Position, Distance, SinglePlayer)
  3758. if SinglePlayer then
  3759. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3760. end
  3761. local List = {}
  3762. for i, v in pairs(workspace:GetChildren()) do
  3763. if v:IsA("Model") then
  3764. if v:findFirstChild("Head") then
  3765. if v ~= Character then
  3766. if (v.Head.Position - Position).magnitude <= Distance then
  3767. table.insert(List, v)
  3768. end
  3769. end
  3770. end
  3771. end
  3772. end
  3773. return List
  3774. end
  3775.  
  3776. function FaceMouse()
  3777. Cam = workspace.CurrentCamera
  3778. return {
  3779. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3780. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3781. }
  3782. end
  3783.  
  3784. function FaceMouse2()
  3785. Cam = workspace.CurrentCamera
  3786. return {
  3787. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3788. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3789. }
  3790. end
  3791.  
  3792. local ModeOfGlitch = 1
  3793. -- Functions are ready.
  3794. local storehumanoidWS = 16
  3795.  
  3796. function createBGCircle(size,parent,color)
  3797. local bgui = Instance.new("BillboardGui",parent)
  3798. bgui.Size = UDim2.new(size, 0, size, 0)
  3799. local imgc = Instance.new("ImageLabel",bgui)
  3800. imgc.BackgroundTransparency = 1
  3801. imgc.ImageTransparency = 0
  3802. imgc.Size = UDim2.new(1,0,1,0)
  3803. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  3804. imgc.ImageColor3 = color
  3805. return bgui,imgc
  3806. end
  3807.  
  3808. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  3809. local bgui,imgc = createBGCircle(size,guipar,color)
  3810. bgui.AlwaysOnTop = true
  3811. imgc.Image = "rbxassetid://" ..img
  3812. local rrot = math.random(1,2)
  3813. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  3814. coroutine.resume(coroutine.create(function()
  3815. for i = 0, 24*delay do
  3816. swait()
  3817. if rotationenabled == true then
  3818. if rrot == 1 then
  3819. imgc.Rotation = imgc.Rotation + rotsp
  3820. elseif rrot == 2 then
  3821. imgc.Rotation = imgc.Rotation - rotsp
  3822. end
  3823. end
  3824. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  3825. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  3826. end
  3827. bgui:Destroy()
  3828. end))
  3829. end
  3830.  
  3831.  
  3832. function burstswitch(col1,col2)
  3833. local effx = Instance.new("ParticleEmitter",root)
  3834. effx.Texture = "rbxassetid://144580273" -- 144580273 74564879
  3835. effx.LightEmission = 1
  3836. effx.Color = ColorSequence.new(col1)
  3837. effx.Rate = 500000
  3838. effx.Lifetime = NumberRange.new(0.25,0.75)
  3839. effx.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,200,0)})
  3840. effx.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.8,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3841. effx.Speed = NumberRange.new(0,10)
  3842. effx.Drag = 5
  3843. effx.Rotation = NumberRange.new(-500,500)
  3844. effx.VelocitySpread = 9000
  3845. effx.RotSpeed = NumberRange.new(-50,50)
  3846. local effx2 = effx:Clone()
  3847. effx2.Parent = root
  3848. effx2.Color = ColorSequence.new(col2)
  3849. effx2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,150,0)})
  3850. --CFuncs["Sound"].Create("rbxassetid://2095993595", root, 10, 1)
  3851. for i = 0, 1 do
  3852. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 5, 1)
  3853. CFuncs["Sound"].Create("rbxassetid://1042693018", root, 5, 0.8)
  3854. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 4,0.75)
  3855. CFuncs["Sound"].Create("rbxassetid://1664711478", root, 4,1)
  3856. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 0.75)
  3857. CFuncs["Sound"].Create("rbxassetid://782353443", root, 8, 0.9)
  3858. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 0.8)
  3859. CFuncs["Sound"].Create("rbxassetid://782353443", root, 4, 0.7)
  3860. end
  3861. spherec(1,"Add",root.CFrame*CFrame.Angles(0,0,0),vt(0,0,0),1,1,1,col2)
  3862. spherec(2,"Add",root.CFrame*CFrame.Angles(0,0,0),vt(0,0,0),1.5,1.5,1.5,col1)
  3863. spherec(3,"Add",root.CFrame*CFrame.Angles(0,0,0),vt(0,0,0),2,2,2,col2)
  3864. spherec(4,"Add",root.CFrame*CFrame.Angles(0,0,0),vt(0,0,0),2.5,2.5,2.5,col1)
  3865. symbolizeBlink(root,0,144580273,col1,25,0,0,0,root,true,-5,2)
  3866. symbolizeBlink(root,0,144580273,col2,20,0,0,0,root,true,-5,1)
  3867. symbolizeBlink(root,0,144580273,col2,22.5,0,0,0,root,true,-5,1.5)
  3868. symbolizeBlink(root,0,348103573,col2,22.5,0,0,0,root,true,-5,1.5)
  3869. symbolizeBlink(root,0,348103573,col2,30,0,0,0,root,true,-25,1)
  3870. symbolizeBlink(root,0,348103573,col1,40,0,0,0,root,true,-25,1)
  3871. coroutine.resume(coroutine.create(function()
  3872. wait(0.05)
  3873. effx.Enabled = false
  3874. effx2.Enabled = false
  3875. wait(2)
  3876. effx:Destroy()
  3877. effx2:Destroy()
  3878. end))
  3879. end
  3880. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled,sectrailenabled)
  3881. for i, v in pairs(mw2:GetDescendants()) do
  3882. if v:IsA("Part") or v:IsA("UnionOperation") then
  3883. v.Color = one
  3884. v.Material = "Neon"
  3885. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  3886. v.Color = ColorSequence.new(one)
  3887. end
  3888. end
  3889. burstswitch(one,two)
  3890. for i, v in pairs(mw1:GetDescendants()) do
  3891. if v:IsA("Part") or v:IsA("UnionOperation") then
  3892. v.Color = two
  3893. v.Material = "Neon"
  3894. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  3895. v.Color = ColorSequence.new(two)
  3896. end
  3897. end
  3898. end
  3899.  
  3900. function rtsc(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled,sectrailenabled)
  3901. for i, v in pairs(mw2:GetDescendants()) do
  3902. if v:IsA("Part") or v:IsA("UnionOperation") then
  3903. v.Color = one
  3904. v.Material = "Neon"
  3905. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  3906. v.Color = ColorSequence.new(one)
  3907. end
  3908. end
  3909. for i, v in pairs(mw1:GetDescendants()) do
  3910. if v:IsA("Part") or v:IsA("UnionOperation") then
  3911. v.Color = two
  3912. v.Material = "Neon"
  3913. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  3914. v.Color = ColorSequence.new(two)
  3915. end
  3916. end
  3917. end
  3918.  
  3919.  
  3920. --- abiliti
  3921.  
  3922. ---- Star/Velnorum's Abilities
  3923. function ExtinctiveHeartbreak()
  3924. local targetted = nil
  3925. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3926. targetted = mouse.Target.Parent
  3927. end
  3928. if targetted ~= nil then
  3929. attack = true
  3930. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3931. for i = 0, 9 do
  3932. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  3933. end
  3934. for i = 0, 24 do
  3935. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  3936. end
  3937. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  3938. local originalpos = root.CFrame
  3939. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  3940. for i = 0, 9 do
  3941. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  3942. end
  3943. for i = 0, 24 do
  3944. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  3945. end
  3946. hum.WalkSpeed = 0
  3947. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  3948. local radm = math.random(1,3)
  3949. if radm == 1 then
  3950. bosschatfunc("YOU WONT BE NECCESSARY.",MRCL.Color,2)
  3951. elseif radm == 2 then
  3952. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MRCL.Color,2)
  3953. elseif radm == 3 then
  3954. bosschatfunc("DIE!",MRCL.Color,2)
  3955. end
  3956. for i = 0,2,0.1 do
  3957. swait()
  3958. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10),math.rad(0)),.4)
  3959. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  3960. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4)
  3961. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  3962. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
  3963. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(60)),.4)
  3964. end
  3965. CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
  3966. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
  3967. for i = 0,2,0.1 do
  3968. swait()
  3969. coroutine.resume(coroutine.create(function()
  3970. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  3971. for i,v in pairs(targetted:GetChildren()) do
  3972. if v:IsA("Part") or v:IsA("MeshPart") then
  3973. v.Velocity = vt(0,0,0)
  3974. end
  3975. end
  3976. end))
  3977. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  3978. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8)
  3979. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  3980. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  3981. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  3982. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(-80)),.8)
  3983. end
  3984. shakes(1.25,1.5)
  3985. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
  3986. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
  3987. for i = 0, 1 do
  3988. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
  3989. end
  3990. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
  3991. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  3992. for i = 0,4,0.1 do
  3993. swait()
  3994. coroutine.resume(coroutine.create(function()
  3995. local dis = CreateParta(char,1,1,"Neon",MRCL)
  3996. dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3997. local at1 = Instance.new("Attachment",dis)
  3998. at1.Position = vt(-25000,0,0)
  3999. local at2 = Instance.new("Attachment",dis)
  4000. at2.Position = vt(25000,0,0)
  4001. local trl = Instance.new('Trail',dis)
  4002. trl.Attachment0 = at1
  4003. trl.FaceCamera = true
  4004. trl.Attachment1 = at2
  4005. trl.Texture = "rbxassetid://1049219073"
  4006. trl.LightEmission = 1
  4007. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4008. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  4009. trl.Lifetime = 5
  4010. local bv = Instance.new("BodyVelocity")
  4011. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4012. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  4013. bv.Parent = dis
  4014. game:GetService("Debris"):AddItem(dis, 5)
  4015. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  4016. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  4017. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  4018. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  4019. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  4020. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  4021. sphere2(5,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,3,3),-0.03,15,-0.03,MRCL)
  4022. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  4023. for i = 0, 2 do
  4024. slash(5,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,350)/250,BrickColor.new("Crimson"))
  4025. end
  4026. symbolizeBlink(targetted.Head,0,2092248396,Color3.new(1,0,0),math.random(3,35),0,0,0,targetted.Head,true,math.random(3,9),0.25)
  4027. for i,v in pairs(targetted:GetChildren()) do
  4028. if v:IsA("Part") or v:IsA("MeshPart") then
  4029. v.Velocity = vt(0,0,0)
  4030. end
  4031. end
  4032. end))
  4033. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  4034. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  4035. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8)
  4036. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  4037. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  4038. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(40)),.8)
  4039. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(170),math.rad(0),math.rad(-30)),.8)
  4040. end
  4041. hum.CameraOffset = vt(0,0,0)
  4042. for i = 0, 49 do
  4043. local dis = CreateParta(char,1,1,"Neon",MRCL)
  4044. dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4045. local at1 = Instance.new("Attachment",dis)
  4046. at1.Position = vt(-50000,0,0)
  4047. local at2 = Instance.new("Attachment",dis)
  4048. at2.Position = vt(50000,0,0)
  4049. local trl = Instance.new('Trail',dis)
  4050. trl.Attachment0 = at1
  4051. trl.FaceCamera = true
  4052. trl.Attachment1 = at2
  4053. trl.Texture = "rbxassetid://1049219073"
  4054. trl.LightEmission = 1
  4055. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4056. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  4057. trl.Lifetime = 5
  4058. local bv = Instance.new("BodyVelocity")
  4059. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4060. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  4061. bv.Parent = dis
  4062. game:GetService("Debris"):AddItem(dis, 5)
  4063. end
  4064. for i = 0, 49 do
  4065. sphere2(math.random(10,75)/10,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,5,5),-0.05,50,-0.05,MRCL)
  4066. slash(math.random(10,30)/15,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(40,500)/250,BrickColor.new("Really red"))
  4067. end
  4068. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  4069. for i = 0, 1 do
  4070. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  4071. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  4072. end
  4073. for i = 0, 4 do
  4074. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  4075. end
  4076. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  4077. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  4078. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  4079. dmg(targetted)
  4080. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  4081. for i = 0, 9 do
  4082. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  4083. end
  4084. for i = 0, 24 do
  4085. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  4086. end
  4087. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  4088. root.CFrame = originalpos
  4089. for i = 0, 9 do
  4090. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  4091. end
  4092. for i = 0, 24 do
  4093. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  4094. end
  4095. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  4096. attack = false
  4097. hum.WalkSpeed = storehumanoidWS
  4098. end
  4099. end
  4100.  
  4101. function CorruptionEvent()
  4102. attack = true
  4103. hum.WalkSpeed = 0
  4104. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  4105. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  4106. local keptcolor = MRCL
  4107. for i = 0,4,0.1 do
  4108. swait()
  4109. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  4110. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MRCL,MRCL.Color)
  4111. RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5),math.rad(-20)),.1)
  4112. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1)
  4113. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  4114. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  4115. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  4116. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  4117. end
  4118. shakes(0.5,1)
  4119. symbolizeBlink(root,0,2109052855,MRCL.Color,25,0,0,0,root,false,0,1)
  4120. symbolizeBlink(root,0,2109052855,MRCL.Color,25,0,0,0,root,false,0,1.5)
  4121. symbolizeBlink(root,0,2109052855,MRCL.Color,25,0,0,0,root,false,0,3)
  4122. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  4123. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  4124. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  4125. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  4126. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  4127. coroutine.resume(coroutine.create(function()
  4128. local eff = Instance.new("ParticleEmitter",cen)
  4129. eff.Texture = "rbxassetid://2344870656"
  4130. eff.LightEmission = 1
  4131. eff.Color = ColorSequence.new(keptcolor.Color)
  4132. eff.Rate = 10000000
  4133. eff.Enabled = true
  4134. eff.EmissionDirection = "Front"
  4135. eff.Lifetime = NumberRange.new(2)
  4136. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,80,0),NumberSequenceKeypoint.new(1,140,0)})
  4137. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4138. eff.Speed = NumberRange.new(500)
  4139. eff.Drag = 5
  4140. eff.Rotation = NumberRange.new(-500,500)
  4141. eff.SpreadAngle = Vector2.new(0,900)
  4142. eff.RotSpeed = NumberRange.new(-500,500)
  4143. wait(0.2)
  4144. eff.Enabled = false
  4145. wait(5)
  4146. eff:Destroy()
  4147. end))
  4148. hum.CameraOffset = vt(0,0,0)
  4149. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MRCL,MRCL.Color)
  4150. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MRCL,MRCL.Color)
  4151. for i = 0, 24 do
  4152. slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
  4153. end
  4154. local rrot = 0
  4155. coroutine.resume(coroutine.create(function()
  4156. for i = 0, 4 do
  4157. rrot = rrot + 45
  4158. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  4159. xa.Anchored = true
  4160. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  4161. xb.Anchored = true
  4162. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  4163. xc.Anchored = true
  4164. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  4165. xd.Anchored = true
  4166. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  4167. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  4168. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  4169. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  4170. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  4171. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  4172. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  4173. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  4174. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  4175. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  4176. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  4177. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  4178. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  4179. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  4180. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  4181. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  4182. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  4183. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  4184. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  4185. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  4186. for i = 0, 9 do
  4187. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  4188. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xb.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  4189. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xc.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  4190. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xd.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  4191. end
  4192. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  4193. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  4194. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  4195. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  4196. sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  4197. sphere2(2,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  4198. sphere2(2,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  4199. sphere2(2,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  4200. sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  4201. sphere2(4,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  4202. sphere2(4,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  4203. sphere2(4,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  4204. game:GetService("Debris"):AddItem(xa, 5)
  4205. game:GetService("Debris"):AddItem(xb, 5)
  4206. game:GetService("Debris"):AddItem(xc, 5)
  4207. game:GetService("Debris"):AddItem(xd, 5)
  4208. coroutine.resume(coroutine.create(function()
  4209. for i = 0, 19 do
  4210. swait()
  4211. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  4212. end
  4213. hum.CameraOffset = vt(0,0,0)
  4214. end))
  4215. swait(9)
  4216. end
  4217. end))
  4218. for i = 0,2,0.1 do
  4219. swait()
  4220. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(10)),.8)
  4221. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(10)),.8)
  4222. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  4223. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  4224. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  4225. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  4226. end
  4227. attack = false
  4228. hum.WalkSpeed = storehumanoidWS
  4229. end
  4230.  
  4231. function EndGROUND()
  4232. attack = true
  4233. hum.WalkSpeed = 0
  4234. bosschatfunc("THIS IS IT!",MRCL.Color,1)
  4235. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  4236. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  4237. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  4238. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  4239. local keptcolor = MRCL
  4240. for i = 0,4,0.1 do
  4241. swait()
  4242. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  4243. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MRCL,MRCL.Color)
  4244. slash(math.random(25,50)/10,5,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-6,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.01,0.1),-0.1,BrickColor.new("Really black"))
  4245. RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-15),math.rad(-20)),.1)
  4246. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1)
  4247. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  4248. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  4249. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  4250. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  4251. end
  4252. shakes(0.5,1)
  4253. symbolizeBlink(root,0,2109052855,MRCL.Color,25,0,0,0,root,false,0,1)
  4254. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  4255. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  4256. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  4257. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  4258. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  4259. coroutine.resume(coroutine.create(function()
  4260. local eff = Instance.new("ParticleEmitter",cen)
  4261. eff.Texture = "rbxassetid://2344870656"
  4262. eff.LightEmission = 1
  4263. eff.Color = ColorSequence.new(keptcolor.Color)
  4264. eff.Rate = 10000000
  4265. eff.Enabled = true
  4266. eff.EmissionDirection = "Front"
  4267. eff.Lifetime = NumberRange.new(2)
  4268. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,80,0),NumberSequenceKeypoint.new(1,140,0)})
  4269. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4270. eff.Speed = NumberRange.new(500)
  4271. eff.Drag = 5
  4272. eff.Rotation = NumberRange.new(-500,500)
  4273. eff.SpreadAngle = Vector2.new(0,900)
  4274. eff.RotSpeed = NumberRange.new(-500,500)
  4275. wait(0.2)
  4276. eff.Enabled = false
  4277. wait(5)
  4278. eff:Destroy()
  4279. end))
  4280. coroutine.resume(coroutine.create(function()
  4281. local shval = 10
  4282. for i = 0, 99 do
  4283. swait()
  4284. shval = shval - 0.1
  4285. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  4286. end
  4287. hum.CameraOffset = vt(0,0,0)
  4288. end))
  4289. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MRCL,MRCL.Color)
  4290. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MRCL,MRCL.Color)
  4291. for i = 0, 24 do
  4292. slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
  4293. end
  4294. local rrot = 0
  4295. local xam = 1
  4296. coroutine.resume(coroutine.create(function()
  4297. for i = 0, 14 do
  4298. --swait()
  4299. rrot = rrot + 40*xam
  4300. xam = xam + 0.25
  4301. local bonus = xam
  4302. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  4303. xa.Anchored = true
  4304. xa.Color = Color3.new(0,0,0)
  4305. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  4306. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  4307. local xc = 0
  4308. coroutine.resume(coroutine.create(function()
  4309. for i = 0, 99 do
  4310. swait()
  4311. xc = xc + 0.01
  4312. xa.Color = Color3.new(xc,0,0)
  4313. end
  4314. shakes(0.35,0.5)
  4315. xa.Transparency = 1
  4316. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  4317. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  4318. for i = 0, 9 do
  4319. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01*bonus,0.01,0.01*bonus),math.random(50,125)/250*bonus,BrickColor.new("Really black"))
  4320. end
  4321. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30*bonus,30*bonus,30*bonus),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  4322. sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25*bonus,1,25*bonus),0.05*bonus,1.5*bonus,0.05*bonus,keptcolor,keptcolor.Color)
  4323. sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30*bonus,1,30*bonus),0.05*bonus,1.5*bonus,0.05*bonus,BrickColor.new("Really black"),Color3.new(0,0,0))
  4324. game:GetService("Debris"):AddItem(xa, 5)
  4325. coroutine.resume(coroutine.create(function()
  4326. for i = 0, 19 do
  4327. swait()
  4328. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  4329. end
  4330. hum.CameraOffset = vt(0,0,0)
  4331. end))
  4332. end))
  4333. end
  4334. end))
  4335. for i = 0,2,0.1 do
  4336. swait()
  4337. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-25),math.rad(30)),.8)
  4338. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.8)
  4339. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  4340. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  4341. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  4342. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  4343. end
  4344. attack = false
  4345. hum.WalkSpeed = storehumanoidWS
  4346. end
  4347.  
  4348. function HeavenlyDisk()
  4349. attack = true
  4350. hum.WalkSpeed = 2
  4351. local keptcolor = MRCL
  4352. local radm = math.random(1,3)
  4353. if radm == 1 then
  4354. bosschatfunc("Dont make this too easy for you.",MRCL.Color,1)
  4355. elseif radm == 2 then
  4356. bosschatfunc("Heavenly Disks!",MRCL.Color,1)
  4357. elseif radm == 3 then
  4358. bosschatfunc("Take it!",MRCL.Color,1)
  4359. end
  4360. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  4361. CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
  4362. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  4363. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color)
  4364. for i = 0, 14 do
  4365. PixelBlock(1,math.random(1,3),"Add",larm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,BrickColor.new("Toothpaste"),0)
  4366. end
  4367. for i = 0,2,0.1 do
  4368. swait()
  4369. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  4370. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3)
  4371. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.3)
  4372. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  4373. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  4374. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  4375. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  4376. end
  4377. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  4378. for i = 0,1,0.6 do
  4379. swait()
  4380. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  4381. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  4382. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  4383. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  4384. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  4385. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  4386. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  4387. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  4388. end
  4389. for i = 0,1,0.6 do
  4390. swait()
  4391. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  4392. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  4393. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  4394. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  4395. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  4396. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  4397. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  4398. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  4399. end
  4400. for i = 0,1,0.6 do
  4401. swait()
  4402. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  4403. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  4404. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  4405. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  4406. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  4407. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  4408. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  4409. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  4410. end
  4411. for i = 0,1,0.6 do
  4412. swait()
  4413. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  4414. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  4415. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  4416. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  4417. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  4418. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  4419. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  4420. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  4421. end
  4422. local rot = 15
  4423. for i = 0, 2 do
  4424. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  4425. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  4426. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  4427. CreateMesh(dis,"Sphere",10,1,10)
  4428. local at1 = Instance.new("Attachment",dis)
  4429. at1.Position = vt(-5,0,0)
  4430. local at2 = Instance.new("Attachment",dis)
  4431. at2.Position = vt(5,0,0)
  4432. local trl = Instance.new('Trail',dis)
  4433. trl.Attachment0 = at1
  4434. trl.Attachment1 = at2
  4435. trl.Texture = "rbxassetid://1049219073"
  4436. trl.LightEmission = 1
  4437. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4438. trl.Color = ColorSequence.new(dis.Color)
  4439. trl.Lifetime = 0.6
  4440. local a = Instance.new("Part",workspace)
  4441. a.Name = "Direction"
  4442. a.Anchored = true
  4443. a.BrickColor = bc("Bright red")
  4444. a.Material = "Neon"
  4445. a.Transparency = 1
  4446. a.CanCollide = false
  4447. local ray = Ray.new(
  4448. dis.CFrame.p, -- origin
  4449. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  4450. )
  4451. local ignore = dis
  4452. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4453. a.BottomSurface = 10
  4454. a.TopSurface = 10
  4455. local distance = (dis.CFrame.p - position).magnitude
  4456. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4457. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  4458. dis.CFrame = a.CFrame
  4459. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4460. a:Destroy()
  4461. local bv = Instance.new("BodyVelocity")
  4462. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4463. bv.velocity = dis.CFrame.lookVector*250
  4464. bv.Parent = dis
  4465. game:GetService("Debris"):AddItem(dis, 5)
  4466. local hitted = false
  4467. coroutine.resume(coroutine.create(function()
  4468. dis.Touched:connect(function(hit)
  4469. if hitted == false and hit.Parent ~= char then
  4470. hitted = true
  4471. shakes(0.15,0.25)
  4472. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  4473. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  4474. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  4475. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  4476. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  4477. coroutine.resume(coroutine.create(function()
  4478. local eff = Instance.new("ParticleEmitter",dis)
  4479. eff.Texture = "rbxassetid://2344870656"
  4480. eff.LightEmission = 1
  4481. eff.Color = ColorSequence.new(dis.Color)
  4482. eff.Rate = 10000000
  4483. eff.Enabled = true
  4484. eff.EmissionDirection = "Front"
  4485. eff.Lifetime = NumberRange.new(1)
  4486. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  4487. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4488. eff.Speed = NumberRange.new(150)
  4489. eff.Drag = 5
  4490. eff.Rotation = NumberRange.new(-500,500)
  4491. eff.SpreadAngle = Vector2.new(0,900)
  4492. eff.RotSpeed = NumberRange.new(-500,500)
  4493. wait(0.2)
  4494. eff.Enabled = false
  4495. end))
  4496. coroutine.resume(coroutine.create(function()
  4497. for i = 0, 9 do
  4498. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  4499. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4500. local at1 = Instance.new("Attachment",disr)
  4501. at1.Position = vt(-2,0,0)
  4502. local at2 = Instance.new("Attachment",disr)
  4503. at2.Position = vt(2,0,0)
  4504. local trl = Instance.new('Trail',disr)
  4505. trl.Attachment0 = at1
  4506. trl.FaceCamera = true
  4507. trl.Attachment1 = at2
  4508. trl.Texture = "rbxassetid://2342682798"
  4509. trl.LightEmission = 1
  4510. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4511. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  4512. trl.Lifetime = 0.5
  4513. local bv = Instance.new("BodyVelocity")
  4514. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4515. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  4516. bv.Parent = disr
  4517. local val = 0
  4518. coroutine.resume(coroutine.create(function()
  4519. swait(30)
  4520. for i = 0, 9 do
  4521. swait()
  4522. val = val + 0.1
  4523. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  4524. end
  4525. game:GetService("Debris"):AddItem(disr, 3)
  4526. end))
  4527. end
  4528. local eff = Instance.new("ParticleEmitter",dis)
  4529. eff.Texture = "rbxassetid://2273224484"
  4530. eff.LightEmission = 1
  4531. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  4532. eff.Rate = 500000
  4533. eff.Lifetime = NumberRange.new(0.5,2)
  4534. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  4535. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4536. eff.Speed = NumberRange.new(20,250)
  4537. eff.Drag = 5
  4538. eff.Rotation = NumberRange.new(-500,500)
  4539. eff.VelocitySpread = 9000
  4540. eff.RotSpeed = NumberRange.new(-50,50)
  4541. wait(0.25)
  4542. eff.Enabled = false
  4543. end))
  4544. for i = 0, 9 do
  4545. slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
  4546. end
  4547. for i = 0, 19 do
  4548. PixelBlock(1,math.random(5,20),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
  4549. end
  4550. coroutine.resume(coroutine.create(function()
  4551. for i = 0, 19 do
  4552. swait()
  4553. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  4554. end
  4555. hum.CameraOffset = vt(0,0,0)
  4556. end))
  4557. dis.Anchored = true
  4558. dis.Transparency = 1
  4559. wait(8)
  4560. dis:Destroy()
  4561. end
  4562. end)
  4563. end))
  4564. rot = rot - 15
  4565. end
  4566. for i = 0,2,0.1 do
  4567. swait()
  4568. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3)
  4569. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.3)
  4570. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  4571. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  4572. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  4573. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  4574. end
  4575. attack = false
  4576. hum.WalkSpeed = storehumanoidWS
  4577. end
  4578.  
  4579. function EternalChaosOrb()
  4580. attack = true
  4581. hum.WalkSpeed = 1
  4582. local keptcolor = MRCL
  4583. CFuncs["Sound"].Create("rbxassetid://1042700914", root, 5, 0.25)
  4584. for i = 0,14,0.1 do
  4585. swait()
  4586. slash(math.random(25,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,6,1)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.2,0.01,0.2),-0.2,BrickColor.random())
  4587. sphere2(3,"Add",root.CFrame*CFrame.new(0,6,0) + root.CFrame.lookVector*1,vt(3,3,3),0.06,0.06,0.06,MRCL)
  4588. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  4589. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-35),math.rad(0),math.rad(0)),.1)
  4590. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, -0.5) * angles(math.rad(170), math.rad(0), math.rad(-20)), 0.1)
  4591. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 1, -0.5) * angles(math.rad(170), math.rad(0), math.rad(20)), 0.1)
  4592. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.1)
  4593. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  4594. end
  4595. local dis = CreateParta(char,0,1,"Neon",BrickColor.new("Black"))
  4596. for i = 0, 4 do
  4597. CFuncs["Sound"].Create("rbxassetid://335657174", dis, 10, 0.5)
  4598. end
  4599. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  4600. CreateMesh(dis,"Sphere",10,10,10)
  4601. local at1 = Instance.new("Attachment",dis)
  4602. at1.Position = vt(-5,0,0)
  4603. local at2 = Instance.new("Attachment",dis)
  4604. at2.Position = vt(5,0,0)
  4605. local trl = Instance.new('Trail',dis)
  4606. trl.Attachment0 = at1
  4607. trl.Attachment1 = at2
  4608. trl.Texture = "rbxassetid://1049219073"
  4609. trl.LightEmission = 1
  4610. trl.FaceCamera = true
  4611. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4612. trl.Color = ColorSequence.new(dis.Color)
  4613. trl.Lifetime = 3
  4614. local efec = Instance.new("ParticleEmitter",dis)
  4615. efec.Texture = "rbxassetid://2109052855"
  4616. efec.LightEmission = 1
  4617. efec.Color = ColorSequence.new(Color3.new(0.5,0,1))
  4618. efec.Rate = 5
  4619. efec.Lifetime = NumberRange.new(3)
  4620. efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(0.2,50,0),NumberSequenceKeypoint.new(0.6,35,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,75,0)})
  4621. efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.25,0),NumberSequenceKeypoint.new(0.6,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  4622. efec.Drag = 5
  4623. efec.LockedToPart = true
  4624. efec.Rotation = NumberRange.new(-500,500)
  4625. efec.VelocitySpread = 9000
  4626. efec.RotSpeed = NumberRange.new(-500,500)
  4627. local a = Instance.new("Part",workspace)
  4628. a.Name = "Direction"
  4629. a.Anchored = true
  4630. a.BrickColor = bc("Bright red")
  4631. a.Material = "Neon"
  4632. a.Transparency = 1
  4633. a.CanCollide = false
  4634. local ray = Ray.new(
  4635. dis.CFrame.p, -- origin
  4636. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  4637. )
  4638. local ignore = dis
  4639. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4640. a.BottomSurface = 10
  4641. a.TopSurface = 10
  4642. local distance = (dis.CFrame.p - position).magnitude
  4643. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4644. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  4645. dis.CFrame = a.CFrame
  4646. a:Destroy()
  4647. local bv = Instance.new("BodyVelocity")
  4648. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4649. bv.velocity = dis.CFrame.lookVector*100
  4650. bv.Parent = dis
  4651. game:GetService("Debris"):AddItem(dis, 15)
  4652. local hitted = false
  4653. coroutine.resume(coroutine.create(function()
  4654. while true do
  4655. swait()
  4656. if hitted == false and dis.Parent ~= nil then
  4657. PixelBlock(3,math.random(0,2),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.05,BrickColor.random(),0)
  4658. trl.Color = ColorSequence.new(Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4659. efec.Color = ColorSequence.new(Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4660. coroutine.resume(coroutine.create(function()
  4661. for i, v in pairs(FindNearestHead(dis.CFrame.p, 50)) do
  4662. if v:FindFirstChild('Head') then
  4663. dmg(v)
  4664. end
  4665. end
  4666. end))
  4667. elseif hitted == true and dis.Parent == nil then
  4668. break
  4669. end
  4670. end
  4671. end))
  4672. coroutine.resume(coroutine.create(function()
  4673. dis.Touched:connect(function(hit)
  4674. if hitted == false and hit.Parent ~= char then
  4675. hitted = true
  4676. shakes(1,1)
  4677. efec.Enabled = false
  4678. for i = 0, 3 do
  4679. CFuncs["Sound"].Create("rbxassetid://1368637781", dis, 7.5,1)
  4680. CFuncs["Sound"].Create("rbxassetid://763718160", dis, 10, 1.1)
  4681. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 10, 1)
  4682. CFuncs["Sound"].Create("rbxassetid://335657174", dis, 10, 1)
  4683. end
  4684. MagniDamage(dis, 125, 82000,345700005, 0, "Normal")
  4685. coroutine.resume(coroutine.create(function()
  4686. for i, v in pairs(FindNearestHead(dis.CFrame.p, 100)) do
  4687. if v:FindFirstChild('Head') then
  4688. dmg(v)
  4689. end
  4690. end
  4691. end))
  4692. sphere2(2,"Add",dis.CFrame,vt(1,1,1),3,3,3,keptcolor,keptcolor.Color)
  4693. sphere2(3,"Add",dis.CFrame,vt(1,1,1),3,3,3,BrickColor.random(),keptcolor.Color)
  4694. sphere2(4,"Add",dis.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),keptcolor.Color)
  4695. sphere2(5,"Add",dis.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),keptcolor.Color)
  4696. coroutine.resume(coroutine.create(function()
  4697. local eff = Instance.new("ParticleEmitter",dis)
  4698. eff.Texture = "rbxassetid://2344870656"
  4699. eff.LightEmission = 1
  4700. eff.Color = ColorSequence.new(dis.Color)
  4701. eff.Rate = 10000000
  4702. eff.Enabled = true
  4703. eff.EmissionDirection = "Front"
  4704. eff.Lifetime = NumberRange.new(3)
  4705. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  4706. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4707. eff.Speed = NumberRange.new(350)
  4708. eff.Drag = 5
  4709. eff.Rotation = NumberRange.new(-500,500)
  4710. eff.SpreadAngle = Vector2.new(0,900)
  4711. eff.RotSpeed = NumberRange.new(-500,500)
  4712. wait(0.2)
  4713. eff.Enabled = false
  4714. end))
  4715. coroutine.resume(coroutine.create(function()
  4716. for i = 0, 9 do
  4717. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  4718. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4719. local at1 = Instance.new("Attachment",disr)
  4720. at1.Position = vt(-30,0,0)
  4721. local at2 = Instance.new("Attachment",disr)
  4722. at2.Position = vt(30,0,0)
  4723. local trl = Instance.new('Trail',disr)
  4724. trl.Attachment0 = at1
  4725. trl.FaceCamera = true
  4726. trl.Attachment1 = at2
  4727. trl.Texture = "rbxassetid://2342682798"
  4728. trl.LightEmission = 1
  4729. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4730. trl.Color = ColorSequence.new(Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4731. trl.Lifetime = 0.5
  4732. local bv = Instance.new("BodyVelocity")
  4733. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4734. bv.velocity = disr.CFrame.lookVector*math.random(150,350)
  4735. bv.Parent = disr
  4736. local val = 0
  4737. coroutine.resume(coroutine.create(function()
  4738. swait(30)
  4739. for i = 0, 9 do
  4740. swait()
  4741. val = val + 0.1
  4742. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  4743. end
  4744. game:GetService("Debris"):AddItem(disr, 3)
  4745. end))
  4746. end
  4747. local eff = Instance.new("ParticleEmitter",dis)
  4748. eff.Texture = "rbxassetid://2273224484"
  4749. eff.LightEmission = 1
  4750. eff.Color = ColorSequence.new(Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4751. eff.Rate = 500000
  4752. eff.Lifetime = NumberRange.new(0.5,2)
  4753. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,4,0),NumberSequenceKeypoint.new(1,0,0)})
  4754. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4755. eff.Speed = NumberRange.new(100,400)
  4756. eff.Drag = 5
  4757. eff.Rotation = NumberRange.new(-500,500)
  4758. eff.VelocitySpread = 9000
  4759. eff.RotSpeed = NumberRange.new(-50,50)
  4760. wait(0.25)
  4761. eff.Enabled = false
  4762. end))
  4763. for i = 0, 19 do
  4764. slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,800)/250,BrickColor.new("White"))
  4765. end
  4766. for i = 0, 49 do
  4767. PixelBlock(1,math.random(5,40),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,BrickColor.random(),0)
  4768. end
  4769. coroutine.resume(coroutine.create(function()
  4770. for i = 0, 19 do
  4771. swait()
  4772. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  4773. end
  4774. hum.CameraOffset = vt(0,0,0)
  4775. end))
  4776. dis.Anchored = true
  4777. dis.Transparency = 1
  4778. wait(8)
  4779. dis:Destroy()
  4780. end
  4781. end)
  4782. end))
  4783. for i = 0,2,0.1 do
  4784. swait()
  4785. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.5)* angles(math.rad(30),math.rad(0),math.rad(0)),0.3)
  4786. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  4787. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-10)), 0.3)
  4788. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(10)), 0.3)
  4789. RH.C0=clerp(RH.C0,cf(1,-0.75 - 0.05 * math.cos(sine / 25),-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(30)),.3)
  4790. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.3)
  4791. end
  4792. attack = false
  4793. hum.WalkSpeed = storehumanoidWS
  4794. end
  4795.  
  4796. function RapidBurst()
  4797. attack = true
  4798. hum.WalkSpeed = 0
  4799. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  4800. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  4801. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  4802. bosschatfunc("SHATTER!",MRCL.Color,2)
  4803. local keptcolor = MRCL
  4804. for i = 0,8,0.1 do
  4805. swait()
  4806. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  4807. slash(math.random(25,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,25,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,0.01,2),-2,BrickColor.random())
  4808. block(10,"Add",root.CFrame*CFrame.new(0,25,0),vt(0,0,0),0.5,0.5,0.5,BrickColor.random(),Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4809. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-15 - 2 * math.cos(sine / 32))),.1)
  4810. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 2 * math.cos(sine / 32))),.1)
  4811. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(-15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  4812. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  4813. RW.C0=clerp(RW.C0,cf(1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-10 + 3 * math.cos(sine / 45))),.1)
  4814. LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(13 - 3 * math.cos(sine / 45))),.1)
  4815. end
  4816. shakes(1,3)
  4817. for i = 0, 99 do
  4818. local dis = CreateParta(char,1,1,"Neon",MRCL)
  4819. dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4820. local at1 = Instance.new("Attachment",dis)
  4821. at1.Position = vt(-25000,0,0)
  4822. local at2 = Instance.new("Attachment",dis)
  4823. at2.Position = vt(25000,0,0)
  4824. local trl = Instance.new('Trail',dis)
  4825. trl.Attachment0 = at1
  4826. trl.FaceCamera = true
  4827. trl.Attachment1 = at2
  4828. trl.Texture = "rbxassetid://1049219073"
  4829. trl.LightEmission = 1
  4830. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4831. trl.Color = ColorSequence.new(Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4832. trl.Lifetime = 5
  4833. local bv = Instance.new("BodyVelocity")
  4834. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4835. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  4836. bv.Parent = dis
  4837. game:GetService("Debris"):AddItem(dis, 5)
  4838. end
  4839. symbolizeBlink(root,0,2109052855,MRCL.Color,125,0,0,0,root,false,0,1)
  4840. symbolizeBlink(root,0,2109052855,MRCL.Color,125,0,0,0,root,false,0,1.5)
  4841. symbolizeBlink(root,0,2109052855,MRCL.Color,125,0,0,0,root,false,0,3)
  4842. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4843. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4844. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4845. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4846. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  4847. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  4848. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  4849. hum.CameraOffset = vt(0,0,0)
  4850. for i = 0, 24 do
  4851. slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(500,1500)/250,BrickColor.random())
  4852. end
  4853. local distam = 0
  4854. coroutine.resume(coroutine.create(function()
  4855. for i = 0, 99 do
  4856. wait()
  4857. distam = distam + 1
  4858. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  4859. xa.Anchored = true
  4860. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4861. game:GetService("Debris"):AddItem(xa, 5)
  4862. for i = 0, 4 do
  4863. slash(math.random(25,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.random())
  4864. end
  4865. coroutine.resume(coroutine.create(function()
  4866. local eff = Instance.new("ParticleEmitter",xa)
  4867. eff.Texture = "rbxassetid://2344870656"
  4868. eff.LightEmission = 1
  4869. eff.Color = ColorSequence.new(xa.Color)
  4870. eff.Rate = 10000000
  4871. eff.Enabled = true
  4872. eff.Lifetime = NumberRange.new(2.5)
  4873. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  4874. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4875. eff.Speed = NumberRange.new(200)
  4876. eff.Drag = 5
  4877. eff.Rotation = NumberRange.new(-500,500)
  4878. eff.SpreadAngle = Vector2.new(0,900)
  4879. eff.RotSpeed = NumberRange.new(-500,500)
  4880. wait(0.2)
  4881. eff.Enabled = false
  4882. end))
  4883. coroutine.resume(coroutine.create(function()
  4884. local eff = Instance.new("ParticleEmitter",xa)
  4885. eff.Texture = "rbxassetid://2273224484"
  4886. eff.LightEmission = 1
  4887. eff.Color = ColorSequence.new(Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4888. eff.Rate = 500000
  4889. eff.Lifetime = NumberRange.new(1,3)
  4890. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  4891. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4892. eff.Speed = NumberRange.new(50,500)
  4893. eff.Drag = 5
  4894. eff.Rotation = NumberRange.new(-500,500)
  4895. eff.VelocitySpread = 9000
  4896. eff.RotSpeed = NumberRange.new(-50,50)
  4897. wait(0.25)
  4898. eff.Enabled = false
  4899. end))
  4900. coroutine.resume(coroutine.create(function()
  4901. for i = 0, 19 do
  4902. swait()
  4903. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  4904. end
  4905. hum.CameraOffset = vt(0,0,0)
  4906. end))
  4907. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  4908. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4909. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4910. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  4911. end
  4912. end))
  4913. attack = false
  4914. hum.WalkSpeed = storehumanoidWS
  4915. end
  4916.  
  4917.  
  4918. function EquinoxOrbs()
  4919. hum.WalkSpeed = 0
  4920. attack = true
  4921. for i = 0,1,0.1 do
  4922. swait()
  4923. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20)),.2)
  4924. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20)),.2)
  4925. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  4926. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  4927. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  4928. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  4929. end
  4930. shakes(0.4,0.5)
  4931. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MRCL)
  4932. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MRCL)
  4933. for i = 0, 24 do
  4934. slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(100,400)/250,BrickColor.new("White"))
  4935. end
  4936. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  4937. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  4938. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  4939. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  4940. for i = 0,4,0.1 do
  4941. swait()
  4942. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  4943. local dis = CreateParta(char,0.25,1,"Neon",MRCL)
  4944. CreateMesh(dis,"Sphere",1,1,1)
  4945. dis.Anchored = true
  4946. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  4947. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  4948. CreateMesh(dis2,"Sphere",1,1,1)
  4949. dis2.Anchored = true
  4950. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  4951. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  4952. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  4953. coroutine.resume(coroutine.create(function()
  4954. swait(60)
  4955. dis.Transparency = 1
  4956. dis2.Transparency = 1
  4957. coroutine.resume(coroutine.create(function()
  4958. for i = 0, 19 do
  4959. swait()
  4960. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  4961. end
  4962. hum.CameraOffset = vt(0,0,0)
  4963. end))
  4964. coroutine.resume(coroutine.create(function()
  4965. local eff = Instance.new("ParticleEmitter",dis)
  4966. eff.Texture = "rbxassetid://2273224484"
  4967. eff.LightEmission = 1
  4968. eff.Color = ColorSequence.new(dis.Color)
  4969. eff.Rate = 500000
  4970. eff.Lifetime = NumberRange.new(0.5,2)
  4971. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  4972. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4973. eff.Speed = NumberRange.new(50,450)
  4974. eff.Drag = 5
  4975. eff.Rotation = NumberRange.new(-500,500)
  4976. eff.VelocitySpread = 9000
  4977. eff.RotSpeed = NumberRange.new(-50,50)
  4978. local eff2 = eff:Clone()
  4979. eff2.Parent = dis2
  4980. eff2.LightEmission = 0
  4981. eff2.Color = ColorSequence.new(dis2.Color)
  4982. wait(0.25)
  4983. eff.Enabled = false
  4984. eff2.Enabled = false
  4985. end))
  4986. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  4987. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  4988. for i = 0, 2 do
  4989. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis.BrickColor)
  4990. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis2.BrickColor)
  4991. end
  4992. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  4993. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  4994. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  4995. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  4996. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  4997. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  4998. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  4999. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  5000. end))
  5001. game:GetService("Debris"):AddItem(dis, 5)
  5002. game:GetService("Debris"):AddItem(dis2, 5)
  5003. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20)),.2)
  5004. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20)),.2)
  5005. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  5006. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  5007. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  5008. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  5009. end
  5010. attack = false
  5011. hum.WalkSpeed = storehumanoidWS
  5012. end
  5013.  
  5014. function roldbeam()
  5015. attack = true
  5016. hum.WalkSpeed = 0
  5017. local rngb = Instance.new("Part", char)
  5018. rngb.Anchored = true
  5019. rngb.BrickColor = origcolor
  5020. rngb.CanCollide = false
  5021. rngb.FormFactor = 3
  5022. rngb.Name = "Ring"
  5023. rngb.Material = "Neon"
  5024. rngb.Size = Vector3.new(1, 0.05, 1)
  5025. rngb.Transparency = 1
  5026. rngb.TopSurface = 0
  5027. rngb.BottomSurface = 0
  5028. local rngmb = Instance.new("SpecialMesh", rngb)
  5029. rngmb.MeshType = "Brick"
  5030. rngmb.Name = "SizeMesh"
  5031. rngmb.Scale = vt(0,1,0)
  5032.  
  5033. local orb = rngb:Clone()
  5034. orb.Parent = char
  5035. orb.Transparency = 0
  5036. orb.BrickColor = BrickColor.new("White")
  5037. orb.Size = vt(1,1,1)
  5038. local orbmish = orb.SizeMesh
  5039. orbmish.Scale = vt(0,0,0)
  5040. orbmish.MeshType = "Sphere"
  5041.  
  5042. local orbe = rngb:Clone()
  5043. orbe.Parent = char
  5044. orbe.Transparency = 0.5
  5045. orbe.BrickColor = BrickColor.new("New Yeller")
  5046. orbe.Size = vt(1,1,1)
  5047. local orbmish2 = orbe.SizeMesh
  5048. orbmish2.Scale = vt(0,0,0)
  5049. orbmish2.MeshType = "Sphere"
  5050. orbe.Color = Color3.new(r/255,g/255,b/255)
  5051.  
  5052. local obj1 = script.chring2:Clone()
  5053. obj1.Parent = char
  5054. obj1.Transparency = 1
  5055. obj1.Size = vt(1,1,1)
  5056. obj1.Color = BrickColor.new("White").Color
  5057.  
  5058. rngb:Destroy()
  5059. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  5060. local scaled = 1
  5061. for i = 0,5,0.1 do
  5062. swait()
  5063. scaled = scaled - 0.02
  5064. if rainbowmode == true then
  5065. orbe.Color = Color3.new(r/255,g/255,b/255)
  5066. end
  5067. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  5068. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  5069. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5070. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5071. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MRCL,25)
  5072. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  5073. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  5074. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  5075. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5076. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  5077. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  5078. RootPart.CFrame = FaceMouse()[1]
  5079. end]]--
  5080. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 2)
  5081. local rval = 0
  5082. local effx = Instance.new("ParticleEmitter",obj1)
  5083. effx.Texture = "rbxassetid://2344870656"
  5084. effx.LightEmission = 1
  5085. effx.Color = ColorSequence.new(Color3.new(1,1,1))
  5086. effx.Rate = 10000000
  5087. effx.Enabled = true
  5088. effx.EmissionDirection = "Front"
  5089. effx.Lifetime = NumberRange.new(0.5)
  5090. effx.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  5091. effx.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5092. effx.Speed = NumberRange.new(50)
  5093. effx.Drag = 5
  5094. effx.Rotation = NumberRange.new(-500,500)
  5095. effx.SpreadAngle = Vector2.new(900,900)
  5096. effx.RotSpeed = NumberRange.new(-500,500)
  5097. for i = 0,2,0.1 do
  5098. swait()
  5099. if rainbowmode == true then
  5100. obj1.Color = Color3.new(r/255,g/255,b/255)
  5101. orbe.Color = Color3.new(r/255,g/255,b/255)
  5102. effx.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  5103. end
  5104. rval = rval + math.random(30,40)
  5105. obj1.Transparency = obj1.Transparency - 0.05
  5106. obj1.Size = obj1.Size + vt(1.5,1.5,0.3)
  5107. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  5108. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5109. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5110. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  5111. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  5112. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  5113. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5114. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  5115. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  5116. end
  5117. orbe.Transparency = 1
  5118. orb.Transparency = 1
  5119. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  5120. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1.5)
  5121. local a = Instance.new("Part",Character)
  5122. a.Name = "Direction"
  5123. a.Anchored = true
  5124. a.BrickColor = bc("White")
  5125. a.Material = "Neon"
  5126. a.Transparency = 0
  5127. a.Shape = "Cylinder"
  5128. a.CanCollide = false
  5129. local a2 = Instance.new("Part",Character)
  5130. a2.Name = "Direction"
  5131. a2.Anchored = true
  5132. a2.BrickColor = bc("New Yeller")
  5133. a2.Color = Color3.new(r/255,g/255,b/255)
  5134. a2.Material = "Neon"
  5135. a2.Transparency = 0.5
  5136. a2.Shape = "Cylinder"
  5137. a2.CanCollide = false
  5138. local ba = Instance.new("Part",Character)
  5139. ba.Name = "HitDirect"
  5140. ba.Anchored = true
  5141. ba.BrickColor = bc("Cool yellow")
  5142. ba.Material = "Neon"
  5143. ba.Transparency = 1
  5144. ba.CanCollide = false
  5145. local ray = Ray.new(
  5146. orb.CFrame.p, -- origin
  5147. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5148. )
  5149. local ignore = Character
  5150. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5151. a.BottomSurface = 10
  5152. a.TopSurface = 10
  5153. a2.BottomSurface = 10
  5154. a2.TopSurface = 10
  5155. local distance = (orb.CFrame.p - position).magnitude
  5156. a.Size = Vector3.new(distance, 1, 1)
  5157. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5158. a2.Size = Vector3.new(distance, 1, 1)
  5159. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5160. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5161. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5162. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5163. game:GetService("Debris"):AddItem(a, 20)
  5164. game:GetService("Debris"):AddItem(a2, 20)
  5165. game:GetService("Debris"):AddItem(ba, 20)
  5166. local msh = Instance.new("SpecialMesh",a)
  5167. msh.MeshType = "Cylinder"
  5168. msh.Scale = vt(1,5*5,5*5)
  5169. local msh2 = Instance.new("SpecialMesh",a2)
  5170. msh2.MeshType = "Cylinder"
  5171. msh2.Scale = vt(1,6*5,6*5)
  5172. local eff = Instance.new("ParticleEmitter",ba)
  5173. eff.Texture = "rbxassetid://2344870656"
  5174. eff.LightEmission = 1
  5175. eff.Color = ColorSequence.new(Color3.new(1,1,1))
  5176. eff.Rate = 10000000
  5177. eff.Enabled = true
  5178. eff.EmissionDirection = "Front"
  5179. eff.Lifetime = NumberRange.new(1)
  5180. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,50,0),NumberSequenceKeypoint.new(0.8,100,0),NumberSequenceKeypoint.new(1,120,0)})
  5181. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5182. eff.Speed = NumberRange.new(50)
  5183. eff.Drag = 5
  5184. eff.Rotation = NumberRange.new(-500,500)
  5185. eff.SpreadAngle = Vector2.new(900,900)
  5186. eff.RotSpeed = NumberRange.new(-500,500)
  5187. local eff2 = eff:Clone()
  5188. eff2.Parent = ba
  5189. eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.1,3,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  5190. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5191. eff2.Speed = NumberRange.new(350)
  5192. shakes(0.6,1.25)
  5193. for i = 0,10,0.1 do
  5194. swait()
  5195. rval = rval + math.random(30,40)
  5196. obj1.Color = Color3.new(r/255,g/255,b/255)
  5197. effx.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  5198. eff.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  5199. eff2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  5200. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  5201. a2.Color = Color3.new(r/255,g/255,b/255)
  5202. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5203. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5204. ray = Ray.new(
  5205. orb.CFrame.p, -- origin
  5206. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5207. )
  5208. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5209. distance = (orb.CFrame.p - position).magnitude
  5210. a.Size = Vector3.new(distance, 1, 1)
  5211. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5212. a2.Size = Vector3.new(distance, 1, 1)
  5213. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5214. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5215. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5216. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5217. msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5)
  5218. msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5)
  5219. slash(math.random(50,80)/10,5,true,"Round","Add","Out",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,250)/250,ba.BrickColor)
  5220. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MRCL,0)
  5221. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MRCL,0)
  5222. sphereMK(5,2.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,100,-0.03,MRCL,0)
  5223. MagniDamage(ba, 30, 500,60000, 0, "Normal")
  5224. end
  5225. a:Destroy()
  5226. a2:Destroy()
  5227. orb:Destroy()
  5228. orbe:Destroy()
  5229. eff.Enabled = false
  5230. eff2.Enabled = false
  5231. effx.Enabled = false
  5232. coroutine.resume(coroutine.create(function()
  5233. for i = 0,24 do
  5234. swait()
  5235. obj1.Transparency = obj1.Transparency + 0.04
  5236. obj1.Size = obj1.Size + vt(-1,-1,0)
  5237. end
  5238. wait(1)
  5239. obj1:Destroy()
  5240. end))
  5241. coroutine.resume(coroutine.create(function()
  5242. wait(5)
  5243. ba:Destroy()
  5244. end))
  5245. attack = false
  5246. hum.WalkSpeed = storehumanoidWS
  5247. end
  5248.  
  5249. function CalMets()
  5250. attack = true
  5251. hum.WalkSpeed = 0
  5252. local lookavec = 0
  5253. local mult = 1
  5254. local keptcolor = MRCL
  5255. CFuncs["Sound"].Create("rbxassetid://136007472", root, 7, 1.25)
  5256. for i = 0,4,0.1 do
  5257. swait()
  5258. slash(math.random(25,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,10,1)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.2,0.01,0.2),-0.2,keptcolor)
  5259. sphere2(3,"Add",root.CFrame*CFrame.new(0,10,0) + root.CFrame.lookVector*1,vt(3,3,3),0.06,0.06,0.06,MRCL)
  5260. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 5 * math.cos(sine / 51))),.1)
  5261. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 44))),.1)
  5262. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  5263. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-35),math.rad(0),math.rad(0)),.1)
  5264. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, -0.5) * angles(math.rad(170), math.rad(0), math.rad(-20)), 0.1)
  5265. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 1, -0.5) * angles(math.rad(170), math.rad(0), math.rad(20)), 0.1)
  5266. end
  5267. sphere2(2,"Add",root.CFrame*CFrame.new(0,10,0) + root.CFrame.lookVector*1,vt(3,3,3),0.6,0.6,0.6,keptcolor)
  5268. sphere2(4,"Add",root.CFrame*CFrame.new(0,10,0) + root.CFrame.lookVector*1,vt(3,3,3),0.6,0.6,0.6,keptcolor)
  5269. sphere2(3,"Add",root.CFrame*CFrame.new(0,10,0) + root.CFrame.lookVector*1,vt(1,10000,1),0.06,0.06,0.06,keptcolor)
  5270. local elocacenter = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5271. elocacenter.Anchored = true
  5272. elocacenter.CFrame = root.CFrame*CFrame.new(0,150,0)
  5273. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  5274. eloca1.Anchored = true
  5275. eloca1.CFrame = elocacenter.CFrame
  5276. local at1 = Instance.new("Attachment",eloca1)
  5277. at1.Position = vt(0,30,0)
  5278. local at2 = Instance.new("Attachment",eloca1)
  5279. at2.Position = vt(0,-30,0)
  5280. local at1b = Instance.new("Attachment",eloca1)
  5281. at1b.Position = vt(0,0,180)
  5282. local at2b = Instance.new("Attachment",eloca1)
  5283. at2b.Position = vt(0,0,-180)
  5284. local trl = Instance.new('Trail',eloca1)
  5285. trl.Attachment0 = at1
  5286. trl.Attachment1 = at2
  5287. trl.Texture = "rbxassetid://1049219073"
  5288. trl.LightEmission = 1
  5289. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5290. trl.Color = ColorSequence.new(keptcolor.Color)
  5291. trl.Lifetime = 4
  5292. local trl2 = trl:Clone()
  5293. trl2.Parent = eloca1
  5294. trl2.Attachment0 = at1b
  5295. trl2.Attachment1 = at2b
  5296. trl2.Texture = "rbxassetid://2108945559"
  5297. trl2.Lifetime = 2
  5298. local eff = Instance.new("ParticleEmitter",eloca1)
  5299. eff.Texture = "rbxassetid://2273224484"
  5300. eff.LightEmission = 1
  5301. eff.Color = ColorSequence.new(keptcolor.Color)
  5302. eff.Rate = 500000
  5303. eff.Lifetime = NumberRange.new(0.5,3)
  5304. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  5305. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5306. eff.Speed = NumberRange.new(20,250)
  5307. eff.Drag = 5
  5308. eff.Rotation = NumberRange.new(-500,500)
  5309. eff.VelocitySpread = 9000
  5310. eff.RotSpeed = NumberRange.new(-50,50)
  5311. local eloca2 = eloca1:Clone()
  5312. eloca2.Parent = elocacenter
  5313. local eloca3 = eloca1:Clone()
  5314. eloca3.Parent = elocacenter
  5315. local eloca4 = eloca1:Clone()
  5316. eloca4.Parent = elocacenter
  5317. shakes(0.5,0.5)
  5318. sphere2(2,"Add",elocacenter.CFrame,vt(1,1,1),2,2,2,keptcolor)
  5319. sphere2(3,"Add",elocacenter.CFrame,vt(1,1,1),4,4,4,keptcolor)
  5320. sphere2(4,"Add",elocacenter.CFrame,vt(1,1,1),5,5,5,keptcolor)
  5321. sphere2(5,"Add",elocacenter.CFrame,vt(1,1,1),6,6,6,keptcolor)
  5322. sphere2(3,"Add",elocacenter.CFrame,vt(1,1,1),25,0.1,25,keptcolor)
  5323. sphere2(4,"Add",elocacenter.CFrame,vt(1,1,1),25,0.1,25,keptcolor)
  5324. CFuncs["Sound"].Create("rbxassetid://419447292", char, 4, 1)
  5325. local effx = Instance.new("ParticleEmitter",elocacenter)
  5326. effx.Texture = "rbxassetid://144580273" -- 144580273 74564879
  5327. effx.LightEmission = 1
  5328. effx.Color = ColorSequence.new(keptcolor.Color)
  5329. effx.Rate = 500000
  5330. effx.Lifetime = NumberRange.new(0.25,0.75)
  5331. effx.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,200,0)})
  5332. effx.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.5,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5333. effx.Speed = NumberRange.new(0,10)
  5334. effx.Drag = 5
  5335. effx.Rotation = NumberRange.new(-500,500)
  5336. effx.VelocitySpread = 9000
  5337. effx.RotSpeed = NumberRange.new(-50,50)
  5338. coroutine.resume(coroutine.create(function()
  5339. wait(0.05)
  5340. effx.Enabled = false
  5341. end))
  5342. coroutine.resume(coroutine.create(function()
  5343. for i = 0, 9, 0.1 do
  5344. swait()
  5345. mult = mult + 0.5
  5346. lookavec = lookavec + 0.1*mult
  5347. sphere2(5,"Add",elocacenter.CFrame,vt(1,1,1),0.05*lookavec/2,0.001,0.05*lookavec/2,keptcolor)
  5348. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(5*mult/20),0)
  5349. eloca1.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5350. eloca2.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(90),0)*CFrame.new(-lookavec,0,0)
  5351. eloca3.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(180),0)*CFrame.new(-lookavec,0,0)
  5352. eloca4.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(270),0)*CFrame.new(-lookavec,0,0)
  5353. end
  5354. for i = 0, 19 do
  5355. for i = 0, 1, 0.1 do
  5356. swait()
  5357. sphere2(5,"Add",elocacenter.CFrame,vt(1,1,1),0.05*lookavec/2,0.001,0.05*lookavec/2,keptcolor)
  5358. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(5*mult/20),0)
  5359. eloca1.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5360. eloca2.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(90),0)*CFrame.new(-lookavec,0,0)
  5361. eloca3.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(180),0)*CFrame.new(-lookavec,0,0)
  5362. eloca4.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(270),0)*CFrame.new(-lookavec,0,0)
  5363. end
  5364. local lb = Instance.new("Part")
  5365. lb.Color = keptcolor.Color
  5366. lb.CanCollide = false
  5367. lb.Material = "Neon"
  5368. lb.Anchored = true
  5369. lb.TopSurface = 0
  5370. lb.BottomSurface = 0
  5371. lb.Transparency = 0
  5372. lb.Size = vt(1,1,1)
  5373. lb.CFrame = elocacenter.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  5374. lb.Anchored = false
  5375. lb.Parent = char
  5376. local thingery = Instance.new("SpecialMesh",lb)
  5377. thingery.MeshType = "Sphere"
  5378. thingery.Scale = vt(20,20,20)
  5379. game:GetService("Debris"):AddItem(lb, 10)
  5380. local bv = Instance.new("BodyVelocity")
  5381. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5382. bv.velocity = lb.CFrame.lookVector*math.random(125,350)
  5383. bv.Parent = lb
  5384. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,keptcolor)
  5385. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,keptcolor)
  5386. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 10, 1)
  5387. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 10, 1)
  5388. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 10, 1)
  5389. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 10, 1)
  5390. local hitted = false
  5391. local tril = Instance.new("ParticleEmitter",lb)
  5392. tril.Texture = "rbxassetid://144580273" -- 144580273 74564879
  5393. tril.LightEmission = 1
  5394. tril.Color = ColorSequence.new(keptcolor.Color)
  5395. tril.Rate = 500000
  5396. tril.Lifetime = NumberRange.new(0.5,1)
  5397. tril.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(1,0,0)})
  5398. tril.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.5,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5399. tril.Speed = NumberRange.new(0,10)
  5400. tril.Drag = 5
  5401. tril.Rotation = NumberRange.new(-500,500)
  5402. tril.VelocitySpread = 9000
  5403. tril.RotSpeed = NumberRange.new(-50,50)
  5404. game:GetService("Debris"):AddItem(a, 0.1)
  5405.  
  5406. coroutine.resume(coroutine.create(function()
  5407. lb.Touched:connect(function(hit)
  5408. if hitted == false and hit.Parent ~= char then
  5409. hitted = true
  5410. lb.Transparency = 1
  5411. lb.Anchored = true
  5412. tril.Enabled = false
  5413. CFuncs["EchoSound"].Create("rbxassetid://675172759", lb, 8, 0.8,0,10,0.15,0.5,1)
  5414. CFuncs["EchoSound"].Create("rbxassetid://782200047", lb, 10, 1.1,0,10,0.15,0.5,1)
  5415. MagniDamage(lb, 60, 4500,85000, 0, "Normal")
  5416. coroutine.resume(coroutine.create(function()
  5417. for i, v in pairs(FindNearestHead(lb.CFrame.p, 50)) do
  5418. if v:FindFirstChild('Head') then
  5419. dmg(v)
  5420. end
  5421. end
  5422. end))
  5423. local effx = Instance.new("ParticleEmitter",lb)
  5424. effx.Texture = "rbxassetid://144580273" -- 144580273 74564879
  5425. effx.LightEmission = 1
  5426. effx.Color = ColorSequence.new(keptcolor.Color)
  5427. effx.Rate = 500000
  5428. effx.Lifetime = NumberRange.new(0.25,0.75)
  5429. effx.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,200,0)})
  5430. effx.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.5,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5431. effx.Speed = NumberRange.new(0,10)
  5432. effx.Drag = 5
  5433. effx.Rotation = NumberRange.new(-500,500)
  5434. effx.VelocitySpread = 9000
  5435. effx.RotSpeed = NumberRange.new(-50,50)
  5436. sphere(5,"Add",lb.CFrame,vt(20,20,20),1,keptcolor)
  5437. sphere(6,"Add",lb.CFrame,vt(20,20,20),2,keptcolor)
  5438. wait(0.05)
  5439. effx.Enabled = false
  5440. end
  5441. end)
  5442. end))
  5443. end
  5444. for i = 0, 9, 0.1 do
  5445. swait()
  5446. mult = mult - 0.5
  5447. lookavec = lookavec - 0.1*mult
  5448. sphere2(5,"Add",elocacenter.CFrame,vt(1,1,1),0.05*lookavec/2,0.001,0.05*lookavec/2,keptcolor)
  5449. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(5*mult/20),0)
  5450. eloca1.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5451. eloca2.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(90),0)*CFrame.new(-lookavec,0,0)
  5452. eloca3.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(180),0)*CFrame.new(-lookavec,0,0)
  5453. eloca4.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(270),0)*CFrame.new(-lookavec,0,0)
  5454. end
  5455. for i,v in pairs(elocacenter:GetDescendants()) do
  5456. if v:IsA("ParticleEmitter") then
  5457. v.Enabled = false
  5458. end
  5459. end
  5460. wait(6)
  5461. elocacenter:Destroy()
  5462. end))
  5463. attack = false
  5464. hum.WalkSpeed = storehumanoidWS
  5465. end
  5466.  
  5467. function ExtCalbeam()
  5468. local lookavec = 0
  5469. local mult = 1
  5470. local keptcolor = MRCL
  5471. local dis = CreateParta(char,0,1,"Neon",keptcolor)
  5472. for i = 0, 2 do
  5473. CFuncs["Sound"].Create("rbxassetid://335657174", dis, 10, 0.5)
  5474. end
  5475. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5476. CreateMesh(dis,"Sphere",4,4,4)
  5477. local at1 = Instance.new("Attachment",dis)
  5478. at1.Position = vt(-2,0,0)
  5479. local at2 = Instance.new("Attachment",dis)
  5480. at2.Position = vt(2,0,0)
  5481. local trl = Instance.new('Trail',dis)
  5482. trl.Attachment0 = at1
  5483. trl.Attachment1 = at2
  5484. trl.Texture = "rbxassetid://1049219073"
  5485. trl.LightEmission = 1
  5486. trl.FaceCamera = true
  5487. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5488. trl.Color = ColorSequence.new(dis.Color)
  5489. trl.Lifetime = 3
  5490. local efec = Instance.new("ParticleEmitter",dis)
  5491. efec.Texture = "rbxassetid://144580273"
  5492. efec.LightEmission = 1
  5493. efec.Color = ColorSequence.new(keptcolor.Color)
  5494. efec.Rate = 500000
  5495. efec.Lifetime = NumberRange.new(1)
  5496. efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5497. efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5498. efec.Drag = 5
  5499. efec.Rotation = NumberRange.new(-500,500)
  5500. efec.VelocitySpread = 9000
  5501. efec.RotSpeed = NumberRange.new(-500,500)
  5502. local a = Instance.new("Part",workspace)
  5503. a.Name = "Direction"
  5504. a.Anchored = true
  5505. a.BrickColor = bc("Bright red")
  5506. a.Material = "Neon"
  5507. a.Transparency = 1
  5508. a.CanCollide = false
  5509. local ray = Ray.new(
  5510. dis.CFrame.p, -- origin
  5511. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5512. )
  5513. local ignore = dis
  5514. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5515. a.BottomSurface = 10
  5516. a.TopSurface = 10
  5517. local distance = (dis.CFrame.p - position).magnitude
  5518. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5519. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5520. dis.CFrame = a.CFrame
  5521. a:Destroy()
  5522. local bv = Instance.new("BodyVelocity")
  5523. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5524. bv.velocity = dis.CFrame.lookVector*250
  5525. bv.Parent = dis
  5526. game:GetService("Debris"):AddItem(dis, 15)
  5527. local hitted = false
  5528. coroutine.resume(coroutine.create(function()
  5529. dis.Touched:connect(function(hit)
  5530. if hitted == false and hit.Parent ~= char then
  5531. hitted = true
  5532. shakes(1,1)
  5533. efec.Enabled = false
  5534. dis.Anchored = true
  5535. dis.Transparency = 1
  5536. local elocacenter = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5537. elocacenter.Anchored = true
  5538. elocacenter.CFrame = dis.CFrame*CFrame.new(0,1,0)
  5539. elocacenter.Orientation = Vector3.new(0,0,0)
  5540. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  5541. eloca1.Anchored = true
  5542. eloca1.CFrame = elocacenter.CFrame
  5543. local at1 = Instance.new("Attachment",eloca1)
  5544. at1.Position = vt(0,20,0)
  5545. local at2 = Instance.new("Attachment",eloca1)
  5546. at2.Position = vt(0,-20,0)
  5547. local at1b = Instance.new("Attachment",eloca1)
  5548. at1b.Position = vt(0,0,100)
  5549. local at2b = Instance.new("Attachment",eloca1)
  5550. at2b.Position = vt(0,0,-100)
  5551. local trl = Instance.new('Trail',eloca1)
  5552. trl.Attachment0 = at1
  5553. trl.Attachment1 = at2
  5554. trl.Texture = "rbxassetid://1049219073"
  5555. trl.LightEmission = 1
  5556. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5557. trl.Color = ColorSequence.new(keptcolor.Color)
  5558. trl.Lifetime = 4
  5559. local trl2 = trl:Clone()
  5560. trl2.Parent = eloca1
  5561. trl2.Attachment0 = at1b
  5562. trl2.Attachment1 = at2b
  5563. trl2.Texture = "rbxassetid://2108945559"
  5564. trl2.Lifetime = 2
  5565. local eff = Instance.new("ParticleEmitter",eloca1)
  5566. eff.Texture = "rbxassetid://2273224484"
  5567. eff.LightEmission = 1
  5568. eff.Color = ColorSequence.new(keptcolor.Color)
  5569. eff.Rate = 500000
  5570. eff.Lifetime = NumberRange.new(0.5,3)
  5571. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  5572. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5573. eff.Speed = NumberRange.new(20,250)
  5574. eff.Drag = 5
  5575. eff.Rotation = NumberRange.new(-500,500)
  5576. eff.VelocitySpread = 9000
  5577. eff.RotSpeed = NumberRange.new(-50,50)
  5578. local eloca2 = eloca1:Clone()
  5579. eloca2.Parent = elocacenter
  5580. local eloca3 = eloca1:Clone()
  5581. eloca3.Parent = elocacenter
  5582. local eloca4 = eloca1:Clone()
  5583. eloca4.Parent = elocacenter
  5584. sphere2(2,"Add",elocacenter.CFrame,vt(1,1,1),2,2,2,keptcolor)
  5585. sphere2(3,"Add",elocacenter.CFrame,vt(1,1,1),4,4,4,keptcolor)
  5586. sphere2(4,"Add",elocacenter.CFrame,vt(1,1,1),5,5,5,keptcolor)
  5587. sphere2(5,"Add",elocacenter.CFrame,vt(1,1,1),6,6,6,keptcolor)
  5588. for i = 0, 2 do
  5589. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 8, 1)
  5590. CFuncs["Sound"].Create("rbxassetid://1192402877", elocacenter, 10, 0.5)
  5591. end
  5592. local effx = Instance.new("ParticleEmitter",elocacenter)
  5593. effx.Texture = "rbxassetid://144580273" -- 144580273 74564879
  5594. effx.LightEmission = 1
  5595. effx.Color = ColorSequence.new(keptcolor.Color)
  5596. effx.Rate = 500000
  5597. effx.Lifetime = NumberRange.new(0.25,0.75)
  5598. effx.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,200,0)})
  5599. effx.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.5,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5600. effx.Speed = NumberRange.new(0,10)
  5601. effx.Drag = 5
  5602. effx.Rotation = NumberRange.new(-500,500)
  5603. effx.VelocitySpread = 9000
  5604. effx.RotSpeed = NumberRange.new(-50,50)
  5605. coroutine.resume(coroutine.create(function()
  5606. wait(0.05)
  5607. effx.Enabled = false
  5608. end))
  5609. coroutine.resume(coroutine.create(function()
  5610. for i = 0, 9, 0.1 do
  5611. swait()
  5612. mult = mult + 0.5
  5613. lookavec = lookavec + 0.06*mult
  5614. sphere2(5,"Add",elocacenter.CFrame,vt(1,1,1),0.05*lookavec/2,0.001,0.05*lookavec/2,keptcolor)
  5615. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(5*mult/20),0)
  5616. eloca1.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5617. eloca2.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(90),0)*CFrame.new(-lookavec,0,0)
  5618. eloca3.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(180),0)*CFrame.new(-lookavec,0,0)
  5619. eloca4.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(270),0)*CFrame.new(-lookavec,0,0)
  5620. end
  5621. for i = 0, 19, 0.1 do
  5622. swait()
  5623. sphere2(5,"Add",elocacenter.CFrame,vt(1,1,1),0.05*lookavec/2,0.001,0.05*lookavec/2,keptcolor)
  5624. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(5*mult/20),0)
  5625. eloca1.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5626. eloca2.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(90),0)*CFrame.new(-lookavec,0,0)
  5627. eloca3.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(180),0)*CFrame.new(-lookavec,0,0)
  5628. eloca4.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(270),0)*CFrame.new(-lookavec,0,0)
  5629. end
  5630. shakes(1.5,1.5)
  5631. MagniDamage(elocacenter, 200, 50,99, 0, "Normal")
  5632. coroutine.resume(coroutine.create(function()
  5633. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 150)) do
  5634. if v:FindFirstChild('Head') then
  5635. dmg(v)
  5636. end
  5637. end
  5638. end))
  5639. local effe = Instance.new("ParticleEmitter",elocacenter)
  5640. effe.Texture = "rbxassetid://2273224484"
  5641. effe.LightEmission = 1
  5642. effe.Color = ColorSequence.new(keptcolor.Color)
  5643. effe.Rate = 500000
  5644. effe.Lifetime = NumberRange.new(3,5)
  5645. effe.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,150,0),NumberSequenceKeypoint.new(0.2,15,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,0,0)})
  5646. effe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5647. effe.Speed = NumberRange.new(250,1200)
  5648. effe.Drag = 5
  5649. effe.Rotation = NumberRange.new(-500,500)
  5650. effe.VelocitySpread = 9000
  5651. effe.RotSpeed = NumberRange.new(-50,50)
  5652. coroutine.resume(coroutine.create(function()
  5653. effx.Enabled = true
  5654. wait(0.15)
  5655. effx.Enabled = false
  5656. wait(0.25)
  5657. effe.Enabled = false
  5658. end))
  5659. coroutine.resume(coroutine.create(function()
  5660. local elocor = elocacenter
  5661. local lookavec = 0
  5662. local mult = 1
  5663. local elocacenter = CreateParta(elocor,1,1,"SmoothPlastic",BrickColor.random())
  5664. elocacenter.Anchored = true
  5665. elocacenter.CFrame = elocor.CFrame
  5666. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  5667. eloca1.Anchored = true
  5668. eloca1.CFrame = elocacenter.CFrame
  5669. local at1 = Instance.new("Attachment",eloca1)
  5670. at1.Position = vt(0,10,0)
  5671. local at2 = Instance.new("Attachment",eloca1)
  5672. at2.Position = vt(0,-10,0)
  5673. local trl = Instance.new('Trail',eloca1)
  5674. trl.Attachment0 = at1
  5675. trl.Attachment1 = at2
  5676. trl.Texture = "rbxassetid://1049219073"
  5677. trl.LightEmission = 1
  5678. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5679. trl.Color = ColorSequence.new(keptcolor.Color)
  5680. trl.Lifetime = 8
  5681. local eff = Instance.new("ParticleEmitter",eloca1)
  5682. eff.Texture = "rbxassetid://2273224484"
  5683. eff.LightEmission = 1
  5684. eff.Color = ColorSequence.new(keptcolor.Color)
  5685. eff.Rate = 500000
  5686. eff.Lifetime = NumberRange.new(0.5,1)
  5687. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5688. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5689. eff.Speed = NumberRange.new(20,250)
  5690. eff.Drag = 5
  5691. eff.Rotation = NumberRange.new(-500,500)
  5692. eff.VelocitySpread = 9000
  5693. eff.RotSpeed = NumberRange.new(-50,50)
  5694. local eloca2 = eloca1:Clone()
  5695. eloca2.Parent = elocacenter
  5696. local eloca3 = eloca1:Clone()
  5697. eloca3.Parent = elocacenter
  5698. local eloca4 = eloca1:Clone()
  5699. eloca4.Parent = elocacenter
  5700. coroutine.resume(coroutine.create(function()
  5701. for i = 0, 19, 0.1 do
  5702. swait()
  5703. mult = mult + 0.25
  5704. lookavec = lookavec + 0.05*mult
  5705. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(5*mult/10),0)
  5706. eloca1.CFrame = elocacenter.CFrame*CFrame.new(40+lookavec/5,-15+lookavec*2,0)
  5707. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-40-lookavec/5,-15+lookavec*2,0)
  5708. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,-15+lookavec*2,40+lookavec/5)
  5709. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,-15+lookavec*2,-40-lookavec/5)
  5710. end
  5711. for i,v in pairs(elocacenter:GetDescendants()) do
  5712. if v:IsA("ParticleEmitter") then
  5713. v.Enabled = false
  5714. end
  5715. end
  5716. wait(6)
  5717. elocacenter:Destroy()
  5718. end))
  5719. end))
  5720. CFuncs["Sound"].Create("rbxassetid://763717897", char, 3, 1)
  5721. CFuncs["Sound"].Create("rbxassetid://763717897", char, 3, 0.75)
  5722. CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 0.5)
  5723. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 6,0.5)
  5724. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 2.5,1)
  5725. CFuncs["Sound"].Create("rbxassetid://763718160", char, 3, 0.75)
  5726. symbolizeBlink(elocacenter,0,144580273,keptcolor.Color,20,0,0,0,root,true,-5,3)
  5727. symbolizeBlink(elocacenter,0,144580273,keptcolor.Color,40,0,0,0,root,true,-5,3)
  5728. symbolizeBlink(elocacenter,0,144580273,keptcolor.Color,60,0,0,0,root,true,-5,3)
  5729. symbolizeBlink(elocacenter,0,144580273,keptcolor.Color,80,0,0,0,root,true,-5,3)
  5730. sphere2(2,"Add",elocacenter.CFrame,vt(10,10000,10),2,2,2,keptcolor)
  5731. sphere2(1,"Add",elocacenter.CFrame,vt(10,10000,10),2,2,2,keptcolor)
  5732. sphere2(2,"Add",elocacenter.CFrame,vt(10,10,10),5,5,5,keptcolor)
  5733. sphere2(2,"Add",elocacenter.CFrame,vt(10,10,10),7.5,7.5,7.5,keptcolor)
  5734. sphere2(2,"Add",elocacenter.CFrame,vt(10,10,10),10,10,10,keptcolor)
  5735. sphere2(2,"Add",elocacenter.CFrame,vt(10,10,10),2.5,2.5,2.5,keptcolor)
  5736. for i = 0, 29 do
  5737. slash(math.random(10,30)/10,5,true,"Round","Add","Out",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(500,1000)/250,BrickColor.new("White"))
  5738. end
  5739. for i = 0, 9, 0.1 do
  5740. swait()
  5741. mult = mult - 0.5
  5742. lookavec = lookavec - 0.06*mult
  5743. sphere2(5,"Add",elocacenter.CFrame,vt(1,1,1),0.05*lookavec/2,0.001,0.05*lookavec/2,keptcolor)
  5744. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(5*mult/20),0)
  5745. eloca1.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5746. eloca2.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(90),0)*CFrame.new(-lookavec,0,0)
  5747. eloca3.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(180),0)*CFrame.new(-lookavec,0,0)
  5748. eloca4.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(270),0)*CFrame.new(-lookavec,0,0)
  5749. end
  5750. for i,v in pairs(elocacenter:GetDescendants()) do
  5751. if v:IsA("ParticleEmitter") then
  5752. v.Enabled = false
  5753. end
  5754. end
  5755. wait(6)
  5756. elocacenter:Destroy()
  5757. end))
  5758. end
  5759. end)
  5760. end))
  5761. end
  5762.  
  5763. function FallenOrbs()
  5764. attack = true
  5765. hum.WalkSpeed = 2
  5766. local keptcolor = MRCL
  5767. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1)
  5768. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1)
  5769. local radm = math.random(1,3)
  5770. if radm == 1 then
  5771. bosschatfunc("This wont be easy to you.",MRCL.Color,1)
  5772. elseif radm == 2 then
  5773. bosschatfunc("How about this?",MRCL.Color,1)
  5774. elseif radm == 3 then
  5775. bosschatfunc("Swarm!",MRCL.Color,1)
  5776. end
  5777. local obj1 = script.chring:Clone()
  5778. obj1.Parent = char
  5779. obj1.Transparency = 1
  5780. obj1.Color = BrickColor.new("Toothpaste").Color
  5781. local obj2 = script.spball:Clone()
  5782. obj2.Parent = char
  5783. obj2.Transparency = 1
  5784. obj2.Color = MRCL.Color
  5785. local cfor = CreateParta(char,1,1,"Neon",MRCL)
  5786. cfor.Anchored = true
  5787. cfor.CFrame = obj2.CFrame
  5788. local cef = Instance.new("ParticleEmitter",cfor)
  5789. cef.Texture = "rbxassetid://2344870656"
  5790. cef.LightEmission = 1
  5791. cef.Color = ColorSequence.new(obj2.Color)
  5792. cef.Rate = 150
  5793. cef.Lifetime = NumberRange.new(0.25)
  5794. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
  5795. cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  5796. cef.Speed = NumberRange.new(0)
  5797. local rval = 0
  5798. local eval = 1
  5799. CFuncs["Sound"].Create("rbxassetid://136007472", root, 10,0.7)
  5800. for i = 0,10,0.1 do
  5801. swait()
  5802. rval = rval + math.random(30,40)
  5803. eval = eval + 1.5
  5804. obj1.Transparency = obj1.Transparency - 0.003
  5805. obj1.Size = obj1.Size + vt(0,1,1)
  5806. obj1.CFrame = root.CFrame*CFrame.new(0,16,0)*CFrame.Angles(math.rad(0),math.rad(rval),math.rad(-90))
  5807. obj2.Transparency = obj2.Transparency - 0.005
  5808. obj2.Size = obj2.Size + vt(0.5,0.5,0.5)
  5809. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
  5810. obj2.CFrame = root.CFrame*CFrame.new(0,36,0)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  5811. cfor.CFrame = obj2.CFrame
  5812. slash(math.random(50,90)/10,5,true,"Round","Add","In",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,0.01,1),math.random(-400,-200)/250,BrickColor.new("Deep orange"))
  5813. slash(math.random(50,90)/10,5,true,"Round","Add","In",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,0.01,1),math.random(-400,-200)/250,BrickColor.new("Toothpaste"))
  5814. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MRCL,MRCL.Color)
  5815. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.3)
  5816. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.3)
  5817. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),6 + 0.15 * math.cos(sine / 32))*angles(math.rad(-20 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(70)),.3)
  5818. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5 - 2 * math.cos(sine / 37)),math.rad(5 + 1 * math.cos(sine / 58)),math.rad(-70 + 2 * math.cos(sine / 53))),.3)
  5819. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(170 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 45))),.3)
  5820. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(8 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-9 - 4 * math.cos(sine / 45))),.3)
  5821. end
  5822. shakes(0.75,0.5)
  5823. cef.Enabled = false
  5824. coroutine.resume(coroutine.create(function()
  5825. for i = 0,49 do
  5826. swait()
  5827. rval = rval + 100
  5828. obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  5829. obj2.Transparency = obj2.Transparency + 0.02
  5830. obj2.Size = obj2.Size + vt(5,5,5)
  5831. obj1.Transparency = obj1.Transparency + 0.02
  5832. obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  5833. end
  5834. obj1:Destroy()
  5835. obj2:Destroy()
  5836. cfor:Destroy()
  5837. end))
  5838. for i = 0, 9 do
  5839. slash(math.random(10,40)/10,5,true,"Round","Add","Out",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,450)/250,BrickColor.new("Deep orange"))
  5840. slash(math.random(10,40)/10,5,true,"Round","Add","Out",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,450)/250,BrickColor.new("Toothpaste"))
  5841. end
  5842. sphere2(3,"Add",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),1,1,1,MRCL,MRCL.Color)
  5843. sphere2(3,"Add",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),2,2,2,MRCL,MRCL.Color)
  5844. CFuncs["EchoSound"].Create("rbxassetid://675172759", root, 10, 0.8,0,10,0.15,0.5,1)
  5845. CFuncs["EchoSound"].Create("rbxassetid://763717897", root, 7.5, 1.1,0,10,0.15,0.5,1)
  5846. CFuncs["EchoSound"].Create("rbxassetid://675172759", root, 5, 0.7,0,10,0.15,0.5,1)
  5847. coroutine.resume(coroutine.create(function()
  5848. for i = 0, 19 do
  5849. swait()
  5850. local custcol = math.random(1,3)
  5851. local dis = CreateParta(char,0.5,1,"Neon",MRCL)
  5852. if custcol == 1 then
  5853. dis.BrickColor = MRCL
  5854. elseif custcol == 2 then
  5855. dis.BrickColor = BrickColor.new("Toothpaste")
  5856. elseif custcol == 3 then
  5857. dis.BrickColor = BrickColor.new("Deep orange")
  5858. end
  5859. dis.Anchored = true
  5860. --CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  5861. dis.CFrame = root.CFrame*CFrame.new(math.random(-30,30),math.random(11,51),math.random(-30,30))
  5862. CreateMesh(dis,"Sphere",2,2,2)
  5863. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5864. slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(10,50)/250,BrickColor.new("White"))
  5865. coroutine.resume(coroutine.create(function()
  5866. wait(0.5)
  5867. dis.Anchored = false
  5868. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
  5869. local at1 = Instance.new("Attachment",dis)
  5870. at1.Position = vt(-1,0,0)
  5871. local at2 = Instance.new("Attachment",dis)
  5872. at2.Position = vt(1,0,0)
  5873. local trl = Instance.new('Trail',dis)
  5874. trl.Attachment0 = at1
  5875. trl.FaceCamera = true
  5876. trl.Attachment1 = at2
  5877. trl.Texture = "rbxassetid://1049219073"
  5878. trl.LightEmission = 1
  5879. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5880. trl.Color = ColorSequence.new(dis.Color)
  5881. trl.Lifetime = 0.6
  5882. local a = Instance.new("Part",workspace)
  5883. a.Name = "Direction"
  5884. a.Anchored = true
  5885. a.BrickColor = bc("Bright red")
  5886. a.Material = "Neon"
  5887. a.Transparency = 1
  5888. a.CanCollide = false
  5889. local ray = Ray.new(
  5890. dis.CFrame.p, -- origin
  5891. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5892. )
  5893. local ignore = dis
  5894. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5895. a.BottomSurface = 10
  5896. a.TopSurface = 10
  5897. local distance = (dis.CFrame.p - position).magnitude
  5898. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5899. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5900. dis.CFrame = a.CFrame
  5901. a:Destroy()
  5902. local bv = Instance.new("BodyVelocity")
  5903. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5904. bv.velocity = dis.CFrame.lookVector*500
  5905. bv.Parent = dis
  5906. game:GetService("Debris"):AddItem(dis, 5)
  5907. local hitted = false
  5908. coroutine.resume(coroutine.create(function()
  5909. dis.Touched:connect(function(hit)
  5910. if hitted == false and hit.Parent ~= char then
  5911. hitted = true
  5912. shakes(0.2,0.3)
  5913. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
  5914. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  5915. sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,dis.BrickColor,dis.Color)
  5916. sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  5917. coroutine.resume(coroutine.create(function()
  5918. local eff = Instance.new("ParticleEmitter",dis)
  5919. eff.Texture = "rbxassetid://2344870656"
  5920. eff.LightEmission = 1
  5921. eff.Color = ColorSequence.new(dis.Color)
  5922. eff.Rate = 10000000
  5923. eff.Enabled = true
  5924. --eff.EmissionDirection = "Front"
  5925. eff.Lifetime = NumberRange.new(3)
  5926. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  5927. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5928. eff.Speed = NumberRange.new(250)
  5929. eff.Drag = 5
  5930. eff.Rotation = NumberRange.new(-500,500)
  5931. eff.SpreadAngle = Vector2.new(0,900)
  5932. eff.RotSpeed = NumberRange.new(-500,500)
  5933. wait(0.2)
  5934. eff.Enabled = false
  5935. end))
  5936. coroutine.resume(coroutine.create(function()
  5937. for i = 0, 4 do
  5938. local disr = CreateParta(char,1,1,"Neon",dis.BrickColor)
  5939. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5940. local at1 = Instance.new("Attachment",disr)
  5941. at1.Position = vt(-10,0,0)
  5942. local at2 = Instance.new("Attachment",disr)
  5943. at2.Position = vt(10,0,0)
  5944. local trl = Instance.new('Trail',disr)
  5945. trl.Attachment0 = at1
  5946. trl.FaceCamera = true
  5947. trl.Attachment1 = at2
  5948. trl.Texture = "rbxassetid://2342682798"
  5949. trl.LightEmission = 1
  5950. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5951. trl.Color = ColorSequence.new(disr.Color)
  5952. trl.Lifetime = 0.5
  5953. local bv = Instance.new("BodyVelocity")
  5954. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5955. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  5956. bv.Parent = disr
  5957. local val = 0
  5958. coroutine.resume(coroutine.create(function()
  5959. swait(30)
  5960. for i = 0, 9 do
  5961. swait()
  5962. val = val + 0.1
  5963. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5964. end
  5965. game:GetService("Debris"):AddItem(disr, 3)
  5966. end))
  5967. end
  5968. local eff = Instance.new("ParticleEmitter",dis)
  5969. eff.Texture = "rbxassetid://2273224484"
  5970. eff.LightEmission = 1
  5971. eff.Color = ColorSequence.new(dis.Color)
  5972. eff.Rate = 500000
  5973. eff.Lifetime = NumberRange.new(0.5,2)
  5974. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5975. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5976. eff.Speed = NumberRange.new(20,250)
  5977. eff.Drag = 5
  5978. eff.Rotation = NumberRange.new(-500,500)
  5979. eff.VelocitySpread = 9000
  5980. eff.RotSpeed = NumberRange.new(-50,50)
  5981. wait(0.5)
  5982. eff.Enabled = false
  5983. end))
  5984. for i = 0, 4 do
  5985. slash(math.random(20,50)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
  5986. end
  5987. coroutine.resume(coroutine.create(function()
  5988. for i = 0, 19 do
  5989. swait()
  5990. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5991. end
  5992. hum.CameraOffset = vt(0,0,0)
  5993. end))
  5994. dis.Anchored = true
  5995. dis.Transparency = 1
  5996. wait(8)
  5997. dis:Destroy()
  5998. end
  5999. end)
  6000. end))
  6001. end))
  6002. end
  6003. end))
  6004. for i = 0,9,0.1 do
  6005. swait()
  6006. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.3)
  6007. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.3)
  6008. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),6 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(90)),.3)
  6009. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(-15 + 1 * math.cos(sine / 58)),math.rad(-90 + 2 * math.cos(sine / 53))),.3)
  6010. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(90 + 2 * math.cos(sine / 45))),.3)
  6011. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(8 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-9 - 4 * math.cos(sine / 45))),.3)
  6012. end
  6013. attack = false
  6014. hum.WalkSpeed = storehumanoidWS
  6015. end
  6016.  
  6017. function FallenDEMISE()
  6018. attack = true
  6019. hum.WalkSpeed = 0
  6020. local keptcolor = MRCL
  6021. bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MRCL.Color,3)
  6022. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  6023. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  6024. for i = 0, 15, 0.1 do
  6025. swait()
  6026. local dis = CreateParta(char,1,1,"Neon",MRCL)
  6027. dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6028. local at1 = Instance.new("Attachment",dis)
  6029. at1.Position = vt(-25000,0,0)
  6030. local at2 = Instance.new("Attachment",dis)
  6031. at2.Position = vt(25000,0,0)
  6032. local trl = Instance.new('Trail',dis)
  6033. trl.Attachment0 = at1
  6034. trl.FaceCamera = true
  6035. trl.Attachment1 = at2
  6036. trl.Texture = "rbxassetid://1049219073"
  6037. trl.LightEmission = 1
  6038. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6039. trl.Color = ColorSequence.new(dis.Color)
  6040. trl.Lifetime = 5
  6041. local bv = Instance.new("BodyVelocity")
  6042. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6043. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6044. bv.Parent = dis
  6045. game:GetService("Debris"):AddItem(dis, 1)
  6046. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MRCL)
  6047. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Toothpaste"))
  6048. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Deep orange"))
  6049. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-35)),.1)
  6050. LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(35)),.1)
  6051. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6052. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6053. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6054. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6055. end
  6056. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  6057. shakes(5,3)
  6058. for i = 0, 30, 0.1 do
  6059. swait()
  6060. coroutine.resume(coroutine.create(function()
  6061. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  6062. if v:FindFirstChild('Head') then
  6063. dmg(v)
  6064. end
  6065. end
  6066. end))
  6067. local dis = CreateParta(char,1,1,"Neon",MRCL)
  6068. dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6069. local at1 = Instance.new("Attachment",dis)
  6070. at1.Position = vt(-50000,0,0)
  6071. local at2 = Instance.new("Attachment",dis)
  6072. at2.Position = vt(50000,0,0)
  6073. local trl = Instance.new('Trail',dis)
  6074. trl.Attachment0 = at1
  6075. trl.FaceCamera = true
  6076. trl.Attachment1 = at2
  6077. trl.Texture = "rbxassetid://1049219073"
  6078. trl.LightEmission = 1
  6079. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6080. trl.Color = ColorSequence.new(dis.Color)
  6081. trl.Lifetime = 10
  6082. local bv = Instance.new("BodyVelocity")
  6083. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6084. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  6085. bv.Parent = dis
  6086. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  6087. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MRCL)
  6088. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MRCL)
  6089. sphere2(2,"Add",root.CFrame*CFrame.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000)),vt(0,0,0),5,5,5,BrickColor.new("Deep orange"))
  6090. sphere2(2,"Add",root.CFrame*CFrame.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000)),vt(0,0,0),5,5,5,BrickColor.new("Toothpaste"))
  6091. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Deep orange"))
  6092. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Toothpaste"))
  6093. for i = 0, 2 do
  6094. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,math.random(-3,1000),0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(2,0.01,2),math.random(250,750)/250,MRCL)
  6095. end
  6096. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-35)),.1)
  6097. LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(35)),.1)
  6098. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6099. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6100. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6101. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6102. end
  6103. attack = false
  6104. hum.WalkSpeed = storehumanoidWS
  6105. end
  6106.  
  6107. function SHDTwist()
  6108. attack = true
  6109. hum.WalkSpeed = 2
  6110. local radm = math.random(1,2)
  6111. if radm == 1 then
  6112. bosschatfunc("Plasmatic Burst!",MRCL.Color,1)
  6113. elseif radm == 2 then
  6114. bosschatfunc("Suffer to the brightness.",MRCL.Color,1)
  6115. end
  6116. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1.5,1.25)
  6117. local obj1 = script.chring2:Clone()
  6118. obj1.Parent = char
  6119. obj1.Transparency = 1
  6120. obj1.Size = vt(1,1,1)
  6121. obj1.Color = BrickColor.new("Pink").Color
  6122. local obj2 = script.spball:Clone()
  6123. obj2.Parent = char
  6124. obj2.Transparency = 1
  6125. obj2.Size = vt(1,1,1)
  6126. obj2.Color = MRCL.Color
  6127. local cfor = CreateParta(char,1,1,"Neon",MRCL)
  6128. cfor.Anchored = true
  6129. cfor.CFrame = obj2.CFrame
  6130. local cef = Instance.new("ParticleEmitter",cfor)
  6131. cef.Texture = "rbxassetid://2344870656"
  6132. cef.LightEmission = 1
  6133. cef.Color = ColorSequence.new(obj2.Color)
  6134. cef.Rate = 150
  6135. cef.Lifetime = NumberRange.new(0.25)
  6136. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
  6137. cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  6138. cef.Speed = NumberRange.new(0)
  6139. local rval = 0
  6140. local eval = 1
  6141. for i = 0,7,0.1 do
  6142. swait()
  6143. rval = rval + math.random(30,40)
  6144. eval = eval + 0.45
  6145. obj1.Transparency = obj1.Transparency - 0.005
  6146. obj1.Size = obj1.Size + vt(0.3,0.3,0.1)
  6147. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  6148. obj2.Transparency = obj2.Transparency - 0.007
  6149. obj2.Size = obj2.Size + vt(0.15,0.15,0.15)
  6150. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
  6151. obj2.CFrame = root.CFrame*CFrame.new(0,1,-7)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  6152. cfor.CFrame = obj2.CFrame
  6153. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  6154. sphere2(10,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.15,-0.01,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  6155. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.3)
  6156. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.3)
  6157. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-50)),.3)
  6158. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2 * math.cos(sine / 37)),math.rad(10 + 1 * math.cos(sine / 58)),math.rad(50 + 2 * math.cos(sine / 53))),.3)
  6159. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(10 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(5 + 2 * math.cos(sine / 45))),.3)
  6160. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(90 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-50 - 4 * math.cos(sine / 45))),.3)
  6161. end
  6162. shakes(0.25,0.25)
  6163. cef.Enabled = false
  6164. coroutine.resume(coroutine.create(function()
  6165. for i = 0,49 do
  6166. swait()
  6167. rval = rval + 100
  6168. obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  6169. obj2.Transparency = obj2.Transparency + 0.02
  6170. obj2.Size = obj2.Size + vt(5,5,5)
  6171. obj1.Transparency = obj1.Transparency + 0.02
  6172. obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  6173. end
  6174. obj1:Destroy()
  6175. obj2:Destroy()
  6176. cfor:Destroy()
  6177. end))
  6178. local lva = 1
  6179. local ica = 0
  6180. local cent = CreateParta(char,1,1,"Neon",MRCL)
  6181. CFuncs["Sound"].Create("rbxassetid://1177785010", cent, 10, 1)
  6182. cent.CFrame = root.CFrame*CFrame.Angles(0,0,0) + root.CFrame.lookVector*5
  6183. sphere2(2,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  6184. sphere2(3,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  6185.  
  6186. local a = Instance.new("Part",workspace)
  6187. a.Name = "Direction"
  6188. a.Anchored = true
  6189. a.BrickColor = bc("Bright red")
  6190. a.Material = "Neon"
  6191. a.Transparency = 1
  6192. a.CanCollide = false
  6193. local ray = Ray.new(
  6194. cent.CFrame.p, -- origin
  6195. (mouse.Hit.p - cent.CFrame.p).unit * 500 -- direction
  6196. )
  6197. local ignore = cent
  6198. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6199. a.BottomSurface = 10
  6200. a.TopSurface = 10
  6201. local distance = (cent.CFrame.p - position).magnitude
  6202. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6203. a.CFrame = CFrame.new(cent.CFrame.p, position) * CFrame.new(0, 0, 0)
  6204. cent.CFrame = a.CFrame
  6205. a:Destroy()
  6206. local bv = Instance.new("BodyVelocity")
  6207. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6208. bv.velocity = cent.CFrame.lookVector*0
  6209. bv.Parent = cent
  6210. game:GetService("Debris"):AddItem(cent, 20)
  6211. local hitted = false
  6212. coroutine.resume(coroutine.create(function()
  6213. while true do
  6214. swait(1)
  6215. if hitted == false and cent.Parent ~= nil then
  6216. ica = ica + 4*lva
  6217. lva = lva + 0.1
  6218. bv.velocity = cent.CFrame.lookVector*ica
  6219. sphere2(3,"Add",cent.CFrame,vt(5,5,5),-0.05,-0.05,-0.05,BrickColor.new("Pastel light blue"))
  6220. sphere2(5,"Add",cent.CFrame*CFrame.Angles(0,0,math.rad(ica))*CFrame.new(0,-5,0),vt(4,4,4),-0.04,-0.04,-0.04,BrickColor.new("Pink"))
  6221. sphere2(5,"Add",cent.CFrame*CFrame.Angles(0,0,math.rad(ica))*CFrame.new(0,5,0),vt(4,4,4),-0.04,-0.04,-0.04,BrickColor.new("Pastel light blue"))
  6222. elseif hitted == true or cent.Parent == nil then
  6223. break
  6224. end
  6225. end
  6226. end))
  6227. coroutine.resume(coroutine.create(function()
  6228. cent.Touched:connect(function(hit)
  6229. if hitted == false and hit.Parent ~= char then
  6230. hitted = true
  6231. cent.Anchored = true
  6232. shakes(0.5,0.5)
  6233. CFuncs["Sound"].Create("rbxassetid://782353443", cent, 10, 1)
  6234. CFuncs["Sound"].Create("rbxassetid://1368637781", cent, 8, 1)
  6235. CFuncs["Sound"].Create("rbxassetid://763717897", cent, 5, 1)
  6236. CFuncs["EchoSound"].Create("rbxassetid://1177785010", cent, 8, 1.1,0,10,0.15,0.5,1)
  6237. MagniDamage(cent, 50, 50,99999, 0, "Normal")
  6238. sphere2(2,"Add",cent.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  6239. sphere2(3,"Add",cent.CFrame,vt(1,1,1),1.2,1.2,1.2,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  6240. for i = 0, 19 do
  6241. slash(math.random(10,50)/10,5,true,"Round","Add","Out",cent.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,400)/250,BrickColor.new("Pink"))
  6242. slash(math.random(10,50)/10,5,true,"Round","Add","Out",cent.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,300)/250,BrickColor.new("Pastel light blue"))
  6243. end
  6244. coroutine.resume(coroutine.create(function()
  6245. local eff = Instance.new("ParticleEmitter",cent)
  6246. eff.Texture = "rbxassetid://2344870656"
  6247. eff.LightEmission = 1
  6248. eff.Color = ColorSequence.new(BrickColor.new("Pastel light blue").Color)
  6249. eff.Rate = 10000000
  6250. eff.Enabled = true
  6251. --eff.EmissionDirection = "Front"
  6252. eff.Lifetime = NumberRange.new(5)
  6253. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,60,0),NumberSequenceKeypoint.new(1,80,0)})
  6254. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6255. eff.Speed = NumberRange.new(350)
  6256. eff.Drag = 5
  6257. eff.Rotation = NumberRange.new(-500,500)
  6258. eff.SpreadAngle = Vector2.new(0,900)
  6259. eff.RotSpeed = NumberRange.new(-500,500)
  6260. local eff2 = eff:Clone()
  6261. eff2.Parent = cent
  6262. eff2.Speed = NumberRange.new(250)
  6263. eff2.Color = ColorSequence.new(BrickColor.new("Pink").Color)
  6264. wait(0.2)
  6265. eff.Enabled = false
  6266. eff2.Enabled = false
  6267. end))
  6268. end
  6269. end)
  6270. end))
  6271. attack = false
  6272. hum.WalkSpeed = storehumanoidWS
  6273. end
  6274. ---- Galaxy/Cytus's Abilities
  6275.  
  6276. function Crossfire()
  6277. attack = true
  6278. hum.WalkSpeed = 0
  6279. local radm = math.random(1,3)
  6280. if radm == 1 then
  6281. bosschatfunc("Crossfire!",MRCL.Color,1)
  6282. elseif radm == 2 then
  6283. bosschatfunc("Engulf by the flames!",MRCL.Color,1)
  6284. elseif radm == 3 then
  6285. bosschatfunc("Burn to death.",MRCL.Color,1)
  6286. end
  6287. shakes(0.5,0.5)
  6288. local vel = Instance.new("BodyPosition", root)
  6289. vel.P = 30000
  6290. vel.D = 1000
  6291. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  6292. vel.position = root.CFrame.p + vt(0,150,0)
  6293. CFuncs["Sound"].Create("rbxassetid://1295446488", root, 7.5, 1)
  6294. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  6295. local keptcolor = MRCL
  6296. sphere2(2,"Add",root.CFrame,vt(25,1,25),-0.05,3,-0.05,keptcolor)
  6297. sphere2(2,"Add",root.CFrame,vt(50,1,50),-0.1,6,-0.1,keptcolor)
  6298. for i = 0, 24 do
  6299. slash(math.random(30,60)/10,3,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.05,0.01,0.05),math.random(25,250)/250,BrickColor.new("White"))
  6300. end
  6301. for i = 0,3,0.1 do
  6302. swait()
  6303. RootPart.CFrame = FaceMouse2()[1]
  6304. sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1.5,1.5),-0.01,0.15,-0.01,keptcolor)
  6305. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  6306. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  6307. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5)
  6308. LW.C0 = clerp(LW.C0, CFrame.new(-1.05, 0.5, -0.65) * angles(math.rad(-20), math.rad(0), math.rad(140)), 0.5)
  6309. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.5)
  6310. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(10)),.5)
  6311. end
  6312. local rotz = 25
  6313. coroutine.resume(coroutine.create(function()
  6314. for i = 0, 4 do
  6315. local orb = Instance.new("Part", char)
  6316. orb.BrickColor = keptcolor
  6317. orb.CanCollide = false
  6318. orb.FormFactor = 3
  6319. orb.Name = "Ring"
  6320. orb.Material = "Neon"
  6321. orb.Size = Vector3.new(1, 1, 1)
  6322. orb.Transparency = 0
  6323. orb.TopSurface = 0
  6324. orb.BottomSurface = 0
  6325. local orbm = Instance.new("SpecialMesh", orb)
  6326. orbm.MeshType = "Sphere"
  6327. orbm.Name = "SizeMesh"
  6328. orbm.Scale = vt(4,4,4)
  6329. orb.CFrame = root.CFrame + root.CFrame.lookVector*3
  6330. local eff = Instance.new("ParticleEmitter",orb)
  6331. eff.Texture = "rbxassetid://296874871"
  6332. eff.LightEmission = 0.95
  6333. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  6334. eff.Rate = 500
  6335. eff.Lifetime = NumberRange.new(1.5)
  6336. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6337. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6338. eff.Speed = NumberRange.new(25)
  6339. eff.Drag = 5
  6340. eff.Rotation = NumberRange.new(-500,500)
  6341. eff.VelocitySpread = 9000
  6342. eff.RotSpeed = NumberRange.new(-500,500)
  6343. local a = Instance.new("Part",workspace)
  6344. a.Name = "Direction"
  6345. a.Anchored = true
  6346. a.BrickColor = bc("Bright red")
  6347. a.Material = "Neon"
  6348. a.Transparency = 1
  6349. a.CanCollide = false
  6350. local ray = Ray.new(
  6351. orb.CFrame.p, -- origin
  6352. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  6353. )
  6354. local ignore = orb
  6355. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6356. a.BottomSurface = 10
  6357. a.TopSurface = 10
  6358. local distance = (orb.CFrame.p - position).magnitude
  6359. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6360. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  6361. orb.CFrame = a.CFrame
  6362. a:Destroy()
  6363. orb.CFrame = orb.CFrame*CFrame.Angles(0,math.rad(rotz),0)
  6364. rotz = rotz - 12.5
  6365. CFuncs["Sound"].Create("rbxassetid://335657174", orb, 3, 0.75)
  6366. CFuncs["Sound"].Create("rbxassetid://304448425", orb, 3.5, 0.9)
  6367. local bv = Instance.new("BodyVelocity")
  6368. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6369. bv.velocity = orb.CFrame.lookVector*225
  6370. bv.Parent = orb
  6371. game:GetService("Debris"):AddItem(orb, 10)
  6372. local hitted = false
  6373. local hit =orb.Touched:connect(function(hit)
  6374. if hitted == false and hit.Parent ~= char then
  6375. hitted = true
  6376. eff.Enabled = false
  6377. CameraEnshaking(4,4)
  6378. for i = 0, 9 do
  6379. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6380. disr.CFrame = orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6381. local at1 = Instance.new("Attachment",disr)
  6382. at1.Position = vt(-15,0,0)
  6383. local at2 = Instance.new("Attachment",disr)
  6384. at2.Position = vt(15,0,0)
  6385. local trl = Instance.new('Trail',disr)
  6386. trl.Attachment0 = at1
  6387. trl.FaceCamera = true
  6388. trl.Attachment1 = at2
  6389. trl.Texture = "rbxassetid://2325530138"
  6390. trl.LightEmission = 1
  6391. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6392. trl.Color = ColorSequence.new(keptcolor.Color)
  6393. trl.Lifetime = 0.5
  6394. local bv = Instance.new("BodyVelocity")
  6395. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6396. bv.velocity = disr.CFrame.lookVector*math.random(75,250)
  6397. bv.Parent = disr
  6398. local val = 0
  6399. coroutine.resume(coroutine.create(function()
  6400. swait(30)
  6401. for i = 0, 19 do
  6402. swait()
  6403. val = val + 0.05
  6404. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6405. end
  6406. game:GetService("Debris"):AddItem(disr, 3)
  6407. end))
  6408. end
  6409. CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 6, 0.7)
  6410. CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 8,1)
  6411. CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 8,1)
  6412. CFuncs["Sound"].Create("rbxassetid://763718160", orb, 7, 1.1)
  6413. CFuncs["Sound"].Create("rbxassetid://782353443", orb, 7, 1)
  6414. CFuncs["Sound"].Create("rbxassetid://178452221", orb, 6, 0.4)
  6415. MagniDamage(orb, 25, 80,140, 0, "Normal")
  6416. sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  6417. sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  6418. sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  6419. for i = 0, 9 do
  6420. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1,1.5),-0.005,4,-0.005,keptcolor)
  6421. end
  6422. for i = 0, 19 do
  6423. slash(math.random(10,50)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,250)/250,BrickColor.new("White"))
  6424. end
  6425. for i = 0, 19 do
  6426. local rsiz = math.random(10,30)
  6427. sphereMK(math.random(2,6),1,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  6428. end
  6429. local eff = Instance.new("ParticleEmitter",orb)
  6430. eff.Texture = "rbxassetid://296874871"
  6431. eff.LightEmission = 0.95
  6432. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  6433. eff.Rate = 10000
  6434. eff.Lifetime = NumberRange.new(1.5)
  6435. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  6436. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6437. eff.Speed = NumberRange.new(150)
  6438. eff.Drag = 5
  6439. eff.Rotation = NumberRange.new(-500,500)
  6440. eff.VelocitySpread = 9000
  6441. eff.RotSpeed = NumberRange.new(-500,500)
  6442. coroutine.resume(coroutine.create(function()
  6443. wait(0.25)
  6444. eff.Enabled = false
  6445. end))
  6446. orb.Anchored = true
  6447. orb.Transparency = 1
  6448. wait(10)
  6449. orb:Destroy()
  6450. end
  6451. end)
  6452. end
  6453. end))
  6454. for i = 0,1,0.1 do
  6455. swait()
  6456. RootPart.CFrame = FaceMouse2()[1]
  6457. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),0.3)
  6458. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.3)
  6459. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  6460. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3)
  6461. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.5)
  6462. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(10)),.5)
  6463. end
  6464. for i = 0,1,0.1 do
  6465. swait()
  6466. RootPart.CFrame = FaceMouse2()[1]
  6467. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.3)
  6468. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-70)),.3)
  6469. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  6470. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-10)), 0.3)
  6471. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.5)
  6472. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(10)),.5)
  6473. end
  6474. coroutine.resume(coroutine.create(function()
  6475. for i = 0, 4 do
  6476. local orb = Instance.new("Part", char)
  6477. orb.BrickColor = keptcolor
  6478. orb.CanCollide = false
  6479. orb.FormFactor = 3
  6480. orb.Name = "Ring"
  6481. orb.Material = "Neon"
  6482. orb.Size = Vector3.new(1, 1, 1)
  6483. orb.Transparency = 0
  6484. orb.TopSurface = 0
  6485. orb.BottomSurface = 0
  6486. local orbm = Instance.new("SpecialMesh", orb)
  6487. orbm.MeshType = "Sphere"
  6488. orbm.Name = "SizeMesh"
  6489. orbm.Scale = vt(4,4,4)
  6490. orb.CFrame = root.CFrame + root.CFrame.lookVector*3
  6491. local eff = Instance.new("ParticleEmitter",orb)
  6492. eff.Texture = "rbxassetid://296874871"
  6493. eff.LightEmission = 0.95
  6494. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  6495. eff.Rate = 500
  6496. eff.Lifetime = NumberRange.new(1.5)
  6497. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6498. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6499. eff.Speed = NumberRange.new(25)
  6500. eff.Drag = 5
  6501. eff.Rotation = NumberRange.new(-500,500)
  6502. eff.VelocitySpread = 9000
  6503. eff.RotSpeed = NumberRange.new(-500,500)
  6504. local a = Instance.new("Part",workspace)
  6505. a.Name = "Direction"
  6506. a.Anchored = true
  6507. a.BrickColor = bc("Bright red")
  6508. a.Material = "Neon"
  6509. a.Transparency = 1
  6510. a.CanCollide = false
  6511. local ray = Ray.new(
  6512. orb.CFrame.p, -- origin
  6513. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  6514. )
  6515. local ignore = orb
  6516. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6517. a.BottomSurface = 10
  6518. a.TopSurface = 10
  6519. local distance = (orb.CFrame.p - position).magnitude
  6520. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6521. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  6522. orb.CFrame = a.CFrame
  6523. a:Destroy()
  6524. rotz = rotz + 12.5
  6525. orb.CFrame = orb.CFrame*CFrame.Angles(math.rad(rotz),0,0)
  6526. CFuncs["Sound"].Create("rbxassetid://335657174", orb, 3, 0.75)
  6527. CFuncs["Sound"].Create("rbxassetid://304448425", orb, 3.5, 0.9)
  6528. local bv = Instance.new("BodyVelocity")
  6529. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6530. bv.velocity = orb.CFrame.lookVector*225
  6531. bv.Parent = orb
  6532. game:GetService("Debris"):AddItem(orb, 10)
  6533. local hitted = false
  6534. local hit =orb.Touched:connect(function(hit)
  6535. if hitted == false and hit.Parent ~= char then
  6536. hitted = true
  6537. eff.Enabled = false
  6538. CameraEnshaking(4,4)
  6539. for i = 0, 9 do
  6540. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6541. disr.CFrame = orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6542. local at1 = Instance.new("Attachment",disr)
  6543. at1.Position = vt(-15,0,0)
  6544. local at2 = Instance.new("Attachment",disr)
  6545. at2.Position = vt(15,0,0)
  6546. local trl = Instance.new('Trail',disr)
  6547. trl.Attachment0 = at1
  6548. trl.FaceCamera = true
  6549. trl.Attachment1 = at2
  6550. trl.Texture = "rbxassetid://2325530138"
  6551. trl.LightEmission = 1
  6552. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6553. trl.Color = ColorSequence.new(keptcolor.Color)
  6554. trl.Lifetime = 0.5
  6555. local bv = Instance.new("BodyVelocity")
  6556. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6557. bv.velocity = disr.CFrame.lookVector*math.random(75,250)
  6558. bv.Parent = disr
  6559. local val = 0
  6560. coroutine.resume(coroutine.create(function()
  6561. swait(30)
  6562. for i = 0, 19 do
  6563. swait()
  6564. val = val + 0.05
  6565. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6566. end
  6567. game:GetService("Debris"):AddItem(disr, 3)
  6568. end))
  6569. end
  6570. CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 6, 0.7)
  6571. CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 8,1)
  6572. CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 8,1)
  6573. CFuncs["Sound"].Create("rbxassetid://763718160", orb, 7, 1.1)
  6574. CFuncs["Sound"].Create("rbxassetid://782353443", orb, 7, 1)
  6575. CFuncs["Sound"].Create("rbxassetid://178452221", orb, 6, 0.4)
  6576. MagniDamage(orb, 25, 80,140, 0, "Normal")
  6577. sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  6578. sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  6579. sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  6580. for i = 0, 9 do
  6581. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1,1.5),-0.005,4,-0.005,keptcolor)
  6582. end
  6583. for i = 0, 19 do
  6584. slash(math.random(10,50)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,250)/250,BrickColor.new("White"))
  6585. end
  6586. for i = 0, 24 do
  6587. local rsiz = math.random(10,30)
  6588. sphereMK(math.random(1,3),1,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  6589. end
  6590. local eff = Instance.new("ParticleEmitter",orb)
  6591. eff.Texture = "rbxassetid://296874871"
  6592. eff.LightEmission = 0.95
  6593. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  6594. eff.Rate = 10000
  6595. eff.Lifetime = NumberRange.new(1.5)
  6596. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  6597. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6598. eff.Speed = NumberRange.new(150)
  6599. eff.Drag = 5
  6600. eff.Rotation = NumberRange.new(-500,500)
  6601. eff.VelocitySpread = 9000
  6602. eff.RotSpeed = NumberRange.new(-500,500)
  6603. coroutine.resume(coroutine.create(function()
  6604. wait(0.25)
  6605. eff.Enabled = false
  6606. end))
  6607. orb.Anchored = true
  6608. orb.Transparency = 1
  6609. wait(10)
  6610. orb:Destroy()
  6611. end
  6612. end)
  6613. end
  6614. end))
  6615. for i = 0,2,0.1 do
  6616. swait()
  6617. RootPart.CFrame = FaceMouse2()[1]
  6618. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-80)),0.3)
  6619. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.3)
  6620. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  6621. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.3)
  6622. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.5)
  6623. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(10)),.5)
  6624. end
  6625. vel:Destroy()
  6626. hum.WalkSpeed = storehumanoidWS
  6627. attack = false
  6628. end
  6629.  
  6630. function BeamOfDeath()
  6631. attack = true
  6632. hum.WalkSpeed = 0
  6633. bosschatfunc("CHAOTICAL BEAM!",MRCL.Color,2)
  6634. RootPart.CFrame = FaceMouse()[1]
  6635. CFuncs["Sound"].Create("rbxassetid://1368598393", rarm, 8, 1)
  6636. for i = 0, 5, 0.1 do
  6637. swait()
  6638. block(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.01,0.01,0.01,BrickColor.new("Really red"),Color3.new(1,0,0))
  6639. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(-10)),.1)
  6640. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.25),math.rad(0),math.rad(6)),.1)
  6641. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(60)),.1)
  6642. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(-5),math.rad(-60)),.1)
  6643. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(1),math.rad(60)),.1)
  6644. LW.C0=clerp(LW.C0,cf(-0.95,0.65,-0.65)*angles(math.rad(90),math.rad(25),math.rad(73)),.1)
  6645. end
  6646. CFuncs["Sound"].Create("rbxassetid://335657174", rarm, 8, 1)
  6647. for i = 0, 14 do
  6648. slash(math.random(10,40)/10,5,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(25,150)/250,BrickColor.new("Really red"))
  6649. end
  6650. block(3,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.05,0.05,0.05,BrickColor.new("Really red"),Color3.new(1,0,0))
  6651. block(3,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.1,0.15,0.1,BrickColor.new("Really red"),Color3.new(1,0,0))
  6652. local keptcolor = MRCL
  6653. local orb = Instance.new("Part", char)
  6654. orb.BrickColor = keptcolor
  6655. orb.CanCollide = false
  6656. orb.FormFactor = 3
  6657. orb.Name = "Ring"
  6658. orb.Material = "Neon"
  6659. orb.Size = Vector3.new(1, 1, 1)
  6660. orb.Transparency = 1
  6661. orb.TopSurface = 0
  6662. orb.BottomSurface = 0
  6663. local orbm = Instance.new("SpecialMesh", orb)
  6664. orbm.MeshType = "Sphere"
  6665. orbm.Name = "SizeMesh"
  6666. orbm.Scale = vt(22.5,10000,22.5)
  6667. orb.CFrame = mouse.Hit
  6668. orb.Anchored = true
  6669. orb.Orientation = vt(0,0,0)
  6670. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  6671. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 2.5, 1)
  6672. local bgui,imgc = createBGCircle(300,orb,MRCL.Color)
  6673. bgui.AlwaysOnTop = true
  6674. imgc.ImageTransparency = 1
  6675. imgc.Image = "rbxassetid://2325939897"
  6676. local over = false
  6677. coroutine.resume(coroutine.create(function()
  6678. while true do
  6679. swait()
  6680. imgc.Rotation = imgc.Rotation + 5
  6681. if over == true then
  6682. break
  6683. end
  6684. end
  6685. end))
  6686. coroutine.resume(coroutine.create(function()
  6687. coroutine.resume(coroutine.create(function()
  6688. for i = 0, 399 do
  6689. swait()
  6690. bgui.Size = bgui.Size - UDim2.new(0.5,0,0.5,0)
  6691. imgc.ImageTransparency = imgc.ImageTransparency - 0.0025
  6692. orbm.Scale = orbm.Scale - vt(0.05,0,0.05)
  6693. --orb.Transparency = orb.Transparency - 0.0025
  6694. end
  6695. end))
  6696. wait(9)
  6697. CameraEnshaking(15,5)
  6698. for i = 0, 99 do
  6699. local dis = CreateParta(char,1,1,"Neon",MRCL)
  6700. dis.CFrame = orb.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6701. local at1 = Instance.new("Attachment",dis)
  6702. at1.Position = vt(-25000,0,0)
  6703. local at2 = Instance.new("Attachment",dis)
  6704. at2.Position = vt(25000,0,0)
  6705. local trl = Instance.new('Trail',dis)
  6706. trl.Attachment0 = at1
  6707. trl.FaceCamera = true
  6708. trl.Attachment1 = at2
  6709. trl.Texture = "rbxassetid://1049219073"
  6710. trl.LightEmission = 1
  6711. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6712. trl.Color = ColorSequence.new(keptcolor.Color)
  6713. trl.Lifetime = 5
  6714. local bv = Instance.new("BodyVelocity")
  6715. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6716. bv.velocity = dis.CFrame.lookVector*math.random(1500,7500)
  6717. bv.Parent = dis
  6718. game:GetService("Debris"):AddItem(dis, 15)
  6719. end
  6720. CFuncs["Sound"].Create("rbxassetid://763718160", char, 6, 1.1)
  6721. CFuncs["Sound"].Create("rbxassetid://782353443", char, 6, 1)
  6722. CFuncs["LongSound"].Create("rbxassetid://763717897", char, 5, 0.5)
  6723. CFuncs["LongSound"].Create("rbxassetid://763717897", char, 4, 0.75)
  6724. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 1)
  6725. coroutine.resume(coroutine.create(function()
  6726. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  6727. if hfr ~= nil then
  6728. for i = 0, 49 do
  6729. local deb = Instance.new("Part", char)
  6730. deb.Anchored = true
  6731. deb.CanCollide = false
  6732. deb.FormFactor = 3
  6733. deb.Name = "Ring"
  6734. deb.Material = hitfloor.Material
  6735. deb.Color = hitfloor.Color
  6736. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  6737. deb.Transparency = 0
  6738. deb.TopSurface = 0
  6739. deb.BottomSurface = 0
  6740. deb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),-5,math.random(-150,150))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6741. local deb2 = Instance.new("Part", char)
  6742. deb2.CanCollide = false
  6743. deb2.FormFactor = 3
  6744. deb2.Name = "Ring"
  6745. deb2.Material = hitfloor.Material
  6746. deb2.Color = hitfloor.Color
  6747. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  6748. deb2.Transparency = 0
  6749. deb2.TopSurface = 0
  6750. deb2.BottomSurface = 0
  6751. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  6752. deb2.CFrame = orb.CFrame*CFrame.new(math.random(-60,60),-5,math.random(-60,60))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6753. local eff = Instance.new("ParticleEmitter",deb)
  6754. eff.Texture = "rbxassetid://363275192"
  6755. eff.LightEmission = 0.95
  6756. eff.Color = ColorSequence.new(keptcolor.Color)
  6757. eff.Rate = 100
  6758. eff.Lifetime = NumberRange.new(1)
  6759. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  6760. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6761. eff.Speed = NumberRange.new(0,5)
  6762. eff.Rotation = NumberRange.new(-500,500)
  6763. eff.VelocitySpread = 9000
  6764. eff.RotSpeed = NumberRange.new(-10,10)
  6765. local at1 = Instance.new('Attachment',deb2)
  6766. at1.Position = vt(0,15,0)
  6767. local at2 = Instance.new('Attachment',deb2)
  6768. at2.Position = vt(0,-15,0)
  6769. local tl = Instance.new('Trail',deb2)
  6770. tl.Attachment0 = at1
  6771. tl.Attachment1 = at2
  6772. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6773. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  6774. tl.Lifetime = 1
  6775. game:GetService("Debris"):AddItem(deb,30)
  6776. game:GetService("Debris"):AddItem(deb2,30)
  6777. coroutine.resume(coroutine.create(function()
  6778. wait(15)
  6779. eff.Enabled = false
  6780. for i = 0, 49 do
  6781. swait()
  6782. deb.Transparency = deb.Transparency + 0.02
  6783. end
  6784. wait(1)
  6785. deb:Destroy()
  6786. end))
  6787. end
  6788. end
  6789. end))
  6790. for i = 0, 49, 0.1 do
  6791. swait(1.5)
  6792. bgui.Size = bgui.Size + UDim2.new(45,0,45,0)
  6793. imgc.ImageTransparency = imgc.ImageTransparency + 0.01
  6794. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  6795. if v:FindFirstChild('Head') then
  6796. dmg(v)
  6797. end
  6798. end
  6799. for i = 0, 2 do
  6800. slash(math.random(40,80)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(500,2500)/250,BrickColor.new("White"))
  6801. end
  6802. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),5,5,5,keptcolor)
  6803. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),1,35,1,keptcolor)
  6804. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),0,50,0,keptcolor)
  6805. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  6806. end
  6807. over = true
  6808. orb:Destroy()
  6809. end))
  6810. hum.WalkSpeed = storehumanoidWS
  6811. attack = false
  6812. end
  6813.  
  6814.  
  6815. function Beams()
  6816. attack = true
  6817. hum.WalkSpeed = 0
  6818. local keptcolor = MRCL
  6819. coroutine.resume(coroutine.create(function()
  6820. for i = 0, 24 do
  6821. swait(5)
  6822. local orb = Instance.new("Part", char)
  6823. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  6824. orb.BrickColor = keptcolor
  6825. orb.CanCollide = false
  6826. orb.FormFactor = 3
  6827. orb.Name = "Ring"
  6828. orb.Material = "Neon"
  6829. orb.Size = Vector3.new(1, 1, 1)
  6830. orb.Transparency = 0
  6831. orb.TopSurface = 0
  6832. orb.BottomSurface = 0
  6833. orb.Anchored = true
  6834. local orbm = Instance.new("SpecialMesh", orb)
  6835. orbm.MeshType = "Sphere"
  6836. orbm.Name = "SizeMesh"
  6837. orbm.Scale = vt(1.25,1.25,1.25)
  6838. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  6839. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  6840. coroutine.resume(coroutine.create(function()
  6841. local eff = Instance.new("ParticleEmitter",orb)
  6842. eff.Texture = "rbxassetid://2273224484"
  6843. eff.LightEmission = 1
  6844. eff.Color = ColorSequence.new(keptcolor.Color)
  6845. eff.Rate = 1500
  6846. eff.Lifetime = NumberRange.new(0.5,1)
  6847. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.2,1,0),NumberSequenceKeypoint.new(1,0,0)})
  6848. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6849. eff.Speed = NumberRange.new(10,30)
  6850. eff.Drag = 5
  6851. eff.Rotation = NumberRange.new(-500,500)
  6852. eff.VelocitySpread = 9000
  6853. eff.RotSpeed = NumberRange.new(-500,500)
  6854. wait(0.25)
  6855. eff.Enabled = false
  6856. end))
  6857. coroutine.resume(coroutine.create(function()
  6858. wait(0.5)
  6859. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  6860. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  6861. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  6862. orb.Transparency = 1
  6863. local a = Instance.new("Part",char)
  6864. a.Name = "Direction"
  6865. a.Anchored = true
  6866. a.BrickColor = keptcolor
  6867. a.Material = "Neon"
  6868. a.Transparency = 0.25
  6869. a.Shape = "Cylinder"
  6870. local ht = Instance.new("Part",char)
  6871. ht.Name = "DirectionHit"
  6872. ht.Anchored = true
  6873. ht.BrickColor = keptcolor
  6874. ht.CanCollide = false
  6875. ht.Transparency = 1
  6876. ht.Size = vt(0.1,0.1,0.1)
  6877. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.2)
  6878. a.CanCollide = false
  6879. local ray = Ray.new(
  6880. orb.CFrame.p, -- origin
  6881. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  6882. )
  6883. local ignore = char
  6884. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6885. a.BottomSurface = 10
  6886. a.TopSurface = 10
  6887. local distance = (orb.CFrame.p - position).magnitude
  6888. a.Size = Vector3.new(distance,1,1)
  6889. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  6890. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  6891. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  6892. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  6893. MagniDamage(ht, 9, 10,15, 0, "Normal")
  6894. CameraEnshaking(2,1)
  6895. coroutine.resume(coroutine.create(function()
  6896. for i = 0, 9 do
  6897. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6898. disr.CFrame = ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6899. local at1 = Instance.new("Attachment",disr)
  6900. at1.Position = vt(-2,0,0)
  6901. local at2 = Instance.new("Attachment",disr)
  6902. at2.Position = vt(2,0,0)
  6903. local trl = Instance.new('Trail',disr)
  6904. trl.Attachment0 = at1
  6905. trl.FaceCamera = true
  6906. trl.Attachment1 = at2
  6907. trl.Texture = "rbxassetid://2325530138"
  6908. trl.LightEmission = 1
  6909. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6910. trl.Color = ColorSequence.new(keptcolor.Color)
  6911. trl.Lifetime = 0.5
  6912. local bv = Instance.new("BodyVelocity")
  6913. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6914. bv.velocity = disr.CFrame.lookVector*math.random(25,100)
  6915. bv.Parent = disr
  6916. local val = 0
  6917. coroutine.resume(coroutine.create(function()
  6918. swait(30)
  6919. for i = 0, 9 do
  6920. swait()
  6921. val = val + 0.1
  6922. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6923. end
  6924. game:GetService("Debris"):AddItem(disr, 3)
  6925. end))
  6926. end
  6927. local eff = Instance.new("ParticleEmitter",ht)
  6928. eff.Texture = "rbxassetid://2273224484"
  6929. eff.LightEmission = 1
  6930. eff.Color = ColorSequence.new(keptcolor.Color)
  6931. eff.Rate = 5000
  6932. eff.Lifetime = NumberRange.new(0.5,1.5)
  6933. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6934. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  6935. eff.Speed = NumberRange.new(5,100)
  6936. eff.Drag = 5
  6937. eff.Rotation = NumberRange.new(-500,500)
  6938. eff.VelocitySpread = 9000
  6939. eff.RotSpeed = NumberRange.new(-50,50)
  6940. wait(0.25)
  6941. eff.Enabled = false
  6942. end))
  6943. for i = 0, 4 do
  6944. slash(math.random(10,60)/10,5,true,"Round","Add","Out",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(10,50)/250,BrickColor.new("White"))
  6945. sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.005,0.125,-0.005,keptcolor)
  6946. sphere2(4,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.01,0.5,-0.01,keptcolor)
  6947. local rsiz = math.random(10,30)
  6948. sphereMK(math.random(2,4),0.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  6949. end
  6950. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  6951. local msh = Instance.new("SpecialMesh",a)
  6952. msh.MeshType = "Cylinder"
  6953. msh.Scale = vt(1,1,1)
  6954. for i = 0, 49 do
  6955. swait()
  6956. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  6957. a.Transparency = a.Transparency + 0.02
  6958. end
  6959. wait(1)
  6960. orb:Destroy()
  6961. a:Destroy()
  6962. ht:Destroy()
  6963. end))
  6964. game:GetService("Debris"):AddItem(orb, 10)
  6965. end
  6966. end))
  6967. for i = 0,12,0.1 do
  6968. swait()
  6969. sphere2(7,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,keptcolor)
  6970. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  6971. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  6972. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  6973. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  6974. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.3)
  6975. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.3)
  6976. end
  6977. hum.WalkSpeed = storehumanoidWS
  6978. attack = false
  6979. end
  6980.  
  6981. function smiter()
  6982. local targetted = nil
  6983. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  6984. targetted = mouse.Target.Parent
  6985. end
  6986. if targetted ~= nil then
  6987. RootPart.CFrame = FaceMouse()[1]
  6988. attack = true
  6989. hum.WalkSpeed = 0
  6990. local radm = math.random(1,3)
  6991. if radm == 1 then
  6992. bosschatfunc("Gotcha!",MRCL.Color,1)
  6993. elseif radm == 2 then
  6994. bosschatfunc("Die.",MRCL.Color,1)
  6995. elseif radm == 3 then
  6996. bosschatfunc("Think faster.",MRCL.Color,1)
  6997. end
  6998. coroutine.resume(coroutine.create(function()
  6999. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  7000. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MRCL)
  7001. local vel = Instance.new("BodyPosition", targetted.Head)
  7002. vel.P = 12500
  7003. vel.D = 1000
  7004. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7005. vel.position = targetted.Head.CFrame.p
  7006. end))
  7007. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  7008. for i = 0,4,0.1 do
  7009. swait()
  7010. sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.125,-0.01,MRCL)
  7011. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  7012. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  7013. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  7014. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7015. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.2)
  7016. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.2)
  7017. end
  7018. shakes(0.25,0.5)
  7019. coroutine.resume(coroutine.create(function()
  7020. CameraEnshaking(6,5)
  7021. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  7022. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  7023. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  7024. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  7025. for i = 0, 19 do
  7026. slash(math.random(10,50)/10,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,250)/250,BrickColor.new("White"))
  7027. end
  7028. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MRCL)
  7029. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MRCL)
  7030. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MRCL)
  7031. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MRCL)
  7032. coroutine.resume(coroutine.create(function()
  7033. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7034. eff.Texture = "rbxassetid://363275192"
  7035. eff.LightEmission = 0.95
  7036. eff.Color = ColorSequence.new(MRCL.Color)
  7037. eff.Rate = 10000
  7038. eff.Lifetime = NumberRange.new(1.5)
  7039. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  7040. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7041. eff.Speed = NumberRange.new(25,150)
  7042. eff.Drag = 5
  7043. eff.Rotation = NumberRange.new(-500,500)
  7044. eff.VelocitySpread = 9000
  7045. eff.RotSpeed = NumberRange.new(-50,50)
  7046. local eff2 = eff:Clone()
  7047. eff2.Parent = targetted.Head
  7048. eff2.LightEmission = 1
  7049. eff2.Color = ColorSequence.new(Color3.new(0.75,0.5,1))
  7050. eff2.Texture = "rbxassetid://2273224484"
  7051. eff2.Rate = 10000
  7052. eff2.Lifetime = NumberRange.new(1,3)
  7053. eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,10,0),NumberSequenceKeypoint.new(1,0,0)})
  7054. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7055. eff2.Drag = 5
  7056. eff2.Speed = NumberRange.new(50,250)
  7057. eff2.Rotation = NumberRange.new(-500,500)
  7058. eff2.VelocitySpread = 9000
  7059. wait(0.5)
  7060. eff2.Enabled = false
  7061. eff.Enabled = false
  7062. end))
  7063. for i = 0, 9 do
  7064. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MRCL)
  7065. end
  7066. for i = 0, 49 do
  7067. local rsiz = math.random(10,50)
  7068. sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MRCL,0)
  7069. end
  7070. game:GetService("Debris"):AddItem(vel,1)
  7071. dmg(targetted)
  7072. end))
  7073. for i = 0,1,0.1 do
  7074. swait()
  7075. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  7076. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  7077. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5)
  7078. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-50)), 0.5)
  7079. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
  7080. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.5)
  7081. end
  7082. attack = false
  7083. hum.WalkSpeed = storehumanoidWS
  7084. end
  7085. end
  7086.  
  7087. function supsmiter()
  7088. local targetted = nil
  7089. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  7090. targetted = mouse.Target.Parent
  7091. end
  7092. if targetted ~= nil then
  7093. RootPart.CFrame = FaceMouse()[1]
  7094. attack = true
  7095. hum.WalkSpeed = 0
  7096. local radm = math.random(1,3)
  7097. if radm == 1 then
  7098. bosschatfunc("Your existance will be gone!",MRCL.Color,1)
  7099. elseif radm == 2 then
  7100. bosschatfunc("Next time, dont mess with me.",MRCL.Color,1)
  7101. elseif radm == 3 then
  7102. bosschatfunc("Nothing will be with you after you're gone!",MRCL.Color,1)
  7103. end
  7104. coroutine.resume(coroutine.create(function()
  7105. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 5, 0.5)
  7106. local vel = Instance.new("BodyPosition", targetted.Head)
  7107. vel.P = 12500
  7108. vel.D = 1000
  7109. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7110. vel.position = targetted.Head.CFrame.p + vt(0,10,0)
  7111. for i,v in pairs(targetted:GetChildren()) do
  7112. if v:IsA("Part") or v:IsA("MeshPart") then
  7113. coroutine.resume(coroutine.create(function()
  7114. local bld = Instance.new("ParticleEmitter",v)
  7115. bld.LightEmission = 0.75
  7116. bld.Texture = "rbxassetid://363275192" ---284205403
  7117. bld.Color = ColorSequence.new(MRCL.Color)
  7118. bld.Rate = 500
  7119. bld.Lifetime = NumberRange.new(1)
  7120. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  7121. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  7122. bld.Speed = NumberRange.new(2,5)
  7123. bld.VelocitySpread = 50000
  7124. bld.Rotation = NumberRange.new(-500,500)
  7125. bld.RotSpeed = NumberRange.new(-500,500)
  7126. end))
  7127. end
  7128. end
  7129. local A1 = Instance.new("Attachment",sorb2)
  7130. local A2 = Instance.new("Attachment",targetted.Head)
  7131. local Beem = Instance.new("Beam",targetted.Head)
  7132. Beem.Attachment0 = A1
  7133. Beem.Attachment1 = A2
  7134. Beem.LightEmission = 1
  7135. Beem.FaceCamera = true
  7136. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  7137. Beem.Width0 = 1
  7138. Beem.Width1 = 1
  7139. Beem.Texture = "rbxassetid://1134824633"
  7140. Beem.TextureMode = "Wrap"
  7141. Beem.TextureLength = 2
  7142. Beem.TextureSpeed = 5
  7143. Beem.Color = ColorSequence.new(MRCL.Color)
  7144. end))
  7145. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb2, 2.5, 0.25)
  7146. for i = 0,14,0.1 do
  7147. swait()
  7148. rsiz = math.random(5,15)
  7149. sphereMK(math.random(3,9),0.25,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MRCL,-15)
  7150. sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1.5,1.5),-0.01,0.15,-0.01,MRCL)
  7151. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  7152. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  7153. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  7154. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7155. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  7156. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  7157. end
  7158. shakes(0.5,0.5)
  7159. sphere2(3,"Add",sorb2.CFrame,vt(0,0,0),0.1,0.1,0.1,MRCL)
  7160. sphere2(3,"Add",sorb2.CFrame,vt(0,0,0),0.2,0.2,0.2,MRCL)
  7161. CFuncs["Sound"].Create("rbxassetid://1368637781", sorb2, 2.5, 1.1)
  7162. coroutine.resume(coroutine.create(function()
  7163. local ref = Instance.new("Part", char)
  7164. ref.Anchored = true
  7165. ref.CanCollide = false
  7166. ref.Transparency = 1
  7167. ref.CFrame = targetted.Head.CFrame
  7168. sphere2(1,"Add",targetted.Head.CFrame,vt(8,8,8),0.25,0.25,0.25,MRCL)
  7169. sphere2(2,"Add",targetted.Head.CFrame,vt(8,8,8),0.5,0.5,0.5,MRCL)
  7170. sphere2(3,"Add",targetted.Head.CFrame,vt(8,8,8),0.75,0.75,0.75,MRCL)
  7171. for i = 0, 24 do
  7172. slash(math.random(10,25)/10,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.001,0.001,0.001),math.random(25,250)/250,BrickColor.new("White"))
  7173. end
  7174. targetted.Head.Parent:Destroy()
  7175. CFuncs["Sound"].Create("rbxassetid://1368637781", ref, 10, 1)
  7176. CFuncs["Sound"].Create("rbxassetid://763718160", ref, 10, 1.1)
  7177. CFuncs["Sound"].Create("rbxassetid://782353443", ref, 10, 1)
  7178. CFuncs["Sound"].Create("rbxassetid://335657174", ref, 10, 1)
  7179. wait(5)
  7180. ref:Destroy()
  7181. end))
  7182. attack = false
  7183. hum.WalkSpeed = storehumanoidWS
  7184. end
  7185. end
  7186.  
  7187. function BinaryBLINK()
  7188. for i = 0, 9 do
  7189. sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MRCL) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MRCL) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MRCL)
  7190. end
  7191. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MRCL)
  7192. coroutine.resume(coroutine.create(function()
  7193. local eff = Instance.new("ParticleEmitter",root)
  7194. eff.Texture = "rbxassetid://1175838406"
  7195. eff.LightEmission = 0.95
  7196. eff.Color = ColorSequence.new(MRCL.Color)
  7197. eff.Rate = 10000
  7198. eff.Lifetime = NumberRange.new(1)
  7199. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  7200. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7201. eff.Speed = NumberRange.new(30,160)
  7202. eff.Drag = 5
  7203. eff.Rotation = NumberRange.new(-500,500)
  7204. eff.VelocitySpread = 100000
  7205. wait(0.25)
  7206. eff.Enabled = false
  7207. wait(4)
  7208. eff:Destroy()
  7209. end))
  7210. CFuncs["Sound"].Create("rbxassetid://335657174", root, 5, 1)
  7211. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  7212. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  7213. CameraEnshaking(2,10)
  7214. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
  7215. if v:FindFirstChild('Head') then
  7216. dmg(v)
  7217. end
  7218. end
  7219. for i = 0, 9 do
  7220. sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MRCL) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MRCL) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MRCL)
  7221. end
  7222. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MRCL)
  7223. end
  7224.  
  7225. function BinaryE()
  7226. local posit = -2
  7227. attack = true
  7228. hum.WalkSpeed = 5
  7229. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  7230. for i = 0,2,0.1 do
  7231. swait()
  7232. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MRCL)
  7233. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  7234. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  7235. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  7236. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  7237. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
  7238. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  7239. end
  7240. for i = 0, 2 do
  7241. CameraEnshaking(1,2)
  7242. local hite = Instance.new("Part", char)
  7243. hite.Anchored = true
  7244. hite.CanCollide = false
  7245. hite.FormFactor = 3
  7246. hite.Name = "Ring"
  7247. hite.Material = "Neon"
  7248. hite.Size = Vector3.new(1, 1, 1)
  7249. hite.Transparency = 1
  7250. hite.TopSurface = 0
  7251. hite.BottomSurface = 0
  7252. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  7253. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  7254. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  7255. coroutine.resume(coroutine.create(function()
  7256. local eff = Instance.new("ParticleEmitter",hite)
  7257. eff.Texture = "rbxassetid://1175838406"
  7258. eff.LightEmission = 0.95
  7259. eff.Color = ColorSequence.new(MRCL.Color)
  7260. eff.Rate = 1000
  7261. eff.Lifetime = NumberRange.new(1)
  7262. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  7263. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7264. eff.Speed = NumberRange.new(10,50)
  7265. eff.Drag = 5
  7266. eff.Rotation = NumberRange.new(-500,500)
  7267. eff.VelocitySpread = 100000
  7268. wait(0.25)
  7269. eff.Enabled = false
  7270. end))
  7271. coroutine.resume(coroutine.create(function()
  7272. for i = 0, 1 do
  7273. swait()
  7274. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MRCL)
  7275. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MRCL)
  7276. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MRCL)
  7277. end
  7278. end))
  7279. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(2,2,2),0.5,-0.01,-0.01,MRCL)
  7280. MagniDamage(hite, 3, 30,40, 0, "Normal")
  7281. game:GetService("Debris"):AddItem(hite, 5)
  7282. posit = posit + 2
  7283. end
  7284. for i = 0,1,0.1 do
  7285. swait()
  7286. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MRCL)
  7287. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  7288. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  7289. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  7290. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  7291. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
  7292. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  7293. end
  7294. for i = 0,1,0.1 do
  7295. swait()
  7296. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MRCL)
  7297. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,0)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  7298. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  7299. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  7300. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  7301. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(30)),.5)
  7302. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(40)),.5)
  7303. end
  7304. posit = -6
  7305. for i = 0, 6 do
  7306. CameraEnshaking(1,3)
  7307. local hite = Instance.new("Part", char)
  7308. hite.Anchored = true
  7309. hite.CanCollide = false
  7310. hite.FormFactor = 3
  7311. hite.Name = "Ring"
  7312. hite.Material = "Neon"
  7313. hite.Size = Vector3.new(1, 1, 1)
  7314. hite.Transparency = 1
  7315. hite.TopSurface = 0
  7316. hite.BottomSurface = 0
  7317. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  7318. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  7319. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  7320. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),-0.01,1,-0.01,MRCL)
  7321. coroutine.resume(coroutine.create(function()
  7322. local eff = Instance.new("ParticleEmitter",hite)
  7323. eff.Texture = "rbxassetid://1175838406"
  7324. eff.LightEmission = 0.95
  7325. eff.Color = ColorSequence.new(MRCL.Color)
  7326. eff.Rate = 1000
  7327. eff.Lifetime = NumberRange.new(1)
  7328. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  7329. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7330. eff.Speed = NumberRange.new(20,70)
  7331. eff.Drag = 5
  7332. eff.Rotation = NumberRange.new(-500,500)
  7333. eff.VelocitySpread = 100000
  7334. wait(0.25)
  7335. eff.Enabled = false
  7336. end))
  7337. coroutine.resume(coroutine.create(function()
  7338. for i = 0, 2 do
  7339. swait()
  7340. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MRCL)
  7341. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MRCL)
  7342. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MRCL)
  7343. end
  7344. end))
  7345. MagniDamage(hite, 5, 40,70, 0, "Normal")
  7346. game:GetService("Debris"):AddItem(hite, 5)
  7347. posit = posit + 2
  7348. end
  7349. for i = 0,1,0.1 do
  7350. swait()
  7351. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MRCL)
  7352. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  7353. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  7354. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  7355. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  7356. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(10),math.rad(-10)),.5)
  7357. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(60)),.5)
  7358. end
  7359. hum.WalkSpeed = storehumanoidWS
  7360. attack = false
  7361. end
  7362.  
  7363. function AZUREFINALE()
  7364. attack = true
  7365. duringend = true
  7366. hum.WalkSpeed = 0
  7367. CFuncs["Sound"].Create("rbxassetid://1117054464", char, 7.5, 0.75)
  7368. CFuncs["LongSound"].Create("rbxassetid://1042700914", char, 3.5, 0.05)
  7369. local hite = Instance.new("Part", char)
  7370. hite.Anchored = true
  7371. hite.CanCollide = false
  7372. hite.FormFactor = 3
  7373. hite.Name = "Ring"
  7374. hite.Material = "Neon"
  7375. hite.Size = Vector3.new(1, 1, 1)
  7376. hite.Transparency = 0
  7377. hite.TopSurface = 0
  7378. hite.BottomSurface = 0
  7379. hite.BrickColor = MRCL
  7380. local orbm = Instance.new("SpecialMesh", hite)
  7381. orbm.MeshType = "Sphere"
  7382. orbm.Name = "SizeMesh"
  7383. orbm.Scale = vt(0,0,0)
  7384. hite.CFrame = root.CFrame*CFrame.new(0,200,0)
  7385. for i = 0,70,0.1 do
  7386. swait()
  7387. orbm.Scale = orbm.Scale + vt(0.5,0.5,0.5)
  7388. rsiz = math.random(10,45)
  7389. kan.Volume = kan.Volume + 0.01
  7390. kan.Pitch = kan.Pitch - 0.00135
  7391. sphereMK(math.random(1,4),2.5,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/2,rsiz/2,rsiz/2,0,MRCL,-300)
  7392. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,1.5,10),-0.01,10,-0.01,MRCL)
  7393. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  7394. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  7395. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  7396. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7397. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  7398. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  7399. end
  7400. kan.Pitch = 0.1
  7401. hite.Transparency = 1
  7402. for i = 0,2 do
  7403. CFuncs["LongSound"].Create("rbxassetid://324849898", char, 10,0.9)
  7404. end
  7405. CFuncs["LongSound"].Create("rbxassetid://1117054464", char, 5, 0.75)
  7406. sphere2(1,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),-5,-5,-5,MRCL)
  7407. sphere2(1,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),2,2,2,MRCL)
  7408. sphere2(2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),3,3,3,MRCL)
  7409. coroutine.resume(coroutine.create(function()
  7410. local eff = Instance.new("ParticleEmitter",hite)
  7411. eff.Texture = "rbxassetid://284205403"
  7412. eff.LightEmission = 0.95
  7413. eff.Color = ColorSequence.new(MRCL.Color)
  7414. eff.Rate = 10000
  7415. eff.Lifetime = NumberRange.new(5)
  7416. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,100,0),NumberSequenceKeypoint.new(1,0,0)})
  7417. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7418. eff.Speed = NumberRange.new(600,1250)
  7419. eff.Drag = 5
  7420. eff.Rotation = NumberRange.new(-500,500)
  7421. eff.VelocitySpread = 9000
  7422. eff.RotSpeed = NumberRange.new(-500,500)
  7423. wait(1)
  7424. eff.Enabled = false
  7425. end))
  7426. for i = 0,5,0.1 do
  7427. swait()
  7428. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  7429. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  7430. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  7431. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7432. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  7433. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  7434. end
  7435. local adsc = 0
  7436. local radiatezone = 0
  7437. for i = 0,20,0.1 do
  7438. swait()
  7439. adsc = adsc + 0.025
  7440. radiatezone = radiatezone + 1.25
  7441. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MRCL)
  7442. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  7443. if v:FindFirstChild('Head') then
  7444. dmg(v)
  7445. end
  7446. end
  7447. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  7448. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  7449. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  7450. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7451. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  7452. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  7453. end
  7454. for i = 0,2 do
  7455. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.9)
  7456. end
  7457. for i = 0,40,0.1 do
  7458. swait()
  7459. adsc = adsc + 0.05
  7460. radiatezone = radiatezone + 2.5
  7461. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MRCL)
  7462. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  7463. if v:FindFirstChild('Head') then
  7464. dmg(v)
  7465. end
  7466. end
  7467. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  7468. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  7469. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  7470. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7471. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  7472. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  7473. end
  7474. for i = 0,4 do
  7475. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.75)
  7476. CFuncs["LongSound"].Create("rbxassetid://923073285", char, 1.25,0.75)
  7477. end
  7478. for i = 0,80,0.1 do
  7479. swait()
  7480. adsc = adsc + 0.075
  7481. radiatezone = radiatezone + 3.75
  7482. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MRCL)
  7483. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  7484. if v:FindFirstChild('Head') then
  7485. dmg(v)
  7486. end
  7487. end
  7488. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  7489. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  7490. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  7491. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7492. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  7493. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  7494. end
  7495. hite:Destroy()
  7496. duringend = false
  7497. hum.WalkSpeed = storehumanoidWS
  7498. attack = false
  7499. end
  7500.  
  7501. function AzureVANISHMENT()
  7502. attack = true
  7503. hum.WalkSpeed = 0
  7504. local truescale = 0
  7505. local rd = math.random(1,3)
  7506. if rd == 1 then
  7507. bosschatfunc("This is your end!",MRCL.Color,2)
  7508. elseif rd == 2 then
  7509. bosschatfunc("Pathetic.",MRCL.Color,2)
  7510. elseif rd == 3 then
  7511. bosschatfunc("Time to end this.",MRCL.Color,2)
  7512. end
  7513. CFuncs["LongSound"].Create("rbxassetid://1368583274", char, 10, 0.25)
  7514. for i = 0,49,0.1 do
  7515. swait()
  7516. truescale = truescale + 0.2
  7517. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  7518. slash(5,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,75,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,0.01,3),-3,BrickColor.new("Royal purple"))
  7519. block(10,"Add",root.CFrame*CFrame.new(0,75,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(truescale,truescale,truescale),0.01,0.01,0.01,BrickColor.new("Magenta"),BrickColor.new("Magenta").Color)
  7520. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(5),math.rad(-10)),.5)
  7521. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(5)),.5)
  7522. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(40)),.5)
  7523. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.5)
  7524. RW.C0=clerp(RW.C0,cf(1.45,1,0.1)*angles(math.rad(180),math.rad(-30),math.rad(-5)),.5)
  7525. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-10)),.5)
  7526. end
  7527. hum.CameraOffset = vt(0,0,0)
  7528. CFuncs["Sound"].Create("rbxassetid://260411131", rarm, 7.5, 1)
  7529. for i = 0,2,0.1 do
  7530. swait()
  7531. block(10,"Add",rarm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.01,0.01,0.01,BrickColor.new("Magenta"),BrickColor.new("Magenta").Color)
  7532. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(5),math.rad(-10)),.5)
  7533. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(5)),.5)
  7534. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(55)),.5)
  7535. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-55)),.5)
  7536. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.6)*angles(math.rad(90),math.rad(0),math.rad(-50)),.5)
  7537. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-10)),.5)
  7538. end
  7539. shakes(1,4)
  7540. local orb = Instance.new("Part", char)
  7541. for i = 0, 4 do
  7542. CFuncs["Sound"].Create("rbxassetid://335657174", char, 7.5, 0.5)
  7543. end
  7544. local efec = Instance.new("ParticleEmitter",orb)
  7545. efec.Texture = "rbxassetid://2109052855"
  7546. efec.LightEmission = 1
  7547. efec.Color = ColorSequence.new(Color3.new(0.5,0,1))
  7548. efec.Rate = 5
  7549. efec.Lifetime = NumberRange.new(3)
  7550. efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,100,0),NumberSequenceKeypoint.new(0.2,175,0),NumberSequenceKeypoint.new(0.6,110,0),NumberSequenceKeypoint.new(0.8,175,0),NumberSequenceKeypoint.new(1,200,0)})
  7551. efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.25,0),NumberSequenceKeypoint.new(0.6,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  7552. efec.Drag = 5
  7553. efec.LockedToPart = true
  7554. efec.Rotation = NumberRange.new(-500,500)
  7555. efec.VelocitySpread = 9000
  7556. efec.RotSpeed = NumberRange.new(-500,500)
  7557. orb.BrickColor = BrickColor.new("Magenta")
  7558. orb.CanCollide = false
  7559. orb.FormFactor = 3
  7560. orb.Name = "Ring"
  7561. orb.Material = "Neon"
  7562. orb.Size = Vector3.new(1, 1, 1)
  7563. orb.Transparency = 0
  7564. orb.TopSurface = 0
  7565. orb.BottomSurface = 0
  7566. local orbm = Instance.new("SpecialMesh", orb)
  7567. orbm.MeshType = "Sphere"
  7568. orbm.Name = "SizeMesh"
  7569. orbm.Scale = vt(25,25,25)
  7570. orb.CFrame = root.CFrame + root.CFrame.lookVector*3
  7571. local a = Instance.new("Part",workspace)
  7572. a.Name = "Direction"
  7573. a.Anchored = true
  7574. a.BrickColor = bc("Bright red")
  7575. a.Material = "Neon"
  7576. a.Transparency = 1
  7577. a.CanCollide = false
  7578. local ray = Ray.new(
  7579. orb.CFrame.p, -- origin
  7580. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7581. )
  7582. local ignore = orb
  7583. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7584. a.BottomSurface = 10
  7585. a.TopSurface = 10
  7586. local distance = (orb.CFrame.p - position).magnitude
  7587. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7588. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  7589. orb.CFrame = a.CFrame
  7590. a:Destroy()
  7591. local over = false
  7592. local bgui,imgc = createBGCircle(250,orb,Color3.new(0.5,0,1))
  7593. bgui.AlwaysOnTop = true
  7594. imgc.Image = "rbxassetid://2076519836"
  7595. coroutine.resume(coroutine.create(function()
  7596. while true do
  7597. swait()
  7598. if over == false then
  7599. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  7600. coroutine.resume(coroutine.create(function()
  7601. for i, v in pairs(FindNearestHead(orb.CFrame.p, 100)) do
  7602. if v:FindFirstChild('Head') then
  7603. dmg(v)
  7604. end
  7605. end
  7606. end))
  7607. slash(10,2,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),1,BrickColor.new("Dark indigo"))
  7608. imgc.Rotation = imgc.Rotation + 5
  7609. imgc.ImageTransparency = 0.75 + 0.25 * math.cos(sine / 15)
  7610. bgui.Size = UDim2.new(250 + 25 * math.cos(sine / 15),0, 250 + 25 * math.cos(sine / 15),0)
  7611. elseif over == true then
  7612. break
  7613. end
  7614. end
  7615. end))
  7616. local bv = Instance.new("BodyVelocity")
  7617. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7618. bv.velocity = orb.CFrame.lookVector*50
  7619. bv.Parent = orb
  7620. coroutine.resume(coroutine.create(function()
  7621. wait(10)
  7622. hum.CameraOffset = vt(0,0,0)
  7623. over = true
  7624. efec.Enabled = false
  7625. orb.Anchored = true
  7626. shakes(6,5)
  7627. for i = 0, 2 do
  7628. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 10,1)
  7629. CFuncs["LongSound"].Create("rbxassetid://763717897", char, 10, 0.5)
  7630. CFuncs["LongSound"].Create("rbxassetid://763717897", char, 7.5, 0.25)
  7631. CFuncs["Sound"].Create("rbxassetid://763718160", char, 10, 0.9)
  7632. CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 0.5)
  7633. CFuncs["Sound"].Create("rbxassetid://335657174", char, 5, 0.75)
  7634. CFuncs["LongSound"].Create("rbxassetid://335657174", char, 10, 0.25)
  7635. CFuncs["Sound"].Create("rbxassetid://167115397", char, 10, 1)
  7636. CFuncs["LongSound"].Create("rbxassetid://167115397", char, 10, 0.75)
  7637. CFuncs["LongSound"].Create("rbxassetid://167115397", char, 10, 0.5)
  7638. end
  7639. for i = 0, 2 do
  7640. block(3,"Add",orb.CFrame,vt(1,1,1),6.5,6.5,6.5,BrickColor.new("Dark indigo"),BrickColor.new("Dark indigo").Color)
  7641. block(2,"Add",orb.CFrame,vt(1,1,1),6,6,6,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  7642. block(1,"Add",orb.CFrame,vt(1,1,1),4.5,4.5,4.5,BrickColor.new("Magenta"),BrickColor.new("Magenta").Color)
  7643. end
  7644. for i = 0, 49 do
  7645. slash(math.random(10,30)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,2500)/250,BrickColor.new("Royal purple"))
  7646. end
  7647. imgc.ImageTransparency = 0
  7648. --CameraEnshaking(20,30)
  7649. for i = 0, 199 do
  7650. swait()
  7651. --[[coroutine.resume(coroutine.create(function()
  7652. for i, v in pairs(FindNearestHead(orb.CFrame.p, 5000)) do
  7653. if v:FindFirstChild('Head') then
  7654. dmg(v)
  7655. end
  7656. end
  7657. end))]]--
  7658. imgc.Rotation = imgc.Rotation + 10
  7659. local dis = CreateParta(char,1,1,"Neon",MRCL)
  7660. dis.CFrame = orb.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7661. local at1 = Instance.new("Attachment",dis)
  7662. at1.Position = vt(-25000,0,0)
  7663. local at2 = Instance.new("Attachment",dis)
  7664. at2.Position = vt(25000,0,0)
  7665. local trl = Instance.new('Trail',dis)
  7666. trl.Attachment0 = at1
  7667. trl.FaceCamera = true
  7668. trl.Attachment1 = at2
  7669. trl.Texture = "rbxassetid://1049219073"
  7670. trl.LightEmission = 1
  7671. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7672. trl.Color = ColorSequence.new(orb.Color)
  7673. trl.Lifetime = 5
  7674. local bv = Instance.new("BodyVelocity")
  7675. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7676. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  7677. bv.Parent = dis
  7678. game:GetService("Debris"):AddItem(dis, 5)
  7679. sphere2(15,"Add",orb.CFrame,vt(1.25,1.25,1.25),45,45,45,BrickColor.new("Royal purple"))
  7680. for i = 0, 2 do
  7681. slash(15,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),25,BrickColor.new("Really black"))
  7682. slash(15,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),50,BrickColor.new("Dark indigo"))
  7683. end
  7684. orbm.Scale = orbm.Scale + vt(10,10,10)
  7685. orb.Transparency = orb.Transparency + 0.005
  7686. imgc.ImageTransparency = imgc.ImageTransparency + 0.005
  7687. bgui.Size = bgui.Size + UDim2.new(35,0,35,0)
  7688. end
  7689. hum.CameraOffset = vt(0,0,0)
  7690. game:GetService("Debris"):AddItem(orb, 10)
  7691. end))
  7692. for i = 0,2,0.1 do
  7693. swait()
  7694. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(5),math.rad(-10)),.5)
  7695. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(20),math.rad(10)),.5)
  7696. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,1)*angles(math.rad(5),math.rad(0),math.rad(-45)),.5)
  7697. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(45)),.5)
  7698. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(50)),.5)
  7699. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(20),math.rad(10),math.rad(-30)),.5)
  7700. end
  7701. attack = false
  7702. hum.WalkSpeed = storehumanoidWS
  7703. end
  7704.  
  7705. function GalacticalBeams()
  7706. attack = true
  7707. local keptcolor = MRCL
  7708. local radm = math.random(1,3)
  7709. if radm == 1 then
  7710. bosschatfunc("Galactical Beam!",MRCL.Color,1)
  7711. elseif radm == 2 then
  7712. bosschatfunc("Dodge this.",MRCL.Color,1)
  7713. elseif radm == 3 then
  7714. bosschatfunc("Aren't you familiar?",MRCL.Color,1)
  7715. end
  7716. coroutine.resume(coroutine.create(function()
  7717. for i = 0, 0 do
  7718. swait(10)
  7719. local orb = Instance.new("Part", char)
  7720. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  7721. orb.BrickColor = keptcolor
  7722. orb.CanCollide = false
  7723. orb.FormFactor = 3
  7724. orb.Name = "Ring"
  7725. orb.Material = "Neon"
  7726. orb.Size = Vector3.new(1, 1, 1)
  7727. orb.Transparency = 1
  7728. orb.TopSurface = 0
  7729. orb.BottomSurface = 0
  7730. orb.Anchored = true
  7731. local orbm = Instance.new("SpecialMesh", orb)
  7732. orbm.MeshType = "Sphere"
  7733. orbm.Name = "SizeMesh"
  7734. orbm.Scale = vt(1.25,1.25,1.25)
  7735. orb.CFrame = root.CFrame*CFrame.new(math.random(-25,25),math.random(75,150),math.random(-25,25))
  7736. coroutine.resume(coroutine.create(function()
  7737. orb.Transparency = 1
  7738. local a = Instance.new("Part",char)
  7739. a.Name = "Direction"
  7740. a.Anchored = true
  7741. a.BrickColor = keptcolor
  7742. a.Material = "Neon"
  7743. a.Transparency = 1
  7744. a.Shape = "Cylinder"
  7745. local x = Instance.new("Part",char)
  7746. x.Name = "Direction"
  7747. x.Anchored = true
  7748. x.BrickColor = keptcolor
  7749. x.Material = "Neon"
  7750. x.Transparency = 1
  7751. x.Shape = "Cylinder"
  7752. local ht = Instance.new("Part",char)
  7753. ht.Name = "DirectionHit"
  7754. ht.Anchored = true
  7755. ht.BrickColor = keptcolor
  7756. ht.CanCollide = false
  7757. ht.Transparency = 1
  7758. ht.Size = vt(0.1,0.1,0.1)
  7759. a.CanCollide = false
  7760. local ray = Ray.new(
  7761. orb.CFrame.p, -- origin
  7762. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  7763. )
  7764. local ignore = char
  7765. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7766. a.BottomSurface = 10
  7767. a.TopSurface = 10
  7768. local distance = (orb.CFrame.p - position).magnitude
  7769. a.Size = Vector3.new(distance,1,1)
  7770. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7771. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7772. x.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  7773. local poste = 0
  7774. local rotation = 0
  7775. CFuncs["Sound"].Create("rbxassetid://153092315", char, 1.5, 1)
  7776. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(5,5,5),2.5,2.5,0,keptcolor)
  7777. CameraEnshaking(2,2)
  7778. coroutine.resume(coroutine.create(function()
  7779. local eff = Instance.new("ParticleEmitter",orb)
  7780. eff.Texture = "rbxassetid://2273224484"
  7781. eff.LightEmission = 1
  7782. eff.Color = ColorSequence.new(keptcolor.Color)
  7783. eff.Rate = 15000
  7784. eff.Lifetime = NumberRange.new(2.5,5)
  7785. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,60,0),NumberSequenceKeypoint.new(0.2,3,0),NumberSequenceKeypoint.new(0.8,24,0),NumberSequenceKeypoint.new(1,0,0)})
  7786. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7787. eff.Speed = NumberRange.new(100,650)
  7788. eff.Drag = 5
  7789. eff.Rotation = NumberRange.new(-500,500)
  7790. eff.VelocitySpread = 9000
  7791. eff.RotSpeed = NumberRange.new(-50,50)
  7792. wait(0.35)
  7793. eff.Enabled = false
  7794. end))
  7795. for i = 0, 49 do
  7796. swait()
  7797. rotation = rotation + 5
  7798. poste = poste + 1
  7799. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7800. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7801. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7802. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7803. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7804. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7805. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7806. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7807. end
  7808. shakes(1,1)
  7809. local A1 = Instance.new("Attachment",x)
  7810. local A2 = Instance.new("Attachment",ht)
  7811. local Beem = Instance.new("Beam",ht)
  7812. Beem.Attachment0 = A1
  7813. Beem.Attachment1 = A2
  7814. Beem.LightEmission = 1
  7815. Beem.FaceCamera = true
  7816. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, 0),NumberSequenceKeypoint.new(0.975, 0),NumberSequenceKeypoint.new(1, 1)})
  7817. Beem.Width0 = 125
  7818. Beem.Width1 = 125
  7819. Beem.Texture = "rbxassetid://1134824633"
  7820. Beem.TextureMode = "Wrap"
  7821. Beem.TextureLength = 200
  7822. Beem.TextureSpeed = 1.5
  7823. Beem.Color = ColorSequence.new(keptcolor.Color)
  7824. CameraEnshaking(3,6)
  7825. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 1.5, 1)
  7826. CFuncs["Sound"].Create("rbxassetid://294188875", char, 2, 1.5)
  7827. a.Transparency = 0.25
  7828. for i = 0, 49 do
  7829. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  7830. disr.CFrame = ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7831. local at1 = Instance.new("Attachment",disr)
  7832. at1.Position = vt(-5,0,0)
  7833. local at2 = Instance.new("Attachment",disr)
  7834. at2.Position = vt(5,0,0)
  7835. local trl = Instance.new('Trail',disr)
  7836. trl.Attachment0 = at1
  7837. trl.FaceCamera = true
  7838. trl.Attachment1 = at2
  7839. trl.Texture = "rbxassetid://2325530138"
  7840. trl.LightEmission = 1
  7841. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7842. trl.Color = ColorSequence.new(keptcolor.Color)
  7843. trl.Lifetime = 0.5
  7844. local bv = Instance.new("BodyVelocity")
  7845. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7846. bv.velocity = disr.CFrame.lookVector*math.random(50,500)
  7847. bv.Parent = disr
  7848. local val = 0
  7849. coroutine.resume(coroutine.create(function()
  7850. swait(math.random(30,60))
  7851. for i = 0, 19 do
  7852. swait()
  7853. val = val + 0.05
  7854. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  7855. end
  7856. game:GetService("Debris"):AddItem(disr, 3)
  7857. end))
  7858. end
  7859. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  7860. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  7861. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  7862. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  7863. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
  7864. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
  7865. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  7866. local eff = Instance.new("ParticleEmitter",ht)
  7867. eff.Texture = "rbxassetid://2273224484"
  7868. eff.LightEmission = 1
  7869. eff.Color = ColorSequence.new(keptcolor.Color)
  7870. eff.Rate = 500
  7871. eff.Lifetime = NumberRange.new(1,3)
  7872. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,10,0),NumberSequenceKeypoint.new(1,0,0)})
  7873. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  7874. eff.Speed = NumberRange.new(80,700)
  7875. eff.Drag = 3
  7876. eff.Rotation = NumberRange.new(-500,500)
  7877. eff.VelocitySpread = 9000
  7878. eff.RotSpeed = NumberRange.new(-100,100)
  7879. for i = 0, 24 do
  7880. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  7881. local rsiz = math.random(10,50)
  7882. sphereMK(math.random(3,6),1.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  7883. end
  7884. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7885. local msh = Instance.new("SpecialMesh",a)
  7886. msh.MeshType = "Cylinder"
  7887. msh.Scale = vt(1,15,15)
  7888. for i = 0, 49 do
  7889. swait()
  7890. CameraEnshaking(1,4)
  7891. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  7892. rotation = rotation + 5
  7893. slash(math.random(30,90)/10,5,true,"Round","Add","Out",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,450)/250,BrickColor.new("White"))
  7894. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  7895. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  7896. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(25,25,5),1,1,0,keptcolor)
  7897. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  7898. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  7899. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  7900. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  7901. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  7902. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  7903. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  7904. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  7905. for i = 0, 2 do
  7906. local rsiz = math.random(50,250)
  7907. sphereMK(math.random(3,6),math.random(2,4),"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  7908. end
  7909. msh.Scale = msh.Scale + vt(0,0.25,0.25)
  7910. end
  7911. eff.Enabled = false
  7912. local visibility = 0
  7913. for i = 0, 49 do
  7914. swait()
  7915. visibility = visibility + 0.02
  7916. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, visibility),NumberSequenceKeypoint.new(0.975, visibility),NumberSequenceKeypoint.new(1, 1)})
  7917. rotation = rotation + 5
  7918. poste = poste - 1
  7919. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7920. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7921. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7922. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7923. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7924. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7925. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7926. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7927. msh.Scale = msh.Scale + vt(0,-0.5,-0.5)
  7928. a.Transparency = a.Transparency + 0.02
  7929. end
  7930. wait(1)
  7931. orb:Destroy()
  7932. a:Destroy()
  7933. ht:Destroy()
  7934. end))
  7935. game:GetService("Debris"):AddItem(orb, 10)
  7936. end
  7937. end))
  7938. hum.WalkSpeed = storehumanoidWS
  7939. attack = false
  7940. end
  7941.  
  7942. function SingularityVoid()
  7943. attack = true
  7944. hum.WalkSpeed = 0
  7945. hum.JumpPower = 0
  7946. local radm = math.random(1,3)
  7947. if radm == 1 then
  7948. bosschatfunc("Singularity Void!",MRCL.Color,1)
  7949. elseif radm == 2 then
  7950. bosschatfunc("Be one with darkness.",MRCL.Color,1)
  7951. elseif radm == 3 then
  7952. bosschatfunc("Don't bother me.",MRCL.Color,1)
  7953. end
  7954. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  7955. local poste = 3
  7956. local rotation = 0
  7957. local rate = 0
  7958. local bgui,imgc = createBGCircle(0,root,Color3.new(0,0,0))
  7959. bgui.AlwaysOnTop = true
  7960. imgc.ImageTransparency = 1
  7961. imgc.Image = "rbxassetid://2076519836"
  7962. for i = 0, 124 do
  7963. swait()
  7964. bgui.Size = bgui.Size + UDim2.new(2.5,0,2.5,0)
  7965. imgc.ImageTransparency = imgc.ImageTransparency - 0.01
  7966. imgc.Rotation = imgc.Rotation - rotation/10
  7967. rotation = rotation + rate
  7968. poste = poste + 0.1
  7969. rate = rate + 0.1
  7970. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-25)),.1)
  7971. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(25)),.1)
  7972. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-25),math.rad(0),math.rad(0)),.1)
  7973. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  7974. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-10),math.rad(0),math.rad(90)),.1)
  7975. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(0),math.rad(-90)),.1)
  7976. end
  7977. shakes(1,1)
  7978. CameraEnshaking(5,12)
  7979. local keptcolor = MRCL
  7980. for i, v in pairs(FindNearestHead(root.CFrame.p, 125)) do
  7981. if v:FindFirstChild('Head') then
  7982. coroutine.resume(coroutine.create(function()
  7983. CFuncs["Sound"].Create("rbxassetid://1042716828", v.Head, 5, 0.5)
  7984. local vel = Instance.new("BodyPosition", v.Head)
  7985. vel.P = 12500
  7986. vel.D = 1000
  7987. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7988. vel.position = v.Head.CFrame.p + vt(0,10,0)
  7989. for i,v in pairs(v:GetChildren()) do
  7990. if v:IsA("Part") or v:IsA("MeshPart") then
  7991. coroutine.resume(coroutine.create(function()
  7992. local bld = Instance.new("ParticleEmitter",v)
  7993. bld.LightEmission = 0.75
  7994. bld.Texture = "rbxassetid://363275192" ---284205403
  7995. bld.Color = ColorSequence.new(keptcolor.Color)
  7996. bld.Rate = 500
  7997. bld.Lifetime = NumberRange.new(1)
  7998. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  7999. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  8000. bld.Speed = NumberRange.new(2,5)
  8001. bld.VelocitySpread = 50000
  8002. bld.Rotation = NumberRange.new(-500,500)
  8003. bld.RotSpeed = NumberRange.new(-500,500)
  8004. end))
  8005. end
  8006. end
  8007. local A1 = Instance.new("Attachment",root)
  8008. local A2 = Instance.new("Attachment",v.Head)
  8009. local Beem = Instance.new("Beam",v.Head)
  8010. Beem.Attachment0 = A1
  8011. Beem.Attachment1 = A2
  8012. Beem.LightEmission = 1
  8013. Beem.FaceCamera = true
  8014. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  8015. Beem.Width0 = 1
  8016. Beem.Width1 = 1
  8017. Beem.Texture = "rbxassetid://1134824633"
  8018. Beem.TextureMode = "Wrap"
  8019. Beem.TextureLength = 2
  8020. Beem.TextureSpeed = 5
  8021. Beem.Color = ColorSequence.new(keptcolor.Color)
  8022. wait(5)
  8023. coroutine.resume(coroutine.create(function()
  8024. local ref = Instance.new("Part", char)
  8025. ref.Anchored = true
  8026. ref.CanCollide = false
  8027. ref.Transparency = 1
  8028. ref.CFrame = v.Head.CFrame
  8029. sphere2(1,"Add",v.Head.CFrame,vt(25,25,25),-0.25,-0.25,-0.25,keptcolor)
  8030. sphere2(2,"Add",v.Head.CFrame,vt(25,25,25),-0.5,-0.5,-0.5,keptcolor)
  8031. sphere2(3,"Add",v.Head.CFrame,vt(25,25,25),-0.75,-0.75,-0.75,keptcolor)
  8032. for i = 0, 9 do
  8033. slash(math.random(10,25)/10,5,true,"Round","Add","Out",v.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.001,0.5),-1,BrickColor.new("Really black"))
  8034. end
  8035. v.Head.Parent:Destroy()
  8036. CFuncs["Sound"].Create("rbxassetid://763718160", ref, 10, 1.1)
  8037. CFuncs["Sound"].Create("rbxassetid://782353443", ref, 10, 1)
  8038. CFuncs["Sound"].Create("rbxassetid://335657174", ref, 10, 1)
  8039. wait(5)
  8040. ref:Destroy()
  8041. end))
  8042. end))
  8043. end
  8044. end
  8045. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 2, 1)
  8046. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 3, 1)
  8047. CFuncs["Sound"].Create("rbxassetid://167115397", char, 3, 1)
  8048. CFuncs["Sound"].Create("rbxassetid://782353443", char, 3, 0.9)
  8049. CFuncs["Sound"].Create("rbxassetid://782353443", char, 4, 0.8)
  8050. CFuncs["Sound"].Create("rbxassetid://782353443", char, 5, 0.7)
  8051. for i = 0, 49 do
  8052. slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.25,0.01,0.25),math.random(150,1000)/250,BrickColor.new("Really black"))
  8053. end
  8054. coroutine.resume(coroutine.create(function()
  8055. local eff = Instance.new("ParticleEmitter",root)
  8056. eff.Texture = "rbxassetid://2273224484"
  8057. eff.LightEmission = 1
  8058. eff.Color = ColorSequence.new(BrickColor.new("Alder").Color)
  8059. eff.Rate = 5000000
  8060. eff.Lifetime = NumberRange.new(3)
  8061. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(0.2,8,0),NumberSequenceKeypoint.new(1,0.1,0)})
  8062. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(1,1,0)})
  8063. eff.Speed = NumberRange.new(150,1000)
  8064. eff.Drag = 5
  8065. eff.Rotation = NumberRange.new(-500,500)
  8066. eff.VelocitySpread = 9000
  8067. eff.RotSpeed = NumberRange.new(-100,100)
  8068. wait(0.5)
  8069. eff.Enabled = false
  8070. wait(6)
  8071. eff:Destroy()
  8072. end))
  8073. coroutine.resume(coroutine.create(function()
  8074. local eff = Instance.new("ParticleEmitter",root)
  8075. eff.Texture = "rbxassetid://363275192"
  8076. eff.LightEmission = 0.95
  8077. eff.Color = ColorSequence.new(MRCL.Color)
  8078. eff.Rate = 10000
  8079. eff.Lifetime = NumberRange.new(1)
  8080. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,80,0)})
  8081. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8082. eff.Speed = NumberRange.new(100,500)
  8083. eff.Drag = 5
  8084. eff.Rotation = NumberRange.new(-500,500)
  8085. eff.VelocitySpread = 9000
  8086. eff.RotSpeed = NumberRange.new(-50,50)
  8087. wait(0.5)
  8088. eff.Enabled = false
  8089. wait(6)
  8090. eff:Destroy()
  8091. end))
  8092. sphere2(10,"Add",root.CFrame,vt(250,250,250),5,5,5,MRCL)
  8093. sphere2(9,"Add",root.CFrame,vt(250,250,250),5,5,5,MRCL)
  8094. sphere2(8,"Add",root.CFrame,vt(250,250,250),5,5,5,MRCL)
  8095. sphere2(2,"Add",root.CFrame,vt(250,250,250),0.1,0.1,0.1,MRCL)
  8096. coroutine.resume(coroutine.create(function()
  8097. wait(1)
  8098. rotation = 0
  8099. rate = 0
  8100. for i = 0, 49 do
  8101. swait()
  8102. bgui.Size = bgui.Size - UDim2.new(rate/2,0,rate/2,0)
  8103. imgc.Rotation = imgc.Rotation + rotation/20
  8104. rotation = rotation + rate
  8105. poste = poste + 1.5
  8106. rate = rate + 1.5
  8107. end
  8108. bgui:Destroy()
  8109. end))
  8110. hum.WalkSpeed = storehumanoidWS
  8111. hum.JumpPower = 50
  8112. attack = false
  8113. end
  8114.  
  8115.  
  8116. function WarpedDash()
  8117. attack = true
  8118. hum.WalkSpeed = 0
  8119. hum.JumpPower = 0
  8120. local radm = math.random(1,3)
  8121. if radm == 1 then
  8122. bosschatfunc("Act faster.",MRCL.Color,1)
  8123. elseif radm == 2 then
  8124. bosschatfunc("You'll be dusted out.",MRCL.Color,1)
  8125. elseif radm == 3 then
  8126. bosschatfunc("Warped Dash!",MRCL.Color,1)
  8127. end
  8128. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  8129. local poste = 3
  8130. local rotation = 0
  8131. local rate = 0
  8132. local bgui,imgc = createBGCircle(100,root,MRCL.Color)
  8133. bgui.AlwaysOnTop = true
  8134. imgc.ImageTransparency = 1
  8135. imgc.Image = "rbxassetid://2076519836"
  8136. for i = 0, 124 do
  8137. swait()
  8138. bgui.Size = bgui.Size - UDim2.new(0.85,0,0.85,0)
  8139. imgc.ImageTransparency = imgc.ImageTransparency - 0.01
  8140. imgc.Rotation = imgc.Rotation - rotation/10
  8141. rotation = rotation + rate
  8142. poste = poste + 0.1
  8143. rate = rate + 0.1
  8144. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MRCL)
  8145. sphere2(8,"Add",root.CFrame*CFrame.new(math.random(-20,20),-3,math.random(-20,20)),vt(1,1,1),-0.01,0.5,-0.01,MRCL)
  8146. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MRCL)
  8147. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MRCL)
  8148. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MRCL)
  8149. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MRCL)
  8150. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(poste/100,0.01,poste/100),poste/30,BrickColor.new("White"))
  8151. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(30)),.5)
  8152. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.5)
  8153. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  8154. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  8155. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  8156. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  8157. end
  8158. shakes(1.5,1)
  8159. bgui:Destroy()
  8160. CameraEnshaking(3,7)
  8161. local loc = Instance.new("Part", char)
  8162. loc.BrickColor = MRCL
  8163. loc.CanCollide = false
  8164. loc.FormFactor = 3
  8165. loc.Name = "Ring"
  8166. loc.Material = "Neon"
  8167. loc.Size = Vector3.new(1, 1, 1)
  8168. loc.Transparency = 1
  8169. loc.TopSurface = 0
  8170. loc.BottomSurface = 0
  8171. loc.Anchored = true
  8172. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  8173. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  8174. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  8175. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  8176. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MRCL)
  8177. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MRCL)
  8178. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MRCL)
  8179. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MRCL)
  8180. coroutine.resume(coroutine.create(function()
  8181. for i = 0, 49 do
  8182. local disr = CreateParta(char,1,1,"Neon",MRCL)
  8183. disr.CFrame = loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  8184. local at1 = Instance.new("Attachment",disr)
  8185. at1.Position = vt(-5,0,0)
  8186. local at2 = Instance.new("Attachment",disr)
  8187. at2.Position = vt(5,0,0)
  8188. local trl = Instance.new('Trail',disr)
  8189. trl.Attachment0 = at1
  8190. trl.FaceCamera = true
  8191. trl.Attachment1 = at2
  8192. trl.Texture = "rbxassetid://2325530138"
  8193. trl.LightEmission = 1
  8194. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  8195. trl.Color = ColorSequence.new(MRCL.Color)
  8196. trl.Lifetime = 0.5
  8197. local bv = Instance.new("BodyVelocity")
  8198. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  8199. bv.velocity = disr.CFrame.lookVector*math.random(50,500)
  8200. bv.Parent = disr
  8201. local val = 0
  8202. coroutine.resume(coroutine.create(function()
  8203. swait(math.random(30,60))
  8204. for i = 0, 9 do
  8205. swait()
  8206. val = val + 0.1
  8207. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  8208. end
  8209. game:GetService("Debris"):AddItem(disr, 3)
  8210. end))
  8211. end
  8212. local eff = Instance.new("ParticleEmitter",loc)
  8213. eff.Texture = "rbxassetid://363275192"
  8214. eff.LightEmission = 0.95
  8215. eff.Color = ColorSequence.new(MRCL.Color)
  8216. eff.Rate = 10000
  8217. eff.Lifetime = NumberRange.new(1)
  8218. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,80,0)})
  8219. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8220. eff.Speed = NumberRange.new(100,500)
  8221. eff.Drag = 5
  8222. eff.Rotation = NumberRange.new(-500,500)
  8223. eff.VelocitySpread = 9000
  8224. eff.RotSpeed = NumberRange.new(-50,50)
  8225. wait(0.5)
  8226. eff.Enabled = false
  8227. end))
  8228. for i = 0, 29 do
  8229. slash(math.random(10,50)/10,5,true,"Round","Add","Out",loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,500)/250,BrickColor.new("White"))
  8230. end
  8231. for i = 0, 49 do
  8232. sphere2(math.random(100,300)/100,"Add",loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,5),-0.01,-0.01,5,MRCL)
  8233. end
  8234. for i = 0, 9 do
  8235. sphere2(3,"Add",loc.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),0),vt(1,1,5),-0.01,-0.01,5,MRCL)
  8236. end
  8237. game:GetService("Debris"):AddItem(loc, 5)
  8238. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  8239. hum.WalkSpeed = storehumanoidWS
  8240. hum.JumpPower = 50
  8241. attack = false
  8242. end
  8243. ---- Universal's Abilities
  8244. function annihilation()
  8245. attack = true
  8246. hum.WalkSpeed = 0
  8247. CFuncs["Sound"].Create("rbxassetid://247615928", char, 1.5, 1)
  8248. for i = 0, 9, 0.1 do
  8249. swait()
  8250. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(20)),.1)
  8251. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-20)),.1)
  8252. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.2 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(20),math.rad(0),math.rad(0)),.1)
  8253. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35),math.rad(0),math.rad(0)),.1)
  8254. RW.C0=clerp(RW.C0,cf(1.05,0.5 + 0.075 * math.cos(sine / 18),-0.5)*angles(math.rad(140 - 3 * math.cos(sine / 32)),math.rad(0 + 8 * math.cos(sine / 23)),math.rad(-42 + 3 * math.cos(sine / 15))),.1)
  8255. LW.C0=clerp(LW.C0,cf(-1.05,0.5 + 0.075 * math.cos(sine / 18),-0.5)*angles(math.rad(130 - 3 * math.cos(sine / 32)),math.rad(0 - 8 * math.cos(sine / 23)),math.rad(42 - 3 * math.cos(sine / 15))),.1)
  8256. end
  8257. for i = 0, 3, 0.1 do
  8258. swait()
  8259. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(0)),.1)
  8260. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(0)),.1)
  8261. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  8262. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.1)
  8263. RW.C0=clerp(RW.C0,cf(1.05,0.65 + 0.075 * math.cos(sine / 18),-0.5)*angles(math.rad(180 - 3 * math.cos(sine / 32)),math.rad(0 + 8 * math.cos(sine / 23)),math.rad(-42 + 3 * math.cos(sine / 15))),.1)
  8264. LW.C0=clerp(LW.C0,cf(-1.05,0.65 + 0.075 * math.cos(sine / 18),-0.5)*angles(math.rad(170 - 3 * math.cos(sine / 32)),math.rad(0 - 8 * math.cos(sine / 23)),math.rad(42 - 3 * math.cos(sine / 15))),.1)
  8265. end
  8266. shakes(1.5,3)
  8267. --[[local e = script.redness:Clone()
  8268. e.Parent = game:GetService("Lighting")]]--
  8269. CFuncs["Sound"].Create("rbxassetid://763717897", char, 3, 0.5)
  8270. CFuncs["Sound"].Create("rbxassetid://239000203", char, 3, 0.9)
  8271. CFuncs["Sound"].Create("rbxassetid://1413550336", char, 3, 1.1)
  8272. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2,0.75)
  8273. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 2,1)
  8274. CFuncs["Sound"].Create("rbxassetid://763718160", char, 2, 0.75)
  8275. for i = 0, 21, 0.1 do
  8276. swait()
  8277. coroutine.resume(coroutine.create(function()
  8278. if enableddam == true then
  8279. for i, v in pairs(FindNearestHead(root.CFrame.p, 1000000000)) do
  8280. if v:FindFirstChild('Head') then
  8281. dmg(v)
  8282. end
  8283. end
  8284. end
  8285. end))
  8286. slash(math.random(30,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(500,2500)/250,BrickColor.new("Really red"))
  8287. slash(math.random(30,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(500,2500)/250,BrickColor.new("Really black"))
  8288. sphere2(8,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),1,250,1,MRCL)
  8289. sphere2(8,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),1,250,1,MRCL2)
  8290. sphere2(6,"Add",root.CFrame*CFrame.Angles(0,0,0),vt(0,0,0),5,5,5,MRCL)
  8291. sphere2(7,"Add",root.CFrame*CFrame.Angles(0,0,0),vt(0,0,0),5.1,5.1,5.1,MRCL2)
  8292. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-30)),.5)
  8293. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(30)),.5)
  8294. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  8295. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-32),math.rad(0),math.rad(0 + 35 * math.cos(sine / 0.2))),.5)
  8296. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.075 * math.cos(sine / 18),0)*angles(math.rad(-40 - 3 * math.cos(sine / 32)),math.rad(0 + 8 * math.cos(sine / 23)),math.rad(50 + 3 * math.cos(sine / 15))),.5)
  8297. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.075 * math.cos(sine / 18),0)*angles(math.rad(-40 - 3 * math.cos(sine / 32)),math.rad(0 - 8 * math.cos(sine / 23)),math.rad(-50 - 3 * math.cos(sine / 15))),.5)
  8298. end
  8299. --e:Destroy()
  8300. attack = false
  8301. hum.WalkSpeed = storehumanoidWS
  8302. end
  8303.  
  8304. local etypemodes = "U"
  8305. local attacktype = 1
  8306.  
  8307. local OVMID = 1702473314
  8308. local OVMPIT = 1.0125
  8309. local OVMVOL = 1
  8310.  
  8311. Humanoid.Animator.Parent = nil
  8312.  
  8313.  
  8314. mouse.KeyDown:Connect(function(k)
  8315. if etypemodes == "U" then
  8316. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  8317. ModeOfGlitch = 1
  8318. storehumanoidWS = 16
  8319. hum.WalkSpeed = 16
  8320. rainbowmode = false
  8321. chaosmode = false
  8322. newTheme("rbxassetid://2128137966",0,1.01,1.25)
  8323. MRCL = BrickColor.new("Toothpaste")
  8324. MRCL2 = BrickColor.new("Mint")
  8325. RecolorTextAndRename("EXQUISITE",MRCL.Color,MRCL2.Color,"Antique","Camellia - INSECTICIDE")
  8326. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8327. end
  8328. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  8329. ModeOfGlitch = 2
  8330. storehumanoidWS = 16
  8331. hum.WalkSpeed = 16
  8332. rainbowmode = false
  8333. chaosmode = false
  8334. newTheme("rbxassetid://1002071384",0,1.01,1.25)
  8335. MRCL = BrickColor.new("Alder")
  8336. MRCL2 = BrickColor.new("Pastel light blue")
  8337. RecolorTextAndRename("ABERRIATION",MRCL.Color,MRCL2.Color,"Bodoni","Camellia - Enantiomorphs")
  8338. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8339. end
  8340. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  8341. ModeOfGlitch = 3
  8342. storehumanoidWS = 16
  8343. hum.WalkSpeed = 16
  8344. rainbowmode = false
  8345. chaosmode = false
  8346. newTheme("rbxassetid://1751171913",0,1.01,1.25)
  8347. MRCL = BrickColor.new("Really red")
  8348. MRCL2 = BrickColor.new("Dark indigo")
  8349. RecolorTextAndRename("DYSMORPHIC",MRCL.Color,MRCL2.Color,"Arcade","Camellia - Distorted Space")
  8350. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8351. end
  8352. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  8353. ModeOfGlitch = 4
  8354. storehumanoidWS = 16
  8355. hum.WalkSpeed = 16
  8356. rainbowmode = false
  8357. chaosmode = false
  8358. newTheme("rbxassetid://1119709168",0,1.01,1.25)
  8359. MRCL = BrickColor.new("Really black")
  8360. MRCL2 = BrickColor.new("Maroon")
  8361. RecolorTextAndRename("RECALCITRANT",MRCL.Color,MRCL2.Color,"Antique","Camellia - Beserkerz Warfare 345")
  8362. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8363. end
  8364. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  8365. ModeOfGlitch = 5
  8366. storehumanoidWS = 175
  8367. hum.WalkSpeed = 175
  8368. rainbowmode = false
  8369. chaosmode = false
  8370. newTheme("rbxassetid://2127419486",0,1.01,1.25)
  8371. MRCL = BrickColor.new("Bright yellow")
  8372. MRCL2 = BrickColor.new("Cool yellow")
  8373. RecolorTextAndRename("SERAPHIC",MRCL.Color,MRCL2.Color,"SciFi","Camellia - Completeness Under Incompleteness")
  8374. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8375. end
  8376. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  8377. ModeOfGlitch = 6
  8378. storehumanoidWS = 16
  8379. hum.WalkSpeed = 16
  8380. rainbowmode = false
  8381. chaosmode = false
  8382. newTheme("rbxassetid://2127505351",0,1.01,1.25)
  8383. MRCL = BrickColor.new("Lime green")
  8384. MRCL2 = BrickColor.new("Deep orange")
  8385. RecolorTextAndRename("ALACRITY",MRCL.Color,MRCL2.Color,"Bodoni","Camellia Vs. Expander - AZISAI")
  8386. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8387. end
  8388. if k == "f" and attack == false and ModeOfGlitch ~= 7 then
  8389. ModeOfGlitch = 7
  8390. storehumanoidWS = 180
  8391. hum.WalkSpeed = 180
  8392. rainbowmode = false
  8393. chaosmode = false
  8394. newTheme("rbxassetid://1861780345",0,1.015,1.45)
  8395. MRCL = BrickColor.new("White")
  8396. local rcl = math.random(1,5)
  8397. if rcl == 1 then
  8398. MRCL2 = BrickColor.new("Pink")
  8399. elseif rcl == 2 then
  8400. MRCL2 = BrickColor.new("Medium blue")
  8401. elseif rcl == 3 then
  8402. MRCL2 = BrickColor.new("Alder")
  8403. elseif rcl == 4 then
  8404. MRCL2 = BrickColor.new("Mint")
  8405. elseif rcl == 5 then
  8406. MRCL2 = BrickColor.new("Persimmon")
  8407. end
  8408. RecolorTextAndRename("SCINTILLANT",MRCL.Color,MRCL2.Color,"SciFi","Camellia - crystallized")
  8409. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8410. end
  8411. if k == "g" and attack == false and ModeOfGlitch ~= 8 then
  8412. ModeOfGlitch = 8
  8413. storehumanoidWS = 200
  8414. hum.WalkSpeed = 200
  8415. rainbowmode = false
  8416. chaosmode = false
  8417. newTheme("rbxassetid://2482043741",0,1,1.25)
  8418. MRCL = BrickColor.new("Really black")
  8419. MRCL2 = BrickColor.new("Dark indigo")
  8420. RecolorTextAndRename("DEMENTIA",MRCL.Color,MRCL2.Color,"Antique","Nhelv - Silentroom × 駿")
  8421. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8422. end
  8423. end
  8424.  
  8425. if etypemodes == "S" then
  8426. if k == "q" and attack == false and ModeOfGlitch ~= 12 then
  8427. ModeOfGlitch = 12
  8428. storehumanoidWS = 16
  8429. hum.WalkSpeed = 16
  8430. rainbowmode = false
  8431. chaosmode = false
  8432. newTheme("rbxassetid://614032233",48.6,1,1.25)
  8433. MRCL = BrickColor.new("Really red")
  8434. MRCL2 = BrickColor.new("Really black")
  8435. RecolorTextAndRename("MAYHEM",MRCL2.Color,MRCL.Color,"Antique","D-MODE-D - Shriek")
  8436. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8437. end
  8438. if k == "e" and attack == false and ModeOfGlitch ~= 22 then
  8439. ModeOfGlitch = 22
  8440. storehumanoidWS = 16
  8441. hum.WalkSpeed = 16
  8442. rainbowmode = false
  8443. chaosmode = false
  8444. newTheme("rbxassetid://2482117221",0,1.01,1.25)
  8445. MRCL = BrickColor.new("Toothpaste")
  8446. MRCL2 = BrickColor.new("White")
  8447. RecolorTextAndRename("PURITY",MRCL.Color,MRCL2.Color,"Code","EBIMAYO - GOODTEK")
  8448. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8449. end
  8450. if k == "r" and attack == false and ModeOfGlitch ~= 32 then
  8451. ModeOfGlitch = 32
  8452. storehumanoidWS = 16
  8453. hum.WalkSpeed = 16
  8454. rainbowmode = false
  8455. chaosmode = false
  8456. newTheme("rbxassetid://1283869370",58.15,0.98,1.25)
  8457. MRCL = BrickColor.new("Royal purple")
  8458. MRCL2 = BrickColor.new("Really black")
  8459. RecolorTextAndRename("CORRUPTION",MRCL2.Color,MRCL.Color,"Antique","Night Falls - Evening Star")
  8460. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8461. end
  8462. if k == "t" and attack == false and ModeOfGlitch ~= 42 then
  8463. ModeOfGlitch = 42
  8464. storehumanoidWS = 16
  8465. hum.WalkSpeed = 16
  8466. rainbowmode = false
  8467. chaosmode = true
  8468. newTheme("rbxassetid://1369263130",0,1.01,1.25)
  8469. MRCL = BrickColor.new("Really black")
  8470. MRCL2 = BrickColor.new("Black")
  8471. RecolorTextAndRename("CHAOS",MRCL.Color,MRCL2.Color,"Arcade","DM DOKURO - Return to Slime")
  8472. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8473. end
  8474. if k == "y" and attack == false and ModeOfGlitch ~= 52 then
  8475. ModeOfGlitch = 52
  8476. storehumanoidWS = 16
  8477. hum.WalkSpeed = 16
  8478. rainbowmode = false
  8479. chaosmode = false
  8480. newTheme("rbxassetid://661079869",0,1.02,1.25)
  8481. MRCL = BrickColor.new("White")
  8482. MRCL2 = BrickColor.new("Bright yellow")
  8483. RecolorTextAndRename("DIVINITY",MRCL2.Color,MRCL.Color,"SciFi","Under Night In - Birth OST: Blood Drain - Again")
  8484. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8485. end
  8486. if k == "u" and attack == false and ModeOfGlitch ~= 62 then
  8487. ModeOfGlitch = 62
  8488. storehumanoidWS = 100
  8489. hum.WalkSpeed = 100
  8490. rainbowmode = false
  8491. chaosmode = false
  8492. newTheme("rbxassetid://1347011178",0,1.01,1.25)
  8493. MRCL = BrickColor.new("White")
  8494. MRCL2 = BrickColor.new("Really black")
  8495. RecolorTextAndRename("EQUINOX",MRCL2.Color,MRCL.Color,"Fantasy","xi - Vanitas")
  8496. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8497. end
  8498. if k == "f" and attack == false and ModeOfGlitch ~= 72 then
  8499. ModeOfGlitch = 72
  8500. storehumanoidWS = 180
  8501. hum.WalkSpeed = 180
  8502. rainbowmode = true
  8503. chaosmode = false
  8504. newTheme("rbxassetid://1747430851",0,1.01,1.25)
  8505. MRCL = BrickColor.new("White")
  8506. MRCL2 = BrickColor.new("White")
  8507. RecolorTextAndRename("RAINBOW",MRCL2.Color,MRCL.Color,"Cartoon","Camellia - Speedrun")
  8508. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8509. end
  8510. if k == "g" and attack == false and ModeOfGlitch ~= 82 then
  8511. ModeOfGlitch = 82
  8512. storehumanoidWS = 140
  8513. hum.WalkSpeed = 140
  8514. rainbowmode = false
  8515. chaosmode = false
  8516. newTheme("rbxassetid://1495032271",0,1.01,1.25)
  8517. MRCL = BrickColor.new("Alder")
  8518. MRCL2 = BrickColor.new("White")
  8519. RecolorTextAndRename("DESTINY",MRCL2.Color,MRCL.Color,"Code","DM DOKURO - Servants of The Scourge")
  8520. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8521. end
  8522. if k == "h" and attack == false and ModeOfGlitch ~= 92 then
  8523. ModeOfGlitch = 92
  8524. storehumanoidWS = 150
  8525. hum.WalkSpeed = 150
  8526. rainbowmode = false
  8527. chaosmode = false
  8528. newTheme("rbxassetid://1296208488",0,1.01,1.25)
  8529. MRCL = BrickColor.new("Br. yellowish green")
  8530. MRCL2 = BrickColor.new("Lime green")
  8531. RecolorTextAndRename("INFESTATION",MRCL2.Color,MRCL.Color,"Bodoni","DM DOKURO - INFESTATION")
  8532. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8533. end
  8534. end
  8535. if etypemodes == "SM" then
  8536. if k == "q" and attack == false and ModeOfGlitch ~= 13 then
  8537. ModeOfGlitch = 13
  8538. storehumanoidWS = 16
  8539. hum.WalkSpeed = 16
  8540. rainbowmode = false
  8541. chaosmode = false
  8542. newTheme("rbxassetid://1812212957",0,1.01,1.5)
  8543. MRCL = BrickColor.new("Lime green")
  8544. MRCL2 = BrickColor.new("Bright green")
  8545. RecolorTextAndRename("NUCLEAR",MRCL2.Color,MRCL.Color,"Antique","POKEMON Uranium - Nuclear Plant Zeta")
  8546. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8547. end
  8548. if k == "e" and attack == false and ModeOfGlitch ~= 23 then
  8549. ModeOfGlitch = 23
  8550. storehumanoidWS = 180
  8551. hum.WalkSpeed = 180
  8552. rainbowmode = false
  8553. chaosmode = false
  8554. newTheme("rbxassetid://1359036559",0,1.01,1.5)
  8555. MRCL = BrickColor.new("Lilac")
  8556. MRCL2 = BrickColor.new("Alder")
  8557. RecolorTextAndRename("CALAMITY",MRCL2.Color,MRCL.Color,"Antique","DM DOKURO - Scourge of the Universe")
  8558. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8559. end
  8560. end
  8561. if etypemodes == "SN" then
  8562. if k == "q" and attack == false and ModeOfGlitch ~= 14 then
  8563. ModeOfGlitch = 14
  8564. storehumanoidWS = 260
  8565. hum.WalkSpeed = 260
  8566. rainbowmode = false
  8567. chaosmode = false
  8568. newTheme("rbxassetid://899090278",0,1.005,1.75)
  8569. MRCL = BrickColor.new("White")
  8570. MRCL2 = BrickColor.new("Really red")
  8571. RecolorTextAndRename("UNSTABLE",MRCL.Color,MRCL2.Color,"Arcade","LV.4 - angel dust")
  8572. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8573. end
  8574. if k == "e" and attack == false and ModeOfGlitch ~= 24 then
  8575. ModeOfGlitch = 24
  8576. storehumanoidWS = 275
  8577. hum.WalkSpeed = 275
  8578. rainbowmode = false
  8579. chaosmode = false
  8580. newTheme("rbxassetid://582020393",0,1.005,1.25)
  8581. MRCL = BrickColor.new("Hot pink")
  8582. MRCL2 = BrickColor.new("Crimson")
  8583. RecolorTextAndRename("NANODEATH",MRCL.Color,MRCL2.Color,"Arcade","Yooh - NANODEATH!!!")
  8584. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8585. end
  8586. if k == "r" and attack == false and ModeOfGlitch ~= 34 then
  8587. ModeOfGlitch = 34
  8588. storehumanoidWS = 225
  8589. hum.WalkSpeed = 225
  8590. rainbowmode = false
  8591. chaosmode = false
  8592. newTheme("rbxassetid://2483763576",0,1.01,1.25)
  8593. MRCL = BrickColor.new("Baby blue")
  8594. MRCL2 = BrickColor.new("Pink")
  8595. RecolorTextAndRename("SHD",MRCL.Color,MRCL2.Color,"Arcade","Hommarju (as Dollscythe) - Flashes (Extended Mix)")
  8596. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8597. end
  8598. if k == "t" and attack == false and ModeOfGlitch ~= 44 then
  8599. ModeOfGlitch = 44
  8600. storehumanoidWS = 300
  8601. hum.WalkSpeed = 300
  8602. rainbowmode = false
  8603. chaosmode = false
  8604. newTheme("rbxassetid://643309199",0,1.01,1.5)
  8605. MRCL = BrickColor.new("Bright bluish green")
  8606. MRCL2 = BrickColor.new("Really black")
  8607. RecolorTextAndRename("OMEGA",MRCL2.Color,MRCL.Color,"SciFi","WAiKURO - AMAZING MIGHTYYYY!!!!")
  8608. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8609. end
  8610. if k == "y" and attack == false and ModeOfGlitch ~= 54 then
  8611. ModeOfGlitch = 54
  8612. storehumanoidWS = 500
  8613. hum.WalkSpeed = 500
  8614. rainbowmode = false
  8615. chaosmode = false
  8616. newTheme("rbxassetid://719008519",0,1.02,1.25)
  8617. MRCL = BrickColor.new("Navy blue")
  8618. MRCL2 = BrickColor.new("Really black")
  8619. RecolorTextAndRename("CRAZED",MRCL2.Color,MRCL.Color,"Code","??? - ???")
  8620. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8621. end
  8622. if k == "u" and attack == false and ModeOfGlitch ~= 64 then
  8623. ModeOfGlitch = 64
  8624. storehumanoidWS = 250
  8625. hum.WalkSpeed = 250
  8626. rainbowmode = false
  8627. chaosmode = false
  8628. newTheme("rbxassetid://1505487022",0,1.01,1.5)
  8629. MRCL = BrickColor.new("Toothpaste")
  8630. MRCL2 = BrickColor.new("Deep orange")
  8631. RecolorTextAndRename("FALLENX",MRCL2.Color,MRCL.Color,"Antique","ENDYMION- Fallen Shepherd ft. RabbiTon Strings")
  8632. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8633. end
  8634. end
  8635. if etypemodes == "PP" then
  8636. if k == "q" and attack == false and ModeOfGlitch ~= 100 then
  8637. ModeOfGlitch = 100
  8638. storehumanoidWS = 16
  8639. hum.WalkSpeed = 16
  8640. hum.JumpPower = 50
  8641. rainbowmode = false
  8642. chaosmode = false
  8643. newTheme("rbxassetid://609934004",0,1.02,1.25)
  8644. MRCL = BrickColor.new("Bright violet")
  8645. MRCL2 = BrickColor.new("Dark indigo")
  8646. RecolorTextAndRename("PLANETARY",MRCL2.Color,MRCL.Color,"Code"," Xtrullor - Supernova")
  8647. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8648. elseif k == "e" and attack == false and ModeOfGlitch ~= 101 then
  8649. ModeOfGlitch = 101
  8650. storehumanoidWS = 103
  8651. hum.WalkSpeed = 16
  8652. hum.JumpPower = 50
  8653. rainbowmode = false
  8654. chaosmode = false
  8655. newTheme("rbxassetid://2184118728",0,1.02,1.25)
  8656. MRCL = BrickColor.new("Cyan")
  8657. MRCL2 = BrickColor.new("White")
  8658. RecolorTextAndRename("COSMIC",MRCL2.Color,MRCL.Color,"Code"," Waterflame - Electroman Adventures V2")
  8659. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8660. end
  8661. end
  8662. if etypemodes == "G" then
  8663. if k == "q" and attack == false and ModeOfGlitch ~= 15 then
  8664. ModeOfGlitch = 15
  8665. storehumanoidWS = 16
  8666. hum.WalkSpeed = 16
  8667. hum.JumpPower = 50
  8668. rainbowmode = false
  8669. chaosmode = false
  8670. newTheme("rbxassetid://603567552",0,1.02,1.25)
  8671. MRCL = BrickColor.new("Medium stone grey")
  8672. MRCL2 = BrickColor.new("White")
  8673. RecolorTextAndRename("ENLIGHTENED",MRCL2.Color,MRCL.Color,"Code","Yooh - Dignity")
  8674. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8675. end
  8676. if k == "e" and attack == false and ModeOfGlitch ~= 25 then
  8677. ModeOfGlitch = 25
  8678. storehumanoidWS = 16
  8679. hum.WalkSpeed = 16
  8680. rainbowmode = false
  8681. chaosmode = false
  8682. newTheme("rbxassetid://2027652726",0,1.01,1.25)
  8683. MRCL = BrickColor.new("Bright violet")
  8684. MRCL2 = BrickColor.new("Really black")
  8685. RecolorTextAndRename("AZURE",MRCL2.Color,MRCL.Color,"Code","xi - Singularity")
  8686. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8687. end
  8688. if k == "r" and attack == false and ModeOfGlitch ~= 35 then
  8689. ModeOfGlitch = 35
  8690. storehumanoidWS = 16
  8691. hum.WalkSpeed = 16
  8692. rainbowmode = false
  8693. chaosmode = false
  8694. newTheme("rbxassetid://2041343402",0,1.01,1.25)
  8695. MRCL = BrickColor.new("Lime green")
  8696. MRCL2 = BrickColor.new("Really black")
  8697. RecolorTextAndRename("BINARY",MRCL2.Color,MRCL.Color,"SciFi","xi - Dusk to Dawn")
  8698. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8699. end
  8700. if k == "t" and attack == false and ModeOfGlitch ~= 45 then
  8701. ModeOfGlitch = 45
  8702. storehumanoidWS = 16
  8703. hum.WalkSpeed = 16
  8704. rainbowmode = false
  8705. chaosmode = false
  8706. newTheme("rbxassetid://2022787645",0,1.02,1.25)
  8707. MRCL = BrickColor.new("Navy blue")
  8708. MRCL2 = BrickColor.new("Bright yellow")
  8709. RecolorTextAndRename("LUNA",MRCL.Color,MRCL2.Color,"SourceSansBold","LeaF - Doppelganger")
  8710. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8711. end
  8712. if k == "y" and attack == false and ModeOfGlitch ~= 55 then
  8713. ModeOfGlitch = 55
  8714. storehumanoidWS = 16
  8715. hum.WalkSpeed = 16
  8716. rainbowmode = false
  8717. chaosmode = false
  8718. newTheme("rbxassetid://318890513",0,1.01,1.25)
  8719. MRCL = BrickColor.new("Deep orange")
  8720. MRCL2 = BrickColor.new("New Yeller")
  8721. RecolorTextAndRename("BLAZE",MRCL2.Color,MRCL.Color,"Fantasy","LeaF - MEPHISTO")
  8722. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8723. end
  8724. if k == "u" and attack == false and ModeOfGlitch ~= 65 then
  8725. ModeOfGlitch = 65
  8726. storehumanoidWS = 100
  8727. hum.WalkSpeed = 100
  8728. rainbowmode = false
  8729. chaosmode = false
  8730. newTheme("rbxassetid://604910909",0,1.02,1.25)
  8731. MRCL = BrickColor.new("Pastel light blue")
  8732. MRCL2 = BrickColor.new("Dark indigo")
  8733. RecolorTextAndRename("GALACTIC",MRCL.Color,MRCL2.Color,"Fantasy","LeaF - Arianrhod")
  8734. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8735. end
  8736. if k == "f" and attack == false and ModeOfGlitch ~= 75 then
  8737. ModeOfGlitch = 75
  8738. storehumanoidWS = 175
  8739. hum.WalkSpeed = 175
  8740. rainbowmode = false
  8741. chaosmode = false
  8742. newTheme("rbxassetid://2011847746",0,1.01,1.25)
  8743. MRCL = BrickColor.new("Cyan")
  8744. MRCL2 = BrickColor.new("Toothpaste")
  8745. RecolorTextAndRename("HYPERSPEED",MRCL.Color,MRCL2.Color,"Arcade","Yooh - Ice Angel")
  8746. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8747. end
  8748. if k == "g" and attack == false and ModeOfGlitch ~= 85 then
  8749. ModeOfGlitch = 85
  8750. storehumanoidWS = 100
  8751. hum.WalkSpeed = 100
  8752. rainbowmode = false
  8753. chaosmode = false
  8754. newTheme("rbxassetid://603566564",0,1.01,1.65)
  8755. MRCL = BrickColor.new("Really red")
  8756. MRCL2 = BrickColor.new("Bright red")
  8757. RecolorTextAndRename("CHAOTIC",MRCL.Color,MRCL2.Color,"Antique","Yooh - Dynasty")
  8758. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8759. end
  8760. if k == "h" and attack == false and ModeOfGlitch ~= 95 then
  8761. ModeOfGlitch = 95
  8762. storehumanoidWS = 135
  8763. hum.WalkSpeed = 135
  8764. rainbowmode = false
  8765. chaosmode = false
  8766. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8767. MRCL = BrickColor.new("Medium stone grey")
  8768. MRCL2 = BrickColor.new("Black")
  8769. RecolorTextAndRename("VIS",MRCL.Color,MRCL2.Color,"Arcade","???")
  8770. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8771. end
  8772. end
  8773. ------- Up: Modes
  8774. ------- Down: Keys
  8775. if k == "l" and mutedtog == false then
  8776. mutedtog = true
  8777. kan.Volume = 0
  8778. elseif k == "l" and mutedtog == true then
  8779. mutedtog = false
  8780. kan.Volume = 1.25
  8781. end
  8782. if k == "p" and toggleTag == false then
  8783. toggleTag = true
  8784.  
  8785. elseif k == "p" and toggleTag == true then
  8786. toggleTag = false
  8787.  
  8788. end
  8789. if k == "z" and attack == false and ModeOfGlitch == 5 then
  8790. --divbeam()
  8791. elseif k == "z" and attack == false and ModeOfGlitch == 12 then
  8792. ExtinctiveHeartbreak()
  8793. elseif k == "z" and attack == false and ModeOfGlitch == 22 then
  8794. HeavenlyDisk()
  8795. elseif k == "z" and attack == false and ModeOfGlitch == 32 then
  8796. CorruptionEvent()
  8797. elseif k == "z" and attack == false and ModeOfGlitch == 42 then
  8798. RapidBurst()
  8799. elseif k == "z" and attack == false and ModeOfGlitch == 52 then
  8800. --DivineLights()
  8801. elseif k == "z" and attack == false and ModeOfGlitch == 62 then
  8802. EquinoxOrbs()
  8803. elseif k == "z" and attack == false and ModeOfGlitch == 72 then
  8804. roldbeam()
  8805. elseif k == "z" and attack == false and ModeOfGlitch == 23 then
  8806. CalMets()
  8807. elseif k == "z" and attack == false and ModeOfGlitch == 34 then
  8808. SHDTwist()
  8809. elseif k == "z" and attack == false and ModeOfGlitch == 64 then
  8810. FallenOrbs()
  8811. elseif k == "z" and attack == false and ModeOfGlitch == 15 then
  8812. Beams()
  8813. elseif k == "z" and attack == false and ModeOfGlitch == 25 then
  8814. smiter()
  8815. elseif k == "z" and attack == false and ModeOfGlitch == 35 then
  8816. BinaryE()
  8817. elseif k == "z" and attack == false and ModeOfGlitch == 55 then
  8818. Crossfire()
  8819. elseif k == "z" and attack == false and ModeOfGlitch == 65 then
  8820. GalacticalBeams()
  8821. elseif k == "z" and attack == false and ModeOfGlitch == 75 then
  8822. WarpedDash()
  8823. end
  8824. if k == "x" and attack == false and ModeOfGlitch == 12 then
  8825. EndGROUND()
  8826. elseif k == "x" and attack == false and ModeOfGlitch == 42 then
  8827. EternalChaosOrb()
  8828. elseif k == "x" and attack == false and ModeOfGlitch == 23 then
  8829. ExtCalbeam()
  8830. elseif k == "x" and attack == false and ModeOfGlitch == 35 then
  8831. BinaryBLINK()
  8832. end
  8833. if k == "v" and attack == false and ModeOfGlitch == 4 then
  8834. annihilation()
  8835. elseif k == "v" and attack == false and ModeOfGlitch == 64 then
  8836. FallenDEMISE()
  8837. elseif k == "v" and attack == false and ModeOfGlitch == 25 then
  8838. SingularityVoid()
  8839. elseif k == "v" and attack == false and ModeOfGlitch == 85 then
  8840. BeamOfDeath()
  8841. end
  8842. if k == "n" and etypemodes == "G" then
  8843. etypemodes = "U"
  8844. nedm.Text = "MODETYPES: UNIVERSAL"
  8845. elseif k == "n" and etypemodes == "U" then
  8846. etypemodes = "S"
  8847. nedm.Text = "MODETYPES: STAR"
  8848. elseif k == "n" and etypemodes == "S" then
  8849. etypemodes = "SM"
  8850. nedm.Text = "MODETYPES: STAR MAJORS"
  8851. elseif k == "n" and etypemodes == "SM" then
  8852. etypemodes = "SN"
  8853. nedm.Text = "MODETYPES: STAR NONCANONS"
  8854. elseif k == "n" and etypemodes == "SN" then
  8855. etypemodes = "G"
  8856. nedm.Text = "MODETYPES: GALAXY"
  8857. elseif k == "n" and etypemodes == "P" then
  8858. etypemodes = "PP"
  8859. nedm.Text = "MODETYPES: PLANETARY"
  8860. end
  8861. if k == "b" and enableddam == false then
  8862. enableddam = true
  8863. nedx.Text = "Damage: Enabled"
  8864. elseif k == "b" and enableddam == true then
  8865. enableddam = false
  8866. nedx.Text = "Damage: Disabled"
  8867. end
  8868. end)
  8869.  
  8870.  
  8871.  
  8872. coroutine.resume(coroutine.create(function()
  8873. while true do
  8874. swait()
  8875. if ModeOfGlitch ~= 4 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 14 and ModeOfGlitch ~= 24 and ModeOfGlitch ~= 34 and ModeOfGlitch ~= 44 and ModeOfGlitch ~= 54 and ModeOfGlitch ~= 64 then
  8876. sphereMK(10,math.random(10,25)/45,"Add",root.CFrame*CFrame.new(math.random(-20,20),-5,math.random(-20,20))*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),0.25,0.25,8,0,MRCL2,0)
  8877. sphereMK(10,math.random(10,25)/45,"Add",root.CFrame*CFrame.new(math.random(-20,20),-5,math.random(-20,20))*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),0.25,0.25,8,0,MRCL,0)
  8878. elseif ModeOfGlitch == 4 or ModeOfGlitch == 8 or ModeOfGlitch == 14 or ModeOfGlitch == 24 or ModeOfGlitch == 34 or ModeOfGlitch == 44 or ModeOfGlitch == 54 or ModeOfGlitch == 64 then
  8879. sphereMK(10,math.random(10,50)/45,"Add",root.CFrame*CFrame.new(math.random(-80,80),-5,math.random(-80,80))*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),0.75,0.75,15,0,MRCL2,0)
  8880. sphereMK(10,math.random(10,50)/45,"Add",root.CFrame*CFrame.new(math.random(-80,80),-5,math.random(-80,80))*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),0.75,0.75,15,0,MRCL,0)
  8881. end
  8882. end
  8883. end))
  8884. plr.Chatted:connect(function(message)
  8885. if ModeOfGlitch == 95 then
  8886. if message:sub(1,5) == "play/" then
  8887. OVMID = message:sub(6)
  8888. newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8889. elseif message:sub(1,6) == "pitch/" then
  8890. OVMPIT = message:sub(7)
  8891. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8892. elseif message:sub(1,4) == "vol/" then
  8893. OVMVOL = message:sub(5)
  8894. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8895. elseif message:sub(1,7) == "skipto/" then
  8896. chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MRCL.Color,MRCL2.Color,"Inverted","Arcade",1)
  8897. newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
  8898. elseif message:sub(1,9) == "telltime/" then
  8899. chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MRCL.Color,MRCL2.Color,"Inverted","Arcade",1)
  8900. end
  8901. end
  8902. end)
  8903. Humanoid.Name = "ETHEREAL"
  8904. Humanoid.MaxHealth = math.huge
  8905. Humanoid.Health = math.huge
  8906. Instance.new("ForceField",char).Visible = false
  8907.  
  8908. --[[local bguis = Instance.new("BillboardGui",tors)
  8909. bguis.Size = UDim2.new(25, 0, 25, 0)
  8910. local imgca = Instance.new("ImageLabel",bguis)
  8911. imgca.BackgroundTransparency = 1
  8912. imgca.ImageTransparency = 1
  8913. imgca.Size = UDim2.new(1,0,1,0)
  8914. imgca.Image = "rbxassetid://2344830904" --997291547,521073910,2312119891,2344830904
  8915. imgca.ImageColor3 = Color3.new(0,0,0)]]--
  8916. local rval = 0.1
  8917. local TimeValue = kan.TimePosition
  8918. idleanim=.4
  8919. while true do
  8920. if kan.Parent ~= char then
  8921. kan = Instance.new("Sound",char)
  8922. kan.PlaybackSpeed = currentPitch
  8923. kan.Pitch = currentPitch
  8924. kan.SoundId = currentThemePlaying
  8925. kan.Looped = true
  8926. kan.Name = "wrecked"
  8927. kan.TimePosition = TimeValue
  8928. kan:Resume()
  8929. end
  8930. if mutedtog == false then
  8931. kan.Volume = currentVol
  8932. elseif mutedtog == true then
  8933. kan.Volume = 0
  8934. end
  8935. if rainbowmode == true then
  8936. RecolorTextAndRename("RAINBOW",Color3.fromRGB(r,g,b),MRCL.Color,"Cartoon","Camellia - Speedrun")
  8937. rtsc(MRCL.Color,Color3.fromRGB(r,g,b),MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8938. end
  8939. if chaosmode == true then
  8940. RecolorTextAndRename("CHAOS",MRCL.Color,Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)),"Arcade","DM DOKURO - Return to Slime")
  8941. rtsc(MRCL.Color,Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)),MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8942. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  8943. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  8944. end
  8945. kan.PlaybackSpeed = currentPitch
  8946. kan.Pitch = currentPitch
  8947. kan.SoundId = currentThemePlaying
  8948. kan.Looped = true
  8949. kan.Parent = char
  8950. kan:Resume()
  8951.  
  8952. techc.Rotation = techc.Rotation + 1
  8953. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
  8954. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
  8955. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
  8956. techc2.Rotation = techc2.Rotation + kan.PlaybackLoudness/25 - 1
  8957. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  8958. nedx.Rotation = 5 - 2 * math.cos(sine / 50)
  8959. nedm.Rotation = 7 - 3 * math.cos(sine / 30)
  8960. sngy.Position = UDim2.new(0.325,0 + 5 * math.cos(sine / 36),0.8 - 0.01 * math.cos(sine / 20),0 - 2 * math.cos(sine / 50))
  8961. sngy.Rotation = 0 + 1 * math.cos(sine / 40)
  8962. fr.Position = UDim2.new(0, 0, 0.925 - 0.01 * math.cos(sine / 35), 0)
  8963. fr2.Position = UDim2.new(0, 0, 0.85 + 0.01 * math.cos(sine / 36), 0)
  8964. fr.Rotation = 0 - 1 * math.cos(sine / 25)
  8965. fr2.Rotation = 0 + 1 * math.cos(sine / 22)
  8966. midr.Rotation = rval
  8967. midr2.Rotation = -rval
  8968. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  8969. CameraManager()
  8970. swait()
  8971. if ModeOfGlitch ~= 4 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 42 and ModeOfGlitch ~= 14 and ModeOfGlitch ~= 24 and ModeOfGlitch ~= 34 and ModeOfGlitch ~= 44 and ModeOfGlitch ~= 54 and ModeOfGlitch ~= 64 and ModeOfGlitch ~= 75 then
  8972. rval = rval + 1
  8973. elseif ModeOfGlitch == 4 or ModeOfGlitch == 8 or ModeOfGlitch == 14 or ModeOfGlitch == 24 or ModeOfGlitch == 34 or ModeOfGlitch == 44 or ModeOfGlitch == 54 or ModeOfGlitch == 64 or ModeOfGlitch == 75 then
  8974. rval = rval + 5
  8975. elseif ModeOfGlitch == 42 then
  8976. rval = rval + math.random(-15,15)
  8977. end
  8978. if rval == 360 or rval > 360 then
  8979. rval = 0
  8980. end
  8981. if Anim ~= "Run" then
  8982. handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.35 * math.cos(sine / 63),0 + 0.35 * math.cos(sine / 70),0 + 0.05 * math.cos(sine / 57))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8983. else
  8984. if ModeOfGlitch == 5 or ModeOfGlitch == 7 or ModeOfGlitch == 8 or ModeOfGlitch == 62 or ModeOfGlitch == 82 or ModeOfGlitch == 23 or ModeOfGlitch == 14 or ModeOfGlitch == 24 or ModeOfGlitch == 34 or ModeOfGlitch == 44 or ModeOfGlitch == 54 or ModeOfGlitch == 64 or ModeOfGlitch == 65 or ModeOfGlitch == 85 then
  8985. handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.35 * math.cos(sine / 63),-3 + 0.35 * math.cos(sine / 70),0 + 0.05 * math.cos(sine / 57))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8986. end
  8987. end
  8988. rotweld.C0=clerp(rotweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(rval)),.3)
  8989. if ModeOfGlitch ~= 5 and ModeOfGlitch ~= 7 and ModeOfGlitch ~= 62 and ModeOfGlitch ~= 82 then
  8990. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,2.5,0 + 0.2 * math.cos(sine / 20))*angles(math.rad(0 - 5 * math.cos(sine / 20)),math.rad(0),math.rad(90 + rval)),.3)
  8991. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,2.5,0 + 0.2 * math.cos(sine / 20))*angles(math.rad(0 - 5 * math.cos(sine / 20)),math.rad(0),math.rad(-147.5 + rval)),.3)
  8992. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2.5,0 + 0.2 * math.cos(sine / 20))*angles(math.rad(0 - 5 * math.cos(sine / 20)),math.rad(0),math.rad(-32.5 + rval)),.3)
  8993. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,2.5,0 - 0.2 * math.cos(sine / 20))*angles(math.rad(0 + 5 * math.cos(sine / 20)),math.rad(0),math.rad(-90 - rval)),.3)
  8994. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,2.5,0 - 0.2 * math.cos(sine / 20))*angles(math.rad(0 + 5 * math.cos(sine / 20)),math.rad(0),math.rad(147.5 - rval)),.3)
  8995. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,2.5,0 - 0.2 * math.cos(sine / 20))*angles(math.rad(0 + 5 * math.cos(sine / 20)),math.rad(0),math.rad(32.5 - rval)),.3)
  8996. elseif ModeOfGlitch == 5 or ModeOfGlitch == 7 or ModeOfGlitch == 62 or ModeOfGlitch == 82 then
  8997. lwing1weld.C1=clerp(lwing1weld.C1,cf(2.25,0,0)*angles(math.rad(10 + 5 * math.cos(sine / 20)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 20))),.3)
  8998. lwing2weld.C1=clerp(lwing2weld.C1,cf(-4.5,0,0)*angles(math.rad(10 + 5 * math.cos(sine / 20)),math.rad(0),math.rad(0 - 6 * math.cos(sine / 20))),.3)
  8999. lwing3weld.C1=clerp(lwing3weld.C1,cf(6.75,0,0)*angles(math.rad(10 + 5 * math.cos(sine / 20)),math.rad(0),math.rad(0 + 9 * math.cos(sine / 20))),.3)
  9000. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2.25,0,0)*angles(math.rad(10 + 5 * math.cos(sine / 20)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 20))),.3)
  9001. rwing2weld.C1=clerp(rwing2weld.C1,cf(4.5,0,0)*angles(math.rad(10 + 5 * math.cos(sine / 20)),math.rad(0),math.rad(0 + 6 * math.cos(sine / 20))),.3)
  9002. rwing3weld.C1=clerp(rwing3weld.C1,cf(-6.75,0,0)*angles(math.rad(10 + 5 * math.cos(sine / 20)),math.rad(0),math.rad(0 - 9 * math.cos(sine / 20))),.3)
  9003. end
  9004. sine = sine + change
  9005. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  9006. local velderp=RootPart.Velocity.y
  9007. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  9008. coroutine.resume(coroutine.create(function()
  9009. if ModeOfGlitch == 13 then
  9010. if hitfloor ~= nil then
  9011. sphere2(1.5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,0.5,1),0.1,0.01,0.1,BrickColor.new("Lime green"),Color3.new(0,1,0))
  9012. end
  9013. end
  9014. if ModeOfGlitch == 101 then
  9015. if hitfloor ~= nil then
  9016. sphere2(1.5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,0.5,1),0.1,0.01,0.1,BrickColor.new("Cyan"),Color3.new(0,1,0))
  9017. end
  9018. end
  9019. if ModeOfGlitch == 5 or ModeOfGlitch == 7 or ModeOfGlitch == 8 or ModeOfGlitch == 62 or ModeOfGlitch == 82 or ModeOfGlitch == 23 or ModeOfGlitch == 14 or ModeOfGlitch == 24 or ModeOfGlitch == 34 or ModeOfGlitch == 44 or ModeOfGlitch == 54 or ModeOfGlitch == 64 or ModeOfGlitch == 65 or ModeOfGlitch == 85 then
  9020. if hitfloor ~= nil then
  9021. effar.Enabled = true
  9022. effar.Color = ColorSequence.new(MRCL.Color)
  9023. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(0,1,0),0.3,0.01,0.3,MRCL2)
  9024. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,100)/250,MRCL)
  9025. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,100)/250,BrickColor.new("White"))
  9026. elseif hitfloor == nil then
  9027. effar.Enabled = false
  9028. end
  9029. elseif ModeOfGlitch ~= 5 or ModeOfGlitch ~= 7 or ModeOfGlitch ~= 8 or ModeOfGlitch ~= 62 or ModeOfGlitch ~= 82 or ModeOfGlitch ~= 23 or ModeOfGlitch ~= 14 or ModeOfGlitch ~= 24 or ModeOfGlitch ~= 34 or ModeOfGlitch ~= 44 or ModeOfGlitch ~= 54 or ModeOfGlitch ~= 64 or ModeOfGlitch ~= 65 or ModeOfGlitch ~= 85 then
  9030. effar.Enabled = false
  9031. end
  9032. end))
  9033. if equipped==true or equipped==false then
  9034. if attack==false then
  9035. idle=idle+1
  9036. else
  9037. idle=0
  9038. end
  9039. if idle>=500 then
  9040. if attack==false then
  9041. --Sheath()
  9042. end
  9043. end
  9044. if RootPart.Velocity.y > 1 and hitfloor==nil then
  9045. Anim="Jump"
  9046. if attack==false then
  9047. RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  9048. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  9049. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  9050. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  9051. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1)
  9052. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1)
  9053. end
  9054. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  9055. Anim="Fall"
  9056. if attack==false then
  9057. RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  9058. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  9059. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  9060. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  9061. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1)
  9062. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1)
  9063. end
  9064. elseif torvel<1 and hitfloor~=nil then
  9065. Anim="Idle"
  9066. if attack==false then
  9067. if ModeOfGlitch == 1 then
  9068. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  9069. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  9070. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
  9071. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
  9072. RW.C0=clerp(RW.C0,cf(1,0.45 - 0.075 * math.cos(sine / 18),0.5)*angles(math.rad(-26 + 3 * math.cos(sine / 38)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(-34 + 1 * math.cos(sine / 25))),.1)
  9073. LW.C0=clerp(LW.C0,cf(-1,0.45 - 0.075 * math.cos(sine / 18),0.5)*angles(math.rad(-26 + 3 * math.cos(sine / 38)),math.rad(0 - 2 * math.cos(sine / 31)),math.rad(34 - 1 * math.cos(sine / 25))),.1)
  9074. elseif ModeOfGlitch == 2 then
  9075. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 + 2 * math.cos(sine / 20)),math.rad(-17),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  9076. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 - 2 * math.cos(sine / 20)),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  9077. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(36)),.1)
  9078. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 + 3 * math.cos(sine / 25)),math.rad(0),math.rad(-36 - 3 * math.cos(sine / 67))),.1)
  9079. RW.C0=clerp(RW.C0,cf(1,0.5 - 0.075 * math.cos(sine / 18),-0.65)*angles(math.rad(89 + 3 * math.cos(sine / 38)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(-82 + 1 * math.cos(sine / 25))),.1)
  9080. LW.C0=clerp(LW.C0,cf(-1,0.45 - 0.075 * math.cos(sine / 18),0.5)*angles(math.rad(-26 + 3 * math.cos(sine / 38)),math.rad(0 - 2 * math.cos(sine / 31)),math.rad(34 - 1 * math.cos(sine / 25))),.1)
  9081. elseif ModeOfGlitch == 3 then
  9082. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 - 1 * math.cos(sine / 20)),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  9083. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 20)),math.rad(10),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  9084. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(-13)),.1)
  9085. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 + 3 * math.cos(sine / 25)),math.rad(0),math.rad(13 - 3 * math.cos(sine / 67))),.1)
  9086. RW.C0=clerp(RW.C0,cf(1,0.5 - 0.075 * math.cos(sine / 18),-0.65)*angles(math.rad(89 + 3 * math.cos(sine / 38)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(-82 + 1 * math.cos(sine / 25))),.1)
  9087. LW.C0=clerp(LW.C0,cf(-1,0.5 - 0.075 * math.cos(sine / 18),-0.72)*angles(math.rad(80 + 3 * math.cos(sine / 38)),math.rad(0 - 2 * math.cos(sine / 31)),math.rad(76 - 1 * math.cos(sine / 25))),.1)
  9088. elseif ModeOfGlitch == 4 then
  9089. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  9090. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  9091. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
  9092. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 4 * math.cos(sine / 37)),math.rad(0 + 8 * math.cos(sine / 43)),math.rad(0 - 5 * math.cos(sine / 47))),.1)
  9093. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.075 * math.cos(sine / 18),0)*angles(math.rad(20 - 3 * math.cos(sine / 32)),math.rad(0 + 8 * math.cos(sine / 23)),math.rad(14 + 3 * math.cos(sine / 15))),.1)
  9094. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.075 * math.cos(sine / 18),0)*angles(math.rad(20 - 3 * math.cos(sine / 32)),math.rad(0 - 8 * math.cos(sine / 23)),math.rad(-14 - 3 * math.cos(sine / 15))),.1)
  9095. elseif ModeOfGlitch == 5 then
  9096. RH.C0=clerp(RH.C0,cf(1,-0.3,-0.65)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 - 1 * math.cos(sine / 20)),math.rad(0 + 1 * math.cos(sine / 52)),math.rad(-3 - 9 * math.cos(sine / 20))),.1)
  9097. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 20)),math.rad(1 + 1 * math.cos(sine / 36)),math.rad(10 + 7 * math.cos(sine / 30))),.1)
  9098. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),1 + 0.4 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
  9099. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 + 3 * math.cos(sine / 25)),math.rad(0),math.rad(0)),.1)
  9100. RW.C0=clerp(RW.C0,cf(1,0.5 - 0.075 * math.cos(sine / 18),-0.65)*angles(math.rad(76 + 3 * math.cos(sine / 38)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(-82 + 1 * math.cos(sine / 25))),.1)
  9101. LW.C0=clerp(LW.C0,cf(-1,0.5 - 0.075 * math.cos(sine / 18),-0.72)*angles(math.rad(89 + 3 * math.cos(sine / 38)),math.rad(0 - 2 * math.cos(sine / 31)),math.rad(76 - 1 * math.cos(sine / 25))),.1)
  9102. elseif ModeOfGlitch == 6 then
  9103. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 20)),math.rad(-13),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  9104. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 - 1 * math.cos(sine / 20)),math.rad(6),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  9105. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(16)),.1)
  9106. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 + 3 * math.cos(sine / 25)),math.rad(0),math.rad(-16 - 3 * math.cos(sine / 67))),.1)
  9107. RW.C0=clerp(RW.C0,cf(1.4,0.65 - 0.075 * math.cos(sine / 18),-0.1)*angles(math.rad(174 + 3 * math.cos(sine / 38)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(-22 - 1 * math.cos(sine / 25))),.1)
  9108. LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(10 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1)
  9109. elseif ModeOfGlitch == 7 then
  9110. RH.C0=clerp(RH.C0,cf(1,-0.3,-0.65)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 - 1 * math.cos(sine / 20)),math.rad(0 + 1 * math.cos(sine / 52)),math.rad(-3 - 6 * math.cos(sine / 20))),.1)
  9111. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 20)),math.rad(1 + 1 * math.cos(sine / 36)),math.rad(10 + 4 * math.cos(sine / 30))),.1)
  9112. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),1 + 0.4 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
  9113. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 3 * math.cos(sine / 25)),math.rad(0),math.rad(0)),.1)
  9114. RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(8 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1)
  9115. LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(19 + 7 * math.cos(sine / 37)),math.rad(0 - 2 * math.cos(sine / 31)),math.rad(-15 - 3 * math.cos(sine / 24))),.1)
  9116. elseif ModeOfGlitch == 8 then
  9117. RH.C0=clerp(RH.C0,cf(1,-0.3,-0.65)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 - 1 * math.cos(sine / 20)),math.rad(0 + 1 * math.cos(sine / 52)),math.rad(-10 - 5 * math.cos(sine / 20))),.1)
  9118. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1 + 1 * math.cos(sine / 20)),math.rad(1 + 1 * math.cos(sine / 36)),math.rad(10 + 7 * math.cos(sine / 30))),.1)
  9119. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),1 + 0.4 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
  9120. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 + 5 * math.cos(sine / 25)),math.rad(0 + 3 * math.cos(sine / 30)),math.rad(0)),.1)
  9121. RW.C0=clerp(RW.C0,cf(1,0.5 - 0.075 * math.cos(sine / 18),0.2)*angles(math.rad(-33 + 2 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(-25 + 3 * math.cos(sine / 24))),.1)
  9122. LW.C0=clerp(LW.C0,cf(-1,0.5 - 0.075 * math.cos(sine / 18),0.2)*angles(math.rad(-34 + 1 * math.cos(sine / 37)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(22 - 3 * math.cos(sine / 25))),.1)
  9123. elseif ModeOfGlitch == 12 then
  9124. local snap = math.random(1,10)
  9125. if snap == 1 then
  9126. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1)
  9127. end
  9128. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
  9129. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  9130. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
  9131. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1)
  9132. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1)
  9133. LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(148 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(22 - 2 * math.cos(sine / 45))),.1)
  9134. elseif ModeOfGlitch == 22 then
  9135. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  9136. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  9137. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 42))),.1)
  9138. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(0 + 1 * math.cos(sine / 53))),.1)
  9139. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  9140. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  9141. elseif ModeOfGlitch == 32 then
  9142. local snap = math.random(1,32)
  9143. if snap == 1 then
  9144. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
  9145. end
  9146. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  9147. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  9148. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  9149. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9150. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
  9151. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  9152. elseif ModeOfGlitch == 42 then
  9153. local snap = math.random(1,5)
  9154. if snap == 1 then
  9155. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),0.6)
  9156. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74) + math.random(-1,1)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(1 + 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  9157. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73) + math.random(-1,1)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-1,1)),math.rad(-3 - 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  9158. end
  9159. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(25 - 2 * math.cos(sine / 32))),.1)
  9160. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-25 + 2 * math.cos(sine / 32))),.1)
  9161. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25 + 0.02 * math.cos(sine / 32),-0.1 + 0.1 * math.cos(sine / 20))*angles(math.rad(25 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9162. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9163. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(1 + 3 * math.cos(sine / 45))),.1)
  9164. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-3 - 3 * math.cos(sine / 45))),.1)
  9165. elseif ModeOfGlitch == 52 then
  9166. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  9167. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  9168. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.1 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  9169. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
  9170. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1)
  9171. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
  9172. elseif ModeOfGlitch == 62 then
  9173. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  9174. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  9175. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1.5 + 0.5 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9176. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9177. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(14 + 5 * math.cos(sine / 32))),.1)
  9178. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 6 * math.cos(sine / 33))),.1)
  9179. elseif ModeOfGlitch == 72 then
  9180. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  9181. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(10 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  9182. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10 + 3 * math.cos(sine / 42))),.1)
  9183. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(10 + 1 * math.cos(sine / 53))),.1)
  9184. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  9185. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(170 - 7 * math.cos(sine / 66)),math.rad(2 - 1 * math.cos(sine / 56)),math.rad(12 - 1 * math.cos(sine / 45))),.1)
  9186. elseif ModeOfGlitch == 82 then
  9187. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
  9188. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
  9189. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1.5 + 0.5 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-20)),.1)
  9190. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(20 + 2 * math.cos(sine / 53))),.1)
  9191. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  9192. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  9193. elseif ModeOfGlitch == 92 then
  9194. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MRCL,MRCL.Color)
  9195. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Lime green"),Color3.new(0,1,0))
  9196. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-4 - 2 * math.cos(sine / 53)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  9197. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(9 - 2 * math.cos(sine / 53)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  9198. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.1 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 53))),.1)
  9199. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(19 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9200. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(18 - 3 * math.cos(sine / 53)),math.rad(17 + 3 * math.cos(sine / 45))),.1)
  9201. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(-11 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
  9202. elseif ModeOfGlitch == 13 then
  9203. local snap = math.random(1,32)
  9204. if snap == 1 then
  9205. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(19 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(-53 + math.random(-3,3))),1)
  9206. end
  9207. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MRCL,MRCL.Color)
  9208. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  9209. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(9),math.rad(8 + 2 * math.cos(sine / 32))),.1)
  9210. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.1 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(43)),.1)
  9211. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(19 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 55)),math.rad(-43)),.1)
  9212. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 11 * math.cos(sine / 73)),math.rad(18 - 6 * math.cos(sine / 57)),math.rad(17 + 5 * math.cos(sine / 52))),.1)
  9213. LW.C0=clerp(LW.C0,cf(-1.2,0.85 + 0.025 * math.cos(sine / 45),-0.65)*angles(math.rad(170 - 1 * math.cos(sine / 70)),math.rad(-3 - 1 * math.cos(sine / 59)),math.rad(47 - 1 * math.cos(sine / 60))),.1)
  9214. elseif ModeOfGlitch == 23 then
  9215. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 5 * math.cos(sine / 51))),.1)
  9216. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 44))),.1)
  9217. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1.5 + 0.5 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-36)),.1)
  9218. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(36 + 2 * math.cos(sine / 53))),.1)
  9219. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(3 + 7 * math.cos(sine / 79)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 10 * math.cos(sine / 73))),.1)
  9220. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(15 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-27 - 6 * math.cos(sine / 33))),.1)
  9221. elseif ModeOfGlitch == 64 then
  9222. sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Deep orange"),BrickColor.new("Deep orange").Color)
  9223. sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Toothpaste"),BrickColor.new("Toothpaste").Color)
  9224. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MRCL,MRCL.Color)
  9225. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-14 - 5 * math.cos(sine / 48))),.1)
  9226. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 7 * math.cos(sine / 51))),.1)
  9227. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.5 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9228. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(21 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9229. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(13 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(28 + 2 * math.cos(sine / 45))),.1)
  9230. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  9231. elseif ModeOfGlitch == 44 then
  9232. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  9233. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
  9234. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.5 * math.cos(sine / 20))*angles(math.rad(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
  9235. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 6 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9236. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-24 + 9 * math.cos(sine / 72)),math.rad(3 - 5 * math.cos(sine / 58)),math.rad(38 + 7 * math.cos(sine / 45))),.1)
  9237. LW.C0=clerp(LW.C0,cf(-0.8,0.35 + 0.025 * math.cos(sine / 45),-0.75)*angles(math.rad(160 - 2 * math.cos(sine / 66)),math.rad(5 - 8 * math.cos(sine / 59)),math.rad(87 - 3 * math.cos(sine / 45))),.1)
  9238. elseif ModeOfGlitch == 34 then
  9239. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.1)
  9240. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.1)
  9241. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.5 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(10)),.1)
  9242. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  9243. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(4 + 3 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(19 + 2 * math.cos(sine / 45))),.1)
  9244. LW.C0=clerp(LW.C0,cf(-1.25,0.5 + 0.025 * math.cos(sine / 45),-0.15)*angles(math.rad(10 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(13 - 4 * math.cos(sine / 45))),.1)
  9245. elseif ModeOfGlitch == 14 then
  9246. local snap = math.random(1,32)
  9247. if snap == 1 then
  9248. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
  9249. end
  9250. sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Really red"),BrickColor.new("Really red").Color)
  9251. sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Really black"),BrickColor.new("Really black").Color)
  9252. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
  9253. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
  9254. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.5 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9255. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9256. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(2 - 4 * math.cos(sine / 58)),math.rad(-65 + 1 * math.cos(sine / 45))),.1)
  9257. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(6 - 5 * math.cos(sine / 59)),math.rad(73 - 3 * math.cos(sine / 45))),.1)
  9258. elseif ModeOfGlitch == 24 then
  9259. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(19 + 8 * math.cos(sine / 62)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-20 - 3 * math.cos(sine / 34))),.1)
  9260. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 - 1 * math.cos(sine / 55)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(26 + 5 * math.cos(sine / 41))),.1)
  9261. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.5 * math.cos(sine / 20))*angles(math.rad(-13 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1)
  9262. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  9263. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 14 * math.cos(sine / 45))),.1)
  9264. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(35 - 8 * math.cos(sine / 51))),.1)
  9265. elseif ModeOfGlitch == 54 then
  9266. sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Navy blue"),BrickColor.new("Navy blue").Color)
  9267. sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Really black"),BrickColor.new("Really black").Color)
  9268. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 6 * math.cos(sine / 39))),.1)
  9269. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 45))),.1)
  9270. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.5 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(17)),.1)
  9271. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(29 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-17 + 2 * math.cos(sine / 53))),.1)
  9272. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  9273. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  9274. elseif ModeOfGlitch == 15 then
  9275. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10 + 2 * math.cos(sine / 43)),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  9276. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  9277. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(10 - 2 * math.cos(sine / 43))),.1)
  9278. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 - 2 * math.cos(sine / 47)),math.rad(-10 + 2 * math.cos(sine / 43))),.1)
  9279. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 3 * math.cos(sine / 48)),math.rad(-20 - 4 * math.cos(sine / 53)),math.rad(15 - 3 * math.cos(sine / 38))),.1)
  9280. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-10 + 2 * math.cos(sine / 45)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 39))),.1)
  9281. elseif ModeOfGlitch == 25 then
  9282. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20) - 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-7.5 + 3 * math.cos(sine / 45)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  9283. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20) + 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 3 * math.cos(sine / 45)),math.rad(5),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  9284. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.03 * math.cos(sine / 45),0 + 0.02 * math.cos(sine / 34),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0)),.1)
  9285. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 2.5 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 99)),math.rad(0 + 10 * math.cos(sine / 78))),.1)
  9286. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15 + 5 * math.cos(sine / 33)),math.rad(15 + 6 * math.cos(sine / 38)),math.rad(-10 - 3 * math.cos(sine / 42))),.1)
  9287. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 5 * math.cos(sine / 28))),.1)
  9288. elseif ModeOfGlitch == 35 then
  9289. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 34))),.1)
  9290. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(20 - 2 * math.cos(sine / 72)),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  9291. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 72))),.1)
  9292. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 + 4 * math.cos(sine / 55)),math.rad(20 - 2 * math.cos(sine / 72))),.1)
  9293. RW.C0=clerp(RW.C0,cf(1.15,0.5 + 0.1 * math.cos(sine / 28),0.25)*angles(math.rad(-22 + 2 * math.cos(sine / 38)),math.rad(0),math.rad(-15 - 2 * math.cos(sine / 41))),.1)
  9294. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 - 6 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 46)),math.rad(-20 + 5 * math.cos(sine / 34))),.1)
  9295. elseif ModeOfGlitch == 101 then
  9296. sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  9297. sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("White"),BrickColor.new("White").Color)
  9298. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MRCL,MRCL.Color)
  9299. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-14 - 5 * math.cos(sine / 48))),.1)
  9300. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 7 * math.cos(sine / 51))),.1)
  9301. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 43),0 - 0.25 * math.cos(sine / 53),6 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9302. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(21 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9303. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(13 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(28 + 2 * math.cos(sine / 45))),.1)
  9304. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  9305. elseif ModeOfGlitch == 45 then
  9306. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-5),math.rad(0 - 3 * math.cos(sine / 34))),.1)
  9307. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(10 + 3 * math.cos(sine / 34))),.1)
  9308. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.03 * math.cos(sine / 34),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(25)),.1)
  9309. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0 + 2 * math.cos(sine / 57)),math.rad(-25)),.1)
  9310. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 5 * math.cos(sine / 34)),math.rad(0),math.rad(21 + 6 * math.cos(sine / 28))),.1)
  9311. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-5 + 5 * math.cos(sine / 43)),math.rad(10 - 5 * math.cos(sine / 27)),math.rad(-5 - 3 * math.cos(sine / 36))),.1)
  9312. elseif ModeOfGlitch == 55 then
  9313. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  9314. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  9315. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(-18)),.1)
  9316. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(18)),.1)
  9317. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(36 - 3 * math.cos(sine / 34)),math.rad(0 - 2 * math.cos(sine / 45)),math.rad(-80 + 2 * math.cos(sine / 28))),.1)
  9318. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(46 + 3 * math.cos(sine / 49)),math.rad(10 + 2 * math.cos(sine / 52)),math.rad(80 - 3 * math.cos(sine / 39))),.1)
  9319. elseif ModeOfGlitch == 65 then
  9320. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-10 + 4 * math.cos(sine / 34))),.1)
  9321. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(5 + 2 * math.cos(sine / 34))),.1)
  9322. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.5 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 53))),.1)
  9323. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(2 + 3 * math.cos(sine / 41)),math.rad(5 + 2 * math.cos(sine / 53))),.1)
  9324. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 4 * math.cos(sine / 28)),math.rad(0),math.rad(14 + 8 * math.cos(sine / 28))),.1)
  9325. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(5 + 3 * math.cos(sine / 46)),math.rad(10 + 5 * math.cos(sine / 52)),math.rad(-15 - 6 * math.cos(sine / 28))),.1)
  9326. elseif ModeOfGlitch == 75 then
  9327. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(1),math.rad(0 - 1 * math.cos(sine / 34))),.1)
  9328. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  9329. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.01 * math.cos(sine / 34),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  9330. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0 + 1 * math.cos(sine / 71)),math.rad(0)),.1)
  9331. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(4 - 4 * math.cos(sine / 28)),math.rad(-8),math.rad(10 - 5 * math.cos(sine / 34))),.1)
  9332. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(5),math.rad(5),math.rad(5)),.1)
  9333. elseif ModeOfGlitch == 85 then
  9334. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
  9335. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.25),math.rad(0),math.rad(6 + 2 * math.cos(sine / 34))),.1)
  9336. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.5 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-26 + 2 * math.cos(sine / 44))),.1)
  9337. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 1 * math.cos(sine / 28)),math.rad(-5 + 3 * math.cos(sine / 47)),math.rad(26 - 2 * math.cos(sine / 44))),.1)
  9338. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 3 * math.cos(sine / 30)),math.rad(25 - 3 * math.cos(sine / 38)),math.rad(28 - 6 * math.cos(sine / 34))),.1)
  9339. LW.C0=clerp(LW.C0,cf(-0.95,0.65 + 0.075 * math.cos(sine / 28),-0.65)*angles(math.rad(90 + 2 * math.cos(sine / 73)),math.rad(25 + 5 * math.cos(sine / 24)),math.rad(73 - 3 * math.cos(sine / 65))),.1)
  9340. elseif ModeOfGlitch == 95 then
  9341. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4)
  9342. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4)
  9343. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.1 * math.cos(sine / 20) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(30)),.4)
  9344. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-30)),.4)
  9345. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(40 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(28 - 2 * math.cos(sine / 38))),.4)
  9346. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4)
  9347. end
  9348. end
  9349. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  9350. Anim="Walk"
  9351. if attack==false then
  9352. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  9353. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  9354. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
  9355. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1)
  9356. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  9357. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  9358. end
  9359. elseif torvel>=22 and hitfloor~=nil then
  9360. Anim="Run"
  9361. if attack==false then
  9362. if ModeOfGlitch ~= 5 and ModeOfGlitch ~= 100 and ModeOfGlitch ~= 101 and ModeOfGlitch ~= 7 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 62 and ModeOfGlitch ~= 82 and ModeOfGlitch ~= 23 and ModeOfGlitch ~= 14 and ModeOfGlitch ~= 24 and ModeOfGlitch ~= 34 and ModeOfGlitch ~= 44 and ModeOfGlitch ~= 54 and ModeOfGlitch ~= 64 and ModeOfGlitch ~= 65 and ModeOfGlitch ~= 85 then
  9363. RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  9364. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  9365. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(25 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.1)
  9366. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 1 * math.cos(sine / 6))),.1)
  9367. RW.C0=clerp(RW.C0,cf(1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(-10),math.rad(7 + 5 * math.cos(sine / 6))),.1)
  9368. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(10),math.rad(-7 - 5 * math.cos(sine / 6))),.1)
  9369. elseif ModeOfGlitch == 5 or ModeOfGlitch == 100 or ModeOfGlitch == 101 or ModeOfGlitch == 7 or ModeOfGlitch == 8 or ModeOfGlitch == 62 or ModeOfGlitch == 82 or ModeOfGlitch == 23 or ModeOfGlitch == 14 or ModeOfGlitch == 24 or ModeOfGlitch == 34 or ModeOfGlitch == 44 or ModeOfGlitch == 54 or ModeOfGlitch == 64 or ModeOfGlitch == 65 or ModeOfGlitch == 85 then
  9370. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
  9371. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
  9372. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(80),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  9373. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
  9374. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2)
  9375. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2)
  9376. end
  9377. end
  9378. end
  9379. end
  9380. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement