Advertisement
Dasd5755

star glitcher rework 5 test build

Oct 20th, 2018
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 468.21 KB | None | 0 0
  1. --TODO: add comments or something idk
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player = owner
  4. local Mouse,mouse,UserInputService,ContextActionService
  5. do
  6. script.Parent = Player.Character
  7. local CAS = {Actions={}}
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10. Event.Parent = Player.Character
  11. local fakeEvent = function()
  12. local t = {_fakeEvent=true}
  13. t.Connect = function(self,f)self.Function=f end
  14. t.connect = t.Connect
  15. return t
  16. end
  17. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  18. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  19. function CAS:BindAction(name,fun,touch,...)
  20. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  21. end
  22. function CAS:UnbindAction(name)
  23. CAS.Actions[name] = nil
  24. end
  25. local function te(self,ev,...)
  26. local t = m[ev]
  27. if t and t._fakeEvent and t.Function then
  28. t.Function(...)
  29. end
  30. end
  31. m.TrigEvent = te
  32. UIS.TrigEvent = te
  33. Event.OnServerEvent:Connect(function(plr,io)
  34. if plr~=Player then return end
  35. if io.isMouse then
  36. m.Target = io.Target
  37. m.Hit = io.Hit
  38. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  39. if io.UserInputState == Enum.UserInputState.Begin then
  40. m:TrigEvent("Button1Down")
  41. else
  42. m:TrigEvent("Button1Up")
  43. end
  44. else
  45. for n,t in pairs(CAS.Actions) do
  46. for _,k in pairs(t.Keys) do
  47. if k==io.KeyCode then
  48. t.Function(t.Name,io.UserInputState,io)
  49. end
  50. end
  51. end
  52. if io.UserInputState == Enum.UserInputState.Begin then
  53. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  54. UIS:TrigEvent("InputBegan",io,false)
  55. else
  56. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  57. UIS:TrigEvent("InputEnded",io,false)
  58. end
  59. end
  60. end)
  61. NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63.  
  64. local Char = Player.Character
  65. local Event = Char:WaitForChild("UserInput_Event")
  66.  
  67. local UIS = game:GetService("UserInputService")
  68.  
  69. local input = function(io,a)
  70. if a then return end
  71. local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  72. Event:FireServer(io)
  73. end
  74. UIS.InputBegan:Connect(input)
  75. UIS.InputEnded:Connect(input)
  76. local Changed = false
  77. local Mouse = Player:GetMouse()
  78. local h,t = Mouse.Hit,Mouse.Target
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  82. h,t=Mouse.Hit,Mouse.Target
  83. end
  84. end
  85. ]==],Player.Character)
  86. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  87. end
  88.  
  89. wait(0.2)
  90.  
  91. warn([[SpectrumGlitcher v5 AWAKENED Loaded.
  92. The super switcher.
  93. Velnorum is one of the first wielders.
  94.  
  95. Created, Reworked by NoobyGames12
  96. Edited by GodzPlaysRB
  97. Edited by wanTH092 (Gam_Filano CH)
  98. SpectrumGlitcher Developers ^^^
  99. ]])
  100.  
  101.  
  102. ------------- ORIGINAL WIELDER OC: Velnorum
  103. print([[Icons:
  104. ! = New
  105. ? = Spoilers
  106. * = Exclusivity
  107. C = Changes
  108.  
  109. ]])
  110. warn([[V 8.0 Update Log:
  111. C: TEST BUILD
  112. ]])
  113. --- its obs smooth af do not touch
  114. ---- Sources and functions might be taken from others
  115. char = plr.Character
  116. hum = char.Humanoid
  117. local cam = game.Workspace.CurrentCamera
  118. Camera = cam
  119. local CamInterrupt = false
  120. local TwoD = false
  121. local TargetInfo = {nil, nil}
  122. cam.CameraType = "Custom"
  123. t = char.Torso
  124. h = char.Head
  125. ra = char["Right Arm"]
  126. la = char["Left Arm"]
  127. rl = char["Right Leg"]
  128. ll = char["Left Leg"]
  129. tors = char.Torso
  130. lleg = char["Left Leg"]
  131. root = char.HumanoidRootPart
  132. hed = char.Head
  133. rleg = char["Right Leg"]
  134. rarm = char["Right Arm"]
  135. larm = char["Left Arm"]
  136. radian = math.rad
  137. random = math.random
  138. Vec3 = Vector3.new
  139. Inst = Instance.new
  140. cFrame = CFrame.new
  141. Euler = CFrame.fromEulerAnglesXYZ
  142. vt = Vector3.new
  143. bc = BrickColor.new
  144. br = BrickColor.random
  145. it = Instance.new
  146. cf = CFrame.new
  147. local Player_Size = 0
  148. cam = game.Workspace.CurrentCamera
  149. CF = CFrame.new
  150. angles = CFrame.Angles
  151. attack = false
  152. Euler = CFrame.fromEulerAnglesXYZ
  153. Rad = math.rad
  154. IT = Instance.new
  155. BrickC = BrickColor.new
  156. Cos = math.cos
  157. Acos = math.acos
  158. Sin = math.sin
  159. Asin = math.asin
  160. Abs = math.abs
  161. Mrandom = math.random
  162. Floor = math.floor
  163. IT = Instance.new
  164. CF = CFrame.new
  165. VT = Vector3.new
  166. RAD = math.rad
  167. C3 = Color3.new
  168. UD2 = UDim2.new
  169. BRICKC = BrickColor.new
  170. ANGLES = CFrame.Angles
  171. EULER = CFrame.fromEulerAnglesXYZ
  172. COS = math.cos
  173. ACOS = math.acos
  174. SIN = math.sin
  175. ASIN = math.asin
  176. ABS = math.abs
  177. MRANDOM = math.random
  178. FLOOR = math.floor
  179. local SINE = 0
  180.  
  181. local Booleans = {
  182. CamFollow = true,
  183. GyroUse = true
  184. }
  185.  
  186. function lerp(object, newCFrame, alpha)
  187. return object:lerp(newCFrame, alpha)
  188. end
  189.  
  190. local Directer = Inst("BodyGyro", root)
  191. Directer.MaxTorque = Vec3(0, 0, 0)
  192. Directer.P = 600000
  193. local CPart = Inst("Part")
  194. CPart.Anchored = true
  195. CPart.CanCollide = false
  196. CPart.Locked = true
  197. CPart.Transparency = 1
  198.  
  199. local rainbowmode = false
  200. local chaosmode = false
  201.  
  202. local kan = Instance.new("Sound",tors)
  203. kan.Volume = 0.85
  204. kan.TimePosition = 0
  205. kan.PlaybackSpeed = 1
  206. kan.Pitch = 1
  207. kan.SoundId = "rbxassetid://1255569288"
  208. kan.Name = "wrecked"
  209. kan.Looped = true
  210. kan:Play()
  211.  
  212. local currentThemePlaying = kan.SoundId
  213. local currentPitch = kan.Pitch
  214. local currentVol = kan.Volume
  215. function newTheme(ID,timepos,pitch,vol)
  216. local kanz = kan
  217. --kanz:Stop()
  218. kanz.Volume = vol
  219. --kanz.TimePosition = timepos
  220. kanz.PlaybackSpeed = pitch
  221. kanz.Pitch = pitch
  222. kanz.SoundId = ID
  223. kanz.Name = "wrecked"
  224. kanz.Looped = true
  225. currentThemePlaying = kanz.SoundId
  226. currentVol = kanz.Volume
  227. currentPitch = kanz.Pitch
  228. --kanz:Play()
  229. --coroutine.resume(coroutine.create(function()
  230. --wait(0.05)
  231. --end))
  232. end
  233.  
  234.  
  235. function newThemeCust(ID,timepos,pitch,vol)
  236. local kanz = kan
  237. kanz:Stop()
  238. kanz.Volume = vol
  239. kanz.TimePosition = timepos
  240. kanz.PlaybackSpeed = pitch
  241. kanz.Pitch = pitch
  242. kanz.SoundId = ID
  243. kanz.Name = "wrecked"
  244. kanz.Looped = true
  245. currentThemePlaying = kanz.SoundId
  246. currentVol = kanz.Volume
  247. currentPitch = kanz.Pitch
  248. kanz:Play()
  249. coroutine.resume(coroutine.create(function()
  250. wait(0.05)
  251. end))
  252. end
  253.  
  254. local mutedtog = false
  255.  
  256. function CameraEnshaking(Length,Intensity)
  257. coroutine.resume(coroutine.create(function()
  258. local intensity = 1*Intensity
  259. local rotM = 0.01*Intensity
  260. for i = 0, Length, 0.1 do
  261. swait()
  262. intensity = intensity - 0.05*Intensity/Length
  263. rotM = rotM - 0.0005*Intensity/Length
  264. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  265. 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)
  266. end
  267. Humanoid.CameraOffset = Vec3(0, 0, 0)
  268. end))
  269. end
  270. CamShake=function(Part,Distan,Power,Times)
  271. local de=Part.Position
  272. for i,v in pairs(workspace:children()) do
  273. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  274. for _,c in pairs(v:children()) do
  275. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  276. local Noob=v.Humanoid
  277. if Noob~=nil then
  278. coroutine.resume(coroutine.create(function()
  279. FV = Instance.new("BoolValue", Noob)
  280. FV.Name = "CameraShake"
  281. for ShakeNum=1,Times do
  282. swait()
  283. local ef=Power
  284. if ef>=1 then
  285. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  286. else
  287. ef=Power*10
  288. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  289. end
  290. end
  291. Humanoid.CameraOffset = Vector3.new(0,0,0)
  292. FV:Destroy()
  293. end))
  294. CameraShake(Times, Power, Noob)
  295. end
  296. end
  297. end
  298. end
  299. end
  300. end
  301.  
  302. local toggleTag = true
  303. local bilguit = Instance.new("BillboardGui", hed)
  304. bilguit.Adornee = nil
  305. bilguit.Name = "ModeName"
  306. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  307. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  308. local modet = Instance.new("TextLabel", bilguit)
  309. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  310. modet.FontSize = "Size8"
  311. modet.TextScaled = true
  312. modet.TextTransparency = 0
  313. modet.BackgroundTransparency = 1
  314. modet.TextTransparency = 0
  315. modet.TextStrokeTransparency = 0
  316. modet.Font = "Antique"
  317. modet.TextStrokeColor3 = Color3.new(1,0,0)
  318. modet.TextColor3 = Color3.new(0.25,0,0)
  319. modet.Text = "Hopeless Guest"
  320.  
  321.  
  322. function chatfunc(text,color,typet,font,timeex)
  323. local chat = coroutine.wrap(function()
  324. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  325. Character:FindFirstChild("TalkingBillBoard"):destroy()
  326. end
  327. local naeeym2 = Instance.new("BillboardGui",Character)
  328. naeeym2.Size = UDim2.new(0,100,0,40)
  329. naeeym2.StudsOffset = Vector3.new(0,3,0)
  330. naeeym2.Adornee = Character.Head
  331. naeeym2.Name = "TalkingBillBoard"
  332. local tecks2 = Instance.new("TextLabel",naeeym2)
  333. tecks2.BackgroundTransparency = 1
  334. tecks2.BorderSizePixel = 0
  335. tecks2.Text = ""
  336. tecks2.Font = font
  337. tecks2.TextSize = 30
  338. tecks2.TextStrokeTransparency = 0
  339. tecks2.TextColor3 = color
  340. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  341. tecks2.Size = UDim2.new(1,0,0.5,0)
  342. local tecks3 = Instance.new("TextLabel",naeeym2)
  343. tecks3.BackgroundTransparency = 1
  344. tecks3.BorderSizePixel = 0
  345. tecks3.Text = ""
  346. tecks3.Font = font
  347. tecks3.TextSize = 30
  348. tecks3.TextStrokeTransparency = 0
  349. if typet == "Inverted" then
  350. tecks3.TextColor3 = Color3.new(0,0,0)
  351. tecks3.TextStrokeColor3 = color
  352. elseif typet == "Normal" then
  353. tecks3.TextColor3 = color
  354. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  355. end
  356. tecks3.Size = UDim2.new(1,0,0.5,0)
  357. coroutine.resume(coroutine.create(function()
  358. while true do
  359. swait(1)
  360. if chaosmode == true then
  361. tecks2.TextColor3 = BrickColor.random().Color
  362. tecks3.TextStrokeColor3 = BrickColor.random().Color
  363. end
  364. end
  365. end))
  366. modet.TextTransparency = modet.TextTransparency + 1
  367. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  368. for i = 0, 74*timeex do
  369. swait()
  370. modet.TextTransparency = 1
  371. modet.TextStrokeTransparency = 1
  372. tecks2.Text = text
  373. tecks3.Text = text
  374. end
  375. local randomrot = math.random(1,2)
  376. if randomrot == 1 then
  377. for i = 1, 50 do
  378. swait()
  379. tecks2.Text = text
  380. tecks3.Text = text
  381. modet.TextTransparency = modet.TextTransparency - .02
  382. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  383. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  384. tecks2.TextTransparency = tecks2.TextTransparency + .04
  385. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  386. tecks3.TextTransparency = tecks2.TextTransparency + .04
  387. end
  388. elseif randomrot == 2 then
  389. for i = 1, 50 do
  390. swait()
  391. tecks2.Text = text
  392. tecks3.Text = text
  393. modet.TextTransparency = modet.TextTransparency - .02
  394. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  395. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  396. tecks2.TextTransparency = tecks2.TextTransparency + .04
  397. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  398. tecks3.TextTransparency = tecks2.TextTransparency + .04
  399. end
  400. end
  401. modet.TextTransparency = 0
  402. modet.TextStrokeTransparency = 0
  403. if toggleTag == false then
  404. modet.TextTransparency = 1
  405. modet.TextStrokeTransparency = 1
  406. end
  407. naeeym2:Destroy()
  408. end)
  409. chat()
  410. end
  411.  
  412. function bosschatfunc(text,color,watval)
  413. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  414. coroutine.resume(coroutine.create(function()
  415. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  416. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  417. end
  418. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  419. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  420. scrg.Name = "Dialog"
  421. local txtlb = Instance.new("TextLabel",scrg)
  422. txtlb.Text = ""
  423. txtlb.Font = "Bodoni"
  424. txtlb.TextColor3 = Color3.new(0,0,0)
  425. txtlb.TextStrokeTransparency = 0
  426. txtlb.BackgroundTransparency = 0.75
  427. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  428. txtlb.TextStrokeColor3 = color
  429. txtlb.TextScaled = true
  430. txtlb.Size = UDim2.new(1,0,0.25,0)
  431. txtlb.TextXAlignment = "Left"
  432. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  433. local txtlb2 = Instance.new("TextLabel",scrg)
  434. txtlb2.Text = plr.Name.." The Guest:"
  435. txtlb2.Font = "Antique"
  436. txtlb2.TextColor3 = Color3.new(0,0,0)
  437. txtlb2.TextStrokeTransparency = 0
  438. txtlb2.BackgroundTransparency = 1
  439. txtlb2.TextStrokeColor3 = color
  440. txtlb2.TextSize = 40
  441. txtlb2.Size = UDim2.new(1,0,0.25,0)
  442. txtlb2.TextXAlignment = "Left"
  443. txtlb2.Position = UDim2.new(0,0,1,0)
  444. local fvalen = 0.55
  445. local fval = -0.49
  446. coroutine.resume(coroutine.create(function()
  447. while true do
  448. swait()
  449. if chaosmode == true then
  450. txtlb.Rotation = math.random(-1,1)
  451. txtlb2.Rotation = math.random(-1,1)
  452. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  453. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  454. txtlb.TextStrokeColor3 = BrickColor.random().Color
  455. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  456. end
  457. end
  458. end))
  459. coroutine.resume(coroutine.create(function()
  460. while true do
  461. swait()
  462. if scrg.Parent ~= nil then
  463. fvalen = fvalen - 0.0001
  464. elseif scrg.Parent == nil then
  465. break
  466. end
  467. end
  468. end))
  469. local flol = 1.75
  470. local flil = 1.6
  471. coroutine.resume(coroutine.create(function()
  472. for i = 0, 9 do
  473. swait()
  474. fval = fval + 0.05
  475. flol = flol - 0.1
  476. flil = flil - 0.1
  477. txtlb.Text = ""
  478. txtlb.Position = UDim2.new(0,0,flol,0)
  479. txtlb2.Position = UDim2.new(0,0,flil,0)
  480. end
  481. txtlb.Text = text
  482. wait(watval)
  483. local valinc = 0
  484. for i = 0, 99 do
  485. swait()
  486. valinc = valinc + 0.0001
  487. flol = flol + valinc
  488. flil = flil + valinc
  489. txtlb.Rotation = txtlb.Rotation + valinc*20
  490. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  491. txtlb.Position = UDim2.new(0,0,flol,0)
  492. txtlb2.Position = UDim2.new(0,0,flil,0)
  493. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  494. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  495. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  496. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  497. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  498. end
  499. scrg:Destroy()
  500. end))
  501. end))
  502. end
  503. end
  504.  
  505.  
  506. local Create = LoadLibrary("RbxUtility").Create
  507.  
  508. CFuncs = {
  509. ["Part"] = {
  510. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  511. local Part = Create("Part"){
  512. Parent = Parent,
  513. Reflectance = Reflectance,
  514. Transparency = Transparency,
  515. CanCollide = false,
  516. Locked = true,
  517. BrickColor = BrickColor.new(tostring(BColor)),
  518. Name = Name,
  519. Size = Size,
  520. Material = Material,
  521. }
  522. RemoveOutlines(Part)
  523. return Part
  524. end;
  525. };
  526.  
  527. ["Mesh"] = {
  528. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  529. local Msh = Create(Mesh){
  530. Parent = Part,
  531. Offset = OffSet,
  532. Scale = Scale,
  533. }
  534. if Mesh == "SpecialMesh" then
  535. Msh.MeshType = MeshType
  536. Msh.MeshId = MeshId
  537. end
  538. return Msh
  539. end;
  540. };
  541.  
  542. ["Mesh"] = {
  543. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  544. local Msh = Create(Mesh){
  545. Parent = Part,
  546. Offset = OffSet,
  547. Scale = Scale,
  548. }
  549. if Mesh == "SpecialMesh" then
  550. Msh.MeshType = MeshType
  551. Msh.MeshId = MeshId
  552. end
  553. return Msh
  554. end;
  555. };
  556.  
  557. ["Weld"] = {
  558. Create = function(Parent, Part0, Part1, C0, C1)
  559. local Weld = Create("Weld"){
  560. Parent = Parent,
  561. Part0 = Part0,
  562. Part1 = Part1,
  563. C0 = C0,
  564. C1 = C1,
  565. }
  566. return Weld
  567. end;
  568. };
  569.  
  570. ["Sound"] = {
  571. Create = function(id, par, vol, pit)
  572. coroutine.resume(coroutine.create(function()
  573. local S = Create("Sound"){
  574. Volume = vol,
  575. Name = "EffectSoundo",
  576. Pitch = pit or 1,
  577. SoundId = id,
  578. Parent = par or workspace,
  579. }
  580. wait()
  581. S:play()
  582. game:GetService("Debris"):AddItem(S, 10)
  583. end))
  584. end;
  585. };
  586.  
  587. ["TimeSound"] = {
  588. Create = function(id, par, vol, pit, timepos)
  589. coroutine.resume(coroutine.create(function()
  590. local S = Create("Sound"){
  591. Volume = vol,
  592. Name = "EffectSoundo",
  593. Pitch = pit or 1,
  594. SoundId = id,
  595. TimePosition = timepos,
  596. Parent = par or workspace,
  597. }
  598. wait()
  599. S:play()
  600. game:GetService("Debris"):AddItem(S, 10)
  601. end))
  602. end;
  603. };
  604. ["EchoSound"] = {
  605. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  606. coroutine.resume(coroutine.create(function()
  607. local Sas = Create("Sound"){
  608. Volume = vol,
  609. Name = "EffectSoundo",
  610. Pitch = pit or 1,
  611. SoundId = id,
  612. TimePosition = timepos,
  613. Parent = par or workspace,
  614. }
  615. local E = Create("EchoSoundEffect"){
  616. Delay = echodelay,
  617. Name = "Echo",
  618. Feedback = fedb,
  619. DryLevel = dryl,
  620. Parent = Sas,
  621. }
  622. wait()
  623. Sas:play()
  624. game:GetService("Debris"):AddItem(Sas, delays)
  625. end))
  626. end;
  627. };
  628.  
  629. ["LongSound"] = {
  630. Create = function(id, par, vol, pit)
  631. coroutine.resume(coroutine.create(function()
  632. local S = Create("Sound"){
  633. Volume = vol,
  634. Pitch = pit or 1,
  635. SoundId = id,
  636. Parent = par or workspace,
  637. }
  638. wait()
  639. S:play()
  640. game:GetService("Debris"):AddItem(S, 60)
  641. end))
  642. end;
  643. };
  644.  
  645. ["ParticleEmitter"] = {
  646. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  647. local fp = Create("ParticleEmitter"){
  648. Parent = Parent,
  649. Color = ColorSequence.new(Color1, Color2),
  650. LightEmission = LightEmission,
  651. Size = Size,
  652. Texture = Texture,
  653. Transparency = Transparency,
  654. ZOffset = ZOffset,
  655. Acceleration = Accel,
  656. Drag = Drag,
  657. LockedToPart = LockedToPart,
  658. VelocityInheritance = VelocityInheritance,
  659. EmissionDirection = EmissionDirection,
  660. Enabled = Enabled,
  661. Lifetime = LifeTime,
  662. Rate = Rate,
  663. Rotation = Rotation,
  664. RotSpeed = RotSpeed,
  665. Speed = Speed,
  666. VelocitySpread = VelocitySpread,
  667. }
  668. return fp
  669. end;
  670. };
  671.  
  672. CreateTemplate = {
  673.  
  674. };
  675. }
  676.  
  677.  
  678.  
  679. New = function(Object, Parent, Name, Data)
  680. local Object = Instance.new(Object)
  681. for Index, Value in pairs(Data or {}) do
  682. Object[Index] = Value
  683. end
  684. Object.Parent = Parent
  685. Object.Name = Name
  686. return Object
  687. end
  688. local halocolor = BrickColor.new("Pastel light blue")
  689. local halocolor2 = BrickColor.new("Cool yellow")
  690. local starcolor = BrickColor.new("Bright yellow")
  691. local lunacolor = BrickColor.new("Navy blue")
  692. local lunacolor2 = BrickColor.new("Bright blue")
  693. local wepcolor = BrickColor.new("Really black")
  694. local maincolor = BrickColor.new("Really black")
  695. local m = Instance.new("Model",char)
  696. local m2 = Instance.new("Model",char)
  697. local m3 = Instance.new("Model",char)
  698. local mw1 = Instance.new("Model",char)
  699. local mw2 = Instance.new("Model",char)
  700.  
  701.  
  702. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  703. local gui = it(GuiType)
  704. gui.Parent = parent
  705. gui.Text = text
  706. gui.BackgroundTransparency = backtrans
  707. gui.BackgroundColor3 = backcol
  708. gui.SizeConstraint = "RelativeXY"
  709. gui.TextXAlignment = "Center"
  710. gui.TextYAlignment = "Center"
  711. gui.Position = pos
  712. gui.Size = size
  713. gui.Font = "SourceSans"
  714. gui.FontSize = "Size14"
  715. gui.TextWrapped = false
  716. gui.TextStrokeTransparency = 0
  717. gui.TextColor = BrickColor.new("White")
  718. return gui
  719. end
  720. --------------------------- GUI STUFF
  721. local basgui = it("GuiMain")
  722. basgui.Parent = plr.PlayerGui
  723. basgui.Name = "VISgui"
  724. local fullscreenz = it("Frame")
  725. fullscreenz.Parent = basgui
  726. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  727. fullscreenz.BackgroundTransparency = 1
  728. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  729. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  730. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  731. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  732. imgl2.BackgroundTransparency = 1
  733. imgl2.BorderSizePixel = 0
  734. imgl2.ImageTransparency = 0.5
  735. imgl2.ImageColor3 = Color3.new(1,0,0)
  736. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  737. imgl2.Size = UDim2.new(0,1000,0,1000)
  738. imgl2.Image = "rbxassetid://2325939897"
  739. local techc = imgl2:Clone()
  740. techc.Parent = fullscreenz
  741. techc.ImageTransparency = 0
  742. techc.Size = UDim2.new(0,900,0,900)
  743. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  744. techc.ImageColor3 = Color3.new(1,0,0)
  745. techc.Image = "rbxassetid://2273224484"
  746. local circl = imgl2:Clone()
  747. circl.Parent = fullscreenz
  748. circl.ImageTransparency = 0
  749. circl.Size = UDim2.new(0,550,0,550)
  750. circl.Position = UDim2.new(0.75,25,0.55,25)
  751. circl.ImageColor3 = Color3.new(0,0,0)
  752. circl.Image = "rbxassetid://2312119891"
  753. local circl2 = imgl2:Clone()
  754. circl2.Parent = fullscreenz
  755. circl2.ImageTransparency = 0
  756. circl2.Size = UDim2.new(0,700,0,700)
  757. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  758. circl2.ImageColor3 = Color3.new(1,0,0)
  759. circl2.Image = "rbxassetid://2312119891"
  760. local imgl2b = imgl2:Clone()
  761. imgl2b.Parent = fullscreenz
  762. imgl2b.ImageTransparency = 0
  763. imgl2b.Size = UDim2.new(0,800,0,800)
  764. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  765. imgl2b.ImageColor3 = Color3.new(0,0,0)
  766. local ned = Instance.new("TextLabel",fullscreenz)
  767. ned.ZIndex = 2
  768. ned.Font = "Arcade"
  769. ned.BackgroundTransparency = 1
  770. ned.BorderSizePixel = 0.65
  771. ned.Size = UDim2.new(0.3,0,0.2,0)
  772. ned.Position = UDim2.new(0.7,0,0.8,0)
  773. ned.TextColor3 = BrickColor.new("Really red").Color
  774. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  775. ned.TextScaled = true
  776. ned.TextStrokeTransparency = 0
  777. ned.Text = "Hopeless Guest"
  778. ned.TextSize = 24
  779. ned.Rotation = 1
  780. ned.TextXAlignment = "Right"
  781. ned.TextYAlignment = "Bottom"
  782.  
  783. local extrawingmod1 = Instance.new("Model",char)
  784. local extrawingmod2 = Instance.new("Model",char)
  785.  
  786. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  787. local p = Instance.new("Part")
  788. p.TopSurface = 0
  789. p.BottomSurface = 0
  790. p.Parent = parent
  791. p.Size = Vector3.new(0.1,0.1,0.1)
  792. p.Transparency = transparency
  793. p.Reflectance = reflectance
  794. p.CanCollide = false
  795. p.Locked = true
  796. p.BrickColor = brickcolor
  797. p.Material = material
  798. return p
  799. end
  800.  
  801. function CreateMesh(parent,meshtype,x1,y1,z1)
  802. local mesh = Instance.new("SpecialMesh",parent)
  803. mesh.MeshType = meshtype
  804. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  805. return mesh
  806. end
  807.  
  808. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  809. local mesh = Instance.new("SpecialMesh",parent)
  810. mesh.MeshType = "FileMesh"
  811. mesh.MeshId = meshid
  812. mesh.Scale = Vector3.new(x1,y1,z1)
  813. return mesh
  814. end
  815.  
  816.  
  817. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  818. local mesh = Instance.new("SpecialMesh",parent)
  819. mesh.MeshType = "FileMesh"
  820. mesh.MeshId = meshid
  821. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  822. mesh.Scale = Vector3.new(x1,y1,z1)
  823. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  824. return mesh
  825. end
  826.  
  827. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  828. local weld = Instance.new("Weld")
  829. weld.Parent = parent
  830. weld.Part0 = part0
  831. weld.Part1 = part1
  832. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  833. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  834. return weld
  835. end
  836.  
  837.  
  838. --------------
  839. --------------
  840. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  841. 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))
  842. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  843. 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))
  844.  
  845. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  846. CreateMesh(handle,"Brick",0,0,0)
  847. local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  848. local valuaring = 10
  849. for i = 0, 49 do
  850. valuaring = valuaring + 10
  851. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  852. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  853. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  854. end
  855.  
  856. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  857. CreateMesh(handle,"Brick",0,0,0)
  858. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  859. local valuaring = 10
  860. for i = 0, 49 do
  861. valuaring = valuaring + 10
  862. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  863. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  864. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  865. end
  866.  
  867.  
  868. local handle = CreateParta(m,1,1,"Neon",maincolor)
  869. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  870. local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  871.  
  872. --- Left wing.
  873.  
  874. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  875. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  876. 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))
  877.  
  878. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  879. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  880. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  881. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  882. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  883. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  884. A0 = Instance.new('Attachment',wed)
  885. A0.Position = vt(0,0.25,0.25)
  886. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  887. CreateMesh(wed,"Wedge",0.05,0.5,3)
  888. CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  889. A1 = Instance.new('Attachment',wed)
  890. A1.Position = vt(0,-0.25,-2)
  891. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  892. CreateMesh(wed,"Wedge",0.05,3,0.5)
  893. CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  894.  
  895. tl1 = Instance.new('Trail',wed)
  896. tl1.Attachment0 = A1
  897. tl1.Attachment1 = A0
  898. tl1.Texture = "rbxassetid://2108945559"
  899. tl1.LightEmission = 1
  900. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  901. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  902. tl1.Lifetime = 0.6
  903.  
  904.  
  905. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  906. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  907. 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))
  908.  
  909. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  910. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  911. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  912. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  913. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  914. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  915. A0 = Instance.new('Attachment',wed)
  916. A0.Position = vt(0,0.25,0.25)
  917. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  918. CreateMesh(wed,"Wedge",0.05,0.5,3)
  919. CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  920. A1 = Instance.new('Attachment',wed)
  921. A1.Position = vt(0,-0.25,-2)
  922. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  923. CreateMesh(wed,"Wedge",0.05,3,0.5)
  924. CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  925.  
  926. tl2 = Instance.new('Trail',wed)
  927. tl2.Attachment0 = A1
  928. tl2.Attachment1 = A0
  929. tl2.Texture = "rbxassetid://2108945559"
  930. tl2.LightEmission = 1
  931. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  932. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  933. tl2.Lifetime = 0.6
  934.  
  935. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  936. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  937. 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))
  938.  
  939. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  940. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  941. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  942. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  943. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  944. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  945. A0 = Instance.new('Attachment',wed)
  946. A0.Position = vt(0,0.25,0.25)
  947. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  948. CreateMesh(wed,"Wedge",0.05,0.5,3)
  949. CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  950. A1 = Instance.new('Attachment',wed)
  951. A1.Position = vt(0,-0.25,-2)
  952. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  953. CreateMesh(wed,"Wedge",0.05,3,0.5)
  954. CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  955.  
  956. tl3 = Instance.new('Trail',wed)
  957. tl3.Attachment0 = A1
  958. tl3.Attachment1 = A0
  959. tl3.Texture = "rbxassetid://2108945559"
  960. tl3.LightEmission = 1
  961. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  962. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  963. tl3.Lifetime = 0.6
  964.  
  965. tl1.Enabled = false
  966. tl2.Enabled = false
  967. tl3.Enabled = false
  968. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  969. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  970. local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  971.  
  972. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  973. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  974. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  975. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  976. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  977. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  978. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  979. CreateMesh(wed,"Wedge",0.05,0.5,3)
  980. CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  981. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  982. CreateMesh(wed,"Wedge",0.05,3,0.5)
  983. CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  984.  
  985. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  986. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  987. local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  988.  
  989. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  990. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  991. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  992. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  993. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  994. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  995. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  996. CreateMesh(wed,"Wedge",0.05,0.5,3)
  997. CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  998. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  999. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1000. CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1001.  
  1002. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1003. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1004. local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1005.  
  1006. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1007. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1008. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1009. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1010. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1011. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1012. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1013. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1014. CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1015. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1016. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1017. CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1018.  
  1019. -- Right wing.
  1020.  
  1021. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1022. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1023. 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))
  1024.  
  1025. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1026. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1027. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1028. A0 = Instance.new('Attachment',wed)
  1029. A0.Position = vt(0,0.25,0.25)
  1030. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1031. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1032. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1033. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1034. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1035. CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1036. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1037. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1038. CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1039. A1 = Instance.new('Attachment',wed)
  1040. A1.Position = vt(0,2,0.25)
  1041.  
  1042. tr1 = Instance.new('Trail',wed)
  1043. tr1.Attachment0 = A1
  1044. tr1.Attachment1 = A0
  1045. tr1.Texture = "rbxassetid://2108945559"
  1046. tr1.LightEmission = 1
  1047. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1048. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1049. tr1.Lifetime = 0.6
  1050.  
  1051. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1052. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1053. 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))
  1054.  
  1055. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1056. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1057. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1058. A0 = Instance.new('Attachment',wed)
  1059. A0.Position = vt(0,0.25,0.25)
  1060. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1061. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1062. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1063. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1064. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1065. CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1066. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1067. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1068. CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1069. A1 = Instance.new('Attachment',wed)
  1070. A1.Position = vt(0,2,0.25)
  1071.  
  1072. tr2 = Instance.new('Trail',wed)
  1073. tr2.Attachment0 = A1
  1074. tr2.Attachment1 = A0
  1075. tr2.Texture = "rbxassetid://2108945559"
  1076. tr2.LightEmission = 1
  1077. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1078. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1079. tr2.Lifetime = 0.6
  1080.  
  1081. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1082. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1083. 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))
  1084.  
  1085. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1086. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1087. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1088. A0 = Instance.new('Attachment',wed)
  1089. A0.Position = vt(0,0.25,0.25)
  1090. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1091. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1092. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1093. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1094. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1095. CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1096. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1097. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1098. CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1099. A1 = Instance.new('Attachment',wed)
  1100. A1.Position = vt(0,2,0.25)
  1101.  
  1102. tr3 = Instance.new('Trail',wed)
  1103. tr3.Attachment0 = A1
  1104. tr3.Attachment1 = A0
  1105. tr3.Texture = "rbxassetid://2108945559"
  1106. tr3.LightEmission = 1
  1107. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1108. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1109. tr3.Lifetime = 0.6
  1110.  
  1111.  
  1112. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1113. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1114. local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1115.  
  1116. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1117. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1118. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1119. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1120. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1121. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1122. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1123. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1124. CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1125. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1126. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1127. CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1128.  
  1129. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1130. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1131. local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1132.  
  1133. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1134. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1135. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1136. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1137. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1138. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1139. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1140. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1141. CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1142. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1143. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1144. CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1145.  
  1146. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1147. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1148. local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1149.  
  1150. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1151. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1152. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1153. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1154. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1155. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1156. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1157. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1158. CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1159. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1160. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1161. CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1162.  
  1163. --HERES THE RING
  1164.  
  1165.  
  1166. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1167. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1168. 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))
  1169. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1170. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1171. 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))
  1172. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1173. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1174. 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))
  1175.  
  1176.  
  1177. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1178. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1179. 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))
  1180.  
  1181. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1182. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1183. 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))
  1184.  
  1185.  
  1186.  
  1187. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1188. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1189. 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))
  1190.  
  1191. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1192. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1193. 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))
  1194.  
  1195. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1196. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1197. 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))
  1198.  
  1199. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1200. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1201. 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))
  1202. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1203. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1204. 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))]]--
  1205.  
  1206. --- second ring
  1207.  
  1208.  
  1209. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1210. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1211. 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))
  1212.  
  1213. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1214. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1215. 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))
  1216.  
  1217.  
  1218.  
  1219. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1220. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1221. 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))
  1222.  
  1223. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1224. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1225. 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))
  1226.  
  1227. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1228. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1229. 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))
  1230.  
  1231. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1232. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1233. 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))
  1234. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1235. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1236. 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))
  1237.  
  1238.  
  1239.  
  1240. for i, v in pairs(m:GetChildren()) do
  1241. if v:IsA("Part") then
  1242. v.BrickColor = BrickColor.new("Really black")
  1243. v.Material = "Glass"
  1244. end
  1245. end
  1246. for i, v in pairs(m2:GetChildren()) do
  1247. if v:IsA("Part") then
  1248. v.BrickColor = BrickColor.new("Crimson")
  1249. v.Material = "Granite"
  1250. end
  1251. end
  1252. for i, v in pairs(m3:GetChildren()) do
  1253. if v:IsA("Part") then
  1254. v.BrickColor = BrickColor.new("Really red")
  1255. v.Material = "Neon"
  1256. end
  1257. end
  1258. for i, v in pairs(mw2:GetChildren()) do
  1259. if v:IsA("Part") then
  1260. v.BrickColor = BrickColor.new("Really red")
  1261. v.Material = "Neon"
  1262. end
  1263. end
  1264. for i, v in pairs(mw1:GetChildren()) do
  1265. if v:IsA("Part") then
  1266. v.Transparency = 1
  1267. v.BrickColor = BrickColor.new("Really red")
  1268. v.Material = "Neon"
  1269. end
  1270. end
  1271. for i, v in pairs(extrawingmod1:GetChildren()) do
  1272. if v:IsA("Part") then
  1273. v.Transparency = 1
  1274. v.BrickColor = BrickColor.new("White")
  1275. v.Material = "Neon"
  1276. end
  1277. end
  1278. for i, v in pairs(extrawingmod2:GetChildren()) do
  1279. if v:IsA("Part") then
  1280. v.Transparency = 1
  1281. v.BrickColor = BrickColor.new("White")
  1282. v.Material = "Neon"
  1283. end
  1284. end
  1285. local MAINRUINCOLOR = BrickColor.new("Really red")
  1286. ------
  1287.  
  1288.  
  1289. function RemoveOutlines(part)
  1290. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1291. end
  1292. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1293. local Part = Create("Part")({
  1294. Parent = Parent,
  1295. Reflectance = Reflectance,
  1296. Transparency = Transparency,
  1297. CanCollide = false,
  1298. Locked = true,
  1299. BrickColor = BrickColor.new(tostring(BColor)),
  1300. Name = Name,
  1301. Size = Size,
  1302. Material = Material
  1303. })
  1304. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1305. RemoveOutlines(Part)
  1306. return Part
  1307. end
  1308. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1309. local Msh = Create(Mesh)({
  1310. Parent = Part,
  1311. Offset = OffSet,
  1312. Scale = Scale
  1313. })
  1314. if Mesh == "SpecialMesh" then
  1315. Msh.MeshType = MeshType
  1316. Msh.MeshId = MeshId
  1317. end
  1318. return Msh
  1319. end
  1320. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1321. local Weld = Create("Weld")({
  1322. Parent = Parent,
  1323. Part0 = Part0,
  1324. Part1 = Part1,
  1325. C0 = C0,
  1326. C1 = C1
  1327. })
  1328. return Weld
  1329. end
  1330.  
  1331. Player = plr
  1332. Character=Player.Character
  1333. PlayerGui=Player.PlayerGui
  1334. Backpack=Player.Backpack
  1335. Torso=Character.Torso
  1336. Head=Character.Head
  1337. Humanoid=Character.Humanoid
  1338. m=Instance.new('Model',Character)
  1339. LeftArm=Character["Left Arm"]
  1340. LeftLeg=Character["Left Leg"]
  1341. RightArm=Character["Right Arm"]
  1342. RightLeg=Character["Right Leg"]
  1343. LS=Torso["Left Shoulder"]
  1344. LH=Torso["Left Hip"]
  1345. RS=Torso["Right Shoulder"]
  1346. RH=Torso["Right Hip"]
  1347. Face = Head.face
  1348. Neck=Torso.Neck
  1349. it=Instance.new
  1350. attacktype=1
  1351. vt=Vector3.new
  1352. cf=CFrame.new
  1353. euler=CFrame.fromEulerAnglesXYZ
  1354. angles=CFrame.Angles
  1355. cloaked=false
  1356. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1357. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1358. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1359. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1360. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1361. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1362. RootPart=Character.HumanoidRootPart
  1363. RootJoint=RootPart.RootJoint
  1364. RootCF=euler(-1.57,0,3.14)
  1365. attack = false
  1366. attackdebounce = false
  1367. deb=false
  1368. equipped=true
  1369. hand=false
  1370. combo=0
  1371. mana=0
  1372. trispeed=.2
  1373. attackmode='none'
  1374. local idle=0
  1375. local Anim="Idle"
  1376. local Effects={}
  1377. local gun=false
  1378. local shoot=false
  1379. local sine = 0
  1380. local change = 1
  1381.  
  1382. function RecolorTextAndRename(name,col1,col2,font)
  1383. modet.TextStrokeColor3 = col2
  1384. modet.TextColor3 = col1
  1385. modet.Font = font
  1386. modet.Text = name
  1387. techc.ImageColor3 = col2
  1388. circl.ImageColor3 = col2
  1389. circl2.ImageColor3 = col1
  1390. imgl2.ImageColor3 = col1
  1391. imgl2b.ImageColor3 = col2
  1392. ned.Text = name
  1393. ned.TextColor3 = col1
  1394. ned.TextStrokeColor3 = col2
  1395. end
  1396. --save shoulders
  1397. RSH, LSH=nil, nil
  1398. --welds
  1399. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1400. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1401. LH=Torso["Left Hip"]
  1402. RH=Torso["Right Hip"]
  1403. TorsoColor=Torso.BrickColor
  1404. function NoOutline(Part)
  1405. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1406. end
  1407. ch=Character
  1408. RSH=ch.Torso["Right Shoulder"]
  1409. LSH=ch.Torso["Left Shoulder"]
  1410. --
  1411. RSH.Parent=nil
  1412. LSH.Parent=nil
  1413. --
  1414. RW.Name="Right Shoulder"
  1415. RW.Part0=ch.Torso
  1416. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1417. RW.C1=cf(0, 0.5, 0)
  1418. RW.Part1=ch["Right Arm"]
  1419. RW.Parent=ch.Torso
  1420. --
  1421. LW.Name="Left Shoulder"
  1422. LW.Part0=ch.Torso
  1423. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1424. LW.C1=cf(0, 0.5, 0)
  1425. LW.Part1=ch["Left Arm"]
  1426. LW.Parent=ch.Torso
  1427.  
  1428. local Stats=Instance.new("BoolValue")
  1429. Stats.Name="Stats"
  1430. Stats.Parent=Character
  1431. local Atk=Instance.new("NumberValue")
  1432. Atk.Name="Damage"
  1433. Atk.Parent=Stats
  1434. Atk.Value=1
  1435. local Def=Instance.new("NumberValue")
  1436. Def.Name="Defense"
  1437. Def.Parent=Stats
  1438. Def.Value=1
  1439. local Speed=Instance.new("NumberValue")
  1440. Speed.Name="Speed"
  1441. Speed.Parent=Stats
  1442. Speed.Value=1
  1443. local Mvmt=Instance.new("NumberValue")
  1444. Mvmt.Name="Movement"
  1445. Mvmt.Parent=Stats
  1446. Mvmt.Value=1
  1447.  
  1448. local donum=0
  1449. local ast = {744586075,385254610}
  1450.  
  1451. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1452. local fp=it("Part")
  1453. fp.formFactor=formfactor
  1454. fp.Parent=parent
  1455. fp.Reflectance=reflectance
  1456. fp.Transparency=transparency
  1457. fp.CanCollide=false
  1458. fp.Locked=true
  1459. fp.BrickColor=brickcolor
  1460. fp.Name=name
  1461. fp.Size=size
  1462. fp.Position=Torso.Position
  1463. NoOutline(fp)
  1464. fp.Material="SmoothPlastic"
  1465. fp:BreakJoints()
  1466. return fp
  1467. end
  1468.  
  1469. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1470. local mesh=it(Mesh)
  1471. mesh.Parent=part
  1472. if Mesh=="SpecialMesh" then
  1473. mesh.MeshType=meshtype
  1474. if meshid~="nil" then
  1475. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1476. end
  1477. end
  1478. mesh.Offset=offset
  1479. mesh.Scale=scale
  1480. return mesh
  1481. end
  1482.  
  1483. function weld(parent,part0,part1,c0)
  1484. local weld=it("Weld")
  1485. weld.Parent=parent
  1486. weld.Part0=part0
  1487. weld.Part1=part1
  1488. weld.C0=c0
  1489. return weld
  1490. end
  1491.  
  1492. local Color1=Torso.BrickColor
  1493.  
  1494. local bodvel=Instance.new("BodyVelocity")
  1495. local bg=Instance.new("BodyGyro")
  1496.  
  1497. --------- SazEreno's Artificial HB --------------
  1498. ArtificialHB = Instance.new("BindableEvent", script)
  1499. ArtificialHB.Name = "ArtificialHB"
  1500.  
  1501. script:WaitForChild("ArtificialHB")
  1502. Frame_Speed = 1 / 60
  1503. frame = Frame_Speed
  1504. tf = 0
  1505. allowframeloss = false
  1506. tossremainder = false
  1507. lastframe = tick()
  1508. script.ArtificialHB:Fire()
  1509.  
  1510. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1511. tf = tf + s
  1512. if tf >= frame then
  1513. if allowframeloss then
  1514. script.ArtificialHB:Fire()
  1515. lastframe = tick()
  1516. else
  1517. for i = 1, math.floor(tf / frame) do
  1518. script.ArtificialHB:Fire()
  1519. end
  1520. lastframe = tick()
  1521. end
  1522. if tossremainder then
  1523. tf = 0
  1524. else
  1525. tf = tf - frame * math.floor(tf / frame)
  1526. end
  1527. end
  1528. end)
  1529.  
  1530. ------------------
  1531. function swait(num)
  1532. if num == 0 or num == nil then
  1533. ArtificialHB.Event:wait()
  1534. else
  1535. for i = 1, num do
  1536. ArtificialHB.Event:wait()
  1537. end
  1538. end
  1539. end
  1540. -------- RAINBOW LEAVE IT TO ME
  1541. local r = 255
  1542. local g = 0
  1543. local b = 0
  1544. coroutine.resume(coroutine.create(function()
  1545. while wait() do
  1546. for i = 0, 254/5 do
  1547. swait()
  1548. g = g + 5
  1549. end
  1550. for i = 0, 254/5 do
  1551. swait()
  1552. r = r - 5
  1553. end
  1554. for i = 0, 254/5 do
  1555. swait()
  1556. b = b + 5
  1557. end
  1558. for i = 0, 254/5 do
  1559. swait()
  1560. g = g - 5
  1561. end
  1562. for i = 0, 254/5 do
  1563. swait()
  1564. r = r + 5
  1565. end
  1566. for i = 0, 254/5 do
  1567. swait()
  1568. b = b - 5
  1569. end
  1570. end
  1571. end))
  1572.  
  1573.  
  1574. so = function(id,par,vol,pit)
  1575. coroutine.resume(coroutine.create(function()
  1576. local sou = Instance.new("Sound",par or workspace)
  1577. sou.Volume=vol
  1578. sou.Pitch=pit or 1
  1579. sou.SoundId=id
  1580. swait()
  1581. sou:play()
  1582. game:GetService("Debris"):AddItem(sou,6)
  1583. end))
  1584. end
  1585.  
  1586. function clerp(a,b,t)
  1587. local qa = {QuaternionFromCFrame(a)}
  1588. local qb = {QuaternionFromCFrame(b)}
  1589. local ax, ay, az = a.x, a.y, a.z
  1590. local bx, by, bz = b.x, b.y, b.z
  1591. local _t = 1-t
  1592. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1593. end
  1594.  
  1595. function QuaternionFromCFrame(cf)
  1596. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1597. local trace = m00 + m11 + m22
  1598. if trace > 0 then
  1599. local s = math.sqrt(1 + trace)
  1600. local recip = 0.5/s
  1601. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1602. else
  1603. local i = 0
  1604. if m11 > m00 then
  1605. i = 1
  1606. end
  1607. if m22 > (i == 0 and m00 or m11) then
  1608. i = 2
  1609. end
  1610. if i == 0 then
  1611. local s = math.sqrt(m00-m11-m22+1)
  1612. local recip = 0.5/s
  1613. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1614. elseif i == 1 then
  1615. local s = math.sqrt(m11-m22-m00+1)
  1616. local recip = 0.5/s
  1617. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1618. elseif i == 2 then
  1619. local s = math.sqrt(m22-m00-m11+1)
  1620. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1621. end
  1622. end
  1623. end
  1624.  
  1625. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1626. local xs, ys, zs = x + x, y + y, z + z
  1627. local wx, wy, wz = w*xs, w*ys, w*zs
  1628. local xx = x*xs
  1629. local xy = x*ys
  1630. local xz = x*zs
  1631. local yy = y*ys
  1632. local yz = y*zs
  1633. local zz = z*zs
  1634. 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))
  1635. end
  1636.  
  1637. function QuaternionSlerp(a, b, t)
  1638. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1639. local startInterp, finishInterp;
  1640. if cosTheta >= 0.0001 then
  1641. if (1 - cosTheta) > 0.0001 then
  1642. local theta = math.acos(cosTheta)
  1643. local invSinTheta = 1/math.sin(theta)
  1644. startInterp = math.sin((1-t)*theta)*invSinTheta
  1645. finishInterp = math.sin(t*theta)*invSinTheta
  1646. else
  1647. startInterp = 1-t
  1648. finishInterp = t
  1649. end
  1650. else
  1651. if (1+cosTheta) > 0.0001 then
  1652. local theta = math.acos(-cosTheta)
  1653. local invSinTheta = 1/math.sin(theta)
  1654. startInterp = math.sin((t-1)*theta)*invSinTheta
  1655. finishInterp = math.sin(t*theta)*invSinTheta
  1656. else
  1657. startInterp = t-1
  1658. finishInterp = t
  1659. end
  1660. end
  1661. 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
  1662. end
  1663.  
  1664. local function CFrameFromTopBack(at, top, back)
  1665. local right = top:Cross(back)
  1666. return CFrame.new(at.x, at.y, at.z,
  1667. right.x, top.x, back.x,
  1668. right.y, top.y, back.y,
  1669. right.z, top.z, back.z)
  1670. end
  1671.  
  1672. function Triangle(a, b, c)
  1673. local edg1 = (c-a):Dot((b-a).unit)
  1674. local edg2 = (a-b):Dot((c-b).unit)
  1675. local edg3 = (b-c):Dot((a-c).unit)
  1676. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1677. a, b, c = a, b, c
  1678. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1679. a, b, c = b, c, a
  1680. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1681. a, b, c = c, a, b
  1682. else
  1683. assert(false, "unreachable")
  1684. end
  1685.  
  1686. local len1 = (c-a):Dot((b-a).unit)
  1687. local len2 = (b-a).magnitude - len1
  1688. local width = (a + (b-a).unit*len1 - c).magnitude
  1689.  
  1690. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1691.  
  1692. local list = {}
  1693.  
  1694. if len1 > 0.01 then
  1695. local w1 = Instance.new('WedgePart', m)
  1696. game:GetService("Debris"):AddItem(w1,5)
  1697. w1.Material = "SmoothPlastic"
  1698. w1.FormFactor = 'Custom'
  1699. w1.BrickColor = BrickColor.new("Really red")
  1700. w1.Transparency = 0
  1701. w1.Reflectance = 0
  1702. w1.Material = "SmoothPlastic"
  1703. w1.CanCollide = false
  1704. local l1 = Instance.new("PointLight",w1)
  1705. l1.Color = Color3.new(170,0,0)
  1706. NoOutline(w1)
  1707. local sz = Vector3.new(0.2, width, len1)
  1708. w1.Size = sz
  1709. local sp = Instance.new("SpecialMesh",w1)
  1710. sp.MeshType = "Wedge"
  1711. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1712. w1:BreakJoints()
  1713. w1.Anchored = true
  1714. w1.Parent = workspace
  1715. w1.Transparency = 0.7
  1716. table.insert(Effects,{w1,"Disappear",.01})
  1717. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1718. table.insert(list,w1)
  1719. end
  1720.  
  1721. if len2 > 0.01 then
  1722. local w2 = Instance.new('WedgePart', m)
  1723. game:GetService("Debris"):AddItem(w2,5)
  1724. w2.Material = "SmoothPlastic"
  1725. w2.FormFactor = 'Custom'
  1726. w2.BrickColor = BrickColor.new("Really red")
  1727. w2.Transparency = 0
  1728. w2.Reflectance = 0
  1729. w2.Material = "SmoothPlastic"
  1730. w2.CanCollide = false
  1731. local l2 = Instance.new("PointLight",w2)
  1732. l2.Color = Color3.new(170,0,0)
  1733. NoOutline(w2)
  1734. local sz = Vector3.new(0.2, width, len2)
  1735. w2.Size = sz
  1736. local sp = Instance.new("SpecialMesh",w2)
  1737. sp.MeshType = "Wedge"
  1738. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1739. w2:BreakJoints()
  1740. w2.Anchored = true
  1741. w2.Parent = workspace
  1742. w2.Transparency = 0.7
  1743. table.insert(Effects,{w2,"Disappear",.01})
  1744. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1745. table.insert(list,w2)
  1746. end
  1747. return unpack(list)
  1748. end
  1749.  
  1750.  
  1751. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1752. if hit.Parent == nil then
  1753. return
  1754. end
  1755. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1756. for _, v in pairs(hit.Parent:children()) do
  1757. if v:IsA("Humanoid") then
  1758. h = v
  1759. end
  1760. end
  1761. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1762. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1763. return
  1764. end
  1765. local c = Create("ObjectValue")({
  1766. Name = "creator",
  1767. Value = game:GetService("Players").GodzPlaysRB,
  1768. Parent = h
  1769. })
  1770. game:GetService("Debris"):AddItem(c, 0.5)
  1771. if HitSound ~= nil and HitPitch ~= nil then
  1772. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1773. end
  1774. local Damage = math.random(minim, maxim)
  1775. local blocked = false
  1776. local block = hit.Parent:findFirstChild("Block")
  1777. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1778. blocked = true
  1779. block.Value = block.Value - 1
  1780. print(block.Value)
  1781. end
  1782. if blocked == false then
  1783. HitHealth = h.Health
  1784. h.MaxHealth = 100
  1785. h.Health = h.Health - Damage
  1786. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1787. print("gained kill")
  1788. dmg(h.Parent)
  1789. end
  1790. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1791. else
  1792. h.Health = h.Health - Damage / 2
  1793. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1794. end
  1795. if Type == "Knockdown" then
  1796. local hum = hit.Parent.Humanoid
  1797. hum.PlatformStand = true
  1798. coroutine.resume(coroutine.create(function(HHumanoid)
  1799. swait(1)
  1800. HHumanoid.PlatformStand = false
  1801. end), hum)
  1802. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1803. local bodvol = Create("BodyVelocity")({
  1804. velocity = angle * knockback,
  1805. P = 5000,
  1806. maxForce = Vector3.new(8000, 8000, 8000),
  1807. Parent = hit
  1808. })
  1809. local rl = Create("BodyAngularVelocity")({
  1810. P = 3000,
  1811. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1812. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1813. Parent = hit
  1814. })
  1815. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1816. game:GetService("Debris"):AddItem(rl, 0.5)
  1817. elseif Type == "Normal" then
  1818. local vp = Create("BodyVelocity")({
  1819. P = 500,
  1820. maxForce = Vector3.new(math.huge, 0, math.huge),
  1821. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1822. })
  1823. if knockback > 0 then
  1824. vp.Parent = hit.Parent.Head
  1825. end
  1826. game:GetService("Debris"):AddItem(vp, 0.5)
  1827. elseif Type == "Up" then
  1828. local bodyVelocity = Create("BodyVelocity")({
  1829. velocity = Vector3.new(0, 20, 0),
  1830. P = 5000,
  1831. maxForce = Vector3.new(8000, 8000, 8000),
  1832. Parent = hit
  1833. })
  1834. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1835. local bodyVelocity = Create("BodyVelocity")({
  1836. velocity = Vector3.new(0, 20, 0),
  1837. P = 5000,
  1838. maxForce = Vector3.new(8000, 8000, 8000),
  1839. Parent = hit
  1840. })
  1841. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1842. elseif Type == "Leech" then
  1843. local hum = hit.Parent.Humanoid
  1844. if hum ~= nil then
  1845. for i = 0, 2 do
  1846. 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)
  1847. end
  1848. Humanoid.Health = Humanoid.Health + 10
  1849. end
  1850. elseif Type == "UpKnock" then
  1851. local hum = hit.Parent.Humanoid
  1852. hum.PlatformStand = true
  1853. if hum ~= nil then
  1854. hitr = true
  1855. end
  1856. coroutine.resume(coroutine.create(function(HHumanoid)
  1857. swait(5)
  1858. HHumanoid.PlatformStand = false
  1859. hitr = false
  1860. end), hum)
  1861. local bodyVelocity = Create("BodyVelocity")({
  1862. velocity = Vector3.new(0, 20, 0),
  1863. P = 5000,
  1864. maxForce = Vector3.new(8000, 8000, 8000),
  1865. Parent = hit
  1866. })
  1867. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1868. local bodyVelocity = Create("BodyVelocity")({
  1869. velocity = Vector3.new(0, 20, 0),
  1870. P = 5000,
  1871. maxForce = Vector3.new(8000, 8000, 8000),
  1872. Parent = hit
  1873. })
  1874. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1875. elseif Type == "Snare" then
  1876. local bp = Create("BodyPosition")({
  1877. P = 2000,
  1878. D = 100,
  1879. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1880. position = hit.Parent.Torso.Position,
  1881. Parent = hit.Parent.Torso
  1882. })
  1883. game:GetService("Debris"):AddItem(bp, 1)
  1884. elseif Type == "Slashnare" then
  1885. 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)
  1886. for i = 1, math.random(4, 5) do
  1887. 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)
  1888. end
  1889. local bp = Create("BodyPosition")({
  1890. P = 2000,
  1891. D = 100,
  1892. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1893. position = hit.Parent.Torso.Position,
  1894. Parent = hit.Parent.Torso
  1895. })
  1896. game:GetService("Debris"):AddItem(bp, 1)
  1897. elseif Type == "Spike" then
  1898. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1899. local bp = Create("BodyPosition")({
  1900. P = 2000,
  1901. D = 100,
  1902. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1903. position = hit.Parent.Torso.Position,
  1904. Parent = hit.Parent.Torso
  1905. })
  1906. game:GetService("Debris"):AddItem(bp, 1)
  1907. elseif Type == "Freeze" then
  1908. local BodPos = Create("BodyPosition")({
  1909. P = 50000,
  1910. D = 1000,
  1911. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1912. position = hit.Parent.Torso.Position,
  1913. Parent = hit.Parent.Torso
  1914. })
  1915. local BodGy = Create("BodyGyro")({
  1916. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1917. P = 20000,
  1918. Parent = hit.Parent.Torso,
  1919. cframe = hit.Parent.Torso.CFrame
  1920. })
  1921. hit.Parent.Torso.Anchored = true
  1922. coroutine.resume(coroutine.create(function(Part)
  1923. swait(1.5)
  1924. Part.Anchored = false
  1925. end), hit.Parent.Torso)
  1926. game:GetService("Debris"):AddItem(BodPos, 3)
  1927. game:GetService("Debris"):AddItem(BodGy, 3)
  1928. end
  1929. local debounce = Create("BoolValue")({
  1930. Name = "DebounceHit",
  1931. Parent = hit.Parent,
  1932. Value = true
  1933. })
  1934. game:GetService("Debris"):AddItem(debounce, Delay)
  1935. c = Instance.new("ObjectValue")
  1936. c.Name = "creator"
  1937. c.Value = Player
  1938. c.Parent = h
  1939. game:GetService("Debris"):AddItem(c, 0.5)
  1940. end
  1941. end
  1942. function ShowDamage(Pos, Text, Time, Color)
  1943. local Rate = 0.03333333333333333
  1944. local Pos = Pos or Vector3.new(0, 0, 0)
  1945. local Text = Text or ""
  1946. local Time = Time or 2
  1947. local Color = Color or Color3.new(1, 0, 1)
  1948. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1949. EffectPart.Anchored = true
  1950. local BillboardGui = Create("BillboardGui")({
  1951. Size = UDim2.new(3, 0, 3, 0),
  1952. Adornee = EffectPart,
  1953. Parent = EffectPart
  1954. })
  1955. local TextLabel = Create("TextLabel")({
  1956. BackgroundTransparency = 1,
  1957. Size = UDim2.new(1, 0, 1, 0),
  1958. Text = Text,
  1959. TextColor3 = Color,
  1960. TextScaled = true,
  1961. Font = Enum.Font.ArialBold,
  1962. Parent = BillboardGui
  1963. })
  1964. game.Debris:AddItem(EffectPart, Time + 0.1)
  1965. EffectPart.Parent = game:GetService("Workspace")
  1966. delay(0, function()
  1967. local Frames = Time / Rate
  1968. for Frame = 1, Frames do
  1969. wait(Rate)
  1970. local Percent = Frame / Frames
  1971. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1972. TextLabel.TextTransparency = Percent
  1973. end
  1974. if EffectPart and EffectPart.Parent then
  1975. EffectPart:Destroy()
  1976. end
  1977. end)
  1978. end
  1979. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1980. for _, c in pairs(workspace:children()) do
  1981. local hum = c:findFirstChildOfClass("Humanoid")
  1982. if hum ~= nil then
  1983. local head = c:findFirstChild("Head")
  1984. if head ~= nil then
  1985. local targ = head.Position - Part.Position
  1986. local mag = targ.magnitude
  1987. if magni >= mag and c.Name ~= Player.Name then
  1988. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1989. end
  1990. end
  1991. end
  1992. end
  1993. end
  1994.  
  1995. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1996. for _, c in pairs(workspace:children()) do
  1997. local hum = c:findFirstChild("Humanoid")
  1998. if hum ~= nil then
  1999. local head = c:findFirstChild("Torso")
  2000. if head ~= nil then
  2001. local targ = head.Position - Part.Position
  2002. local mag = targ.magnitude
  2003. if magni >= mag and c.Name ~= Player.Name then
  2004. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2005. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2006. end
  2007. end
  2008. end
  2009. end
  2010. end
  2011.  
  2012. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2013. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2014. end
  2015.  
  2016. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2017. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2018. prt.Anchored=true
  2019. prt.CFrame=cframe
  2020. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2021. --http://www.roblox.com/asset/?id=4770560
  2022. game:GetService("Debris"):AddItem(prt,2)
  2023. CF=prt.CFrame
  2024. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2025. for i=0,1,0.2 do
  2026. wait()
  2027. Part.CFrame=CF*cf(0,0,-0.4)
  2028. end
  2029. for i=0,1,delay do
  2030. wait()
  2031. --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)
  2032. Mesh.Scale=Mesh.Scale
  2033. end
  2034. for i=0,1,0.1 do
  2035. wait()
  2036. Part.Transparency=i
  2037. end
  2038. Part.Parent=nil
  2039. end),prt,msh,CF)
  2040. end
  2041.  
  2042. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2043. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2044. prt.Anchored=true
  2045. prt.Material = "Neon"
  2046. prt.CFrame=cframe
  2047. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2048. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2049. game:GetService("Debris"):AddItem(prt,5)
  2050. coroutine.resume(coroutine.create(function(Part,Mesh)
  2051. for i=0,1,delay do
  2052. swait()
  2053. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2054. Part.Transparency=i
  2055. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2056. end
  2057. Part.Parent=nil
  2058. end),prt,msh)
  2059. end
  2060.  
  2061. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2062. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2063. prt.Anchored=true
  2064. prt.Material = "Neon"
  2065. prt.CFrame=cframe
  2066. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2067. game:GetService("Debris"):AddItem(prt,5)
  2068. coroutine.resume(coroutine.create(function(Part,Mesh)
  2069. local rtype = rottype
  2070. for i=0,1,delay do
  2071. swait()
  2072. if rtype == 1 then
  2073. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2074. elseif rtype == 2 then
  2075. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2076. end
  2077. Part.Transparency=i
  2078. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2079. end
  2080. Part.Parent=nil
  2081. end),prt,msh)
  2082. end
  2083.  
  2084. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2085. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2086. prt.Anchored=true
  2087. prt.CFrame=cframe
  2088. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2089. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2090. game:GetService("Debris"):AddItem(prt,5)
  2091. coroutine.resume(coroutine.create(function(Part,Mesh)
  2092. for i=0,1,delay do
  2093. wait()
  2094. Part.Transparency=i
  2095. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2096. end
  2097. Part.Parent=nil
  2098. end),prt,msh)
  2099. end
  2100.  
  2101. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2102. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2103. prt.Anchored=true
  2104. prt.Material = "Neon"
  2105. prt.CFrame=cframe
  2106. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2107. game:GetService("Debris"):AddItem(prt,5)
  2108. coroutine.resume(coroutine.create(function(Part,Mesh)
  2109. local rtype = rottype
  2110. for i=0,1,delay do
  2111. swait()
  2112. if rtype == 1 then
  2113. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2114. elseif rtype == 2 then
  2115. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2116. end
  2117. Part.Transparency=i
  2118. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2119. end
  2120. Part.Parent=nil
  2121. end),prt,msh)
  2122. end
  2123.  
  2124. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2125. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2126. prt.Anchored=true
  2127. prt.Material = "Neon"
  2128. prt.CFrame=cframe
  2129. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2130. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2131. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2132. game:GetService("Debris"):AddItem(prt,5)
  2133. coroutine.resume(coroutine.create(function(Part,Mesh)
  2134. local rtype = rottype
  2135. for i=0,1,delay do
  2136. swait()
  2137. if rtype == 1 then
  2138. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2139. elseif rtype == 2 then
  2140. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2141. end
  2142. dec.Transparency=i
  2143. dec2.Transparency=i
  2144. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2145. end
  2146. Part.Parent=nil
  2147. end),prt,msh)
  2148. end
  2149.  
  2150. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2151. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2152. prt.Anchored=true
  2153. prt.Material = "Neon"
  2154. prt.CFrame=cframe
  2155. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2156. game:GetService("Debris"):AddItem(prt,5)
  2157. coroutine.resume(coroutine.create(function(Part,Mesh)
  2158. local rtype = rottype
  2159. for i=0,1,delay do
  2160. swait()
  2161. if rtype == 1 then
  2162. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2163. elseif rtype == 2 then
  2164. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2165. end
  2166. prt.Transparency=i
  2167. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2168. end
  2169. Part.Parent=nil
  2170. end),prt,msh)
  2171. end
  2172.  
  2173. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2174. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2175. prt.Anchored=true
  2176. prt.Material = "Neon"
  2177. prt.CFrame=cframe
  2178. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2179. game:GetService("Debris"):AddItem(prt,5)
  2180. coroutine.resume(coroutine.create(function(Part,Mesh)
  2181. local rtype = rottype
  2182. for i=0,1,delay do
  2183. swait()
  2184. if rtype == 1 then
  2185. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2186. elseif rtype == 2 then
  2187. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2188. end
  2189. prt.Transparency=i
  2190. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2191. end
  2192. Part.Parent=nil
  2193. end),prt,msh)
  2194. end
  2195.  
  2196. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2197. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2198. prt.Anchored=true
  2199. prt.Material = "Neon"
  2200. prt.CFrame=cframe
  2201. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2202. game:GetService("Debris"):AddItem(prt,5)
  2203. coroutine.resume(coroutine.create(function(Part,Mesh)
  2204. local rtype = rottype
  2205. for i=0,1,delay do
  2206. swait()
  2207. if rtype == 1 then
  2208. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2209. elseif rtype == 2 then
  2210. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2211. end
  2212. prt.Transparency=i
  2213. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2214. end
  2215. Part.Parent=nil
  2216. end),prt,msh)
  2217. end
  2218.  
  2219. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2220. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2221. prt.Anchored=true
  2222. prt.Material = "Neon"
  2223. prt.CFrame=cframe
  2224. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2225. game:GetService("Debris"):AddItem(prt,5)
  2226. coroutine.resume(coroutine.create(function(Part,Mesh)
  2227. local rtype = rottype
  2228. for i=0,1,delay do
  2229. swait()
  2230. if rtype == 1 then
  2231. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2232. elseif rtype == 2 then
  2233. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2234. end
  2235. prt.Transparency=i
  2236. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2237. end
  2238. Part.Parent=nil
  2239. end),prt,msh)
  2240. end
  2241.  
  2242. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2243. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2244. prt.Anchored=false
  2245. prt.CFrame=cframe
  2246. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2247. local wld=weld(prt,prt,Parent,cframe)
  2248. game:GetService("Debris"):AddItem(prt,5)
  2249. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2250. for i=0,1,delay do
  2251. wait()
  2252. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2253. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2254. Part.Transparency=i
  2255. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2256. end
  2257. Part.Parent=nil
  2258. end),prt,msh,wld)
  2259. end
  2260.  
  2261. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2262. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2263. prt.Anchored=false
  2264. prt.CFrame=cframe
  2265. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2266. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2267. game:GetService("Debris"):AddItem(prt,5)
  2268. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2269. for i=0,1,delay do
  2270. wait()
  2271. Weld.C0=euler(i*20,0,0)
  2272. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2273. Part.Transparency=i
  2274. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2275. end
  2276. Part.Parent=nil
  2277. end),prt,msh,wld)
  2278. end
  2279.  
  2280. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2281. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2282. prt.Anchored=true
  2283. prt.CFrame=cframe
  2284. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2285. game:GetService("Debris"):AddItem(prt,2)
  2286. coroutine.resume(coroutine.create(function(Part,Mesh)
  2287. for i=0,1,delay do
  2288. wait()
  2289. Part.CFrame=Part.CFrame
  2290. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2291. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2292. prt2.Anchored=true
  2293. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2294. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2295. game:GetService("Debris"):AddItem(prt2,2)
  2296. coroutine.resume(coroutine.create(function(Part,Mesh)
  2297. for i=0,1,0.1 do
  2298. wait()
  2299. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2300. end
  2301. Part.Parent=nil
  2302. end),prt2,msh2)
  2303. end
  2304. for i=0,1,delay*2 do
  2305. wait()
  2306. Part.CFrame=Part.CFrame
  2307. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2308. end
  2309. Part.Parent=nil
  2310. end),prt,msh)
  2311. end
  2312.  
  2313. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2314. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2315. prt.Anchored=true
  2316. prt.CFrame=cframe
  2317. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2318. game:GetService("Debris"):AddItem(prt,2)
  2319. coroutine.resume(coroutine.create(function(Part,Mesh)
  2320. for i=0,1,delay do
  2321. wait()
  2322. Part.CFrame=Part.CFrame
  2323. Part.Transparency=i
  2324. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2325. end
  2326. Part.Parent=nil
  2327. end),prt,msh)
  2328. end
  2329.  
  2330. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2331. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2332. prt.Anchored=true
  2333. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2334. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2335. game:GetService("Debris"):AddItem(prt,2)
  2336. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2337. CF=Part.CFrame
  2338. Numbb=0
  2339. randnumb=math.random()/10
  2340. rand1=math.random()/10
  2341. for i=0,1,rand1 do
  2342. wait()
  2343. CF=CF*cf(0,math.random()/2,0)
  2344. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2345. Part.CFrame=CF*euler(Numbb,0,0)
  2346. Part.Transparency=i
  2347. Numbb=Numbb+randnumb
  2348. end
  2349. Part.Parent=nil
  2350. end),prt,CF,Numbb,randnumb)
  2351. end
  2352.  
  2353. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2354. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2355. prt.Anchored=true
  2356. prt.CFrame=cframe
  2357. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2358. game:GetService("Debris"):AddItem(prt,5)
  2359. coroutine.resume(coroutine.create(function(Part,Mesh)
  2360. for i=0,1,delay do
  2361. wait()
  2362. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2363. Part.Transparency=i
  2364. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2365. end
  2366. Part.Parent=nil
  2367. end),prt,msh)
  2368. end
  2369.  
  2370. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2371. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2372. prt.Anchored=true
  2373. prt.CFrame=cframe
  2374. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2375. game:GetService("Debris"):AddItem(prt,2)
  2376. coroutine.resume(coroutine.create(function(Part,Mesh)
  2377. for i=0,1,delay do
  2378. wait()
  2379. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2380. Part.Transparency=i
  2381. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2382. end
  2383. Part.Parent=nil
  2384. end),prt,msh)
  2385. end
  2386.  
  2387. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2388. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2389. prt.Anchored=true
  2390. prt.CFrame=cframe*cf(x,y,z)
  2391. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2392. game:GetService("Debris"):AddItem(prt,5)
  2393. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2394. local num=math.random()
  2395. local num2=math.random(-3,2)+math.random()
  2396. local numm=0
  2397. for i=0,1,delay*2 do
  2398. swait()
  2399. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2400. Part.Transparency=i
  2401. numm=numm+0.01
  2402. end
  2403. Part.Parent=nil
  2404. Mesh.Parent=nil
  2405. end),prt,msh,x,y,z)
  2406. end
  2407.  
  2408. function dmgstart(dmg,what)
  2409. hitcon = what.Touched:connect(function(hit)
  2410. local hum = hit.Parent:FindFirstChild("Humanoid")
  2411. if hum and not hum:IsDescendantOf(Character) then
  2412. hum:TakeDamage(dmg)
  2413. end
  2414. end)
  2415. end
  2416.  
  2417. function dmgstop()
  2418. hitcon:disconnect()
  2419. end
  2420.  
  2421. function Cloak()
  2422. Face.Parent=nil
  2423. cloaked=true
  2424. for _,v in pairs(Torso.Parent:children()) do
  2425. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2426. coroutine.resume(coroutine.create(function()
  2427. for i=0,1,0.2 do
  2428. wait()
  2429. v.Transparency=i
  2430. end
  2431. v.Transparency=1
  2432. end))
  2433. end
  2434. if v.className=="Hat" then
  2435. hatp=v.Handle
  2436. coroutine.resume(coroutine.create(function(derp)
  2437. for i=0,1,0.2 do
  2438. wait()
  2439. derp.Transparency=i
  2440. end
  2441. derp.Transparency=1
  2442. end),hatp)
  2443. end
  2444. end
  2445. for _,v in pairs(m:children()) do
  2446. if v.className=="Part" then
  2447. coroutine.resume(coroutine.create(function()
  2448. for i=0,1,0.2 do
  2449. wait()
  2450. v.Transparency=i
  2451. end
  2452. v.Transparency=1
  2453. end))
  2454. end
  2455. end
  2456. end
  2457.  
  2458. function UnCloak()
  2459. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2460. Face.Parent=Head
  2461. cloaked=false
  2462. for _,v in pairs(Torso.Parent:children()) do
  2463. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2464. coroutine.resume(coroutine.create(function()
  2465. for i=0,1,0.1 do
  2466. wait()
  2467. v.Transparency=v.Transparency-0.1
  2468. end
  2469. v.Transparency=0
  2470. end))
  2471. end
  2472. if v.className=="Hat" then
  2473. hatp=v.Handle
  2474. coroutine.resume(coroutine.create(function(derp)
  2475. for i=0,1,0.1 do
  2476. wait()
  2477. derp.Transparency=derp.Transparency-0.1
  2478. end
  2479. derp.Transparency=0
  2480. end),hatp)
  2481. end
  2482. end
  2483. for _,v in pairs(m:children()) do
  2484. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2485. coroutine.resume(coroutine.create(function()
  2486. for i=0,1,0.1 do
  2487. wait()
  2488. v.Transparency=v.Transparency-0.1
  2489. end
  2490. v.Transparency=0
  2491. end))
  2492. v.Transparency=0
  2493. end
  2494. end
  2495. end
  2496.  
  2497. local origcolor = BrickColor.new("Pastel light blue")
  2498. ---- This section of explosions.
  2499.  
  2500. ----
  2501.  
  2502.  
  2503. function ring(type,pos,scale,value)
  2504. local type = type
  2505. local rng = Instance.new("Part", char)
  2506. rng.Anchored = true
  2507. rng.BrickColor = origcolor
  2508. rng.CanCollide = false
  2509. rng.FormFactor = 3
  2510. rng.Name = "Ring"
  2511. rng.Size = Vector3.new(1, 1, 1)
  2512. rng.Transparency = 0
  2513. rng.TopSurface = 0
  2514. rng.BottomSurface = 0
  2515. rng.CFrame = pos
  2516. local rngm = Instance.new("SpecialMesh", rng)
  2517. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2518. rngm.Scale = scale
  2519. local scaler2 = 1
  2520. if type == "Add" then
  2521. scaler2 = 1*value
  2522. elseif type == "Divide" then
  2523. scaler2 = 1/value
  2524. end
  2525. coroutine.resume(coroutine.create(function()
  2526. for i = 0,10,0.1 do
  2527. swait()
  2528. if type == "Add" then
  2529. scaler2 = scaler2 - 0.01*value
  2530. elseif type == "Divide" then
  2531. scaler2 = scaler2 - 0.01/value
  2532. end
  2533. rng.Transparency = rng.Transparency + 0.01
  2534. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2535. end
  2536. rng:Destroy()
  2537. end))
  2538. end
  2539.  
  2540.  
  2541. function wave(type,pos,scale,value)
  2542. local type = type
  2543. local rng = Instance.new("Part", char)
  2544. rng.Anchored = true
  2545. rng.BrickColor = origcolor
  2546. rng.CanCollide = false
  2547. rng.FormFactor = 3
  2548. rng.Name = "Ring"
  2549. rng.Size = Vector3.new(1, 1, 1)
  2550. rng.Transparency = 0
  2551. rng.TopSurface = 0
  2552. rng.BottomSurface = 0
  2553. rng.CFrame = pos
  2554. local rngm = Instance.new("SpecialMesh", rng)
  2555. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2556. rngm.Scale = scale
  2557. local scaler2 = 1
  2558. if type == "Add" then
  2559. scaler2 = 1*value
  2560. elseif type == "Divide" then
  2561. scaler2 = 1/value
  2562. end
  2563. coroutine.resume(coroutine.create(function()
  2564. for i = 0,10,0.1 do
  2565. swait()
  2566. if type == "Add" then
  2567. scaler2 = scaler2 - 0.01*value
  2568. elseif type == "Divide" then
  2569. scaler2 = scaler2 - 0.01/value
  2570. end
  2571. rng.Transparency = rng.Transparency + 0.01
  2572. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2573. end
  2574. rng:Destroy()
  2575. end))
  2576. end
  2577.  
  2578. function wind(type,pos,scale,value,speed)
  2579. local type = type
  2580. local rng = Instance.new("Part", char)
  2581. rng.Anchored = true
  2582. rng.BrickColor = origcolor
  2583. rng.CanCollide = false
  2584. rng.FormFactor = 3
  2585. rng.Name = "Ring"
  2586. rng.Size = Vector3.new(1, 1, 1)
  2587. rng.Transparency = 0
  2588. rng.TopSurface = 0
  2589. rng.BottomSurface = 0
  2590. rng.CFrame = pos
  2591. local rngm = Instance.new("SpecialMesh", rng)
  2592. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2593. rngm.Scale = scale
  2594. local scaler2 = 1
  2595. if type == "Add" then
  2596. scaler2 = 1*value
  2597. elseif type == "Divide" then
  2598. scaler2 = 1/value
  2599. end
  2600. coroutine.resume(coroutine.create(function()
  2601. for i = 0,10,0.1 do
  2602. swait()
  2603. if type == "Add" then
  2604. scaler2 = scaler2 - 0.01*value
  2605. elseif type == "Divide" then
  2606. scaler2 = scaler2 - 0.01/value
  2607. end
  2608. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2609. rng.Transparency = rng.Transparency + 0.01
  2610. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2611. end
  2612. rng:Destroy()
  2613. end))
  2614. end
  2615.  
  2616. function groundwind(type,pos,scale,value,speed)
  2617. local type = type
  2618. local rng = Instance.new("Part", char)
  2619. rng.Anchored = true
  2620. rng.BrickColor = origcolor
  2621. rng.CanCollide = false
  2622. rng.FormFactor = 3
  2623. rng.Name = "Ring"
  2624. rng.Size = Vector3.new(1, 1, 1)
  2625. rng.Transparency = 0
  2626. rng.TopSurface = 0
  2627. rng.BottomSurface = 0
  2628. rng.CFrame = pos
  2629. local rngm = Instance.new("SpecialMesh", rng)
  2630. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2631. rngm.Scale = scale
  2632. local scaler2 = 1
  2633. if type == "Add" then
  2634. scaler2 = 1*value
  2635. elseif type == "Divide" then
  2636. scaler2 = 1/value
  2637. end
  2638. coroutine.resume(coroutine.create(function()
  2639. for i = 0,10,0.1 do
  2640. swait()
  2641. if type == "Add" then
  2642. scaler2 = scaler2 - 0.01*value
  2643. elseif type == "Divide" then
  2644. scaler2 = scaler2 - 0.01/value
  2645. end
  2646. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2647. rng.Transparency = rng.Transparency + 0.01
  2648. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2649. end
  2650. rng:Destroy()
  2651. end))
  2652. end
  2653.  
  2654. function CameraManager()
  2655. if TwoD and not CamInterrupt then
  2656. if Humanoid.Health > 0 then
  2657. Camera.CameraSubject = Humanoid
  2658. Camera.CameraType = "Scriptable"
  2659. Humanoid.AutoRotate = false
  2660. if Booleans.GyroUse then
  2661. Directer.MaxTorque = Vec3(0, huge, 0)
  2662. else
  2663. Directer.MaxTorque = Vec3(0, 0, 0)
  2664. end
  2665. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2666. if Booleans.CamFollow then
  2667. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2668. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2669. else
  2670. CPart.Position = RootPart.Position
  2671. end
  2672. else
  2673. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2674. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2675. end
  2676. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2677. else
  2678. Camera.CameraSubject = Humanoid
  2679. Camera.CameraType = "Custom"
  2680. Controller.Disabled = false
  2681. end
  2682. end
  2683. end
  2684.  
  2685. function ring(type,pos,scale,value)
  2686. local type = type
  2687. local rng = Instance.new("Part", char)
  2688. rng.Anchored = true
  2689. rng.BrickColor = origcolor
  2690. rng.CanCollide = false
  2691. rng.FormFactor = 3
  2692. rng.Name = "Ring"
  2693. rng.Size = Vector3.new(1, 1, 1)
  2694. rng.Transparency = 0
  2695. rng.TopSurface = 0
  2696. rng.BottomSurface = 0
  2697. rng.CFrame = pos
  2698. local rngm = Instance.new("SpecialMesh", rng)
  2699. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2700. rngm.Scale = scale
  2701. local scaler2 = 1
  2702. if type == "Add" then
  2703. scaler2 = 1*value
  2704. elseif type == "Divide" then
  2705. scaler2 = 1/value
  2706. end
  2707. coroutine.resume(coroutine.create(function()
  2708. for i = 0,10,0.1 do
  2709. swait()
  2710. if type == "Add" then
  2711. scaler2 = scaler2 - 0.01*value
  2712. elseif type == "Divide" then
  2713. scaler2 = scaler2 - 0.01/value
  2714. end
  2715. rng.Transparency = rng.Transparency + 0.01
  2716. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2717. end
  2718. rng:Destroy()
  2719. end))
  2720. end
  2721.  
  2722.  
  2723. function wave(type,pos,scale,value)
  2724. local type = type
  2725. local rng = Instance.new("Part", char)
  2726. rng.Anchored = true
  2727. rng.BrickColor = origcolor
  2728. rng.CanCollide = false
  2729. rng.FormFactor = 3
  2730. rng.Name = "Ring"
  2731. rng.Size = Vector3.new(1, 1, 1)
  2732. rng.Transparency = 0
  2733. rng.TopSurface = 0
  2734. rng.BottomSurface = 0
  2735. rng.CFrame = pos
  2736. local rngm = Instance.new("SpecialMesh", rng)
  2737. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2738. rngm.Scale = scale
  2739. local scaler2 = 1
  2740. if type == "Add" then
  2741. scaler2 = 1*value
  2742. elseif type == "Divide" then
  2743. scaler2 = 1/value
  2744. end
  2745. coroutine.resume(coroutine.create(function()
  2746. for i = 0,10,0.1 do
  2747. swait()
  2748. if type == "Add" then
  2749. scaler2 = scaler2 - 0.01*value
  2750. elseif type == "Divide" then
  2751. scaler2 = scaler2 - 0.01/value
  2752. end
  2753. rng.Transparency = rng.Transparency + 0.01
  2754. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2755. end
  2756. rng:Destroy()
  2757. end))
  2758. end
  2759.  
  2760. function sphere(bonuspeed,type,pos,scale,value,color)
  2761. local type = type
  2762. local rng = Instance.new("Part", char)
  2763. rng.Anchored = true
  2764. if ModeOfGlitch ~= 9 then
  2765. rng.BrickColor = color
  2766. elseif ModeOfGlitch == 9 then
  2767. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2768. end
  2769. rng.CanCollide = false
  2770. rng.FormFactor = 3
  2771. rng.Name = "Ring"
  2772. rng.Material = "Neon"
  2773. rng.Size = Vector3.new(1, 1, 1)
  2774. rng.Transparency = 0
  2775. rng.TopSurface = 0
  2776. rng.BottomSurface = 0
  2777. rng.CFrame = pos
  2778. local rngm = Instance.new("SpecialMesh", rng)
  2779. rngm.MeshType = "Sphere"
  2780. rngm.Scale = scale
  2781. if rainbowmode == true then
  2782. rng.Color = Color3.new(r/255,g/255,b/255)
  2783. end
  2784. if ModeOfGlitch == 9 then
  2785. coroutine.resume(coroutine.create(function()
  2786. while true do
  2787. swait()
  2788. if rng.Parent ~= nil then
  2789. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2790. else
  2791. break
  2792. end
  2793. end
  2794. end))
  2795. end
  2796. local scaler2 = 1
  2797. if type == "Add" then
  2798. scaler2 = 1*value
  2799. elseif type == "Divide" then
  2800. scaler2 = 1/value
  2801. end
  2802. coroutine.resume(coroutine.create(function()
  2803. for i = 0,10/bonuspeed,0.1 do
  2804. swait()
  2805. if rainbowmode == true then
  2806. rng.Color = Color3.new(r/255,g/255,b/255)
  2807. end
  2808. if type == "Add" then
  2809. scaler2 = scaler2 - 0.01*value/bonuspeed
  2810. elseif type == "Divide" then
  2811. scaler2 = scaler2 - 0.01/value*bonuspeed
  2812. end
  2813. if chaosmode == true then
  2814. rng.BrickColor = BrickColor.random()
  2815. end
  2816. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2817. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2818. end
  2819. rng:Destroy()
  2820. end))
  2821. end
  2822.  
  2823. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2824. local type = type
  2825. local rng = Instance.new("Part", char)
  2826. rng.Anchored = true
  2827. if ModeOfGlitch ~= 9 then
  2828. rng.BrickColor = color
  2829. elseif ModeOfGlitch == 9 then
  2830. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2831. end
  2832. rng.CanCollide = false
  2833. rng.FormFactor = 3
  2834. rng.Name = "Ring"
  2835. rng.Material = "Neon"
  2836. rng.Size = Vector3.new(1, 1, 1)
  2837. rng.Transparency = 0
  2838. rng.TopSurface = 0
  2839. rng.BottomSurface = 0
  2840. rng.CFrame = pos
  2841. local rngm = Instance.new("SpecialMesh", rng)
  2842. rngm.MeshType = "Sphere"
  2843. rngm.Scale = scale
  2844. local scaler2 = 1
  2845. local scaler2b = 1
  2846. local scaler2c = 1
  2847. if type == "Add" then
  2848. scaler2 = 1*value
  2849. scaler2b = 1*value2
  2850. scaler2c = 1*value3
  2851. elseif type == "Divide" then
  2852. scaler2 = 1/value
  2853. scaler2b = 1/value2
  2854. scaler2c = 1/value3
  2855. end
  2856. if ModeOfGlitch == 9 then
  2857. coroutine.resume(coroutine.create(function()
  2858. while true do
  2859. swait()
  2860. if rng.Parent ~= nil then
  2861. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2862. else
  2863. break
  2864. end
  2865. end
  2866. end))
  2867. end
  2868. coroutine.resume(coroutine.create(function()
  2869. for i = 0,10/bonuspeed,0.1 do
  2870. swait()
  2871. if type == "Add" then
  2872. scaler2 = scaler2 - 0.01*value/bonuspeed
  2873. scaler2b = scaler2b - 0.01*value/bonuspeed
  2874. scaler2c = scaler2c - 0.01*value/bonuspeed
  2875. elseif type == "Divide" then
  2876. scaler2 = scaler2 - 0.01/value*bonuspeed
  2877. scaler2b = scaler2b - 0.01/value*bonuspeed
  2878. scaler2c = scaler2c - 0.01/value*bonuspeed
  2879. end
  2880. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2881. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2882. end
  2883. rng:Destroy()
  2884. end))
  2885. end
  2886.  
  2887. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2888. local type = type
  2889. local rotenable = rotatingop
  2890. local rng = Instance.new("Part", char)
  2891. rng.Anchored = true
  2892. rng.BrickColor = color
  2893. rng.CanCollide = false
  2894. rng.FormFactor = 3
  2895. rng.Name = "Ring"
  2896. rng.Material = "Neon"
  2897. rng.Size = Vector3.new(1, 1, 1)
  2898. rng.Transparency = 0
  2899. if typeoftrans == "In" then
  2900. rng.Transparency = 1
  2901. end
  2902. rng.TopSurface = 0
  2903. rng.BottomSurface = 0
  2904. rng.CFrame = pos
  2905. local rngm = Instance.new("SpecialMesh", rng)
  2906. rngm.MeshType = "FileMesh"
  2907. if typeofshape == "Normal" then
  2908. rngm.MeshId = "rbxassetid://662586858"
  2909. elseif typeofshape == "Round" then
  2910. rngm.MeshId = "rbxassetid://662585058"
  2911. end
  2912. rngm.Scale = scale
  2913. local scaler2 = 1/10
  2914. if type == "Add" then
  2915. scaler2 = 1*value/10
  2916. elseif type == "Divide" then
  2917. scaler2 = 1/value/10
  2918. end
  2919. local randomrot = math.random(1,2)
  2920. coroutine.resume(coroutine.create(function()
  2921. for i = 0,10/bonuspeed,0.1 do
  2922. swait()
  2923. if type == "Add" then
  2924. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  2925. elseif type == "Divide" then
  2926. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  2927. end
  2928. if rotenable == true then
  2929. if randomrot == 1 then
  2930. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  2931. elseif randomrot == 2 then
  2932. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  2933. end
  2934. end
  2935. if typeoftrans == "Out" then
  2936. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2937. elseif typeoftrans == "In" then
  2938. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2939. end
  2940. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  2941. end
  2942. rng:Destroy()
  2943. end))
  2944. end
  2945.  
  2946. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2947. local type = type
  2948. local rng = Instance.new("Part", char)
  2949. rng.Anchored = true
  2950. rng.BrickColor = color
  2951. rng.CanCollide = false
  2952. rng.FormFactor = 3
  2953. rng.Name = "Ring"
  2954. rng.Material = "Neon"
  2955. rng.Size = Vector3.new(1, 1, 1)
  2956. rng.Transparency = 0
  2957. rng.TopSurface = 0
  2958. rng.BottomSurface = 0
  2959. rng.CFrame = pos
  2960. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2961. local rngm = Instance.new("SpecialMesh", rng)
  2962. rngm.MeshType = "Brick"
  2963. rngm.Scale = vt(x1,y1,z1)
  2964. if rainbowmode == true then
  2965. rng.Color = Color3.new(r/255,g/255,b/255)
  2966. end
  2967. local scaler2 = 1
  2968. local speeder = FastSpeed/10
  2969. if type == "Add" then
  2970. scaler2 = 1*value
  2971. elseif type == "Divide" then
  2972. scaler2 = 1/value
  2973. end
  2974. coroutine.resume(coroutine.create(function()
  2975. for i = 0,10/bonuspeed,0.1 do
  2976. swait()
  2977. if rainbowmode == true then
  2978. rng.Color = Color3.new(r/255,g/255,b/255)
  2979. end
  2980. if type == "Add" then
  2981. scaler2 = scaler2 - 0.01*value/bonuspeed
  2982. elseif type == "Divide" then
  2983. scaler2 = scaler2 - 0.01/value*bonuspeed
  2984. end
  2985. if chaosmode == true then
  2986. rng.BrickColor = BrickColor.random()
  2987. end
  2988. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2989. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2990. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2991. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2992. end
  2993. rng:Destroy()
  2994. end))
  2995. end
  2996.  
  2997. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2998. local type = type
  2999. local rng = Instance.new("Part", char)
  3000. rng.Anchored = true
  3001. rng.BrickColor = color
  3002. rng.CanCollide = false
  3003. rng.FormFactor = 3
  3004. rng.Name = "Ring"
  3005. rng.Material = "Neon"
  3006. rng.Size = Vector3.new(1, 1, 1)
  3007. rng.Transparency = 0
  3008. rng.TopSurface = 0
  3009. rng.BottomSurface = 0
  3010. rng.CFrame = pos
  3011. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3012. local rngm = Instance.new("SpecialMesh", rng)
  3013. rngm.MeshType = "Brick"
  3014. rngm.Scale = vt(x1,y1,z1)
  3015. if rainbowmode == true then
  3016. rng.Color = Color3.new(r/255,g/255,b/255)
  3017. end
  3018. local scaler2 = 1
  3019. local speeder = FastSpeed/10
  3020. if type == "Add" then
  3021. scaler2 = 1*value
  3022. elseif type == "Divide" then
  3023. scaler2 = 1/value
  3024. end
  3025. coroutine.resume(coroutine.create(function()
  3026. for i = 0,10/bonuspeed,0.1 do
  3027. swait()
  3028. if rainbowmode == true then
  3029. rng.Color = Color3.new(r/255,g/255,b/255)
  3030. end
  3031. if type == "Add" then
  3032. scaler2 = scaler2 - 0.01*value/bonuspeed
  3033. elseif type == "Divide" then
  3034. scaler2 = scaler2 - 0.01/value*bonuspeed
  3035. end
  3036. if chaosmode == true then
  3037. rng.BrickColor = BrickColor.random()
  3038. end
  3039. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3040. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3041. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3042. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3043. end
  3044. rng:Destroy()
  3045. end))
  3046. end
  3047.  
  3048. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3049. local type = type
  3050. local rng = Instance.new("Part", char)
  3051. rng.Anchored = true
  3052. rng.BrickColor = color
  3053. rng.CanCollide = false
  3054. rng.FormFactor = 3
  3055. rng.Name = "Ring"
  3056. rng.Material = "Neon"
  3057. rng.Size = Vector3.new(1, 1, 1)
  3058. rng.Transparency = 0
  3059. rng.TopSurface = 0
  3060. rng.BottomSurface = 0
  3061. rng.CFrame = pos
  3062. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3063. local rngm = Instance.new("SpecialMesh", rng)
  3064. rngm.MeshType = "Brick"
  3065. rngm.Scale = vt(x1,y1,z1)
  3066. if rainbowmode == true then
  3067. rng.Color = Color3.new(r/255,g/255,b/255)
  3068. end
  3069. local scaler2 = 0
  3070. local speeder = FastSpeed/10
  3071. if type == "Add" then
  3072. scaler2 = 1*value
  3073. elseif type == "Divide" then
  3074. scaler2 = 1/value
  3075. end
  3076. coroutine.resume(coroutine.create(function()
  3077. for i = 0,10/bonuspeed,0.1 do
  3078. swait()
  3079. if rainbowmode == true then
  3080. rng.Color = Color3.new(r/255,g/255,b/255)
  3081. end
  3082. if type == "Add" then
  3083. scaler2 = scaler2 - 0.01*value/bonuspeed
  3084. elseif type == "Divide" then
  3085. scaler2 = scaler2 - 0.01/value*bonuspeed
  3086. end
  3087. if chaosmode == true then
  3088. rng.BrickColor = BrickColor.random()
  3089. end
  3090. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3091. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3092. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3093. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3094. end
  3095. rng:Destroy()
  3096. end))
  3097. end
  3098.  
  3099. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3100. local type = type
  3101. local rng = Instance.new("Part", char)
  3102. rng.Anchored = true
  3103. rng.BrickColor = color
  3104. rng.Color = color3
  3105. rng.CanCollide = false
  3106. rng.FormFactor = 3
  3107. rng.Name = "Ring"
  3108. rng.Material = "Neon"
  3109. rng.Size = Vector3.new(1, 1, 1)
  3110. rng.Transparency = 0
  3111. rng.TopSurface = 0
  3112. rng.BottomSurface = 0
  3113. rng.CFrame = pos
  3114. local rngm = Instance.new("SpecialMesh", rng)
  3115. rngm.MeshType = "Brick"
  3116. rngm.Scale = scale
  3117. local scaler2 = 1
  3118. local scaler2b = 1
  3119. local scaler2c = 1
  3120. if type == "Add" then
  3121. scaler2 = 1*value
  3122. scaler2b = 1*value2
  3123. scaler2c = 1*value3
  3124. elseif type == "Divide" then
  3125. scaler2 = 1/value
  3126. scaler2b = 1/value2
  3127. scaler2c = 1/value3
  3128. end
  3129. coroutine.resume(coroutine.create(function()
  3130. for i = 0,10/bonuspeed,0.1 do
  3131. swait()
  3132. if type == "Add" then
  3133. scaler2 = scaler2 - 0.01*value/bonuspeed
  3134. scaler2b = scaler2b - 0.01*value/bonuspeed
  3135. scaler2c = scaler2c - 0.01*value/bonuspeed
  3136. elseif type == "Divide" then
  3137. scaler2 = scaler2 - 0.01/value*bonuspeed
  3138. scaler2b = scaler2b - 0.01/value*bonuspeed
  3139. scaler2c = scaler2c - 0.01/value*bonuspeed
  3140. end
  3141. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3142. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3143. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3144. end
  3145. rng:Destroy()
  3146. end))
  3147. end
  3148.  
  3149. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3150. local type = type
  3151. local rng = Instance.new("Part", char)
  3152. rng.Anchored = true
  3153. if ModeOfGlitch ~= 9 then
  3154. rng.BrickColor = color
  3155. elseif ModeOfGlitch == 9 then
  3156. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3157. end
  3158. rng.CanCollide = false
  3159. rng.FormFactor = 3
  3160. rng.Name = "Ring"
  3161. rng.Material = "Neon"
  3162. rng.Size = Vector3.new(1, 1, 1)
  3163. rng.Transparency = 0
  3164. rng.TopSurface = 0
  3165. rng.BottomSurface = 0
  3166. rng.CFrame = pos
  3167. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3168. local rngm = Instance.new("SpecialMesh", rng)
  3169. rngm.MeshType = "Sphere"
  3170. rngm.Scale = vt(x1,y1,z1)
  3171. if rainbowmode == true then
  3172. rng.Color = Color3.new(r/255,g/255,b/255)
  3173. end
  3174. if ModeOfGlitch == 9 then
  3175. coroutine.resume(coroutine.create(function()
  3176. while true do
  3177. swait()
  3178. if rng.Parent ~= nil then
  3179. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3180. else
  3181. break
  3182. end
  3183. end
  3184. end))
  3185. end
  3186. local scaler2 = 1
  3187. local speeder = FastSpeed
  3188. if type == "Add" then
  3189. scaler2 = 1*value
  3190. elseif type == "Divide" then
  3191. scaler2 = 1/value
  3192. end
  3193. coroutine.resume(coroutine.create(function()
  3194. for i = 0,10/bonuspeed,0.1 do
  3195. swait()
  3196. if rainbowmode == true then
  3197. rng.Color = Color3.new(r/255,g/255,b/255)
  3198. end
  3199. if type == "Add" then
  3200. scaler2 = scaler2 - 0.01*value/bonuspeed
  3201. elseif type == "Divide" then
  3202. scaler2 = scaler2 - 0.01/value*bonuspeed
  3203. end
  3204. if chaosmode == true then
  3205. rng.BrickColor = BrickColor.random()
  3206. end
  3207. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3208. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3209. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3210. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3211. end
  3212. rng:Destroy()
  3213. end))
  3214. end
  3215.  
  3216.  
  3217. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3218. local type = type
  3219. local rng = Instance.new("Part", char)
  3220. rng.Anchored = true
  3221. if ModeOfGlitch ~= 9 then
  3222. rng.BrickColor = color
  3223. elseif ModeOfGlitch == 9 then
  3224. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3225. end
  3226. rng.CanCollide = false
  3227. rng.FormFactor = 3
  3228. rng.Name = "Ring"
  3229. rng.Material = "Neon"
  3230. rng.Size = Vector3.new(1, 1, 1)
  3231. rng.Transparency = 1
  3232. rng.TopSurface = 0
  3233. rng.BottomSurface = 0
  3234. rng.CFrame = pos
  3235. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3236. local rngm = Instance.new("SpecialMesh", rng)
  3237. rngm.MeshType = "Sphere"
  3238. rngm.Scale = vt(x1,y1,z1)
  3239. if rainbowmode == true then
  3240. rng.Color = Color3.new(r/255,g/255,b/255)
  3241. end
  3242. if ModeOfGlitch == 9 then
  3243. coroutine.resume(coroutine.create(function()
  3244. while true do
  3245. swait()
  3246. if rng.Parent ~= nil then
  3247. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3248. else
  3249. break
  3250. end
  3251. end
  3252. end))
  3253. end
  3254. local scaler2 = 1
  3255. local speeder = FastSpeed
  3256. if type == "Add" then
  3257. scaler2 = 1*value
  3258. elseif type == "Divide" then
  3259. scaler2 = 1/value
  3260. end
  3261. coroutine.resume(coroutine.create(function()
  3262. for i = 0,10/bonuspeed,0.1 do
  3263. swait()
  3264. if rainbowmode == true then
  3265. rng.Color = Color3.new(r/255,g/255,b/255)
  3266. end
  3267. if type == "Add" then
  3268. scaler2 = scaler2 - 0.01*value/bonuspeed
  3269. elseif type == "Divide" then
  3270. scaler2 = scaler2 - 0.01/value*bonuspeed
  3271. end
  3272. if chaosmode == true then
  3273. rng.BrickColor = BrickColor.random()
  3274. end
  3275. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3276. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3277. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3278. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3279. end
  3280. rng:Destroy()
  3281. end))
  3282. end
  3283.  
  3284. function dmg(dude)
  3285. if dude.Name ~= Character then
  3286. local keptcolor = MAINRUINCOLOR
  3287. local bgf = Instance.new("BodyGyro",dude.Head)
  3288. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3289. --[[local val = Instance.new("BoolValue",dude)
  3290. val.Name = "IsHit"]]--
  3291. local ds = coroutine.wrap(function()
  3292. dude:WaitForChild("Head"):BreakJoints()
  3293. for i, v in pairs(dude:GetChildren()) do
  3294. if v:IsA("Part") or v:IsA("MeshPart") then
  3295. v.Name = "DEMINISHED"
  3296. end
  3297. end
  3298. wait(0.5)
  3299. targetted = nil
  3300. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3301. coroutine.resume(coroutine.create(function()
  3302. for i, v in pairs(dude:GetChildren()) do
  3303. if v:IsA("Accessory") then
  3304. v:Destroy()
  3305. end
  3306. if v:IsA("Humanoid") then
  3307. v:Destroy()
  3308. end
  3309. if v:IsA("CharacterMesh") then
  3310. v:Destroy()
  3311. end
  3312. if v:IsA("Model") then
  3313. v:Destroy()
  3314. end
  3315. if v:IsA("Part") or v:IsA("MeshPart") then
  3316. for x, o in pairs(v:GetChildren()) do
  3317. if o:IsA("Decal") then
  3318. o:Destroy()
  3319. end
  3320. end
  3321. coroutine.resume(coroutine.create(function()
  3322. v.Material = "Neon"
  3323. v.CanCollide = false
  3324. v.Anchored = false
  3325. local bld = Instance.new("ParticleEmitter",v)
  3326. bld.LightEmission = 0.75
  3327. bld.Texture = "rbxassetid://363275192" ---284205403
  3328. bld.Color = ColorSequence.new(keptcolor.Color)
  3329. bld.Rate = 500
  3330. bld.Lifetime = NumberRange.new(1)
  3331. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3332. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3333. bld.Speed = NumberRange.new(2,5)
  3334. bld.VelocitySpread = 50000
  3335. bld.Rotation = NumberRange.new(-500,500)
  3336. bld.RotSpeed = NumberRange.new(-500,500)
  3337. local sbs = Instance.new("BodyPosition", v)
  3338. sbs.P = 3000
  3339. sbs.D = 1000
  3340. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3341. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3342. v.Color = keptcolor.Color
  3343. coroutine.resume(coroutine.create(function()
  3344. for i = 0, 49 do
  3345. swait(1)
  3346. v:BreakJoints()
  3347. v.Transparency = v.Transparency + 0.02
  3348. end
  3349. v:BreakJoints()
  3350. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3351. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3352. bld.Speed = NumberRange.new(10,25)
  3353. bld.Drag = 5
  3354. bld.Acceleration = vt(0,2,0)
  3355. wait(0.5)
  3356. bld.Enabled = false
  3357. wait(8)
  3358. v:Destroy()
  3359. dude:Destroy()
  3360. end))
  3361. end))
  3362. end
  3363. end
  3364. end))
  3365. end)
  3366. ds()
  3367. end
  3368. end
  3369.  
  3370.  
  3371. function FindNearestHead(Position, Distance, SinglePlayer)
  3372. if SinglePlayer then
  3373. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3374. end
  3375. local List = {}
  3376. for i, v in pairs(workspace:GetChildren()) do
  3377. if v:IsA("Model") then
  3378. if v:findFirstChild("Head") then
  3379. if v ~= Character then
  3380. if (v.Head.Position - Position).magnitude <= Distance then
  3381. table.insert(List, v)
  3382. end
  3383. end
  3384. end
  3385. end
  3386. end
  3387. return List
  3388. end
  3389.  
  3390. function FaceMouse()
  3391. Cam = workspace.CurrentCamera
  3392. return {
  3393. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3394. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3395. }
  3396. end
  3397.  
  3398. function FaceMouse2()
  3399. Cam = workspace.CurrentCamera
  3400. return {
  3401. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3402. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3403. }
  3404. end
  3405.  
  3406. local ModeOfGlitch = 1
  3407. -- Functions are ready.
  3408. local storehumanoidWS = 16
  3409.  
  3410. function CorruptBlink()
  3411. for i = 0, 14 do
  3412. PixelBlock(3,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.03,MAINRUINCOLOR,0)
  3413. end
  3414. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3415. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3416. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3417. CameraEnshaking(2,10)
  3418. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3419. if v:FindFirstChild('Head') then
  3420. dmg(v)
  3421. end
  3422. end
  3423. for i = 0, 14 do
  3424. PixelBlock(3,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.03,MAINRUINCOLOR,0)
  3425. end
  3426. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3427. end
  3428. function PureBomb()
  3429. attack = true
  3430. hum.WalkSpeed = 0
  3431. local orb = Instance.new("Part", char)
  3432. orb.Anchored = true
  3433. orb.BrickColor = BrickColor.new("Toothpaste")
  3434. orb.CanCollide = false
  3435. orb.FormFactor = 3
  3436. orb.Name = "Ring"
  3437. orb.Material = "Neon"
  3438. orb.Size = Vector3.new(1, 1, 1)
  3439. orb.Transparency = 0
  3440. orb.TopSurface = 0
  3441. orb.BottomSurface = 0
  3442. local orbm = Instance.new("SpecialMesh", orb)
  3443. orbm.MeshType = "Sphere"
  3444. orbm.Name = "SizeMesh"
  3445. orbm.Scale = vt(0,0,0)
  3446. local scaled = 0.1
  3447. local posid = 0
  3448. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3449. for i = 0, 5, 0.1 do
  3450. swait()
  3451. scaled = scaled - 0.001
  3452. posid = posid - scaled
  3453. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3454. local scaled = 0.1
  3455. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3456. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10)
  3457. PixelBlockNeg(2,1,"Add",orb.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.01,BrickColor.new("Toothpaste"),0)
  3458. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  3459. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  3460. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3461. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3462. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3463. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  3464. end
  3465. for i = 0, 2, 0.1 do
  3466. swait()
  3467. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3468. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3469. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3470. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  3471. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3472. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3473. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3474. end
  3475. coroutine.resume(coroutine.create(function()
  3476. orb.Anchored = false
  3477. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3478. local a = Instance.new("Part",workspace)
  3479. a.Name = "Direction"
  3480. a.Anchored = true
  3481. a.BrickColor = bc("Bright red")
  3482. a.Material = "Neon"
  3483. a.Transparency = 1
  3484. a.CanCollide = false
  3485. local ray = Ray.new(
  3486. orb.CFrame.p, -- origin
  3487. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3488. )
  3489. local ignore = orb
  3490. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3491. a.BottomSurface = 10
  3492. a.TopSurface = 10
  3493. local distance = (orb.CFrame.p - position).magnitude
  3494. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3495. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3496. orb.CFrame = a.CFrame
  3497. a:Destroy()
  3498. local bv = Instance.new("BodyVelocity")
  3499. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3500. bv.velocity = orb.CFrame.lookVector*125
  3501. bv.Parent = orb
  3502. local hitted = false
  3503. game:GetService("Debris"):AddItem(orb, 15)
  3504. wait()
  3505. local hit =orb.Touched:connect(function(hit)
  3506. if hitted == false then
  3507. hitted = true
  3508. CameraEnshaking(10,2.5)
  3509. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3510. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3511. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3512. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3513. for i = 0, 49 do
  3514. PixelBlock(1,math.random(1,30),"Add",orb.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)
  3515. end
  3516. for i = 0, 9 do
  3517. sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  3518. sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  3519. end
  3520. orb.Anchored = true
  3521. orb.Transparency = 1
  3522. wait(8)
  3523. orb:Destroy()
  3524. end
  3525. end)
  3526. end))
  3527. for i = 0, 1, 0.1 do
  3528. swait()
  3529. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3530. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3531. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  3532. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3533. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3534. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3535. end
  3536. hum.WalkSpeed = storehumanoidWS
  3537. attack = false
  3538. end
  3539.  
  3540. function BanishingOrb()
  3541. attack = true
  3542. hum.WalkSpeed = 0
  3543. local radm = math.random(1,3)
  3544. if radm == 1 then
  3545. bosschatfunc("Let it's go..",MAINRUINCOLOR.Color,1)
  3546. elseif radm == 2 then
  3547. bosschatfunc("So this is it..",MAINRUINCOLOR.Color,1)
  3548. elseif radm == 3 then
  3549. bosschatfunc("I have enough thing..",MAINRUINCOLOR.Color,1)
  3550. end
  3551. CFuncs["EchoSound"].Create("rbxassetid://1535994940", char, 5, 1,0,10,0.15,0.5,1)
  3552. CFuncs["EchoSound"].Create("rbxassetid://1535994940", root, 60, 1,0,10,0.15,0.5,1)
  3553. local orb = Instance.new("Part", char)
  3554. orb.Anchored = true
  3555. orb.BrickColor = BrickColor.new("Lime green")
  3556. orb.CanCollide = false
  3557. orb.FormFactor = 3
  3558. orb.Name = "Ring"
  3559. orb.Material = "Neon"
  3560. orb.Size = Vector3.new(1, 1, 1)
  3561. orb.Transparency = 0
  3562. orb.TopSurface = 0
  3563. orb.BottomSurface = 0
  3564. local orbm = Instance.new("SpecialMesh", orb)
  3565. orbm.MeshType = "Sphere"
  3566. orbm.Name = "SizeMesh"
  3567. orbm.Scale = vt(0,0,0)
  3568. local scaled = 0.1
  3569. local posid = 0
  3570. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  3571. for i = 0, 5, 0.1 do
  3572. swait()
  3573. scaled = scaled - 0.001
  3574. posid = posid - scaled
  3575. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3576. local scaled = 0.1
  3577. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3578. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Cool yellow"),10)
  3579. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  3580. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  3581. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3582. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3583. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3584. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  3585. end
  3586. for i = 0, 2, 0.1 do
  3587. swait()
  3588. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3589. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3590. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3591. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  3592. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3593. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3594. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3595. end
  3596. coroutine.resume(coroutine.create(function()
  3597. orb.Anchored = false
  3598. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  3599. local a = Instance.new("Part",workspace)
  3600. a.Name = "Direction"
  3601. a.Anchored = true
  3602. a.BrickColor = bc("Lime green")
  3603. a.Material = "Neon"
  3604. a.Transparency = 1
  3605. a.CanCollide = false
  3606. local ray = Ray.new(
  3607. orb.CFrame.p, -- origin
  3608. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3609. )
  3610. local ignore = orb
  3611. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3612. a.BottomSurface = 10
  3613. a.TopSurface = 10
  3614. local distance = (orb.CFrame.p - position).magnitude
  3615. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3616. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3617. orb.CFrame = a.CFrame
  3618. a:Destroy()
  3619. local bv = Instance.new("BodyVelocity")
  3620. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3621. bv.velocity = orb.CFrame.lookVector*0
  3622. bv.Parent = orb
  3623. local hitted = false
  3624. local rate = 0
  3625. coroutine.resume(coroutine.create(function()
  3626. for i = 0, 24 do
  3627. wait(0.1)
  3628. rate = rate + 0.25
  3629. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  3630. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  3631. if v:FindFirstChild('Head') then
  3632. dmg(v)
  3633. end
  3634. end
  3635. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  3636. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,bc"Lime green")
  3637. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3638. end
  3639. orb.Anchored = true
  3640. orb.Transparency = 1
  3641. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  3642. if v:FindFirstChild('Head') then
  3643. dmg(v)
  3644. end
  3645. end
  3646. local eff = Instance.new("ParticleEmitter",orb)
  3647. eff.Texture = "rbxassetid://296874871"
  3648. eff.LightEmission = 0.95
  3649. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3650. eff.Rate = 1000000000
  3651. eff.Lifetime = NumberRange.new(3)
  3652. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,9,0),NumberSequenceKeypoint.new(1,0,0)})
  3653. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3654. eff.Speed = NumberRange.new(30)
  3655. eff.Acceleration = vt(0,-15,0)
  3656. eff.Rotation = NumberRange.new(-500,500)
  3657. eff.VelocitySpread = 100000
  3658. eff.RotSpeed = NumberRange.new(-500,500)
  3659. coroutine.resume(coroutine.create(function()
  3660. wait(0.6)
  3661. eff.Enabled = false
  3662. end))
  3663. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  3664. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  3665. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,bc"Lime green")
  3666. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3667. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  3668. game:GetService("Debris"):AddItem(orb, 15)
  3669. end))
  3670. end))
  3671. for i = 0, 1, 0.1 do
  3672. swait()
  3673. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3674. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3675. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  3676. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3677. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3678. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3679. end
  3680. hum.WalkSpeed = storehumanoidWS
  3681. attack = false
  3682. end
  3683.  
  3684.  
  3685. function ChaosGroundStrike()
  3686. attack = true
  3687. for i = 0, 2, 0.1 do
  3688. swait()
  3689. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3690. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3691. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3692. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3693. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3694. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3695. end
  3696. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3697. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3698. CameraEnshaking(4,12)
  3699. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3700. if v:FindFirstChild('Head') then
  3701. dmg(v)
  3702. end
  3703. end
  3704. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3705. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3706. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3707. for i = 0, 2, 0.1 do
  3708. swait()
  3709. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3710. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3711. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3712. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3713. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3714. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3715. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3716. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3717. end
  3718. attack = false
  3719. end
  3720.  
  3721.  
  3722.  
  3723. function Starfall()
  3724. attack = true
  3725. hum.WalkSpeed = 0
  3726. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3727. for i = 0, 5, 0.1 do
  3728. swait()
  3729. PixelBlockNeg(1,math.random(1,2),"Add",sorb.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,MAINRUINCOLOR,0)
  3730. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.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,MAINRUINCOLOR,0)
  3731. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3732. 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)),.1)
  3733. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3734. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3735. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3736. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  3737. end
  3738. local Overed = false
  3739. CameraEnshaking(2,20)
  3740. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3741. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3742. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3743. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3744. local orb = Instance.new("Part", char)
  3745. orb.Anchored = true
  3746. orb.BrickColor = BrickColor.new("Toothpaste")
  3747. orb.CanCollide = false
  3748. orb.FormFactor = 3
  3749. orb.Name = "Remenant"
  3750. orb.Material = "Neon"
  3751. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3752. orb.Size = Vector3.new(1, 1, 1)
  3753. orb.Transparency = 1
  3754. orb.TopSurface = 0
  3755. orb.BottomSurface = 0
  3756. hum.WalkSpeed = storehumanoidWS
  3757. coroutine.resume(coroutine.create(function()
  3758. for i = 0, 9 do
  3759. swait(10)
  3760. local lb = Instance.new("Part")
  3761. lb.Color = MAINRUINCOLOR.Color
  3762. lb.CanCollide = false
  3763. lb.Material = "Neon"
  3764. lb.Anchored = true
  3765. lb.TopSurface = 0
  3766. lb.BottomSurface = 0
  3767. lb.Transparency = 0
  3768. lb.Size = vt(1,1,1)
  3769. lb.CFrame = orb.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)))
  3770. lb.Anchored = false
  3771. lb.Parent = char
  3772. local thingery = Instance.new("SpecialMesh",lb)
  3773. thingery.MeshType = "Sphere"
  3774. thingery.Scale = vt(20,20,20)
  3775. game:GetService("Debris"):AddItem(lb, 10)
  3776. local bv = Instance.new("BodyVelocity")
  3777. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3778. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3779. bv.Parent = lb
  3780. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3781. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3782. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3783. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3784. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3785. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3786. local hitted = false
  3787. coroutine.resume(coroutine.create(function()
  3788. while true do
  3789. swait(1)
  3790. if lb.Parent ~= nil and hitted == false then
  3791. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  3792. elseif lb.Parent == nil then
  3793. break
  3794. end
  3795. end
  3796. end))
  3797.  
  3798. game:GetService("Debris"):AddItem(a, 0.1)
  3799.  
  3800. coroutine.resume(coroutine.create(function()
  3801. swait(1)
  3802. lb.Touched:connect(function(hit)
  3803. if hitted == false then
  3804. hitted = true
  3805. lb.Transparency = 1
  3806. lb.Anchored = true
  3807. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3808. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3809. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3810. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3811. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3812. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3813. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3814. CameraEnshaking(1,5)
  3815. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3816. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3817. for i = 0, 9 do
  3818. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  3819. end
  3820. for i = 0, 49 do
  3821. swait()
  3822. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3823. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  3824. end
  3825. end
  3826. end)
  3827. end))
  3828. end
  3829. Overed = true
  3830. orb:Destroy()
  3831. end))
  3832.  
  3833. attack = false
  3834. end
  3835.  
  3836. function StarfallEX()
  3837. attack = true
  3838. hum.WalkSpeed = 0
  3839. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  3840. for i = 0, 10, 0.1 do
  3841. swait()
  3842. PixelBlockNeg(1,math.random(1,2),"Add",sorb.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,MAINRUINCOLOR,0)
  3843. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.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,MAINRUINCOLOR,0)
  3844. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3845. 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)),.1)
  3846. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3847. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3848. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3849. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  3850. end
  3851. local Overed = false
  3852. CameraEnshaking(2,20)
  3853. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3854. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3855. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3856. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  3857. local orb = Instance.new("Part", char)
  3858. orb.Anchored = true
  3859. orb.BrickColor = BrickColor.new("Toothpaste")
  3860. orb.CanCollide = false
  3861. orb.FormFactor = 3
  3862. orb.Name = "Remenant"
  3863. orb.Material = "Neon"
  3864. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  3865. orb.Size = Vector3.new(1, 1, 1)
  3866. orb.Transparency = 1
  3867. orb.TopSurface = 0
  3868. orb.BottomSurface = 0
  3869. hum.WalkSpeed = storehumanoidWS
  3870. coroutine.resume(coroutine.create(function()
  3871. for i = 0, 4 do
  3872. swait(15)
  3873. local lb = Instance.new("Part")
  3874. lb.Color = MAINRUINCOLOR.Color
  3875. lb.CanCollide = false
  3876. lb.Material = "Neon"
  3877. lb.Anchored = true
  3878. lb.TopSurface = 0
  3879. lb.BottomSurface = 0
  3880. lb.Transparency = 0
  3881. lb.Size = vt(1,1,1)
  3882. lb.CFrame = orb.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)))
  3883. lb.Anchored = false
  3884. lb.Parent = char
  3885. local thingery = Instance.new("SpecialMesh",lb)
  3886. thingery.MeshType = "Sphere"
  3887. thingery.Scale = vt(50,50,50)
  3888. game:GetService("Debris"):AddItem(lb, 10)
  3889. local bv = Instance.new("BodyVelocity")
  3890. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3891. bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  3892. bv.Parent = lb
  3893. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3894. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3895. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  3896. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  3897. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  3898. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  3899. local hitted = false
  3900. coroutine.resume(coroutine.create(function()
  3901. while true do
  3902. swait(1)
  3903. if lb.Parent ~= nil and hitted == false then
  3904. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),25,25,25,0.25,MAINRUINCOLOR,-2)
  3905. elseif lb.Parent == nil then
  3906. break
  3907. end
  3908. end
  3909. end))
  3910.  
  3911. game:GetService("Debris"):AddItem(a, 0.1)
  3912.  
  3913. coroutine.resume(coroutine.create(function()
  3914. swait(1)
  3915. lb.Touched:connect(function(hit)
  3916. if hitted == false then
  3917. hitted = true
  3918. lb.Transparency = 1
  3919. lb.Anchored = true
  3920. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  3921. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  3922. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  3923. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  3924. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  3925. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  3926. MagniDamage(lb, 50, 60,99, 0, "Normal")
  3927. CameraEnshaking(1,5)
  3928. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  3929. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  3930. for i = 0, 9 do
  3931. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,100,-0.1,MAINRUINCOLOR,0)
  3932. end
  3933. for i = 0, 99 do
  3934. swait()
  3935. MagniDamage(lb, 30, 6,18, 0, "Normal")
  3936. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),32,32,32,0.32,MAINRUINCOLOR,0)
  3937. end
  3938. end
  3939. end)
  3940. end))
  3941. end
  3942. Overed = true
  3943. orb:Destroy()
  3944. end))
  3945.  
  3946. attack = false
  3947. end
  3948.  
  3949. function DivineBlast()
  3950. attack = true
  3951. bosschatfunc("Justice Beam!!",MAINRUINCOLOR.Color,0.7)
  3952. hum.WalkSpeed = 0
  3953. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  3954. elocacenter.Anchored = true
  3955. elocacenter.CFrame = sorb.CFrame
  3956. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3957. eloca1.Anchored = true
  3958. eloca1.CFrame = elocacenter.CFrame
  3959. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3960. eloca2.Anchored = true
  3961. eloca2.CFrame = elocacenter.CFrame
  3962. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3963. eloca3.Anchored = true
  3964. eloca3.CFrame = elocacenter.CFrame
  3965. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3966. eloca4.Anchored = true
  3967. eloca4.CFrame = elocacenter.CFrame
  3968. local lookavec = 0
  3969. local speeds = 0
  3970. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  3971. for i = 0, 3, 0.1 do
  3972. swait()
  3973. ---
  3974. lookavec = lookavec + 0.1
  3975. speeds = speeds + 10
  3976. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3977. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3978. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3979.  
  3980. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3981. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3982.  
  3983. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3984. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3985.  
  3986. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3987. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3988. ---
  3989. root.CFrame = FaceMouse()[1]
  3990. 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 + 1 * math.cos(sine / 34))),.1)
  3991. 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 + 1 * math.cos(sine / 34))),.1)
  3992. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3993. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  3994. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  3995. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  3996. end
  3997. for i = 0, 3, 0.1 do
  3998. swait()
  3999. ---
  4000. speeds = speeds + 10
  4001. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4002. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4003. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4004.  
  4005. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4006. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4007.  
  4008. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4009. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4010.  
  4011. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4012. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4013. ---
  4014. root.CFrame = FaceMouse()[1]
  4015. 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 + 1 * math.cos(sine / 34))),.1)
  4016. 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 + 1 * math.cos(sine / 34))),.1)
  4017. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4018. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  4019. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4020. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  4021. end
  4022. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  4023. CFuncs["Sound"].Create("rbxassetid://1436239652", char, 40,1)
  4024. for i = 0, 3, 0.1 do
  4025. swait()
  4026. ---
  4027. speeds = speeds + 10
  4028. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4029. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4030. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4031.  
  4032. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4033. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4034.  
  4035. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4036. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4037.  
  4038. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4039. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4040. ---
  4041. root.CFrame = FaceMouse()[1]
  4042. 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 + 1 * math.cos(sine / 34))),.1)
  4043. 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 + 1 * math.cos(sine / 34))),.1)
  4044. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(40)),.1)
  4045. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(-40)),.1)
  4046. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  4047. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  4048. end
  4049. coroutine.resume(coroutine.create(function()
  4050. local a = Instance.new("Part",Character)
  4051. a.Name = "Direction"
  4052. a.Anchored = true
  4053. a.BrickColor = bc("White")
  4054. a.Material = "Neon"
  4055. a.Transparency = 0
  4056. a.Shape = "Cylinder"
  4057. a.CanCollide = false
  4058. local a2 = Instance.new("Part",Character)
  4059. a2.Name = "Direction"
  4060. a2.Anchored = true
  4061. a2.BrickColor = bc("Bright yellow")
  4062. a2.Material = "Neon"
  4063. a2.Transparency = 0
  4064. a2.Shape = "Cylinder"
  4065. a2.CanCollide = false
  4066. local b = Instance.new("Part",Character)
  4067. b.Name = "HitDirect"
  4068. b.Anchored = true
  4069. b.BrickColor = bc("Cool yellow")
  4070. b.Material = "Neon"
  4071. b.Transparency = 1
  4072. b.CanCollide = false
  4073. local ray = Ray.new(
  4074. elocacenter.CFrame.p, -- origin
  4075. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  4076. )
  4077. local ignore = Character
  4078. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4079. a.BottomSurface = 10
  4080. a.TopSurface = 10
  4081. a2.BottomSurface = 10
  4082. a2.TopSurface = 10
  4083. local distance = (elocacenter.CFrame.p - position).magnitude
  4084. a.Size = Vector3.new(distance, 1, 1)
  4085. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4086. a2.Size = Vector3.new(distance, 1, 1)
  4087. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4088. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4089. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4090. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4091. game:GetService("Debris"):AddItem(a, 10)
  4092. game:GetService("Debris"):AddItem(a2, 10)
  4093. game:GetService("Debris"):AddItem(b, 10)
  4094. local eff = Instance.new("ParticleEmitter",b)
  4095. eff.Texture = "rbxassetid://2273224484"
  4096. eff.LightEmission = 1
  4097. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4098. eff.Rate = 500000
  4099. eff.Lifetime = NumberRange.new(0.5,2)
  4100. 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)})
  4101. 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)})
  4102. eff.Speed = NumberRange.new(20,250)
  4103. eff.Drag = 5
  4104. eff.Rotation = NumberRange.new(-500,500)
  4105. eff.VelocitySpread = 9000
  4106. eff.RotSpeed = NumberRange.new(-50,50)
  4107. coroutine.resume(coroutine.create(function()
  4108. wait(0.25)
  4109. eff.Enabled = false
  4110. end))
  4111. local msh = Instance.new("SpecialMesh",a)
  4112. msh.MeshType = "Cylinder"
  4113. msh.Scale = vt(1,2,2)
  4114. local msh2 = Instance.new("SpecialMesh",a2)
  4115. msh2.MeshType = "Cylinder"
  4116. msh2.Scale = vt(1,2.5,2.5)
  4117. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  4118. coroutine.resume(coroutine.create(function()
  4119. for i = 0,10,0.1 do
  4120. swait()
  4121. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  4122. a.Transparency = a.Transparency + 0.025
  4123. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  4124. a2.Transparency = a2.Transparency + 0.05
  4125. end
  4126. a:Destroy()
  4127. a2:Destroy()
  4128. end))
  4129. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  4130. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  4131. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  4132. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  4133. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  4134. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  4135. MagniDamage(b, 25, 40,65, 0, "Normal")
  4136. for i = 0, 49 do
  4137. PixelBlock(2,math.random(10,20),"Add",b.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.04,BrickColor.new("Bright yellow"),0)
  4138. PixelBlock(1,math.random(1,10),"Add",b.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("Bright yellow"),0)
  4139. end
  4140. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  4141. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  4142. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4143. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4144. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4145. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4146. end))
  4147. game:GetService("Debris"):AddItem(elocacenter, 5)
  4148. hum.WalkSpeed = storehumanoidWS
  4149. attack = false
  4150. end
  4151.  
  4152. function StarDivision()
  4153. attack = true
  4154. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4155. for i = 0, 2, 0.1 do
  4156. swait()
  4157. 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 + 1 * math.cos(sine / 34))),.1)
  4158. 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 + 1 * math.cos(sine / 34))),.1)
  4159. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4160. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  4161. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4162. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  4163. end
  4164. local orb = Instance.new("Part", char)
  4165. orb.BrickColor = MAINRUINCOLOR
  4166. orb.CanCollide = false
  4167. orb.FormFactor = 3
  4168. orb.Name = "Ring"
  4169. orb.Material = "Neon"
  4170. orb.Size = Vector3.new(1, 1, 1)
  4171. orb.Transparency = 0
  4172. orb.TopSurface = 0
  4173. orb.BottomSurface = 0
  4174. local orbm = Instance.new("SpecialMesh", orb)
  4175. orbm.MeshType = "Sphere"
  4176. orbm.Name = "SizeMesh"
  4177. orbm.Scale = vt(2,2,2)
  4178. local a = Instance.new("Part",workspace)
  4179. a.Name = "Direction"
  4180. a.Anchored = true
  4181. a.BrickColor = bc("Bright red")
  4182. a.Material = "Neon"
  4183. a.Transparency = 1
  4184. a.CanCollide = false
  4185. local ray = Ray.new(
  4186. sorb.CFrame.p, -- origin
  4187. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4188. )
  4189. local ignore = sorb
  4190. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4191. a.BottomSurface = 10
  4192. a.TopSurface = 10
  4193. local distance = (sorb.CFrame.p - position).magnitude
  4194. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4195. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4196. orb.CFrame = a.CFrame
  4197. a:Destroy()
  4198. local bv = Instance.new("BodyVelocity")
  4199. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4200. bv.velocity = orb.CFrame.lookVector*100
  4201. bv.Parent = orb
  4202. local hitted = false
  4203. game:GetService("Debris"):AddItem(orb, 10)
  4204. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4205. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4206. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4207. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4208. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4209. coroutine.resume(coroutine.create(function()
  4210. while true do
  4211. swait(1)
  4212. if orb.Parent ~= nil and hitted == false then
  4213. PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2)
  4214. elseif orb.Parent == nil then
  4215. break
  4216. end
  4217. end
  4218. end))
  4219. coroutine.resume(coroutine.create(function()
  4220. swait(1)
  4221. orb.Touched:connect(function(hit)
  4222. if hitted == false then
  4223. hitted = true
  4224. game:GetService("Debris"):AddItem(orb, 5)
  4225. orb.Transparency = 1
  4226. orb.Anchored = true
  4227. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4228. elocacenter.Anchored = true
  4229. elocacenter.CFrame = orb.CFrame
  4230. elocacenter.Orientation = vt(0,0,0)
  4231. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4232. eloca1.Anchored = true
  4233. eloca1.CFrame = elocacenter.CFrame
  4234. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4235. eloca2.Anchored = true
  4236. eloca2.CFrame = elocacenter.CFrame
  4237. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4238. eloca3.Anchored = true
  4239. eloca3.CFrame = elocacenter.CFrame
  4240. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4241. eloca4.Anchored = true
  4242. eloca4.CFrame = elocacenter.CFrame
  4243. local lookavec = 0
  4244. local speeds = 0
  4245. CameraEnshaking(1,1)
  4246. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4247. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4248. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4249. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4250. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4251. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4252. for i = 0, 99 do
  4253. swait()
  4254. lookavec = lookavec + 1
  4255. speeds = speeds + 0.1
  4256. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4257. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4258. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4259.  
  4260. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4261. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4262.  
  4263. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4264. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4265.  
  4266. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4267. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4268. end
  4269.  
  4270. for i = 0, 149 do
  4271. swait()
  4272. speeds = speeds + 0.1
  4273. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4274. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4275. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4276.  
  4277. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4278. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4279.  
  4280. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4281. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4282.  
  4283. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4284. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4285. end
  4286. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4287. if v:FindFirstChild('Head') then
  4288. dmg(v)
  4289. end
  4290. end
  4291. CameraEnshaking(7,30)
  4292. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4293. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4294. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4295. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4296. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4297. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4298. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4299. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4300. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4301. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4302. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4303. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4304. for i = 0, 24 do
  4305. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  4306. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  4307. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  4308. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  4309. end
  4310. coroutine.resume(coroutine.create(function()
  4311. for i = 0, 499 do
  4312. swait(1)
  4313. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4314. PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5)
  4315. end
  4316. elocacenter:Destroy()
  4317. eloca1:Destroy()
  4318. eloca2:Destroy()
  4319. eloca3:Destroy()
  4320. eloca4:Destroy()
  4321. end))
  4322. end
  4323. end)
  4324. end))
  4325. attack = false
  4326. end
  4327.  
  4328.  
  4329. function THE_TRUE_POWER_OF_VIOLENCE()
  4330. attack = true
  4331. hum.WalkSpeed = 0
  4332. bosschatfunc("ALL YOUR DESTINY...",MAINRUINCOLOR.Color,4)
  4333. for i = 0, 10, 0.1 do
  4334. swait()
  4335. PixelBlockNeg(1,math.random(1,2),"Add",sorb.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,MAINRUINCOLOR,0)
  4336. 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)
  4337. 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)
  4338. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(40)),.4)
  4339. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  4340. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4341. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  4342. end
  4343. local orb = Instance.new("Part", char)
  4344. orb.BrickColor = MAINRUINCOLOR
  4345. orb.CanCollide = false
  4346. orb.FormFactor = 3
  4347. orb.Name = "Ring"
  4348. orb.Material = "Neon"
  4349. orb.Size = Vector3.new(1, 1, 1)
  4350. orb.Transparency = 0
  4351. orb.TopSurface = 0
  4352. orb.BottomSurface = 0
  4353. orb.CFrame = sorb.CFrame
  4354. local orbm = Instance.new("SpecialMesh", orb)
  4355. orbm.MeshType = "Sphere"
  4356. orbm.Name = "SizeMesh"
  4357. orbm.Scale = vt(0,0,0)
  4358. local sbs = Instance.new("BodyPosition", orb)
  4359. sbs.P = 3000
  4360. sbs.D = 1000
  4361. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4362. sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  4363. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  4364. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4365. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4366. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4367. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4368. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4369. for i = 0, 10, 0.1 do
  4370. swait()
  4371. PixelBlockNeg(1,0.01,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,6,0.12,MAINRUINCOLOR,0)
  4372. 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)
  4373. 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)
  4374. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6)
  4375. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4376. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4377. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
  4378. end
  4379. orb.Anchored = true
  4380. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4381. elocacenter.Anchored = true
  4382. elocacenter.CFrame = orb.CFrame
  4383. elocacenter.Orientation = vt(0,0,0)
  4384. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4385. eloca1.Anchored = true
  4386. eloca1.CFrame = elocacenter.CFrame
  4387. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4388. eloca2.Anchored = true
  4389. eloca2.CFrame = elocacenter.CFrame
  4390. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4391. eloca3.Anchored = true
  4392. eloca3.CFrame = elocacenter.CFrame
  4393. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4394. eloca4.Anchored = true
  4395. eloca4.CFrame = elocacenter.CFrame
  4396. local lookavec = 0
  4397. local speeds = 0
  4398. CameraEnshaking(1,1)
  4399. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  4400. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  4401. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  4402. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  4403. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4404. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4405. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4406. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4407. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4408. for i = 0, 99 do
  4409. swait()
  4410. lookavec = lookavec + 2.5
  4411. speeds = speeds + 0.25
  4412. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4413. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4414. PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4415.  
  4416. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4417. PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4418.  
  4419. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4420. PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4421.  
  4422. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4423. PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4424. end
  4425.  
  4426. for i = 0, 149 do
  4427. swait()
  4428. speeds = speeds + 0.25
  4429. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4430. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4431. PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4432.  
  4433. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4434. PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4435.  
  4436. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4437. PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4438.  
  4439. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4440. PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4441. end
  4442. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  4443. for i = 0, 99 do
  4444. swait()
  4445. lookavec = lookavec - 2.5
  4446. speeds = speeds + 0.25
  4447. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4448. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4449. PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4450.  
  4451. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4452. PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4453.  
  4454. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4455. PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4456.  
  4457. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4458. PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4459. end
  4460. local scaled = 0.1*75
  4461. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  4462. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  4463. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  4464. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  4465. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  4466. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4467. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4468. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4469. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4470. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4471. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4472.  
  4473. for i = 0, 10, 0.1 do
  4474. swait()
  4475. scaled = scaled - 0.001*75
  4476. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4477. PixelBlockNeg(1,math.random(1,2),"Add",sorb.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,MAINRUINCOLOR,0)
  4478. 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)
  4479. 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)
  4480. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6)
  4481. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4482. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4483. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
  4484. end
  4485. bosschatfunc("WILL BE MINE!!!!",MAINRUINCOLOR.Color,2)
  4486. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 10, 1,0,10,0.15,0.5,1)
  4487. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 60, 1,0,10,0.15,0.5,1)
  4488. for x = 0, 4 do
  4489. for i = 0, 9 do
  4490. sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0)
  4491. end
  4492. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  4493. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  4494. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4495. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4496. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4497. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4498. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4499. for i = 0, 5, 0.1 do
  4500. swait()
  4501. PixelBlockNeg(1,math.random(1,2),"Add",sorb.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,MAINRUINCOLOR,0)
  4502. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.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,MAINRUINCOLOR,0)
  4503. 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)
  4504. 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)
  4505. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4506. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  4507. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  4508. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  4509. end
  4510. end
  4511. local speedearn = 0
  4512. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  4513. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  4514. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  4515. for i = 0, 30, 0.1 do
  4516. swait()
  4517. scaled = scaled - 0.001*75/10
  4518. speedearn = speedearn + 0.5
  4519. for i = 0, 4 do
  4520. sphereMK(1+speedearn,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4521. end
  4522. PixelBlock(1,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1*speedearn/10,1*speedearn/10,1*speedearn/10,0.02*speedearn/10,MAINRUINCOLOR,0)
  4523. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4524. PixelBlockNeg(1,math.random(1,2),"Add",sorb.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,MAINRUINCOLOR,0)
  4525. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.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,MAINRUINCOLOR,0)
  4526. 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)
  4527. 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)
  4528. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  4529. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  4530. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  4531. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  4532. end
  4533. orb.Transparency = 1
  4534. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  4535. if v:FindFirstChild('Head') then
  4536. dmg(v)
  4537. end
  4538. end
  4539. CameraEnshaking(7,30)
  4540. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  4541. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  4542. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  4543. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  4544. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  4545. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4546. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  4547. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4548. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  4549. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  4550. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  4551. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  4552. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  4553. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  4554. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4555. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4556. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4557. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4558. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4559. for i = 0, 99 do
  4560. PixelBlock(1,math.random(50,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0)
  4561. PixelBlock(2,math.random(250,1000),"Add",elocacenter.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,MAINRUINCOLOR,0)
  4562. end
  4563. for i = 0, 24 do
  4564. sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0)
  4565. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  4566. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  4567. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  4568. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  4569. end
  4570. game:GetService("Debris"):AddItem(orb, 10)
  4571. hum.WalkSpeed = storehumanoidWS
  4572. attack = false
  4573. end
  4574.  
  4575.  
  4576. function ViolentRing()
  4577. attack = true
  4578. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  4579. bosschatfunc("SHOULD I TAKE THAT EASIER?!",MAINRUINCOLOR.Color,0.7)
  4580. CFuncs["EchoSound"].Create("rbxassetid://1535994137", char, 4, 1,0,10,0.15,0.5,1)
  4581. CFuncs["EchoSound"].Create("rbxassetid://1535994137", root, 7, 1,0,10,0.15,0.5,1)
  4582. for i = 0, 2, 0.1 do
  4583. swait()
  4584. local snap = math.random(1,10)
  4585. if snap == 1 then
  4586. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(-50 + math.random(-10,10))),1)
  4587. end
  4588. PixelBlockX(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
  4589. PixelBlockNeg(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
  4590. PixelBlockX(5,0.25,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.65,0.65,0.65,0.0065,MAINRUINCOLOR,0)
  4591. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
  4592. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
  4593. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
  4594. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  4595. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  4596. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
  4597. RootPart.CFrame = FaceMouse()[1]
  4598. end
  4599. local orb = Instance.new("Part", char)
  4600. orb.BrickColor = MAINRUINCOLOR
  4601. orb.CanCollide = false
  4602. orb.FormFactor = 3
  4603. orb.Name = "Ring"
  4604. orb.Material = "Neon"
  4605. orb.Size = Vector3.new(1, 1, 1)
  4606. orb.Transparency = 0
  4607. orb.TopSurface = 0
  4608. orb.BottomSurface = 0
  4609. local orbm = Instance.new("SpecialMesh", orb)
  4610. orbm.MeshType = "Sphere"
  4611. orbm.Name = "SizeMesh"
  4612. orbm.Scale = vt(2,2,2)
  4613. orb.CFrame = mouse.Hit
  4614. local bv = Instance.new("BodyVelocity")
  4615. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4616. bv.velocity = orb.CFrame.lookVector*100
  4617. bv.Parent = orb
  4618. local hitted = false
  4619. coroutine.resume(coroutine.create(function()
  4620. game:GetService("Debris"):AddItem(orb, 5)
  4621. orb.Transparency = 1
  4622. orb.Anchored = true
  4623. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4624. elocacenter.Anchored = true
  4625. elocacenter.CFrame = orb.CFrame
  4626. elocacenter.Orientation = vt(0,0,0)
  4627. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4628. eloca1.Anchored = true
  4629. eloca1.CFrame = elocacenter.CFrame
  4630. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4631. eloca2.Anchored = true
  4632. eloca2.CFrame = elocacenter.CFrame
  4633. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4634. eloca3.Anchored = true
  4635. eloca3.CFrame = elocacenter.CFrame
  4636. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4637. eloca4.Anchored = true
  4638. eloca4.CFrame = elocacenter.CFrame
  4639. local lookavec = 0
  4640. local speeds = 0
  4641. CameraEnshaking(1,1)
  4642. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4643. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4644. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4645. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4646. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4647. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4648. for i = 0, 24 do
  4649. swait()
  4650. lookavec = lookavec + 3.5
  4651. speeds = speeds + 1
  4652. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4653. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4654. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4655.  
  4656. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4657. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4658.  
  4659. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4660. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4661.  
  4662. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4663. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4664. end
  4665.  
  4666. local risen = 0
  4667. for i = 0, 49 do
  4668. swait()
  4669. risen = risen + 0.05
  4670. speeds = speeds + 0.1
  4671. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4672. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4673. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4674.  
  4675. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4676. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4677.  
  4678. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4679. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4680.  
  4681. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4682. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4683. end
  4684. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  4685. if v:FindFirstChild('Head') then
  4686. dmg(v)
  4687. end
  4688. end
  4689. CameraEnshaking(4,10)
  4690. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  4691. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  4692. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  4693. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  4694. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  4695. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  4696. local eff = Instance.new("ParticleEmitter",elocacenter)
  4697. eff.Texture = "rbxassetid://2273224484"
  4698. eff.LightEmission = 1
  4699. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4700. eff.Rate = 1000000
  4701. eff.Lifetime = NumberRange.new(0.5,2)
  4702. 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)})
  4703. 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)})
  4704. eff.Speed = NumberRange.new(20,250)
  4705. eff.Drag = 5
  4706. eff.Rotation = NumberRange.new(-500,500)
  4707. eff.VelocitySpread = 5000000
  4708. eff.RotSpeed = NumberRange.new(-50,50)
  4709. coroutine.resume(coroutine.create(function()
  4710. wait(1)
  4711. eff.Enabled = false
  4712. end))
  4713. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  4714. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  4715. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4716. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4717. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4718. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4719. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4720. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  4721. for i = 0, 24 do
  4722. sphereMK(2,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.25,MAINRUINCOLOR,0)
  4723. sphereMK(4,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  4724. sphereMK(6,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  4725. sphereMK(8,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  4726. end
  4727. coroutine.resume(coroutine.create(function()
  4728. wait(10)
  4729. elocacenter:Destroy()
  4730. eloca1:Destroy()
  4731. eloca2:Destroy()
  4732. eloca3:Destroy()
  4733. eloca4:Destroy()
  4734. end))
  4735. end))
  4736. attack = false
  4737. end
  4738.  
  4739. function UniversalCollapse()
  4740. attack = true
  4741. local speedearn = 0
  4742. hum.WalkSpeed = 0
  4743. local sbs = Instance.new("BodyPosition", root)
  4744. sbs.P = 3000
  4745. sbs.D = 1000
  4746. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4747. sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  4748. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4749. for i = 0, 85, 0.1 do
  4750. swait()
  4751. speedearn = speedearn + 0.1
  4752. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4753. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4754. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4755. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4756. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4757. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4758. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  4759. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  4760. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4761. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4762. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  4763. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  4764. end
  4765. bosschatfunc("Universary..",MAINRUINCOLOR.Color,1)
  4766. CFuncs["EchoSound"].Create("rbxassetid://1448032598", char, 5, 1,0,10,0.15,0.5,1)
  4767. CFuncs["EchoSound"].Create("rbxassetid://1448032598", root, 20, 1,0,10,0.15,0.5,1)
  4768. for i = 0, 25, 0.1 do
  4769. swait()
  4770. speedearn = speedearn + 0.1
  4771. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4772. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4773. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4774. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4775. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4776. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4777. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  4778. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  4779. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4780. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4781. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  4782. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  4783. end
  4784. bosschatfunc("COLLAPSE!!!",MAINRUINCOLOR.Color,1)
  4785. CFuncs["EchoSound"].Create("rbxassetid://1436241883", char, 5, 1,0,10,0.15,0.5,1)
  4786. CFuncs["EchoSound"].Create("rbxassetid://1436241883", root, 20, 1,0,10,0.15,0.5,1)
  4787. CameraEnshaking(5,50)
  4788. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4789. for i = 0, 2 do
  4790. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4791. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4792. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  4793. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  4794. end
  4795. for i = 0, 49 do
  4796. sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
  4797. sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
  4798. sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
  4799. sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
  4800. end
  4801. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4802. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4803. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4804. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4805. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4806. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4807. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4808. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4809. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4810. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4811. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4812. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4813. for i = 0, 99 do
  4814. PixelBlock(1,math.random(50,1000),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0)
  4815. PixelBlock(2,math.random(250,1000),"Add",root.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,MAINRUINCOLOR,0)
  4816. end
  4817. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  4818. if v:FindFirstChild('Head') then
  4819. dmg(v)
  4820. end
  4821. end
  4822. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  4823. sbs:Destroy()
  4824. hum.WalkSpeed = storehumanoidWS
  4825. attack = false
  4826. end
  4827.  
  4828.  
  4829. function ChaosEND()
  4830. attack = true
  4831. local speedearn = 0
  4832. bosschatfunc("THIS IS..",MAINRUINCOLOR.Color,0.8)
  4833. CFuncs["EchoSound"].Create("rbxassetid://1548599511", char, 4.5, 1,0,10,0.15,0.5,1)
  4834. CFuncs["EchoSound"].Create("rbxassetid://1548599511", root, 30, 1,0,10,0.15,0.5,1)
  4835. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4836. for i = 0, 15, 0.1 do
  4837. swait()
  4838. speedearn = speedearn + 0.25
  4839. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4840. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4841. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4842. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4843. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4844. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4845. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4846. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4847. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4848. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4849. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4850. end
  4851. CFuncs["Sound"].Create("rbxassetid://438666141", char, 3,1)
  4852. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4853. bosschatfunc("THE END!!!",MAINRUINCOLOR.Color,2)
  4854. CFuncs["EchoSound"].Create("rbxassetid://1548599962", char, 8, 1,0,10,0.15,0.5,1)
  4855. CFuncs["EchoSound"].Create("rbxassetid://1548599962", root, 40, 1,0,10,0.15,0.5,1)
  4856. CameraEnshaking(5,25)
  4857. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4858. if v:FindFirstChild('Head') then
  4859. dmg(v)
  4860. end
  4861. end
  4862. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4863. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4864. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4865. for i = 0, 3, 0.1 do
  4866. swait()
  4867. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  4868. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  4869. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  4870. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  4871. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  4872. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  4873. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4874. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4875. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4876. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4877. end
  4878. attack = false
  4879. end
  4880.  
  4881. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4882. local orb = Instance.new("Part", char)
  4883. orb.Anchored = true
  4884. orb.BrickColor = color
  4885. orb.CanCollide = false
  4886. orb.FormFactor = 3
  4887. orb.Name = "Ring"
  4888. orb.Material = "Neon"
  4889. orb.Size = Vector3.new(1, 1, 1)
  4890. orb.Transparency = 0
  4891. orb.TopSurface = 0
  4892. orb.BottomSurface = 0
  4893. local orbm = Instance.new("SpecialMesh", orb)
  4894. orbm.MeshType = "Sphere"
  4895. orb.CFrame = positted
  4896. orbm.Name = "SizeMesh"
  4897. orbm.Scale = vt(1,1,1)
  4898. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4899. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4900. --[[for i = 0, 2 do
  4901. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  4902. end]]--
  4903. coroutine.resume(coroutine.create(function()
  4904. wait(timer)
  4905. CameraEnshaking(3,ShakePower)
  4906. orb.Transparency = 1
  4907. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4908. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4909. --[[for i = 0, 4 do
  4910. sphereMK(5,0.15*MagniBoost,"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,orb.BrickColor,0)
  4911. end]]--
  4912. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4913. wait(3)
  4914. orb:Destroy()
  4915. end))
  4916. end
  4917.  
  4918. function orb_spawn(positted,timer)
  4919. local randomcol = math.random(1,2)
  4920. local orb = Instance.new("Part", char)
  4921. orb.Anchored = true
  4922. if randomcol == 1 then
  4923. orb.BrickColor = BrickColor.new("White")
  4924. elseif randomcol == 2 then
  4925. orb.BrickColor = BrickColor.new("Really black")
  4926. end
  4927. orb.CanCollide = false
  4928. orb.FormFactor = 3
  4929. orb.Name = "Ring"
  4930. orb.Material = "Neon"
  4931. orb.Size = Vector3.new(1, 1, 1)
  4932. orb.Transparency = 0
  4933. orb.TopSurface = 0
  4934. orb.BottomSurface = 0
  4935. local orbm = Instance.new("SpecialMesh", orb)
  4936. orbm.MeshType = "Sphere"
  4937. orb.CFrame = positted
  4938. orbm.Name = "SizeMesh"
  4939. orbm.Scale = vt(1,1,1)
  4940. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 0.15, 1)
  4941. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4942. for i = 0, 2 do
  4943. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  4944. end
  4945. coroutine.resume(coroutine.create(function()
  4946. wait(timer)
  4947. CameraEnshaking(3,2)
  4948. orb.Transparency = 1
  4949. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4950. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4951. for i = 0, 4 do
  4952. sphereMK(5,0.65,"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,orb.BrickColor,0)
  4953. end
  4954. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 0.15, 0.7)
  4955. wait(3)
  4956. orb:Destroy()
  4957. end))
  4958. end
  4959.  
  4960. function scattercorrupt()
  4961. attack = true
  4962. hum.WalkSpeed = 0
  4963. for i = 0, 2, 0.1 do
  4964. swait()
  4965. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4966. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4967. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4968. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4969. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.2)
  4970. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.2)
  4971. end
  4972. local rot = 0
  4973. local randomrotations = math.random(1,2)
  4974. local lookv = 2.5
  4975. local power = 7
  4976. local radm = math.random(1,3)
  4977. if radm == 1 then
  4978. bosschatfunc("HOW LONG CAN YOU TAKE THIS?",MAINRUINCOLOR.Color,1)
  4979. elseif radm == 2 then
  4980. bosschatfunc("SWAMP!!",MAINRUINCOLOR.Color,1)
  4981. elseif radm == 3 then
  4982. bosschatfunc("SCATTER!!",MAINRUINCOLOR.Color,1)
  4983. end
  4984. CFuncs["Sound"].Create("rbxassetid://183763506", RightLeg, 2, 1)
  4985. for i = 0, 1, 0.1 do
  4986. swait()
  4987. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(15),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  4988. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(15),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  4989. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(15),math.rad(0),math.rad(0)),.15)
  4990. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.15)
  4991. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(40)),.15)
  4992. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(-40)),.15)
  4993. end
  4994. CFuncs["EchoSound"].Create("rbxassetid://1535994669", char, 5, 1,0,10,0.15,0.5,1)
  4995. CFuncs["EchoSound"].Create("rbxassetid://1535994669", root, 20, 1,0,10,0.15,0.5,1)
  4996. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4997. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4998. for i = 0, 9 do
  4999. sphereMK(1,1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,45,-0.1,BrickColor.new("Royal purple"),0)
  5000. end
  5001. local hite = Instance.new("Part", char)
  5002. hite.Anchored = true
  5003. hite.CanCollide = false
  5004. hite.FormFactor = 3
  5005. hite.Name = "Ring"
  5006. hite.Material = "Neon"
  5007. hite.Size = Vector3.new(1, 1, 1)
  5008. hite.Transparency = 1
  5009. hite.TopSurface = 0
  5010. hite.BottomSurface = 0
  5011. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  5012. local rem = Instance.new("Part", char)
  5013. rem.Anchored = true
  5014. rem.CanCollide = false
  5015. rem.FormFactor = 3
  5016. rem.Name = "Ring"
  5017. rem.Material = "Neon"
  5018. rem.Size = Vector3.new(1, 1, 1)
  5019. rem.Transparency = 1
  5020. rem.TopSurface = 0
  5021. rem.BottomSurface = 0
  5022. rem.CFrame = hite.CFrame
  5023. local rem2 = rem:Clone()
  5024. rem2.Parent = char
  5025. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5026. local rem3 = rem:Clone()
  5027. rem3.Parent = char
  5028. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5029. local rem4 = rem:Clone()
  5030. rem4.Parent = char
  5031. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5032. hite:Destroy()
  5033. coroutine.resume(coroutine.create(function()
  5034. for i = 0, 24 do
  5035. swait(1)
  5036. if randomrotations == 1 then
  5037. rot = rot + 1
  5038. elseif randomrotations == 2 then
  5039. rot = rot - 1
  5040. end
  5041. power = power + 0.5
  5042. lookv = lookv + 7.5
  5043. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5044. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5045. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5046. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5047. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5048. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5049. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5050. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5051. end
  5052. end))
  5053. wait(2)
  5054. hum.WalkSpeed = storehumanoidWS
  5055. attack = false
  5056. end
  5057. function yinyangi()
  5058. attack = true
  5059. for i = 0, 2, 0.1 do
  5060. swait()
  5061. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  5062. 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(20)),.2)
  5063. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  5064. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5065. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  5066. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  5067. end
  5068. local bv = Instance.new("BodyVelocity")
  5069. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5070. bv.velocity = root.CFrame.lookVector*175
  5071. bv.Parent = root
  5072. for Rotations = 0, 9 do
  5073. for i = 0, 1, 0.5 do
  5074. swait()
  5075. bv.velocity = root.CFrame.lookVector*175
  5076. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  5077. 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(20)),.5)
  5078. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5)
  5079. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5080. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5081. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5082. end
  5083. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5084. for i = 0, 1, 0.5 do
  5085. swait()
  5086. bv.velocity = root.CFrame.lookVector*175
  5087. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  5088. 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(20)),.5)
  5089. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5)
  5090. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5091. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5092. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5093. end
  5094. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5095. for i = 0, 1, 0.5 do
  5096. swait()
  5097. bv.velocity = root.CFrame.lookVector*175
  5098. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  5099. 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(20)),.5)
  5100. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5)
  5101. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5102. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5103. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5104. end
  5105. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5106. for i = 0, 1, 0.5 do
  5107. swait()
  5108. bv.velocity = root.CFrame.lookVector*175
  5109. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  5110. 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(20)),.5)
  5111. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5)
  5112. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5113. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5114. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5115. end
  5116. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5117. end
  5118. bv:Destroy()
  5119. attack = false
  5120. end
  5121.  
  5122. function createBGCircle(size,parent,color)
  5123. local bgui = Instance.new("BillboardGui",parent)
  5124. bgui.Size = UDim2.new(size, 0, size, 0)
  5125. local imgc = Instance.new("ImageLabel",bgui)
  5126. imgc.BackgroundTransparency = 1
  5127. imgc.ImageTransparency = 0
  5128. imgc.Size = UDim2.new(1,0,1,0)
  5129. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  5130. imgc.ImageColor3 = color
  5131. return bgui,imgc
  5132. end
  5133.  
  5134. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  5135. local bgui,imgc = createBGCircle(size,guipar,color)
  5136. bgui.AlwaysOnTop = true
  5137. imgc.Image = "rbxassetid://" ..img
  5138. local rrot = math.random(1,2)
  5139. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  5140. coroutine.resume(coroutine.create(function()
  5141. for i = 0, 24*delay do
  5142. swait()
  5143. if rotationenabled == true then
  5144. if rrot == 1 then
  5145. imgc.Rotation = imgc.Rotation + rotsp
  5146. elseif rrot == 2 then
  5147. imgc.Rotation = imgc.Rotation - rotsp
  5148. end
  5149. end
  5150. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  5151. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  5152. end
  5153. bgui:Destroy()
  5154. end))
  5155. end
  5156. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  5157. for i, v in pairs(mw2:GetChildren()) do
  5158. if v:IsA("Part") then
  5159. v.BrickColor = one
  5160. v.Material = "Neon"
  5161. end
  5162. end
  5163. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  5164. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  5165. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  5166. tr1.Color = ColorSequence.new(one.Color)
  5167. tr2.Color = ColorSequence.new(one.Color)
  5168. tr3.Color = ColorSequence.new(one.Color)
  5169. for i, v in pairs(mw1:GetChildren()) do
  5170. if v:IsA("Part") then
  5171. if secondaryenabled == false then
  5172. v.Transparency = 1
  5173. elseif secondaryenabled == true then
  5174. v.Transparency = 0
  5175. end
  5176. v.BrickColor = two
  5177. v.Material = "Neon"
  5178. end
  5179. end
  5180. if secondaryenabled == false then
  5181. tl1.Enabled = false
  5182. tl2.Enabled = false
  5183. tl3.Enabled = false
  5184. elseif secondaryenabled == true then
  5185. tl1.Enabled = true
  5186. tl2.Enabled = true
  5187. tl3.Enabled = true
  5188. end
  5189. tl1.Color = ColorSequence.new(two.Color)
  5190. tl2.Color = ColorSequence.new(two.Color)
  5191. tl3.Color = ColorSequence.new(two.Color)
  5192. for i, v in pairs(m:GetChildren()) do
  5193. if v:IsA("Part") then
  5194. v.BrickColor = three
  5195. v.Material = "Ice"
  5196. end
  5197. end
  5198. for i, v in pairs(m2:GetChildren()) do
  5199. if v:IsA("Part") then
  5200. v.BrickColor = four
  5201. v.Material = "Ice"
  5202. end
  5203. end
  5204. for i, v in pairs(m3:GetChildren()) do
  5205. if v:IsA("Part") then
  5206. v.BrickColor = five
  5207. v.Material = "Neon"
  5208. end
  5209. end
  5210. for i, v in pairs(extrawingmod1:GetChildren()) do
  5211. if v:IsA("Part") then
  5212. v.Transparency = exonetran
  5213. v.BrickColor = exone
  5214. v.Material = "Neon"
  5215. end
  5216. end
  5217. for i, v in pairs(extrawingmod2:GetChildren()) do
  5218. if v:IsA("Part") then
  5219. v.Transparency = extwotran
  5220. v.BrickColor = extwo
  5221. v.Material = "Neon"
  5222. end
  5223. end
  5224. end
  5225.  
  5226.  
  5227. function normalmog()
  5228. attack = true
  5229. hum.WalkSpeed = 0
  5230. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  5231. for i = 0,6,0.1 do
  5232. swait()
  5233. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5234. slash(math.random(30,60)/10,5,true,"Round","Add","In",root.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.01,0.5),-0.5,MAINRUINCOLOR)
  5235. 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(30)),.2)
  5236. 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(-30)),.2)
  5237. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5238. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5239. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5240. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5241. end
  5242. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  5243. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  5244. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  5245. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  5246. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  5247. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  5248. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  5249. rainbowmode = false
  5250. chaosmode = false
  5251. ModeOfGlitch = 1
  5252. storehumanoidWS = 16
  5253. newTheme("rbxassetid://367339030",48.6,1,1.25)
  5254. RecolorTextAndRename("Hopeless Guest",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  5255. CameraEnshaking(5,2.5)
  5256. MAINRUINCOLOR = BrickColor.new("Really red")
  5257. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5258. for i = 0, 49 do
  5259. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  5260. end
  5261. for i = 0, 24 do
  5262. sphere2(2,"Add",tors.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,7,-0.01,MAINRUINCOLOR)
  5263. 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(150,350)/250,BrickColor.new("White"))
  5264. end
  5265. for i = 0,3,0.1 do
  5266. sphereMK(2.5,-1,"Add",root.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,25,-0.025,MAINRUINCOLOR,0)
  5267. end
  5268. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  5269. for i = 0,2,0.1 do
  5270. swait()
  5271. 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(-30)),.5)
  5272. 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(30)),.5)
  5273. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  5274. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5)
  5275. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5)
  5276. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5)
  5277. end
  5278. hum.WalkSpeed = storehumanoidWS
  5279. attack = false
  5280. end
  5281.  
  5282. function attackone()
  5283. attack = true
  5284. local keptcolor = MAINRUINCOLOR
  5285. for i = 0,1,0.1 do
  5286. swait()
  5287. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  5288. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  5289. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  5290. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5291. 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(-15),math.rad(0),math.rad(0)),.3)
  5292. 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)),.3)
  5293. end
  5294. local distlook = 5
  5295. coroutine.resume(coroutine.create(function()
  5296. for i = 0, 4 do
  5297. swait(2)
  5298. CameraEnshaking(2,3)
  5299. local hite = Instance.new("Part", char)
  5300. hite.Anchored = true
  5301. hite.CanCollide = false
  5302. hite.FormFactor = 3
  5303. hite.Name = "Ring"
  5304. hite.Material = "Neon"
  5305. hite.Size = Vector3.new(1, 1, 1)
  5306. hite.Transparency = 1
  5307. hite.TopSurface = 0
  5308. hite.BottomSurface = 0
  5309. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  5310. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0,1,0),0.2,0.001,0.2,keptcolor)
  5311. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(8,1,8),-0.045,0.15,-0.045,keptcolor)
  5312. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(4,1,4),-0.025,0.25,-0.025,keptcolor)
  5313. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(2,1,2),-0.015,0.35,-0.015,keptcolor)
  5314. MagniDamage(hite, 9, 10,25, 0, "Normal")
  5315. for i = 0, 14 do
  5316. local rsiz = math.random(5,20)
  5317. sphereMK(math.random(1,3),0.25,"Add",hite.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)
  5318. end
  5319. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  5320. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  5321. game:GetService("Debris"):AddItem(hite, 5)
  5322. distlook = distlook + 10
  5323. end
  5324. end))
  5325. for i = 0,1,0.1 do
  5326. swait()
  5327. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  5328. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  5329. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  5330. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  5331. 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(-10)),.5)
  5332. 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)),.5)
  5333. end
  5334. attack = false
  5335. end
  5336.  
  5337. function attacktwo()
  5338. attack = true
  5339. hum.WalkSpeed = 2
  5340. local keptcolor = MAINRUINCOLOR
  5341. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5342. sphere2(5,"Add",rarm.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)
  5343. sphere2(5,"Add",rarm.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)
  5344. for i = 0, 14 do
  5345. PixelBlock(1,math.random(1,3),"Add",rarm.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,keptcolor,0)
  5346. end
  5347. for i = 0,1,0.1 do
  5348. swait()
  5349. 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)
  5350. 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)
  5351. 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)
  5352. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5353. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  5354. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  5355. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5356. end
  5357. for i = 0, 1 do
  5358. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  5359. for i = 0,1,0.6 do
  5360. swait()
  5361. sphere2(8,"Add",rarm.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)
  5362. 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"))
  5363. 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)
  5364. 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)
  5365. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5366. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5367. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5368. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5369. end
  5370. for i = 0,1,0.6 do
  5371. swait()
  5372. sphere2(8,"Add",rarm.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)
  5373. 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"))
  5374. 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)
  5375. 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)
  5376. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  5377. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5378. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5379. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5380. end
  5381. for i = 0,1,0.6 do
  5382. swait()
  5383. sphere2(8,"Add",rarm.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)
  5384. 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"))
  5385. 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)
  5386. 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)
  5387. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  5388. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5389. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5390. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5391. end
  5392. for i = 0,1,0.6 do
  5393. swait()
  5394. sphere2(8,"Add",rarm.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)
  5395. 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"))
  5396. 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)
  5397. 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)
  5398. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  5399. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5400. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5401. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5402. end
  5403. local rot = 0
  5404. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  5405. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5406. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5407. CreateMesh(dis,"Sphere",10,1,10)
  5408. local at1 = Instance.new("Attachment",dis)
  5409. at1.Position = vt(-5,0,0)
  5410. local at2 = Instance.new("Attachment",dis)
  5411. at2.Position = vt(5,0,0)
  5412. local trl = Instance.new('Trail',wed)
  5413. trl.Attachment0 = at1
  5414. trl.Attachment1 = at2
  5415. trl.Texture = "rbxassetid://1049219073"
  5416. trl.LightEmission = 1
  5417. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5418. trl.Color = ColorSequence.new(dis.Color)
  5419. trl.Lifetime = 0.6
  5420. local a = Instance.new("Part",workspace)
  5421. a.Name = "Direction"
  5422. a.Anchored = true
  5423. a.BrickColor = bc("Bright red")
  5424. a.Material = "Neon"
  5425. a.Transparency = 1
  5426. a.CanCollide = false
  5427. local ray = Ray.new(
  5428. dis.CFrame.p, -- origin
  5429. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5430. )
  5431. local ignore = dis
  5432. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5433. a.BottomSurface = 10
  5434. a.TopSurface = 10
  5435. local distance = (dis.CFrame.p - position).magnitude
  5436. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5437. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5438. dis.CFrame = a.CFrame
  5439. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5440. a:Destroy()
  5441. local bv = Instance.new("BodyVelocity")
  5442. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5443. bv.velocity = dis.CFrame.lookVector*250
  5444. bv.Parent = dis
  5445. game:GetService("Debris"):AddItem(dis, 5)
  5446. local hitted = false
  5447. coroutine.resume(coroutine.create(function()
  5448. dis.Touched:connect(function(hit)
  5449. if hitted == false and hit.Parent ~= char then
  5450. hitted = true
  5451. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5452. MagniDamage(dis, 30, 33,56, 0, "Normal")
  5453. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5454. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5455. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5456. coroutine.resume(coroutine.create(function()
  5457. for i = 0, 9 do
  5458. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5459. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5460. local at1 = Instance.new("Attachment",disr)
  5461. at1.Position = vt(-5,0,0)
  5462. local at2 = Instance.new("Attachment",disr)
  5463. at2.Position = vt(5,0,0)
  5464. local trl = Instance.new('Trail',disr)
  5465. trl.Attachment0 = at1
  5466. trl.FaceCamera = true
  5467. trl.Attachment1 = at2
  5468. trl.Texture = "rbxassetid://2342682798"
  5469. trl.LightEmission = 1
  5470. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5471. trl.Color = ColorSequence.new(keptcolor.Color)
  5472. trl.Lifetime = 0.5
  5473. local bv = Instance.new("BodyVelocity")
  5474. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5475. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5476. bv.Parent = disr
  5477. local val = 0
  5478. coroutine.resume(coroutine.create(function()
  5479. swait(30)
  5480. for i = 0, 9 do
  5481. swait()
  5482. val = val + 0.1
  5483. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5484. end
  5485. game:GetService("Debris"):AddItem(disr, 3)
  5486. end))
  5487. end
  5488. local eff = Instance.new("ParticleEmitter",dis)
  5489. eff.Texture = "rbxassetid://2273224484"
  5490. eff.LightEmission = 1
  5491. eff.Color = ColorSequence.new(keptcolor.Color)
  5492. eff.Rate = 500000
  5493. eff.Lifetime = NumberRange.new(0.5,2)
  5494. 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)})
  5495. 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)})
  5496. eff.Speed = NumberRange.new(20,250)
  5497. eff.Drag = 5
  5498. eff.Rotation = NumberRange.new(-500,500)
  5499. eff.VelocitySpread = 9000
  5500. eff.RotSpeed = NumberRange.new(-50,50)
  5501. wait(0.25)
  5502. eff.Enabled = false
  5503. end))
  5504. for i = 0, 9 do
  5505. 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"))
  5506. end
  5507. for i = 0, 19 do
  5508. 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,keptcolor,0)
  5509. end
  5510. coroutine.resume(coroutine.create(function()
  5511. for i = 0, 19 do
  5512. swait()
  5513. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5514. end
  5515. hum.CameraOffset = vt(0,0,0)
  5516. end))
  5517. dis.Anchored = true
  5518. dis.Transparency = 1
  5519. wait(8)
  5520. dis:Destroy()
  5521. end
  5522. end)
  5523. end))
  5524. rot = rot - 15
  5525. end
  5526. for i = 0,2,0.1 do
  5527. swait()
  5528. 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)
  5529. 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)
  5530. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5531. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  5532. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5533. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5534. end
  5535. attack = false
  5536. hum.WalkSpeed = storehumanoidWS
  5537. end
  5538.  
  5539. function attackthree()
  5540. attack = true
  5541. local keptcolor = MAINRUINCOLOR
  5542. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  5543. for i = 0,2,0.1 do
  5544. swait()
  5545. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5546. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  5547. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  5548. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  5549. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  5550. 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(-50),math.rad(-10)),.3)
  5551. 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(40)),.3)
  5552. end
  5553. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  5554. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  5555. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  5556. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  5557. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5558. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  5559. for i = 0, 24 do
  5560. 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(50,200)/250,BrickColor.new("White"))
  5561. end
  5562. for i = 0,4,0.1 do
  5563. swait()
  5564. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  5565. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5566. CreateMesh(dis,"Sphere",1,1,1)
  5567. dis.Anchored = true
  5568. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5569. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5570. coroutine.resume(coroutine.create(function()
  5571. swait(30)
  5572. dis.Transparency = 1
  5573. coroutine.resume(coroutine.create(function()
  5574. for i = 0, 19 do
  5575. swait()
  5576. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5577. end
  5578. hum.CameraOffset = vt(0,0,0)
  5579. end))
  5580. coroutine.resume(coroutine.create(function()
  5581. local eff = Instance.new("ParticleEmitter",dis)
  5582. eff.Texture = "rbxassetid://2273224484"
  5583. eff.LightEmission = 1
  5584. eff.Color = ColorSequence.new(dis.Color)
  5585. eff.Rate = 500000
  5586. eff.Lifetime = NumberRange.new(0.5,2)
  5587. 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)})
  5588. 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)})
  5589. eff.Speed = NumberRange.new(50,450)
  5590. eff.Drag = 5
  5591. eff.Rotation = NumberRange.new(-500,500)
  5592. eff.VelocitySpread = 9000
  5593. eff.RotSpeed = NumberRange.new(-50,50)
  5594. wait(0.125)
  5595. eff.Enabled = false
  5596. end))
  5597. MagniDamage(dis, 30, 45,50, 0, "Normal")
  5598. for i = 0, 2 do
  5599. 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(50,150)/250,dis.BrickColor)
  5600. end
  5601. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  5602. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  5603. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  5604. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  5605. end))
  5606. game:GetService("Debris"):AddItem(dis, 5)
  5607. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  5608. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  5609. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  5610. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  5611. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-8),math.rad(0),math.rad(-20)),.5)
  5612. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(9),math.rad(0),math.rad(20)),.5)
  5613. end
  5614. attack = false
  5615. end
  5616. ----------------------------------- Abilities
  5617.  
  5618. function ExtinctiveHeartbreak()
  5619. local targetted = nil
  5620. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5621. targetted = mouse.Target.Parent
  5622. end
  5623. if targetted ~= nil then
  5624. attack = true
  5625. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5626. for i = 0, 9 do
  5627. 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)
  5628. end
  5629. for i = 0, 24 do
  5630. 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)
  5631. end
  5632. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5633. local originalpos = root.CFrame
  5634. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5635. for i = 0, 9 do
  5636. 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)
  5637. end
  5638. for i = 0, 24 do
  5639. 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)
  5640. end
  5641. hum.WalkSpeed = 0
  5642. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5643. local radm = math.random(1,3)
  5644. if radm == 1 then
  5645. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  5646. elseif radm == 2 then
  5647. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  5648. elseif radm == 3 then
  5649. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  5650. end
  5651. for i = 0,2,0.1 do
  5652. swait()
  5653. 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)
  5654. 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)
  5655. 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)
  5656. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5657. 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)
  5658. 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)
  5659. end
  5660. CFuncs["Sound"].Create("rbxassetid://153092227", root, 0.5,1)
  5661. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 2, 1,0,10,0.25,0.5,1)
  5662. for i = 0,2,0.1 do
  5663. swait()
  5664. coroutine.resume(coroutine.create(function()
  5665. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5666. for i,v in pairs(targetted:GetChildren()) do
  5667. if v:IsA("Part") or v:IsA("MeshPart") then
  5668. v.Velocity = vt(0,0,0)
  5669. end
  5670. end
  5671. end))
  5672. 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)
  5673. 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)
  5674. 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)
  5675. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5676. 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)
  5677. 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)
  5678. end
  5679. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 0.5, 1,0,10,0.25,0.5,1)
  5680. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 0.5, 0.9,0,10,0.25,0.5,1)
  5681. for i = 0, 1 do
  5682. CFuncs["EchoSound"].Create("rbxassetid://159882598", char, 2, 1,0.1,10,0.15,0.5,1)
  5683. end
  5684. CFuncs["EchoSound"].Create("rbxassetid://159882598", root, 15, 1,0.1,10,0.15,0.5,1)
  5685. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  5686. for i = 0,4,0.1 do
  5687. swait()
  5688. coroutine.resume(coroutine.create(function()
  5689. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5690. 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)))
  5691. local at1 = Instance.new("Attachment",dis)
  5692. at1.Position = vt(-25000,0,0)
  5693. local at2 = Instance.new("Attachment",dis)
  5694. at2.Position = vt(25000,0,0)
  5695. local trl = Instance.new('Trail',dis)
  5696. trl.Attachment0 = at1
  5697. trl.FaceCamera = true
  5698. trl.Attachment1 = at2
  5699. trl.Texture = "rbxassetid://1049219073"
  5700. trl.LightEmission = 1
  5701. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5702. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  5703. trl.Lifetime = 5
  5704. local bv = Instance.new("BodyVelocity")
  5705. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5706. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5707. bv.Parent = dis
  5708. game:GetService("Debris"):AddItem(dis, 5)
  5709. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5710. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  5711. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  5712. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  5713. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  5714. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  5715. 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,MAINRUINCOLOR)
  5716. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  5717. for i = 0, 2 do
  5718. 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"))
  5719. end
  5720. 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)
  5721. for i,v in pairs(targetted:GetChildren()) do
  5722. if v:IsA("Part") or v:IsA("MeshPart") then
  5723. v.Velocity = vt(0,0,0)
  5724. end
  5725. end
  5726. end))
  5727. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  5728. 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)
  5729. 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)
  5730. 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)
  5731. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  5732. 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)
  5733. 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)
  5734. end
  5735. hum.CameraOffset = vt(0,0,0)
  5736. for i = 0, 49 do
  5737. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5738. 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)))
  5739. local at1 = Instance.new("Attachment",dis)
  5740. at1.Position = vt(-50000,0,0)
  5741. local at2 = Instance.new("Attachment",dis)
  5742. at2.Position = vt(50000,0,0)
  5743. local trl = Instance.new('Trail',dis)
  5744. trl.Attachment0 = at1
  5745. trl.FaceCamera = true
  5746. trl.Attachment1 = at2
  5747. trl.Texture = "rbxassetid://1049219073"
  5748. trl.LightEmission = 1
  5749. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5750. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  5751. trl.Lifetime = 5
  5752. local bv = Instance.new("BodyVelocity")
  5753. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5754. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5755. bv.Parent = dis
  5756. game:GetService("Debris"):AddItem(dis, 5)
  5757. end
  5758. for i = 0, 49 do
  5759. 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,MAINRUINCOLOR)
  5760. 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"))
  5761. end
  5762. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  5763. for i = 0, 1 do
  5764. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  5765. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  5766. end
  5767. for i = 0, 4 do
  5768. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  5769. end
  5770. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  5771. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  5772. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  5773. dmg(targetted)
  5774. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5775. for i = 0, 9 do
  5776. 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)
  5777. end
  5778. for i = 0, 24 do
  5779. 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)
  5780. end
  5781. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5782. root.CFrame = originalpos
  5783. for i = 0, 9 do
  5784. 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)
  5785. end
  5786. for i = 0, 24 do
  5787. 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)
  5788. end
  5789. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5790. attack = false
  5791. hum.WalkSpeed = storehumanoidWS
  5792. end
  5793. end
  5794.  
  5795. function CorruptionEvent()
  5796. attack = true
  5797. hum.WalkSpeed = 0
  5798. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5799. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5800. local keptcolor = MAINRUINCOLOR
  5801. for i = 0,4,0.1 do
  5802. swait()
  5803. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5804. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5805. 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)
  5806. 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)
  5807. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  5808. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  5809. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  5810. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5811. end
  5812. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5813. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  5814. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  5815. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5816. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5817. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5818. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5819. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  5820. hum.CameraOffset = vt(0,0,0)
  5821. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5822. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5823. for i = 0, 24 do
  5824. 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"))
  5825. end
  5826. local rrot = 0
  5827. coroutine.resume(coroutine.create(function()
  5828. for i = 0, 4 do
  5829. rrot = rrot + 45
  5830. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5831. xa.Anchored = true
  5832. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5833. xb.Anchored = true
  5834. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5835. xc.Anchored = true
  5836. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5837. xd.Anchored = true
  5838. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  5839. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  5840. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  5841. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  5842. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  5843. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  5844. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  5845. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  5846. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  5847. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  5848. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  5849. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  5850. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  5851. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  5852. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  5853. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  5854. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5855. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5856. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5857. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5858. for i = 0, 9 do
  5859. 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"))
  5860. 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"))
  5861. 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"))
  5862. 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"))
  5863. end
  5864. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5865. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5866. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5867. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5868. 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)
  5869. 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)
  5870. 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)
  5871. 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)
  5872. 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))
  5873. 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))
  5874. 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))
  5875. 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))
  5876. game:GetService("Debris"):AddItem(xa, 5)
  5877. game:GetService("Debris"):AddItem(xb, 5)
  5878. game:GetService("Debris"):AddItem(xc, 5)
  5879. game:GetService("Debris"):AddItem(xd, 5)
  5880. coroutine.resume(coroutine.create(function()
  5881. for i = 0, 19 do
  5882. swait()
  5883. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5884. end
  5885. hum.CameraOffset = vt(0,0,0)
  5886. end))
  5887. swait(9)
  5888. end
  5889. end))
  5890. for i = 0,2,0.1 do
  5891. swait()
  5892. 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)
  5893. 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)
  5894. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  5895. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  5896. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  5897. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5898. end
  5899. attack = false
  5900. hum.WalkSpeed = storehumanoidWS
  5901. end
  5902.  
  5903. function EndGROUND()
  5904. attack = true
  5905. hum.WalkSpeed = 0
  5906. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  5907. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5908. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5909. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  5910. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  5911. local keptcolor = MAINRUINCOLOR
  5912. for i = 0,4,0.1 do
  5913. swait()
  5914. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5915. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5916. 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"))
  5917. 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)
  5918. 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)
  5919. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  5920. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  5921. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  5922. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5923. end
  5924. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5925. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5926. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5927. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5928. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  5929. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  5930. coroutine.resume(coroutine.create(function()
  5931. local shval = 10
  5932. for i = 0, 99 do
  5933. swait()
  5934. shval = shval - 0.1
  5935. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  5936. end
  5937. hum.CameraOffset = vt(0,0,0)
  5938. end))
  5939. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5940. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5941. for i = 0, 24 do
  5942. 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"))
  5943. end
  5944. local rrot = 0
  5945. local xam = 1
  5946. coroutine.resume(coroutine.create(function()
  5947. for i = 0, 14 do
  5948. --swait()
  5949. rrot = rrot + 40*xam
  5950. xam = xam + 0.25
  5951. local bonus = xam
  5952. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  5953. xa.Anchored = true
  5954. xa.Color = Color3.new(0,0,0)
  5955. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  5956. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  5957. local xc = 0
  5958. coroutine.resume(coroutine.create(function()
  5959. for i = 0, 99 do
  5960. swait()
  5961. xc = xc + 0.01
  5962. xa.Color = Color3.new(xc,0,0)
  5963. end
  5964. xa.Transparency = 1
  5965. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  5966. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  5967. for i = 0, 9 do
  5968. 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"))
  5969. end
  5970. 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)
  5971. 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)
  5972. 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))
  5973. game:GetService("Debris"):AddItem(xa, 5)
  5974. coroutine.resume(coroutine.create(function()
  5975. for i = 0, 19 do
  5976. swait()
  5977. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5978. end
  5979. hum.CameraOffset = vt(0,0,0)
  5980. end))
  5981. end))
  5982. end
  5983. end))
  5984. for i = 0,2,0.1 do
  5985. swait()
  5986. 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)
  5987. 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)
  5988. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  5989. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  5990. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  5991. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5992. end
  5993. attack = false
  5994. hum.WalkSpeed = storehumanoidWS
  5995. end
  5996.  
  5997. function HeavenlyDisk()
  5998. attack = true
  5999. hum.WalkSpeed = 2
  6000. local keptcolor = MAINRUINCOLOR
  6001. local radm = math.random(1,3)
  6002. if radm == 1 then
  6003. bosschatfunc("Dont make this too easy for you.",MAINRUINCOLOR.Color,1)
  6004. elseif radm == 2 then
  6005. bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
  6006. elseif radm == 3 then
  6007. bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  6008. end
  6009. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  6010. CFuncs["EchoSound"].Create("rbxassetid://1625448638", char, 4, 1,0,10,0.15,0.5,1)
  6011. 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)
  6012. 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)
  6013. for i = 0, 14 do
  6014. 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)
  6015. end
  6016. for i = 0,2,0.1 do
  6017. swait()
  6018. 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)
  6019. 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)
  6020. 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)
  6021. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  6022. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  6023. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6024. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  6025. end
  6026. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  6027. for i = 0,1,0.6 do
  6028. swait()
  6029. 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)
  6030. 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"))
  6031. 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)
  6032. 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)
  6033. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  6034. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6035. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6036. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6037. end
  6038. for i = 0,1,0.6 do
  6039. swait()
  6040. 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)
  6041. 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"))
  6042. 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)
  6043. 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)
  6044. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  6045. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6046. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6047. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6048. end
  6049. for i = 0,1,0.6 do
  6050. swait()
  6051. 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)
  6052. 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"))
  6053. 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)
  6054. 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)
  6055. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  6056. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6057. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6058. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6059. end
  6060. for i = 0,1,0.6 do
  6061. swait()
  6062. 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)
  6063. 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"))
  6064. 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)
  6065. 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)
  6066. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  6067. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6068. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6069. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6070. end
  6071. local rot = 15
  6072. for i = 0, 2 do
  6073. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  6074. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  6075. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  6076. CreateMesh(dis,"Sphere",10,1,10)
  6077. local at1 = Instance.new("Attachment",dis)
  6078. at1.Position = vt(-5,0,0)
  6079. local at2 = Instance.new("Attachment",dis)
  6080. at2.Position = vt(5,0,0)
  6081. local trl = Instance.new('Trail',wed)
  6082. trl.Attachment0 = at1
  6083. trl.Attachment1 = at2
  6084. trl.Texture = "rbxassetid://1049219073"
  6085. trl.LightEmission = 1
  6086. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6087. trl.Color = ColorSequence.new(dis.Color)
  6088. trl.Lifetime = 0.6
  6089. local a = Instance.new("Part",workspace)
  6090. a.Name = "Direction"
  6091. a.Anchored = true
  6092. a.BrickColor = bc("Bright red")
  6093. a.Material = "Neon"
  6094. a.Transparency = 1
  6095. a.CanCollide = false
  6096. local ray = Ray.new(
  6097. dis.CFrame.p, -- origin
  6098. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6099. )
  6100. local ignore = dis
  6101. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6102. a.BottomSurface = 10
  6103. a.TopSurface = 10
  6104. local distance = (dis.CFrame.p - position).magnitude
  6105. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6106. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6107. dis.CFrame = a.CFrame
  6108. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6109. a:Destroy()
  6110. local bv = Instance.new("BodyVelocity")
  6111. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6112. bv.velocity = dis.CFrame.lookVector*250
  6113. bv.Parent = dis
  6114. game:GetService("Debris"):AddItem(dis, 5)
  6115. local hitted = false
  6116. coroutine.resume(coroutine.create(function()
  6117. dis.Touched:connect(function(hit)
  6118. if hitted == false and hit.Parent ~= char then
  6119. hitted = true
  6120. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  6121. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  6122. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  6123. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  6124. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  6125. coroutine.resume(coroutine.create(function()
  6126. for i = 0, 9 do
  6127. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6128. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6129. local at1 = Instance.new("Attachment",disr)
  6130. at1.Position = vt(-2,0,0)
  6131. local at2 = Instance.new("Attachment",disr)
  6132. at2.Position = vt(2,0,0)
  6133. local trl = Instance.new('Trail',disr)
  6134. trl.Attachment0 = at1
  6135. trl.FaceCamera = true
  6136. trl.Attachment1 = at2
  6137. trl.Texture = "rbxassetid://2342682798"
  6138. trl.LightEmission = 1
  6139. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6140. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6141. trl.Lifetime = 0.5
  6142. local bv = Instance.new("BodyVelocity")
  6143. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6144. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6145. bv.Parent = disr
  6146. local val = 0
  6147. coroutine.resume(coroutine.create(function()
  6148. swait(30)
  6149. for i = 0, 9 do
  6150. swait()
  6151. val = val + 0.1
  6152. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6153. end
  6154. game:GetService("Debris"):AddItem(disr, 3)
  6155. end))
  6156. end
  6157. local eff = Instance.new("ParticleEmitter",dis)
  6158. eff.Texture = "rbxassetid://2273224484"
  6159. eff.LightEmission = 1
  6160. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6161. eff.Rate = 500000
  6162. eff.Lifetime = NumberRange.new(0.5,2)
  6163. 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)})
  6164. 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)})
  6165. eff.Speed = NumberRange.new(20,250)
  6166. eff.Drag = 5
  6167. eff.Rotation = NumberRange.new(-500,500)
  6168. eff.VelocitySpread = 9000
  6169. eff.RotSpeed = NumberRange.new(-50,50)
  6170. wait(0.25)
  6171. eff.Enabled = false
  6172. end))
  6173. for i = 0, 9 do
  6174. 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"))
  6175. end
  6176. for i = 0, 19 do
  6177. 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)
  6178. end
  6179. coroutine.resume(coroutine.create(function()
  6180. for i = 0, 19 do
  6181. swait()
  6182. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6183. end
  6184. hum.CameraOffset = vt(0,0,0)
  6185. end))
  6186. dis.Anchored = true
  6187. dis.Transparency = 1
  6188. wait(8)
  6189. dis:Destroy()
  6190. end
  6191. end)
  6192. end))
  6193. rot = rot - 15
  6194. end
  6195. for i = 0,2,0.1 do
  6196. swait()
  6197. 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)
  6198. 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)
  6199. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6200. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  6201. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6202. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6203. end
  6204. attack = false
  6205. hum.WalkSpeed = storehumanoidWS
  6206. end
  6207.  
  6208.  
  6209. function RapidBurst()
  6210. attack = true
  6211. hum.WalkSpeed = 0
  6212. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6213. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  6214. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  6215. bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,1.8)
  6216. bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,1.9)
  6217. bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,2)
  6218. local keptcolor = MAINRUINCOLOR
  6219. for i = 0,8,0.1 do
  6220. swait()
  6221. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6222. 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())
  6223. block(10,"Add",root.CFrame*CFrame.new(0,25,0),vt(0,0,0),0.5,0.5,0.5,BrickColor.random(),BrickColor.random().Color)
  6224. 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)
  6225. 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)
  6226. 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)
  6227. 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)
  6228. 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)
  6229. 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)
  6230. end
  6231. for i = 0, 99 do
  6232. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6233. 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)))
  6234. local at1 = Instance.new("Attachment",dis)
  6235. at1.Position = vt(-25000,0,0)
  6236. local at2 = Instance.new("Attachment",dis)
  6237. at2.Position = vt(25000,0,0)
  6238. local trl = Instance.new('Trail',dis)
  6239. trl.Attachment0 = at1
  6240. trl.FaceCamera = true
  6241. trl.Attachment1 = at2
  6242. trl.Texture = "rbxassetid://1049219073"
  6243. trl.LightEmission = 1
  6244. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6245. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6246. trl.Lifetime = 5
  6247. local bv = Instance.new("BodyVelocity")
  6248. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6249. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6250. bv.Parent = dis
  6251. game:GetService("Debris"):AddItem(dis, 5)
  6252. end
  6253. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6254. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6255. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6256. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6257. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6258. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6259. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6260. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6261. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6262. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6263. hum.CameraOffset = vt(0,0,0)
  6264. for i = 0, 24 do
  6265. 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())
  6266. end
  6267. local distam = 0
  6268. coroutine.resume(coroutine.create(function()
  6269. for i = 0, 99 do
  6270. wait()
  6271. distam = distam + 1
  6272. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6273. xa.Anchored = true
  6274. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6275. game:GetService("Debris"):AddItem(xa, 5)
  6276. for i = 0, 4 do
  6277. 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())
  6278. end
  6279. coroutine.resume(coroutine.create(function()
  6280. local eff = Instance.new("ParticleEmitter",xa)
  6281. eff.Texture = "rbxassetid://2273224484"
  6282. eff.LightEmission = 1
  6283. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6284. eff.Rate = 500000
  6285. eff.Lifetime = NumberRange.new(1,3)
  6286. 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)})
  6287. 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)})
  6288. eff.Speed = NumberRange.new(50,500)
  6289. eff.Drag = 5
  6290. eff.Rotation = NumberRange.new(-500,500)
  6291. eff.VelocitySpread = 9000
  6292. eff.RotSpeed = NumberRange.new(-50,50)
  6293. wait(0.25)
  6294. eff.Enabled = false
  6295. end))
  6296. coroutine.resume(coroutine.create(function()
  6297. for i = 0, 19 do
  6298. swait()
  6299. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6300. end
  6301. hum.CameraOffset = vt(0,0,0)
  6302. end))
  6303. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6304. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6305. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6306. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6307. end
  6308. end))
  6309. attack = false
  6310. hum.WalkSpeed = storehumanoidWS
  6311. end
  6312.  
  6313. function InsaneBeam()
  6314. attack = true
  6315. hum.WalkSpeed = 0
  6316. local keptcolor = MAINRUINCOLOR
  6317. local orb = Instance.new("Part", char)
  6318. orb.BrickColor = keptcolor
  6319. orb.CanCollide = false
  6320. orb.FormFactor = 3
  6321. orb.Name = "Ring"
  6322. orb.Material = "Neon"
  6323. orb.Size = Vector3.new(1, 1, 1)
  6324. orb.Transparency = 1
  6325. orb.TopSurface = 0
  6326. orb.BottomSurface = 0
  6327. local orbm = Instance.new("SpecialMesh", orb)
  6328. orbm.MeshType = "Sphere"
  6329. orbm.Name = "SizeMesh"
  6330. orbm.Scale = vt(22.5,10000,22.5)
  6331. orb.CFrame = mouse.Hit
  6332. orb.Anchored = true
  6333. orb.Orientation = vt(0,0,0)
  6334. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  6335. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 1.5, 1)
  6336. coroutine.resume(coroutine.create(function()
  6337. coroutine.resume(coroutine.create(function()
  6338. for i = 0, 399 do
  6339. swait()
  6340. orbm.Scale = orbm.Scale - vt(0.05,0,0.05)
  6341. orb.Transparency = orb.Transparency - 0.0025
  6342. end
  6343. end))
  6344. wait(9)
  6345. coroutine.resume(coroutine.create(function()
  6346. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  6347. if hfr ~= nil then
  6348. for i = 0, 49 do
  6349. local deb = Instance.new("Part", char)
  6350. deb.Anchored = true
  6351. deb.CanCollide = false
  6352. deb.FormFactor = 3
  6353. deb.Name = "Ring"
  6354. deb.Material = hitfloor.Material
  6355. deb.Color = hitfloor.Color
  6356. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  6357. deb.Transparency = 0
  6358. deb.TopSurface = 0
  6359. deb.BottomSurface = 0
  6360. 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)))
  6361. local deb2 = Instance.new("Part", char)
  6362. deb2.CanCollide = false
  6363. deb2.FormFactor = 3
  6364. deb2.Name = "Ring"
  6365. deb2.Material = hitfloor.Material
  6366. deb2.Color = hitfloor.Color
  6367. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  6368. deb2.Transparency = 0
  6369. deb2.TopSurface = 0
  6370. deb2.BottomSurface = 0
  6371. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  6372. 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)))
  6373. local eff = Instance.new("ParticleEmitter",deb)
  6374. eff.Texture = "rbxassetid://363275192"
  6375. eff.LightEmission = 0.95
  6376. eff.Color = ColorSequence.new(keptcolor.Color)
  6377. eff.Rate = 100
  6378. eff.Lifetime = NumberRange.new(1)
  6379. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  6380. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6381. eff.Speed = NumberRange.new(0,5)
  6382. eff.Rotation = NumberRange.new(-500,500)
  6383. eff.VelocitySpread = 9000
  6384. eff.RotSpeed = NumberRange.new(-10,10)
  6385. local at1 = Instance.new('Attachment',deb2)
  6386. at1.Position = vt(0,15,0)
  6387. local at2 = Instance.new('Attachment',deb2)
  6388. at2.Position = vt(0,-15,0)
  6389. local tl = Instance.new('Trail',deb2)
  6390. tl.Attachment0 = at1
  6391. tl.Attachment1 = at2
  6392. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6393. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  6394. tl.Lifetime = 1
  6395. game:GetService("Debris"):AddItem(deb,30)
  6396. game:GetService("Debris"):AddItem(deb2,30)
  6397. coroutine.resume(coroutine.create(function()
  6398. wait(15)
  6399. eff.Enabled = false
  6400. for i = 0, 49 do
  6401. swait()
  6402. deb.Transparency = deb.Transparency + 0.02
  6403. end
  6404. wait(1)
  6405. deb:Destroy()
  6406. end))
  6407. end
  6408. end
  6409. end))
  6410. for i = 0, 199 do
  6411. swait(1.5)
  6412. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  6413. if v:FindFirstChild('Head') then
  6414. dmg(v)
  6415. end
  6416. end
  6417. 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)
  6418. 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)
  6419. 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)
  6420. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  6421. end
  6422. orb:Destroy()
  6423. end))
  6424. hum.WalkSpeed = storehumanoidWS
  6425. attack = false
  6426. end
  6427.  
  6428. function InsaneDrop()
  6429. attack = true
  6430. hum.WalkSpeed = 0
  6431. CFuncs["Sound"].Create("rbxassetid://907329669", char, 2.5, 0.5)
  6432. CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 0.5)
  6433. CFuncs["EchoSound"].Create("rbxassetid://907329669", char, 4, 1,0,10,0.15,0.5,1)
  6434. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,1.8)
  6435. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,1.9)
  6436. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,2)
  6437. local keptcolor = MAINRUINCOLOR
  6438. for i = 0,8,0.1 do
  6439. swait()
  6440. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6441. 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())
  6442. block(10,"Add",root.CFrame*CFrame.new(0,25,0),vt(0,0,0),0.5,0.5,0.5,BrickColor.random(),BrickColor.random().Color)
  6443. 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)
  6444. 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)
  6445. 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)
  6446. 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)
  6447. 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)
  6448. 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)
  6449. end
  6450. for i = 0, 99 do
  6451. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6452. 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)))
  6453. local at1 = Instance.new("Attachment",dis)
  6454. at1.Position = vt(-25000,0,0)
  6455. local at2 = Instance.new("Attachment",dis)
  6456. at2.Position = vt(25000,0,0)
  6457. local trl = Instance.new('Trail',dis)
  6458. trl.Attachment0 = at1
  6459. trl.FaceCamera = true
  6460. trl.Attachment1 = at2
  6461. trl.Texture = "rbxassetid://1049219073"
  6462. trl.LightEmission = 1
  6463. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6464. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6465. trl.Lifetime = 5
  6466. local bv = Instance.new("BodyVelocity")
  6467. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6468. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6469. bv.Parent = dis
  6470. game:GetService("Debris"):AddItem(dis, 5)
  6471. end
  6472. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6473. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6474. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6475. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6476. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6477. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6478. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6479. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6480. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6481. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6482. hum.CameraOffset = vt(0,0,0)
  6483. for i = 0, 24 do
  6484. 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())
  6485. end
  6486. local distam = 0
  6487. coroutine.resume(coroutine.create(function()
  6488. for i = 0, 99 do
  6489. wait()
  6490. distam = distam + 1
  6491. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6492. xa.Anchored = true
  6493. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6494. game:GetService("Debris"):AddItem(xa, 5)
  6495. for i = 0, 4 do
  6496. 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())
  6497. end
  6498. coroutine.resume(coroutine.create(function()
  6499. local eff = Instance.new("ParticleEmitter",xa)
  6500. eff.Texture = "rbxassetid://2273224484"
  6501. eff.LightEmission = 1
  6502. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6503. eff.Rate = 500000
  6504. eff.Lifetime = NumberRange.new(1,3)
  6505. 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)})
  6506. 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)})
  6507. eff.Speed = NumberRange.new(50,500)
  6508. eff.Drag = 5
  6509. eff.Rotation = NumberRange.new(-500,500)
  6510. eff.VelocitySpread = 9000
  6511. eff.RotSpeed = NumberRange.new(-50,50)
  6512. wait(0.25)
  6513. eff.Enabled = false
  6514. end))
  6515. coroutine.resume(coroutine.create(function()
  6516. for i = 0, 19 do
  6517. swait()
  6518. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6519. end
  6520. hum.CameraOffset = vt(0,0,0)
  6521. end))
  6522. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6523. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6524. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6525. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6526. end
  6527. end))
  6528. attack = false
  6529. hum.WalkSpeed = storehumanoidWS
  6530. end
  6531.  
  6532. function FallenOrbs()
  6533. attack = true
  6534. hum.WalkSpeed = 2
  6535. local keptcolor = MAINRUINCOLOR
  6536. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  6537. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  6538. local radm = math.random(1,3)
  6539. if radm == 1 then
  6540. bosschatfunc("This wont be easy to you.",MAINRUINCOLOR.Color,1)
  6541. elseif radm == 2 then
  6542. bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
  6543. elseif radm == 3 then
  6544. bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
  6545. end
  6546. coroutine.resume(coroutine.create(function()
  6547. for i = 0, 29 do
  6548. swait(2)
  6549. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  6550. dis.Anchored = true
  6551. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  6552. dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
  6553. CreateMesh(dis,"Sphere",2,2,2)
  6554. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6555. 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"))
  6556. coroutine.resume(coroutine.create(function()
  6557. wait(0.5)
  6558. dis.Anchored = false
  6559. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 9, 1,0,2,0.15,0.1,1)
  6560. local at1 = Instance.new("Attachment",dis)
  6561. at1.Position = vt(-1,0,0)
  6562. local at2 = Instance.new("Attachment",dis)
  6563. at2.Position = vt(1,0,0)
  6564. local trl = Instance.new('Trail',dis)
  6565. trl.Attachment0 = at1
  6566. trl.FaceCamera = true
  6567. trl.Attachment1 = at2
  6568. trl.Texture = "rbxassetid://1049219073"
  6569. trl.LightEmission = 1
  6570. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6571. trl.Color = ColorSequence.new(dis.Color)
  6572. trl.Lifetime = 0.6
  6573. local a = Instance.new("Part",workspace)
  6574. a.Name = "Direction"
  6575. a.Anchored = true
  6576. a.BrickColor = bc("Bright red")
  6577. a.Material = "Neon"
  6578. a.Transparency = 1
  6579. a.CanCollide = false
  6580. local ray = Ray.new(
  6581. dis.CFrame.p, -- origin
  6582. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6583. )
  6584. local ignore = dis
  6585. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6586. a.BottomSurface = 10
  6587. a.TopSurface = 10
  6588. local distance = (dis.CFrame.p - position).magnitude
  6589. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6590. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6591. dis.CFrame = a.CFrame
  6592. a:Destroy()
  6593. local bv = Instance.new("BodyVelocity")
  6594. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6595. bv.velocity = dis.CFrame.lookVector*500
  6596. bv.Parent = dis
  6597. game:GetService("Debris"):AddItem(dis, 5)
  6598. local hitted = false
  6599. coroutine.resume(coroutine.create(function()
  6600. dis.Touched:connect(function(hit)
  6601. if hitted == false and hit.Parent ~= char then
  6602. hitted = true
  6603. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 5, 0.8,0,10,0.15,0.5,1)
  6604. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  6605. sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
  6606. sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  6607. coroutine.resume(coroutine.create(function()
  6608. for i = 0, 4 do
  6609. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6610. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6611. local at1 = Instance.new("Attachment",disr)
  6612. at1.Position = vt(-10,0,0)
  6613. local at2 = Instance.new("Attachment",disr)
  6614. at2.Position = vt(10,0,0)
  6615. local trl = Instance.new('Trail',disr)
  6616. trl.Attachment0 = at1
  6617. trl.FaceCamera = true
  6618. trl.Attachment1 = at2
  6619. trl.Texture = "rbxassetid://2342682798"
  6620. trl.LightEmission = 1
  6621. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6622. trl.Color = ColorSequence.new(disr.Color)
  6623. trl.Lifetime = 0.5
  6624. local bv = Instance.new("BodyVelocity")
  6625. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6626. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  6627. bv.Parent = disr
  6628. local val = 0
  6629. coroutine.resume(coroutine.create(function()
  6630. swait(30)
  6631. for i = 0, 9 do
  6632. swait()
  6633. val = val + 0.1
  6634. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6635. end
  6636. game:GetService("Debris"):AddItem(disr, 3)
  6637. end))
  6638. end
  6639. local eff = Instance.new("ParticleEmitter",dis)
  6640. eff.Texture = "rbxassetid://1049219073"
  6641. eff.LightEmission = 1
  6642. eff.Color = ColorSequence.new(dis.Color)
  6643. eff.Rate = 500000
  6644. eff.Lifetime = NumberRange.new(0.5,2)
  6645. 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)})
  6646. 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)})
  6647. eff.Speed = NumberRange.new(20,250)
  6648. eff.Drag = 5
  6649. eff.Rotation = NumberRange.new(-500,500)
  6650. eff.VelocitySpread = 9000
  6651. eff.RotSpeed = NumberRange.new(-50,50)
  6652. wait(0.5)
  6653. eff.Enabled = false
  6654. end))
  6655. for i = 0, 4 do
  6656. 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"))
  6657. end
  6658. coroutine.resume(coroutine.create(function()
  6659. for i = 0, 19 do
  6660. swait()
  6661. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6662. end
  6663. hum.CameraOffset = vt(0,0,0)
  6664. end))
  6665. dis.Anchored = true
  6666. dis.Transparency = 1
  6667. wait(8)
  6668. dis:Destroy()
  6669. end
  6670. end)
  6671. end))
  6672. end))
  6673. end
  6674. end))
  6675. for i = 0,9,0.1 do
  6676. swait()
  6677. 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,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6678. 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)
  6679. 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)
  6680. 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(90)),.3)
  6681. 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)
  6682. 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)
  6683. 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)
  6684. end
  6685. attack = false
  6686. hum.WalkSpeed = storehumanoidWS
  6687. end
  6688.  
  6689. function CyberSlash()
  6690. local posit = -2
  6691. attack = true
  6692. hum.WalkSpeed = 5
  6693. CFuncs["EchoSound"].Create("rbxassetid://1448033920", char, 5, 1,0,10,0.15,0.5,1)
  6694. local radm = math.random(1,3)
  6695. if radm == 1 then
  6696. bosschatfunc("FIBER!!!",MAINRUINCOLOR.Color,1)
  6697. elseif radm == 2 then
  6698. bosschatfunc("SLASHED!!",MAINRUINCOLOR.Color,1)
  6699. elseif radm == 3 then
  6700. bosschatfunc("TAKE MY CLAW!!",MAINRUINCOLOR.Color,1)
  6701. end
  6702. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  6703. for i = 0,2,0.1 do
  6704. swait()
  6705. 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,MAINRUINCOLOR)
  6706. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  6707. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  6708. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6709. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  6710. 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)
  6711. 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)
  6712. end
  6713. for i = 0, 2 do
  6714. CameraEnshaking(1,2)
  6715. local hite = Instance.new("Part", char)
  6716. hite.Anchored = true
  6717. hite.CanCollide = false
  6718. hite.FormFactor = 3
  6719. hite.Name = "Ring"
  6720. hite.Material = "Neon"
  6721. hite.Size = Vector3.new(1, 1, 1)
  6722. hite.Transparency = 1
  6723. hite.TopSurface = 0
  6724. hite.BottomSurface = 0
  6725. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  6726. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  6727. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  6728. coroutine.resume(coroutine.create(function()
  6729. for i = 0, 1 do
  6730. swait()
  6731. 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,MAINRUINCOLOR)
  6732. 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,MAINRUINCOLOR)
  6733. 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,MAINRUINCOLOR)
  6734. end
  6735. end))
  6736. 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,MAINRUINCOLOR)
  6737. MagniDamage(hite, 3, 30,40, 0, "Normal")
  6738. game:GetService("Debris"):AddItem(hite, 5)
  6739. posit = posit + 2
  6740. end
  6741. for i = 0,1,0.1 do
  6742. swait()
  6743. 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,MAINRUINCOLOR)
  6744. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  6745. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  6746. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6747. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  6748. 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)
  6749. 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)
  6750. end
  6751. for i = 0,1,0.1 do
  6752. swait()
  6753. 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,MAINRUINCOLOR)
  6754. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,1)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  6755. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  6756. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  6757. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  6758. 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)
  6759. 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)
  6760. end
  6761. posit = -6
  6762. for i = 0, 6 do
  6763. CameraEnshaking(1,3)
  6764. local hite = Instance.new("Part", char)
  6765. hite.Anchored = true
  6766. hite.CanCollide = false
  6767. hite.FormFactor = 3
  6768. hite.Name = "Ring"
  6769. hite.Material = "Neon"
  6770. hite.Size = Vector3.new(1, 1, 1)
  6771. hite.Transparency = 1
  6772. hite.TopSurface = 0
  6773. hite.BottomSurface = 0
  6774. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  6775. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  6776. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  6777. 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,MAINRUINCOLOR)
  6778. coroutine.resume(coroutine.create(function()
  6779. for i = 0, 2 do
  6780. swait()
  6781. 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,MAINRUINCOLOR)
  6782. 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,MAINRUINCOLOR)
  6783. 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,MAINRUINCOLOR)
  6784. end
  6785. end))
  6786. MagniDamage(hite, 5, 40,70, 0, "Normal")
  6787. game:GetService("Debris"):AddItem(hite, 5)
  6788. posit = posit + 2
  6789. end
  6790. for i = 0,1,0.1 do
  6791. swait()
  6792. 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,MAINRUINCOLOR)
  6793. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  6794. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  6795. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  6796. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  6797. 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)
  6798. 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)
  6799. end
  6800. hum.WalkSpeed = storehumanoidWS
  6801. attack = false
  6802. end
  6803.  
  6804. function EquinoxOrbs()
  6805. hum.WalkSpeed = 0
  6806. attack = true
  6807. local radm = math.random(1,3)
  6808. if radm == 1 then
  6809. bosschatfunc("NOX-DASH!!!",MAINRUINCOLOR.Color,1)
  6810. elseif radm == 2 then
  6811. bosschatfunc("Beware from behind",MAINRUINCOLOR.Color,1)
  6812. elseif radm == 3 then
  6813. bosschatfunc("I'M COMING!!",MAINRUINCOLOR.Color,1)
  6814. end
  6815. for i = 0,1,0.1 do
  6816. swait()
  6817. 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)
  6818. 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)
  6819. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6820. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6821. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6822. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6823. end
  6824. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6825. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6826. for i = 0, 24 do
  6827. 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"))
  6828. end
  6829. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6830. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6831. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6832. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6833. for i = 0,4,0.1 do
  6834. swait()
  6835. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  6836. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  6837. CreateMesh(dis,"Sphere",1,1,1)
  6838. dis.Anchored = true
  6839. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  6840. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  6841. CreateMesh(dis2,"Sphere",1,1,1)
  6842. dis2.Anchored = true
  6843. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  6844. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6845. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  6846. coroutine.resume(coroutine.create(function()
  6847. swait(60)
  6848. dis.Transparency = 1
  6849. dis2.Transparency = 1
  6850. coroutine.resume(coroutine.create(function()
  6851. for i = 0, 19 do
  6852. swait()
  6853. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  6854. end
  6855. hum.CameraOffset = vt(0,0,0)
  6856. end))
  6857. coroutine.resume(coroutine.create(function()
  6858. local eff = Instance.new("ParticleEmitter",dis)
  6859. eff.Texture = "rbxassetid://2273224484"
  6860. eff.LightEmission = 1
  6861. eff.Color = ColorSequence.new(dis.Color)
  6862. eff.Rate = 500000
  6863. eff.Lifetime = NumberRange.new(0.5,2)
  6864. 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)})
  6865. 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)})
  6866. eff.Speed = NumberRange.new(50,450)
  6867. eff.Drag = 5
  6868. eff.Rotation = NumberRange.new(-500,500)
  6869. eff.VelocitySpread = 9000
  6870. eff.RotSpeed = NumberRange.new(-50,50)
  6871. local eff2 = eff:Clone()
  6872. eff2.Parent = dis2
  6873. eff2.LightEmission = 0
  6874. eff2.Color = ColorSequence.new(dis2.Color)
  6875. wait(0.25)
  6876. eff.Enabled = false
  6877. eff2.Enabled = false
  6878. end))
  6879. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  6880. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  6881. for i = 0, 2 do
  6882. 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)
  6883. 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)
  6884. end
  6885. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  6886. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  6887. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  6888. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  6889. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  6890. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  6891. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  6892. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  6893. end))
  6894. game:GetService("Debris"):AddItem(dis, 5)
  6895. game:GetService("Debris"):AddItem(dis2, 5)
  6896. 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)
  6897. 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)
  6898. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6899. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6900. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  6901. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  6902. end
  6903. attack = false
  6904. hum.WalkSpeed = storehumanoidWS
  6905. end
  6906. function FallenDEMISE()
  6907. attack = true
  6908. hum.WalkSpeed = 0
  6909. local keptcolor = MAINRUINCOLOR
  6910. bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
  6911. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  6912. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  6913. for i = 0, 15, 0.1 do
  6914. swait()
  6915. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6916. 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)))
  6917. local at1 = Instance.new("Attachment",dis)
  6918. at1.Position = vt(-25000,0,0)
  6919. local at2 = Instance.new("Attachment",dis)
  6920. at2.Position = vt(25000,0,0)
  6921. local trl = Instance.new('Trail',dis)
  6922. trl.Attachment0 = at1
  6923. trl.FaceCamera = true
  6924. trl.Attachment1 = at2
  6925. trl.Texture = "rbxassetid://1049219073"
  6926. trl.LightEmission = 1
  6927. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6928. trl.Color = ColorSequence.new(dis.Color)
  6929. trl.Lifetime = 5
  6930. local bv = Instance.new("BodyVelocity")
  6931. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6932. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6933. bv.Parent = dis
  6934. game:GetService("Debris"):AddItem(dis, 1)
  6935. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  6936. 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"))
  6937. 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"))
  6938. 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)
  6939. 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)
  6940. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6941. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6942. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6943. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6944. end
  6945. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  6946. for i = 0, 30, 0.1 do
  6947. swait()
  6948. coroutine.resume(coroutine.create(function()
  6949. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  6950. if v:FindFirstChild('Head') then
  6951. dmg(v)
  6952. end
  6953. end
  6954. end))
  6955. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6956. 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)))
  6957. local at1 = Instance.new("Attachment",dis)
  6958. at1.Position = vt(-50000,0,0)
  6959. local at2 = Instance.new("Attachment",dis)
  6960. at2.Position = vt(50000,0,0)
  6961. local trl = Instance.new('Trail',dis)
  6962. trl.Attachment0 = at1
  6963. trl.FaceCamera = true
  6964. trl.Attachment1 = at2
  6965. trl.Texture = "rbxassetid://1049219073"
  6966. trl.LightEmission = 1
  6967. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6968. trl.Color = ColorSequence.new(dis.Color)
  6969. trl.Lifetime = 10
  6970. local bv = Instance.new("BodyVelocity")
  6971. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6972. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  6973. bv.Parent = dis
  6974. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  6975. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  6976. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  6977. 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"))
  6978. 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"))
  6979. 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"))
  6980. 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"))
  6981. for i = 0, 2 do
  6982. 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,MAINRUINCOLOR)
  6983. end
  6984. 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)
  6985. 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)
  6986. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6987. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6988. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6989. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6990. end
  6991. attack = false
  6992. hum.WalkSpeed = storehumanoidWS
  6993. end
  6994.  
  6995. function SpeedDrop()
  6996. attack = true
  6997. hum.WalkSpeed = 0
  6998. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  6999. local poste = 3
  7000. local rotation = 0
  7001. local rate = 0
  7002. bosschatfunc("AUFHHIGYBIBYHHIHIGHGI",MAINRUINCOLOR.Color,2)
  7003. for i = 0, 124 do
  7004. swait()
  7005. rotation = rotation + rate
  7006. poste = poste + 0.1
  7007. rate = rate + 0.1
  7008. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  7009. 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,MAINRUINCOLOR)
  7010. 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,MAINRUINCOLOR)
  7011. 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,MAINRUINCOLOR)
  7012. 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,MAINRUINCOLOR)
  7013. 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,MAINRUINCOLOR)
  7014. 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)
  7015. 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)
  7016. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  7017. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  7018. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  7019. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  7020. end
  7021. CameraEnshaking(3,7)
  7022. bosschatfunc("AN ERROR HAS OCCURED",MAINRUINCOLOR.Color,2)
  7023. local loc = Instance.new("Part", char)
  7024. loc.BrickColor = MAINRUINCOLOR
  7025. loc.CanCollide = false
  7026. loc.FormFactor = 3
  7027. loc.Name = "Ring"
  7028. loc.Material = "Neon"
  7029. loc.Size = Vector3.new(1, 1, 1)
  7030. loc.Transparency = 1
  7031. loc.TopSurface = 0
  7032. loc.BottomSurface = 0
  7033. loc.Anchored = true
  7034. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  7035. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  7036. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  7037. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  7038. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  7039. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  7040. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  7041. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  7042. coroutine.resume(coroutine.create(function()
  7043. local eff = Instance.new("ParticleEmitter",loc)
  7044. eff.Texture = "rbxassetid://363275192"
  7045. eff.LightEmission = 0.95
  7046. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7047. eff.Rate = 10000
  7048. eff.Lifetime = NumberRange.new(1)
  7049. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  7050. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7051. eff.Speed = NumberRange.new(100,500)
  7052. eff.Drag = 5
  7053. eff.Rotation = NumberRange.new(-500,500)
  7054. eff.VelocitySpread = 9000
  7055. eff.RotSpeed = NumberRange.new(-50,50)
  7056. wait(0.5)
  7057. eff.Enabled = false
  7058. end))
  7059. for i = 0, 49 do
  7060. 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,MAINRUINCOLOR)
  7061. end
  7062. for i = 0, 9 do
  7063. 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,MAINRUINCOLOR)
  7064. end
  7065. game:GetService("Debris"):AddItem(loc, 5)
  7066. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  7067. hum.WalkSpeed = storehumanoidWS
  7068. attack = false
  7069. end
  7070.  
  7071. function cutesigh()
  7072. attack = true
  7073. hum.WalkSpeed = 0
  7074. bosschatfunc("sigh~~",MAINRUINCOLOR.Color,2)
  7075. local blush = Instance.new("Decal",hed)
  7076. blush.Texture = "rbxassetid://898404027"
  7077. blush.Face = "Front"
  7078. CFuncs["Sound"].Create("rbxassetid://294861193", char, 9,1)
  7079. for i = 0, 9, 0.1 do
  7080. swait()
  7081. 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)
  7082. 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)
  7083. 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(-13 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1)
  7084. 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)
  7085. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 + 0 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 5 * math.cos(sine / 51))),.1)
  7086. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0 * math.cos(sine / 73)),math.rad(2 - 3 * math.cos(sine / 53)),math.rad(-33 - 5 * math.cos(sine / 51))),.1)
  7087. end
  7088. coroutine.resume(coroutine.create(function()
  7089. for i = 0, 49 do
  7090. swait()
  7091. blush.Transparency = blush.Transparency + 0.02
  7092. end
  7093. blush:Destroy()
  7094. end))
  7095. hum.WalkSpeed = storehumanoidWS
  7096. attack = false
  7097. end
  7098.  
  7099. function smiter()
  7100. local targetted = nil
  7101. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  7102. targetted = mouse.Target.Parent
  7103. end
  7104. if targetted ~= nil then
  7105. RootPart.CFrame = FaceMouse()[1]
  7106. attack = true
  7107. local radm = math.random(1,3)
  7108. if radm == 1 then
  7109. bosschatfunc("SMITED!!",MAINRUINCOLOR.Color,1)
  7110. elseif radm == 2 then
  7111. bosschatfunc("FROM ABOVE!!",MAINRUINCOLOR.Color,1)
  7112. elseif radm == 3 then
  7113. bosschatfunc("LOOK UP!!",MAINRUINCOLOR.Color,1)
  7114. end
  7115. hum.WalkSpeed = 0
  7116. coroutine.resume(coroutine.create(function()
  7117. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  7118. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  7119. local vel = Instance.new("BodyPosition", targetted.Head)
  7120. vel.P = 12500
  7121. vel.D = 1000
  7122. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7123. vel.position = targetted.Head.CFrame.p
  7124. end))
  7125. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  7126. CFuncs["EchoSound"].Create("rbxassetid://1436242685", char, 4, 1,0,10,0.15,0.5,1)
  7127. CFuncs["EchoSound"].Create("rbxassetid://1436242685", root, 60, 1,0,10,0.15,0.5,1)
  7128. for i = 0,4,0.1 do
  7129. swait()
  7130. 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,MAINRUINCOLOR)
  7131. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  7132. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  7133. 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)
  7134. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7135. 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)
  7136. 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)
  7137. end
  7138. coroutine.resume(coroutine.create(function()
  7139. CameraEnshaking(6,5)
  7140. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  7141. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  7142. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  7143. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  7144. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7145. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7146. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7147. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7148. coroutine.resume(coroutine.create(function()
  7149. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7150. eff.Texture = "rbxassetid://2273224484"
  7151. eff.LightEmission = 1
  7152. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  7153. eff.Rate = 500000
  7154. eff.Lifetime = NumberRange.new(0.5,2)
  7155. 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)})
  7156. 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)})
  7157. eff.Speed = NumberRange.new(20,250)
  7158. eff.Drag = 5
  7159. eff.Rotation = NumberRange.new(-500,500)
  7160. eff.VelocitySpread = 9000
  7161. eff.RotSpeed = NumberRange.new(-50,50)
  7162. wait(0.25)
  7163. eff.Enabled = false
  7164. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7165. eff.Texture = "rbxassetid://363275192"
  7166. eff.LightEmission = 0.95
  7167. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7168. eff.Rate = 10000
  7169. eff.Lifetime = NumberRange.new(1.5)
  7170. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  7171. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7172. eff.Speed = NumberRange.new(25,150)
  7173. eff.Drag = 5
  7174. eff.Rotation = NumberRange.new(-500,500)
  7175. eff.VelocitySpread = 9000
  7176. eff.RotSpeed = NumberRange.new(-50,50)
  7177. local eff2 = eff:Clone()
  7178. eff2.Parent = targetted.Head
  7179. eff2.Texture = "rbxassetid://284205403"
  7180. eff2.Rate = 10000
  7181. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7182. eff2.Drag = 5
  7183. eff2.Rotation = NumberRange.new(-500,500)
  7184. eff2.VelocitySpread = 9000
  7185. wait(0.5)
  7186. eff2.Enabled = false
  7187. eff.Enabled = false
  7188. end))
  7189. for i = 0, 9 do
  7190. 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,MAINRUINCOLOR)
  7191. end
  7192. for i = 0, 49 do
  7193. local rsiz = math.random(10,50)
  7194. 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,MAINRUINCOLOR,0)
  7195. end
  7196. game:GetService("Debris"):AddItem(vel,1)
  7197. dmg(targetted)
  7198. end))
  7199. for i = 0,1,0.1 do
  7200. swait()
  7201. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  7202. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  7203. 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)
  7204. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7205. 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)
  7206. 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)
  7207. end
  7208. attack = false
  7209. hum.WalkSpeed = storehumanoidWS
  7210. end
  7211. end
  7212.  
  7213. function shytaunty()
  7214. attack = true
  7215. hum.WalkSpeed = 0
  7216. CFuncs["Sound"].Create("rbxassetid://543623779", char, 1, 1)
  7217. local blush = Instance.new("Decal",hed)
  7218. blush.Texture = "rbxassetid://898404027"
  7219. blush.Face = "Front"
  7220. for i = 0, 13, 0.1 do
  7221. swait()
  7222. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1)
  7223. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1)
  7224. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1)
  7225. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2 - 2.5 * math.cos(sine / 28)),math.rad(20 + 5 * math.cos(sine / 62)),math.rad(35 + 5 * math.cos(sine / 59))),.1)
  7226. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 1 * math.cos(sine / 53)),math.rad(0),math.rad(-60 + 2 * math.cos(sine / 37))),.1)
  7227. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(26 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(59 - 3 * math.cos(sine / 57) )),.1)
  7228. end
  7229. coroutine.resume(coroutine.create(function()
  7230. for i = 0, 49 do
  7231. swait()
  7232. blush.Transparency = blush.Transparency + 0.02
  7233. end
  7234. blush:Destroy()
  7235. end))
  7236. hum.WalkSpeed = storehumanoidWS
  7237. attack = false
  7238. end
  7239.  
  7240. function PureBomb()
  7241. attack = true
  7242. CFuncs["EchoSound"].Create("rbxassetid://1436241485", char, 5, 1,0,10,0.15,0.5,1)
  7243. CFuncs["EchoSound"].Create("rbxassetid://1436241485", root, 60, 1,0,10,0.15,0.5,1)
  7244. bosschatfunc("Purified..",MAINRUINCOLOR.Color,2)
  7245. local orb = Instance.new("Part", char)
  7246. orb.Anchored = true
  7247. orb.BrickColor = BrickColor.new("Toothpaste")
  7248. orb.CanCollide = false
  7249. orb.FormFactor = 3
  7250. orb.Name = "Ring"
  7251. orb.Material = "Neon"
  7252. orb.Size = Vector3.new(1, 1, 1)
  7253. orb.Transparency = 0
  7254. orb.TopSurface = 0
  7255. orb.BottomSurface = 0
  7256. local orbm = Instance.new("SpecialMesh", orb)
  7257. orbm.MeshType = "Sphere"
  7258. orbm.Name = "SizeMesh"
  7259. orbm.Scale = vt(0,0,0)
  7260. local scaled = 0.1
  7261. local posid = 0
  7262. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 30,1)
  7263. for i = 0, 5, 0.1 do
  7264. swait()
  7265. scaled = scaled - 0.001
  7266. posid = posid - scaled
  7267. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7268. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  7269. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10)
  7270. PixelBlockNeg(2,1,"Add",orb.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.01,BrickColor.new("Toothpaste"),0)
  7271. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  7272. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  7273. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7274. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7275. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  7276. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  7277. end
  7278. for i = 0, 2, 0.1 do
  7279. swait()
  7280. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7281. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  7282. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  7283. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  7284. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  7285. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  7286. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  7287. end
  7288. CFuncs["EchoSound"].Create("rbxassetid://1436240026", char, 4, 1,0,10,0.15,0.5,1)
  7289. CFuncs["EchoSound"].Create("rbxassetid://1436240026", root, 60, 1,0,10,0.15,0.5,1)
  7290. bosschatfunc("BOMB!!",MAINRUINCOLOR.Color,2)
  7291. coroutine.resume(coroutine.create(function()
  7292. orb.Anchored = false
  7293. CFuncs["Sound"].Create("rbxassetid://260433768", root, 555,1)
  7294. local a = Instance.new("Part",workspace)
  7295. a.Name = "Direction"
  7296. a.Anchored = true
  7297. a.BrickColor = bc("Bright red")
  7298. a.Material = "Neon"
  7299. a.Transparency = 1
  7300. a.CanCollide = false
  7301. local ray = Ray.new(
  7302. orb.CFrame.p, -- origin
  7303. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7304. )
  7305. local ignore = orb
  7306. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7307. a.BottomSurface = 10
  7308. a.TopSurface = 10
  7309. local distance = (orb.CFrame.p - position).magnitude
  7310. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7311. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  7312. orb.CFrame = a.CFrame
  7313. a:Destroy()
  7314. local bv = Instance.new("BodyVelocity")
  7315. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7316. bv.velocity = orb.CFrame.lookVector*125
  7317. bv.Parent = orb
  7318. local hitted = false
  7319. game:GetService("Debris"):AddItem(orb, 15)
  7320. wait()
  7321. local hit =orb.Touched:connect(function(hit)
  7322. if hitted == false then
  7323. hitted = true
  7324. CameraEnshaking(10,2.5)
  7325. MagniDamage(orb, 65, 65,90, 0, "Normal")
  7326. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  7327. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  7328. for i = 0, 49 do
  7329. PixelBlock(1,math.random(1,30),"Add",orb.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)
  7330. end
  7331. local eff = Instance.new("ParticleEmitter",orb)
  7332. eff.Texture = "rbxassetid://2273224484"
  7333. eff.LightEmission = 1
  7334. eff.Color = ColorSequence.new(Color3.new(4/255,175/255,236/255))
  7335. eff.Rate = 500000
  7336. eff.Lifetime = NumberRange.new(0.5,2)
  7337. 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)})
  7338. 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)})
  7339. eff.Speed = NumberRange.new(20,250)
  7340. eff.Drag = 5
  7341. eff.Rotation = NumberRange.new(-500,500)
  7342. eff.VelocitySpread = 9000
  7343. eff.RotSpeed = NumberRange.new(-50,50)
  7344. coroutine.resume(coroutine.create(function()
  7345. wait(0.25)
  7346. eff.Enabled = false
  7347. end))
  7348. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  7349. for i = 0, 9 do
  7350. sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  7351. sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  7352. end
  7353. orb.Anchored = true
  7354. orb.Transparency = 1
  7355. local eff = Instance.new("ParticleEmitter",orb)
  7356. eff.Texture = "rbxassetid://2273224484"
  7357. eff.LightEmission = 1
  7358. eff.Color = ColorSequence.new(Color3.new(M))
  7359. eff.Rate = 500000
  7360. eff.Lifetime = NumberRange.new(0.5,2)
  7361. 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)})
  7362. 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)})
  7363. eff.Speed = NumberRange.new(20,250)
  7364. eff.Drag = 5
  7365. eff.Rotation = NumberRange.new(-500,500)
  7366. eff.VelocitySpread = 9000
  7367. eff.RotSpeed = NumberRange.new(-50,50)
  7368. coroutine.resume(coroutine.create(function()
  7369. wait(1)
  7370. eff.Enabled = false
  7371. end))
  7372. wait(8)
  7373. orb:Destroy()
  7374. end
  7375. end)
  7376. end))
  7377. for i = 0, 1, 0.1 do
  7378. swait()
  7379. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  7380. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  7381. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  7382. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  7383. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  7384. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  7385. end
  7386. attack = false
  7387. end
  7388.  
  7389.  
  7390. function BeamOfDeath()
  7391. coroutine.resume(coroutine.create(function()
  7392. attack = true
  7393. hum.WalkSpeed = 0
  7394. for i = 0, 11, 0.1 do
  7395. swait()
  7396. 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)
  7397. 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)
  7398. 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(-16 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1)
  7399. 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)
  7400. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),-0.15)*angles(math.rad(125 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 14 * math.cos(sine / 45))),.1)
  7401. 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)
  7402. end
  7403. for i = 0, 1, 0.1 do
  7404. swait()
  7405. 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)
  7406. 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)
  7407. 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(16 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1)
  7408. 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)
  7409. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.15)*angles(math.rad(-5 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 14 * math.cos(sine / 45))),.1)
  7410. 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)
  7411. end
  7412. hum.WalkSpeed = storehumanoidWS
  7413. attack = false
  7414. end))
  7415. CFuncs["Sound"].Create("rbxassetid://430315987", char, 5, 1,0,10,0.10,0.25,1)
  7416. local radm = math.random(1,3)
  7417. if radm == 1 then
  7418. bosschatfunc("YAHHHH!!!",MAINRUINCOLOR.Color,1)
  7419. elseif radm == 2 then
  7420. bosschatfunc("TAKE THAT!!",MAINRUINCOLOR.Color,1)
  7421. elseif radm == 3 then
  7422. bosschatfunc("CONSUMED!!!",MAINRUINCOLOR.Color,1)
  7423. end
  7424. local keptcolor = MAINRUINCOLOR
  7425. local orb = Instance.new("Part", char)
  7426. orb.BrickColor = keptcolor
  7427. orb.CanCollide = false
  7428. orb.FormFactor = 3
  7429. orb.Name = "Ring"
  7430. orb.Material = "Neon"
  7431. orb.Size = Vector3.new(1, 1, 1)
  7432. orb.Transparency = 1
  7433. orb.TopSurface = 0
  7434. orb.BottomSurface = 0
  7435. local orbm = Instance.new("SpecialMesh", orb)
  7436. orbm.MeshType = "Sphere"
  7437. orbm.Name = "SizeMesh"
  7438. orbm.Scale = vt(22.5,10000,22.5)
  7439. orb.CFrame = mouse.Hit
  7440. orb.Anchored = true
  7441. orb.Orientation = vt(0,0,0)
  7442. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  7443. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 0.5, 1.2)
  7444. coroutine.resume(coroutine.create(function()
  7445. coroutine.resume(coroutine.create(function()
  7446. for i = 0, 175 do
  7447. swait()
  7448. orbm.Scale = orbm.Scale - vt(0.1,0,0.1)
  7449. orb.Transparency = orb.Transparency - 0.005
  7450. end
  7451. end))
  7452. wait(2)
  7453. coroutine.resume(coroutine.create(function()
  7454. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  7455. if hfr ~= nil then
  7456. for i = 0, 24.5 do
  7457. local deb = Instance.new("Part", char)
  7458. deb.Anchored = true
  7459. deb.CanCollide = false
  7460. deb.FormFactor = 3
  7461. deb.Name = "Ring"
  7462. deb.Material = hitfloor.Material
  7463. deb.Color = hitfloor.Color
  7464. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  7465. deb.Transparency = 0
  7466. deb.TopSurface = 0
  7467. deb.BottomSurface = 0
  7468. 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)))
  7469. local deb2 = Instance.new("Part", char)
  7470. deb2.CanCollide = false
  7471. deb2.FormFactor = 3
  7472. deb2.Name = "Ring"
  7473. deb2.Material = hitfloor.Material
  7474. deb2.Color = hitfloor.Color
  7475. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  7476. deb2.Transparency = 0
  7477. deb2.TopSurface = 0
  7478. deb2.BottomSurface = 0
  7479. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  7480. 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)))
  7481. local eff = Instance.new("ParticleEmitter",deb)
  7482. eff.Texture = "rbxassetid://363275192"
  7483. eff.LightEmission = 0.95
  7484. eff.Color = ColorSequence.new(keptcolor.Color)
  7485. eff.Rate = 100
  7486. eff.Lifetime = NumberRange.new(1)
  7487. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  7488. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7489. eff.Speed = NumberRange.new(0,5)
  7490. eff.Rotation = NumberRange.new(-500,500)
  7491. eff.VelocitySpread = 9000
  7492. eff.RotSpeed = NumberRange.new(-10,10)
  7493. local at1 = Instance.new('Attachment',deb2)
  7494. at1.Position = vt(0,15,0)
  7495. local at2 = Instance.new('Attachment',deb2)
  7496. at2.Position = vt(0,-15,0)
  7497. local tl = Instance.new('Trail',deb2)
  7498. tl.Attachment0 = at1
  7499. tl.Attachment1 = at2
  7500. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7501. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  7502. tl.Lifetime = 1
  7503. game:GetService("Debris"):AddItem(deb,30)
  7504. game:GetService("Debris"):AddItem(deb2,30)
  7505. coroutine.resume(coroutine.create(function()
  7506. wait(15)
  7507. eff.Enabled = false
  7508. for i = 0, 49 do
  7509. swait()
  7510. deb.Transparency = deb.Transparency + 0.02
  7511. end
  7512. wait(1)
  7513. deb:Destroy()
  7514. end))
  7515. end
  7516. end
  7517. end))
  7518. for i = 0, 199 do
  7519. swait(1.5)
  7520. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  7521. if v:FindFirstChild('Head') then
  7522. dmg(v)
  7523. end
  7524. end
  7525. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  7526. 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)
  7527. 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)
  7528. 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)
  7529. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  7530. end
  7531. orb:Destroy()
  7532. end))
  7533. end
  7534.  
  7535. function Beams()
  7536. attack = true
  7537. hum.WalkSpeed = 0
  7538. CFuncs["EchoSound"].Create("rbxassetid://1436242274", char, 8, 1,0,10,0.15,0.5,1)
  7539. CFuncs["EchoSound"].Create("rbxassetid://1436242274", root, 60, 1,0,10,0.15,0.5,1)
  7540. bosschatfunc("You'll gone..",MAINRUINCOLOR.Color,2)
  7541. local keptcolor = MAINRUINCOLOR
  7542. coroutine.resume(coroutine.create(function()
  7543. for i = 0, 96 do
  7544. swait(5)
  7545. local orb = Instance.new("Part", char)
  7546. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  7547. orb.BrickColor = keptcolor
  7548. orb.CanCollide = false
  7549. orb.FormFactor = 3
  7550. orb.Name = "Ring"
  7551. orb.Material = "Neon"
  7552. orb.Size = Vector3.new(1, 1, 1)
  7553. orb.Transparency = 0
  7554. orb.TopSurface = 0
  7555. orb.BottomSurface = 0
  7556. orb.Anchored = true
  7557. local orbm = Instance.new("SpecialMesh", orb)
  7558. orbm.MeshType = "Sphere"
  7559. orbm.Name = "SizeMesh"
  7560. orbm.Scale = vt(1.25,1.25,1.25)
  7561. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  7562. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7563. coroutine.resume(coroutine.create(function()
  7564. wait(0.5)
  7565. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  7566. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7567. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7568. orb.Transparency = 1
  7569. local a = Instance.new("Part",char)
  7570. a.Name = "Direction"
  7571. a.Anchored = true
  7572. a.BrickColor = keptcolor
  7573. a.Material = "Neon"
  7574. a.Transparency = 0.25
  7575. a.Shape = "Cylinder"
  7576. local ht = Instance.new("Part",char)
  7577. ht.Name = "DirectionHit"
  7578. ht.Anchored = true
  7579. ht.BrickColor = keptcolor
  7580. ht.CanCollide = false
  7581. ht.Transparency = 1
  7582. ht.Size = vt(0.1,0.1,0.1)
  7583. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.6)
  7584. a.CanCollide = false
  7585. local ray = Ray.new(
  7586. orb.CFrame.p, -- origin
  7587. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7588. )
  7589. local ignore = char
  7590. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7591. a.BottomSurface = 10
  7592. a.TopSurface = 10
  7593. local distance = (orb.CFrame.p - position).magnitude
  7594. a.Size = Vector3.new(distance,1,1)
  7595. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7596. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7597. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7598. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7599. MagniDamage(ht, 9, 30,60, 0, "Normal")
  7600. coroutine.resume(coroutine.create(function()
  7601. local eff = Instance.new("ParticleEmitter",ht)
  7602. eff.Texture = "rbxassetid://284205403"
  7603. eff.LightEmission = 0.95
  7604. eff.Color = ColorSequence.new(keptcolor.Color)
  7605. eff.Rate = 500
  7606. eff.Lifetime = NumberRange.new(0.5)
  7607. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7608. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7609. eff.Speed = NumberRange.new(10,50)
  7610. eff.Drag = 5
  7611. eff.Rotation = NumberRange.new(-500,500)
  7612. eff.VelocitySpread = 9000
  7613. eff.RotSpeed = NumberRange.new(-500,500)
  7614. wait(0.25)
  7615. eff.Enabled = false
  7616. end))
  7617. for i = 0, 4 do
  7618. 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)
  7619. 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)
  7620. local rsiz = math.random(10,30)
  7621. 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)
  7622. end
  7623. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7624. local msh = Instance.new("SpecialMesh",a)
  7625. msh.MeshType = "Cylinder"
  7626. msh.Scale = vt(1,1,1)
  7627. for i = 0, 49 do
  7628. swait()
  7629. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  7630. a.Transparency = a.Transparency + 0.02
  7631. end
  7632. orb:Destroy()
  7633. a:Destroy()
  7634. ht:Destroy()
  7635. end))
  7636. game:GetService("Debris"):AddItem(orb, 10)
  7637. end
  7638. end))
  7639. for i = 0,6,0.1 do
  7640. swait()
  7641. 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)
  7642. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.2 * math.cos(sine / 35))* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  7643. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  7644. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  7645. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  7646. 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)
  7647. 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)
  7648. end
  7649. hum.WalkSpeed = storehumanoidWS
  7650. attack = false
  7651. end
  7652.  
  7653. function CalamityTrans()
  7654. attack = true
  7655. rainbowmode = false
  7656. chaosmode = false
  7657. ModeOfGlitch = 8889
  7658. hum.WalkSpeed = 0
  7659. newThemeCust("rbxassetid://723652641",0,1,1.25)
  7660. local elocacenter = CreateParta(root,1,1,"SmoothPlastic",BrickColor.random())
  7661. elocacenter.Anchored = true
  7662. elocacenter.CFrame = root.CFrame
  7663. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7664. eloca1.Anchored = true
  7665. eloca1.CFrame = elocacenter.CFrame
  7666. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7667. eloca2.Anchored = true
  7668. eloca2.CFrame = elocacenter.CFrame
  7669. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7670. eloca3.Anchored = true
  7671. eloca3.CFrame = elocacenter.CFrame
  7672. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7673. eloca4.Anchored = true
  7674. eloca4.CFrame = elocacenter.CFrame
  7675. local lookavec = 0
  7676. local speeds = 0
  7677. CameraEnshaking(3,2.5)
  7678. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7679. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7680. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7681. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7682. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7683. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7684. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 10, 1)
  7685. for i = 0, 5, 0.1 do
  7686. swait()
  7687. ---
  7688. lookavec = lookavec + 1
  7689. speeds = speeds + 10
  7690. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7691. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7692. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7693. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7694. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7695. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7696. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7697. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7698. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7699. ---
  7700. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7701. 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)),.1)
  7702. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7703. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7704. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  7705. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90 - 2.5 * math.cos(sine / 28))),.1)
  7706. end
  7707. for i = 0, 5, 0.1 do
  7708. swait()
  7709. ---
  7710. speeds = speeds + 10
  7711. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7712. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7713. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7714. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7715. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7716. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7717. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7718. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7719. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7720. ---
  7721. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7722. 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)),.1)
  7723. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7724. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7725. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  7726. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90 - 2.5 * math.cos(sine / 28))),.1)
  7727. end
  7728. MAINRUINCOLOR = BrickColor.new("Bright violet")
  7729. CFuncs["Sound"].Create("rbxassetid://468991944", eloca1, 5, 1)
  7730. CFuncs["Sound"].Create("rbxassetid://468991944", eloca2, 5, 1)
  7731. CFuncs["Sound"].Create("rbxassetid://468991944", eloca3, 5, 1)
  7732. CFuncs["Sound"].Create("rbxassetid://468991944", eloca4, 5, 1)
  7733. CameraEnshaking(1,3)
  7734. for i = 0, 24 do
  7735. PixelBlock(1,math.random(5,25),"Add",eloca1.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.1,MAINRUINCOLOR,0)
  7736. PixelBlock(1,math.random(5,25),"Add",eloca2.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.1,MAINRUINCOLOR,0)
  7737. PixelBlock(1,math.random(5,25),"Add",eloca3.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.1,MAINRUINCOLOR,0)
  7738. PixelBlock(1,math.random(5,25),"Add",eloca4.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.1,MAINRUINCOLOR,0)
  7739. end
  7740. sphere(1,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7741. sphere(2,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7742. sphere(3,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7743. sphere(1,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7744. sphere(2,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7745. sphere(3,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7746. sphere(1,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7747. sphere(2,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7748. sphere(3,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7749. sphere(1,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7750. sphere(2,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7751. sphere(3,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7752. for i = 0, 5, 0.1 do
  7753. swait()
  7754. ---
  7755. lookavec = lookavec - 1
  7756. speeds = speeds + 10
  7757. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7758. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7759. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7760. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7761. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7762. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7763. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7764. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7765. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7766. ---
  7767. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7768. 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)),.1)
  7769. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7770. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7771. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  7772. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90 - 2.5 * math.cos(sine / 28))),.1)
  7773. end
  7774. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7775. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7776. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7777. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7778. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7779. for i = 0, 49 do
  7780. PixelBlock(1,math.random(8,16),"Add",root.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,MAINRUINCOLOR,0)
  7781. PixelBlock(2,math.random(16,32),"Add",root.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,MAINRUINCOLOR,0)
  7782. end
  7783. CameraEnshaking(5,6)
  7784. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7785. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  7786. CFuncs["Sound"].Create("rbxassetid://741272936", root, 5, 1)
  7787. CFuncs["Sound"].Create("rbxassetid://164881112", root, 5, 1)
  7788. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 5, 1)
  7789. CFuncs["Sound"].Create("rbxassetid://429123896", root, 5, 0.85)
  7790. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 5, 1)
  7791. storehumanoidWS = 100
  7792. hum.WalkSpeed = 100
  7793. rainbowmode = false
  7794. chaosmode = false
  7795. tl1.Enabled = true
  7796. tl2.Enabled = true
  7797. tl3.Enabled = true
  7798. RecolorTextAndRename("Galactical Guest",Color3.new(10,1,1),Color3.new(0.5,0,1),"Code")
  7799. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7800. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7801. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7802. for i, v in pairs(mw2:GetChildren()) do
  7803. if v:IsA("Part") then
  7804. v.BrickColor = MAINRUINCOLOR
  7805. v.Material = "Neon"
  7806. end
  7807. end
  7808. for i, v in pairs(mw1:GetChildren()) do
  7809. if v:IsA("Part") then
  7810. v.Transparency = 0
  7811. v.BrickColor = MAINRUINCOLOR
  7812. v.Material = "Neon"
  7813. end
  7814. end
  7815. for i, v in pairs(m:GetChildren()) do
  7816. if v:IsA("Part") then
  7817. v.Color = Color3.new(0.5,0,1)
  7818. v.Material = "Neon"
  7819. end
  7820. end
  7821. for i, v in pairs(m2:GetChildren()) do
  7822. if v:IsA("Part") then
  7823. v.Color = Color3.new(0.25,0,1)
  7824. v.Material = "Neon"
  7825. end
  7826. end
  7827. for i, v in pairs(m3:GetChildren()) do
  7828. if v:IsA("Part") then
  7829. v.Color = Color3.new(0.45,0,1)
  7830. v.Material = "Neon"
  7831. end
  7832. end
  7833. for i, v in pairs(extrawingmod1:GetChildren()) do
  7834. if v:IsA("Part") then
  7835. v.Transparency = 0.75
  7836. v.Color = Color3.new(0.25,0,1)
  7837. v.Material = "Neon"
  7838. end
  7839. end
  7840. for i, v in pairs(extrawingmod2:GetChildren()) do
  7841. if v:IsA("Part") then
  7842. v.Transparency = 0.75
  7843. v.Color = Color3.new(0.5,0,1)
  7844. v.Material = "Neon"
  7845. end
  7846. end
  7847. attack = false
  7848. end
  7849.  
  7850. function InsaneTrans()
  7851. attack = true
  7852. rainbowmode = false
  7853. chaosmode = false
  7854. ModeOfGlitch = 8889
  7855. hum.WalkSpeed = 0
  7856. newThemeCust("rbxassetid://183142252",1,1,10)
  7857. local elocacenter = CreateParta(root,1,1,"SmoothPlastic",BrickColor.random())
  7858. elocacenter.Anchored = true
  7859. elocacenter.CFrame = root.CFrame
  7860. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7861. eloca1.Anchored = true
  7862. eloca1.CFrame = elocacenter.CFrame
  7863. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7864. eloca2.Anchored = true
  7865. eloca2.CFrame = elocacenter.CFrame
  7866. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7867. eloca3.Anchored = true
  7868. eloca3.CFrame = elocacenter.CFrame
  7869. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7870. eloca4.Anchored = true
  7871. eloca4.CFrame = elocacenter.CFrame
  7872. local lookavec = 0
  7873. local speeds = 0
  7874. CameraEnshaking(3,2.5)
  7875. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7876. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7877. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7878. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7879. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7880. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7881. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 10, 1)
  7882. for i = 0, 5, 0.1 do
  7883. swait()
  7884. ---
  7885. lookavec = lookavec + 1
  7886. speeds = speeds + 10
  7887. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7888. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7889. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7890. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7891. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7892. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7893. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7894. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7895. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7896. ---
  7897. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7898. 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)),.1)
  7899. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7900. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7901. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  7902. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90 - 2.5 * math.cos(sine / 28))),.1)
  7903. end
  7904. for i = 0, 5, 0.1 do
  7905. swait()
  7906. ---
  7907. speeds = speeds + 10
  7908. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7909. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7910. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7911. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7912. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7913. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7914. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7915. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7916. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7917. ---
  7918. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7919. 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)),.1)
  7920. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7921. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7922. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  7923. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90 - 2.5 * math.cos(sine / 28))),.1)
  7924. end
  7925. MAINRUINCOLOR = BrickColor.new("Really black")
  7926. CFuncs["Sound"].Create("rbxassetid://468991944", eloca1, 5, 1)
  7927. CFuncs["Sound"].Create("rbxassetid://468991944", eloca2, 5, 1)
  7928. CFuncs["Sound"].Create("rbxassetid://468991944", eloca3, 5, 1)
  7929. CFuncs["Sound"].Create("rbxassetid://468991944", eloca4, 5, 1)
  7930. CameraEnshaking(1,3)
  7931. for i = 0, 24 do
  7932. PixelBlock(1,math.random(5,25),"Add",eloca1.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.1,MAINRUINCOLOR,0)
  7933. PixelBlock(1,math.random(5,25),"Add",eloca2.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.1,MAINRUINCOLOR,0)
  7934. PixelBlock(1,math.random(5,25),"Add",eloca3.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.1,MAINRUINCOLOR,0)
  7935. PixelBlock(1,math.random(5,25),"Add",eloca4.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.1,MAINRUINCOLOR,0)
  7936. end
  7937. sphere(1,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7938. sphere(2,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7939. sphere(3,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7940. sphere(1,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7941. sphere(2,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7942. sphere(3,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7943. sphere(1,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7944. sphere(2,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7945. sphere(3,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7946. sphere(1,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7947. sphere(2,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7948. sphere(3,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7949. for i = 0, 5, 0.1 do
  7950. swait()
  7951. ---
  7952. lookavec = lookavec - 1
  7953. speeds = speeds + 10
  7954. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7955. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7956. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7957. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7958. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7959. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7960. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7961. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7962. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7963. ---
  7964. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7965. 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)),.1)
  7966. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7967. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7968. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  7969. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90 - 2.5 * math.cos(sine / 28))),.1)
  7970. end
  7971. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7972. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7973. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7974. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7975. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7976. for i = 0, 49 do
  7977. PixelBlock(1,math.random(8,16),"Add",root.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,MAINRUINCOLOR,0)
  7978. PixelBlock(2,math.random(16,32),"Add",root.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,MAINRUINCOLOR,0)
  7979. end
  7980. CameraEnshaking(5,6)
  7981. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7982. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  7983. CFuncs["Sound"].Create("rbxassetid://741272936", root, 5, 1)
  7984. CFuncs["Sound"].Create("rbxassetid://164881112", root, 5, 1)
  7985. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 5, 1)
  7986. CFuncs["Sound"].Create("rbxassetid://429123896", root, 5, 0.85)
  7987. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 5, 1)
  7988. storehumanoidWS = 100
  7989. hum.WalkSpeed = 100
  7990. rainbowmode = false
  7991. chaosmode = false
  7992. tl1.Enabled = true
  7993. tl2.Enabled = true
  7994. tl3.Enabled = true
  7995. RecolorTextAndRename("The Insane Guest",Color3.new(170,0,0),Color3.new(0,0,0),"Antique")
  7996. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7997. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7998. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7999. for i, v in pairs(mw2:GetChildren()) do
  8000. if v:IsA("Part") then
  8001. v.BrickColor = MAINRUINCOLOR
  8002. v.Material = "Neon"
  8003. end
  8004. end
  8005. for i, v in pairs(mw1:GetChildren()) do
  8006. if v:IsA("Part") then
  8007. v.Transparency = 0
  8008. v.BrickColor = MAINRUINCOLOR
  8009. v.Material = "Neon"
  8010. end
  8011. end
  8012. for i, v in pairs(m:GetChildren()) do
  8013. if v:IsA("Part") then
  8014. v.Color = Color3.new(170,0,0)
  8015. v.Material = "Neon"
  8016. end
  8017. end
  8018. for i, v in pairs(m2:GetChildren()) do
  8019. if v:IsA("Part") then
  8020. v.Color = Color3.new(0,0,0)
  8021. v.Material = "Neon"
  8022. end
  8023. end
  8024. for i, v in pairs(m3:GetChildren()) do
  8025. if v:IsA("Part") then
  8026. v.Color = Color3.new(0,0,0)
  8027. v.Material = "Neon"
  8028. end
  8029. end
  8030. for i, v in pairs(extrawingmod1:GetChildren()) do
  8031. if v:IsA("Part") then
  8032. v.Transparency = 0.75
  8033. v.Color = Color3.new(0,0,0)
  8034. v.Material = "Neon"
  8035. end
  8036. end
  8037. for i, v in pairs(extrawingmod2:GetChildren()) do
  8038. if v:IsA("Part") then
  8039. v.Transparency = 0.75
  8040. v.Color = Color3.new(0,0,0)
  8041. v.Material = "Neon"
  8042. end
  8043. end
  8044. attack = false
  8045. end
  8046.  
  8047. function GleamingBeam()
  8048. attack = true
  8049. bosschatfunc("IT ENDS NOW!!!",MAINRUINCOLOR.Color,3)
  8050. CFuncs["EchoSound"].Create("rbxassetid://1535995570", char, 8, 1,0,10,0.15,0.5,1)
  8051. CFuncs["EchoSound"].Create("rbxassetid://1535995570", root, 60, 1,0,10,0.15,0.5,1)
  8052. local rsiz = math.random(1,15)
  8053. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8054. hb.Anchored = true
  8055. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8056. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  8057. for i = 0, 16, 0.1 do
  8058. swait()
  8059. rsiz = math.random(5,15)
  8060. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8061. sphereMK(math.random(3,9),0.25,"Add",sorb.CFrame*CFrame.new(0,-3,0)*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,MAINRUINCOLOR,-15)
  8062. sphere2(5,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.01,0.01,0.01,MAINRUINCOLOR)
  8063. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  8064. 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)),.1)
  8065. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(40)),.1)
  8066. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-40)),.1)
  8067. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  8068. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1)
  8069. end
  8070. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  8071. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  8072. for i = 0, 2 do
  8073. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  8074. end
  8075. sphere2(3,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8076. sphere2(6,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8077. sphere2(9,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8078. for i = 0, 49 do
  8079. local rsiza = math.random(1,15)
  8080. sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0)
  8081. end
  8082. local a = Instance.new("Part",Character)
  8083. a.Name = "Direction"
  8084. a.Anchored = true
  8085. a.BrickColor = MAINRUINCOLOR
  8086. a.Material = "Neon"
  8087. a.Transparency = 0
  8088. a.Shape = "Cylinder"
  8089. a.CanCollide = false
  8090. local ba = Instance.new("Part",Character)
  8091. ba.Name = "HitDirect"
  8092. ba.Anchored = true
  8093. ba.BrickColor = bc("Cool yellow")
  8094. ba.Material = "Neon"
  8095. ba.Transparency = 1
  8096. ba.CanCollide = false
  8097. local ray = Ray.new(
  8098. hb.CFrame.p, -- origin
  8099. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8100. )
  8101. local ignore = Character
  8102. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8103. a.BottomSurface = 10
  8104. a.TopSurface = 10
  8105. local distance = (hb.CFrame.p - position).magnitude
  8106. a.Size = Vector3.new(distance, 1, 1)
  8107. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8108. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8109. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8110. local msh = Instance.new("SpecialMesh",a)
  8111. msh.MeshType = "Cylinder"
  8112. msh.Scale = vt(1,4,4)
  8113. game:GetService("Debris"):AddItem(a, 30)
  8114. game:GetService("Debris"):AddItem(ba, 30)
  8115. for i = 0, 25, 0.1 do
  8116. swait()
  8117. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8118. ray = Ray.new(
  8119. hb.CFrame.p, -- origin
  8120. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8121. )
  8122. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8123. distance = (hb.CFrame.p - position).magnitude
  8124. a.Size = Vector3.new(distance, 1, 1)
  8125. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8126. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8127. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8128. rsiz = math.random(5,25)
  8129. MagniDamage(ba, 12, 40000,900000, 0, "Normal")
  8130. sphereMK(math.random(4,8),0.25,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,MAINRUINCOLOR,0)
  8131. for c = 0, 2 do
  8132. sphereMK(math.random(3,6),0.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,MAINRUINCOLOR,2)
  8133. end
  8134. sphere2(5,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4.2,4.2,4.2),0.01,0.01,0.01,MAINRUINCOLOR)
  8135. sphere2(5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(12,12,12),0.05,0.05,0.05,MAINRUINCOLOR)
  8136. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.6)
  8137. 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)),.6)
  8138. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(80)),.6)
  8139. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-80)),.6)
  8140. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(80)),.6)
  8141. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.6)
  8142. end
  8143. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  8144. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  8145. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  8146. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  8147. MagniDamage(ba, 30, 400000,9000000, 0, "Normal")
  8148. sphere2(1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
  8149. sphere2(2,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
  8150. sphere2(3,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
  8151. sphere2(3,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8152. sphere2(6,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8153. sphere2(9,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8154. for i = 0, 49 do
  8155. local rsiza = math.random(1,15)
  8156. sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0)
  8157. end
  8158. for i = 0, 49 do
  8159. rsiz = math.random(1,8)
  8160. sphereMK(math.random(1,3),1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz,rsiz,rsiz,0,MAINRUINCOLOR,2)
  8161. end
  8162. coroutine.resume(coroutine.create(function()
  8163. for i = 0, 99 do
  8164. swait()
  8165. a.Transparency = a.Transparency + 0.01
  8166. end
  8167. a:Destroy()
  8168. ba:Destroy()
  8169. end))
  8170. hb:Destroy()
  8171. attack = false
  8172. end
  8173.  
  8174. function DualGleamingBeam()
  8175. attack = true
  8176. hum.WalkSpeed = 0
  8177. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  8178. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  8179. local radm = math.random(1,3)
  8180. if radm == 1 then
  8181. bosschatfunc("YOU CAN'T ESCAPE THIS!!",MAINRUINCOLOR.Color,1)
  8182. elseif radm == 2 then
  8183. bosschatfunc("HOW DO YOU LIKE THIS?!",MAINRUINCOLOR.Color,1)
  8184. elseif radm == 3 then
  8185. bosschatfunc("You make the choice..",MAINRUINCOLOR.Color,1)
  8186. end
  8187. local rsiz = math.random(1,15)
  8188. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8189. hb.Anchored = true
  8190. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8191. local hb2 = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8192. hb2.Anchored = true
  8193. hb2.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8194. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  8195. for i = 0, 14, 0.1 do
  8196. swait()
  8197. rsiz = math.random(5,15)
  8198. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8199. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  8200. sphereMK(math.random(3,9),0.25,"Add",sorb.CFrame*CFrame.new(0,-3,0)*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,MAINRUINCOLOR,-15)
  8201. sphere2(5,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.01,0.01,0.01,MAINRUINCOLOR)
  8202. sphereMK(math.random(3,9),0.25,"Add",sorb2.CFrame*CFrame.new(0,-3,0)*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,BrickColor.new("Lime green"),-15)
  8203. sphere2(5,"Add",sorb2.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.01,0.01,0.01,BrickColor.new("Lime green"))
  8204. 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(-4 - 2 * math.cos(sine / 53)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  8205. 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(9 - 2 * math.cos(sine / 53)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  8206. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.3 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  8207. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.1)
  8208. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(120)),.1)
  8209. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-120)),.1)
  8210. end
  8211. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  8212. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  8213. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb2, 10,0.6)
  8214. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb2, 10,0.5)
  8215. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  8216. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb2, 10,1)
  8217. sphere2(3,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8218. sphere2(6,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8219. sphere2(9,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8220. sphere2(3,"Add",hb2.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.5,0.5),0.3,0.3,0.3,BrickColor.new("Lime green"))
  8221. sphere2(6,"Add",hb2.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.5,0.5),0.3,0.3,0.3,BrickColor.new("Lime green"))
  8222. sphere2(9,"Add",hb2.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.5,0.5),0.3,0.3,0.3,BrickColor.new("Lime green"))
  8223. for i = 0, 49 do
  8224. local rsiza = math.random(1,15)
  8225. sphereMK(math.random(1,5),0.75,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0)
  8226. sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0)
  8227. end
  8228. local a = Instance.new("Part",Character)
  8229. a.Name = "Direction"
  8230. a.Anchored = true
  8231. a.BrickColor = MAINRUINCOLOR
  8232. a.Material = "Neon"
  8233. a.Transparency = 0
  8234. a.Shape = "Cylinder"
  8235. a.CanCollide = false
  8236. local a2 = Instance.new("Part",Character)
  8237. a2.Name = "Direction"
  8238. a2.Anchored = true
  8239. a2.BrickColor = MAINRUINCOLOR
  8240. a2.Material = "Neon"
  8241. a2.Transparency = 0
  8242. a2.Shape = "Cylinder"
  8243. a2.CanCollide = false
  8244. local ba = Instance.new("Part",Character)
  8245. ba.Name = "HitDirect"
  8246. ba.Anchored = true
  8247. ba.BrickColor = MAINRUINCOLOR
  8248. ba.Material = "Neon"
  8249. ba.Transparency = 1
  8250. ba.CanCollide = false
  8251. local ba2 = Instance.new("Part",Character)
  8252. ba2.Name = "HitDirect"
  8253. ba2.Anchored = true
  8254. ba2.BrickColor = MAINRUINCOLOR
  8255. ba2.Material = "Neon"
  8256. ba2.Transparency = 1
  8257. ba2.CanCollide = false
  8258. local ray = Ray.new(
  8259. hb.CFrame.p, -- origin
  8260. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8261. )
  8262. local ignore = Character
  8263. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8264. local ray2 = Ray.new(
  8265. hb2.CFrame.p, -- origin
  8266. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  8267. )
  8268. local hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  8269. local distance2 = (hb2.CFrame.p - position).magnitude
  8270.  
  8271. a.BottomSurface = 10
  8272. a.TopSurface = 10
  8273. local distance = (hb.CFrame.p - position).magnitude
  8274. a.Size = Vector3.new(distance, 1, 1)
  8275. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8276. a2.BottomSurface = 10
  8277. a2.TopSurface = 10
  8278. a2.Size = Vector3.new(distance2, 1, 1)
  8279. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  8280. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8281. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  8282. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8283. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8284. local msh = Instance.new("SpecialMesh",a)
  8285. msh.MeshType = "Cylinder"
  8286. msh.Scale = vt(1,4,4)
  8287. local msh2 = Instance.new("SpecialMesh",a2)
  8288. msh2.MeshType = "Cylinder"
  8289. msh2.Scale = vt(1,4,4)
  8290. game:GetService("Debris"):AddItem(a, 30)
  8291. game:GetService("Debris"):AddItem(a2, 30)
  8292. game:GetService("Debris"):AddItem(ba, 30)
  8293. game:GetService("Debris"):AddItem(ba2, 30)
  8294. for i = 0, 20, 0.1 do
  8295. swait()
  8296. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8297. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  8298. ray = Ray.new(
  8299. hb.CFrame.p, -- origin
  8300. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8301. )
  8302. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8303. distance = (hb.CFrame.p - position).magnitude
  8304. ray2 = Ray.new(
  8305. hb2.CFrame.p, -- origin
  8306. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  8307. )
  8308. hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  8309. distance2 = (hb2.CFrame.p - position).magnitude
  8310. a.Size = Vector3.new(distance, 1, 1)
  8311. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8312. a2.Size = Vector3.new(distance2, 1, 1)
  8313. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  8314. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8315. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  8316. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8317. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8318. rsiz = math.random(5,25)
  8319. MagniDamage(ba, 12, 800,18000, 0, "Normal")
  8320. MagniDamage(ba2, 12, 800,18000, 0, "Normal")
  8321. for i, v in pairs(FindNearestHead(ba.CFrame.p, 4)) do
  8322. if v:FindFirstChild('Head') then
  8323. dmg(v)
  8324. end
  8325. end
  8326. coroutine.resume(coroutine.create(function()
  8327. local bx = Instance.new("Part",Character)
  8328. bx.Name = "Location"
  8329. bx.Anchored = true
  8330. bx.BrickColor = MAINRUINCOLOR
  8331. bx.Material = "Neon"
  8332. bx.Transparency = 1
  8333. bx.CanCollide = false
  8334. bx.Position = ba.Position
  8335. sphere2(2,"Add",bx.CFrame,vt(20,0.5,20),0.001,0,0.001,MAINRUINCOLOR)
  8336. wait(math.random(1,2))
  8337. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.1,0,0.1,bc("Lime green"))
  8338. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.25,0,0.25,MAINRUINCOLOR)
  8339. sphere2(6,"Add",bx.CFrame,vt(10,10,10),0.5,0.5,0.5,bc("Lime green"))
  8340. CFuncs["Sound"].Create("rbxassetid://1042693018", bx, 5,0.7)
  8341. CFuncs["Sound"].Create("rbxassetid://1042695469", bx, 5,0.8)
  8342. MagniDamage(bx, 20, 80000,900000, 0, "Normal")
  8343. for i, v in pairs(FindNearestHead(bx.CFrame.p, 15)) do
  8344. if v:FindFirstChild('Head') then
  8345. dmg(v)
  8346. end
  8347. end
  8348. wait(5)
  8349. bx:Destroy()
  8350. end))
  8351. sphereMK(math.random(4,8),0.25,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,BrickColor.new("Lime green"),0)
  8352. sphereMK(math.random(4,8),0.25,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,BrickColor.new("Lime green"),0)
  8353. for c = 0, 2 do
  8354. sphereMK(math.random(3,6),0.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,BrickColor.new("Lime green"),2)
  8355. end
  8356. sphere2(5,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4.2,4.2,4.2),0.01,0.01,0.01,MAINRUINCOLOR)
  8357. sphere2(5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(12,12,12),0.05,0.05,0.05,MAINRUINCOLOR)
  8358. sphere2(5,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4.2,4.2,4.2),0.01,0.01,0.01,MAINRUINCOLOR)
  8359. 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(-4 - 2 * math.cos(sine / 53)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  8360. 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(9 - 2 * math.cos(sine / 53)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  8361. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.3 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.05)
  8362. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.05)
  8363. RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-15)),.05)
  8364. LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(15)),.05)
  8365. end
  8366. for i = 0, 1 do
  8367. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  8368. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  8369. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  8370. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  8371. end
  8372. MagniDamage(ba, 30, 8000,180000, 0, "Normal")
  8373. MagniDamage(ba2, 30, 8000,180000, 0, "Normal")
  8374. for i, v in pairs(FindNearestHead(ba.CFrame.p, 10)) do
  8375. if v:FindFirstChild('Head') then
  8376. dmg(v)
  8377. end
  8378. end
  8379. sphere2(1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
  8380. sphere2(2,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
  8381. sphere2(3,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
  8382. sphere2(3,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8383. sphere2(6,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8384. sphere2(9,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8385. sphere2(3,"Add",hb2.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.5,0.5),0.3,0.3,0.3,bc("Lime green"))
  8386. sphere2(6,"Add",hb2.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.5,0.5),0.3,0.3,0.3,bc("Lime green"))
  8387. sphere2(9,"Add",hb2.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.5,0.5),0.3,0.3,0.3,bc("Lime green"))
  8388. for i = 0, 49 do
  8389. local rsiza = math.random(1,15)
  8390. sphereMK(math.random(1,5),0.75,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,bc("Lime green"),0)
  8391. sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,bc("Lime green"),0)
  8392. end
  8393. for i = 0, 49 do
  8394. rsiz = math.random(1,8)
  8395. sphereMK(math.random(1,3),1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz,rsiz,rsiz,0,bc("Lime green"),2)
  8396. end
  8397. coroutine.resume(coroutine.create(function()
  8398. for i = 0, 99 do
  8399. swait()
  8400. a.Transparency = a.Transparency + 0.01
  8401. a2.Transparency = a2.Transparency + 0.01
  8402. end
  8403. a:Destroy()
  8404. ba:Destroy()
  8405. a2:Destroy()
  8406. ba2:Destroy()
  8407. end))
  8408. hum.WalkSpeed = storehumanoidWS
  8409. hb:Destroy()
  8410. hb2:Destroy()
  8411. attack = false
  8412. end
  8413.  
  8414. function dragin()
  8415. local targetted = nil
  8416. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  8417. targetted = mouse.Target.Parent
  8418. end
  8419. if targetted ~= nil then
  8420. RootPart.CFrame = FaceMouse()[1]
  8421. attack = true
  8422. hum.WalkSpeed = 0
  8423. for x = 0, 1 do
  8424. for i = 0,1,0.5 do
  8425. swait()
  8426. 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)
  8427. 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)
  8428. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  8429. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8430. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  8431. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3)
  8432. end
  8433. for i = 0,1,0.5 do
  8434. swait()
  8435. 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(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  8436. 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(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
  8437. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
  8438. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8439. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  8440. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3)
  8441. end
  8442. for i = 0,1,0.5 do
  8443. swait()
  8444. 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(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  8445. 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(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
  8446. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(270)),.3)
  8447. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8448. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  8449. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3)
  8450. end
  8451. for i = 0,1,0.5 do
  8452. swait()
  8453. 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(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  8454. 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(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
  8455. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8456. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8457. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  8458. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3)
  8459. end
  8460. end
  8461. coroutine.resume(coroutine.create(function()
  8462. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 50
  8463. CFuncs["Sound"].Create("rbxassetid://884155627", targetted.Head, 1,1)
  8464. CFuncs["Sound"].Create("rbxassetid://153092213", targetted.Head, 2.5,1)
  8465. end))
  8466. local A1 = Instance.new("Attachment",targetted.Head)
  8467. local A2 = Instance.new("Attachment",sorb)
  8468. local Beem = Instance.new("Beam",tors)
  8469. Beem.Attachment0 = A1
  8470. Beem.Attachment1 = A2
  8471. Beem.Texture = "rbxassetid://897585362"
  8472. Beem.LightEmission = 0.75
  8473. Beem.FaceCamera = true
  8474. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  8475. Beem.Width0 = 1
  8476. Beem.Width1 = 1
  8477. Beem.TextureMode = "Wrap"
  8478. Beem.TextureLength = 1
  8479. Beem.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8480. 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(0,0,0),0.15,0.15,0.15,MAINRUINCOLOR)
  8481. 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(0,0,0),0.2,0.2,0.2,MAINRUINCOLOR)
  8482. for x = 0, 24 do
  8483. local rsiz = math.random(5,15)
  8484. sphereMK(math.random(1,5),0.25,"Add",targetted.Head.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,MAINRUINCOLOR,0)
  8485. end
  8486.  
  8487. CFuncs["EchoSound"].Create("rbxassetid://1448032965", char, 7, 1,0,10,0.15,0.5,1)
  8488. CFuncs["EchoSound"].Create("rbxassetid://1448032965", root, 60, 1,0,10,0.15,0.5,1)
  8489. local radm = math.random(1,2)
  8490. if radm == 1 then
  8491. bosschatfunc("GOTCHA!!",MAINRUINCOLOR.Color,1)
  8492. elseif radm == 2 then
  8493. bosschatfunc("COM'ERE!!",MAINRUINCOLOR.Color,1)
  8494. end
  8495. for i = 0,3,0.1 do
  8496. swait()
  8497. coroutine.resume(coroutine.create(function()
  8498. local rsiz = math.random(5,15)
  8499. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  8500. sphereMK(math.random(1,5),0.01,"Add",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))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  8501. end))
  8502. sphere2(8,"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.01,0.01,MAINRUINCOLOR)
  8503. 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)
  8504. 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)
  8505. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
  8506. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(-50)),.6)
  8507. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(50)),.6)
  8508. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.6)
  8509. end
  8510. CFuncs["Sound"].Create("rbxassetid://231917750", sorb, 1.25,0.9)
  8511. CFuncs["Sound"].Create("rbxassetid://1042716828", sorb, 1.5,1)
  8512. local vel = Instance.new("BodyPosition", targetted.Head)
  8513. vel.P = 12500
  8514. vel.D = 1000
  8515. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  8516. vel.position = hed.CFrame.p + root.CFrame.lookVector*2.75
  8517. for i = 0,4,0.1 do
  8518. swait()
  8519. coroutine.resume(coroutine.create(function()
  8520. local rsiz = math.random(5,15)
  8521. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  8522. sphereMK(math.random(1,5),0.01,"Add",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))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  8523. end))
  8524. sphere2(8,"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.01,0.01,MAINRUINCOLOR)
  8525. 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(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  8526. 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(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.2)
  8527. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  8528. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(40)),.2)
  8529. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(-50)),.2)
  8530. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.2)
  8531. end
  8532. local visibility = 0
  8533. coroutine.resume(coroutine.create(function()
  8534. for i = 0, 49 do
  8535. swait()
  8536. visibility = visibility + 0.02
  8537. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, visibility),NumberSequenceKeypoint.new(1, visibility)})
  8538. end
  8539. Beem:Destroy()
  8540. A1:Destroy()
  8541. A2:Destroy()
  8542. end))
  8543. game:GetService("Debris"):AddItem(vel,0.75)
  8544. attack = false
  8545. hum.WalkSpeed = storehumanoidWS
  8546.  
  8547. end
  8548. end
  8549.  
  8550. function hugg()
  8551. attack = true
  8552. hum.WalkSpeed = 5
  8553. local rsiz = math.random(5,15)
  8554. for i = 0, 2, 0.1 do
  8555. swait()
  8556. 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(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  8557. 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 + 1 * math.cos(sine / 34))),.3)
  8558. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8559. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(0)),.3)
  8560. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3)
  8561. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3)
  8562. end
  8563. CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
  8564. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8565. hb.Anchored = true
  8566. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8567. local huggedperson = nil
  8568. local act = false
  8569. local alreadydid = false
  8570. for i = 0, 3, 0.1 do
  8571. swait()
  8572. if act == false then
  8573. for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do
  8574. if v:FindFirstChild('Head') then
  8575. if alreadydid == false then
  8576. huggedperson = v
  8577. hum.WalkSpeed = 0
  8578. CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
  8579. CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
  8580. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
  8581. CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
  8582. local radm = math.random(1,3)
  8583. if radm == 1 then
  8584. bosschatfunc("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1)
  8585. elseif radm == 2 then
  8586. bosschatfunc("I..I'm interested in you",MAINRUINCOLOR.Color,1)
  8587. elseif radm == 3 then
  8588. bosschatfunc("Don't worry.. I'm with you",MAINRUINCOLOR.Color,1)
  8589. end
  8590. root.Anchored = true
  8591. coroutine.resume(coroutine.create(function()
  8592. huggedperson.Humanoid.WalkSpeed = 0
  8593. huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
  8594. end))
  8595. --chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
  8596. alreadydid = true
  8597. act = true
  8598. print(huggedperson.Name)
  8599. end
  8600. end
  8601. end
  8602. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8603. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(0)),.3)
  8604. elseif act == true then
  8605. coroutine.resume(coroutine.create(function()
  8606. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8607. end))
  8608. rsiz = math.random(5,15)
  8609. sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0)
  8610. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(40)),.1)
  8611. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8612. end
  8613. 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(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  8614. 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 + 1 * math.cos(sine / 34))),.3)
  8615. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8616. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8617. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8618. end
  8619. hb:Destroy()
  8620. if act == true then
  8621. for x = 0, 2 do
  8622. for i = 0, 2, 0.1 do
  8623. swait()
  8624. coroutine.resume(coroutine.create(function()
  8625. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8626. end))
  8627. rsiz = math.random(5,15)
  8628. sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0)
  8629. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(45)),.1)
  8630. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8631. 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(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  8632. 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 + 1 * math.cos(sine / 34))),.3)
  8633. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8634. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8635. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8636. end
  8637. for i = 0, 2, 0.1 do
  8638. swait()
  8639. coroutine.resume(coroutine.create(function()
  8640. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8641. end))
  8642. rsiz = math.random(5,15)
  8643. sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0)
  8644. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(35)),.1)
  8645. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8646. 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(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  8647. 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 + 1 * math.cos(sine / 34))),.3)
  8648. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8649. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8650. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8651. end
  8652. end
  8653. end
  8654. hum.WalkSpeed = storehumanoidWS
  8655. root.Anchored = false
  8656. if act == true then
  8657. coroutine.resume(coroutine.create(function()
  8658. huggedperson.Humanoid.WalkSpeed = 16
  8659. huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
  8660. end))
  8661. end
  8662. hum.WalkSpeed = storehumanoidWS
  8663. attack = false
  8664. end
  8665.  
  8666. function Counter()
  8667. hum.WalkSpeed = 0
  8668. CFuncs["EchoSound"].Create("rbxassetid://2370794297", char, 5, 1,0,10,0.15,0.5,1)
  8669. CFuncs["EchoSound"].Create("rbxassetid://2370794297", root, 60, 1,0,10,0.15,0.5,1)
  8670. bosschatfunc("COUNTER!!",MAINRUINCOLOR.Color,1)
  8671. attack = true
  8672. for i = 0,1,0.1 do
  8673. swait()
  8674. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8675. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8676. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
  8677. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
  8678. 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(10)),.3)
  8679. 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)
  8680. end
  8681. CameraEnshaking(3,4)
  8682. MagniDamageWithEffect(root, 24, 0,0, 75, "Normal")
  8683. sphere2(10,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),vt(5,5,5),0.35,0.35,0.35,MAINRUINCOLOR)
  8684. sphere2(1.5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),vt(5,5,5),0.35,0.35,0.35,MAINRUINCOLOR)
  8685. sphere2(20,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),vt(5,5,5),0.35,0.35,0.35,MAINRUINCOLOR)
  8686. coroutine.resume(coroutine.create(function()
  8687. local eff = Instance.new("ParticleEmitter",root)
  8688. eff.Texture = "rbxassetid://363275192"
  8689. eff.LightEmission = 0.95
  8690. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8691. eff.Rate = 10000
  8692. eff.Lifetime = NumberRange.new(1)
  8693. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  8694. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  8695. eff.Speed = NumberRange.new(10,125)
  8696. eff.Drag = 5
  8697. eff.Rotation = NumberRange.new(-500,500)
  8698. eff.VelocitySpread = 9000
  8699. eff.RotSpeed = NumberRange.new(-50,50)
  8700. local eff2 = eff:Clone()
  8701. eff2.Parent = root
  8702. eff2.Texture = "rbxassetid://284205403"
  8703. eff2.Rate = 10000
  8704. eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,30,0),NumberSequenceKeypoint.new(1,0,0)})
  8705. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  8706. eff2.Drag = 5
  8707. eff2.Speed = NumberRange.new(10,50)
  8708. eff2.Rotation = NumberRange.new(-500,500)
  8709. eff2.VelocitySpread = 9000
  8710. wait(0.25)
  8711. eff2.Enabled = false
  8712. eff.Enabled = false
  8713. wait(3)
  8714. eff2:Destroy()
  8715. eff:Destroy()
  8716. end))
  8717. for i = 0, 9 do
  8718. sphere2(1.5,"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),-0.0025,1,-0.0025,MAINRUINCOLOR)
  8719. end
  8720. for i = 0, 24 do
  8721. local rsiz = math.random(5,20)
  8722. sphereMK(math.random(2,10),0.75,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/8,rsiz/8,rsiz/8,0,MAINRUINCOLOR,0)
  8723. end
  8724. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  8725. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  8726. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  8727. for i = 0,2,0.1 do
  8728. swait()
  8729. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8730. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8731. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8732. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8733. 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(-10)),.3)
  8734. 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)
  8735. end
  8736. hum.WalkSpeed = storehumanoidWS
  8737. attack = false
  8738. end
  8739.  
  8740. function superjump()
  8741. attack = true
  8742. hum.WalkSpeed = 0
  8743. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  8744. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  8745. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7.5, 1)
  8746. for i = 0, 2, 0.1 do
  8747. swait()
  8748. root.Velocity = vt(0,0,0)
  8749. 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.05,0.01,0.05),math.random(25,250)/250,BrickColor.new("White"))
  8750. RH.C0=clerp(RH.C0,cf(1,-0.45,-0.45)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(20)),.4)
  8751. 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(40)),.4)
  8752. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,-1)*angles(math.rad(20),math.rad(0),math.rad(0)),.4)
  8753. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(0)),.4)
  8754. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(40)),.4)
  8755. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(-40)),.4)
  8756. end
  8757. MagniDamage(root, 28, 25,50, 25, "Normal")
  8758. CFuncs["Sound"].Create("rbxassetid://477843807", char, 17, 1.05)
  8759. hum.Jump = true
  8760. swait()
  8761. root.Velocity = vt(0,250,0) + root.CFrame.lookVector*250
  8762. sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(-45),0,0),vt(25,1,25),0.3,5,0.3,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  8763. sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(-45),0,0),vt(25,1,25),0.2,4,0.2,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  8764. CFuncs["Sound"].Create("rbxassetid://1295446488", root, 10, 1)
  8765. for i = 0, 3, 0.1 do
  8766. swait()
  8767. RH.C0=clerp(RH.C0,cf(1,-0.45,-0.45)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-20)),.4)
  8768. 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(30)),.4)
  8769. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.75,0)*angles(math.rad(40),math.rad(0),math.rad(0)),.4)
  8770. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.4)
  8771. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(20)),.4)
  8772. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.4)
  8773. end
  8774. attack = false
  8775. if equipped == false then
  8776. hum.WalkSpeed = 16
  8777. else
  8778. hum.WalkSpeed = 24
  8779. end
  8780. end
  8781.  
  8782.  
  8783. -------------------------------------
  8784.  
  8785.  
  8786.  
  8787. Humanoid.Animator.Parent = nil
  8788.  
  8789.  
  8790.  
  8791. -------------------------------------
  8792.  
  8793. local attacktype = 1
  8794. mouse.Button1Down:connect(function()
  8795. if attack == false and attacktype == 1 then
  8796. attacktype = 2
  8797. attackone()
  8798. elseif attack == false and attacktype == 2 then
  8799. attacktype = 3
  8800. attacktwo()
  8801. elseif attack == false and attacktype == 3 then
  8802. attacktype = 1
  8803. attackthree()
  8804. elseif attack == false and attacktype == 4 then
  8805. attacktype = 1
  8806. --attackfour()
  8807. end
  8808. end)
  8809. mouse.KeyDown:connect(function(k)
  8810. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  8811. --normalmog()
  8812. ModeOfGlitch = 1
  8813. storehumanoidWS = 16
  8814. hum.WalkSpeed = 16
  8815. rainbowmode = false
  8816. chaosmode = false
  8817. newTheme("rbxassetid://367339030",48.6,1,0.85)
  8818. RecolorTextAndRename("Hopeless Guest",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  8819. MAINRUINCOLOR = BrickColor.new("Really red")
  8820. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  8821. end
  8822. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  8823. ModeOfGlitch = 2
  8824. storehumanoidWS = 16
  8825. hum.WalkSpeed = 16
  8826. rainbowmode = false
  8827. chaosmode = false
  8828. RecolorTextAndRename("Serene Guest",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  8829. newTheme("rbxassetid://1539245059",0,1,0.85)
  8830. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  8831. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8832. end
  8833. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  8834. ModeOfGlitch = 3
  8835. storehumanoidWS = 14
  8836. hum.WalkSpeed = 14
  8837. rainbowmode = false
  8838. chaosmode = false
  8839. RecolorTextAndRename("Stable Guest",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  8840. newTheme("rbxassetid://367339030",58.15,0.98,1)
  8841. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8842. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8843. end
  8844. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  8845. ModeOfGlitch = 4
  8846. storehumanoidWS = 14
  8847. hum.WalkSpeed = 14
  8848. rainbowmode = false
  8849. chaosmode = true
  8850. RecolorTextAndRename("F.a.l.l.e.n G.u.e.s.t",Color3.new(0,0,0),Color3.new(1,1,1),"Antique")
  8851. newTheme("rbxassetid://2203914587",10,1.01,0.85)
  8852. MAINRUINCOLOR = BrickColor.new("Crimson")
  8853. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8854. end
  8855. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  8856. ModeOfGlitch = 5
  8857. storehumanoidWS = 14
  8858. hum.WalkSpeed = 14
  8859. rainbowmode = false
  8860. chaosmode = false
  8861. RecolorTextAndRename("Divine Guest",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  8862. newTheme("rbxassetid://661079869",0,1.02,0.85)
  8863. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  8864. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8865. end
  8866. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  8867. ModeOfGlitch = 6
  8868. storehumanoidWS = 65
  8869. hum.WalkSpeed = 65
  8870. rainbowmode = false
  8871. chaosmode = false
  8872. RecolorTextAndRename("Justice Guest",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  8873. newTheme("rbxassetid://1347011178",0,1.01,0.85)
  8874. MAINRUINCOLOR = BrickColor.new("White")
  8875. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8876. end
  8877. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  8878. ModeOfGlitch = 8
  8879. storehumanoidWS = 100
  8880. hum.WalkSpeed = 100
  8881. rainbowmode = false
  8882. chaosmode = false
  8883. RecolorTextAndRename("Destinal Guest",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  8884. newTheme("rbxassetid://919231299",0,1.01,0.85)
  8885. MAINRUINCOLOR = BrickColor.new("Alder")
  8886. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8887. end
  8888. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  8889. ModeOfGlitch = 9
  8890. storehumanoidWS = 85
  8891. hum.WalkSpeed = 85
  8892. rainbowmode = false
  8893. chaosmode = false
  8894. RecolorTextAndRename("Infected Guest",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  8895. newTheme("rbxassetid://879189331",0,1.01,0.85)
  8896. MAINRUINCOLOR = BrickColor.new("Br. yellowish green")
  8897. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8898. end
  8899. if k == "h" and attack == false and ModeOfGlitch ~= 5555 then
  8900. ModeOfGlitch = 5555
  8901. storehumanoidWS = 30
  8902. hum.WalkSpeed = 30
  8903. rainbowmode = false
  8904. chaosmode = false
  8905. RecolorTextAndRename("Love Guest",Color3.new(1,1,1),BrickColor.new("Hot pink").Color,"Arcade")
  8906. newTheme("rbxassetid://736003449",0,1,1.25)
  8907. MAINRUINCOLOR = BrickColor.new("Hot pink")
  8908. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8909. end
  8910. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  8911. CalamityTrans()
  8912. end
  8913. if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 8889 then
  8914. InsaneTrans()
  8915. end
  8916. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  8917. ModeOfGlitch = 55469696922
  8918. storehumanoidWS = 95
  8919. hum.WalkSpeed = 95
  8920. rainbowmode = false
  8921. chaosmode = false
  8922. RecolorTextAndRename("Nanodeath Guest",Color3.new(0.25,0,0.1),BrickColor.new("Hot pink").Color,"Antique")
  8923. newTheme("rbxassetid://919231299",0,1.005,0.9)
  8924. MAINRUINCOLOR = BrickColor.new("Hot pink")
  8925. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8926. end
  8927. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  8928. ModeOfGlitch = 4367677813
  8929. storehumanoidWS = 75
  8930. hum.WalkSpeed = 75
  8931. rainbowmode = false
  8932. chaosmode = false
  8933. RecolorTextAndRename("Mysterious Guest",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  8934. newTheme("rbxassetid://919231299",0,1.01,0.95)
  8935. MAINRUINCOLOR = BrickColor.new("Baby blue")
  8936. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8937. end
  8938. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  8939. ModeOfGlitch = 9999999921111
  8940. storehumanoidWS = 145
  8941. hum.WalkSpeed = 145
  8942. rainbowmode = false
  8943. chaosmode = false
  8944. RecolorTextAndRename("Omega Guest",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  8945. newTheme("rbxassetid://643309199",0,1.01,1)
  8946. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  8947. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8948. end
  8949. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  8950. ModeOfGlitch = 999999999556
  8951. storehumanoidWS = 115
  8952. hum.WalkSpeed = 115
  8953. rainbowmode = false
  8954. chaosmode = false
  8955. RecolorTextAndRename("Crazy Game",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
  8956. newTheme("rbxassetid://719008519",0,1.02,0.85)
  8957. MAINRUINCOLOR = BrickColor.new("Navy blue")
  8958. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8959. end
  8960. if k == "m" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 12 then
  8961. ModeOfGlitch = 12
  8962. storehumanoidWS = 19
  8963. hum.WalkSpeed = 19
  8964. rainbowmode = false
  8965. chaosmode = false
  8966. print'Mode was meant for Vengeful Program or those other fans out there'
  8967. RecolorTextAndRename("Neptunia Guest",BrickColor.new("Royal purple").Color,BrickColor.new("Bright blue").Color,"SciFi")
  8968. newTheme("rbxassetid://1873219898",0,1,1.7)
  8969. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8970. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8971. end
  8972.  
  8973. if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 50 then
  8974. sphere(0.9,"Add",root.CFrame,vt(0,100000,0),1,BrickColor.new("Institutional white"))
  8975. for i = 0, 49 do
  8976. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),8,8,8,0.16,BrickColor.new("Institutional white"),0)
  8977. end
  8978. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8979. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8980. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8981. hum.WalkSpeed = storehumanoidWS
  8982. attack = false
  8983. ModeOfGlitch = 50
  8984. storehumanoidWS = 18
  8985. hum.WalkSpeed = 18
  8986. rainbowmode = false
  8987. chaosmode = false
  8988. RecolorTextAndRename("EnBelived",BrickColor.new("Institutional white").Color,BrickColor.new("Institutional white").Color,"Arcade")
  8989. newTheme("rbxassetid://435773595",0,1.01,1.5)
  8990. MAINRUINCOLOR = BrickColor.new("Institutional white")
  8991. RecolorThing(MAINRUINCOLOR,BrickColor.new("Institutional white"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8992. end
  8993.  
  8994. if k == "m" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 66 then
  8995. hum.WalkSpeed = 0
  8996. attack = true
  8997. for i = 0,1,0.1 do
  8998. swait()
  8999. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  9000. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  9001. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
  9002. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
  9003. 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)
  9004. 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)
  9005. end
  9006. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  9007. for i = 0, 148 do
  9008. PixelBlock(1,math.random(1,20),"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,1,0.02,MAINRUINCOLOR,0)
  9009. end
  9010. for i = 0,3,0.1 do
  9011. sphereMK(2.5,-1,"Add",root.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,25,-0.025,MAINRUINCOLOR,0)
  9012. end
  9013. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  9014. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  9015. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  9016. hum.WalkSpeed = storehumanoidWS
  9017. attack = false
  9018. ModeOfGlitch = 66
  9019. storehumanoidWS = 16
  9020. hum.WalkSpeed = 16
  9021. rainbowmode = false
  9022. chaosmode = false
  9023. newTheme("rbxassetid://"..ast[Mrandom(1,2)],0,1,1.35)
  9024. MAINRUINCOLOR = BrickColor.new("Really black")
  9025. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9026. for i = 0,2,0.1 do
  9027. swait()
  9028. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  9029. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  9030. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  9031. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  9032. 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)
  9033. 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)
  9034. end
  9035. end
  9036.  
  9037. if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 13 then
  9038. hum.WalkSpeed = 0
  9039. attack = true
  9040. for i = 0,1,0.1 do
  9041. swait()
  9042. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  9043. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  9044. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
  9045. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
  9046. 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)
  9047. 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)
  9048. end
  9049. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  9050. for i = 0, 49 do
  9051. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  9052. end
  9053. for i = 0,3,0.1 do
  9054. sphereMK(2.5,-1,"Add",root.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,25,-0.025,MAINRUINCOLOR,0)
  9055. end
  9056. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  9057. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  9058. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  9059. hum.WalkSpeed = storehumanoidWS
  9060. attack = false
  9061. ModeOfGlitch = 13
  9062. storehumanoidWS = 45
  9063. hum.WalkSpeed = 45
  9064. rainbowmode = false
  9065. chaosmode = false
  9066. RecolorTextAndRename("Judicial Guest",BrickColor.new("Dark stone grey").Color,BrickColor.new("Light blue").Color,"Bodoni")
  9067. newTheme("rbxassetid://190845741",0,1,1.35)
  9068. MAINRUINCOLOR = BrickColor.new("Dark stone grey")
  9069. RecolorThing(MAINRUINCOLOR,BrickColor.new("Light blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9070. for i = 0,2,0.1 do
  9071. swait()
  9072. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  9073. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  9074. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  9075. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  9076. 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)
  9077. 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)
  9078. end
  9079. end
  9080. if k == "j" and attack == false and ModeOfGlitch ~= 1002 then
  9081. ModeOfGlitch = 1002
  9082. storehumanoidWS = 45
  9083. hum.WalkSpeed = 45
  9084. rainbowmode = false
  9085. chaosmode = false
  9086. RecolorTextAndRename("Pixeled Guest",BrickColor.new("Really black").Color,BrickColor.new("Dark blue").Color,"Code")
  9087. newTheme("rbxassetid://2027652726",0,1,0.85)
  9088. MAINRUINCOLOR = BrickColor.new("Dark blue")
  9089. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9090. end
  9091. if k == "k" and attack == false and ModeOfGlitch ~= 1003 then
  9092. ModeOfGlitch = 1003
  9093. storehumanoidWS = 90
  9094. hum.WalkSpeed = 90
  9095. rainbowmode = false
  9096. chaosmode = false
  9097. RecolorTextAndRename("A.s.c.e.n.d.e.d G.u.e.s.t",BrickColor.new("White").Color,BrickColor.new("Bright yellow").Color,"Code")
  9098. newTheme("rbxassetid://257453119",0,1,0.85)
  9099. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  9100. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9101. end
  9102. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  9103. ModeOfGlitch = 1264532489
  9104. storehumanoidWS = 175
  9105. hum.WalkSpeed = 175
  9106. rainbowmode = false
  9107. chaosmode = false
  9108. RecolorTextAndRename("Fallenx Guest",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  9109. newTheme("rbxassetid://1505487022",0,1.01,1.25)
  9110. MAINRUINCOLOR = BrickColor.new("Pastel green")
  9111. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9112. end
  9113. if k == "l" and mutedtog == false then
  9114. mutedtog = true
  9115. kan.Volume = 0.85
  9116. elseif k == "l" and mutedtog == true then
  9117. mutedtog = false
  9118. kan.Volume = 0.85
  9119. end
  9120. if k == "p" and toggleTag == false then
  9121. toggleTag = true
  9122. modet.TextTransparency = 0
  9123. modet.TextStrokeTransparency = 0
  9124. elseif k == "p" and toggleTag == true then
  9125. toggleTag = false
  9126. modet.TextTransparency = 1
  9127. modet.TextStrokeTransparency = 1
  9128. end
  9129. if k == "z" and attack == false and ModeOfGlitch == 1 then
  9130. ExtinctiveHeartbreak()
  9131. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  9132. HeavenlyDisk()
  9133. elseif k == "z" and attack == false and ModeOfGlitch == 9 then
  9134. DualGleamingBeam()
  9135. elseif k == "c" and attack == false and ModeOfGlitch == 9 then
  9136. BanishingOrb()
  9137. elseif k == "z" and attack == false and ModeOfGlitch == 5555 then
  9138. hugg()
  9139. elseif k == "b" and attack == false and ModeOfGlitch == 55469696922 then
  9140. cutesigh()
  9141. elseif k == "v" and attack == false and ModeOfGlitch == 55469696922 then
  9142. Counter()
  9143. elseif k == "v" and attack == false and ModeOfGlitch == 12 then
  9144. superjump()
  9145. elseif k == "v" and attack == false and ModeOfGlitch == 9999999921111 then
  9146. dragin()
  9147. elseif k == "x" and attack == false and ModeOfGlitch == 8889 then
  9148. UniversalCollapse()
  9149. elseif k == "c" and attack == false and ModeOfGlitch == 2 then
  9150. PureBomb()
  9151. elseif k == "z" and attack == false and ModeOfGlitch == 999999999556 then
  9152. Beams()
  9153. elseif k == "x" and attack == false and ModeOfGlitch == 55469696922 then
  9154. BeamOfDeath()
  9155. elseif k == "v" and attack == false and ModeOfGlitch == 8 then
  9156. THE_TRUE_POWER_OF_VIOLENCE()
  9157. elseif k == "z" and attack == false and ModeOfGlitch == 8 then
  9158. GleamingBeam()
  9159. elseif k == "x" and attack == false and ModeOfGlitch == 5 then
  9160. ViolentRing()
  9161. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  9162. CorruptionEvent()
  9163. elseif k == "v" and attack == false and ModeOfGlitch == 3 then
  9164. CorruptBlink()
  9165. elseif k == "c" and attack == false and ModeOfGlitch == 3 then
  9166. scattercorrupt()
  9167. elseif k == "b" and attack == false and ModeOfGlitch == 5555 then
  9168. shytaunty()
  9169. elseif k == "v" and attack == false and ModeOfGlitch == 8889 then
  9170. InsaneBeam()
  9171. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  9172. RapidBurst()
  9173. elseif k == "z" and attack == false and ModeOfGlitch == 8889 then
  9174. InsaneDrop()
  9175. wait(2)
  9176. ChaosEND()
  9177. elseif k == "x" and attack == false and ModeOfGlitch == 4 then
  9178. ChaosEND()
  9179. elseif k == "c" and attack == false and ModeOfGlitch == 9999999921111 then
  9180. CyberSlash()
  9181. elseif k == "z" and attack == false and ModeOfGlitch == 4367677813 then
  9182. smiter()
  9183. elseif k == "z" and attack == false and ModeOfGlitch == 1002 then
  9184. SpeedDrop()
  9185. elseif k == "v" and attack == false and ModeOfGlitch == 5 then
  9186. --DivineLights()
  9187. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  9188. DivineBlast()
  9189. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  9190. EquinoxOrbs()
  9191. elseif k == "v" and attack == false and ModeOfGlitch == 6 then
  9192. yinyangi()
  9193. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  9194. FallenOrbs()
  9195. elseif k == "z" and attack == false and ModeOfGlitch == 1003 then
  9196. StarfallEX()
  9197. end
  9198. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  9199. FallenDEMISE()
  9200. end
  9201. if k == "x" and attack == false and ModeOfGlitch == 1 then
  9202. EndGROUND()
  9203. end
  9204. end)
  9205.  
  9206. coroutine.resume(coroutine.create(function()
  9207. while true do
  9208. swait()
  9209. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 9 or ModeOfGlitch == 8889 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  9210. sphereMK(7.5,math.random(15,50)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,MAINRUINCOLOR,0)
  9211. end
  9212. if ModeOfGlitch == 5555 then
  9213. sphereMK(5,math.random(8,14)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.25,0.25,7.5,-0.0025,MAINRUINCOLOR,0)
  9214. end
  9215. end
  9216. end))
  9217. --[[coroutine.resume(coroutine.create(function()
  9218. while true do
  9219. swait(2)
  9220. if chaosmode == true then
  9221. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9222. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9223. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9224. RecolorTextAndRename("F.a.l.l.e.n G.u.e.s.t",Color3.new(0,0,0),BrickColor.random().Color,"Antique")
  9225. for i, v in pairs(mw1:GetChildren()) do
  9226. if v:IsA("Part") then
  9227. v.Transparency = 0.75
  9228. v.BrickColor = BrickColor.random()
  9229. v.Material = "Neon"
  9230. end
  9231. end
  9232. for i, v in pairs(m2:GetChildren()) do
  9233. if v:IsA("Part") then
  9234. v.BrickColor = BrickColor.random()
  9235. v.Material = "Neon"
  9236. end
  9237. end
  9238. end
  9239. end
  9240. end))]]
  9241.  
  9242.  
  9243.  
  9244. ff = Instance.new("ForceField",char)
  9245. ff.Visible = false
  9246. hum.Name = "Base"
  9247. hum.MaxHealth = 1.0E298
  9248. hum.Health = 1.0E298
  9249. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  9250. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  9251. hum.MaxHealth = 1.0E298
  9252. hum.Health = 1.0E298
  9253. end
  9254. end)
  9255.  
  9256. local Hair = Instance.new("Part", char)
  9257. Hair.Name = "Hair"
  9258. Hair.CanCollide = false
  9259. Hair.BrickColor = BrickColor.new("Institutional white")
  9260. Hair.Transparency = 0
  9261. Hair.Material = "Plastic"
  9262. Hair.Size = Vector3.new(1, 1, 2)
  9263. Hair.TopSurface = Enum.SurfaceType.Smooth
  9264. Hair.BottomSurface = Enum.SurfaceType.Smooth
  9265.  
  9266.  
  9267. local bguis = Instance.new("BillboardGui",tors)
  9268. bguis.Size = UDim2.new(25, 0, 25, 0)
  9269. local imgca = Instance.new("ImageLabel",bguis)
  9270. imgca.BackgroundTransparency = 1
  9271. imgca.ImageTransparency = 1
  9272. imgca.Size = UDim2.new(1,0,1,0)
  9273. imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
  9274. imgca.ImageColor3 = Color3.new(0,0,0)
  9275.  
  9276.  
  9277. local bguis2 = Instance.new("BillboardGui",tors)
  9278. bguis2.Size = UDim2.new(25, 0, 25, 0)
  9279. local imgca2 = Instance.new("ImageLabel",bguis)
  9280. imgca2.BackgroundTransparency = 1
  9281. imgca2.ImageTransparency = 1
  9282. imgca2.Size = UDim2.new(1,0,1,0)
  9283. imgca2.Image = "rbxassetid://2406462507" --997291547,521073910,2312119891
  9284. imgca2.ImageColor3 = Color3.new(0,0,0)
  9285.  
  9286.  
  9287.  
  9288. idleanim=.4
  9289. while true do
  9290. if mutedtog == false then
  9291. kan.Volume = currentVol
  9292. elseif mutedtog == true then
  9293. kan.Volume = 0
  9294. end
  9295. kan.PlaybackSpeed = currentPitch
  9296. kan.Pitch = currentPitch
  9297. kan.SoundId = currentThemePlaying
  9298. kan.Looped = true
  9299. kan.Parent = char
  9300. kan:Resume()
  9301. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 13 then
  9302. imgca.ImageTransparency = 1
  9303. imgca2.ImageTransparency = 1
  9304. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  9305. imgca.ImageColor3 = MAINRUINCOLOR.Color
  9306. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9307. elseif ModeOfGlitch == 13 then
  9308. imgca2.ImageColor3 = MAINRUINCOLOR.Color
  9309. imgca2.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9310. end
  9311. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  9312. bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9313. imgca2.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/60
  9314. bguis2.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9315. coroutine.resume(coroutine.create(function()
  9316. if chaosmode == true then
  9317. for i, v in pairs(mw1:GetChildren()) do
  9318. if v:IsA("Part") then
  9319. v.Transparency = 0
  9320. v.BrickColor = BrickColor.random()
  9321. v.Material = "Neon"
  9322. end
  9323. end
  9324. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9325. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9326. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9327. RecolorTextAndRename("F.a.l.l.e.n G.u.e.s.t",Color3.new(0,0,0),BrickColor.random().Color,"Antique")
  9328. end
  9329. end))
  9330. coroutine.resume(coroutine.create(function()
  9331. if ModeOfGlitch == 66 then
  9332. for i, v in pairs(m:GetChildren()) do
  9333. if v:IsA("Part") then
  9334. v.Transparency = 0
  9335. v.BrickColor = BrickColor.random()
  9336. v.Material = "Neon"
  9337. end
  9338. end
  9339. for i, v in pairs(m2:GetChildren()) do
  9340. if v:IsA("Part") then
  9341. v.Transparency = 0
  9342. v.BrickColor = BrickColor.random()
  9343. v.Material = "Neon"
  9344. end
  9345. end
  9346. for i, v in pairs(mw1:GetChildren()) do
  9347. if v:IsA("Part") then
  9348. v.Transparency = 0
  9349. v.BrickColor = BrickColor.random()
  9350. v.Material = "Neon"
  9351. end
  9352. end
  9353. for i, v in pairs(extrawingmod1:GetChildren()) do
  9354. if v:IsA("Part") then
  9355. v.Transparency = 0.5
  9356. v.BrickColor = BrickColor.random()
  9357. v.Material = "Neon"
  9358. end
  9359. end
  9360. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9361. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9362. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9363. gane.Color = ColorSequence.new(BrickColor.random().Color)
  9364. gan.Color = ColorSequence.new(BrickColor.random().Color)
  9365. end
  9366. end))
  9367.  
  9368. coroutine.resume(coroutine.create(function()
  9369. if ModeOfGlitch == 66 then
  9370. RecolorTextAndRename("S N A P P E D G U E S T",BrickColor.random().Color,Color3.new(0,0,0),"Garamond")
  9371. end
  9372. end))
  9373.  
  9374. if chaosmode == false then
  9375. modet.Position = UDim2.new(0,0,0,0)
  9376. modet.Rotation = -5 * math.cos(sine / 32)
  9377. techc.Rotation = techc.Rotation + 1
  9378. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/200 - 1
  9379. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/175 + 1
  9380. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/175 + 1
  9381. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/150 - 1
  9382. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  9383. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  9384. else
  9385. techc.Rotation = techc.Rotation + 1
  9386. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  9387. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  9388. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  9389. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  9390. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  9391. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  9392. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  9393. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  9394. end
  9395. CameraManager()
  9396. swait()
  9397. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
  9398. lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
  9399. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
  9400. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
  9401. lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
  9402. lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
  9403. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
  9404. rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
  9405. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
  9406. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  9407. rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  9408. rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  9409. sine = sine + change
  9410. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  9411. local velderp=RootPart.Velocity.y
  9412. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  9413. coroutine.resume(coroutine.create(function()
  9414. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 1003 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 or ModeOfGlitch == 13 then
  9415. if hitfloor ~= nil then
  9416. 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,50)/250,BrickColor.new("White"))
  9417. if ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 13 then
  9418. slash(math.random(75,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(0.01,0.01,0.01),math.random(5,150)/250,MAINRUINCOLOR)
  9419. end
  9420. end
  9421. end
  9422. end))
  9423. if equipped==true or equipped==false then
  9424. if attack==false then
  9425. idle=idle+1
  9426. else
  9427. idle=0
  9428. end
  9429. if idle>=500 then
  9430. if attack==false then
  9431. --Sheath()
  9432. end
  9433. end
  9434. if RootPart.Velocity.y > 1 and hitfloor==nil then
  9435. Anim="Jump"
  9436. if attack==false then
  9437. 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)
  9438. 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)
  9439. 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)
  9440. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  9441. 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)
  9442. 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)
  9443. end
  9444. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  9445. Anim="Fall"
  9446. if attack==false then
  9447. 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)
  9448. 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)
  9449. 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)
  9450. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  9451. 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)
  9452. 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)
  9453. end
  9454. elseif torvel<1 and hitfloor~=nil then
  9455. Anim="Idle"
  9456. if attack==false then
  9457. if ModeOfGlitch == 1 then
  9458. local snap = math.random(1,10)
  9459. if snap == 1 then
  9460. 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)
  9461. end
  9462. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),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)
  9463. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),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)
  9464. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
  9465. 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)
  9466. 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)
  9467. 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)
  9468. elseif ModeOfGlitch == 2 then
  9469. 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(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  9470. 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(-0.5),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  9471. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 42))),.1)
  9472. 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)
  9473. 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)
  9474. 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)
  9475. elseif ModeOfGlitch == 2 then
  9476. RH.C0=clerp(RH.C0,cf(1,-0.5 - 0.05 * math.cos(sine / 32),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)
  9477. LH.C0=clerp(LH.C0,cf(-1,-0.5 - 0.05 * math.cos(sine / 32),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)
  9478. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),-1 + 0.05 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 42))),.1)
  9479. 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)
  9480. 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)
  9481. 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)
  9482. elseif ModeOfGlitch == 50 then
  9483. 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 + 2 * math.cos(sine / 43)),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  9484. 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(-1.5),math.rad(0),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  9485. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(10 - 2 * math.cos(sine / 43))),.1)
  9486. 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)
  9487. 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)
  9488. 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)
  9489. elseif ModeOfGlitch == 5555 then --5555
  9490. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-26 + 2 * math.cos(sine / 44))),.1)
  9491. 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)
  9492. 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)
  9493. 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)
  9494. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 3 * math.cos(sine / 53)),math.rad(0),math.rad(-37 + 2 * math.cos(sine / 37))),.1)
  9495. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(23 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(38 - 3 * math.cos(sine / 57) )),.1)
  9496. elseif ModeOfGlitch == 1002 then
  9497. 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 - 1 * math.cos(sine / 34))),.1)
  9498. 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(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  9499. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1)
  9500. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
  9501. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
  9502. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
  9503. elseif ModeOfGlitch == 12 then
  9504. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 + 2 * math.cos(sine / 40)),math.rad(-15),math.rad(0 + 2 * math.cos(sine / 20))),.1)
  9505. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 - 2 * math.cos(sine / 40)),math.rad(1),math.rad(0 - 2 * math.cos(sine / 20))),.1)
  9506. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.02 * math.cos(sine / 40),0 - 0.02 * math.cos(sine / 40),-0.05 - 0.05 * math.cos(sine / 20))*angles(math.rad(0 + 2 * math.cos(sine / 20)),math.rad(0 + 2 * math.cos(sine / 40)),math.rad(30 + 3 * math.cos(sine / 40))),.1)
  9507. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2),math.rad(0 - 7 * math.cos(sine / 40)),math.rad(-30 - 3 * math.cos(sine / 40))),.1)
  9508. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-6 + 5 * math.cos(sine / 26)),math.rad(-10 - 6 * math.cos(sine / 24)),math.rad(13 - 5 * math.cos(sine / 34))),.1)
  9509. LW.C0=clerp(LW.C0,cf(-1.4,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-13 - 1 * math.cos(sine / 25)),math.rad(10 + 2 * math.cos(sine / 24)),math.rad(10 + 2 * math.cos(sine / 34))),.1)
  9510. elseif ModeOfGlitch == 3 then
  9511. local snap = math.random(1,32)
  9512. if snap == 1 then
  9513. 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)
  9514. end
  9515. 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(1 - 2 * math.cos(sine / 32))),.1)
  9516. 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(-1 + 2 * math.cos(sine / 32))),.1)
  9517. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  9518. 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)
  9519. 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)
  9520. 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)
  9521. elseif ModeOfGlitch == 4 then
  9522. local snap = math.random(1,5)
  9523. if snap == 1 then
  9524. 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)
  9525. 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)
  9526. 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)
  9527. end
  9528. 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(25 - 2 * math.cos(sine / 32))),.1)
  9529. 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(-25 + 2 * math.cos(sine / 32))),.1)
  9530. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(25 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9531. 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)
  9532. 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)
  9533. 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)
  9534. elseif ModeOfGlitch == 66 then
  9535. local snap = math.random(1,2)
  9536. if snap == 1 then
  9537. 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)
  9538. RW.C0=clerp(RW.C0,cf(1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74) + math.random(-1,1)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(-15 + 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  9539. LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73) + math.random(-1,1)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-1,1)),math.rad(15 - 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  9540. end
  9541. RH.C0=clerp(RH.C0,cf(1,0.35 - 0.05 * math.cos(sine / 32),-0.7)*angles(math.rad(-20),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)
  9542. LH.C0=clerp(LH.C0,cf(-1,-1.125 - 0.05 * math.cos(sine / 32),-0.6)*angles(math.rad(-105),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)
  9543. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.3 + 0.05 * math.cos(sine / 32))*angles(math.rad(7.5 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9544. 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)
  9545. RW.C0=clerp(RW.C0,cf(1.35,0.5 + 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(-15 + 3 * math.cos(sine / 45))),.1)
  9546. LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 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(15 - 3 * math.cos(sine / 45))),.1)
  9547. elseif ModeOfGlitch == 5 then
  9548. 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(0 - 2 * math.cos(sine / 32))),.1)
  9549. 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(0 + 2 * math.cos(sine / 32))),.1)
  9550. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  9551. 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)
  9552. 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)
  9553. 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)
  9554. elseif ModeOfGlitch == 6 then
  9555. 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)
  9556. 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)
  9557. 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)
  9558. 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)
  9559. 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)
  9560. 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)
  9561. elseif ModeOfGlitch == 13 then
  9562. 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)
  9563. 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)
  9564. 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)
  9565. 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)
  9566. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.35)*angles(math.rad(6 + 1 * math.cos(sine / 74)),math.rad(-14 - 1 * math.cos(sine / 53)),math.rad(-86 + 5 * math.cos(sine / 32))),.1)
  9567. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.55)*angles(math.rad(-20 - 3 * math.cos(sine / 73)),math.rad(23 - 2.25 * math.cos(sine / 55)),math.rad(86 - 6 * math.cos(sine / 33))),.1)
  9568. elseif ModeOfGlitch == 8 then
  9569. 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)
  9570. 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)
  9571. 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(-20)),.1)
  9572. 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)
  9573. 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)
  9574. 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)
  9575. elseif ModeOfGlitch == 9 then
  9576. 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,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  9577. 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))
  9578. 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(-4 - 2 * math.cos(sine / 53)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  9579. 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(9 - 2 * math.cos(sine / 53)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  9580. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 53))),.1)
  9581. 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)
  9582. 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)
  9583. 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)
  9584. elseif ModeOfGlitch == 1003 then
  9585. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-26 + 2 * math.cos(sine / 44))),.1)
  9586. 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)
  9587. 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)
  9588. 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)
  9589. 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)
  9590. 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)
  9591.  
  9592. elseif ModeOfGlitch == 8889 then
  9593. 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)
  9594. 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)
  9595. 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(-36)),.1)
  9596. 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)
  9597. 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)
  9598. 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)
  9599. elseif ModeOfGlitch == 1264532489 then
  9600. 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,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  9601. 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)
  9602. 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)
  9603. 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)
  9604. 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)
  9605. 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)
  9606. 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)
  9607. elseif ModeOfGlitch == 9999999921111 then --9999999921111
  9608. 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)
  9609. 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)
  9610. 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(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
  9611. 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)
  9612. 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)
  9613. 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)
  9614. elseif ModeOfGlitch == 4367677813 then
  9615. 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)
  9616. 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)
  9617. 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(10)),.1)
  9618. 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)
  9619. 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)
  9620. 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)
  9621. elseif ModeOfGlitch == 55469696922 then --5555
  9622. 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)
  9623. 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)
  9624. 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(-13 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1)
  9625. 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)
  9626. 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)
  9627. 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)
  9628. elseif ModeOfGlitch == 999999999556 then
  9629. 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)
  9630. 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)
  9631. 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(17)),.1)
  9632. 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)
  9633. 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)
  9634. 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)
  9635. end
  9636. end
  9637. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  9638. Anim="Walk"
  9639. if attack==false and ModeOfGlitch ~= 66 then
  9640. 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)
  9641. 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)
  9642. 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)
  9643. 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)
  9644. 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)
  9645. 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)
  9646. elseif attack==false and ModeOfGlitch == 66 then
  9647. 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)
  9648. 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)
  9649. 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)
  9650. 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)
  9651. RW.C0=clerp(RW.C0,cf(1.35,0.5 + 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(-15 + 3 * math.cos(sine / 45))),.1)
  9652. LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 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(15 - 3 * math.cos(sine / 45))),.1)
  9653. end
  9654. elseif torvel>=22 and hitfloor~=nil then
  9655. Anim="Run"
  9656. if attack==false then
  9657. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 13 and ModeOfGlitch ~= 5555 and ModeOfGlitch ~= 1003 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 8889 then
  9658. 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)
  9659. 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)
  9660. 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)
  9661. 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)
  9662. 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)
  9663. 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)
  9664. if ModeOfGlitch == 12 then
  9665. 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 + 45 * math.cos(sine / 8))),.1)
  9666. 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 + 45 * math.cos(sine / 8))),.1)
  9667. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 + 0.05 * math.cos(sine / 4))*angles(math.rad(1.5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 8))),.1)
  9668. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5 - 5 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 10 * math.cos(sine / 8))),.1)
  9669. 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)
  9670. 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)
  9671. end
  9672. if ModeOfGlitch == 9 then
  9673. 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,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  9674. 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))
  9675. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,20,-0.0075,MAINRUINCOLOR,0)
  9676. end
  9677. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1003 or ModeOfGlitch == 5555 or ModeOfGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 then
  9678. 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)
  9679. 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)
  9680. 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(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  9681. 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)
  9682. 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)
  9683. 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)
  9684. elseif ModeOfGlitch == 13 then
  9685. 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)
  9686. 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)
  9687. 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(40),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  9688. 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)
  9689. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.35)*angles(math.rad(6 + 3 * math.cos(sine / 74)),math.rad(-14 - 1 * math.cos(sine / 53)),math.rad(-86 + 5 * math.cos(sine / 32))),.1)
  9690. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.55)*angles(math.rad(-20 - 5 * math.cos(sine / 73)),math.rad(23 - 2.25 * math.cos(sine / 55)),math.rad(86 - 6 * math.cos(sine / 33))),.1)
  9691. end
  9692. end
  9693. end
  9694. end
  9695. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement