Advertisement
whyumean

Untitled

Oct 9th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 464.02 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Mokiros")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. endwait(0.2)
  83.  
  84.  
  85. warn([[SpectrumGlitcher v5 AWAKENED Loaded.
  86. The super switcher.
  87. Velnorum is one of the first wielders.
  88.  
  89. Created, Reworked by NoobyGames12
  90. Edited by GodzPlaysRB
  91. Edited by wanTH092 (Gam_Filano CH)
  92. SpectrumGlitcher Developers ^^^
  93. ]])
  94.  
  95.  
  96. ------------- ORIGINAL WIELDER OC: Velnorum
  97. print([[Icons:
  98. ! = New
  99. ? = Spoilers
  100. * = Exclusivity
  101. C = Changes
  102.  
  103. ]])
  104. warn([[V 7.5 Update Log:
  105. C: Changed everything to guest xd
  106. ]])
  107. --- its obs smooth af do not touch
  108. ---- Sources and functions might be taken from others
  109. plr = owner
  110. char = plr.Character
  111. hum = char.Humanoid
  112. local cam = game.Workspace.CurrentCamera
  113. Camera = cam
  114. mouse = plr:GetMouse()
  115. local CamInterrupt = false
  116. local TwoD = false
  117. local TargetInfo = {nil, nil}
  118. cam.CameraType = "Custom"
  119. t = char.Torso
  120. h = char.Head
  121. ra = char["Right Arm"]
  122. la = char["Left Arm"]
  123. rl = char["Right Leg"]
  124. ll = char["Left Leg"]
  125. tors = char.Torso
  126. lleg = char["Left Leg"]
  127. root = char.HumanoidRootPart
  128. hed = char.Head
  129. rleg = char["Right Leg"]
  130. rarm = char["Right Arm"]
  131. larm = char["Left Arm"]
  132. radian = math.rad
  133. random = math.random
  134. Vec3 = Vector3.new
  135. Inst = Instance.new
  136. cFrame = CFrame.new
  137. Euler = CFrame.fromEulerAnglesXYZ
  138. vt = Vector3.new
  139. bc = BrickColor.new
  140. br = BrickColor.random
  141. it = Instance.new
  142. cf = CFrame.new
  143. local Player_Size = 0
  144. cam = game.Workspace.CurrentCamera
  145. CF = CFrame.new
  146. angles = CFrame.Angles
  147. attack = false
  148. Euler = CFrame.fromEulerAnglesXYZ
  149. Rad = math.rad
  150. IT = Instance.new
  151. BrickC = BrickColor.new
  152. Cos = math.cos
  153. Acos = math.acos
  154. Sin = math.sin
  155. Asin = math.asin
  156. Abs = math.abs
  157. Mrandom = math.random
  158. Floor = math.floor
  159. IT = Instance.new
  160. CF = CFrame.new
  161. VT = Vector3.new
  162. RAD = math.rad
  163. C3 = Color3.new
  164. UD2 = UDim2.new
  165. BRICKC = BrickColor.new
  166. ANGLES = CFrame.Angles
  167. EULER = CFrame.fromEulerAnglesXYZ
  168. COS = math.cos
  169. ACOS = math.acos
  170. SIN = math.sin
  171. ASIN = math.asin
  172. ABS = math.abs
  173. MRANDOM = math.random
  174. FLOOR = math.floor
  175. local SINE = 0
  176.  
  177. local Booleans = {
  178. CamFollow = true,
  179. GyroUse = true
  180. }
  181.  
  182. function lerp(object, newCFrame, alpha)
  183. return object:lerp(newCFrame, alpha)
  184. end
  185.  
  186. local Directer = Inst("BodyGyro", root)
  187. Directer.MaxTorque = Vec3(0, 0, 0)
  188. Directer.P = 600000
  189. local CPart = Inst("Part")
  190. CPart.Anchored = true
  191. CPart.CanCollide = false
  192. CPart.Locked = true
  193. CPart.Transparency = 1
  194.  
  195. local rainbowmode = false
  196. local chaosmode = false
  197.  
  198. local kan = Instance.new("Sound",tors)
  199. kan.Volume = 0.85
  200. kan.TimePosition = 0
  201. kan.PlaybackSpeed = 1
  202. kan.Pitch = 1
  203. kan.SoundId = "rbxassetid://407749940"
  204. kan.Name = "wrecked"
  205. kan.Looped = true
  206. kan:Play()
  207.  
  208. local currentThemePlaying = kan.SoundId
  209. local currentPitch = kan.Pitch
  210. local currentVol = kan.Volume
  211. function newTheme(ID,timepos,pitch,vol)
  212. local kanz = kan
  213. --kanz:Stop()
  214. kanz.Volume = vol
  215. --kanz.TimePosition = timepos
  216. kanz.PlaybackSpeed = pitch
  217. kanz.Pitch = pitch
  218. kanz.SoundId = ID
  219. kanz.Name = "wrecked"
  220. kanz.Looped = true
  221. currentThemePlaying = kanz.SoundId
  222. currentVol = kanz.Volume
  223. currentPitch = kanz.Pitch
  224. --kanz:Play()
  225. --coroutine.resume(coroutine.create(function()
  226. --wait(0.05)
  227. --end))
  228. end
  229.  
  230. function newThemeCust(ID,timepos,pitch,vol)
  231. local kanz = kan
  232. kanz:Stop()
  233. kanz.Volume = vol
  234. kanz.TimePosition = timepos
  235. kanz.PlaybackSpeed = pitch
  236. kanz.Pitch = pitch
  237. kanz.SoundId = ID
  238. kanz.Name = "wrecked"
  239. kanz.Looped = true
  240. currentThemePlaying = kanz.SoundId
  241. currentVol = kanz.Volume
  242. currentPitch = kanz.Pitch
  243. kanz:Play()
  244. coroutine.resume(coroutine.create(function()
  245. wait(0.05)
  246. end))
  247. end
  248.  
  249. local mutedtog = false
  250.  
  251. function CameraEnshaking(Length,Intensity)
  252. coroutine.resume(coroutine.create(function()
  253. local intensity = 1*Intensity
  254. local rotM = 0.01*Intensity
  255. for i = 0, Length, 0.1 do
  256. swait()
  257. intensity = intensity - 0.05*Intensity/Length
  258. rotM = rotM - 0.0005*Intensity/Length
  259. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  260. 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)
  261. end
  262. Humanoid.CameraOffset = Vec3(0, 0, 0)
  263. end))
  264. end
  265. CamShake=function(Part,Distan,Power,Times)
  266. local de=Part.Position
  267. for i,v in pairs(workspace:children()) do
  268. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  269. for _,c in pairs(v:children()) do
  270. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  271. local Noob=v.Humanoid
  272. if Noob~=nil then
  273. coroutine.resume(coroutine.create(function()
  274. FV = Instance.new("BoolValue", Noob)
  275. FV.Name = "CameraShake"
  276. for ShakeNum=1,Times do
  277. swait()
  278. local ef=Power
  279. if ef>=1 then
  280. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  281. else
  282. ef=Power*10
  283. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  284. end
  285. end
  286. Humanoid.CameraOffset = Vector3.new(0,0,0)
  287. FV:Destroy()
  288. end))
  289. CameraShake(Times, Power, Noob)
  290. end
  291. end
  292. end
  293. end
  294. end
  295. end
  296.  
  297. local toggleTag = true
  298. local bilguit = Instance.new("BillboardGui", hed)
  299. bilguit.Adornee = nil
  300. bilguit.Name = "ModeName"
  301. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  302. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  303. local modet = Instance.new("TextLabel", bilguit)
  304. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  305. modet.FontSize = "Size8"
  306. modet.TextScaled = true
  307. modet.TextTransparency = 0
  308. modet.BackgroundTransparency = 1
  309. modet.TextTransparency = 0
  310. modet.TextStrokeTransparency = 0
  311. modet.Font = "Antique"
  312. modet.TextStrokeColor3 = Color3.new(1,0,0)
  313. modet.TextColor3 = Color3.new(0.25,0,0)
  314. modet.Text = "Mueder Guest"
  315.  
  316.  
  317. function chatfunc(text,color,typet,font,timeex)
  318. local chat = coroutine.wrap(function()
  319. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  320. Character:FindFirstChild("TalkingBillBoard"):destroy()
  321. end
  322. local naeeym2 = Instance.new("BillboardGui",Character)
  323. naeeym2.Size = UDim2.new(0,100,0,40)
  324. naeeym2.StudsOffset = Vector3.new(0,3,0)
  325. naeeym2.Adornee = Character.Head
  326. naeeym2.Name = "TalkingBillBoard"
  327. local tecks2 = Instance.new("TextLabel",naeeym2)
  328. tecks2.BackgroundTransparency = 1
  329. tecks2.BorderSizePixel = 0
  330. tecks2.Text = ""
  331. tecks2.Font = font
  332. tecks2.TextSize = 30
  333. tecks2.TextStrokeTransparency = 0
  334. tecks2.TextColor3 = color
  335. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  336. tecks2.Size = UDim2.new(1,0,0.5,0)
  337. local tecks3 = Instance.new("TextLabel",naeeym2)
  338. tecks3.BackgroundTransparency = 1
  339. tecks3.BorderSizePixel = 0
  340. tecks3.Text = ""
  341. tecks3.Font = font
  342. tecks3.TextSize = 30
  343. tecks3.TextStrokeTransparency = 0
  344. if typet == "Inverted" then
  345. tecks3.TextColor3 = Color3.new(0,0,0)
  346. tecks3.TextStrokeColor3 = color
  347. elseif typet == "Normal" then
  348. tecks3.TextColor3 = color
  349. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  350. end
  351. tecks3.Size = UDim2.new(1,0,0.5,0)
  352. coroutine.resume(coroutine.create(function()
  353. while true do
  354. swait(1)
  355. if chaosmode == true then
  356. tecks2.TextColor3 = BrickColor.random().Color
  357. tecks3.TextStrokeColor3 = BrickColor.random().Color
  358. end
  359. end
  360. end))
  361. modet.TextTransparency = modet.TextTransparency + 1
  362. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  363. for i = 0, 74*timeex do
  364. swait()
  365. modet.TextTransparency = 1
  366. modet.TextStrokeTransparency = 1
  367. tecks2.Text = text
  368. tecks3.Text = text
  369. end
  370. local randomrot = math.random(1,2)
  371. if randomrot == 1 then
  372. for i = 1, 50 do
  373. swait()
  374. tecks2.Text = text
  375. tecks3.Text = text
  376. modet.TextTransparency = modet.TextTransparency - .02
  377. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  378. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  379. tecks2.TextTransparency = tecks2.TextTransparency + .04
  380. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  381. tecks3.TextTransparency = tecks2.TextTransparency + .04
  382. end
  383. elseif randomrot == 2 then
  384. for i = 1, 50 do
  385. swait()
  386. tecks2.Text = text
  387. tecks3.Text = text
  388. modet.TextTransparency = modet.TextTransparency - .02
  389. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  390. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  391. tecks2.TextTransparency = tecks2.TextTransparency + .04
  392. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  393. tecks3.TextTransparency = tecks2.TextTransparency + .04
  394. end
  395. end
  396. modet.TextTransparency = 0
  397. modet.TextStrokeTransparency = 0
  398. if toggleTag == false then
  399. modet.TextTransparency = 1
  400. modet.TextStrokeTransparency = 1
  401. end
  402. naeeym2:Destroy()
  403. end)
  404. chat()
  405. end
  406.  
  407. function bosschatfunc(text,color,watval)
  408. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  409. coroutine.resume(coroutine.create(function()
  410. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  411. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  412. end
  413. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  414. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  415. scrg.Name = "Dialog"
  416. local txtlb = Instance.new("TextLabel",scrg)
  417. txtlb.Text = ""
  418. txtlb.Font = "Bodoni"
  419. txtlb.TextColor3 = Color3.new(0,0,0)
  420. txtlb.TextStrokeTransparency = 0
  421. txtlb.BackgroundTransparency = 0.75
  422. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  423. txtlb.TextStrokeColor3 = color
  424. txtlb.TextScaled = true
  425. txtlb.Size = UDim2.new(1,0,0.25,0)
  426. txtlb.TextXAlignment = "Left"
  427. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  428. local txtlb2 = Instance.new("TextLabel",scrg)
  429. txtlb2.Text = plr.Name.." The Guest:"
  430. txtlb2.Font = "Antique"
  431. txtlb2.TextColor3 = Color3.new(0,0,0)
  432. txtlb2.TextStrokeTransparency = 0
  433. txtlb2.BackgroundTransparency = 1
  434. txtlb2.TextStrokeColor3 = color
  435. txtlb2.TextSize = 40
  436. txtlb2.Size = UDim2.new(1,0,0.25,0)
  437. txtlb2.TextXAlignment = "Left"
  438. txtlb2.Position = UDim2.new(0,0,1,0)
  439. local fvalen = 0.55
  440. local fval = -0.49
  441. coroutine.resume(coroutine.create(function()
  442. while true do
  443. swait()
  444. if chaosmode == true then
  445. txtlb.Rotation = math.random(-1,1)
  446. txtlb2.Rotation = math.random(-1,1)
  447. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  448. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  449. txtlb.TextStrokeColor3 = BrickColor.random().Color
  450. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  451. end
  452. end
  453. end))
  454. coroutine.resume(coroutine.create(function()
  455. while true do
  456. swait()
  457. if scrg.Parent ~= nil then
  458. fvalen = fvalen - 0.0001
  459. elseif scrg.Parent == nil then
  460. break
  461. end
  462. end
  463. end))
  464. local flol = 1.75
  465. local flil = 1.6
  466. coroutine.resume(coroutine.create(function()
  467. for i = 0, 9 do
  468. swait()
  469. fval = fval + 0.05
  470. flol = flol - 0.1
  471. flil = flil - 0.1
  472. txtlb.Text = ""
  473. txtlb.Position = UDim2.new(0,0,flol,0)
  474. txtlb2.Position = UDim2.new(0,0,flil,0)
  475. end
  476. txtlb.Text = text
  477. wait(watval)
  478. local valinc = 0
  479. for i = 0, 99 do
  480. swait()
  481. valinc = valinc + 0.0001
  482. flol = flol + valinc
  483. flil = flil + valinc
  484. txtlb.Rotation = txtlb.Rotation + valinc*20
  485. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  486. txtlb.Position = UDim2.new(0,0,flol,0)
  487. txtlb2.Position = UDim2.new(0,0,flil,0)
  488. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  489. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  490. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  491. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  492. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  493. end
  494. scrg:Destroy()
  495. end))
  496. end))
  497. end
  498. end
  499.  
  500.  
  501. local Create = LoadLibrary("RbxUtility").Create
  502.  
  503. CFuncs = {
  504. ["Part"] = {
  505. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  506. local Part = Create("Part"){
  507. Parent = Parent,
  508. Reflectance = Reflectance,
  509. Transparency = Transparency,
  510. CanCollide = false,
  511. Locked = true,
  512. BrickColor = BrickColor.new(tostring(BColor)),
  513. Name = Name,
  514. Size = Size,
  515. Material = Material,
  516. }
  517. RemoveOutlines(Part)
  518. return Part
  519. end;
  520. };
  521.  
  522. ["Mesh"] = {
  523. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  524. local Msh = Create(Mesh){
  525. Parent = Part,
  526. Offset = OffSet,
  527. Scale = Scale,
  528. }
  529. if Mesh == "SpecialMesh" then
  530. Msh.MeshType = MeshType
  531. Msh.MeshId = MeshId
  532. end
  533. return Msh
  534. end;
  535. };
  536.  
  537. ["Mesh"] = {
  538. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  539. local Msh = Create(Mesh){
  540. Parent = Part,
  541. Offset = OffSet,
  542. Scale = Scale,
  543. }
  544. if Mesh == "SpecialMesh" then
  545. Msh.MeshType = MeshType
  546. Msh.MeshId = MeshId
  547. end
  548. return Msh
  549. end;
  550. };
  551.  
  552. ["Weld"] = {
  553. Create = function(Parent, Part0, Part1, C0, C1)
  554. local Weld = Create("Weld"){
  555. Parent = Parent,
  556. Part0 = Part0,
  557. Part1 = Part1,
  558. C0 = C0,
  559. C1 = C1,
  560. }
  561. return Weld
  562. end;
  563. };
  564.  
  565. ["Sound"] = {
  566. Create = function(id, par, vol, pit)
  567. coroutine.resume(coroutine.create(function()
  568. local S = Create("Sound"){
  569. Volume = vol,
  570. Name = "EffectSoundo",
  571. Pitch = pit or 1,
  572. SoundId = id,
  573. Parent = par or workspace,
  574. }
  575. wait()
  576. S:play()
  577. game:GetService("Debris"):AddItem(S, 10)
  578. end))
  579. end;
  580. };
  581.  
  582. ["TimeSound"] = {
  583. Create = function(id, par, vol, pit, timepos)
  584. coroutine.resume(coroutine.create(function()
  585. local S = Create("Sound"){
  586. Volume = vol,
  587. Name = "EffectSoundo",
  588. Pitch = pit or 1,
  589. SoundId = id,
  590. TimePosition = timepos,
  591. Parent = par or workspace,
  592. }
  593. wait()
  594. S:play()
  595. game:GetService("Debris"):AddItem(S, 10)
  596. end))
  597. end;
  598. };
  599. ["EchoSound"] = {
  600. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  601. coroutine.resume(coroutine.create(function()
  602. local Sas = Create("Sound"){
  603. Volume = vol,
  604. Name = "EffectSoundo",
  605. Pitch = pit or 1,
  606. SoundId = id,
  607. TimePosition = timepos,
  608. Parent = par or workspace,
  609. }
  610. local E = Create("EchoSoundEffect"){
  611. Delay = echodelay,
  612. Name = "Echo",
  613. Feedback = fedb,
  614. DryLevel = dryl,
  615. Parent = Sas,
  616. }
  617. wait()
  618. Sas:play()
  619. game:GetService("Debris"):AddItem(Sas, delays)
  620. end))
  621. end;
  622. };
  623.  
  624. ["LongSound"] = {
  625. Create = function(id, par, vol, pit)
  626. coroutine.resume(coroutine.create(function()
  627. local S = Create("Sound"){
  628. Volume = vol,
  629. Pitch = pit or 1,
  630. SoundId = id,
  631. Parent = par or workspace,
  632. }
  633. wait()
  634. S:play()
  635. game:GetService("Debris"):AddItem(S, 60)
  636. end))
  637. end;
  638. };
  639.  
  640. ["ParticleEmitter"] = {
  641. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  642. local fp = Create("ParticleEmitter"){
  643. Parent = Parent,
  644. Color = ColorSequence.new(Color1, Color2),
  645. LightEmission = LightEmission,
  646. Size = Size,
  647. Texture = Texture,
  648. Transparency = Transparency,
  649. ZOffset = ZOffset,
  650. Acceleration = Accel,
  651. Drag = Drag,
  652. LockedToPart = LockedToPart,
  653. VelocityInheritance = VelocityInheritance,
  654. EmissionDirection = EmissionDirection,
  655. Enabled = Enabled,
  656. Lifetime = LifeTime,
  657. Rate = Rate,
  658. Rotation = Rotation,
  659. RotSpeed = RotSpeed,
  660. Speed = Speed,
  661. VelocitySpread = VelocitySpread,
  662. }
  663. return fp
  664. end;
  665. };
  666.  
  667. CreateTemplate = {
  668.  
  669. };
  670. }
  671.  
  672.  
  673.  
  674. New = function(Object, Parent, Name, Data)
  675. local Object = Instance.new(Object)
  676. for Index, Value in pairs(Data or {}) do
  677. Object[Index] = Value
  678. end
  679. Object.Parent = Parent
  680. Object.Name = Name
  681. return Object
  682. end
  683. local halocolor = BrickColor.new("Pastel light blue")
  684. local halocolor2 = BrickColor.new("Cool yellow")
  685. local starcolor = BrickColor.new("Bright yellow")
  686. local lunacolor = BrickColor.new("Navy blue")
  687. local lunacolor2 = BrickColor.new("Bright blue")
  688. local wepcolor = BrickColor.new("Really black")
  689. local maincolor = BrickColor.new("Really black")
  690. local m = Instance.new("Model",char)
  691. local m2 = Instance.new("Model",char)
  692. local m3 = Instance.new("Model",char)
  693. local mw1 = Instance.new("Model",char)
  694. local mw2 = Instance.new("Model",char)
  695.  
  696.  
  697. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  698. local gui = it(GuiType)
  699. gui.Parent = parent
  700. gui.Text = text
  701. gui.BackgroundTransparency = backtrans
  702. gui.BackgroundColor3 = backcol
  703. gui.SizeConstraint = "RelativeXY"
  704. gui.TextXAlignment = "Center"
  705. gui.TextYAlignment = "Center"
  706. gui.Position = pos
  707. gui.Size = size
  708. gui.Font = "SourceSans"
  709. gui.FontSize = "Size14"
  710. gui.TextWrapped = false
  711. gui.TextStrokeTransparency = 0
  712. gui.TextColor = BrickColor.new("White")
  713. return gui
  714. end
  715. --------------------------- GUI STUFF
  716. local basgui = it("GuiMain")
  717. basgui.Parent = plr.PlayerGui
  718. basgui.Name = "VISgui"
  719. local fullscreenz = it("Frame")
  720. fullscreenz.Parent = basgui
  721. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  722. fullscreenz.BackgroundTransparency = 1
  723. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  724. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  725. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  726. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  727. imgl2.BackgroundTransparency = 1
  728. imgl2.BorderSizePixel = 0
  729. imgl2.ImageTransparency = 0.5
  730. imgl2.ImageColor3 = Color3.new(1,0,0)
  731. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  732. imgl2.Size = UDim2.new(0,1000,0,1000)
  733. imgl2.Image = "rbxassetid://2325939897"
  734. local techc = imgl2:Clone()
  735. techc.Parent = fullscreenz
  736. techc.ImageTransparency = 0
  737. techc.Size = UDim2.new(0,900,0,900)
  738. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  739. techc.ImageColor3 = Color3.new(1,0,0)
  740. techc.Image = "rbxassetid://2273224484"
  741. local circl = imgl2:Clone()
  742. circl.Parent = fullscreenz
  743. circl.ImageTransparency = 0
  744. circl.Size = UDim2.new(0,550,0,550)
  745. circl.Position = UDim2.new(0.75,25,0.55,25)
  746. circl.ImageColor3 = Color3.new(0,0,0)
  747. circl.Image = "rbxassetid://2312119891"
  748. local circl2 = imgl2:Clone()
  749. circl2.Parent = fullscreenz
  750. circl2.ImageTransparency = 0
  751. circl2.Size = UDim2.new(0,700,0,700)
  752. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  753. circl2.ImageColor3 = Color3.new(1,0,0)
  754. circl2.Image = "rbxassetid://2312119891"
  755. local imgl2b = imgl2:Clone()
  756. imgl2b.Parent = fullscreenz
  757. imgl2b.ImageTransparency = 0
  758. imgl2b.Size = UDim2.new(0,800,0,800)
  759. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  760. imgl2b.ImageColor3 = Color3.new(0,0,0)
  761. local ned = Instance.new("TextLabel",fullscreenz)
  762. ned.ZIndex = 2
  763. ned.Font = "Arcade"
  764. ned.BackgroundTransparency = 1
  765. ned.BorderSizePixel = 0.65
  766. ned.Size = UDim2.new(0.3,0,0.2,0)
  767. ned.Position = UDim2.new(0.7,0,0.8,0)
  768. ned.TextColor3 = BrickColor.new("Really red").Color
  769. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  770. ned.TextScaled = true
  771. ned.TextStrokeTransparency = 0
  772. ned.Text = "Murder Guest"
  773. ned.TextSize = 24
  774. ned.Rotation = 1
  775. ned.TextXAlignment = "Right"
  776. ned.TextYAlignment = "Bottom"
  777.  
  778. local extrawingmod1 = Instance.new("Model",char)
  779. local extrawingmod2 = Instance.new("Model",char)
  780.  
  781. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  782. local p = Instance.new("Part")
  783. p.TopSurface = 0
  784. p.BottomSurface = 0
  785. p.Parent = parent
  786. p.Size = Vector3.new(0.1,0.1,0.1)
  787. p.Transparency = transparency
  788. p.Reflectance = reflectance
  789. p.CanCollide = false
  790. p.Locked = true
  791. p.BrickColor = brickcolor
  792. p.Material = material
  793. return p
  794. end
  795.  
  796. function CreateMesh(parent,meshtype,x1,y1,z1)
  797. local mesh = Instance.new("SpecialMesh",parent)
  798. mesh.MeshType = meshtype
  799. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  800. return mesh
  801. end
  802.  
  803. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  804. local mesh = Instance.new("SpecialMesh",parent)
  805. mesh.MeshType = "FileMesh"
  806. mesh.MeshId = meshid
  807. mesh.Scale = Vector3.new(x1,y1,z1)
  808. return mesh
  809. end
  810.  
  811.  
  812. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  813. local mesh = Instance.new("SpecialMesh",parent)
  814. mesh.MeshType = "FileMesh"
  815. mesh.MeshId = meshid
  816. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  817. mesh.Scale = Vector3.new(x1,y1,z1)
  818. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  819. return mesh
  820. end
  821.  
  822. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  823. local weld = Instance.new("Weld")
  824. weld.Parent = parent
  825. weld.Part0 = part0
  826. weld.Part1 = part1
  827. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  828. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  829. return weld
  830. end
  831.  
  832.  
  833. --------------
  834. --------------
  835. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  836. 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))
  837. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  838. 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))
  839.  
  840. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  841. CreateMesh(handle,"Brick",0,0,0)
  842. 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))
  843. local valuaring = 10
  844. for i = 0, 49 do
  845. valuaring = valuaring + 10
  846. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  847. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  848. 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))
  849. end
  850.  
  851. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  852. CreateMesh(handle,"Brick",0,0,0)
  853. 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))
  854. local valuaring = 10
  855. for i = 0, 49 do
  856. valuaring = valuaring + 10
  857. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  858. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  859. 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))
  860. end
  861.  
  862.  
  863. local handle = CreateParta(m,1,1,"Neon",maincolor)
  864. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  865. 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))
  866.  
  867. --- Left wing.
  868.  
  869. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  870. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  871. 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))
  872.  
  873. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  874. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  875. 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))
  876. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  877. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  878. 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))
  879. A0 = Instance.new('Attachment',wed)
  880. A0.Position = vt(0,0.25,0.25)
  881. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  882. CreateMesh(wed,"Wedge",0.05,0.5,3)
  883. 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))
  884. A1 = Instance.new('Attachment',wed)
  885. A1.Position = vt(0,-0.25,-2)
  886. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  887. CreateMesh(wed,"Wedge",0.05,3,0.5)
  888. 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))
  889.  
  890. tl1 = Instance.new('Trail',wed)
  891. tl1.Attachment0 = A1
  892. tl1.Attachment1 = A0
  893. tl1.Texture = "rbxassetid://2108945559"
  894. tl1.LightEmission = 1
  895. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  896. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  897. tl1.Lifetime = 0.6
  898.  
  899.  
  900. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  901. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  902. 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))
  903.  
  904. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  905. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  906. 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))
  907. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  908. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  909. 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))
  910. A0 = Instance.new('Attachment',wed)
  911. A0.Position = vt(0,0.25,0.25)
  912. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  913. CreateMesh(wed,"Wedge",0.05,0.5,3)
  914. 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))
  915. A1 = Instance.new('Attachment',wed)
  916. A1.Position = vt(0,-0.25,-2)
  917. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  918. CreateMesh(wed,"Wedge",0.05,3,0.5)
  919. 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))
  920.  
  921. tl2 = Instance.new('Trail',wed)
  922. tl2.Attachment0 = A1
  923. tl2.Attachment1 = A0
  924. tl2.Texture = "rbxassetid://2108945559"
  925. tl2.LightEmission = 1
  926. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  927. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  928. tl2.Lifetime = 0.6
  929.  
  930. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  931. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  932. 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))
  933.  
  934. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  935. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  936. 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))
  937. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  938. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  939. 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))
  940. A0 = Instance.new('Attachment',wed)
  941. A0.Position = vt(0,0.25,0.25)
  942. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  943. CreateMesh(wed,"Wedge",0.05,0.5,3)
  944. 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))
  945. A1 = Instance.new('Attachment',wed)
  946. A1.Position = vt(0,-0.25,-2)
  947. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  948. CreateMesh(wed,"Wedge",0.05,3,0.5)
  949. 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))
  950.  
  951. tl3 = Instance.new('Trail',wed)
  952. tl3.Attachment0 = A1
  953. tl3.Attachment1 = A0
  954. tl3.Texture = "rbxassetid://2108945559"
  955. tl3.LightEmission = 1
  956. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  957. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  958. tl3.Lifetime = 0.6
  959.  
  960. tl1.Enabled = false
  961. tl2.Enabled = false
  962. tl3.Enabled = false
  963. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  964. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  965. 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))
  966.  
  967. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  968. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  969. 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))
  970. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  971. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  972. 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))
  973. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  974. CreateMesh(wed,"Wedge",0.05,0.5,3)
  975. 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))
  976. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  977. CreateMesh(wed,"Wedge",0.05,3,0.5)
  978. 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))
  979.  
  980. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  981. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  982. 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))
  983.  
  984. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  985. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  986. 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))
  987. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  988. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  989. 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))
  990. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  991. CreateMesh(wed,"Wedge",0.05,0.5,3)
  992. 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))
  993. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  994. CreateMesh(wed,"Wedge",0.05,3,0.5)
  995. 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))
  996.  
  997. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  998. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  999. 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))
  1000.  
  1001. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1002. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1003. 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))
  1004. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1005. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1006. 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))
  1007. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1008. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1009. 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))
  1010. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1011. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1012. 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))
  1013.  
  1014. -- Right wing.
  1015.  
  1016. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1017. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1018. 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))
  1019.  
  1020. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1021. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1022. 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))
  1023. A0 = Instance.new('Attachment',wed)
  1024. A0.Position = vt(0,0.25,0.25)
  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. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1029. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1030. 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))
  1031. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1032. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1033. 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))
  1034. A1 = Instance.new('Attachment',wed)
  1035. A1.Position = vt(0,2,0.25)
  1036.  
  1037. tr1 = Instance.new('Trail',wed)
  1038. tr1.Attachment0 = A1
  1039. tr1.Attachment1 = A0
  1040. tr1.Texture = "rbxassetid://2108945559"
  1041. tr1.LightEmission = 1
  1042. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1043. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1044. tr1.Lifetime = 0.6
  1045.  
  1046. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1047. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1048. 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))
  1049.  
  1050. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1051. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1052. 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))
  1053. A0 = Instance.new('Attachment',wed)
  1054. A0.Position = vt(0,0.25,0.25)
  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. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1059. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1060. 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))
  1061. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1062. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1063. 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))
  1064. A1 = Instance.new('Attachment',wed)
  1065. A1.Position = vt(0,2,0.25)
  1066.  
  1067. tr2 = Instance.new('Trail',wed)
  1068. tr2.Attachment0 = A1
  1069. tr2.Attachment1 = A0
  1070. tr2.Texture = "rbxassetid://2108945559"
  1071. tr2.LightEmission = 1
  1072. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1073. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1074. tr2.Lifetime = 0.6
  1075.  
  1076. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1077. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1078. 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))
  1079.  
  1080. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1081. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1082. 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))
  1083. A0 = Instance.new('Attachment',wed)
  1084. A0.Position = vt(0,0.25,0.25)
  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. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1089. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1090. 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))
  1091. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1092. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1093. 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))
  1094. A1 = Instance.new('Attachment',wed)
  1095. A1.Position = vt(0,2,0.25)
  1096.  
  1097. tr3 = Instance.new('Trail',wed)
  1098. tr3.Attachment0 = A1
  1099. tr3.Attachment1 = A0
  1100. tr3.Texture = "rbxassetid://2108945559"
  1101. tr3.LightEmission = 1
  1102. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1103. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1104. tr3.Lifetime = 0.6
  1105.  
  1106.  
  1107. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1108. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1109. 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))
  1110.  
  1111. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1112. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1113. 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))
  1114. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1115. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1116. 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))
  1117. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1118. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1119. 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))
  1120. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1121. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1122. 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))
  1123.  
  1124. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1125. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1126. 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))
  1127.  
  1128. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1129. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1130. 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))
  1131. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1132. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1133. 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))
  1134. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1135. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1136. 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))
  1137. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1138. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1139. 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))
  1140.  
  1141. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1142. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1143. 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))
  1144.  
  1145. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1146. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1147. 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))
  1148. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1149. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1150. 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))
  1151. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1152. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1153. 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))
  1154. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1155. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1156. 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))
  1157.  
  1158. --HERES THE RING
  1159.  
  1160.  
  1161. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1162. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1163. 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))
  1164. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1165. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1166. 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))
  1167. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1168. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1169. 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))
  1170.  
  1171.  
  1172. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1173. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1174. 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))
  1175.  
  1176. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1177. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1178. 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))
  1179.  
  1180.  
  1181.  
  1182. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1183. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1184. 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))
  1185.  
  1186. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1187. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1188. 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))
  1189.  
  1190. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1191. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1192. 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))
  1193.  
  1194. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1195. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1196. 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))
  1197. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1198. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1199. 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))]]--
  1200.  
  1201. --- second ring
  1202.  
  1203.  
  1204. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1205. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1206. 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))
  1207.  
  1208. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1209. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1210. 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))
  1211.  
  1212.  
  1213.  
  1214. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1215. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1216. 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))
  1217.  
  1218. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1219. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1220. 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))
  1221.  
  1222. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1223. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1224. 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))
  1225.  
  1226. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1227. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1228. 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))
  1229. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1230. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1231. 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))
  1232.  
  1233.  
  1234.  
  1235. for i, v in pairs(m:GetChildren()) do
  1236. if v:IsA("Part") then
  1237. v.BrickColor = BrickColor.new("Really black")
  1238. v.Material = "Glass"
  1239. end
  1240. end
  1241. for i, v in pairs(m2:GetChildren()) do
  1242. if v:IsA("Part") then
  1243. v.BrickColor = BrickColor.new("Crimson")
  1244. v.Material = "Granite"
  1245. end
  1246. end
  1247. for i, v in pairs(m3:GetChildren()) do
  1248. if v:IsA("Part") then
  1249. v.BrickColor = BrickColor.new("Really red")
  1250. v.Material = "Neon"
  1251. end
  1252. end
  1253. for i, v in pairs(mw2:GetChildren()) do
  1254. if v:IsA("Part") then
  1255. v.BrickColor = BrickColor.new("Really red")
  1256. v.Material = "Neon"
  1257. end
  1258. end
  1259. for i, v in pairs(mw1:GetChildren()) do
  1260. if v:IsA("Part") then
  1261. v.Transparency = 1
  1262. v.BrickColor = BrickColor.new("Really red")
  1263. v.Material = "Neon"
  1264. end
  1265. end
  1266. for i, v in pairs(extrawingmod1:GetChildren()) do
  1267. if v:IsA("Part") then
  1268. v.Transparency = 1
  1269. v.BrickColor = BrickColor.new("White")
  1270. v.Material = "Neon"
  1271. end
  1272. end
  1273. for i, v in pairs(extrawingmod2:GetChildren()) do
  1274. if v:IsA("Part") then
  1275. v.Transparency = 1
  1276. v.BrickColor = BrickColor.new("White")
  1277. v.Material = "Neon"
  1278. end
  1279. end
  1280. local MAINRUINCOLOR = BrickColor.new("Really red")
  1281. ------
  1282.  
  1283.  
  1284. function RemoveOutlines(part)
  1285. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1286. end
  1287. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1288. local Part = Create("Part")({
  1289. Parent = Parent,
  1290. Reflectance = Reflectance,
  1291. Transparency = Transparency,
  1292. CanCollide = false,
  1293. Locked = true,
  1294. BrickColor = BrickColor.new(tostring(BColor)),
  1295. Name = Name,
  1296. Size = Size,
  1297. Material = Material
  1298. })
  1299. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1300. RemoveOutlines(Part)
  1301. return Part
  1302. end
  1303. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1304. local Msh = Create(Mesh)({
  1305. Parent = Part,
  1306. Offset = OffSet,
  1307. Scale = Scale
  1308. })
  1309. if Mesh == "SpecialMesh" then
  1310. Msh.MeshType = MeshType
  1311. Msh.MeshId = MeshId
  1312. end
  1313. return Msh
  1314. end
  1315. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1316. local Weld = Create("Weld")({
  1317. Parent = Parent,
  1318. Part0 = Part0,
  1319. Part1 = Part1,
  1320. C0 = C0,
  1321. C1 = C1
  1322. })
  1323. return Weld
  1324. end
  1325.  
  1326. Player = plr
  1327. Character=Player.Character
  1328. PlayerGui=Player.PlayerGui
  1329. Backpack=Player.Backpack
  1330. Torso=Character.Torso
  1331. Head=Character.Head
  1332. Humanoid=Character.Humanoid
  1333. m=Instance.new('Model',Character)
  1334. LeftArm=Character["Left Arm"]
  1335. LeftLeg=Character["Left Leg"]
  1336. RightArm=Character["Right Arm"]
  1337. RightLeg=Character["Right Leg"]
  1338. LS=Torso["Left Shoulder"]
  1339. LH=Torso["Left Hip"]
  1340. RS=Torso["Right Shoulder"]
  1341. RH=Torso["Right Hip"]
  1342. Face = Head.face
  1343. Neck=Torso.Neck
  1344. it=Instance.new
  1345. attacktype=1
  1346. vt=Vector3.new
  1347. cf=CFrame.new
  1348. euler=CFrame.fromEulerAnglesXYZ
  1349. angles=CFrame.Angles
  1350. cloaked=false
  1351. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1352. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1353. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1354. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1355. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1356. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1357. RootPart=Character.HumanoidRootPart
  1358. RootJoint=RootPart.RootJoint
  1359. RootCF=euler(-1.57,0,3.14)
  1360. attack = false
  1361. attackdebounce = false
  1362. deb=false
  1363. equipped=true
  1364. hand=false
  1365. combo=0
  1366. mana=0
  1367. trispeed=.2
  1368. attackmode='none'
  1369. local idle=0
  1370. local Anim="Idle"
  1371. local Effects={}
  1372. local gun=false
  1373. local shoot=false
  1374. local sine = 0
  1375. local change = 1
  1376.  
  1377. function RecolorTextAndRename(name,col1,col2,font)
  1378. modet.TextStrokeColor3 = col2
  1379. modet.TextColor3 = col1
  1380. modet.Font = font
  1381. modet.Text = name
  1382. techc.ImageColor3 = col2
  1383. circl.ImageColor3 = col2
  1384. circl2.ImageColor3 = col1
  1385. imgl2.ImageColor3 = col1
  1386. imgl2b.ImageColor3 = col2
  1387. ned.Text = name
  1388. ned.TextColor3 = col1
  1389. ned.TextStrokeColor3 = col2
  1390. end
  1391. --save shoulders
  1392. RSH, LSH=nil, nil
  1393. --welds
  1394. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1395. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1396. LH=Torso["Left Hip"]
  1397. RH=Torso["Right Hip"]
  1398. TorsoColor=Torso.BrickColor
  1399. function NoOutline(Part)
  1400. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1401. end
  1402. ch=Character
  1403. RSH=ch.Torso["Right Shoulder"]
  1404. LSH=ch.Torso["Left Shoulder"]
  1405. --
  1406. RSH.Parent=nil
  1407. LSH.Parent=nil
  1408. --
  1409. RW.Name="Right Shoulder"
  1410. RW.Part0=ch.Torso
  1411. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1412. RW.C1=cf(0, 0.5, 0)
  1413. RW.Part1=ch["Right Arm"]
  1414. RW.Parent=ch.Torso
  1415. --
  1416. LW.Name="Left Shoulder"
  1417. LW.Part0=ch.Torso
  1418. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1419. LW.C1=cf(0, 0.5, 0)
  1420. LW.Part1=ch["Left Arm"]
  1421. LW.Parent=ch.Torso
  1422.  
  1423. local Stats=Instance.new("BoolValue")
  1424. Stats.Name="Stats"
  1425. Stats.Parent=Character
  1426. local Atk=Instance.new("NumberValue")
  1427. Atk.Name="Damage"
  1428. Atk.Parent=Stats
  1429. Atk.Value=1
  1430. local Def=Instance.new("NumberValue")
  1431. Def.Name="Defense"
  1432. Def.Parent=Stats
  1433. Def.Value=1
  1434. local Speed=Instance.new("NumberValue")
  1435. Speed.Name="Speed"
  1436. Speed.Parent=Stats
  1437. Speed.Value=1
  1438. local Mvmt=Instance.new("NumberValue")
  1439. Mvmt.Name="Movement"
  1440. Mvmt.Parent=Stats
  1441. Mvmt.Value=1
  1442.  
  1443. local donum=0
  1444. local ast = {744586075,385254610}
  1445.  
  1446. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1447. local fp=it("Part")
  1448. fp.formFactor=formfactor
  1449. fp.Parent=parent
  1450. fp.Reflectance=reflectance
  1451. fp.Transparency=transparency
  1452. fp.CanCollide=false
  1453. fp.Locked=true
  1454. fp.BrickColor=brickcolor
  1455. fp.Name=name
  1456. fp.Size=size
  1457. fp.Position=Torso.Position
  1458. NoOutline(fp)
  1459. fp.Material="SmoothPlastic"
  1460. fp:BreakJoints()
  1461. return fp
  1462. end
  1463.  
  1464. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1465. local mesh=it(Mesh)
  1466. mesh.Parent=part
  1467. if Mesh=="SpecialMesh" then
  1468. mesh.MeshType=meshtype
  1469. if meshid~="nil" then
  1470. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1471. end
  1472. end
  1473. mesh.Offset=offset
  1474. mesh.Scale=scale
  1475. return mesh
  1476. end
  1477.  
  1478. function weld(parent,part0,part1,c0)
  1479. local weld=it("Weld")
  1480. weld.Parent=parent
  1481. weld.Part0=part0
  1482. weld.Part1=part1
  1483. weld.C0=c0
  1484. return weld
  1485. end
  1486.  
  1487. local Color1=Torso.BrickColor
  1488.  
  1489. local bodvel=Instance.new("BodyVelocity")
  1490. local bg=Instance.new("BodyGyro")
  1491.  
  1492. --------- SazEreno's Artificial HB --------------
  1493. ArtificialHB = Instance.new("BindableEvent", script)
  1494. ArtificialHB.Name = "ArtificialHB"
  1495.  
  1496. script:WaitForChild("ArtificialHB")
  1497. Frame_Speed = 1 / 60
  1498. frame = Frame_Speed
  1499. tf = 0
  1500. allowframeloss = false
  1501. tossremainder = false
  1502. lastframe = tick()
  1503. script.ArtificialHB:Fire()
  1504.  
  1505. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1506. tf = tf + s
  1507. if tf >= frame then
  1508. if allowframeloss then
  1509. script.ArtificialHB:Fire()
  1510. lastframe = tick()
  1511. else
  1512. for i = 1, math.floor(tf / frame) do
  1513. script.ArtificialHB:Fire()
  1514. end
  1515. lastframe = tick()
  1516. end
  1517. if tossremainder then
  1518. tf = 0
  1519. else
  1520. tf = tf - frame * math.floor(tf / frame)
  1521. end
  1522. end
  1523. end)
  1524.  
  1525. ------------------
  1526. function swait(num)
  1527. if num == 0 or num == nil then
  1528. ArtificialHB.Event:wait()
  1529. else
  1530. for i = 1, num do
  1531. ArtificialHB.Event:wait()
  1532. end
  1533. end
  1534. end
  1535. -------- RAINBOW LEAVE IT TO ME
  1536. local r = 255
  1537. local g = 0
  1538. local b = 0
  1539. coroutine.resume(coroutine.create(function()
  1540. while wait() do
  1541. for i = 0, 254/5 do
  1542. swait()
  1543. g = g + 5
  1544. end
  1545. for i = 0, 254/5 do
  1546. swait()
  1547. r = r - 5
  1548. end
  1549. for i = 0, 254/5 do
  1550. swait()
  1551. b = b + 5
  1552. end
  1553. for i = 0, 254/5 do
  1554. swait()
  1555. g = g - 5
  1556. end
  1557. for i = 0, 254/5 do
  1558. swait()
  1559. r = r + 5
  1560. end
  1561. for i = 0, 254/5 do
  1562. swait()
  1563. b = b - 5
  1564. end
  1565. end
  1566. end))
  1567.  
  1568.  
  1569. so = function(id,par,vol,pit)
  1570. coroutine.resume(coroutine.create(function()
  1571. local sou = Instance.new("Sound",par or workspace)
  1572. sou.Volume=vol
  1573. sou.Pitch=pit or 1
  1574. sou.SoundId=id
  1575. swait()
  1576. sou:play()
  1577. game:GetService("Debris"):AddItem(sou,6)
  1578. end))
  1579. end
  1580.  
  1581. function clerp(a,b,t)
  1582. local qa = {QuaternionFromCFrame(a)}
  1583. local qb = {QuaternionFromCFrame(b)}
  1584. local ax, ay, az = a.x, a.y, a.z
  1585. local bx, by, bz = b.x, b.y, b.z
  1586. local _t = 1-t
  1587. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1588. end
  1589.  
  1590. function QuaternionFromCFrame(cf)
  1591. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1592. local trace = m00 + m11 + m22
  1593. if trace > 0 then
  1594. local s = math.sqrt(1 + trace)
  1595. local recip = 0.5/s
  1596. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1597. else
  1598. local i = 0
  1599. if m11 > m00 then
  1600. i = 1
  1601. end
  1602. if m22 > (i == 0 and m00 or m11) then
  1603. i = 2
  1604. end
  1605. if i == 0 then
  1606. local s = math.sqrt(m00-m11-m22+1)
  1607. local recip = 0.5/s
  1608. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1609. elseif i == 1 then
  1610. local s = math.sqrt(m11-m22-m00+1)
  1611. local recip = 0.5/s
  1612. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1613. elseif i == 2 then
  1614. local s = math.sqrt(m22-m00-m11+1)
  1615. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1616. end
  1617. end
  1618. end
  1619.  
  1620. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1621. local xs, ys, zs = x + x, y + y, z + z
  1622. local wx, wy, wz = w*xs, w*ys, w*zs
  1623. local xx = x*xs
  1624. local xy = x*ys
  1625. local xz = x*zs
  1626. local yy = y*ys
  1627. local yz = y*zs
  1628. local zz = z*zs
  1629. 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))
  1630. end
  1631.  
  1632. function QuaternionSlerp(a, b, t)
  1633. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1634. local startInterp, finishInterp;
  1635. if cosTheta >= 0.0001 then
  1636. if (1 - cosTheta) > 0.0001 then
  1637. local theta = math.acos(cosTheta)
  1638. local invSinTheta = 1/math.sin(theta)
  1639. startInterp = math.sin((1-t)*theta)*invSinTheta
  1640. finishInterp = math.sin(t*theta)*invSinTheta
  1641. else
  1642. startInterp = 1-t
  1643. finishInterp = t
  1644. end
  1645. else
  1646. if (1+cosTheta) > 0.0001 then
  1647. local theta = math.acos(-cosTheta)
  1648. local invSinTheta = 1/math.sin(theta)
  1649. startInterp = math.sin((t-1)*theta)*invSinTheta
  1650. finishInterp = math.sin(t*theta)*invSinTheta
  1651. else
  1652. startInterp = t-1
  1653. finishInterp = t
  1654. end
  1655. end
  1656. 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
  1657. end
  1658.  
  1659. local function CFrameFromTopBack(at, top, back)
  1660. local right = top:Cross(back)
  1661. return CFrame.new(at.x, at.y, at.z,
  1662. right.x, top.x, back.x,
  1663. right.y, top.y, back.y,
  1664. right.z, top.z, back.z)
  1665. end
  1666.  
  1667. function Triangle(a, b, c)
  1668. local edg1 = (c-a):Dot((b-a).unit)
  1669. local edg2 = (a-b):Dot((c-b).unit)
  1670. local edg3 = (b-c):Dot((a-c).unit)
  1671. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1672. a, b, c = a, b, c
  1673. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1674. a, b, c = b, c, a
  1675. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1676. a, b, c = c, a, b
  1677. else
  1678. assert(false, "unreachable")
  1679. end
  1680.  
  1681. local len1 = (c-a):Dot((b-a).unit)
  1682. local len2 = (b-a).magnitude - len1
  1683. local width = (a + (b-a).unit*len1 - c).magnitude
  1684.  
  1685. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1686.  
  1687. local list = {}
  1688.  
  1689. if len1 > 0.01 then
  1690. local w1 = Instance.new('WedgePart', m)
  1691. game:GetService("Debris"):AddItem(w1,5)
  1692. w1.Material = "SmoothPlastic"
  1693. w1.FormFactor = 'Custom'
  1694. w1.BrickColor = BrickColor.new("Really red")
  1695. w1.Transparency = 0
  1696. w1.Reflectance = 0
  1697. w1.Material = "SmoothPlastic"
  1698. w1.CanCollide = false
  1699. local l1 = Instance.new("PointLight",w1)
  1700. l1.Color = Color3.new(170,0,0)
  1701. NoOutline(w1)
  1702. local sz = Vector3.new(0.2, width, len1)
  1703. w1.Size = sz
  1704. local sp = Instance.new("SpecialMesh",w1)
  1705. sp.MeshType = "Wedge"
  1706. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1707. w1:BreakJoints()
  1708. w1.Anchored = true
  1709. w1.Parent = workspace
  1710. w1.Transparency = 0.7
  1711. table.insert(Effects,{w1,"Disappear",.01})
  1712. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1713. table.insert(list,w1)
  1714. end
  1715.  
  1716. if len2 > 0.01 then
  1717. local w2 = Instance.new('WedgePart', m)
  1718. game:GetService("Debris"):AddItem(w2,5)
  1719. w2.Material = "SmoothPlastic"
  1720. w2.FormFactor = 'Custom'
  1721. w2.BrickColor = BrickColor.new("Really red")
  1722. w2.Transparency = 0
  1723. w2.Reflectance = 0
  1724. w2.Material = "SmoothPlastic"
  1725. w2.CanCollide = false
  1726. local l2 = Instance.new("PointLight",w2)
  1727. l2.Color = Color3.new(170,0,0)
  1728. NoOutline(w2)
  1729. local sz = Vector3.new(0.2, width, len2)
  1730. w2.Size = sz
  1731. local sp = Instance.new("SpecialMesh",w2)
  1732. sp.MeshType = "Wedge"
  1733. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1734. w2:BreakJoints()
  1735. w2.Anchored = true
  1736. w2.Parent = workspace
  1737. w2.Transparency = 0.7
  1738. table.insert(Effects,{w2,"Disappear",.01})
  1739. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1740. table.insert(list,w2)
  1741. end
  1742. return unpack(list)
  1743. end
  1744.  
  1745.  
  1746. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1747. if hit.Parent == nil then
  1748. return
  1749. end
  1750. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1751. for _, v in pairs(hit.Parent:children()) do
  1752. if v:IsA("Humanoid") then
  1753. h = v
  1754. end
  1755. end
  1756. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1757. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1758. return
  1759. end
  1760. local c = Create("ObjectValue")({
  1761. Name = "creator",
  1762. Value = owner
  1763. Parent = h
  1764. })
  1765. game:GetService("Debris"):AddItem(c, 0.5)
  1766. if HitSound ~= nil and HitPitch ~= nil then
  1767. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1768. end
  1769. local Damage = math.random(minim, maxim)
  1770. local blocked = false
  1771. local block = hit.Parent:findFirstChild("Block")
  1772. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1773. blocked = true
  1774. block.Value = block.Value - 1
  1775. print(block.Value)
  1776. end
  1777. if blocked == false then
  1778. HitHealth = h.Health
  1779. h.MaxHealth = 100
  1780. h.Health = h.Health - Damage
  1781. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1782. print("gained kill")
  1783. dmg(h.Parent)
  1784. end
  1785. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1786. else
  1787. h.Health = h.Health - Damage / 2
  1788. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1789. end
  1790. if Type == "Knockdown" then
  1791. local hum = hit.Parent.Humanoid
  1792. hum.PlatformStand = true
  1793. coroutine.resume(coroutine.create(function(HHumanoid)
  1794. swait(1)
  1795. HHumanoid.PlatformStand = false
  1796. end), hum)
  1797. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1798. local bodvol = Create("BodyVelocity")({
  1799. velocity = angle * knockback,
  1800. P = 5000,
  1801. maxForce = Vector3.new(8000, 8000, 8000),
  1802. Parent = hit
  1803. })
  1804. local rl = Create("BodyAngularVelocity")({
  1805. P = 3000,
  1806. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1807. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1808. Parent = hit
  1809. })
  1810. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1811. game:GetService("Debris"):AddItem(rl, 0.5)
  1812. elseif Type == "Normal" then
  1813. local vp = Create("BodyVelocity")({
  1814. P = 500,
  1815. maxForce = Vector3.new(math.huge, 0, math.huge),
  1816. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1817. })
  1818. if knockback > 0 then
  1819. vp.Parent = hit.Parent.Head
  1820. end
  1821. game:GetService("Debris"):AddItem(vp, 0.5)
  1822. elseif Type == "Up" then
  1823. local bodyVelocity = Create("BodyVelocity")({
  1824. velocity = Vector3.new(0, 20, 0),
  1825. P = 5000,
  1826. maxForce = Vector3.new(8000, 8000, 8000),
  1827. Parent = hit
  1828. })
  1829. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1830. local bodyVelocity = Create("BodyVelocity")({
  1831. velocity = Vector3.new(0, 20, 0),
  1832. P = 5000,
  1833. maxForce = Vector3.new(8000, 8000, 8000),
  1834. Parent = hit
  1835. })
  1836. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1837. elseif Type == "Leech" then
  1838. local hum = hit.Parent.Humanoid
  1839. if hum ~= nil then
  1840. for i = 0, 2 do
  1841. 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)
  1842. end
  1843. Humanoid.Health = Humanoid.Health + 10
  1844. end
  1845. elseif Type == "UpKnock" then
  1846. local hum = hit.Parent.Humanoid
  1847. hum.PlatformStand = true
  1848. if hum ~= nil then
  1849. hitr = true
  1850. end
  1851. coroutine.resume(coroutine.create(function(HHumanoid)
  1852. swait(5)
  1853. HHumanoid.PlatformStand = false
  1854. hitr = false
  1855. end), hum)
  1856. local bodyVelocity = Create("BodyVelocity")({
  1857. velocity = Vector3.new(0, 20, 0),
  1858. P = 5000,
  1859. maxForce = Vector3.new(8000, 8000, 8000),
  1860. Parent = hit
  1861. })
  1862. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1863. local bodyVelocity = Create("BodyVelocity")({
  1864. velocity = Vector3.new(0, 20, 0),
  1865. P = 5000,
  1866. maxForce = Vector3.new(8000, 8000, 8000),
  1867. Parent = hit
  1868. })
  1869. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1870. elseif Type == "Snare" then
  1871. local bp = Create("BodyPosition")({
  1872. P = 2000,
  1873. D = 100,
  1874. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1875. position = hit.Parent.Torso.Position,
  1876. Parent = hit.Parent.Torso
  1877. })
  1878. game:GetService("Debris"):AddItem(bp, 1)
  1879. elseif Type == "Slashnare" then
  1880. 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)
  1881. for i = 1, math.random(4, 5) do
  1882. 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)
  1883. end
  1884. local bp = Create("BodyPosition")({
  1885. P = 2000,
  1886. D = 100,
  1887. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1888. position = hit.Parent.Torso.Position,
  1889. Parent = hit.Parent.Torso
  1890. })
  1891. game:GetService("Debris"):AddItem(bp, 1)
  1892. elseif Type == "Spike" then
  1893. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1894. local bp = Create("BodyPosition")({
  1895. P = 2000,
  1896. D = 100,
  1897. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1898. position = hit.Parent.Torso.Position,
  1899. Parent = hit.Parent.Torso
  1900. })
  1901. game:GetService("Debris"):AddItem(bp, 1)
  1902. elseif Type == "Freeze" then
  1903. local BodPos = Create("BodyPosition")({
  1904. P = 50000,
  1905. D = 1000,
  1906. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1907. position = hit.Parent.Torso.Position,
  1908. Parent = hit.Parent.Torso
  1909. })
  1910. local BodGy = Create("BodyGyro")({
  1911. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1912. P = 20000,
  1913. Parent = hit.Parent.Torso,
  1914. cframe = hit.Parent.Torso.CFrame
  1915. })
  1916. hit.Parent.Torso.Anchored = true
  1917. coroutine.resume(coroutine.create(function(Part)
  1918. swait(1.5)
  1919. Part.Anchored = false
  1920. end), hit.Parent.Torso)
  1921. game:GetService("Debris"):AddItem(BodPos, 3)
  1922. game:GetService("Debris"):AddItem(BodGy, 3)
  1923. end
  1924. local debounce = Create("BoolValue")({
  1925. Name = "DebounceHit",
  1926. Parent = hit.Parent,
  1927. Value = true
  1928. })
  1929. game:GetService("Debris"):AddItem(debounce, Delay)
  1930. c = Instance.new("ObjectValue")
  1931. c.Name = "creator"
  1932. c.Value = Player
  1933. c.Parent = h
  1934. game:GetService("Debris"):AddItem(c, 0.5)
  1935. end
  1936. end
  1937. function ShowDamage(Pos, Text, Time, Color)
  1938. local Rate = 0.03333333333333333
  1939. local Pos = Pos or Vector3.new(0, 0, 0)
  1940. local Text = Text or ""
  1941. local Time = Time or 2
  1942. local Color = Color or Color3.new(1, 0, 1)
  1943. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1944. EffectPart.Anchored = true
  1945. local BillboardGui = Create("BillboardGui")({
  1946. Size = UDim2.new(3, 0, 3, 0),
  1947. Adornee = EffectPart,
  1948. Parent = EffectPart
  1949. })
  1950. local TextLabel = Create("TextLabel")({
  1951. BackgroundTransparency = 1,
  1952. Size = UDim2.new(1, 0, 1, 0),
  1953. Text = Text,
  1954. TextColor3 = Color,
  1955. TextScaled = true,
  1956. Font = Enum.Font.ArialBold,
  1957. Parent = BillboardGui
  1958. })
  1959. game.Debris:AddItem(EffectPart, Time + 0.1)
  1960. EffectPart.Parent = game:GetService("Workspace")
  1961. delay(0, function()
  1962. local Frames = Time / Rate
  1963. for Frame = 1, Frames do
  1964. wait(Rate)
  1965. local Percent = Frame / Frames
  1966. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1967. TextLabel.TextTransparency = Percent
  1968. end
  1969. if EffectPart and EffectPart.Parent then
  1970. EffectPart:Destroy()
  1971. end
  1972. end)
  1973. end
  1974. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1975. for _, c in pairs(workspace:children()) do
  1976. local hum = c:findFirstChildOfClass("Humanoid")
  1977. if hum ~= nil then
  1978. local head = c:findFirstChild("Head")
  1979. if head ~= nil then
  1980. local targ = head.Position - Part.Position
  1981. local mag = targ.magnitude
  1982. if magni >= mag and c.Name ~= Player.Name then
  1983. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1984. end
  1985. end
  1986. end
  1987. end
  1988. end
  1989.  
  1990. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1991. for _, c in pairs(workspace:children()) do
  1992. local hum = c:findFirstChild("Humanoid")
  1993. if hum ~= nil then
  1994. local head = c:findFirstChild("Torso")
  1995. if head ~= nil then
  1996. local targ = head.Position - Part.Position
  1997. local mag = targ.magnitude
  1998. if magni >= mag and c.Name ~= Player.Name then
  1999. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2000. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2001. end
  2002. end
  2003. end
  2004. end
  2005. end
  2006.  
  2007. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2008. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2009. end
  2010.  
  2011. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2012. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2013. prt.Anchored=true
  2014. prt.CFrame=cframe
  2015. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2016. --http://www.roblox.com/asset/?id=4770560
  2017. game:GetService("Debris"):AddItem(prt,2)
  2018. CF=prt.CFrame
  2019. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2020. for i=0,1,0.2 do
  2021. wait()
  2022. Part.CFrame=CF*cf(0,0,-0.4)
  2023. end
  2024. for i=0,1,delay do
  2025. wait()
  2026. --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)
  2027. Mesh.Scale=Mesh.Scale
  2028. end
  2029. for i=0,1,0.1 do
  2030. wait()
  2031. Part.Transparency=i
  2032. end
  2033. Part.Parent=nil
  2034. end),prt,msh,CF)
  2035. end
  2036.  
  2037. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2038. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2039. prt.Anchored=true
  2040. prt.Material = "Neon"
  2041. prt.CFrame=cframe
  2042. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2043. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2044. game:GetService("Debris"):AddItem(prt,5)
  2045. coroutine.resume(coroutine.create(function(Part,Mesh)
  2046. for i=0,1,delay do
  2047. swait()
  2048. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2049. Part.Transparency=i
  2050. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2051. end
  2052. Part.Parent=nil
  2053. end),prt,msh)
  2054. end
  2055.  
  2056. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2057. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2058. prt.Anchored=true
  2059. prt.Material = "Neon"
  2060. prt.CFrame=cframe
  2061. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2062. game:GetService("Debris"):AddItem(prt,5)
  2063. coroutine.resume(coroutine.create(function(Part,Mesh)
  2064. local rtype = rottype
  2065. for i=0,1,delay do
  2066. swait()
  2067. if rtype == 1 then
  2068. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2069. elseif rtype == 2 then
  2070. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2071. end
  2072. Part.Transparency=i
  2073. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2074. end
  2075. Part.Parent=nil
  2076. end),prt,msh)
  2077. end
  2078.  
  2079. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2080. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2081. prt.Anchored=true
  2082. prt.CFrame=cframe
  2083. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2084. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2085. game:GetService("Debris"):AddItem(prt,5)
  2086. coroutine.resume(coroutine.create(function(Part,Mesh)
  2087. for i=0,1,delay do
  2088. wait()
  2089. Part.Transparency=i
  2090. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2091. end
  2092. Part.Parent=nil
  2093. end),prt,msh)
  2094. end
  2095.  
  2096. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2097. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2098. prt.Anchored=true
  2099. prt.Material = "Neon"
  2100. prt.CFrame=cframe
  2101. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2102. game:GetService("Debris"):AddItem(prt,5)
  2103. coroutine.resume(coroutine.create(function(Part,Mesh)
  2104. local rtype = rottype
  2105. for i=0,1,delay do
  2106. swait()
  2107. if rtype == 1 then
  2108. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2109. elseif rtype == 2 then
  2110. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2111. end
  2112. Part.Transparency=i
  2113. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2114. end
  2115. Part.Parent=nil
  2116. end),prt,msh)
  2117. end
  2118.  
  2119. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2120. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2121. prt.Anchored=true
  2122. prt.Material = "Neon"
  2123. prt.CFrame=cframe
  2124. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2125. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2126. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2127. game:GetService("Debris"):AddItem(prt,5)
  2128. coroutine.resume(coroutine.create(function(Part,Mesh)
  2129. local rtype = rottype
  2130. for i=0,1,delay do
  2131. swait()
  2132. if rtype == 1 then
  2133. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2134. elseif rtype == 2 then
  2135. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2136. end
  2137. dec.Transparency=i
  2138. dec2.Transparency=i
  2139. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2140. end
  2141. Part.Parent=nil
  2142. end),prt,msh)
  2143. end
  2144.  
  2145. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2146. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2147. prt.Anchored=true
  2148. prt.Material = "Neon"
  2149. prt.CFrame=cframe
  2150. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2151. game:GetService("Debris"):AddItem(prt,5)
  2152. coroutine.resume(coroutine.create(function(Part,Mesh)
  2153. local rtype = rottype
  2154. for i=0,1,delay do
  2155. swait()
  2156. if rtype == 1 then
  2157. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2158. elseif rtype == 2 then
  2159. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2160. end
  2161. prt.Transparency=i
  2162. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2163. end
  2164. Part.Parent=nil
  2165. end),prt,msh)
  2166. end
  2167.  
  2168. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2169. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2170. prt.Anchored=true
  2171. prt.Material = "Neon"
  2172. prt.CFrame=cframe
  2173. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2174. game:GetService("Debris"):AddItem(prt,5)
  2175. coroutine.resume(coroutine.create(function(Part,Mesh)
  2176. local rtype = rottype
  2177. for i=0,1,delay do
  2178. swait()
  2179. if rtype == 1 then
  2180. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2181. elseif rtype == 2 then
  2182. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2183. end
  2184. prt.Transparency=i
  2185. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2186. end
  2187. Part.Parent=nil
  2188. end),prt,msh)
  2189. end
  2190.  
  2191. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2192. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2193. prt.Anchored=true
  2194. prt.Material = "Neon"
  2195. prt.CFrame=cframe
  2196. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2197. game:GetService("Debris"):AddItem(prt,5)
  2198. coroutine.resume(coroutine.create(function(Part,Mesh)
  2199. local rtype = rottype
  2200. for i=0,1,delay do
  2201. swait()
  2202. if rtype == 1 then
  2203. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2204. elseif rtype == 2 then
  2205. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2206. end
  2207. prt.Transparency=i
  2208. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2209. end
  2210. Part.Parent=nil
  2211. end),prt,msh)
  2212. end
  2213.  
  2214. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2215. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2216. prt.Anchored=true
  2217. prt.Material = "Neon"
  2218. prt.CFrame=cframe
  2219. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2220. game:GetService("Debris"):AddItem(prt,5)
  2221. coroutine.resume(coroutine.create(function(Part,Mesh)
  2222. local rtype = rottype
  2223. for i=0,1,delay do
  2224. swait()
  2225. if rtype == 1 then
  2226. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2227. elseif rtype == 2 then
  2228. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2229. end
  2230. prt.Transparency=i
  2231. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2232. end
  2233. Part.Parent=nil
  2234. end),prt,msh)
  2235. end
  2236.  
  2237. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2238. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2239. prt.Anchored=false
  2240. prt.CFrame=cframe
  2241. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2242. local wld=weld(prt,prt,Parent,cframe)
  2243. game:GetService("Debris"):AddItem(prt,5)
  2244. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2245. for i=0,1,delay do
  2246. wait()
  2247. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2248. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2249. Part.Transparency=i
  2250. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2251. end
  2252. Part.Parent=nil
  2253. end),prt,msh,wld)
  2254. end
  2255.  
  2256. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2257. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2258. prt.Anchored=false
  2259. prt.CFrame=cframe
  2260. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2261. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2262. game:GetService("Debris"):AddItem(prt,5)
  2263. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2264. for i=0,1,delay do
  2265. wait()
  2266. Weld.C0=euler(i*20,0,0)
  2267. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2268. Part.Transparency=i
  2269. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2270. end
  2271. Part.Parent=nil
  2272. end),prt,msh,wld)
  2273. end
  2274.  
  2275. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2276. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2277. prt.Anchored=true
  2278. prt.CFrame=cframe
  2279. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2280. game:GetService("Debris"):AddItem(prt,2)
  2281. coroutine.resume(coroutine.create(function(Part,Mesh)
  2282. for i=0,1,delay do
  2283. wait()
  2284. Part.CFrame=Part.CFrame
  2285. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2286. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2287. prt2.Anchored=true
  2288. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2289. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2290. game:GetService("Debris"):AddItem(prt2,2)
  2291. coroutine.resume(coroutine.create(function(Part,Mesh)
  2292. for i=0,1,0.1 do
  2293. wait()
  2294. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2295. end
  2296. Part.Parent=nil
  2297. end),prt2,msh2)
  2298. end
  2299. for i=0,1,delay*2 do
  2300. wait()
  2301. Part.CFrame=Part.CFrame
  2302. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2303. end
  2304. Part.Parent=nil
  2305. end),prt,msh)
  2306. end
  2307.  
  2308. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2309. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2310. prt.Anchored=true
  2311. prt.CFrame=cframe
  2312. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2313. game:GetService("Debris"):AddItem(prt,2)
  2314. coroutine.resume(coroutine.create(function(Part,Mesh)
  2315. for i=0,1,delay do
  2316. wait()
  2317. Part.CFrame=Part.CFrame
  2318. Part.Transparency=i
  2319. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2320. end
  2321. Part.Parent=nil
  2322. end),prt,msh)
  2323. end
  2324.  
  2325. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2326. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2327. prt.Anchored=true
  2328. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2329. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2330. game:GetService("Debris"):AddItem(prt,2)
  2331. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2332. CF=Part.CFrame
  2333. Numbb=0
  2334. randnumb=math.random()/10
  2335. rand1=math.random()/10
  2336. for i=0,1,rand1 do
  2337. wait()
  2338. CF=CF*cf(0,math.random()/2,0)
  2339. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2340. Part.CFrame=CF*euler(Numbb,0,0)
  2341. Part.Transparency=i
  2342. Numbb=Numbb+randnumb
  2343. end
  2344. Part.Parent=nil
  2345. end),prt,CF,Numbb,randnumb)
  2346. end
  2347.  
  2348. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2349. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2350. prt.Anchored=true
  2351. prt.CFrame=cframe
  2352. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2353. game:GetService("Debris"):AddItem(prt,5)
  2354. coroutine.resume(coroutine.create(function(Part,Mesh)
  2355. for i=0,1,delay do
  2356. wait()
  2357. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2358. Part.Transparency=i
  2359. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2360. end
  2361. Part.Parent=nil
  2362. end),prt,msh)
  2363. end
  2364.  
  2365. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2366. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2367. prt.Anchored=true
  2368. prt.CFrame=cframe
  2369. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2370. game:GetService("Debris"):AddItem(prt,2)
  2371. coroutine.resume(coroutine.create(function(Part,Mesh)
  2372. for i=0,1,delay do
  2373. wait()
  2374. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2375. Part.Transparency=i
  2376. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2377. end
  2378. Part.Parent=nil
  2379. end),prt,msh)
  2380. end
  2381.  
  2382. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2383. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2384. prt.Anchored=true
  2385. prt.CFrame=cframe*cf(x,y,z)
  2386. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2387. game:GetService("Debris"):AddItem(prt,5)
  2388. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2389. local num=math.random()
  2390. local num2=math.random(-3,2)+math.random()
  2391. local numm=0
  2392. for i=0,1,delay*2 do
  2393. swait()
  2394. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2395. Part.Transparency=i
  2396. numm=numm+0.01
  2397. end
  2398. Part.Parent=nil
  2399. Mesh.Parent=nil
  2400. end),prt,msh,x,y,z)
  2401. end
  2402.  
  2403. function dmgstart(dmg,what)
  2404. hitcon = what.Touched:connect(function(hit)
  2405. local hum = hit.Parent:FindFirstChild("Humanoid")
  2406. if hum and not hum:IsDescendantOf(Character) then
  2407. hum:TakeDamage(dmg)
  2408. end
  2409. end)
  2410. end
  2411.  
  2412. function dmgstop()
  2413. hitcon:disconnect()
  2414. end
  2415.  
  2416. function Cloak()
  2417. Face.Parent=nil
  2418. cloaked=true
  2419. for _,v in pairs(Torso.Parent:children()) do
  2420. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2421. coroutine.resume(coroutine.create(function()
  2422. for i=0,1,0.2 do
  2423. wait()
  2424. v.Transparency=i
  2425. end
  2426. v.Transparency=1
  2427. end))
  2428. end
  2429. if v.className=="Hat" then
  2430. hatp=v.Handle
  2431. coroutine.resume(coroutine.create(function(derp)
  2432. for i=0,1,0.2 do
  2433. wait()
  2434. derp.Transparency=i
  2435. end
  2436. derp.Transparency=1
  2437. end),hatp)
  2438. end
  2439. end
  2440. for _,v in pairs(m:children()) do
  2441. if v.className=="Part" then
  2442. coroutine.resume(coroutine.create(function()
  2443. for i=0,1,0.2 do
  2444. wait()
  2445. v.Transparency=i
  2446. end
  2447. v.Transparency=1
  2448. end))
  2449. end
  2450. end
  2451. end
  2452.  
  2453. function UnCloak()
  2454. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2455. Face.Parent=Head
  2456. cloaked=false
  2457. for _,v in pairs(Torso.Parent:children()) do
  2458. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2459. coroutine.resume(coroutine.create(function()
  2460. for i=0,1,0.1 do
  2461. wait()
  2462. v.Transparency=v.Transparency-0.1
  2463. end
  2464. v.Transparency=0
  2465. end))
  2466. end
  2467. if v.className=="Hat" then
  2468. hatp=v.Handle
  2469. coroutine.resume(coroutine.create(function(derp)
  2470. for i=0,1,0.1 do
  2471. wait()
  2472. derp.Transparency=derp.Transparency-0.1
  2473. end
  2474. derp.Transparency=0
  2475. end),hatp)
  2476. end
  2477. end
  2478. for _,v in pairs(m:children()) do
  2479. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2480. coroutine.resume(coroutine.create(function()
  2481. for i=0,1,0.1 do
  2482. wait()
  2483. v.Transparency=v.Transparency-0.1
  2484. end
  2485. v.Transparency=0
  2486. end))
  2487. v.Transparency=0
  2488. end
  2489. end
  2490. end
  2491.  
  2492. local origcolor = BrickColor.new("Pastel light blue")
  2493. ---- This section of explosions.
  2494.  
  2495. ----
  2496.  
  2497.  
  2498. function ring(type,pos,scale,value)
  2499. local type = type
  2500. local rng = Instance.new("Part", char)
  2501. rng.Anchored = true
  2502. rng.BrickColor = origcolor
  2503. rng.CanCollide = false
  2504. rng.FormFactor = 3
  2505. rng.Name = "Ring"
  2506. rng.Size = Vector3.new(1, 1, 1)
  2507. rng.Transparency = 0
  2508. rng.TopSurface = 0
  2509. rng.BottomSurface = 0
  2510. rng.CFrame = pos
  2511. local rngm = Instance.new("SpecialMesh", rng)
  2512. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2513. rngm.Scale = scale
  2514. local scaler2 = 1
  2515. if type == "Add" then
  2516. scaler2 = 1*value
  2517. elseif type == "Divide" then
  2518. scaler2 = 1/value
  2519. end
  2520. coroutine.resume(coroutine.create(function()
  2521. for i = 0,10,0.1 do
  2522. swait()
  2523. if type == "Add" then
  2524. scaler2 = scaler2 - 0.01*value
  2525. elseif type == "Divide" then
  2526. scaler2 = scaler2 - 0.01/value
  2527. end
  2528. rng.Transparency = rng.Transparency + 0.01
  2529. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2530. end
  2531. rng:Destroy()
  2532. end))
  2533. end
  2534.  
  2535.  
  2536. function wave(type,pos,scale,value)
  2537. local type = type
  2538. local rng = Instance.new("Part", char)
  2539. rng.Anchored = true
  2540. rng.BrickColor = origcolor
  2541. rng.CanCollide = false
  2542. rng.FormFactor = 3
  2543. rng.Name = "Ring"
  2544. rng.Size = Vector3.new(1, 1, 1)
  2545. rng.Transparency = 0
  2546. rng.TopSurface = 0
  2547. rng.BottomSurface = 0
  2548. rng.CFrame = pos
  2549. local rngm = Instance.new("SpecialMesh", rng)
  2550. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2551. rngm.Scale = scale
  2552. local scaler2 = 1
  2553. if type == "Add" then
  2554. scaler2 = 1*value
  2555. elseif type == "Divide" then
  2556. scaler2 = 1/value
  2557. end
  2558. coroutine.resume(coroutine.create(function()
  2559. for i = 0,10,0.1 do
  2560. swait()
  2561. if type == "Add" then
  2562. scaler2 = scaler2 - 0.01*value
  2563. elseif type == "Divide" then
  2564. scaler2 = scaler2 - 0.01/value
  2565. end
  2566. rng.Transparency = rng.Transparency + 0.01
  2567. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2568. end
  2569. rng:Destroy()
  2570. end))
  2571. end
  2572.  
  2573. function wind(type,pos,scale,value,speed)
  2574. local type = type
  2575. local rng = Instance.new("Part", char)
  2576. rng.Anchored = true
  2577. rng.BrickColor = origcolor
  2578. rng.CanCollide = false
  2579. rng.FormFactor = 3
  2580. rng.Name = "Ring"
  2581. rng.Size = Vector3.new(1, 1, 1)
  2582. rng.Transparency = 0
  2583. rng.TopSurface = 0
  2584. rng.BottomSurface = 0
  2585. rng.CFrame = pos
  2586. local rngm = Instance.new("SpecialMesh", rng)
  2587. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2588. rngm.Scale = scale
  2589. local scaler2 = 1
  2590. if type == "Add" then
  2591. scaler2 = 1*value
  2592. elseif type == "Divide" then
  2593. scaler2 = 1/value
  2594. end
  2595. coroutine.resume(coroutine.create(function()
  2596. for i = 0,10,0.1 do
  2597. swait()
  2598. if type == "Add" then
  2599. scaler2 = scaler2 - 0.01*value
  2600. elseif type == "Divide" then
  2601. scaler2 = scaler2 - 0.01/value
  2602. end
  2603. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2604. rng.Transparency = rng.Transparency + 0.01
  2605. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2606. end
  2607. rng:Destroy()
  2608. end))
  2609. end
  2610.  
  2611. function groundwind(type,pos,scale,value,speed)
  2612. local type = type
  2613. local rng = Instance.new("Part", char)
  2614. rng.Anchored = true
  2615. rng.BrickColor = origcolor
  2616. rng.CanCollide = false
  2617. rng.FormFactor = 3
  2618. rng.Name = "Ring"
  2619. rng.Size = Vector3.new(1, 1, 1)
  2620. rng.Transparency = 0
  2621. rng.TopSurface = 0
  2622. rng.BottomSurface = 0
  2623. rng.CFrame = pos
  2624. local rngm = Instance.new("SpecialMesh", rng)
  2625. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2626. rngm.Scale = scale
  2627. local scaler2 = 1
  2628. if type == "Add" then
  2629. scaler2 = 1*value
  2630. elseif type == "Divide" then
  2631. scaler2 = 1/value
  2632. end
  2633. coroutine.resume(coroutine.create(function()
  2634. for i = 0,10,0.1 do
  2635. swait()
  2636. if type == "Add" then
  2637. scaler2 = scaler2 - 0.01*value
  2638. elseif type == "Divide" then
  2639. scaler2 = scaler2 - 0.01/value
  2640. end
  2641. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2642. rng.Transparency = rng.Transparency + 0.01
  2643. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2644. end
  2645. rng:Destroy()
  2646. end))
  2647. end
  2648.  
  2649. function CameraManager()
  2650. if TwoD and not CamInterrupt then
  2651. if Humanoid.Health > 0 then
  2652. Camera.CameraSubject = Humanoid
  2653. Camera.CameraType = "Scriptable"
  2654. Humanoid.AutoRotate = false
  2655. if Booleans.GyroUse then
  2656. Directer.MaxTorque = Vec3(0, huge, 0)
  2657. else
  2658. Directer.MaxTorque = Vec3(0, 0, 0)
  2659. end
  2660. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2661. if Booleans.CamFollow then
  2662. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2663. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2664. else
  2665. CPart.Position = RootPart.Position
  2666. end
  2667. else
  2668. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2669. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2670. end
  2671. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2672. else
  2673. Camera.CameraSubject = Humanoid
  2674. Camera.CameraType = "Custom"
  2675. Controller.Disabled = false
  2676. end
  2677. end
  2678. end
  2679.  
  2680. function ring(type,pos,scale,value)
  2681. local type = type
  2682. local rng = Instance.new("Part", char)
  2683. rng.Anchored = true
  2684. rng.BrickColor = origcolor
  2685. rng.CanCollide = false
  2686. rng.FormFactor = 3
  2687. rng.Name = "Ring"
  2688. rng.Size = Vector3.new(1, 1, 1)
  2689. rng.Transparency = 0
  2690. rng.TopSurface = 0
  2691. rng.BottomSurface = 0
  2692. rng.CFrame = pos
  2693. local rngm = Instance.new("SpecialMesh", rng)
  2694. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2695. rngm.Scale = scale
  2696. local scaler2 = 1
  2697. if type == "Add" then
  2698. scaler2 = 1*value
  2699. elseif type == "Divide" then
  2700. scaler2 = 1/value
  2701. end
  2702. coroutine.resume(coroutine.create(function()
  2703. for i = 0,10,0.1 do
  2704. swait()
  2705. if type == "Add" then
  2706. scaler2 = scaler2 - 0.01*value
  2707. elseif type == "Divide" then
  2708. scaler2 = scaler2 - 0.01/value
  2709. end
  2710. rng.Transparency = rng.Transparency + 0.01
  2711. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2712. end
  2713. rng:Destroy()
  2714. end))
  2715. end
  2716.  
  2717.  
  2718. function wave(type,pos,scale,value)
  2719. local type = type
  2720. local rng = Instance.new("Part", char)
  2721. rng.Anchored = true
  2722. rng.BrickColor = origcolor
  2723. rng.CanCollide = false
  2724. rng.FormFactor = 3
  2725. rng.Name = "Ring"
  2726. rng.Size = Vector3.new(1, 1, 1)
  2727. rng.Transparency = 0
  2728. rng.TopSurface = 0
  2729. rng.BottomSurface = 0
  2730. rng.CFrame = pos
  2731. local rngm = Instance.new("SpecialMesh", rng)
  2732. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2733. rngm.Scale = scale
  2734. local scaler2 = 1
  2735. if type == "Add" then
  2736. scaler2 = 1*value
  2737. elseif type == "Divide" then
  2738. scaler2 = 1/value
  2739. end
  2740. coroutine.resume(coroutine.create(function()
  2741. for i = 0,10,0.1 do
  2742. swait()
  2743. if type == "Add" then
  2744. scaler2 = scaler2 - 0.01*value
  2745. elseif type == "Divide" then
  2746. scaler2 = scaler2 - 0.01/value
  2747. end
  2748. rng.Transparency = rng.Transparency + 0.01
  2749. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2750. end
  2751. rng:Destroy()
  2752. end))
  2753. end
  2754.  
  2755. function sphere(bonuspeed,type,pos,scale,value,color)
  2756. local type = type
  2757. local rng = Instance.new("Part", char)
  2758. rng.Anchored = true
  2759. if ModeOfGlitch ~= 9 then
  2760. rng.BrickColor = color
  2761. elseif ModeOfGlitch == 9 then
  2762. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2763. end
  2764. rng.CanCollide = false
  2765. rng.FormFactor = 3
  2766. rng.Name = "Ring"
  2767. rng.Material = "Neon"
  2768. rng.Size = Vector3.new(1, 1, 1)
  2769. rng.Transparency = 0
  2770. rng.TopSurface = 0
  2771. rng.BottomSurface = 0
  2772. rng.CFrame = pos
  2773. local rngm = Instance.new("SpecialMesh", rng)
  2774. rngm.MeshType = "Sphere"
  2775. rngm.Scale = scale
  2776. if rainbowmode == true then
  2777. rng.Color = Color3.new(r/255,g/255,b/255)
  2778. end
  2779. if ModeOfGlitch == 9 then
  2780. coroutine.resume(coroutine.create(function()
  2781. while true do
  2782. swait()
  2783. if rng.Parent ~= nil then
  2784. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2785. else
  2786. break
  2787. end
  2788. end
  2789. end))
  2790. end
  2791. local scaler2 = 1
  2792. if type == "Add" then
  2793. scaler2 = 1*value
  2794. elseif type == "Divide" then
  2795. scaler2 = 1/value
  2796. end
  2797. coroutine.resume(coroutine.create(function()
  2798. for i = 0,10/bonuspeed,0.1 do
  2799. swait()
  2800. if rainbowmode == true then
  2801. rng.Color = Color3.new(r/255,g/255,b/255)
  2802. end
  2803. if type == "Add" then
  2804. scaler2 = scaler2 - 0.01*value/bonuspeed
  2805. elseif type == "Divide" then
  2806. scaler2 = scaler2 - 0.01/value*bonuspeed
  2807. end
  2808. if chaosmode == true then
  2809. rng.BrickColor = BrickColor.random()
  2810. end
  2811. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2812. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2813. end
  2814. rng:Destroy()
  2815. end))
  2816. end
  2817.  
  2818. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2819. local type = type
  2820. local rng = Instance.new("Part", char)
  2821. rng.Anchored = true
  2822. if ModeOfGlitch ~= 9 then
  2823. rng.BrickColor = color
  2824. elseif ModeOfGlitch == 9 then
  2825. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2826. end
  2827. rng.CanCollide = false
  2828. rng.FormFactor = 3
  2829. rng.Name = "Ring"
  2830. rng.Material = "Neon"
  2831. rng.Size = Vector3.new(1, 1, 1)
  2832. rng.Transparency = 0
  2833. rng.TopSurface = 0
  2834. rng.BottomSurface = 0
  2835. rng.CFrame = pos
  2836. local rngm = Instance.new("SpecialMesh", rng)
  2837. rngm.MeshType = "Sphere"
  2838. rngm.Scale = scale
  2839. local scaler2 = 1
  2840. local scaler2b = 1
  2841. local scaler2c = 1
  2842. if type == "Add" then
  2843. scaler2 = 1*value
  2844. scaler2b = 1*value2
  2845. scaler2c = 1*value3
  2846. elseif type == "Divide" then
  2847. scaler2 = 1/value
  2848. scaler2b = 1/value2
  2849. scaler2c = 1/value3
  2850. end
  2851. if ModeOfGlitch == 9 then
  2852. coroutine.resume(coroutine.create(function()
  2853. while true do
  2854. swait()
  2855. if rng.Parent ~= nil then
  2856. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2857. else
  2858. break
  2859. end
  2860. end
  2861. end))
  2862. end
  2863. coroutine.resume(coroutine.create(function()
  2864. for i = 0,10/bonuspeed,0.1 do
  2865. swait()
  2866. if type == "Add" then
  2867. scaler2 = scaler2 - 0.01*value/bonuspeed
  2868. scaler2b = scaler2b - 0.01*value/bonuspeed
  2869. scaler2c = scaler2c - 0.01*value/bonuspeed
  2870. elseif type == "Divide" then
  2871. scaler2 = scaler2 - 0.01/value*bonuspeed
  2872. scaler2b = scaler2b - 0.01/value*bonuspeed
  2873. scaler2c = scaler2c - 0.01/value*bonuspeed
  2874. end
  2875. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2876. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2877. end
  2878. rng:Destroy()
  2879. end))
  2880. end
  2881.  
  2882. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2883. local type = type
  2884. local rotenable = rotatingop
  2885. local rng = Instance.new("Part", char)
  2886. rng.Anchored = true
  2887. rng.BrickColor = color
  2888. rng.CanCollide = false
  2889. rng.FormFactor = 3
  2890. rng.Name = "Ring"
  2891. rng.Material = "Neon"
  2892. rng.Size = Vector3.new(1, 1, 1)
  2893. rng.Transparency = 0
  2894. if typeoftrans == "In" then
  2895. rng.Transparency = 1
  2896. end
  2897. rng.TopSurface = 0
  2898. rng.BottomSurface = 0
  2899. rng.CFrame = pos
  2900. local rngm = Instance.new("SpecialMesh", rng)
  2901. rngm.MeshType = "FileMesh"
  2902. if typeofshape == "Normal" then
  2903. rngm.MeshId = "rbxassetid://662586858"
  2904. elseif typeofshape == "Round" then
  2905. rngm.MeshId = "rbxassetid://662585058"
  2906. end
  2907. rngm.Scale = scale
  2908. local scaler2 = 1/10
  2909. if type == "Add" then
  2910. scaler2 = 1*value/10
  2911. elseif type == "Divide" then
  2912. scaler2 = 1/value/10
  2913. end
  2914. local randomrot = math.random(1,2)
  2915. coroutine.resume(coroutine.create(function()
  2916. for i = 0,10/bonuspeed,0.1 do
  2917. swait()
  2918. if type == "Add" then
  2919. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  2920. elseif type == "Divide" then
  2921. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  2922. end
  2923. if rotenable == true then
  2924. if randomrot == 1 then
  2925. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  2926. elseif randomrot == 2 then
  2927. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  2928. end
  2929. end
  2930. if typeoftrans == "Out" then
  2931. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2932. elseif typeoftrans == "In" then
  2933. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2934. end
  2935. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  2936. end
  2937. rng:Destroy()
  2938. end))
  2939. end
  2940.  
  2941. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2942. local type = type
  2943. local rng = Instance.new("Part", char)
  2944. rng.Anchored = true
  2945. rng.BrickColor = color
  2946. rng.CanCollide = false
  2947. rng.FormFactor = 3
  2948. rng.Name = "Ring"
  2949. rng.Material = "Neon"
  2950. rng.Size = Vector3.new(1, 1, 1)
  2951. rng.Transparency = 0
  2952. rng.TopSurface = 0
  2953. rng.BottomSurface = 0
  2954. rng.CFrame = pos
  2955. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2956. local rngm = Instance.new("SpecialMesh", rng)
  2957. rngm.MeshType = "Brick"
  2958. rngm.Scale = vt(x1,y1,z1)
  2959. if rainbowmode == true then
  2960. rng.Color = Color3.new(r/255,g/255,b/255)
  2961. end
  2962. local scaler2 = 1
  2963. local speeder = FastSpeed/10
  2964. if type == "Add" then
  2965. scaler2 = 1*value
  2966. elseif type == "Divide" then
  2967. scaler2 = 1/value
  2968. end
  2969. coroutine.resume(coroutine.create(function()
  2970. for i = 0,10/bonuspeed,0.1 do
  2971. swait()
  2972. if rainbowmode == true then
  2973. rng.Color = Color3.new(r/255,g/255,b/255)
  2974. end
  2975. if type == "Add" then
  2976. scaler2 = scaler2 - 0.01*value/bonuspeed
  2977. elseif type == "Divide" then
  2978. scaler2 = scaler2 - 0.01/value*bonuspeed
  2979. end
  2980. if chaosmode == true then
  2981. rng.BrickColor = BrickColor.random()
  2982. end
  2983. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2984. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2985. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2986. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2987. end
  2988. rng:Destroy()
  2989. end))
  2990. end
  2991.  
  2992. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2993. local type = type
  2994. local rng = Instance.new("Part", char)
  2995. rng.Anchored = true
  2996. rng.BrickColor = color
  2997. rng.CanCollide = false
  2998. rng.FormFactor = 3
  2999. rng.Name = "Ring"
  3000. rng.Material = "Neon"
  3001. rng.Size = Vector3.new(1, 1, 1)
  3002. rng.Transparency = 0
  3003. rng.TopSurface = 0
  3004. rng.BottomSurface = 0
  3005. rng.CFrame = pos
  3006. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3007. local rngm = Instance.new("SpecialMesh", rng)
  3008. rngm.MeshType = "Brick"
  3009. rngm.Scale = vt(x1,y1,z1)
  3010. if rainbowmode == true then
  3011. rng.Color = Color3.new(r/255,g/255,b/255)
  3012. end
  3013. local scaler2 = 1
  3014. local speeder = FastSpeed/10
  3015. if type == "Add" then
  3016. scaler2 = 1*value
  3017. elseif type == "Divide" then
  3018. scaler2 = 1/value
  3019. end
  3020. coroutine.resume(coroutine.create(function()
  3021. for i = 0,10/bonuspeed,0.1 do
  3022. swait()
  3023. if rainbowmode == true then
  3024. rng.Color = Color3.new(r/255,g/255,b/255)
  3025. end
  3026. if type == "Add" then
  3027. scaler2 = scaler2 - 0.01*value/bonuspeed
  3028. elseif type == "Divide" then
  3029. scaler2 = scaler2 - 0.01/value*bonuspeed
  3030. end
  3031. if chaosmode == true then
  3032. rng.BrickColor = BrickColor.random()
  3033. end
  3034. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3035. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3036. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3037. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3038. end
  3039. rng:Destroy()
  3040. end))
  3041. end
  3042.  
  3043. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3044. local type = type
  3045. local rng = Instance.new("Part", char)
  3046. rng.Anchored = true
  3047. rng.BrickColor = color
  3048. rng.CanCollide = false
  3049. rng.FormFactor = 3
  3050. rng.Name = "Ring"
  3051. rng.Material = "Neon"
  3052. rng.Size = Vector3.new(1, 1, 1)
  3053. rng.Transparency = 0
  3054. rng.TopSurface = 0
  3055. rng.BottomSurface = 0
  3056. rng.CFrame = pos
  3057. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3058. local rngm = Instance.new("SpecialMesh", rng)
  3059. rngm.MeshType = "Brick"
  3060. rngm.Scale = vt(x1,y1,z1)
  3061. if rainbowmode == true then
  3062. rng.Color = Color3.new(r/255,g/255,b/255)
  3063. end
  3064. local scaler2 = 0
  3065. local speeder = FastSpeed/10
  3066. if type == "Add" then
  3067. scaler2 = 1*value
  3068. elseif type == "Divide" then
  3069. scaler2 = 1/value
  3070. end
  3071. coroutine.resume(coroutine.create(function()
  3072. for i = 0,10/bonuspeed,0.1 do
  3073. swait()
  3074. if rainbowmode == true then
  3075. rng.Color = Color3.new(r/255,g/255,b/255)
  3076. end
  3077. if type == "Add" then
  3078. scaler2 = scaler2 - 0.01*value/bonuspeed
  3079. elseif type == "Divide" then
  3080. scaler2 = scaler2 - 0.01/value*bonuspeed
  3081. end
  3082. if chaosmode == true then
  3083. rng.BrickColor = BrickColor.random()
  3084. end
  3085. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3086. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3087. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3088. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3089. end
  3090. rng:Destroy()
  3091. end))
  3092. end
  3093.  
  3094. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3095. local type = type
  3096. local rng = Instance.new("Part", char)
  3097. rng.Anchored = true
  3098. rng.BrickColor = color
  3099. rng.Color = color3
  3100. rng.CanCollide = false
  3101. rng.FormFactor = 3
  3102. rng.Name = "Ring"
  3103. rng.Material = "Neon"
  3104. rng.Size = Vector3.new(1, 1, 1)
  3105. rng.Transparency = 0
  3106. rng.TopSurface = 0
  3107. rng.BottomSurface = 0
  3108. rng.CFrame = pos
  3109. local rngm = Instance.new("SpecialMesh", rng)
  3110. rngm.MeshType = "Brick"
  3111. rngm.Scale = scale
  3112. local scaler2 = 1
  3113. local scaler2b = 1
  3114. local scaler2c = 1
  3115. if type == "Add" then
  3116. scaler2 = 1*value
  3117. scaler2b = 1*value2
  3118. scaler2c = 1*value3
  3119. elseif type == "Divide" then
  3120. scaler2 = 1/value
  3121. scaler2b = 1/value2
  3122. scaler2c = 1/value3
  3123. end
  3124. coroutine.resume(coroutine.create(function()
  3125. for i = 0,10/bonuspeed,0.1 do
  3126. swait()
  3127. if type == "Add" then
  3128. scaler2 = scaler2 - 0.01*value/bonuspeed
  3129. scaler2b = scaler2b - 0.01*value/bonuspeed
  3130. scaler2c = scaler2c - 0.01*value/bonuspeed
  3131. elseif type == "Divide" then
  3132. scaler2 = scaler2 - 0.01/value*bonuspeed
  3133. scaler2b = scaler2b - 0.01/value*bonuspeed
  3134. scaler2c = scaler2c - 0.01/value*bonuspeed
  3135. end
  3136. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3137. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3138. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3139. end
  3140. rng:Destroy()
  3141. end))
  3142. end
  3143.  
  3144. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3145. local type = type
  3146. local rng = Instance.new("Part", char)
  3147. rng.Anchored = true
  3148. if ModeOfGlitch ~= 9 then
  3149. rng.BrickColor = color
  3150. elseif ModeOfGlitch == 9 then
  3151. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3152. end
  3153. rng.CanCollide = false
  3154. rng.FormFactor = 3
  3155. rng.Name = "Ring"
  3156. rng.Material = "Neon"
  3157. rng.Size = Vector3.new(1, 1, 1)
  3158. rng.Transparency = 0
  3159. rng.TopSurface = 0
  3160. rng.BottomSurface = 0
  3161. rng.CFrame = pos
  3162. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3163. local rngm = Instance.new("SpecialMesh", rng)
  3164. rngm.MeshType = "Sphere"
  3165. rngm.Scale = vt(x1,y1,z1)
  3166. if rainbowmode == true then
  3167. rng.Color = Color3.new(r/255,g/255,b/255)
  3168. end
  3169. if ModeOfGlitch == 9 then
  3170. coroutine.resume(coroutine.create(function()
  3171. while true do
  3172. swait()
  3173. if rng.Parent ~= nil then
  3174. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3175. else
  3176. break
  3177. end
  3178. end
  3179. end))
  3180. end
  3181. local scaler2 = 1
  3182. local speeder = FastSpeed
  3183. if type == "Add" then
  3184. scaler2 = 1*value
  3185. elseif type == "Divide" then
  3186. scaler2 = 1/value
  3187. end
  3188. coroutine.resume(coroutine.create(function()
  3189. for i = 0,10/bonuspeed,0.1 do
  3190. swait()
  3191. if rainbowmode == true then
  3192. rng.Color = Color3.new(r/255,g/255,b/255)
  3193. end
  3194. if type == "Add" then
  3195. scaler2 = scaler2 - 0.01*value/bonuspeed
  3196. elseif type == "Divide" then
  3197. scaler2 = scaler2 - 0.01/value*bonuspeed
  3198. end
  3199. if chaosmode == true then
  3200. rng.BrickColor = BrickColor.random()
  3201. end
  3202. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3203. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3204. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3205. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3206. end
  3207. rng:Destroy()
  3208. end))
  3209. end
  3210.  
  3211.  
  3212. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3213. local type = type
  3214. local rng = Instance.new("Part", char)
  3215. rng.Anchored = true
  3216. if ModeOfGlitch ~= 9 then
  3217. rng.BrickColor = color
  3218. elseif ModeOfGlitch == 9 then
  3219. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3220. end
  3221. rng.CanCollide = false
  3222. rng.FormFactor = 3
  3223. rng.Name = "Ring"
  3224. rng.Material = "Neon"
  3225. rng.Size = Vector3.new(1, 1, 1)
  3226. rng.Transparency = 1
  3227. rng.TopSurface = 0
  3228. rng.BottomSurface = 0
  3229. rng.CFrame = pos
  3230. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3231. local rngm = Instance.new("SpecialMesh", rng)
  3232. rngm.MeshType = "Sphere"
  3233. rngm.Scale = vt(x1,y1,z1)
  3234. if rainbowmode == true then
  3235. rng.Color = Color3.new(r/255,g/255,b/255)
  3236. end
  3237. if ModeOfGlitch == 9 then
  3238. coroutine.resume(coroutine.create(function()
  3239. while true do
  3240. swait()
  3241. if rng.Parent ~= nil then
  3242. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3243. else
  3244. break
  3245. end
  3246. end
  3247. end))
  3248. end
  3249. local scaler2 = 1
  3250. local speeder = FastSpeed
  3251. if type == "Add" then
  3252. scaler2 = 1*value
  3253. elseif type == "Divide" then
  3254. scaler2 = 1/value
  3255. end
  3256. coroutine.resume(coroutine.create(function()
  3257. for i = 0,10/bonuspeed,0.1 do
  3258. swait()
  3259. if rainbowmode == true then
  3260. rng.Color = Color3.new(r/255,g/255,b/255)
  3261. end
  3262. if type == "Add" then
  3263. scaler2 = scaler2 - 0.01*value/bonuspeed
  3264. elseif type == "Divide" then
  3265. scaler2 = scaler2 - 0.01/value*bonuspeed
  3266. end
  3267. if chaosmode == true then
  3268. rng.BrickColor = BrickColor.random()
  3269. end
  3270. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3271. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3272. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3273. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3274. end
  3275. rng:Destroy()
  3276. end))
  3277. end
  3278.  
  3279. function dmg(dude)
  3280. if dude.Name ~= Character then
  3281. local keptcolor = MAINRUINCOLOR
  3282. local bgf = Instance.new("BodyGyro",dude.Head)
  3283. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3284. --[[local val = Instance.new("BoolValue",dude)
  3285. val.Name = "IsHit"]]--
  3286. local ds = coroutine.wrap(function()
  3287. dude:WaitForChild("Head"):BreakJoints()
  3288. for i, v in pairs(dude:GetChildren()) do
  3289. if v:IsA("Part") or v:IsA("MeshPart") then
  3290. v.Name = "DEMINISHED"
  3291. end
  3292. end
  3293. wait(0.5)
  3294. targetted = nil
  3295. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3296. coroutine.resume(coroutine.create(function()
  3297. for i, v in pairs(dude:GetChildren()) do
  3298. if v:IsA("Accessory") then
  3299. v:Destroy()
  3300. end
  3301. if v:IsA("Humanoid") then
  3302. v:Destroy()
  3303. end
  3304. if v:IsA("CharacterMesh") then
  3305. v:Destroy()
  3306. end
  3307. if v:IsA("Model") then
  3308. v:Destroy()
  3309. end
  3310. if v:IsA("Part") or v:IsA("MeshPart") then
  3311. for x, o in pairs(v:GetChildren()) do
  3312. if o:IsA("Decal") then
  3313. o:Destroy()
  3314. end
  3315. end
  3316. coroutine.resume(coroutine.create(function()
  3317. v.Material = "Neon"
  3318. v.CanCollide = false
  3319. v.Anchored = false
  3320. local bld = Instance.new("ParticleEmitter",v)
  3321. bld.LightEmission = 0.75
  3322. bld.Texture = "rbxassetid://363275192" ---284205403
  3323. bld.Color = ColorSequence.new(keptcolor.Color)
  3324. bld.Rate = 500
  3325. bld.Lifetime = NumberRange.new(1)
  3326. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3327. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3328. bld.Speed = NumberRange.new(2,5)
  3329. bld.VelocitySpread = 50000
  3330. bld.Rotation = NumberRange.new(-500,500)
  3331. bld.RotSpeed = NumberRange.new(-500,500)
  3332. local sbs = Instance.new("BodyPosition", v)
  3333. sbs.P = 3000
  3334. sbs.D = 1000
  3335. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3336. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3337. v.Color = keptcolor.Color
  3338. coroutine.resume(coroutine.create(function()
  3339. for i = 0, 49 do
  3340. swait(1)
  3341. v:BreakJoints()
  3342. v.Transparency = v.Transparency + 0.02
  3343. end
  3344. v:BreakJoints()
  3345. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3346. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3347. bld.Speed = NumberRange.new(10,25)
  3348. bld.Drag = 5
  3349. bld.Acceleration = vt(0,2,0)
  3350. wait(0.5)
  3351. bld.Enabled = false
  3352. wait(8)
  3353. v:Destroy()
  3354. dude:Destroy()
  3355. end))
  3356. end))
  3357. end
  3358. end
  3359. end))
  3360. end)
  3361. ds()
  3362. end
  3363. end
  3364.  
  3365.  
  3366. function FindNearestHead(Position, Distance, SinglePlayer)
  3367. if SinglePlayer then
  3368. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3369. end
  3370. local List = {}
  3371. for i, v in pairs(workspace:GetChildren()) do
  3372. if v:IsA("Model") then
  3373. if v:findFirstChild("Head") then
  3374. if v ~= Character then
  3375. if (v.Head.Position - Position).magnitude <= Distance then
  3376. table.insert(List, v)
  3377. end
  3378. end
  3379. end
  3380. end
  3381. end
  3382. return List
  3383. end
  3384.  
  3385. function FaceMouse()
  3386. Cam = workspace.CurrentCamera
  3387. return {
  3388. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3389. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3390. }
  3391. end
  3392.  
  3393. function FaceMouse2()
  3394. Cam = workspace.CurrentCamera
  3395. return {
  3396. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3397. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3398. }
  3399. end
  3400.  
  3401. local ModeOfGlitch = 1
  3402. -- Functions are ready.
  3403. local storehumanoidWS = 16
  3404.  
  3405. function CorruptBlink()
  3406. for i = 0, 14 do
  3407. 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)
  3408. end
  3409. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3410. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3411. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3412. CameraEnshaking(2,10)
  3413. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3414. if v:FindFirstChild('Head') then
  3415. dmg(v)
  3416. end
  3417. end
  3418. for i = 0, 14 do
  3419. 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)
  3420. end
  3421. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3422. end
  3423. function PureBomb()
  3424. attack = true
  3425. hum.WalkSpeed = 0
  3426. local orb = Instance.new("Part", char)
  3427. orb.Anchored = true
  3428. orb.BrickColor = BrickColor.new("Toothpaste")
  3429. orb.CanCollide = false
  3430. orb.FormFactor = 3
  3431. orb.Name = "Ring"
  3432. orb.Material = "Neon"
  3433. orb.Size = Vector3.new(1, 1, 1)
  3434. orb.Transparency = 0
  3435. orb.TopSurface = 0
  3436. orb.BottomSurface = 0
  3437. local orbm = Instance.new("SpecialMesh", orb)
  3438. orbm.MeshType = "Sphere"
  3439. orbm.Name = "SizeMesh"
  3440. orbm.Scale = vt(0,0,0)
  3441. local scaled = 0.1
  3442. local posid = 0
  3443. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3444. for i = 0, 5, 0.1 do
  3445. swait()
  3446. scaled = scaled - 0.001
  3447. posid = posid - scaled
  3448. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3449. local scaled = 0.1
  3450. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3451. 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)
  3452. 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)
  3453. 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)
  3454. 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)
  3455. 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)
  3456. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3457. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3458. 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)
  3459. end
  3460. for i = 0, 2, 0.1 do
  3461. swait()
  3462. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3463. 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)
  3464. 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)
  3465. 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)
  3466. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3467. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3468. 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)
  3469. end
  3470. coroutine.resume(coroutine.create(function()
  3471. orb.Anchored = false
  3472. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3473. local a = Instance.new("Part",workspace)
  3474. a.Name = "Direction"
  3475. a.Anchored = true
  3476. a.BrickColor = bc("Bright red")
  3477. a.Material = "Neon"
  3478. a.Transparency = 1
  3479. a.CanCollide = false
  3480. local ray = Ray.new(
  3481. orb.CFrame.p, -- origin
  3482. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3483. )
  3484. local ignore = orb
  3485. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3486. a.BottomSurface = 10
  3487. a.TopSurface = 10
  3488. local distance = (orb.CFrame.p - position).magnitude
  3489. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3490. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3491. orb.CFrame = a.CFrame
  3492. a:Destroy()
  3493. local bv = Instance.new("BodyVelocity")
  3494. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3495. bv.velocity = orb.CFrame.lookVector*125
  3496. bv.Parent = orb
  3497. local hitted = false
  3498. game:GetService("Debris"):AddItem(orb, 15)
  3499. wait()
  3500. local hit =orb.Touched:connect(function(hit)
  3501. if hitted == false then
  3502. hitted = true
  3503. CameraEnshaking(10,2.5)
  3504. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3505. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3506. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3507. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3508. for i = 0, 49 do
  3509. 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)
  3510. end
  3511. for i = 0, 9 do
  3512. 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)
  3513. 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)
  3514. end
  3515. orb.Anchored = true
  3516. orb.Transparency = 1
  3517. wait(8)
  3518. orb:Destroy()
  3519. end
  3520. end)
  3521. end))
  3522. for i = 0, 1, 0.1 do
  3523. swait()
  3524. 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)
  3525. 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)
  3526. 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)
  3527. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3528. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3529. 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)
  3530. end
  3531. hum.WalkSpeed = storehumanoidWS
  3532. attack = false
  3533. end
  3534.  
  3535. function BanishingOrb()
  3536. attack = true
  3537. hum.WalkSpeed = 0
  3538. local radm = math.random(1,3)
  3539. if radm == 1 then
  3540. bosschatfunc("Let it's go..",MAINRUINCOLOR.Color,1)
  3541. elseif radm == 2 then
  3542. bosschatfunc("So this is it..",MAINRUINCOLOR.Color,1)
  3543. elseif radm == 3 then
  3544. bosschatfunc("I have enough thing..",MAINRUINCOLOR.Color,1)
  3545. end
  3546. CFuncs["EchoSound"].Create("rbxassetid://1535994940", char, 5, 1,0,10,0.15,0.5,1)
  3547. CFuncs["EchoSound"].Create("rbxassetid://1535994940", root, 60, 1,0,10,0.15,0.5,1)
  3548. local orb = Instance.new("Part", char)
  3549. orb.Anchored = true
  3550. orb.BrickColor = BrickColor.new("Lime green")
  3551. orb.CanCollide = false
  3552. orb.FormFactor = 3
  3553. orb.Name = "Ring"
  3554. orb.Material = "Neon"
  3555. orb.Size = Vector3.new(1, 1, 1)
  3556. orb.Transparency = 0
  3557. orb.TopSurface = 0
  3558. orb.BottomSurface = 0
  3559. local orbm = Instance.new("SpecialMesh", orb)
  3560. orbm.MeshType = "Sphere"
  3561. orbm.Name = "SizeMesh"
  3562. orbm.Scale = vt(0,0,0)
  3563. local scaled = 0.1
  3564. local posid = 0
  3565. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  3566. for i = 0, 5, 0.1 do
  3567. swait()
  3568. scaled = scaled - 0.001
  3569. posid = posid - scaled
  3570. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3571. local scaled = 0.1
  3572. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3573. 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)
  3574. 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)
  3575. 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)
  3576. 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)
  3577. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3578. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3579. 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)
  3580. end
  3581. for i = 0, 2, 0.1 do
  3582. swait()
  3583. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3584. 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)
  3585. 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)
  3586. 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)
  3587. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3588. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3589. 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)
  3590. end
  3591. coroutine.resume(coroutine.create(function()
  3592. orb.Anchored = false
  3593. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  3594. local a = Instance.new("Part",workspace)
  3595. a.Name = "Direction"
  3596. a.Anchored = true
  3597. a.BrickColor = bc("Lime green")
  3598. a.Material = "Neon"
  3599. a.Transparency = 1
  3600. a.CanCollide = false
  3601. local ray = Ray.new(
  3602. orb.CFrame.p, -- origin
  3603. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3604. )
  3605. local ignore = orb
  3606. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3607. a.BottomSurface = 10
  3608. a.TopSurface = 10
  3609. local distance = (orb.CFrame.p - position).magnitude
  3610. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3611. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3612. orb.CFrame = a.CFrame
  3613. a:Destroy()
  3614. local bv = Instance.new("BodyVelocity")
  3615. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3616. bv.velocity = orb.CFrame.lookVector*0
  3617. bv.Parent = orb
  3618. local hitted = false
  3619. local rate = 0
  3620. coroutine.resume(coroutine.create(function()
  3621. for i = 0, 24 do
  3622. wait(0.1)
  3623. rate = rate + 0.25
  3624. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  3625. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  3626. if v:FindFirstChild('Head') then
  3627. dmg(v)
  3628. end
  3629. end
  3630. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  3631. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,bc"Lime green")
  3632. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3633. end
  3634. orb.Anchored = true
  3635. orb.Transparency = 1
  3636. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  3637. if v:FindFirstChild('Head') then
  3638. dmg(v)
  3639. end
  3640. end
  3641. local eff = Instance.new("ParticleEmitter",orb)
  3642. eff.Texture = "rbxassetid://296874871"
  3643. eff.LightEmission = 0.95
  3644. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3645. eff.Rate = 1000000000
  3646. eff.Lifetime = NumberRange.new(3)
  3647. 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)})
  3648. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3649. eff.Speed = NumberRange.new(30)
  3650. eff.Acceleration = vt(0,-15,0)
  3651. eff.Rotation = NumberRange.new(-500,500)
  3652. eff.VelocitySpread = 100000
  3653. eff.RotSpeed = NumberRange.new(-500,500)
  3654. coroutine.resume(coroutine.create(function()
  3655. wait(0.6)
  3656. eff.Enabled = false
  3657. end))
  3658. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  3659. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  3660. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,bc"Lime green")
  3661. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3662. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  3663. game:GetService("Debris"):AddItem(orb, 15)
  3664. end))
  3665. end))
  3666. for i = 0, 1, 0.1 do
  3667. swait()
  3668. 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)
  3669. 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)
  3670. 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)
  3671. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3672. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3673. 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)
  3674. end
  3675. hum.WalkSpeed = storehumanoidWS
  3676. attack = false
  3677. end
  3678.  
  3679.  
  3680. function ChaosGroundStrike()
  3681. attack = true
  3682. for i = 0, 2, 0.1 do
  3683. swait()
  3684. 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)
  3685. 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)
  3686. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3687. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3688. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3689. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3690. end
  3691. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3692. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3693. CameraEnshaking(4,12)
  3694. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3695. if v:FindFirstChild('Head') then
  3696. dmg(v)
  3697. end
  3698. end
  3699. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3700. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3701. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3702. for i = 0, 2, 0.1 do
  3703. swait()
  3704. 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)
  3705. 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)
  3706. 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)
  3707. 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)
  3708. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3709. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3710. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3711. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3712. end
  3713. attack = false
  3714. end
  3715.  
  3716.  
  3717.  
  3718. function Starfall()
  3719. attack = true
  3720. hum.WalkSpeed = 0
  3721. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3722. for i = 0, 5, 0.1 do
  3723. swait()
  3724. 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)
  3725. 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)
  3726. 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)
  3727. 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)
  3728. 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)
  3729. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3730. 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)
  3731. 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)
  3732. end
  3733. local Overed = false
  3734. CameraEnshaking(2,20)
  3735. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3736. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3737. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3738. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3739. local orb = Instance.new("Part", char)
  3740. orb.Anchored = true
  3741. orb.BrickColor = BrickColor.new("Toothpaste")
  3742. orb.CanCollide = false
  3743. orb.FormFactor = 3
  3744. orb.Name = "Remenant"
  3745. orb.Material = "Neon"
  3746. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3747. orb.Size = Vector3.new(1, 1, 1)
  3748. orb.Transparency = 1
  3749. orb.TopSurface = 0
  3750. orb.BottomSurface = 0
  3751. hum.WalkSpeed = storehumanoidWS
  3752. coroutine.resume(coroutine.create(function()
  3753. for i = 0, 9 do
  3754. swait(10)
  3755. local lb = Instance.new("Part")
  3756. lb.Color = MAINRUINCOLOR.Color
  3757. lb.CanCollide = false
  3758. lb.Material = "Neon"
  3759. lb.Anchored = true
  3760. lb.TopSurface = 0
  3761. lb.BottomSurface = 0
  3762. lb.Transparency = 0
  3763. lb.Size = vt(1,1,1)
  3764. 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)))
  3765. lb.Anchored = false
  3766. lb.Parent = char
  3767. local thingery = Instance.new("SpecialMesh",lb)
  3768. thingery.MeshType = "Sphere"
  3769. thingery.Scale = vt(20,20,20)
  3770. game:GetService("Debris"):AddItem(lb, 10)
  3771. local bv = Instance.new("BodyVelocity")
  3772. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3773. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3774. bv.Parent = lb
  3775. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3776. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3777. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3778. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3779. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3780. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3781. local hitted = false
  3782. coroutine.resume(coroutine.create(function()
  3783. while true do
  3784. swait(1)
  3785. if lb.Parent ~= nil and hitted == false then
  3786. 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)
  3787. elseif lb.Parent == nil then
  3788. break
  3789. end
  3790. end
  3791. end))
  3792.  
  3793. game:GetService("Debris"):AddItem(a, 0.1)
  3794.  
  3795. coroutine.resume(coroutine.create(function()
  3796. swait(1)
  3797. lb.Touched:connect(function(hit)
  3798. if hitted == false then
  3799. hitted = true
  3800. lb.Transparency = 1
  3801. lb.Anchored = true
  3802. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3803. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3804. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3805. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3806. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3807. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3808. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3809. CameraEnshaking(1,5)
  3810. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3811. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3812. for i = 0, 9 do
  3813. 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)
  3814. end
  3815. for i = 0, 49 do
  3816. swait()
  3817. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3818. 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)
  3819. end
  3820. end
  3821. end)
  3822. end))
  3823. end
  3824. Overed = true
  3825. orb:Destroy()
  3826. end))
  3827.  
  3828. attack = false
  3829. end
  3830.  
  3831. function StarfallEX()
  3832. attack = true
  3833. hum.WalkSpeed = 0
  3834. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  3835. for i = 0, 10, 0.1 do
  3836. swait()
  3837. 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)
  3838. 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)
  3839. 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)
  3840. 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)
  3841. 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)
  3842. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3843. 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)
  3844. 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)
  3845. end
  3846. local Overed = false
  3847. CameraEnshaking(2,20)
  3848. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3849. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3850. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3851. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  3852. local orb = Instance.new("Part", char)
  3853. orb.Anchored = true
  3854. orb.BrickColor = BrickColor.new("Toothpaste")
  3855. orb.CanCollide = false
  3856. orb.FormFactor = 3
  3857. orb.Name = "Remenant"
  3858. orb.Material = "Neon"
  3859. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  3860. orb.Size = Vector3.new(1, 1, 1)
  3861. orb.Transparency = 1
  3862. orb.TopSurface = 0
  3863. orb.BottomSurface = 0
  3864. hum.WalkSpeed = storehumanoidWS
  3865. coroutine.resume(coroutine.create(function()
  3866. for i = 0, 4 do
  3867. swait(15)
  3868. local lb = Instance.new("Part")
  3869. lb.Color = MAINRUINCOLOR.Color
  3870. lb.CanCollide = false
  3871. lb.Material = "Neon"
  3872. lb.Anchored = true
  3873. lb.TopSurface = 0
  3874. lb.BottomSurface = 0
  3875. lb.Transparency = 0
  3876. lb.Size = vt(1,1,1)
  3877. 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)))
  3878. lb.Anchored = false
  3879. lb.Parent = char
  3880. local thingery = Instance.new("SpecialMesh",lb)
  3881. thingery.MeshType = "Sphere"
  3882. thingery.Scale = vt(50,50,50)
  3883. game:GetService("Debris"):AddItem(lb, 10)
  3884. local bv = Instance.new("BodyVelocity")
  3885. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3886. bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  3887. bv.Parent = lb
  3888. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3889. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3890. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  3891. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  3892. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  3893. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  3894. local hitted = false
  3895. coroutine.resume(coroutine.create(function()
  3896. while true do
  3897. swait(1)
  3898. if lb.Parent ~= nil and hitted == false then
  3899. 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)
  3900. elseif lb.Parent == nil then
  3901. break
  3902. end
  3903. end
  3904. end))
  3905.  
  3906. game:GetService("Debris"):AddItem(a, 0.1)
  3907.  
  3908. coroutine.resume(coroutine.create(function()
  3909. swait(1)
  3910. lb.Touched:connect(function(hit)
  3911. if hitted == false then
  3912. hitted = true
  3913. lb.Transparency = 1
  3914. lb.Anchored = true
  3915. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  3916. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  3917. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  3918. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  3919. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  3920. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  3921. MagniDamage(lb, 50, 60,99, 0, "Normal")
  3922. CameraEnshaking(1,5)
  3923. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  3924. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  3925. for i = 0, 9 do
  3926. 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)
  3927. end
  3928. for i = 0, 99 do
  3929. swait()
  3930. MagniDamage(lb, 30, 6,18, 0, "Normal")
  3931. 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)
  3932. end
  3933. end
  3934. end)
  3935. end))
  3936. end
  3937. Overed = true
  3938. orb:Destroy()
  3939. end))
  3940.  
  3941. attack = false
  3942. end
  3943.  
  3944. function DivineBlast()
  3945. attack = true
  3946. bosschatfunc("Justice Beam!!",MAINRUINCOLOR.Color,0.7)
  3947. hum.WalkSpeed = 0
  3948. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  3949. elocacenter.Anchored = true
  3950. elocacenter.CFrame = sorb.CFrame
  3951. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3952. eloca1.Anchored = true
  3953. eloca1.CFrame = elocacenter.CFrame
  3954. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3955. eloca2.Anchored = true
  3956. eloca2.CFrame = elocacenter.CFrame
  3957. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3958. eloca3.Anchored = true
  3959. eloca3.CFrame = elocacenter.CFrame
  3960. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3961. eloca4.Anchored = true
  3962. eloca4.CFrame = elocacenter.CFrame
  3963. local lookavec = 0
  3964. local speeds = 0
  3965. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  3966. for i = 0, 3, 0.1 do
  3967. swait()
  3968. ---
  3969. lookavec = lookavec + 0.1
  3970. speeds = speeds + 10
  3971. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3972. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3973. 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)
  3974.  
  3975. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3976. 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)
  3977.  
  3978. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3979. 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)
  3980.  
  3981. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3982. 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)
  3983. ---
  3984. root.CFrame = FaceMouse()[1]
  3985. 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)
  3986. 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)
  3987. 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)
  3988. 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)
  3989. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  3990. 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)
  3991. end
  3992. for i = 0, 3, 0.1 do
  3993. swait()
  3994. ---
  3995. speeds = speeds + 10
  3996. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3997. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3998. 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)
  3999.  
  4000. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4001. 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)
  4002.  
  4003. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4004. 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)
  4005.  
  4006. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4007. 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)
  4008. ---
  4009. root.CFrame = FaceMouse()[1]
  4010. 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)
  4011. 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)
  4012. 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)
  4013. 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)
  4014. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4015. 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)
  4016. end
  4017. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  4018. CFuncs["Sound"].Create("rbxassetid://1436239652", char, 40,1)
  4019. for i = 0, 3, 0.1 do
  4020. swait()
  4021. ---
  4022. speeds = speeds + 10
  4023. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4024. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4025. 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)
  4026.  
  4027. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4028. 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)
  4029.  
  4030. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4031. 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)
  4032.  
  4033. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4034. 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)
  4035. ---
  4036. root.CFrame = FaceMouse()[1]
  4037. 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)
  4038. 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)
  4039. 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)
  4040. 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)
  4041. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  4042. 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)
  4043. end
  4044. coroutine.resume(coroutine.create(function()
  4045. local a = Instance.new("Part",Character)
  4046. a.Name = "Direction"
  4047. a.Anchored = true
  4048. a.BrickColor = bc("White")
  4049. a.Material = "Neon"
  4050. a.Transparency = 0
  4051. a.Shape = "Cylinder"
  4052. a.CanCollide = false
  4053. local a2 = Instance.new("Part",Character)
  4054. a2.Name = "Direction"
  4055. a2.Anchored = true
  4056. a2.BrickColor = bc("Bright yellow")
  4057. a2.Material = "Neon"
  4058. a2.Transparency = 0
  4059. a2.Shape = "Cylinder"
  4060. a2.CanCollide = false
  4061. local b = Instance.new("Part",Character)
  4062. b.Name = "HitDirect"
  4063. b.Anchored = true
  4064. b.BrickColor = bc("Cool yellow")
  4065. b.Material = "Neon"
  4066. b.Transparency = 1
  4067. b.CanCollide = false
  4068. local ray = Ray.new(
  4069. elocacenter.CFrame.p, -- origin
  4070. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  4071. )
  4072. local ignore = Character
  4073. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4074. a.BottomSurface = 10
  4075. a.TopSurface = 10
  4076. a2.BottomSurface = 10
  4077. a2.TopSurface = 10
  4078. local distance = (elocacenter.CFrame.p - position).magnitude
  4079. a.Size = Vector3.new(distance, 1, 1)
  4080. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4081. a2.Size = Vector3.new(distance, 1, 1)
  4082. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4083. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4084. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4085. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4086. game:GetService("Debris"):AddItem(a, 10)
  4087. game:GetService("Debris"):AddItem(a2, 10)
  4088. game:GetService("Debris"):AddItem(b, 10)
  4089. local eff = Instance.new("ParticleEmitter",b)
  4090. eff.Texture = "rbxassetid://2273224484"
  4091. eff.LightEmission = 1
  4092. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4093. eff.Rate = 500000
  4094. eff.Lifetime = NumberRange.new(0.5,2)
  4095. 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)})
  4096. 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)})
  4097. eff.Speed = NumberRange.new(20,250)
  4098. eff.Drag = 5
  4099. eff.Rotation = NumberRange.new(-500,500)
  4100. eff.VelocitySpread = 9000
  4101. eff.RotSpeed = NumberRange.new(-50,50)
  4102. coroutine.resume(coroutine.create(function()
  4103. wait(0.25)
  4104. eff.Enabled = false
  4105. end))
  4106. local msh = Instance.new("SpecialMesh",a)
  4107. msh.MeshType = "Cylinder"
  4108. msh.Scale = vt(1,2,2)
  4109. local msh2 = Instance.new("SpecialMesh",a2)
  4110. msh2.MeshType = "Cylinder"
  4111. msh2.Scale = vt(1,2.5,2.5)
  4112. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  4113. coroutine.resume(coroutine.create(function()
  4114. for i = 0,10,0.1 do
  4115. swait()
  4116. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  4117. a.Transparency = a.Transparency + 0.025
  4118. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  4119. a2.Transparency = a2.Transparency + 0.05
  4120. end
  4121. a:Destroy()
  4122. a2:Destroy()
  4123. end))
  4124. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  4125. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  4126. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  4127. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  4128. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  4129. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  4130. MagniDamage(b, 25, 40,65, 0, "Normal")
  4131. for i = 0, 49 do
  4132. 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)
  4133. 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)
  4134. end
  4135. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  4136. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  4137. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4138. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4139. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4140. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4141. end))
  4142. game:GetService("Debris"):AddItem(elocacenter, 5)
  4143. hum.WalkSpeed = storehumanoidWS
  4144. attack = false
  4145. end
  4146.  
  4147. function StarDivision()
  4148. attack = true
  4149. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4150. for i = 0, 2, 0.1 do
  4151. swait()
  4152. 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)
  4153. 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)
  4154. 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)
  4155. 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)
  4156. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4157. 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)
  4158. end
  4159. local orb = Instance.new("Part", char)
  4160. orb.BrickColor = MAINRUINCOLOR
  4161. orb.CanCollide = false
  4162. orb.FormFactor = 3
  4163. orb.Name = "Ring"
  4164. orb.Material = "Neon"
  4165. orb.Size = Vector3.new(1, 1, 1)
  4166. orb.Transparency = 0
  4167. orb.TopSurface = 0
  4168. orb.BottomSurface = 0
  4169. local orbm = Instance.new("SpecialMesh", orb)
  4170. orbm.MeshType = "Sphere"
  4171. orbm.Name = "SizeMesh"
  4172. orbm.Scale = vt(2,2,2)
  4173. local a = Instance.new("Part",workspace)
  4174. a.Name = "Direction"
  4175. a.Anchored = true
  4176. a.BrickColor = bc("Bright red")
  4177. a.Material = "Neon"
  4178. a.Transparency = 1
  4179. a.CanCollide = false
  4180. local ray = Ray.new(
  4181. sorb.CFrame.p, -- origin
  4182. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4183. )
  4184. local ignore = sorb
  4185. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4186. a.BottomSurface = 10
  4187. a.TopSurface = 10
  4188. local distance = (sorb.CFrame.p - position).magnitude
  4189. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4190. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4191. orb.CFrame = a.CFrame
  4192. a:Destroy()
  4193. local bv = Instance.new("BodyVelocity")
  4194. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4195. bv.velocity = orb.CFrame.lookVector*100
  4196. bv.Parent = orb
  4197. local hitted = false
  4198. game:GetService("Debris"):AddItem(orb, 10)
  4199. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4200. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4201. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4202. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4203. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4204. coroutine.resume(coroutine.create(function()
  4205. while true do
  4206. swait(1)
  4207. if orb.Parent ~= nil and hitted == false then
  4208. 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)
  4209. elseif orb.Parent == nil then
  4210. break
  4211. end
  4212. end
  4213. end))
  4214. coroutine.resume(coroutine.create(function()
  4215. swait(1)
  4216. orb.Touched:connect(function(hit)
  4217. if hitted == false then
  4218. hitted = true
  4219. game:GetService("Debris"):AddItem(orb, 5)
  4220. orb.Transparency = 1
  4221. orb.Anchored = true
  4222. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4223. elocacenter.Anchored = true
  4224. elocacenter.CFrame = orb.CFrame
  4225. elocacenter.Orientation = vt(0,0,0)
  4226. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4227. eloca1.Anchored = true
  4228. eloca1.CFrame = elocacenter.CFrame
  4229. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4230. eloca2.Anchored = true
  4231. eloca2.CFrame = elocacenter.CFrame
  4232. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4233. eloca3.Anchored = true
  4234. eloca3.CFrame = elocacenter.CFrame
  4235. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4236. eloca4.Anchored = true
  4237. eloca4.CFrame = elocacenter.CFrame
  4238. local lookavec = 0
  4239. local speeds = 0
  4240. CameraEnshaking(1,1)
  4241. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4242. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4243. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4244. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4245. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4246. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4247. for i = 0, 99 do
  4248. swait()
  4249. lookavec = lookavec + 1
  4250. speeds = speeds + 0.1
  4251. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4252. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4253. 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)
  4254.  
  4255. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4256. 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)
  4257.  
  4258. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4259. 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)
  4260.  
  4261. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4262. 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)
  4263. end
  4264.  
  4265. for i = 0, 149 do
  4266. swait()
  4267. speeds = speeds + 0.1
  4268. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4269. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4270. 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)
  4271.  
  4272. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4273. 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)
  4274.  
  4275. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4276. 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)
  4277.  
  4278. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4279. 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)
  4280. end
  4281. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4282. if v:FindFirstChild('Head') then
  4283. dmg(v)
  4284. end
  4285. end
  4286. CameraEnshaking(7,30)
  4287. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4288. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4289. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4290. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4291. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4292. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4293. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4294. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4295. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4296. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4297. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4298. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4299. for i = 0, 24 do
  4300. 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)
  4301. 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)
  4302. 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)
  4303. 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)
  4304. end
  4305. coroutine.resume(coroutine.create(function()
  4306. for i = 0, 499 do
  4307. swait(1)
  4308. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4309. 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)
  4310. end
  4311. elocacenter:Destroy()
  4312. eloca1:Destroy()
  4313. eloca2:Destroy()
  4314. eloca3:Destroy()
  4315. eloca4:Destroy()
  4316. end))
  4317. end
  4318. end)
  4319. end))
  4320. attack = false
  4321. end
  4322.  
  4323.  
  4324. function THE_TRUE_POWER_OF_VIOLENCE()
  4325. attack = true
  4326. hum.WalkSpeed = 0
  4327. bosschatfunc("ALL YOUR DESTINY...",MAINRUINCOLOR.Color,4)
  4328. for i = 0, 10, 0.1 do
  4329. swait()
  4330. 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)
  4331. 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)
  4332. 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)
  4333. 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)
  4334. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  4335. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4336. 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)
  4337. end
  4338. local orb = Instance.new("Part", char)
  4339. orb.BrickColor = MAINRUINCOLOR
  4340. orb.CanCollide = false
  4341. orb.FormFactor = 3
  4342. orb.Name = "Ring"
  4343. orb.Material = "Neon"
  4344. orb.Size = Vector3.new(1, 1, 1)
  4345. orb.Transparency = 0
  4346. orb.TopSurface = 0
  4347. orb.BottomSurface = 0
  4348. orb.CFrame = sorb.CFrame
  4349. local orbm = Instance.new("SpecialMesh", orb)
  4350. orbm.MeshType = "Sphere"
  4351. orbm.Name = "SizeMesh"
  4352. orbm.Scale = vt(0,0,0)
  4353. local sbs = Instance.new("BodyPosition", orb)
  4354. sbs.P = 3000
  4355. sbs.D = 1000
  4356. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4357. sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  4358. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  4359. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4360. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4361. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4362. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4363. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4364. for i = 0, 10, 0.1 do
  4365. swait()
  4366. 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)
  4367. 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)
  4368. 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)
  4369. 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)
  4370. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4371. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4372. 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)
  4373. end
  4374. orb.Anchored = true
  4375. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4376. elocacenter.Anchored = true
  4377. elocacenter.CFrame = orb.CFrame
  4378. elocacenter.Orientation = vt(0,0,0)
  4379. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4380. eloca1.Anchored = true
  4381. eloca1.CFrame = elocacenter.CFrame
  4382. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4383. eloca2.Anchored = true
  4384. eloca2.CFrame = elocacenter.CFrame
  4385. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4386. eloca3.Anchored = true
  4387. eloca3.CFrame = elocacenter.CFrame
  4388. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4389. eloca4.Anchored = true
  4390. eloca4.CFrame = elocacenter.CFrame
  4391. local lookavec = 0
  4392. local speeds = 0
  4393. CameraEnshaking(1,1)
  4394. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  4395. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  4396. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  4397. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  4398. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4399. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4400. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4401. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4402. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4403. for i = 0, 99 do
  4404. swait()
  4405. lookavec = lookavec + 2.5
  4406. speeds = speeds + 0.25
  4407. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4408. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4409. 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)
  4410.  
  4411. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4412. 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)
  4413.  
  4414. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4415. 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)
  4416.  
  4417. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4418. 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)
  4419. end
  4420.  
  4421. for i = 0, 149 do
  4422. swait()
  4423. speeds = speeds + 0.25
  4424. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4425. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4426. 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)
  4427.  
  4428. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4429. 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)
  4430.  
  4431. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4432. 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)
  4433.  
  4434. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4435. 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)
  4436. end
  4437. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  4438. for i = 0, 99 do
  4439. swait()
  4440. lookavec = lookavec - 2.5
  4441. speeds = speeds + 0.25
  4442. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4443. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4444. 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)
  4445.  
  4446. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4447. 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)
  4448.  
  4449. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4450. 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)
  4451.  
  4452. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4453. 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)
  4454. end
  4455. local scaled = 0.1*75
  4456. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  4457. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  4458. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  4459. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  4460. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  4461. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4462. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4463. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4464. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4465. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4466. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4467.  
  4468. for i = 0, 10, 0.1 do
  4469. swait()
  4470. scaled = scaled - 0.001*75
  4471. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4472. 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)
  4473. 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)
  4474. 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)
  4475. 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)
  4476. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4477. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4478. 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)
  4479. end
  4480. bosschatfunc("WILL BE MINE!!!!",MAINRUINCOLOR.Color,2)
  4481. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 10, 1,0,10,0.15,0.5,1)
  4482. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 60, 1,0,10,0.15,0.5,1)
  4483. for x = 0, 4 do
  4484. for i = 0, 9 do
  4485. 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)
  4486. end
  4487. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  4488. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  4489. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4490. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4491. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4492. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4493. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4494. for i = 0, 5, 0.1 do
  4495. swait()
  4496. 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)
  4497. 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)
  4498. 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)
  4499. 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)
  4500. 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)
  4501. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  4502. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  4503. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  4504. end
  4505. end
  4506. local speedearn = 0
  4507. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  4508. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  4509. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  4510. for i = 0, 30, 0.1 do
  4511. swait()
  4512. scaled = scaled - 0.001*75/10
  4513. speedearn = speedearn + 0.5
  4514. for i = 0, 4 do
  4515. 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)
  4516. end
  4517. 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)
  4518. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4519. 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)
  4520. 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)
  4521. 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)
  4522. 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)
  4523. 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)
  4524. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  4525. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  4526. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  4527. end
  4528. orb.Transparency = 1
  4529. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  4530. if v:FindFirstChild('Head') then
  4531. dmg(v)
  4532. end
  4533. end
  4534. CameraEnshaking(7,30)
  4535. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  4536. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  4537. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  4538. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  4539. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  4540. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4541. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  4542. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4543. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  4544. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  4545. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  4546. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  4547. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  4548. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  4549. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4550. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4551. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4552. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4553. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4554. for i = 0, 99 do
  4555. 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)
  4556. 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)
  4557. end
  4558. for i = 0, 24 do
  4559. 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)
  4560. 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)
  4561. 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)
  4562. 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)
  4563. 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)
  4564. end
  4565. game:GetService("Debris"):AddItem(orb, 10)
  4566. hum.WalkSpeed = storehumanoidWS
  4567. attack = false
  4568. end
  4569.  
  4570.  
  4571. function ViolentRing()
  4572. attack = true
  4573. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  4574. bosschatfunc("CAN I TAKE THAT EASY?!",MAINRUINCOLOR.Color,0.7)
  4575. CFuncs["EchoSound"].Create("rbxassetid://1535994137", char, 4, 1,0,10,0.15,0.5,1)
  4576. CFuncs["EchoSound"].Create("rbxassetid://1535994137", root, 7, 1,0,10,0.15,0.5,1)
  4577. for i = 0, 2, 0.1 do
  4578. swait()
  4579. local snap = math.random(1,10)
  4580. if snap == 1 then
  4581. 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)
  4582. end
  4583. 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)
  4584. 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)
  4585. 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)
  4586. 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)
  4587. 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)
  4588. 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)
  4589. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  4590. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  4591. 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)
  4592. RootPart.CFrame = FaceMouse()[1]
  4593. end
  4594. local orb = Instance.new("Part", char)
  4595. orb.BrickColor = MAINRUINCOLOR
  4596. orb.CanCollide = false
  4597. orb.FormFactor = 3
  4598. orb.Name = "Ring"
  4599. orb.Material = "Neon"
  4600. orb.Size = Vector3.new(1, 1, 1)
  4601. orb.Transparency = 0
  4602. orb.TopSurface = 0
  4603. orb.BottomSurface = 0
  4604. local orbm = Instance.new("SpecialMesh", orb)
  4605. orbm.MeshType = "Sphere"
  4606. orbm.Name = "SizeMesh"
  4607. orbm.Scale = vt(2,2,2)
  4608. orb.CFrame = mouse.Hit
  4609. local bv = Instance.new("BodyVelocity")
  4610. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4611. bv.velocity = orb.CFrame.lookVector*100
  4612. bv.Parent = orb
  4613. local hitted = false
  4614. coroutine.resume(coroutine.create(function()
  4615. game:GetService("Debris"):AddItem(orb, 5)
  4616. orb.Transparency = 1
  4617. orb.Anchored = true
  4618. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4619. elocacenter.Anchored = true
  4620. elocacenter.CFrame = orb.CFrame
  4621. elocacenter.Orientation = vt(0,0,0)
  4622. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4623. eloca1.Anchored = true
  4624. eloca1.CFrame = elocacenter.CFrame
  4625. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4626. eloca2.Anchored = true
  4627. eloca2.CFrame = elocacenter.CFrame
  4628. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4629. eloca3.Anchored = true
  4630. eloca3.CFrame = elocacenter.CFrame
  4631. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4632. eloca4.Anchored = true
  4633. eloca4.CFrame = elocacenter.CFrame
  4634. local lookavec = 0
  4635. local speeds = 0
  4636. CameraEnshaking(1,1)
  4637. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4638. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4639. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4640. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4641. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4642. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4643. for i = 0, 24 do
  4644. swait()
  4645. lookavec = lookavec + 3.5
  4646. speeds = speeds + 1
  4647. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4648. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4649. 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)
  4650.  
  4651. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4652. 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)
  4653.  
  4654. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4655. 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)
  4656.  
  4657. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4658. 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)
  4659. end
  4660.  
  4661. local risen = 0
  4662. for i = 0, 49 do
  4663. swait()
  4664. risen = risen + 0.05
  4665. speeds = speeds + 0.1
  4666. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4667. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4668. 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)
  4669.  
  4670. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4671. 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)
  4672.  
  4673. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4674. 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)
  4675.  
  4676. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4677. 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)
  4678. end
  4679. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  4680. if v:FindFirstChild('Head') then
  4681. dmg(v)
  4682. end
  4683. end
  4684. CameraEnshaking(4,10)
  4685. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  4686. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  4687. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  4688. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  4689. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  4690. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  4691. local eff = Instance.new("ParticleEmitter",elocacenter)
  4692. eff.Texture = "rbxassetid://2273224484"
  4693. eff.LightEmission = 1
  4694. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4695. eff.Rate = 1000000
  4696. eff.Lifetime = NumberRange.new(0.5,2)
  4697. 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)})
  4698. 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)})
  4699. eff.Speed = NumberRange.new(20,250)
  4700. eff.Drag = 5
  4701. eff.Rotation = NumberRange.new(-500,500)
  4702. eff.VelocitySpread = 5000000
  4703. eff.RotSpeed = NumberRange.new(-50,50)
  4704. coroutine.resume(coroutine.create(function()
  4705. wait(1)
  4706. eff.Enabled = false
  4707. end))
  4708. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  4709. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  4710. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4711. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4712. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4713. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4714. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4715. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  4716. for i = 0, 24 do
  4717. 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)
  4718. 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)
  4719. 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)
  4720. 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)
  4721. end
  4722. coroutine.resume(coroutine.create(function()
  4723. wait(10)
  4724. elocacenter:Destroy()
  4725. eloca1:Destroy()
  4726. eloca2:Destroy()
  4727. eloca3:Destroy()
  4728. eloca4:Destroy()
  4729. end))
  4730. end))
  4731. attack = false
  4732. end
  4733.  
  4734. function UniversalCollapse()
  4735. attack = true
  4736. local speedearn = 0
  4737. hum.WalkSpeed = 0
  4738. local sbs = Instance.new("BodyPosition", root)
  4739. sbs.P = 3000
  4740. sbs.D = 1000
  4741. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4742. sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  4743. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4744. for i = 0, 85, 0.1 do
  4745. swait()
  4746. speedearn = speedearn + 0.1
  4747. 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)
  4748. 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)
  4749. 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)
  4750. 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)
  4751. 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)
  4752. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4753. 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)
  4754. 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)
  4755. 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)
  4756. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4757. 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)
  4758. 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)
  4759. end
  4760. bosschatfunc("Gone down..",MAINRUINCOLOR.Color,1)
  4761. CFuncs["EchoSound"].Create("rbxassetid://1448032598", char, 5, 1,0,10,0.15,0.5,1)
  4762. CFuncs["EchoSound"].Create("rbxassetid://1448032598", root, 20, 1,0,10,0.15,0.5,1)
  4763. for i = 0, 25, 0.1 do
  4764. swait()
  4765. speedearn = speedearn + 0.1
  4766. 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)
  4767. 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)
  4768. 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)
  4769. 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)
  4770. 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)
  4771. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4772. 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)
  4773. 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)
  4774. 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)
  4775. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4776. 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)
  4777. 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)
  4778. end
  4779. bosschatfunc("COLLAPSE!!!",MAINRUINCOLOR.Color,1)
  4780. CFuncs["EchoSound"].Create("rbxassetid://1436241883", char, 5, 1,0,10,0.15,0.5,1)
  4781. CFuncs["EchoSound"].Create("rbxassetid://1436241883", root, 20, 1,0,10,0.15,0.5,1)
  4782. CameraEnshaking(5,50)
  4783. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4784. for i = 0, 2 do
  4785. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4786. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4787. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  4788. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  4789. end
  4790. for i = 0, 49 do
  4791. 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)
  4792. 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)
  4793. 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)
  4794. 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)
  4795. end
  4796. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4797. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4798. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4799. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4800. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4801. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4802. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4803. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4804. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4805. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4806. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4807. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4808. for i = 0, 99 do
  4809. 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)
  4810. 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)
  4811. end
  4812. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  4813. if v:FindFirstChild('Head') then
  4814. dmg(v)
  4815. end
  4816. end
  4817. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  4818. sbs:Destroy()
  4819. hum.WalkSpeed = storehumanoidWS
  4820. attack = false
  4821. end
  4822.  
  4823.  
  4824. function ChaosEND()
  4825. attack = true
  4826. local speedearn = 0
  4827. bosschatfunc("THIS IS..",MAINRUINCOLOR.Color,0.8)
  4828. CFuncs["EchoSound"].Create("rbxassetid://1548599511", char, 4.5, 1,0,10,0.15,0.5,1)
  4829. CFuncs["EchoSound"].Create("rbxassetid://1548599511", root, 30, 1,0,10,0.15,0.5,1)
  4830. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4831. for i = 0, 15, 0.1 do
  4832. swait()
  4833. speedearn = speedearn + 0.25
  4834. 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)
  4835. 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)
  4836. 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)
  4837. 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)
  4838. 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)
  4839. 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)
  4840. 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)
  4841. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4842. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4843. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4844. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4845. end
  4846. CFuncs["Sound"].Create("rbxassetid://438666141", char, 3,1)
  4847. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4848. bosschatfunc("THE END!!!",MAINRUINCOLOR.Color,2)
  4849. CFuncs["EchoSound"].Create("rbxassetid://1548599962", char, 8, 1,0,10,0.15,0.5,1)
  4850. CFuncs["EchoSound"].Create("rbxassetid://1548599962", root, 40, 1,0,10,0.15,0.5,1)
  4851. CameraEnshaking(5,25)
  4852. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4853. if v:FindFirstChild('Head') then
  4854. dmg(v)
  4855. end
  4856. end
  4857. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4858. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4859. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4860. for i = 0, 3, 0.1 do
  4861. swait()
  4862. 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)
  4863. 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)
  4864. 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)
  4865. 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)
  4866. 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)
  4867. 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)
  4868. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4869. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4870. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4871. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4872. end
  4873. attack = false
  4874. end
  4875.  
  4876. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4877. local orb = Instance.new("Part", char)
  4878. orb.Anchored = true
  4879. orb.BrickColor = color
  4880. orb.CanCollide = false
  4881. orb.FormFactor = 3
  4882. orb.Name = "Ring"
  4883. orb.Material = "Neon"
  4884. orb.Size = Vector3.new(1, 1, 1)
  4885. orb.Transparency = 0
  4886. orb.TopSurface = 0
  4887. orb.BottomSurface = 0
  4888. local orbm = Instance.new("SpecialMesh", orb)
  4889. orbm.MeshType = "Sphere"
  4890. orb.CFrame = positted
  4891. orbm.Name = "SizeMesh"
  4892. orbm.Scale = vt(1,1,1)
  4893. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4894. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4895. --[[for i = 0, 2 do
  4896. 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)
  4897. end]]--
  4898. coroutine.resume(coroutine.create(function()
  4899. wait(timer)
  4900. CameraEnshaking(3,ShakePower)
  4901. orb.Transparency = 1
  4902. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4903. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4904. --[[for i = 0, 4 do
  4905. 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)
  4906. end]]--
  4907. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4908. wait(3)
  4909. orb:Destroy()
  4910. end))
  4911. end
  4912.  
  4913. function orb_spawn(positted,timer)
  4914. local randomcol = math.random(1,2)
  4915. local orb = Instance.new("Part", char)
  4916. orb.Anchored = true
  4917. if randomcol == 1 then
  4918. orb.BrickColor = BrickColor.new("White")
  4919. elseif randomcol == 2 then
  4920. orb.BrickColor = BrickColor.new("Really black")
  4921. end
  4922. orb.CanCollide = false
  4923. orb.FormFactor = 3
  4924. orb.Name = "Ring"
  4925. orb.Material = "Neon"
  4926. orb.Size = Vector3.new(1, 1, 1)
  4927. orb.Transparency = 0
  4928. orb.TopSurface = 0
  4929. orb.BottomSurface = 0
  4930. local orbm = Instance.new("SpecialMesh", orb)
  4931. orbm.MeshType = "Sphere"
  4932. orb.CFrame = positted
  4933. orbm.Name = "SizeMesh"
  4934. orbm.Scale = vt(1,1,1)
  4935. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 0.15, 1)
  4936. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4937. for i = 0, 2 do
  4938. 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)
  4939. end
  4940. coroutine.resume(coroutine.create(function()
  4941. wait(timer)
  4942. CameraEnshaking(3,2)
  4943. orb.Transparency = 1
  4944. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4945. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4946. for i = 0, 4 do
  4947. 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)
  4948. end
  4949. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 0.15, 0.7)
  4950. wait(3)
  4951. orb:Destroy()
  4952. end))
  4953. end
  4954.  
  4955. function scattercorrupt()
  4956. attack = true
  4957. hum.WalkSpeed = 0
  4958. for i = 0, 2, 0.1 do
  4959. swait()
  4960. 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)
  4961. 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)
  4962. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4963. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4964. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.2)
  4965. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.2)
  4966. end
  4967. local rot = 0
  4968. local randomrotations = math.random(1,2)
  4969. local lookv = 2.5
  4970. local power = 7
  4971. local radm = math.random(1,3)
  4972. if radm == 1 then
  4973. bosschatfunc("HOW LONG CAN YOU TAKE THIS?",MAINRUINCOLOR.Color,1)
  4974. elseif radm == 2 then
  4975. bosschatfunc("SWAMP!!",MAINRUINCOLOR.Color,1)
  4976. elseif radm == 3 then
  4977. bosschatfunc("SCATTER!!",MAINRUINCOLOR.Color,1)
  4978. end
  4979. CFuncs["Sound"].Create("rbxassetid://183763506", RightLeg, 2, 1)
  4980. for i = 0, 1, 0.1 do
  4981. swait()
  4982. 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)
  4983. 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)
  4984. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(15),math.rad(0),math.rad(0)),.15)
  4985. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.15)
  4986. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(40)),.15)
  4987. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(-40)),.15)
  4988. end
  4989. CFuncs["EchoSound"].Create("rbxassetid://1535994669", char, 5, 1,0,10,0.15,0.5,1)
  4990. CFuncs["EchoSound"].Create("rbxassetid://1535994669", root, 20, 1,0,10,0.15,0.5,1)
  4991. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4992. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4993. for i = 0, 9 do
  4994. 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)
  4995. end
  4996. local hite = Instance.new("Part", char)
  4997. hite.Anchored = true
  4998. hite.CanCollide = false
  4999. hite.FormFactor = 3
  5000. hite.Name = "Ring"
  5001. hite.Material = "Neon"
  5002. hite.Size = Vector3.new(1, 1, 1)
  5003. hite.Transparency = 1
  5004. hite.TopSurface = 0
  5005. hite.BottomSurface = 0
  5006. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  5007. local rem = Instance.new("Part", char)
  5008. rem.Anchored = true
  5009. rem.CanCollide = false
  5010. rem.FormFactor = 3
  5011. rem.Name = "Ring"
  5012. rem.Material = "Neon"
  5013. rem.Size = Vector3.new(1, 1, 1)
  5014. rem.Transparency = 1
  5015. rem.TopSurface = 0
  5016. rem.BottomSurface = 0
  5017. rem.CFrame = hite.CFrame
  5018. local rem2 = rem:Clone()
  5019. rem2.Parent = char
  5020. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5021. local rem3 = rem:Clone()
  5022. rem3.Parent = char
  5023. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5024. local rem4 = rem:Clone()
  5025. rem4.Parent = char
  5026. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5027. hite:Destroy()
  5028. coroutine.resume(coroutine.create(function()
  5029. for i = 0, 24 do
  5030. swait(1)
  5031. if randomrotations == 1 then
  5032. rot = rot + 1
  5033. elseif randomrotations == 2 then
  5034. rot = rot - 1
  5035. end
  5036. power = power + 0.5
  5037. lookv = lookv + 7.5
  5038. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5039. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5040. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5041. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5042. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5043. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5044. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5045. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5046. end
  5047. end))
  5048. wait(2)
  5049. hum.WalkSpeed = storehumanoidWS
  5050. attack = false
  5051. end
  5052. function yinyangi()
  5053. attack = true
  5054. for i = 0, 2, 0.1 do
  5055. swait()
  5056. 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)
  5057. 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)
  5058. 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)
  5059. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5060. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  5061. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  5062. end
  5063. local bv = Instance.new("BodyVelocity")
  5064. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5065. bv.velocity = root.CFrame.lookVector*175
  5066. bv.Parent = root
  5067. for Rotations = 0, 9 do
  5068. for i = 0, 1, 0.5 do
  5069. swait()
  5070. bv.velocity = root.CFrame.lookVector*175
  5071. 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)
  5072. 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)
  5073. 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)
  5074. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5075. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5076. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5077. end
  5078. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5079. for i = 0, 1, 0.5 do
  5080. swait()
  5081. bv.velocity = root.CFrame.lookVector*175
  5082. 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)
  5083. 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)
  5084. 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)
  5085. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5086. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5087. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5088. end
  5089. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5090. for i = 0, 1, 0.5 do
  5091. swait()
  5092. bv.velocity = root.CFrame.lookVector*175
  5093. 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)
  5094. 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)
  5095. 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)
  5096. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5097. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5098. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5099. end
  5100. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5101. for i = 0, 1, 0.5 do
  5102. swait()
  5103. bv.velocity = root.CFrame.lookVector*175
  5104. 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)
  5105. 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)
  5106. 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)
  5107. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5108. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5109. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5110. end
  5111. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5112. end
  5113. bv:Destroy()
  5114. attack = false
  5115. end
  5116.  
  5117. function createBGCircle(size,parent,color)
  5118. local bgui = Instance.new("BillboardGui",parent)
  5119. bgui.Size = UDim2.new(size, 0, size, 0)
  5120. local imgc = Instance.new("ImageLabel",bgui)
  5121. imgc.BackgroundTransparency = 1
  5122. imgc.ImageTransparency = 0
  5123. imgc.Size = UDim2.new(1,0,1,0)
  5124. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  5125. imgc.ImageColor3 = color
  5126. return bgui,imgc
  5127. end
  5128.  
  5129. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  5130. local bgui,imgc = createBGCircle(size,guipar,color)
  5131. bgui.AlwaysOnTop = true
  5132. imgc.Image = "rbxassetid://" ..img
  5133. local rrot = math.random(1,2)
  5134. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  5135. coroutine.resume(coroutine.create(function()
  5136. for i = 0, 24*delay do
  5137. swait()
  5138. if rotationenabled == true then
  5139. if rrot == 1 then
  5140. imgc.Rotation = imgc.Rotation + rotsp
  5141. elseif rrot == 2 then
  5142. imgc.Rotation = imgc.Rotation - rotsp
  5143. end
  5144. end
  5145. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  5146. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  5147. end
  5148. bgui:Destroy()
  5149. end))
  5150. end
  5151. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  5152. for i, v in pairs(mw2:GetChildren()) do
  5153. if v:IsA("Part") then
  5154. v.BrickColor = one
  5155. v.Material = "Neon"
  5156. end
  5157. end
  5158. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  5159. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  5160. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  5161. tr1.Color = ColorSequence.new(one.Color)
  5162. tr2.Color = ColorSequence.new(one.Color)
  5163. tr3.Color = ColorSequence.new(one.Color)
  5164. for i, v in pairs(mw1:GetChildren()) do
  5165. if v:IsA("Part") then
  5166. if secondaryenabled == false then
  5167. v.Transparency = 1
  5168. elseif secondaryenabled == true then
  5169. v.Transparency = 0
  5170. end
  5171. v.BrickColor = two
  5172. v.Material = "Neon"
  5173. end
  5174. end
  5175. if secondaryenabled == false then
  5176. tl1.Enabled = false
  5177. tl2.Enabled = false
  5178. tl3.Enabled = false
  5179. elseif secondaryenabled == true then
  5180. tl1.Enabled = true
  5181. tl2.Enabled = true
  5182. tl3.Enabled = true
  5183. end
  5184. tl1.Color = ColorSequence.new(two.Color)
  5185. tl2.Color = ColorSequence.new(two.Color)
  5186. tl3.Color = ColorSequence.new(two.Color)
  5187. for i, v in pairs(m:GetChildren()) do
  5188. if v:IsA("Part") then
  5189. v.BrickColor = three
  5190. v.Material = "Ice"
  5191. end
  5192. end
  5193. for i, v in pairs(m2:GetChildren()) do
  5194. if v:IsA("Part") then
  5195. v.BrickColor = four
  5196. v.Material = "Ice"
  5197. end
  5198. end
  5199. for i, v in pairs(m3:GetChildren()) do
  5200. if v:IsA("Part") then
  5201. v.BrickColor = five
  5202. v.Material = "Neon"
  5203. end
  5204. end
  5205. for i, v in pairs(extrawingmod1:GetChildren()) do
  5206. if v:IsA("Part") then
  5207. v.Transparency = exonetran
  5208. v.BrickColor = exone
  5209. v.Material = "Neon"
  5210. end
  5211. end
  5212. for i, v in pairs(extrawingmod2:GetChildren()) do
  5213. if v:IsA("Part") then
  5214. v.Transparency = extwotran
  5215. v.BrickColor = extwo
  5216. v.Material = "Neon"
  5217. end
  5218. end
  5219. end
  5220.  
  5221.  
  5222. function normalmog()
  5223. attack = true
  5224. hum.WalkSpeed = 0
  5225. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  5226. for i = 0,6,0.1 do
  5227. swait()
  5228. 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)
  5229. 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)
  5230. 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)
  5231. 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)
  5232. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5233. 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)
  5234. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5235. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5236. end
  5237. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  5238. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  5239. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  5240. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  5241. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  5242. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  5243. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  5244. rainbowmode = false
  5245. chaosmode = false
  5246. ModeOfGlitch = 1
  5247. storehumanoidWS = 16
  5248. newTheme("rbxassetid://367339030",48.6,1,1.25)
  5249. RecolorTextAndRename("Murder Guest",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  5250. CameraEnshaking(5,2.5)
  5251. MAINRUINCOLOR = BrickColor.new("Really red")
  5252. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5253. for i = 0, 49 do
  5254. 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)
  5255. end
  5256. for i = 0, 24 do
  5257. 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)
  5258. 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"))
  5259. end
  5260. for i = 0,3,0.1 do
  5261. 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)
  5262. end
  5263. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  5264. for i = 0,2,0.1 do
  5265. swait()
  5266. 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)
  5267. 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)
  5268. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  5269. 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)
  5270. 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)
  5271. 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)
  5272. end
  5273. hum.WalkSpeed = storehumanoidWS
  5274. attack = false
  5275. end
  5276.  
  5277. function attackone()
  5278. attack = true
  5279. local keptcolor = MAINRUINCOLOR
  5280. for i = 0,1,0.1 do
  5281. swait()
  5282. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  5283. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  5284. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  5285. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5286. 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)
  5287. 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)
  5288. end
  5289. local distlook = 5
  5290. coroutine.resume(coroutine.create(function()
  5291. for i = 0, 4 do
  5292. swait(2)
  5293. CameraEnshaking(2,3)
  5294. local hite = Instance.new("Part", char)
  5295. hite.Anchored = true
  5296. hite.CanCollide = false
  5297. hite.FormFactor = 3
  5298. hite.Name = "Ring"
  5299. hite.Material = "Neon"
  5300. hite.Size = Vector3.new(1, 1, 1)
  5301. hite.Transparency = 1
  5302. hite.TopSurface = 0
  5303. hite.BottomSurface = 0
  5304. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  5305. 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)
  5306. 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)
  5307. 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)
  5308. 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)
  5309. MagniDamage(hite, 9, 10,25, 0, "Normal")
  5310. for i = 0, 14 do
  5311. local rsiz = math.random(5,20)
  5312. 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)
  5313. end
  5314. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  5315. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  5316. game:GetService("Debris"):AddItem(hite, 5)
  5317. distlook = distlook + 10
  5318. end
  5319. end))
  5320. for i = 0,1,0.1 do
  5321. swait()
  5322. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  5323. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  5324. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  5325. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  5326. 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)
  5327. 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)
  5328. end
  5329. attack = false
  5330. end
  5331.  
  5332. function attacktwo()
  5333. attack = true
  5334. hum.WalkSpeed = 2
  5335. local keptcolor = MAINRUINCOLOR
  5336. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5337. 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)
  5338. 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)
  5339. for i = 0, 14 do
  5340. 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)
  5341. end
  5342. for i = 0,1,0.1 do
  5343. swait()
  5344. 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)
  5345. 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)
  5346. 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)
  5347. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5348. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  5349. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  5350. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5351. end
  5352. for i = 0, 1 do
  5353. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  5354. for i = 0,1,0.6 do
  5355. swait()
  5356. 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)
  5357. 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"))
  5358. 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)
  5359. 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)
  5360. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5361. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5362. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5363. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5364. end
  5365. for i = 0,1,0.6 do
  5366. swait()
  5367. 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)
  5368. 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"))
  5369. 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)
  5370. 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)
  5371. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  5372. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5373. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5374. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5375. end
  5376. for i = 0,1,0.6 do
  5377. swait()
  5378. 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)
  5379. 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"))
  5380. 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)
  5381. 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)
  5382. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  5383. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5384. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5385. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5386. end
  5387. for i = 0,1,0.6 do
  5388. swait()
  5389. 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)
  5390. 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"))
  5391. 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)
  5392. 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)
  5393. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  5394. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5395. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5396. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5397. end
  5398. local rot = 0
  5399. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  5400. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5401. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5402. CreateMesh(dis,"Sphere",10,1,10)
  5403. local at1 = Instance.new("Attachment",dis)
  5404. at1.Position = vt(-5,0,0)
  5405. local at2 = Instance.new("Attachment",dis)
  5406. at2.Position = vt(5,0,0)
  5407. local trl = Instance.new('Trail',wed)
  5408. trl.Attachment0 = at1
  5409. trl.Attachment1 = at2
  5410. trl.Texture = "rbxassetid://1049219073"
  5411. trl.LightEmission = 1
  5412. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5413. trl.Color = ColorSequence.new(dis.Color)
  5414. trl.Lifetime = 0.6
  5415. local a = Instance.new("Part",workspace)
  5416. a.Name = "Direction"
  5417. a.Anchored = true
  5418. a.BrickColor = bc("Bright red")
  5419. a.Material = "Neon"
  5420. a.Transparency = 1
  5421. a.CanCollide = false
  5422. local ray = Ray.new(
  5423. dis.CFrame.p, -- origin
  5424. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5425. )
  5426. local ignore = dis
  5427. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5428. a.BottomSurface = 10
  5429. a.TopSurface = 10
  5430. local distance = (dis.CFrame.p - position).magnitude
  5431. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5432. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5433. dis.CFrame = a.CFrame
  5434. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5435. a:Destroy()
  5436. local bv = Instance.new("BodyVelocity")
  5437. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5438. bv.velocity = dis.CFrame.lookVector*250
  5439. bv.Parent = dis
  5440. game:GetService("Debris"):AddItem(dis, 5)
  5441. local hitted = false
  5442. coroutine.resume(coroutine.create(function()
  5443. dis.Touched:connect(function(hit)
  5444. if hitted == false and hit.Parent ~= char then
  5445. hitted = true
  5446. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5447. MagniDamage(dis, 30, 33,56, 0, "Normal")
  5448. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5449. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5450. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5451. coroutine.resume(coroutine.create(function()
  5452. for i = 0, 9 do
  5453. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5454. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5455. local at1 = Instance.new("Attachment",disr)
  5456. at1.Position = vt(-5,0,0)
  5457. local at2 = Instance.new("Attachment",disr)
  5458. at2.Position = vt(5,0,0)
  5459. local trl = Instance.new('Trail',disr)
  5460. trl.Attachment0 = at1
  5461. trl.FaceCamera = true
  5462. trl.Attachment1 = at2
  5463. trl.Texture = "rbxassetid://2342682798"
  5464. trl.LightEmission = 1
  5465. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5466. trl.Color = ColorSequence.new(keptcolor.Color)
  5467. trl.Lifetime = 0.5
  5468. local bv = Instance.new("BodyVelocity")
  5469. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5470. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5471. bv.Parent = disr
  5472. local val = 0
  5473. coroutine.resume(coroutine.create(function()
  5474. swait(30)
  5475. for i = 0, 9 do
  5476. swait()
  5477. val = val + 0.1
  5478. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5479. end
  5480. game:GetService("Debris"):AddItem(disr, 3)
  5481. end))
  5482. end
  5483. local eff = Instance.new("ParticleEmitter",dis)
  5484. eff.Texture = "rbxassetid://2273224484"
  5485. eff.LightEmission = 1
  5486. eff.Color = ColorSequence.new(keptcolor.Color)
  5487. eff.Rate = 500000
  5488. eff.Lifetime = NumberRange.new(0.5,2)
  5489. 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)})
  5490. 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)})
  5491. eff.Speed = NumberRange.new(20,250)
  5492. eff.Drag = 5
  5493. eff.Rotation = NumberRange.new(-500,500)
  5494. eff.VelocitySpread = 9000
  5495. eff.RotSpeed = NumberRange.new(-50,50)
  5496. wait(0.25)
  5497. eff.Enabled = false
  5498. end))
  5499. for i = 0, 9 do
  5500. 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"))
  5501. end
  5502. for i = 0, 19 do
  5503. 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)
  5504. end
  5505. coroutine.resume(coroutine.create(function()
  5506. for i = 0, 19 do
  5507. swait()
  5508. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5509. end
  5510. hum.CameraOffset = vt(0,0,0)
  5511. end))
  5512. dis.Anchored = true
  5513. dis.Transparency = 1
  5514. wait(8)
  5515. dis:Destroy()
  5516. end
  5517. end)
  5518. end))
  5519. rot = rot - 15
  5520. end
  5521. for i = 0,2,0.1 do
  5522. swait()
  5523. 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)
  5524. 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)
  5525. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5526. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  5527. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5528. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5529. end
  5530. attack = false
  5531. hum.WalkSpeed = storehumanoidWS
  5532. end
  5533.  
  5534. function attackthree()
  5535. attack = true
  5536. local keptcolor = MAINRUINCOLOR
  5537. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  5538. for i = 0,2,0.1 do
  5539. swait()
  5540. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5541. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  5542. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  5543. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  5544. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  5545. 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)
  5546. 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)
  5547. end
  5548. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  5549. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  5550. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  5551. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  5552. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5553. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  5554. for i = 0, 24 do
  5555. 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"))
  5556. end
  5557. for i = 0,4,0.1 do
  5558. swait()
  5559. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  5560. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5561. CreateMesh(dis,"Sphere",1,1,1)
  5562. dis.Anchored = true
  5563. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5564. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5565. coroutine.resume(coroutine.create(function()
  5566. swait(30)
  5567. dis.Transparency = 1
  5568. coroutine.resume(coroutine.create(function()
  5569. for i = 0, 19 do
  5570. swait()
  5571. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5572. end
  5573. hum.CameraOffset = vt(0,0,0)
  5574. end))
  5575. coroutine.resume(coroutine.create(function()
  5576. local eff = Instance.new("ParticleEmitter",dis)
  5577. eff.Texture = "rbxassetid://2273224484"
  5578. eff.LightEmission = 1
  5579. eff.Color = ColorSequence.new(dis.Color)
  5580. eff.Rate = 500000
  5581. eff.Lifetime = NumberRange.new(0.5,2)
  5582. 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)})
  5583. 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)})
  5584. eff.Speed = NumberRange.new(50,450)
  5585. eff.Drag = 5
  5586. eff.Rotation = NumberRange.new(-500,500)
  5587. eff.VelocitySpread = 9000
  5588. eff.RotSpeed = NumberRange.new(-50,50)
  5589. wait(0.125)
  5590. eff.Enabled = false
  5591. end))
  5592. MagniDamage(dis, 30, 45,50, 0, "Normal")
  5593. for i = 0, 2 do
  5594. 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)
  5595. end
  5596. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  5597. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  5598. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  5599. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  5600. end))
  5601. game:GetService("Debris"):AddItem(dis, 5)
  5602. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  5603. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  5604. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  5605. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  5606. 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)
  5607. 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)
  5608. end
  5609. attack = false
  5610. end
  5611. ----------------------------------- Abilities
  5612.  
  5613. function ExtinctiveHeartbreak()
  5614. local targetted = nil
  5615. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5616. targetted = mouse.Target.Parent
  5617. end
  5618. if targetted ~= nil then
  5619. attack = true
  5620. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5621. for i = 0, 9 do
  5622. 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)
  5623. end
  5624. for i = 0, 24 do
  5625. 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)
  5626. end
  5627. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5628. local originalpos = root.CFrame
  5629. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5630. for i = 0, 9 do
  5631. 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)
  5632. end
  5633. for i = 0, 24 do
  5634. 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)
  5635. end
  5636. hum.WalkSpeed = 0
  5637. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5638. local radm = math.random(1,3)
  5639. if radm == 1 then
  5640. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  5641. elseif radm == 2 then
  5642. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  5643. elseif radm == 3 then
  5644. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  5645. end
  5646. for i = 0,2,0.1 do
  5647. swait()
  5648. 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)
  5649. 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)
  5650. 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)
  5651. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5652. 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)
  5653. 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)
  5654. end
  5655. CFuncs["Sound"].Create("rbxassetid://153092227", root, 0.5,1)
  5656. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 2, 1,0,10,0.25,0.5,1)
  5657. for i = 0,2,0.1 do
  5658. swait()
  5659. coroutine.resume(coroutine.create(function()
  5660. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5661. for i,v in pairs(targetted:GetChildren()) do
  5662. if v:IsA("Part") or v:IsA("MeshPart") then
  5663. v.Velocity = vt(0,0,0)
  5664. end
  5665. end
  5666. end))
  5667. 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)
  5668. 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)
  5669. 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)
  5670. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5671. 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)
  5672. 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)
  5673. end
  5674. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 0.5, 1,0,10,0.25,0.5,1)
  5675. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 0.5, 0.9,0,10,0.25,0.5,1)
  5676. for i = 0, 1 do
  5677. CFuncs["EchoSound"].Create("rbxassetid://159882598", char, 2, 1,0.1,10,0.15,0.5,1)
  5678. end
  5679. CFuncs["EchoSound"].Create("rbxassetid://159882598", root, 15, 1,0.1,10,0.15,0.5,1)
  5680. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  5681. for i = 0,4,0.1 do
  5682. swait()
  5683. coroutine.resume(coroutine.create(function()
  5684. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5685. 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)))
  5686. local at1 = Instance.new("Attachment",dis)
  5687. at1.Position = vt(-25000,0,0)
  5688. local at2 = Instance.new("Attachment",dis)
  5689. at2.Position = vt(25000,0,0)
  5690. local trl = Instance.new('Trail',dis)
  5691. trl.Attachment0 = at1
  5692. trl.FaceCamera = true
  5693. trl.Attachment1 = at2
  5694. trl.Texture = "rbxassetid://1049219073"
  5695. trl.LightEmission = 1
  5696. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5697. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  5698. trl.Lifetime = 5
  5699. local bv = Instance.new("BodyVelocity")
  5700. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5701. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5702. bv.Parent = dis
  5703. game:GetService("Debris"):AddItem(dis, 5)
  5704. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5705. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  5706. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  5707. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  5708. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  5709. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  5710. 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)
  5711. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  5712. for i = 0, 2 do
  5713. 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"))
  5714. end
  5715. 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)
  5716. for i,v in pairs(targetted:GetChildren()) do
  5717. if v:IsA("Part") or v:IsA("MeshPart") then
  5718. v.Velocity = vt(0,0,0)
  5719. end
  5720. end
  5721. end))
  5722. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  5723. 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)
  5724. 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)
  5725. 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)
  5726. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  5727. 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)
  5728. 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)
  5729. end
  5730. hum.CameraOffset = vt(0,0,0)
  5731. for i = 0, 49 do
  5732. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5733. 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)))
  5734. local at1 = Instance.new("Attachment",dis)
  5735. at1.Position = vt(-50000,0,0)
  5736. local at2 = Instance.new("Attachment",dis)
  5737. at2.Position = vt(50000,0,0)
  5738. local trl = Instance.new('Trail',dis)
  5739. trl.Attachment0 = at1
  5740. trl.FaceCamera = true
  5741. trl.Attachment1 = at2
  5742. trl.Texture = "rbxassetid://1049219073"
  5743. trl.LightEmission = 1
  5744. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5745. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  5746. trl.Lifetime = 5
  5747. local bv = Instance.new("BodyVelocity")
  5748. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5749. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5750. bv.Parent = dis
  5751. game:GetService("Debris"):AddItem(dis, 5)
  5752. end
  5753. for i = 0, 49 do
  5754. 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)
  5755. 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"))
  5756. end
  5757. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  5758. for i = 0, 1 do
  5759. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  5760. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  5761. end
  5762. for i = 0, 4 do
  5763. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  5764. end
  5765. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  5766. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  5767. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  5768. dmg(targetted)
  5769. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5770. for i = 0, 9 do
  5771. 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)
  5772. end
  5773. for i = 0, 24 do
  5774. 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)
  5775. end
  5776. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5777. root.CFrame = originalpos
  5778. for i = 0, 9 do
  5779. 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)
  5780. end
  5781. for i = 0, 24 do
  5782. 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)
  5783. end
  5784. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5785. attack = false
  5786. hum.WalkSpeed = storehumanoidWS
  5787. end
  5788. end
  5789.  
  5790. function CorruptionEvent()
  5791. attack = true
  5792. hum.WalkSpeed = 0
  5793. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5794. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5795. local keptcolor = MAINRUINCOLOR
  5796. for i = 0,4,0.1 do
  5797. swait()
  5798. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5799. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5800. 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)
  5801. 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)
  5802. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  5803. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  5804. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  5805. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5806. end
  5807. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5808. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  5809. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  5810. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5811. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5812. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5813. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5814. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  5815. hum.CameraOffset = vt(0,0,0)
  5816. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5817. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5818. for i = 0, 24 do
  5819. 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"))
  5820. end
  5821. local rrot = 0
  5822. coroutine.resume(coroutine.create(function()
  5823. for i = 0, 4 do
  5824. rrot = rrot + 45
  5825. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5826. xa.Anchored = true
  5827. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5828. xb.Anchored = true
  5829. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5830. xc.Anchored = true
  5831. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5832. xd.Anchored = true
  5833. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  5834. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  5835. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  5836. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  5837. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  5838. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  5839. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  5840. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  5841. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  5842. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  5843. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  5844. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  5845. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  5846. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  5847. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  5848. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  5849. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5850. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5851. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5852. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5853. for i = 0, 9 do
  5854. 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"))
  5855. 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"))
  5856. 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"))
  5857. 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"))
  5858. end
  5859. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5860. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5861. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5862. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5863. 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)
  5864. 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)
  5865. 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)
  5866. 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)
  5867. 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))
  5868. 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))
  5869. 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))
  5870. 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))
  5871. game:GetService("Debris"):AddItem(xa, 5)
  5872. game:GetService("Debris"):AddItem(xb, 5)
  5873. game:GetService("Debris"):AddItem(xc, 5)
  5874. game:GetService("Debris"):AddItem(xd, 5)
  5875. coroutine.resume(coroutine.create(function()
  5876. for i = 0, 19 do
  5877. swait()
  5878. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5879. end
  5880. hum.CameraOffset = vt(0,0,0)
  5881. end))
  5882. swait(9)
  5883. end
  5884. end))
  5885. for i = 0,2,0.1 do
  5886. swait()
  5887. 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)
  5888. 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)
  5889. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  5890. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  5891. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  5892. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5893. end
  5894. attack = false
  5895. hum.WalkSpeed = storehumanoidWS
  5896. end
  5897.  
  5898. function EndGROUND()
  5899. attack = true
  5900. hum.WalkSpeed = 0
  5901. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  5902. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5903. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5904. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  5905. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  5906. local keptcolor = MAINRUINCOLOR
  5907. for i = 0,4,0.1 do
  5908. swait()
  5909. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5910. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5911. 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"))
  5912. 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)
  5913. 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)
  5914. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  5915. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  5916. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  5917. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5918. end
  5919. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5920. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5921. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5922. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5923. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  5924. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  5925. coroutine.resume(coroutine.create(function()
  5926. local shval = 10
  5927. for i = 0, 99 do
  5928. swait()
  5929. shval = shval - 0.1
  5930. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  5931. end
  5932. hum.CameraOffset = vt(0,0,0)
  5933. end))
  5934. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5935. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5936. for i = 0, 24 do
  5937. 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"))
  5938. end
  5939. local rrot = 0
  5940. local xam = 1
  5941. coroutine.resume(coroutine.create(function()
  5942. for i = 0, 14 do
  5943. --swait()
  5944. rrot = rrot + 40*xam
  5945. xam = xam + 0.25
  5946. local bonus = xam
  5947. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  5948. xa.Anchored = true
  5949. xa.Color = Color3.new(0,0,0)
  5950. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  5951. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  5952. local xc = 0
  5953. coroutine.resume(coroutine.create(function()
  5954. for i = 0, 99 do
  5955. swait()
  5956. xc = xc + 0.01
  5957. xa.Color = Color3.new(xc,0,0)
  5958. end
  5959. xa.Transparency = 1
  5960. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  5961. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  5962. for i = 0, 9 do
  5963. 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"))
  5964. end
  5965. 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)
  5966. 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)
  5967. 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))
  5968. game:GetService("Debris"):AddItem(xa, 5)
  5969. coroutine.resume(coroutine.create(function()
  5970. for i = 0, 19 do
  5971. swait()
  5972. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5973. end
  5974. hum.CameraOffset = vt(0,0,0)
  5975. end))
  5976. end))
  5977. end
  5978. end))
  5979. for i = 0,2,0.1 do
  5980. swait()
  5981. 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)
  5982. 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)
  5983. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  5984. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  5985. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  5986. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5987. end
  5988. attack = false
  5989. hum.WalkSpeed = storehumanoidWS
  5990. end
  5991.  
  5992. function HeavenlyDisk()
  5993. attack = true
  5994. hum.WalkSpeed = 2
  5995. local keptcolor = MAINRUINCOLOR
  5996. local radm = math.random(1,3)
  5997. if radm == 1 then
  5998. bosschatfunc("Dont make this too easy for you.",MAINRUINCOLOR.Color,1)
  5999. elseif radm == 2 then
  6000. bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
  6001. elseif radm == 3 then
  6002. bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  6003. end
  6004. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  6005. CFuncs["EchoSound"].Create("rbxassetid://1625448638", char, 4, 1,0,10,0.15,0.5,1)
  6006. 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)
  6007. 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)
  6008. for i = 0, 14 do
  6009. 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)
  6010. end
  6011. for i = 0,2,0.1 do
  6012. swait()
  6013. 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)
  6014. 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)
  6015. 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)
  6016. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  6017. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  6018. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6019. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  6020. end
  6021. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  6022. for i = 0,1,0.6 do
  6023. swait()
  6024. 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)
  6025. 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"))
  6026. 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)
  6027. 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)
  6028. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  6029. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6030. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6031. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6032. end
  6033. for i = 0,1,0.6 do
  6034. swait()
  6035. 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)
  6036. 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"))
  6037. 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)
  6038. 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)
  6039. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  6040. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6041. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6042. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6043. end
  6044. for i = 0,1,0.6 do
  6045. swait()
  6046. 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)
  6047. 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"))
  6048. 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)
  6049. 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)
  6050. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  6051. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6052. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6053. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6054. end
  6055. for i = 0,1,0.6 do
  6056. swait()
  6057. 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)
  6058. 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"))
  6059. 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)
  6060. 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)
  6061. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  6062. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6063. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6064. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6065. end
  6066. local rot = 15
  6067. for i = 0, 2 do
  6068. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  6069. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  6070. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  6071. CreateMesh(dis,"Sphere",10,1,10)
  6072. local at1 = Instance.new("Attachment",dis)
  6073. at1.Position = vt(-5,0,0)
  6074. local at2 = Instance.new("Attachment",dis)
  6075. at2.Position = vt(5,0,0)
  6076. local trl = Instance.new('Trail',wed)
  6077. trl.Attachment0 = at1
  6078. trl.Attachment1 = at2
  6079. trl.Texture = "rbxassetid://1049219073"
  6080. trl.LightEmission = 1
  6081. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6082. trl.Color = ColorSequence.new(dis.Color)
  6083. trl.Lifetime = 0.6
  6084. local a = Instance.new("Part",workspace)
  6085. a.Name = "Direction"
  6086. a.Anchored = true
  6087. a.BrickColor = bc("Bright red")
  6088. a.Material = "Neon"
  6089. a.Transparency = 1
  6090. a.CanCollide = false
  6091. local ray = Ray.new(
  6092. dis.CFrame.p, -- origin
  6093. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6094. )
  6095. local ignore = dis
  6096. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6097. a.BottomSurface = 10
  6098. a.TopSurface = 10
  6099. local distance = (dis.CFrame.p - position).magnitude
  6100. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6101. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6102. dis.CFrame = a.CFrame
  6103. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6104. a:Destroy()
  6105. local bv = Instance.new("BodyVelocity")
  6106. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6107. bv.velocity = dis.CFrame.lookVector*250
  6108. bv.Parent = dis
  6109. game:GetService("Debris"):AddItem(dis, 5)
  6110. local hitted = false
  6111. coroutine.resume(coroutine.create(function()
  6112. dis.Touched:connect(function(hit)
  6113. if hitted == false and hit.Parent ~= char then
  6114. hitted = true
  6115. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  6116. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  6117. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  6118. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  6119. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  6120. coroutine.resume(coroutine.create(function()
  6121. for i = 0, 9 do
  6122. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6123. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6124. local at1 = Instance.new("Attachment",disr)
  6125. at1.Position = vt(-2,0,0)
  6126. local at2 = Instance.new("Attachment",disr)
  6127. at2.Position = vt(2,0,0)
  6128. local trl = Instance.new('Trail',disr)
  6129. trl.Attachment0 = at1
  6130. trl.FaceCamera = true
  6131. trl.Attachment1 = at2
  6132. trl.Texture = "rbxassetid://2342682798"
  6133. trl.LightEmission = 1
  6134. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6135. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6136. trl.Lifetime = 0.5
  6137. local bv = Instance.new("BodyVelocity")
  6138. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6139. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6140. bv.Parent = disr
  6141. local val = 0
  6142. coroutine.resume(coroutine.create(function()
  6143. swait(30)
  6144. for i = 0, 9 do
  6145. swait()
  6146. val = val + 0.1
  6147. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6148. end
  6149. game:GetService("Debris"):AddItem(disr, 3)
  6150. end))
  6151. end
  6152. local eff = Instance.new("ParticleEmitter",dis)
  6153. eff.Texture = "rbxassetid://2273224484"
  6154. eff.LightEmission = 1
  6155. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6156. eff.Rate = 500000
  6157. eff.Lifetime = NumberRange.new(0.5,2)
  6158. 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)})
  6159. 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)})
  6160. eff.Speed = NumberRange.new(20,250)
  6161. eff.Drag = 5
  6162. eff.Rotation = NumberRange.new(-500,500)
  6163. eff.VelocitySpread = 9000
  6164. eff.RotSpeed = NumberRange.new(-50,50)
  6165. wait(0.25)
  6166. eff.Enabled = false
  6167. end))
  6168. for i = 0, 9 do
  6169. 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"))
  6170. end
  6171. for i = 0, 19 do
  6172. 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)
  6173. end
  6174. coroutine.resume(coroutine.create(function()
  6175. for i = 0, 19 do
  6176. swait()
  6177. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6178. end
  6179. hum.CameraOffset = vt(0,0,0)
  6180. end))
  6181. dis.Anchored = true
  6182. dis.Transparency = 1
  6183. wait(8)
  6184. dis:Destroy()
  6185. end
  6186. end)
  6187. end))
  6188. rot = rot - 15
  6189. end
  6190. for i = 0,2,0.1 do
  6191. swait()
  6192. 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)
  6193. 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)
  6194. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6195. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  6196. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6197. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6198. end
  6199. attack = false
  6200. hum.WalkSpeed = storehumanoidWS
  6201. end
  6202.  
  6203.  
  6204. function RapidBurst()
  6205. attack = true
  6206. hum.WalkSpeed = 0
  6207. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6208. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  6209. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  6210. bosschatfunc("SHATTER YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,1.8)
  6211. bosschatfunc("SHATTER!?!!!",MAINRUINCOLOR.Color,1.9)
  6212. bosschatfunc("SHATTER!!!!!",MAINRUINCOLOR.Color,2)
  6213. local keptcolor = MAINRUINCOLOR
  6214. for i = 0,8,0.1 do
  6215. swait()
  6216. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6217. 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())
  6218. 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)
  6219. 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)
  6220. 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)
  6221. 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)
  6222. 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)
  6223. 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)
  6224. 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)
  6225. end
  6226. for i = 0, 99 do
  6227. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6228. 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)))
  6229. local at1 = Instance.new("Attachment",dis)
  6230. at1.Position = vt(-25000,0,0)
  6231. local at2 = Instance.new("Attachment",dis)
  6232. at2.Position = vt(25000,0,0)
  6233. local trl = Instance.new('Trail',dis)
  6234. trl.Attachment0 = at1
  6235. trl.FaceCamera = true
  6236. trl.Attachment1 = at2
  6237. trl.Texture = "rbxassetid://1049219073"
  6238. trl.LightEmission = 1
  6239. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6240. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6241. trl.Lifetime = 5
  6242. local bv = Instance.new("BodyVelocity")
  6243. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6244. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6245. bv.Parent = dis
  6246. game:GetService("Debris"):AddItem(dis, 5)
  6247. end
  6248. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6249. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6250. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6251. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6252. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6253. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6254. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6255. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6256. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6257. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6258. hum.CameraOffset = vt(0,0,0)
  6259. for i = 0, 24 do
  6260. 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())
  6261. end
  6262. local distam = 0
  6263. coroutine.resume(coroutine.create(function()
  6264. for i = 0, 99 do
  6265. wait()
  6266. distam = distam + 1
  6267. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6268. xa.Anchored = true
  6269. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6270. game:GetService("Debris"):AddItem(xa, 5)
  6271. for i = 0, 4 do
  6272. 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())
  6273. end
  6274. coroutine.resume(coroutine.create(function()
  6275. local eff = Instance.new("ParticleEmitter",xa)
  6276. eff.Texture = "rbxassetid://2273224484"
  6277. eff.LightEmission = 1
  6278. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6279. eff.Rate = 500000
  6280. eff.Lifetime = NumberRange.new(1,3)
  6281. 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)})
  6282. 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)})
  6283. eff.Speed = NumberRange.new(50,500)
  6284. eff.Drag = 5
  6285. eff.Rotation = NumberRange.new(-500,500)
  6286. eff.VelocitySpread = 9000
  6287. eff.RotSpeed = NumberRange.new(-50,50)
  6288. wait(0.25)
  6289. eff.Enabled = false
  6290. end))
  6291. coroutine.resume(coroutine.create(function()
  6292. for i = 0, 19 do
  6293. swait()
  6294. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6295. end
  6296. hum.CameraOffset = vt(0,0,0)
  6297. end))
  6298. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6299. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6300. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6301. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6302. end
  6303. end))
  6304. attack = false
  6305. hum.WalkSpeed = storehumanoidWS
  6306. end
  6307.  
  6308. function InsaneDrop()
  6309. attack = true
  6310. hum.WalkSpeed = 0
  6311. CFuncs["Sound"].Create("rbxassetid://907329669", char, 2.5, 0.5)
  6312. CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 0.5)
  6313. CFuncs["EchoSound"].Create("rbxassetid://907329669", char, 4, 1,0,10,0.15,0.5,1)
  6314. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,1.8)
  6315. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,1.9)
  6316. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,2)
  6317. local keptcolor = MAINRUINCOLOR
  6318. for i = 0,8,0.1 do
  6319. swait()
  6320. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6321. 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())
  6322. 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)
  6323. 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)
  6324. 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)
  6325. 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)
  6326. 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)
  6327. 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)
  6328. 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)
  6329. end
  6330. for i = 0, 99 do
  6331. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6332. 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)))
  6333. local at1 = Instance.new("Attachment",dis)
  6334. at1.Position = vt(-25000,0,0)
  6335. local at2 = Instance.new("Attachment",dis)
  6336. at2.Position = vt(25000,0,0)
  6337. local trl = Instance.new('Trail',dis)
  6338. trl.Attachment0 = at1
  6339. trl.FaceCamera = true
  6340. trl.Attachment1 = at2
  6341. trl.Texture = "rbxassetid://1049219073"
  6342. trl.LightEmission = 1
  6343. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6344. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6345. trl.Lifetime = 5
  6346. local bv = Instance.new("BodyVelocity")
  6347. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6348. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6349. bv.Parent = dis
  6350. game:GetService("Debris"):AddItem(dis, 5)
  6351. end
  6352. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6353. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6354. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6355. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6356. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6357. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6358. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6359. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6360. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6361. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6362. hum.CameraOffset = vt(0,0,0)
  6363. for i = 0, 24 do
  6364. 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())
  6365. end
  6366. local distam = 0
  6367. coroutine.resume(coroutine.create(function()
  6368. for i = 0, 99 do
  6369. wait()
  6370. distam = distam + 1
  6371. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6372. xa.Anchored = true
  6373. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6374. game:GetService("Debris"):AddItem(xa, 5)
  6375. for i = 0, 4 do
  6376. 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())
  6377. end
  6378. coroutine.resume(coroutine.create(function()
  6379. local eff = Instance.new("ParticleEmitter",xa)
  6380. eff.Texture = "rbxassetid://2273224484"
  6381. eff.LightEmission = 1
  6382. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6383. eff.Rate = 500000
  6384. eff.Lifetime = NumberRange.new(1,3)
  6385. 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)})
  6386. 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)})
  6387. eff.Speed = NumberRange.new(50,500)
  6388. eff.Drag = 5
  6389. eff.Rotation = NumberRange.new(-500,500)
  6390. eff.VelocitySpread = 9000
  6391. eff.RotSpeed = NumberRange.new(-50,50)
  6392. wait(0.25)
  6393. eff.Enabled = false
  6394. end))
  6395. coroutine.resume(coroutine.create(function()
  6396. for i = 0, 19 do
  6397. swait()
  6398. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6399. end
  6400. hum.CameraOffset = vt(0,0,0)
  6401. end))
  6402. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6403. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6404. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6405. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6406. end
  6407. end))
  6408. attack = false
  6409. hum.WalkSpeed = storehumanoidWS
  6410. end
  6411.  
  6412. function FallenOrbs()
  6413. attack = true
  6414. hum.WalkSpeed = 2
  6415. local keptcolor = MAINRUINCOLOR
  6416. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  6417. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  6418. local radm = math.random(1,3)
  6419. if radm == 1 then
  6420. bosschatfunc("This wont be easy to you.",MAINRUINCOLOR.Color,1)
  6421. elseif radm == 2 then
  6422. bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
  6423. elseif radm == 3 then
  6424. bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
  6425. end
  6426. coroutine.resume(coroutine.create(function()
  6427. for i = 0, 29 do
  6428. swait(2)
  6429. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  6430. dis.Anchored = true
  6431. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  6432. dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
  6433. CreateMesh(dis,"Sphere",2,2,2)
  6434. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6435. 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"))
  6436. coroutine.resume(coroutine.create(function()
  6437. wait(0.5)
  6438. dis.Anchored = false
  6439. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 9, 1,0,2,0.15,0.1,1)
  6440. local at1 = Instance.new("Attachment",dis)
  6441. at1.Position = vt(-1,0,0)
  6442. local at2 = Instance.new("Attachment",dis)
  6443. at2.Position = vt(1,0,0)
  6444. local trl = Instance.new('Trail',dis)
  6445. trl.Attachment0 = at1
  6446. trl.FaceCamera = true
  6447. trl.Attachment1 = at2
  6448. trl.Texture = "rbxassetid://1049219073"
  6449. trl.LightEmission = 1
  6450. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6451. trl.Color = ColorSequence.new(dis.Color)
  6452. trl.Lifetime = 0.6
  6453. local a = Instance.new("Part",workspace)
  6454. a.Name = "Direction"
  6455. a.Anchored = true
  6456. a.BrickColor = bc("Bright red")
  6457. a.Material = "Neon"
  6458. a.Transparency = 1
  6459. a.CanCollide = false
  6460. local ray = Ray.new(
  6461. dis.CFrame.p, -- origin
  6462. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6463. )
  6464. local ignore = dis
  6465. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6466. a.BottomSurface = 10
  6467. a.TopSurface = 10
  6468. local distance = (dis.CFrame.p - position).magnitude
  6469. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6470. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6471. dis.CFrame = a.CFrame
  6472. a:Destroy()
  6473. local bv = Instance.new("BodyVelocity")
  6474. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6475. bv.velocity = dis.CFrame.lookVector*500
  6476. bv.Parent = dis
  6477. game:GetService("Debris"):AddItem(dis, 5)
  6478. local hitted = false
  6479. coroutine.resume(coroutine.create(function()
  6480. dis.Touched:connect(function(hit)
  6481. if hitted == false and hit.Parent ~= char then
  6482. hitted = true
  6483. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 5, 0.8,0,10,0.15,0.5,1)
  6484. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  6485. sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
  6486. sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  6487. coroutine.resume(coroutine.create(function()
  6488. for i = 0, 4 do
  6489. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6490. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6491. local at1 = Instance.new("Attachment",disr)
  6492. at1.Position = vt(-10,0,0)
  6493. local at2 = Instance.new("Attachment",disr)
  6494. at2.Position = vt(10,0,0)
  6495. local trl = Instance.new('Trail',disr)
  6496. trl.Attachment0 = at1
  6497. trl.FaceCamera = true
  6498. trl.Attachment1 = at2
  6499. trl.Texture = "rbxassetid://2342682798"
  6500. trl.LightEmission = 1
  6501. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6502. trl.Color = ColorSequence.new(disr.Color)
  6503. trl.Lifetime = 0.5
  6504. local bv = Instance.new("BodyVelocity")
  6505. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6506. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  6507. bv.Parent = disr
  6508. local val = 0
  6509. coroutine.resume(coroutine.create(function()
  6510. swait(30)
  6511. for i = 0, 9 do
  6512. swait()
  6513. val = val + 0.1
  6514. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6515. end
  6516. game:GetService("Debris"):AddItem(disr, 3)
  6517. end))
  6518. end
  6519. local eff = Instance.new("ParticleEmitter",dis)
  6520. eff.Texture = "rbxassetid://1049219073"
  6521. eff.LightEmission = 1
  6522. eff.Color = ColorSequence.new(dis.Color)
  6523. eff.Rate = 500000
  6524. eff.Lifetime = NumberRange.new(0.5,2)
  6525. 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)})
  6526. 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)})
  6527. eff.Speed = NumberRange.new(20,250)
  6528. eff.Drag = 5
  6529. eff.Rotation = NumberRange.new(-500,500)
  6530. eff.VelocitySpread = 9000
  6531. eff.RotSpeed = NumberRange.new(-50,50)
  6532. wait(0.5)
  6533. eff.Enabled = false
  6534. end))
  6535. for i = 0, 4 do
  6536. 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"))
  6537. end
  6538. coroutine.resume(coroutine.create(function()
  6539. for i = 0, 19 do
  6540. swait()
  6541. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6542. end
  6543. hum.CameraOffset = vt(0,0,0)
  6544. end))
  6545. dis.Anchored = true
  6546. dis.Transparency = 1
  6547. wait(8)
  6548. dis:Destroy()
  6549. end
  6550. end)
  6551. end))
  6552. end))
  6553. end
  6554. end))
  6555. for i = 0,9,0.1 do
  6556. swait()
  6557. 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)
  6558. 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)
  6559. 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)
  6560. 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)
  6561. 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)
  6562. 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)
  6563. 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)
  6564. end
  6565. attack = false
  6566. hum.WalkSpeed = storehumanoidWS
  6567. end
  6568.  
  6569. function CyberSlash()
  6570. local posit = -2
  6571. attack = true
  6572. hum.WalkSpeed = 5
  6573. CFuncs["EchoSound"].Create("rbxassetid://1448033920", char, 5, 1,0,10,0.15,0.5,1)
  6574. local radm = math.random(1,3)
  6575. if radm == 1 then
  6576. bosschatfunc("FIBER!!!",MAINRUINCOLOR.Color,1)
  6577. elseif radm == 2 then
  6578. bosschatfunc("SLASHED!!",MAINRUINCOLOR.Color,1)
  6579. elseif radm == 3 then
  6580. bosschatfunc("TAKE MY CLAW!!",MAINRUINCOLOR.Color,1)
  6581. end
  6582. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  6583. for i = 0,2,0.1 do
  6584. swait()
  6585. 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)
  6586. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  6587. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  6588. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6589. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  6590. 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)
  6591. 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)
  6592. end
  6593. for i = 0, 2 do
  6594. CameraEnshaking(1,2)
  6595. local hite = Instance.new("Part", char)
  6596. hite.Anchored = true
  6597. hite.CanCollide = false
  6598. hite.FormFactor = 3
  6599. hite.Name = "Ring"
  6600. hite.Material = "Neon"
  6601. hite.Size = Vector3.new(1, 1, 1)
  6602. hite.Transparency = 1
  6603. hite.TopSurface = 0
  6604. hite.BottomSurface = 0
  6605. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  6606. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  6607. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  6608. coroutine.resume(coroutine.create(function()
  6609. for i = 0, 1 do
  6610. swait()
  6611. 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)
  6612. 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)
  6613. 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)
  6614. end
  6615. end))
  6616. 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)
  6617. MagniDamage(hite, 3, 30,40, 0, "Normal")
  6618. game:GetService("Debris"):AddItem(hite, 5)
  6619. posit = posit + 2
  6620. end
  6621. for i = 0,1,0.1 do
  6622. swait()
  6623. 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)
  6624. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  6625. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  6626. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6627. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  6628. 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)
  6629. 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)
  6630. end
  6631. for i = 0,1,0.1 do
  6632. swait()
  6633. 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)
  6634. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,1)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  6635. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  6636. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  6637. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  6638. 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)
  6639. 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)
  6640. end
  6641. posit = -6
  6642. for i = 0, 6 do
  6643. CameraEnshaking(1,3)
  6644. local hite = Instance.new("Part", char)
  6645. hite.Anchored = true
  6646. hite.CanCollide = false
  6647. hite.FormFactor = 3
  6648. hite.Name = "Ring"
  6649. hite.Material = "Neon"
  6650. hite.Size = Vector3.new(1, 1, 1)
  6651. hite.Transparency = 1
  6652. hite.TopSurface = 0
  6653. hite.BottomSurface = 0
  6654. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  6655. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  6656. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  6657. 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)
  6658. coroutine.resume(coroutine.create(function()
  6659. for i = 0, 2 do
  6660. swait()
  6661. 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)
  6662. 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)
  6663. 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)
  6664. end
  6665. end))
  6666. MagniDamage(hite, 5, 40,70, 0, "Normal")
  6667. game:GetService("Debris"):AddItem(hite, 5)
  6668. posit = posit + 2
  6669. end
  6670. for i = 0,1,0.1 do
  6671. swait()
  6672. 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)
  6673. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  6674. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  6675. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  6676. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  6677. 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)
  6678. 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)
  6679. end
  6680. hum.WalkSpeed = storehumanoidWS
  6681. attack = false
  6682. end
  6683.  
  6684. function EquinoxOrbs()
  6685. hum.WalkSpeed = 0
  6686. attack = true
  6687. local radm = math.random(1,3)
  6688. if radm == 1 then
  6689. bosschatfunc("NOX-DASH!!!",MAINRUINCOLOR.Color,1)
  6690. elseif radm == 2 then
  6691. bosschatfunc("Beware from behind",MAINRUINCOLOR.Color,1)
  6692. elseif radm == 3 then
  6693. bosschatfunc("I'M COMING!!",MAINRUINCOLOR.Color,1)
  6694. end
  6695. for i = 0,1,0.1 do
  6696. swait()
  6697. 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)
  6698. 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)
  6699. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6700. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6701. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6702. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6703. end
  6704. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6705. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6706. for i = 0, 24 do
  6707. 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"))
  6708. end
  6709. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6710. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6711. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6712. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6713. for i = 0,4,0.1 do
  6714. swait()
  6715. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  6716. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  6717. CreateMesh(dis,"Sphere",1,1,1)
  6718. dis.Anchored = true
  6719. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  6720. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  6721. CreateMesh(dis2,"Sphere",1,1,1)
  6722. dis2.Anchored = true
  6723. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  6724. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6725. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  6726. coroutine.resume(coroutine.create(function()
  6727. swait(60)
  6728. dis.Transparency = 1
  6729. dis2.Transparency = 1
  6730. coroutine.resume(coroutine.create(function()
  6731. for i = 0, 19 do
  6732. swait()
  6733. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  6734. end
  6735. hum.CameraOffset = vt(0,0,0)
  6736. end))
  6737. coroutine.resume(coroutine.create(function()
  6738. local eff = Instance.new("ParticleEmitter",dis)
  6739. eff.Texture = "rbxassetid://2273224484"
  6740. eff.LightEmission = 1
  6741. eff.Color = ColorSequence.new(dis.Color)
  6742. eff.Rate = 500000
  6743. eff.Lifetime = NumberRange.new(0.5,2)
  6744. 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)})
  6745. 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)})
  6746. eff.Speed = NumberRange.new(50,450)
  6747. eff.Drag = 5
  6748. eff.Rotation = NumberRange.new(-500,500)
  6749. eff.VelocitySpread = 9000
  6750. eff.RotSpeed = NumberRange.new(-50,50)
  6751. local eff2 = eff:Clone()
  6752. eff2.Parent = dis2
  6753. eff2.LightEmission = 0
  6754. eff2.Color = ColorSequence.new(dis2.Color)
  6755. wait(0.25)
  6756. eff.Enabled = false
  6757. eff2.Enabled = false
  6758. end))
  6759. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  6760. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  6761. for i = 0, 2 do
  6762. 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)
  6763. 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)
  6764. end
  6765. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  6766. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  6767. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  6768. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  6769. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  6770. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  6771. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  6772. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  6773. end))
  6774. game:GetService("Debris"):AddItem(dis, 5)
  6775. game:GetService("Debris"):AddItem(dis2, 5)
  6776. 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)
  6777. 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)
  6778. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6779. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6780. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  6781. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  6782. end
  6783. attack = false
  6784. hum.WalkSpeed = storehumanoidWS
  6785. end
  6786. function FallenDEMISE()
  6787. attack = true
  6788. hum.WalkSpeed = 0
  6789. local keptcolor = MAINRUINCOLOR
  6790. bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
  6791. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  6792. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  6793. for i = 0, 15, 0.1 do
  6794. swait()
  6795. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6796. 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)))
  6797. local at1 = Instance.new("Attachment",dis)
  6798. at1.Position = vt(-25000,0,0)
  6799. local at2 = Instance.new("Attachment",dis)
  6800. at2.Position = vt(25000,0,0)
  6801. local trl = Instance.new('Trail',dis)
  6802. trl.Attachment0 = at1
  6803. trl.FaceCamera = true
  6804. trl.Attachment1 = at2
  6805. trl.Texture = "rbxassetid://1049219073"
  6806. trl.LightEmission = 1
  6807. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6808. trl.Color = ColorSequence.new(dis.Color)
  6809. trl.Lifetime = 5
  6810. local bv = Instance.new("BodyVelocity")
  6811. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6812. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6813. bv.Parent = dis
  6814. game:GetService("Debris"):AddItem(dis, 1)
  6815. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  6816. 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"))
  6817. 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"))
  6818. 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)
  6819. 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)
  6820. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6821. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6822. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6823. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6824. end
  6825. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  6826. for i = 0, 30, 0.1 do
  6827. swait()
  6828. coroutine.resume(coroutine.create(function()
  6829. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  6830. if v:FindFirstChild('Head') then
  6831. dmg(v)
  6832. end
  6833. end
  6834. end))
  6835. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6836. 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)))
  6837. local at1 = Instance.new("Attachment",dis)
  6838. at1.Position = vt(-50000,0,0)
  6839. local at2 = Instance.new("Attachment",dis)
  6840. at2.Position = vt(50000,0,0)
  6841. local trl = Instance.new('Trail',dis)
  6842. trl.Attachment0 = at1
  6843. trl.FaceCamera = true
  6844. trl.Attachment1 = at2
  6845. trl.Texture = "rbxassetid://1049219073"
  6846. trl.LightEmission = 1
  6847. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6848. trl.Color = ColorSequence.new(dis.Color)
  6849. trl.Lifetime = 10
  6850. local bv = Instance.new("BodyVelocity")
  6851. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6852. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  6853. bv.Parent = dis
  6854. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  6855. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  6856. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  6857. 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"))
  6858. 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"))
  6859. 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"))
  6860. 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"))
  6861. for i = 0, 2 do
  6862. 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)
  6863. end
  6864. 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)
  6865. 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)
  6866. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6867. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6868. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6869. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6870. end
  6871. attack = false
  6872. hum.WalkSpeed = storehumanoidWS
  6873. end
  6874.  
  6875. function SpeedDrop()
  6876. attack = true
  6877. hum.WalkSpeed = 0
  6878. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  6879. local poste = 3
  6880. local rotation = 0
  6881. local rate = 0
  6882. bosschatfunc("AUFHHIGYBIBYHHIHIGHGI",MAINRUINCOLOR.Color,2)
  6883. for i = 0, 124 do
  6884. swait()
  6885. rotation = rotation + rate
  6886. poste = poste + 0.1
  6887. rate = rate + 0.1
  6888. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  6889. 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)
  6890. 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)
  6891. 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)
  6892. 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)
  6893. 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)
  6894. 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)
  6895. 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)
  6896. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  6897. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  6898. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  6899. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  6900. end
  6901. CameraEnshaking(3,7)
  6902. bosschatfunc("AN ERROR HAS OCCURED",MAINRUINCOLOR.Color,2)
  6903. local loc = Instance.new("Part", char)
  6904. loc.BrickColor = MAINRUINCOLOR
  6905. loc.CanCollide = false
  6906. loc.FormFactor = 3
  6907. loc.Name = "Ring"
  6908. loc.Material = "Neon"
  6909. loc.Size = Vector3.new(1, 1, 1)
  6910. loc.Transparency = 1
  6911. loc.TopSurface = 0
  6912. loc.BottomSurface = 0
  6913. loc.Anchored = true
  6914. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  6915. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  6916. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  6917. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  6918. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  6919. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6920. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6921. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6922. coroutine.resume(coroutine.create(function()
  6923. local eff = Instance.new("ParticleEmitter",loc)
  6924. eff.Texture = "rbxassetid://363275192"
  6925. eff.LightEmission = 0.95
  6926. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6927. eff.Rate = 10000
  6928. eff.Lifetime = NumberRange.new(1)
  6929. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  6930. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6931. eff.Speed = NumberRange.new(100,500)
  6932. eff.Drag = 5
  6933. eff.Rotation = NumberRange.new(-500,500)
  6934. eff.VelocitySpread = 9000
  6935. eff.RotSpeed = NumberRange.new(-50,50)
  6936. wait(0.5)
  6937. eff.Enabled = false
  6938. end))
  6939. for i = 0, 49 do
  6940. 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)
  6941. end
  6942. for i = 0, 9 do
  6943. 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)
  6944. end
  6945. game:GetService("Debris"):AddItem(loc, 5)
  6946. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  6947. hum.WalkSpeed = storehumanoidWS
  6948. attack = false
  6949. end
  6950.  
  6951. function cutesigh()
  6952. attack = true
  6953. hum.WalkSpeed = 0
  6954. bosschatfunc("sigh~~",MAINRUINCOLOR.Color,2)
  6955. local blush = Instance.new("Decal",hed)
  6956. blush.Texture = "rbxassetid://898404027"
  6957. blush.Face = "Front"
  6958. CFuncs["Sound"].Create("rbxassetid://294861193", char, 9,1)
  6959. for i = 0, 9, 0.1 do
  6960. swait()
  6961. 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)
  6962. 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)
  6963. 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)
  6964. 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)
  6965. 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)
  6966. 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)
  6967. end
  6968. coroutine.resume(coroutine.create(function()
  6969. for i = 0, 49 do
  6970. swait()
  6971. blush.Transparency = blush.Transparency + 0.02
  6972. end
  6973. blush:Destroy()
  6974. end))
  6975. hum.WalkSpeed = storehumanoidWS
  6976. attack = false
  6977. end
  6978.  
  6979. function smiter()
  6980. local targetted = nil
  6981. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  6982. targetted = mouse.Target.Parent
  6983. end
  6984. if targetted ~= nil then
  6985. RootPart.CFrame = FaceMouse()[1]
  6986. attack = true
  6987. local radm = math.random(1,3)
  6988. if radm == 1 then
  6989. bosschatfunc("SMITED!!",MAINRUINCOLOR.Color,1)
  6990. elseif radm == 2 then
  6991. bosschatfunc("FROM ABOVE!!",MAINRUINCOLOR.Color,1)
  6992. elseif radm == 3 then
  6993. bosschatfunc("LOOK UP!!",MAINRUINCOLOR.Color,1)
  6994. end
  6995. hum.WalkSpeed = 0
  6996. coroutine.resume(coroutine.create(function()
  6997. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  6998. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  6999. local vel = Instance.new("BodyPosition", targetted.Head)
  7000. vel.P = 12500
  7001. vel.D = 1000
  7002. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7003. vel.position = targetted.Head.CFrame.p
  7004. end))
  7005. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  7006. CFuncs["EchoSound"].Create("rbxassetid://1436242685", char, 4, 1,0,10,0.15,0.5,1)
  7007. CFuncs["EchoSound"].Create("rbxassetid://1436242685", root, 60, 1,0,10,0.15,0.5,1)
  7008. for i = 0,4,0.1 do
  7009. swait()
  7010. sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.125,-0.01,MAINRUINCOLOR)
  7011. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  7012. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  7013. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  7014. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7015. RH.C0=clerp(RH.C0,cf(1,-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)
  7016. 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)
  7017. end
  7018. coroutine.resume(coroutine.create(function()
  7019. CameraEnshaking(6,5)
  7020. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  7021. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  7022. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  7023. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  7024. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7025. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7026. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7027. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7028. coroutine.resume(coroutine.create(function()
  7029. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7030. eff.Texture = "rbxassetid://2273224484"
  7031. eff.LightEmission = 1
  7032. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  7033. eff.Rate = 500000
  7034. eff.Lifetime = NumberRange.new(0.5,2)
  7035. 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)})
  7036. 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)})
  7037. eff.Speed = NumberRange.new(20,250)
  7038. eff.Drag = 5
  7039. eff.Rotation = NumberRange.new(-500,500)
  7040. eff.VelocitySpread = 9000
  7041. eff.RotSpeed = NumberRange.new(-50,50)
  7042. wait(0.25)
  7043. eff.Enabled = false
  7044. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7045. eff.Texture = "rbxassetid://363275192"
  7046. eff.LightEmission = 0.95
  7047. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7048. eff.Rate = 10000
  7049. eff.Lifetime = NumberRange.new(1.5)
  7050. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  7051. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7052. eff.Speed = NumberRange.new(25,150)
  7053. eff.Drag = 5
  7054. eff.Rotation = NumberRange.new(-500,500)
  7055. eff.VelocitySpread = 9000
  7056. eff.RotSpeed = NumberRange.new(-50,50)
  7057. local eff2 = eff:Clone()
  7058. eff2.Parent = targetted.Head
  7059. eff2.Texture = "rbxassetid://284205403"
  7060. eff2.Rate = 10000
  7061. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7062. eff2.Drag = 5
  7063. eff2.Rotation = NumberRange.new(-500,500)
  7064. eff2.VelocitySpread = 9000
  7065. wait(0.5)
  7066. eff2.Enabled = false
  7067. eff.Enabled = false
  7068. end))
  7069. for i = 0, 9 do
  7070. 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)
  7071. end
  7072. for i = 0, 49 do
  7073. local rsiz = math.random(10,50)
  7074. 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)
  7075. end
  7076. game:GetService("Debris"):AddItem(vel,1)
  7077. dmg(targetted)
  7078. end))
  7079. for i = 0,1,0.1 do
  7080. swait()
  7081. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  7082. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  7083. 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)
  7084. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7085. 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)
  7086. 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)
  7087. end
  7088. attack = false
  7089. hum.WalkSpeed = storehumanoidWS
  7090. end
  7091. end
  7092.  
  7093. function shytaunty()
  7094. attack = true
  7095. hum.WalkSpeed = 0
  7096. CFuncs["Sound"].Create("rbxassetid://543623779", char, 1, 1)
  7097. local blush = Instance.new("Decal",hed)
  7098. blush.Texture = "rbxassetid://898404027"
  7099. blush.Face = "Front"
  7100. for i = 0, 13, 0.1 do
  7101. swait()
  7102. 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)
  7103. 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)
  7104. 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)
  7105. 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)
  7106. 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)
  7107. 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)
  7108. end
  7109. coroutine.resume(coroutine.create(function()
  7110. for i = 0, 49 do
  7111. swait()
  7112. blush.Transparency = blush.Transparency + 0.02
  7113. end
  7114. blush:Destroy()
  7115. end))
  7116. hum.WalkSpeed = storehumanoidWS
  7117. attack = false
  7118. end
  7119.  
  7120. function PureBomb()
  7121. attack = true
  7122. CFuncs["EchoSound"].Create("rbxassetid://1436241485", char, 5, 1,0,10,0.15,0.5,1)
  7123. CFuncs["EchoSound"].Create("rbxassetid://1436241485", root, 60, 1,0,10,0.15,0.5,1)
  7124. bosschatfunc("Purified..",MAINRUINCOLOR.Color,2)
  7125. local orb = Instance.new("Part", char)
  7126. orb.Anchored = true
  7127. orb.BrickColor = BrickColor.new("Toothpaste")
  7128. orb.CanCollide = false
  7129. orb.FormFactor = 3
  7130. orb.Name = "Ring"
  7131. orb.Material = "Neon"
  7132. orb.Size = Vector3.new(1, 1, 1)
  7133. orb.Transparency = 0
  7134. orb.TopSurface = 0
  7135. orb.BottomSurface = 0
  7136. local orbm = Instance.new("SpecialMesh", orb)
  7137. orbm.MeshType = "Sphere"
  7138. orbm.Name = "SizeMesh"
  7139. orbm.Scale = vt(0,0,0)
  7140. local scaled = 0.1
  7141. local posid = 0
  7142. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 30,1)
  7143. for i = 0, 5, 0.1 do
  7144. swait()
  7145. scaled = scaled - 0.001
  7146. posid = posid - scaled
  7147. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7148. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  7149. 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)
  7150. 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)
  7151. 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)
  7152. 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)
  7153. 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)
  7154. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7155. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  7156. 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)
  7157. end
  7158. for i = 0, 2, 0.1 do
  7159. swait()
  7160. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7161. 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)
  7162. 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)
  7163. 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)
  7164. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  7165. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  7166. 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)
  7167. end
  7168. CFuncs["EchoSound"].Create("rbxassetid://1436240026", char, 4, 1,0,10,0.15,0.5,1)
  7169. CFuncs["EchoSound"].Create("rbxassetid://1436240026", root, 60, 1,0,10,0.15,0.5,1)
  7170. bosschatfunc("BOMB!!",MAINRUINCOLOR.Color,2)
  7171. coroutine.resume(coroutine.create(function()
  7172. orb.Anchored = false
  7173. CFuncs["Sound"].Create("rbxassetid://260433768", root, 555,1)
  7174. local a = Instance.new("Part",workspace)
  7175. a.Name = "Direction"
  7176. a.Anchored = true
  7177. a.BrickColor = bc("Bright red")
  7178. a.Material = "Neon"
  7179. a.Transparency = 1
  7180. a.CanCollide = false
  7181. local ray = Ray.new(
  7182. orb.CFrame.p, -- origin
  7183. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7184. )
  7185. local ignore = orb
  7186. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7187. a.BottomSurface = 10
  7188. a.TopSurface = 10
  7189. local distance = (orb.CFrame.p - position).magnitude
  7190. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7191. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  7192. orb.CFrame = a.CFrame
  7193. a:Destroy()
  7194. local bv = Instance.new("BodyVelocity")
  7195. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7196. bv.velocity = orb.CFrame.lookVector*125
  7197. bv.Parent = orb
  7198. local hitted = false
  7199. game:GetService("Debris"):AddItem(orb, 15)
  7200. wait()
  7201. local hit =orb.Touched:connect(function(hit)
  7202. if hitted == false then
  7203. hitted = true
  7204. CameraEnshaking(10,2.5)
  7205. MagniDamage(orb, 65, 65,90, 0, "Normal")
  7206. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  7207. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  7208. for i = 0, 49 do
  7209. 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)
  7210. end
  7211. local eff = Instance.new("ParticleEmitter",orb)
  7212. eff.Texture = "rbxassetid://2273224484"
  7213. eff.LightEmission = 1
  7214. eff.Color = ColorSequence.new(Color3.new(4/255,175/255,236/255))
  7215. eff.Rate = 500000
  7216. eff.Lifetime = NumberRange.new(0.5,2)
  7217. 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)})
  7218. 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)})
  7219. eff.Speed = NumberRange.new(20,250)
  7220. eff.Drag = 5
  7221. eff.Rotation = NumberRange.new(-500,500)
  7222. eff.VelocitySpread = 9000
  7223. eff.RotSpeed = NumberRange.new(-50,50)
  7224. coroutine.resume(coroutine.create(function()
  7225. wait(0.25)
  7226. eff.Enabled = false
  7227. end))
  7228. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  7229. for i = 0, 9 do
  7230. 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)
  7231. 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)
  7232. end
  7233. orb.Anchored = true
  7234. orb.Transparency = 1
  7235. local eff = Instance.new("ParticleEmitter",orb)
  7236. eff.Texture = "rbxassetid://2273224484"
  7237. eff.LightEmission = 1
  7238. eff.Color = ColorSequence.new(Color3.new(M))
  7239. eff.Rate = 500000
  7240. eff.Lifetime = NumberRange.new(0.5,2)
  7241. 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)})
  7242. 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)})
  7243. eff.Speed = NumberRange.new(20,250)
  7244. eff.Drag = 5
  7245. eff.Rotation = NumberRange.new(-500,500)
  7246. eff.VelocitySpread = 9000
  7247. eff.RotSpeed = NumberRange.new(-50,50)
  7248. coroutine.resume(coroutine.create(function()
  7249. wait(1)
  7250. eff.Enabled = false
  7251. end))
  7252. wait(8)
  7253. orb:Destroy()
  7254. end
  7255. end)
  7256. end))
  7257. for i = 0, 1, 0.1 do
  7258. swait()
  7259. 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)
  7260. 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)
  7261. 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)
  7262. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  7263. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  7264. 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)
  7265. end
  7266. attack = false
  7267. end
  7268.  
  7269.  
  7270. function BeamOfDeath()
  7271. coroutine.resume(coroutine.create(function()
  7272. attack = true
  7273. hum.WalkSpeed = 0
  7274. for i = 0, 11, 0.1 do
  7275. swait()
  7276. 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)
  7277. 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)
  7278. 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)
  7279. 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)
  7280. 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)
  7281. 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)
  7282. end
  7283. for i = 0, 1, 0.1 do
  7284. swait()
  7285. 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)
  7286. 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)
  7287. 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)
  7288. 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)
  7289. 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)
  7290. 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)
  7291. end
  7292. hum.WalkSpeed = storehumanoidWS
  7293. attack = false
  7294. end))
  7295. CFuncs["Sound"].Create("rbxassetid://430315987", char, 5, 1,0,10,0.10,0.25,1)
  7296. local radm = math.random(1,3)
  7297. if radm == 1 then
  7298. bosschatfunc("YAHHHH!!!",MAINRUINCOLOR.Color,1)
  7299. elseif radm == 2 then
  7300. bosschatfunc("TAKE THAT!!",MAINRUINCOLOR.Color,1)
  7301. elseif radm == 3 then
  7302. bosschatfunc("CONSUMED!!!",MAINRUINCOLOR.Color,1)
  7303. end
  7304. local keptcolor = MAINRUINCOLOR
  7305. local orb = Instance.new("Part", char)
  7306. orb.BrickColor = keptcolor
  7307. orb.CanCollide = false
  7308. orb.FormFactor = 3
  7309. orb.Name = "Ring"
  7310. orb.Material = "Neon"
  7311. orb.Size = Vector3.new(1, 1, 1)
  7312. orb.Transparency = 1
  7313. orb.TopSurface = 0
  7314. orb.BottomSurface = 0
  7315. local orbm = Instance.new("SpecialMesh", orb)
  7316. orbm.MeshType = "Sphere"
  7317. orbm.Name = "SizeMesh"
  7318. orbm.Scale = vt(22.5,10000,22.5)
  7319. orb.CFrame = mouse.Hit
  7320. orb.Anchored = true
  7321. orb.Orientation = vt(0,0,0)
  7322. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  7323. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 0.5, 1.2)
  7324. coroutine.resume(coroutine.create(function()
  7325. coroutine.resume(coroutine.create(function()
  7326. for i = 0, 175 do
  7327. swait()
  7328. orbm.Scale = orbm.Scale - vt(0.1,0,0.1)
  7329. orb.Transparency = orb.Transparency - 0.005
  7330. end
  7331. end))
  7332. wait(2)
  7333. coroutine.resume(coroutine.create(function()
  7334. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  7335. if hfr ~= nil then
  7336. for i = 0, 24.5 do
  7337. local deb = Instance.new("Part", char)
  7338. deb.Anchored = true
  7339. deb.CanCollide = false
  7340. deb.FormFactor = 3
  7341. deb.Name = "Ring"
  7342. deb.Material = hitfloor.Material
  7343. deb.Color = hitfloor.Color
  7344. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  7345. deb.Transparency = 0
  7346. deb.TopSurface = 0
  7347. deb.BottomSurface = 0
  7348. 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)))
  7349. local deb2 = Instance.new("Part", char)
  7350. deb2.CanCollide = false
  7351. deb2.FormFactor = 3
  7352. deb2.Name = "Ring"
  7353. deb2.Material = hitfloor.Material
  7354. deb2.Color = hitfloor.Color
  7355. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  7356. deb2.Transparency = 0
  7357. deb2.TopSurface = 0
  7358. deb2.BottomSurface = 0
  7359. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  7360. 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)))
  7361. local eff = Instance.new("ParticleEmitter",deb)
  7362. eff.Texture = "rbxassetid://363275192"
  7363. eff.LightEmission = 0.95
  7364. eff.Color = ColorSequence.new(keptcolor.Color)
  7365. eff.Rate = 100
  7366. eff.Lifetime = NumberRange.new(1)
  7367. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  7368. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7369. eff.Speed = NumberRange.new(0,5)
  7370. eff.Rotation = NumberRange.new(-500,500)
  7371. eff.VelocitySpread = 9000
  7372. eff.RotSpeed = NumberRange.new(-10,10)
  7373. local at1 = Instance.new('Attachment',deb2)
  7374. at1.Position = vt(0,15,0)
  7375. local at2 = Instance.new('Attachment',deb2)
  7376. at2.Position = vt(0,-15,0)
  7377. local tl = Instance.new('Trail',deb2)
  7378. tl.Attachment0 = at1
  7379. tl.Attachment1 = at2
  7380. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7381. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  7382. tl.Lifetime = 1
  7383. game:GetService("Debris"):AddItem(deb,30)
  7384. game:GetService("Debris"):AddItem(deb2,30)
  7385. coroutine.resume(coroutine.create(function()
  7386. wait(15)
  7387. eff.Enabled = false
  7388. for i = 0, 49 do
  7389. swait()
  7390. deb.Transparency = deb.Transparency + 0.02
  7391. end
  7392. wait(1)
  7393. deb:Destroy()
  7394. end))
  7395. end
  7396. end
  7397. end))
  7398. for i = 0, 199 do
  7399. swait(1.5)
  7400. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  7401. if v:FindFirstChild('Head') then
  7402. dmg(v)
  7403. end
  7404. end
  7405. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  7406. 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)
  7407. 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)
  7408. 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)
  7409. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  7410. end
  7411. orb:Destroy()
  7412. end))
  7413. end
  7414.  
  7415. function Beams()
  7416. attack = true
  7417. hum.WalkSpeed = 0
  7418. CFuncs["EchoSound"].Create("rbxassetid://1436242274", char, 8, 1,0,10,0.15,0.5,1)
  7419. CFuncs["EchoSound"].Create("rbxassetid://1436242274", root, 60, 1,0,10,0.15,0.5,1)
  7420. bosschatfunc("You'll gone..",MAINRUINCOLOR.Color,2)
  7421. local keptcolor = MAINRUINCOLOR
  7422. coroutine.resume(coroutine.create(function()
  7423. for i = 0, 96 do
  7424. swait(5)
  7425. local orb = Instance.new("Part", char)
  7426. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  7427. orb.BrickColor = keptcolor
  7428. orb.CanCollide = false
  7429. orb.FormFactor = 3
  7430. orb.Name = "Ring"
  7431. orb.Material = "Neon"
  7432. orb.Size = Vector3.new(1, 1, 1)
  7433. orb.Transparency = 0
  7434. orb.TopSurface = 0
  7435. orb.BottomSurface = 0
  7436. orb.Anchored = true
  7437. local orbm = Instance.new("SpecialMesh", orb)
  7438. orbm.MeshType = "Sphere"
  7439. orbm.Name = "SizeMesh"
  7440. orbm.Scale = vt(1.25,1.25,1.25)
  7441. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  7442. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7443. coroutine.resume(coroutine.create(function()
  7444. wait(0.5)
  7445. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  7446. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7447. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7448. orb.Transparency = 1
  7449. local a = Instance.new("Part",char)
  7450. a.Name = "Direction"
  7451. a.Anchored = true
  7452. a.BrickColor = keptcolor
  7453. a.Material = "Neon"
  7454. a.Transparency = 0.25
  7455. a.Shape = "Cylinder"
  7456. local ht = Instance.new("Part",char)
  7457. ht.Name = "DirectionHit"
  7458. ht.Anchored = true
  7459. ht.BrickColor = keptcolor
  7460. ht.CanCollide = false
  7461. ht.Transparency = 1
  7462. ht.Size = vt(0.1,0.1,0.1)
  7463. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.6)
  7464. a.CanCollide = false
  7465. local ray = Ray.new(
  7466. orb.CFrame.p, -- origin
  7467. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7468. )
  7469. local ignore = char
  7470. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7471. a.BottomSurface = 10
  7472. a.TopSurface = 10
  7473. local distance = (orb.CFrame.p - position).magnitude
  7474. a.Size = Vector3.new(distance,1,1)
  7475. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7476. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7477. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7478. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7479. MagniDamage(ht, 9, 30,60, 0, "Normal")
  7480. coroutine.resume(coroutine.create(function()
  7481. local eff = Instance.new("ParticleEmitter",ht)
  7482. eff.Texture = "rbxassetid://284205403"
  7483. eff.LightEmission = 0.95
  7484. eff.Color = ColorSequence.new(keptcolor.Color)
  7485. eff.Rate = 500
  7486. eff.Lifetime = NumberRange.new(0.5)
  7487. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7488. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7489. eff.Speed = NumberRange.new(10,50)
  7490. eff.Drag = 5
  7491. eff.Rotation = NumberRange.new(-500,500)
  7492. eff.VelocitySpread = 9000
  7493. eff.RotSpeed = NumberRange.new(-500,500)
  7494. wait(0.25)
  7495. eff.Enabled = false
  7496. end))
  7497. for i = 0, 4 do
  7498. 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)
  7499. 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)
  7500. local rsiz = math.random(10,30)
  7501. 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)
  7502. end
  7503. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7504. local msh = Instance.new("SpecialMesh",a)
  7505. msh.MeshType = "Cylinder"
  7506. msh.Scale = vt(1,1,1)
  7507. for i = 0, 49 do
  7508. swait()
  7509. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  7510. a.Transparency = a.Transparency + 0.02
  7511. end
  7512. orb:Destroy()
  7513. a:Destroy()
  7514. ht:Destroy()
  7515. end))
  7516. game:GetService("Debris"):AddItem(orb, 10)
  7517. end
  7518. end))
  7519. for i = 0,6,0.1 do
  7520. swait()
  7521. 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)
  7522. 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)
  7523. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  7524. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  7525. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  7526. 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)
  7527. 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)
  7528. end
  7529. hum.WalkSpeed = storehumanoidWS
  7530. attack = false
  7531. end
  7532.  
  7533. function CalamityTrans()
  7534. attack = true
  7535. rainbowmode = false
  7536. chaosmode = false
  7537. ModeOfGlitch = 8889
  7538. hum.WalkSpeed = 0
  7539. newThemeCust("rbxassetid://723652641",0,1,1.25)
  7540. local elocacenter = CreateParta(root,1,1,"SmoothPlastic",BrickColor.random())
  7541. elocacenter.Anchored = true
  7542. elocacenter.CFrame = root.CFrame
  7543. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7544. eloca1.Anchored = true
  7545. eloca1.CFrame = elocacenter.CFrame
  7546. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7547. eloca2.Anchored = true
  7548. eloca2.CFrame = elocacenter.CFrame
  7549. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7550. eloca3.Anchored = true
  7551. eloca3.CFrame = elocacenter.CFrame
  7552. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7553. eloca4.Anchored = true
  7554. eloca4.CFrame = elocacenter.CFrame
  7555. local lookavec = 0
  7556. local speeds = 0
  7557. CameraEnshaking(3,2.5)
  7558. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7559. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7560. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7561. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7562. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7563. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7564. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 10, 1)
  7565. for i = 0, 5, 0.1 do
  7566. swait()
  7567. ---
  7568. lookavec = lookavec + 1
  7569. speeds = speeds + 10
  7570. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7571. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7572. 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)
  7573. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7574. 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)
  7575. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7576. 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)
  7577. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7578. 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)
  7579. ---
  7580. 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)
  7581. 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)
  7582. 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)
  7583. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7584. 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)
  7585. 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)
  7586. end
  7587. for i = 0, 5, 0.1 do
  7588. swait()
  7589. ---
  7590. speeds = speeds + 10
  7591. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7592. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7593. 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)
  7594. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7595. 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)
  7596. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7597. 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)
  7598. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7599. 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)
  7600. ---
  7601. 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)
  7602. 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)
  7603. 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)
  7604. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7605. 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)
  7606. 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)
  7607. end
  7608. MAINRUINCOLOR = BrickColor.new("Bright violet")
  7609. CFuncs["Sound"].Create("rbxassetid://468991944", eloca1, 5, 1)
  7610. CFuncs["Sound"].Create("rbxassetid://468991944", eloca2, 5, 1)
  7611. CFuncs["Sound"].Create("rbxassetid://468991944", eloca3, 5, 1)
  7612. CFuncs["Sound"].Create("rbxassetid://468991944", eloca4, 5, 1)
  7613. CameraEnshaking(1,3)
  7614. for i = 0, 24 do
  7615. 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)
  7616. 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)
  7617. 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)
  7618. 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)
  7619. end
  7620. sphere(1,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7621. sphere(2,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7622. sphere(3,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7623. sphere(1,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7624. sphere(2,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7625. sphere(3,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7626. sphere(1,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7627. sphere(2,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7628. sphere(3,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7629. sphere(1,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7630. sphere(2,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7631. sphere(3,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7632. for i = 0, 5, 0.1 do
  7633. swait()
  7634. ---
  7635. lookavec = lookavec - 1
  7636. speeds = speeds + 10
  7637. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7638. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7639. 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)
  7640. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7641. 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)
  7642. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7643. 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)
  7644. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7645. 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)
  7646. ---
  7647. 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)
  7648. 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)
  7649. 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)
  7650. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7651. 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)
  7652. 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)
  7653. end
  7654. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7655. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7656. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7657. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7658. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7659. for i = 0, 49 do
  7660. 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)
  7661. 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)
  7662. end
  7663. CameraEnshaking(5,6)
  7664. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7665. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  7666. CFuncs["Sound"].Create("rbxassetid://741272936", root, 5, 1)
  7667. CFuncs["Sound"].Create("rbxassetid://164881112", root, 5, 1)
  7668. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 5, 1)
  7669. CFuncs["Sound"].Create("rbxassetid://429123896", root, 5, 0.85)
  7670. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 5, 1)
  7671. storehumanoidWS = 100
  7672. hum.WalkSpeed = 100
  7673. rainbowmode = false
  7674. chaosmode = false
  7675. tl1.Enabled = true
  7676. tl2.Enabled = true
  7677. tl3.Enabled = true
  7678. RecolorTextAndRename("Galactical Guest",Color3.new(10,1,1),Color3.new(0.5,0,1),"Code")
  7679. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7680. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7681. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7682. for i, v in pairs(mw2:GetChildren()) do
  7683. if v:IsA("Part") then
  7684. v.BrickColor = MAINRUINCOLOR
  7685. v.Material = "Neon"
  7686. end
  7687. end
  7688. for i, v in pairs(mw1:GetChildren()) do
  7689. if v:IsA("Part") then
  7690. v.Transparency = 0
  7691. v.BrickColor = MAINRUINCOLOR
  7692. v.Material = "Neon"
  7693. end
  7694. end
  7695. for i, v in pairs(m:GetChildren()) do
  7696. if v:IsA("Part") then
  7697. v.Color = Color3.new(0.5,0,1)
  7698. v.Material = "Neon"
  7699. end
  7700. end
  7701. for i, v in pairs(m2:GetChildren()) do
  7702. if v:IsA("Part") then
  7703. v.Color = Color3.new(0.25,0,1)
  7704. v.Material = "Neon"
  7705. end
  7706. end
  7707. for i, v in pairs(m3:GetChildren()) do
  7708. if v:IsA("Part") then
  7709. v.Color = Color3.new(0.45,0,1)
  7710. v.Material = "Neon"
  7711. end
  7712. end
  7713. for i, v in pairs(extrawingmod1:GetChildren()) do
  7714. if v:IsA("Part") then
  7715. v.Transparency = 0.75
  7716. v.Color = Color3.new(0.25,0,1)
  7717. v.Material = "Neon"
  7718. end
  7719. end
  7720. for i, v in pairs(extrawingmod2:GetChildren()) do
  7721. if v:IsA("Part") then
  7722. v.Transparency = 0.75
  7723. v.Color = Color3.new(0.5,0,1)
  7724. v.Material = "Neon"
  7725. end
  7726. end
  7727. attack = false
  7728. end
  7729.  
  7730. function InsaneTrans()
  7731. attack = true
  7732. rainbowmode = false
  7733. chaosmode = false
  7734. ModeOfGlitch = 8889
  7735. hum.WalkSpeed = 0
  7736. newThemeCust("rbxassetid://723652641",1,1,10)
  7737. local elocacenter = CreateParta(root,1,1,"SmoothPlastic",BrickColor.random())
  7738. elocacenter.Anchored = true
  7739. elocacenter.CFrame = root.CFrame
  7740. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7741. eloca1.Anchored = true
  7742. eloca1.CFrame = elocacenter.CFrame
  7743. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7744. eloca2.Anchored = true
  7745. eloca2.CFrame = elocacenter.CFrame
  7746. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7747. eloca3.Anchored = true
  7748. eloca3.CFrame = elocacenter.CFrame
  7749. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7750. eloca4.Anchored = true
  7751. eloca4.CFrame = elocacenter.CFrame
  7752. local lookavec = 0
  7753. local speeds = 0
  7754. CameraEnshaking(3,2.5)
  7755. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7756. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7757. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7758. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7759. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7760. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7761. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 10, 1)
  7762. for i = 0, 5, 0.1 do
  7763. swait()
  7764. ---
  7765. lookavec = lookavec + 1
  7766. speeds = speeds + 10
  7767. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7768. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7769. 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)
  7770. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7771. 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)
  7772. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7773. 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)
  7774. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7775. 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)
  7776. ---
  7777. 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)
  7778. 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)
  7779. 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)
  7780. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7781. 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)
  7782. 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)
  7783. end
  7784. for i = 0, 5, 0.1 do
  7785. swait()
  7786. ---
  7787. speeds = speeds + 10
  7788. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7789. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7790. 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)
  7791. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7792. 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)
  7793. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7794. 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)
  7795. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7796. 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)
  7797. ---
  7798. 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)
  7799. 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)
  7800. 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)
  7801. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7802. 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)
  7803. 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)
  7804. end
  7805. MAINRUINCOLOR = BrickColor.new("Really black")
  7806. CFuncs["Sound"].Create("rbxassetid://468991944", eloca1, 5, 1)
  7807. CFuncs["Sound"].Create("rbxassetid://468991944", eloca2, 5, 1)
  7808. CFuncs["Sound"].Create("rbxassetid://468991944", eloca3, 5, 1)
  7809. CFuncs["Sound"].Create("rbxassetid://468991944", eloca4, 5, 1)
  7810. CameraEnshaking(1,3)
  7811. for i = 0, 24 do
  7812. 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)
  7813. 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)
  7814. 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)
  7815. 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)
  7816. end
  7817. sphere(1,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7818. sphere(2,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7819. sphere(3,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7820. sphere(1,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7821. sphere(2,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7822. sphere(3,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7823. sphere(1,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7824. sphere(2,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7825. sphere(3,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7826. sphere(1,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7827. sphere(2,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7828. sphere(3,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7829. for i = 0, 5, 0.1 do
  7830. swait()
  7831. ---
  7832. lookavec = lookavec - 1
  7833. speeds = speeds + 10
  7834. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7835. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7836. 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)
  7837. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7838. 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)
  7839. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7840. 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)
  7841. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7842. 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)
  7843. ---
  7844. 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)
  7845. 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)
  7846. 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)
  7847. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7848. 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)
  7849. 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)
  7850. end
  7851. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7852. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7853. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7854. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7855. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7856. for i = 0, 49 do
  7857. 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)
  7858. 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)
  7859. end
  7860. CameraEnshaking(5,6)
  7861. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7862. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  7863. CFuncs["Sound"].Create("rbxassetid://741272936", root, 5, 1)
  7864. CFuncs["Sound"].Create("rbxassetid://164881112", root, 5, 1)
  7865. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 5, 1)
  7866. CFuncs["Sound"].Create("rbxassetid://429123896", root, 5, 0.85)
  7867. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 5, 1)
  7868. storehumanoidWS = 100
  7869. hum.WalkSpeed = 100
  7870. rainbowmode = false
  7871. chaosmode = false
  7872. tl1.Enabled = true
  7873. tl2.Enabled = true
  7874. tl3.Enabled = true
  7875. RecolorTextAndRename("The Insane Guest",Color3.new(170,0,0),Color3.new(0,0,0),"Antique")
  7876. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7877. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7878. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7879. for i, v in pairs(mw2:GetChildren()) do
  7880. if v:IsA("Part") then
  7881. v.BrickColor = MAINRUINCOLOR
  7882. v.Material = "Neon"
  7883. end
  7884. end
  7885. for i, v in pairs(mw1:GetChildren()) do
  7886. if v:IsA("Part") then
  7887. v.Transparency = 0
  7888. v.BrickColor = MAINRUINCOLOR
  7889. v.Material = "Neon"
  7890. end
  7891. end
  7892. for i, v in pairs(m:GetChildren()) do
  7893. if v:IsA("Part") then
  7894. v.Color = Color3.new(170,0,0)
  7895. v.Material = "Neon"
  7896. end
  7897. end
  7898. for i, v in pairs(m2:GetChildren()) do
  7899. if v:IsA("Part") then
  7900. v.Color = Color3.new(0,0,0)
  7901. v.Material = "Neon"
  7902. end
  7903. end
  7904. for i, v in pairs(m3:GetChildren()) do
  7905. if v:IsA("Part") then
  7906. v.Color = Color3.new(0,0,0)
  7907. v.Material = "Neon"
  7908. end
  7909. end
  7910. for i, v in pairs(extrawingmod1:GetChildren()) do
  7911. if v:IsA("Part") then
  7912. v.Transparency = 0.75
  7913. v.Color = Color3.new(0,0,0)
  7914. v.Material = "Neon"
  7915. end
  7916. end
  7917. for i, v in pairs(extrawingmod2:GetChildren()) do
  7918. if v:IsA("Part") then
  7919. v.Transparency = 0.75
  7920. v.Color = Color3.new(0,0,0)
  7921. v.Material = "Neon"
  7922. end
  7923. end
  7924. attack = false
  7925. end
  7926.  
  7927. function GleamingBeam()
  7928. attack = true
  7929. bosschatfunc("IT ENDS NOW!!!",MAINRUINCOLOR.Color,3)
  7930. CFuncs["EchoSound"].Create("rbxassetid://1535995570", char, 8, 1,0,10,0.15,0.5,1)
  7931. CFuncs["EchoSound"].Create("rbxassetid://1535995570", root, 60, 1,0,10,0.15,0.5,1)
  7932. local rsiz = math.random(1,15)
  7933. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7934. hb.Anchored = true
  7935. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7936. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  7937. for i = 0, 16, 0.1 do
  7938. swait()
  7939. rsiz = math.random(5,15)
  7940. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7941. 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)
  7942. 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)
  7943. 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)
  7944. 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)
  7945. 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)
  7946. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-40)),.1)
  7947. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  7948. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1)
  7949. end
  7950. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  7951. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  7952. for i = 0, 2 do
  7953. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  7954. end
  7955. 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)
  7956. 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)
  7957. 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)
  7958. for i = 0, 49 do
  7959. local rsiza = math.random(1,15)
  7960. 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)
  7961. end
  7962. local a = Instance.new("Part",Character)
  7963. a.Name = "Direction"
  7964. a.Anchored = true
  7965. a.BrickColor = MAINRUINCOLOR
  7966. a.Material = "Neon"
  7967. a.Transparency = 0
  7968. a.Shape = "Cylinder"
  7969. a.CanCollide = false
  7970. local ba = Instance.new("Part",Character)
  7971. ba.Name = "HitDirect"
  7972. ba.Anchored = true
  7973. ba.BrickColor = bc("Cool yellow")
  7974. ba.Material = "Neon"
  7975. ba.Transparency = 1
  7976. ba.CanCollide = false
  7977. local ray = Ray.new(
  7978. hb.CFrame.p, -- origin
  7979. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7980. )
  7981. local ignore = Character
  7982. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7983. a.BottomSurface = 10
  7984. a.TopSurface = 10
  7985. local distance = (hb.CFrame.p - position).magnitude
  7986. a.Size = Vector3.new(distance, 1, 1)
  7987. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7988. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7989. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7990. local msh = Instance.new("SpecialMesh",a)
  7991. msh.MeshType = "Cylinder"
  7992. msh.Scale = vt(1,4,4)
  7993. game:GetService("Debris"):AddItem(a, 30)
  7994. game:GetService("Debris"):AddItem(ba, 30)
  7995. for i = 0, 25, 0.1 do
  7996. swait()
  7997. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7998. ray = Ray.new(
  7999. hb.CFrame.p, -- origin
  8000. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8001. )
  8002. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8003. distance = (hb.CFrame.p - position).magnitude
  8004. a.Size = Vector3.new(distance, 1, 1)
  8005. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8006. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8007. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8008. rsiz = math.random(5,25)
  8009. MagniDamage(ba, 12, 40000,900000, 0, "Normal")
  8010. 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)
  8011. for c = 0, 2 do
  8012. 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)
  8013. end
  8014. 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)
  8015. 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)
  8016. 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)
  8017. 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)
  8018. 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)
  8019. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-80)),.6)
  8020. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(80)),.6)
  8021. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.6)
  8022. end
  8023. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  8024. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  8025. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  8026. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  8027. MagniDamage(ba, 30, 400000,9000000, 0, "Normal")
  8028. 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)
  8029. 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)
  8030. 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)
  8031. 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)
  8032. 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)
  8033. 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)
  8034. for i = 0, 49 do
  8035. local rsiza = math.random(1,15)
  8036. 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)
  8037. end
  8038. for i = 0, 49 do
  8039. rsiz = math.random(1,8)
  8040. 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)
  8041. end
  8042. coroutine.resume(coroutine.create(function()
  8043. for i = 0, 99 do
  8044. swait()
  8045. a.Transparency = a.Transparency + 0.01
  8046. end
  8047. a:Destroy()
  8048. ba:Destroy()
  8049. end))
  8050. hb:Destroy()
  8051. attack = false
  8052. end
  8053.  
  8054. function DualGleamingBeam()
  8055. attack = true
  8056. hum.WalkSpeed = 0
  8057. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  8058. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  8059. local radm = math.random(1,3)
  8060. if radm == 1 then
  8061. bosschatfunc("YOU CAN'T ESCAPE THIS!!",MAINRUINCOLOR.Color,1)
  8062. elseif radm == 2 then
  8063. bosschatfunc("HOW DO YOU LIKE THIS?!",MAINRUINCOLOR.Color,1)
  8064. elseif radm == 3 then
  8065. bosschatfunc("You make the choice..",MAINRUINCOLOR.Color,1)
  8066. end
  8067. local rsiz = math.random(1,15)
  8068. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8069. hb.Anchored = true
  8070. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8071. local hb2 = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8072. hb2.Anchored = true
  8073. hb2.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8074. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  8075. for i = 0, 14, 0.1 do
  8076. swait()
  8077. rsiz = math.random(5,15)
  8078. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8079. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  8080. 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)
  8081. 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)
  8082. 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)
  8083. 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"))
  8084. 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)
  8085. 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)
  8086. 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)
  8087. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.1)
  8088. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(120)),.1)
  8089. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-120)),.1)
  8090. end
  8091. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  8092. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  8093. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb2, 10,0.6)
  8094. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb2, 10,0.5)
  8095. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  8096. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb2, 10,1)
  8097. 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)
  8098. 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)
  8099. 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)
  8100. 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"))
  8101. 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"))
  8102. 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"))
  8103. for i = 0, 49 do
  8104. local rsiza = math.random(1,15)
  8105. 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)
  8106. 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)
  8107. end
  8108. local a = Instance.new("Part",Character)
  8109. a.Name = "Direction"
  8110. a.Anchored = true
  8111. a.BrickColor = MAINRUINCOLOR
  8112. a.Material = "Neon"
  8113. a.Transparency = 0
  8114. a.Shape = "Cylinder"
  8115. a.CanCollide = false
  8116. local a2 = Instance.new("Part",Character)
  8117. a2.Name = "Direction"
  8118. a2.Anchored = true
  8119. a2.BrickColor = MAINRUINCOLOR
  8120. a2.Material = "Neon"
  8121. a2.Transparency = 0
  8122. a2.Shape = "Cylinder"
  8123. a2.CanCollide = false
  8124. local ba = Instance.new("Part",Character)
  8125. ba.Name = "HitDirect"
  8126. ba.Anchored = true
  8127. ba.BrickColor = MAINRUINCOLOR
  8128. ba.Material = "Neon"
  8129. ba.Transparency = 1
  8130. ba.CanCollide = false
  8131. local ba2 = Instance.new("Part",Character)
  8132. ba2.Name = "HitDirect"
  8133. ba2.Anchored = true
  8134. ba2.BrickColor = MAINRUINCOLOR
  8135. ba2.Material = "Neon"
  8136. ba2.Transparency = 1
  8137. ba2.CanCollide = false
  8138. local ray = Ray.new(
  8139. hb.CFrame.p, -- origin
  8140. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8141. )
  8142. local ignore = Character
  8143. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8144. local ray2 = Ray.new(
  8145. hb2.CFrame.p, -- origin
  8146. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  8147. )
  8148. local hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  8149. local distance2 = (hb2.CFrame.p - position).magnitude
  8150.  
  8151. a.BottomSurface = 10
  8152. a.TopSurface = 10
  8153. local distance = (hb.CFrame.p - position).magnitude
  8154. a.Size = Vector3.new(distance, 1, 1)
  8155. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8156. a2.BottomSurface = 10
  8157. a2.TopSurface = 10
  8158. a2.Size = Vector3.new(distance2, 1, 1)
  8159. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  8160. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8161. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  8162. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8163. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8164. local msh = Instance.new("SpecialMesh",a)
  8165. msh.MeshType = "Cylinder"
  8166. msh.Scale = vt(1,4,4)
  8167. local msh2 = Instance.new("SpecialMesh",a2)
  8168. msh2.MeshType = "Cylinder"
  8169. msh2.Scale = vt(1,4,4)
  8170. game:GetService("Debris"):AddItem(a, 30)
  8171. game:GetService("Debris"):AddItem(a2, 30)
  8172. game:GetService("Debris"):AddItem(ba, 30)
  8173. game:GetService("Debris"):AddItem(ba2, 30)
  8174. for i = 0, 20, 0.1 do
  8175. swait()
  8176. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8177. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  8178. ray = Ray.new(
  8179. hb.CFrame.p, -- origin
  8180. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8181. )
  8182. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8183. distance = (hb.CFrame.p - position).magnitude
  8184. ray2 = Ray.new(
  8185. hb2.CFrame.p, -- origin
  8186. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  8187. )
  8188. hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  8189. distance2 = (hb2.CFrame.p - position).magnitude
  8190. a.Size = Vector3.new(distance, 1, 1)
  8191. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8192. a2.Size = Vector3.new(distance2, 1, 1)
  8193. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  8194. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8195. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  8196. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8197. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8198. rsiz = math.random(5,25)
  8199. MagniDamage(ba, 12, 800,18000, 0, "Normal")
  8200. MagniDamage(ba2, 12, 800,18000, 0, "Normal")
  8201. for i, v in pairs(FindNearestHead(ba.CFrame.p, 4)) do
  8202. if v:FindFirstChild('Head') then
  8203. dmg(v)
  8204. end
  8205. end
  8206. coroutine.resume(coroutine.create(function()
  8207. local bx = Instance.new("Part",Character)
  8208. bx.Name = "Location"
  8209. bx.Anchored = true
  8210. bx.BrickColor = MAINRUINCOLOR
  8211. bx.Material = "Neon"
  8212. bx.Transparency = 1
  8213. bx.CanCollide = false
  8214. bx.Position = ba.Position
  8215. sphere2(2,"Add",bx.CFrame,vt(20,0.5,20),0.001,0,0.001,MAINRUINCOLOR)
  8216. wait(math.random(1,2))
  8217. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.1,0,0.1,bc("Lime green"))
  8218. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.25,0,0.25,MAINRUINCOLOR)
  8219. sphere2(6,"Add",bx.CFrame,vt(10,10,10),0.5,0.5,0.5,bc("Lime green"))
  8220. CFuncs["Sound"].Create("rbxassetid://1042693018", bx, 5,0.7)
  8221. CFuncs["Sound"].Create("rbxassetid://1042695469", bx, 5,0.8)
  8222. MagniDamage(bx, 20, 80000,900000, 0, "Normal")
  8223. for i, v in pairs(FindNearestHead(bx.CFrame.p, 15)) do
  8224. if v:FindFirstChild('Head') then
  8225. dmg(v)
  8226. end
  8227. end
  8228. wait(5)
  8229. bx:Destroy()
  8230. end))
  8231. 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)
  8232. 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)
  8233. for c = 0, 2 do
  8234. 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)
  8235. end
  8236. 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)
  8237. 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)
  8238. 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)
  8239. 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)
  8240. 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)
  8241. 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)
  8242. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.05)
  8243. RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-15)),.05)
  8244. LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(15)),.05)
  8245. end
  8246. for i = 0, 1 do
  8247. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  8248. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  8249. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  8250. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  8251. end
  8252. MagniDamage(ba, 30, 8000,180000, 0, "Normal")
  8253. MagniDamage(ba2, 30, 8000,180000, 0, "Normal")
  8254. for i, v in pairs(FindNearestHead(ba.CFrame.p, 10)) do
  8255. if v:FindFirstChild('Head') then
  8256. dmg(v)
  8257. end
  8258. end
  8259. 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)
  8260. 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)
  8261. 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)
  8262. 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)
  8263. 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)
  8264. 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)
  8265. 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"))
  8266. 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"))
  8267. 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"))
  8268. for i = 0, 49 do
  8269. local rsiza = math.random(1,15)
  8270. 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)
  8271. 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)
  8272. end
  8273. for i = 0, 49 do
  8274. rsiz = math.random(1,8)
  8275. 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)
  8276. end
  8277. coroutine.resume(coroutine.create(function()
  8278. for i = 0, 99 do
  8279. swait()
  8280. a.Transparency = a.Transparency + 0.01
  8281. a2.Transparency = a2.Transparency + 0.01
  8282. end
  8283. a:Destroy()
  8284. ba:Destroy()
  8285. a2:Destroy()
  8286. ba2:Destroy()
  8287. end))
  8288. hum.WalkSpeed = storehumanoidWS
  8289. hb:Destroy()
  8290. hb2:Destroy()
  8291. attack = false
  8292. end
  8293.  
  8294. function dragin()
  8295. local targetted = nil
  8296. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  8297. targetted = mouse.Target.Parent
  8298. end
  8299. if targetted ~= nil then
  8300. RootPart.CFrame = FaceMouse()[1]
  8301. attack = true
  8302. hum.WalkSpeed = 0
  8303. for x = 0, 1 do
  8304. for i = 0,1,0.5 do
  8305. swait()
  8306. 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)
  8307. 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)
  8308. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  8309. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8310. 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)
  8311. 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)
  8312. end
  8313. for i = 0,1,0.5 do
  8314. swait()
  8315. 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)
  8316. 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)
  8317. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
  8318. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8319. 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)
  8320. 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)
  8321. end
  8322. for i = 0,1,0.5 do
  8323. swait()
  8324. 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)
  8325. 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)
  8326. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(270)),.3)
  8327. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8328. 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)
  8329. 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)
  8330. end
  8331. for i = 0,1,0.5 do
  8332. swait()
  8333. 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)
  8334. 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)
  8335. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8336. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8337. 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)
  8338. 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)
  8339. end
  8340. end
  8341. coroutine.resume(coroutine.create(function()
  8342. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 50
  8343. CFuncs["Sound"].Create("rbxassetid://884155627", targetted.Head, 1,1)
  8344. CFuncs["Sound"].Create("rbxassetid://153092213", targetted.Head, 2.5,1)
  8345. end))
  8346. local A1 = Instance.new("Attachment",targetted.Head)
  8347. local A2 = Instance.new("Attachment",sorb)
  8348. local Beem = Instance.new("Beam",tors)
  8349. Beem.Attachment0 = A1
  8350. Beem.Attachment1 = A2
  8351. Beem.Texture = "rbxassetid://897585362"
  8352. Beem.LightEmission = 0.75
  8353. Beem.FaceCamera = true
  8354. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  8355. Beem.Width0 = 1
  8356. Beem.Width1 = 1
  8357. Beem.TextureMode = "Wrap"
  8358. Beem.TextureLength = 1
  8359. Beem.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8360. 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)
  8361. 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)
  8362. for x = 0, 24 do
  8363. local rsiz = math.random(5,15)
  8364. 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)
  8365. end
  8366.  
  8367. CFuncs["EchoSound"].Create("rbxassetid://1448032965", char, 7, 1,0,10,0.15,0.5,1)
  8368. CFuncs["EchoSound"].Create("rbxassetid://1448032965", root, 60, 1,0,10,0.15,0.5,1)
  8369. local radm = math.random(1,2)
  8370. if radm == 1 then
  8371. bosschatfunc("GOTCHA!!",MAINRUINCOLOR.Color,1)
  8372. elseif radm == 2 then
  8373. bosschatfunc("COM'ERE!!",MAINRUINCOLOR.Color,1)
  8374. end
  8375. for i = 0,3,0.1 do
  8376. swait()
  8377. coroutine.resume(coroutine.create(function()
  8378. local rsiz = math.random(5,15)
  8379. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  8380. 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)
  8381. end))
  8382. 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)
  8383. 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)
  8384. 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)
  8385. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
  8386. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(-50)),.6)
  8387. 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)
  8388. 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)
  8389. end
  8390. CFuncs["Sound"].Create("rbxassetid://231917750", sorb, 1.25,0.9)
  8391. CFuncs["Sound"].Create("rbxassetid://1042716828", sorb, 1.5,1)
  8392. local vel = Instance.new("BodyPosition", targetted.Head)
  8393. vel.P = 12500
  8394. vel.D = 1000
  8395. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  8396. vel.position = hed.CFrame.p + root.CFrame.lookVector*2.75
  8397. for i = 0,4,0.1 do
  8398. swait()
  8399. coroutine.resume(coroutine.create(function()
  8400. local rsiz = math.random(5,15)
  8401. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  8402. 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)
  8403. end))
  8404. 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)
  8405. 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)
  8406. 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)
  8407. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  8408. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(40)),.2)
  8409. 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)
  8410. 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)
  8411. end
  8412. local visibility = 0
  8413. coroutine.resume(coroutine.create(function()
  8414. for i = 0, 49 do
  8415. swait()
  8416. visibility = visibility + 0.02
  8417. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, visibility),NumberSequenceKeypoint.new(1, visibility)})
  8418. end
  8419. Beem:Destroy()
  8420. A1:Destroy()
  8421. A2:Destroy()
  8422. end))
  8423. game:GetService("Debris"):AddItem(vel,0.75)
  8424. attack = false
  8425. hum.WalkSpeed = storehumanoidWS
  8426.  
  8427. end
  8428. end
  8429.  
  8430. function hugg()
  8431. attack = true
  8432. hum.WalkSpeed = 5
  8433. local rsiz = math.random(5,15)
  8434. for i = 0, 2, 0.1 do
  8435. swait()
  8436. 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)
  8437. 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)
  8438. 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)
  8439. 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)
  8440. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3)
  8441. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3)
  8442. end
  8443. CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
  8444. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8445. hb.Anchored = true
  8446. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8447. local huggedperson = nil
  8448. local act = false
  8449. local alreadydid = false
  8450. for i = 0, 3, 0.1 do
  8451. swait()
  8452. if act == false then
  8453. for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do
  8454. if v:FindFirstChild('Head') then
  8455. if alreadydid == false then
  8456. huggedperson = v
  8457. hum.WalkSpeed = 0
  8458. CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
  8459. CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
  8460. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
  8461. CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
  8462. local radm = math.random(1,3)
  8463. if radm == 1 then
  8464. bosschatfunc("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1)
  8465. elseif radm == 2 then
  8466. bosschatfunc("I..I'm interested in you",MAINRUINCOLOR.Color,1)
  8467. elseif radm == 3 then
  8468. bosschatfunc("Don't worry.. I'm with you",MAINRUINCOLOR.Color,1)
  8469. end
  8470. root.Anchored = true
  8471. coroutine.resume(coroutine.create(function()
  8472. huggedperson.Humanoid.WalkSpeed = 0
  8473. huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
  8474. end))
  8475. --chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
  8476. alreadydid = true
  8477. act = true
  8478. print(huggedperson.Name)
  8479. end
  8480. end
  8481. end
  8482. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8483. 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)
  8484. elseif act == true then
  8485. coroutine.resume(coroutine.create(function()
  8486. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8487. end))
  8488. rsiz = math.random(5,15)
  8489. 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)
  8490. 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)
  8491. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8492. end
  8493. 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)
  8494. 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)
  8495. 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)
  8496. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8497. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8498. end
  8499. hb:Destroy()
  8500. if act == true then
  8501. for x = 0, 2 do
  8502. for i = 0, 2, 0.1 do
  8503. swait()
  8504. coroutine.resume(coroutine.create(function()
  8505. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8506. end))
  8507. rsiz = math.random(5,15)
  8508. 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)
  8509. 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)
  8510. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8511. 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)
  8512. 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)
  8513. 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)
  8514. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8515. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8516. end
  8517. for i = 0, 2, 0.1 do
  8518. swait()
  8519. coroutine.resume(coroutine.create(function()
  8520. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8521. end))
  8522. rsiz = math.random(5,15)
  8523. 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)
  8524. 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)
  8525. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8526. 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)
  8527. 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)
  8528. 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)
  8529. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8530. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8531. end
  8532. end
  8533. end
  8534. hum.WalkSpeed = storehumanoidWS
  8535. root.Anchored = false
  8536. if act == true then
  8537. coroutine.resume(coroutine.create(function()
  8538. huggedperson.Humanoid.WalkSpeed = 16
  8539. huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
  8540. end))
  8541. end
  8542. hum.WalkSpeed = storehumanoidWS
  8543. attack = false
  8544. end
  8545.  
  8546. function Counter()
  8547. hum.WalkSpeed = 0
  8548. CFuncs["EchoSound"].Create("rbxassetid://2370794297", char, 5, 1,0,10,0.15,0.5,1)
  8549. CFuncs["EchoSound"].Create("rbxassetid://2370794297", root, 60, 1,0,10,0.15,0.5,1)
  8550. bosschatfunc("COUNTER!!",MAINRUINCOLOR.Color,1)
  8551. attack = true
  8552. for i = 0,1,0.1 do
  8553. swait()
  8554. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8555. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8556. 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)
  8557. 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)
  8558. 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)
  8559. 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)
  8560. end
  8561. CameraEnshaking(3,4)
  8562. MagniDamageWithEffect(root, 24, 0,0, 75, "Normal")
  8563. 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)
  8564. 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)
  8565. 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)
  8566. coroutine.resume(coroutine.create(function()
  8567. local eff = Instance.new("ParticleEmitter",root)
  8568. eff.Texture = "rbxassetid://363275192"
  8569. eff.LightEmission = 0.95
  8570. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8571. eff.Rate = 10000
  8572. eff.Lifetime = NumberRange.new(1)
  8573. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  8574. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  8575. eff.Speed = NumberRange.new(10,125)
  8576. eff.Drag = 5
  8577. eff.Rotation = NumberRange.new(-500,500)
  8578. eff.VelocitySpread = 9000
  8579. eff.RotSpeed = NumberRange.new(-50,50)
  8580. local eff2 = eff:Clone()
  8581. eff2.Parent = root
  8582. eff2.Texture = "rbxassetid://284205403"
  8583. eff2.Rate = 10000
  8584. 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)})
  8585. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  8586. eff2.Drag = 5
  8587. eff2.Speed = NumberRange.new(10,50)
  8588. eff2.Rotation = NumberRange.new(-500,500)
  8589. eff2.VelocitySpread = 9000
  8590. wait(0.25)
  8591. eff2.Enabled = false
  8592. eff.Enabled = false
  8593. wait(3)
  8594. eff2:Destroy()
  8595. eff:Destroy()
  8596. end))
  8597. for i = 0, 9 do
  8598. 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)
  8599. end
  8600. for i = 0, 24 do
  8601. local rsiz = math.random(5,20)
  8602. 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)
  8603. end
  8604. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  8605. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  8606. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  8607. for i = 0,2,0.1 do
  8608. swait()
  8609. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8610. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8611. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8612. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8613. 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)
  8614. 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)
  8615. end
  8616. hum.WalkSpeed = storehumanoidWS
  8617. attack = false
  8618. end
  8619.  
  8620. function superjump()
  8621. attack = true
  8622. hum.WalkSpeed = 0
  8623. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  8624. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  8625. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7.5, 1)
  8626. for i = 0, 2, 0.1 do
  8627. swait()
  8628. root.Velocity = vt(0,0,0)
  8629. 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"))
  8630. 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)
  8631. 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)
  8632. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,-1)*angles(math.rad(20),math.rad(0),math.rad(0)),.4)
  8633. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(0)),.4)
  8634. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(40)),.4)
  8635. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(-40)),.4)
  8636. end
  8637. MagniDamage(root, 28, 25,50, 25, "Normal")
  8638. CFuncs["Sound"].Create("rbxassetid://477843807", char, 17, 1.05)
  8639. hum.Jump = true
  8640. swait()
  8641. root.Velocity = vt(0,250,0) + root.CFrame.lookVector*250
  8642. 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)
  8643. 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)
  8644. CFuncs["Sound"].Create("rbxassetid://1295446488", root, 10, 1)
  8645. for i = 0, 3, 0.1 do
  8646. swait()
  8647. 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)
  8648. 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)
  8649. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.75,0)*angles(math.rad(40),math.rad(0),math.rad(0)),.4)
  8650. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.4)
  8651. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(20)),.4)
  8652. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.4)
  8653. end
  8654. attack = false
  8655. if equipped == false then
  8656. hum.WalkSpeed = 16
  8657. else
  8658. hum.WalkSpeed = 24
  8659. end
  8660. end
  8661.  
  8662.  
  8663. -------------------------------------
  8664.  
  8665.  
  8666.  
  8667. Humanoid.Animator.Parent = nil
  8668.  
  8669.  
  8670.  
  8671. -------------------------------------
  8672.  
  8673. local attacktype = 1
  8674. mouse.Button1Down:connect(function()
  8675. if attack == false and attacktype == 1 then
  8676. attacktype = 2
  8677. attackone()
  8678. elseif attack == false and attacktype == 2 then
  8679. attacktype = 3
  8680. attacktwo()
  8681. elseif attack == false and attacktype == 3 then
  8682. attacktype = 1
  8683. attackthree()
  8684. elseif attack == false and attacktype == 4 then
  8685. attacktype = 1
  8686. --attackfour()
  8687. end
  8688. end)
  8689. mouse.KeyDown:connect(function(k)
  8690. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  8691. --normalmog()
  8692. ModeOfGlitch = 1
  8693. storehumanoidWS = 16
  8694. hum.WalkSpeed = 16
  8695. rainbowmode = false
  8696. chaosmode = false
  8697. newTheme("rbxassetid://407749940",48.6,1,0.85)
  8698. RecolorTextAndRename("Murder Guest",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  8699. MAINRUINCOLOR = BrickColor.new("Really red")
  8700. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  8701. end
  8702. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  8703. ModeOfGlitch = 2
  8704. storehumanoidWS = 16
  8705. hum.WalkSpeed = 16
  8706. rainbowmode = false
  8707. chaosmode = false
  8708. RecolorTextAndRename("Serene Guest",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  8709. newTheme("rbxassetid://1539245059",0,1,0.85)
  8710. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  8711. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8712. end
  8713. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  8714. ModeOfGlitch = 3
  8715. storehumanoidWS = 14
  8716. hum.WalkSpeed = 14
  8717. rainbowmode = false
  8718. chaosmode = false
  8719. RecolorTextAndRename("Starber Guest",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  8720. newTheme("rbxassetid://262402387",58.15,0.98,1)
  8721. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8722. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8723. end
  8724. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  8725. ModeOfGlitch = 4
  8726. storehumanoidWS = 14
  8727. hum.WalkSpeed = 14
  8728. rainbowmode = false
  8729. chaosmode = true
  8730. RecolorTextAndRename("F.a.l.l.e.n G.u.e.s.t",Color3.new(0,0,0),Color3.new(1,1,1),"Antique")
  8731. newTheme("rbxassetid://2203914587",10,1.01,0.85)
  8732. MAINRUINCOLOR = BrickColor.new("Crimson")
  8733. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8734. end
  8735. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  8736. ModeOfGlitch = 5
  8737. storehumanoidWS = 14
  8738. hum.WalkSpeed = 14
  8739. rainbowmode = false
  8740. chaosmode = false
  8741. RecolorTextAndRename("Divine Guest",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  8742. newTheme("rbxassetid://661079869",0,1.02,0.85)
  8743. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  8744. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8745. end
  8746. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  8747. ModeOfGlitch = 6
  8748. storehumanoidWS = 65
  8749. hum.WalkSpeed = 65
  8750. rainbowmode = false
  8751. chaosmode = false
  8752. RecolorTextAndRename("Justice Guest",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  8753. newTheme("rbxassetid://1347011178",0,1.01,0.85)
  8754. MAINRUINCOLOR = BrickColor.new("White")
  8755. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8756. end
  8757. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  8758. ModeOfGlitch = 8
  8759. storehumanoidWS = 100
  8760. hum.WalkSpeed = 100
  8761. rainbowmode = false
  8762. chaosmode = false
  8763. RecolorTextAndRename("Destinal Guest",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  8764. newTheme("rbxassetid://919231299",0,1.01,0.85)
  8765. MAINRUINCOLOR = BrickColor.new("Alder")
  8766. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8767. end
  8768. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  8769. ModeOfGlitch = 9
  8770. storehumanoidWS = 85
  8771. hum.WalkSpeed = 85
  8772. rainbowmode = false
  8773. chaosmode = false
  8774. RecolorTextAndRename("Infected Guest",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  8775. newTheme("rbxassetid://1812212957",0,1.01,0.85)
  8776. MAINRUINCOLOR = BrickColor.new("Br. yellowish green")
  8777. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8778. end
  8779. if k == "h" and attack == false and ModeOfGlitch ~= 5555 then
  8780. ModeOfGlitch = 5555
  8781. storehumanoidWS = 30
  8782. hum.WalkSpeed = 30
  8783. rainbowmode = false
  8784. chaosmode = false
  8785. RecolorTextAndRename("Love Guest",Color3.new(1,1,1),BrickColor.new("Hot pink").Color,"Arcade")
  8786. newTheme("rbxassetid://736003449",0,1,1.25)
  8787. MAINRUINCOLOR = BrickColor.new("Hot pink")
  8788. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8789. end
  8790. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  8791. CalamityTrans()
  8792. end
  8793. if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 8889 then
  8794. InsaneTrans()
  8795. end
  8796. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  8797. ModeOfGlitch = 55469696922
  8798. storehumanoidWS = 95
  8799. hum.WalkSpeed = 95
  8800. rainbowmode = false
  8801. chaosmode = false
  8802. RecolorTextAndRename("Pandora",BrickColor.new("White").Color,BrickColor.new("Lavender").Color,"Code")
  8803. newTheme("rbxassetid://1382488262",0,1,1.25)
  8804. MAINRUINCOLOR = BrickColor.new("Lavender")
  8805. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  8806. end
  8807. if k == "k" and attack == false and ModeOfGlitch ~= 999 then
  8808. ModeOfGlitch = 999
  8809. storehumanoidWS = 34
  8810. hum.WalkSpeed = 34
  8811. rainbowmode = false
  8812. chaosmode = false
  8813. CRAZED = false
  8814. RecolorTextAndRename("Nanodeath Guest",Color3.new(0.25,0,0.1),BrickColor.new("Hot pink").Color,"Antique")
  8815. newTheme("rbxassetid://2234873423",0,1.005,0.9)
  8816. MAINRUINCOLOR = BrickColor.new("Hot pink")
  8817. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8818. end
  8819. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  8820. ModeOfGlitch = 4367677813
  8821. storehumanoidWS = 75
  8822. hum.WalkSpeed = 75
  8823. rainbowmode = false
  8824. chaosmode = false
  8825. RecolorTextAndRename("S.H.D Guest",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  8826. newTheme("rbxassetid://363284685",0,1.01,0.95)
  8827. MAINRUINCOLOR = BrickColor.new("Baby blue")
  8828. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8829. end
  8830. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  8831. ModeOfGlitch = 9999999921111
  8832. storehumanoidWS = 145
  8833. hum.WalkSpeed = 145
  8834. rainbowmode = false
  8835. chaosmode = false
  8836. RecolorTextAndRename("Omega Guest",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  8837. newTheme("rbxassetid://643309199",0,1.01,1)
  8838. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  8839. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8840. end
  8841. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  8842. ModeOfGlitch = 999999999556
  8843. storehumanoidWS = 115
  8844. hum.WalkSpeed = 115
  8845. rainbowmode = false
  8846. chaosmode = false
  8847. RecolorTextAndRename("Crazy Game",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
  8848. newTheme("rbxassetid://719008519",0,1.02,0.85)
  8849. MAINRUINCOLOR = BrickColor.new("Navy blue")
  8850. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8851. end
  8852. if k == "m" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 12 then
  8853. ModeOfGlitch = 12
  8854. storehumanoidWS = 19
  8855. hum.WalkSpeed = 19
  8856. rainbowmode = false
  8857. chaosmode = false
  8858. print'Mode was meant for Vengeful Program or those other fans out there'
  8859. RecolorTextAndRename("Neptunia Guest",BrickColor.new("Royal purple").Color,BrickColor.new("Bright blue").Color,"SciFi")
  8860. newTheme("rbxassetid://1873219898",0,1,1.7)
  8861. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8862. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8863. end
  8864.  
  8865. if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 50 then
  8866. sphere(0.9,"Add",root.CFrame,vt(0,100000,0),1,BrickColor.new("Institutional white"))
  8867. for i = 0, 49 do
  8868. 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)
  8869. end
  8870. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8871. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8872. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8873. hum.WalkSpeed = storehumanoidWS
  8874. attack = false
  8875. ModeOfGlitch = 50
  8876. storehumanoidWS = 18
  8877. hum.WalkSpeed = 18
  8878. rainbowmode = false
  8879. chaosmode = false
  8880. RecolorTextAndRename("EnBelived",BrickColor.new("Institutional white").Color,BrickColor.new("Institutional white").Color,"Arcade")
  8881. newTheme("rbxassetid://435773595",0,1.01,1.5)
  8882. MAINRUINCOLOR = BrickColor.new("Institutional white")
  8883. RecolorThing(MAINRUINCOLOR,BrickColor.new("Institutional white"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8884. end
  8885.  
  8886. if k == "m" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 66 then
  8887. hum.WalkSpeed = 0
  8888. attack = true
  8889. for i = 0,1,0.1 do
  8890. swait()
  8891. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8892. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8893. 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)
  8894. 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)
  8895. 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)
  8896. 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)
  8897. end
  8898. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8899. for i = 0, 148 do
  8900. 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)
  8901. end
  8902. for i = 0,3,0.1 do
  8903. 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)
  8904. end
  8905. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8906. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8907. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8908. hum.WalkSpeed = storehumanoidWS
  8909. attack = false
  8910. ModeOfGlitch = 66
  8911. storehumanoidWS = 16
  8912. hum.WalkSpeed = 16
  8913. rainbowmode = false
  8914. chaosmode = false
  8915. newTheme("rbxassetid://"..ast[Mrandom(1,2)],0,1,1.35)
  8916. MAINRUINCOLOR = BrickColor.new("Really black")
  8917. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8918. for i = 0,2,0.1 do
  8919. swait()
  8920. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8921. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8922. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8923. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8924. 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)
  8925. 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)
  8926. end
  8927. end
  8928.  
  8929. if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 13 then
  8930. hum.WalkSpeed = 0
  8931. attack = true
  8932. for i = 0,1,0.1 do
  8933. swait()
  8934. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8935. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8936. 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)
  8937. 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)
  8938. 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)
  8939. 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)
  8940. end
  8941. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8942. for i = 0, 49 do
  8943. 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)
  8944. end
  8945. for i = 0,3,0.1 do
  8946. 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)
  8947. end
  8948. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8949. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8950. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8951. hum.WalkSpeed = storehumanoidWS
  8952. attack = false
  8953. ModeOfGlitch = 13
  8954. storehumanoidWS = 45
  8955. hum.WalkSpeed = 45
  8956. rainbowmode = false
  8957. chaosmode = false
  8958. RecolorTextAndRename("Judicial Guest",BrickColor.new("Dark stone grey").Color,BrickColor.new("Light blue").Color,"Bodoni")
  8959. newTheme("rbxassetid://190845741",0,1,1.35)
  8960. MAINRUINCOLOR = BrickColor.new("Dark stone grey")
  8961. RecolorThing(MAINRUINCOLOR,BrickColor.new("Light blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8962. for i = 0,2,0.1 do
  8963. swait()
  8964. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8965. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8966. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8967. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8968. 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)
  8969. 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)
  8970. end
  8971. end
  8972. if k == "j" and attack == false and ModeOfGlitch ~= 1002 then
  8973. ModeOfGlitch = 1002
  8974. storehumanoidWS = 45
  8975. hum.WalkSpeed = 45
  8976. rainbowmode = false
  8977. chaosmode = false
  8978. RecolorTextAndRename("Pixeled Guest",BrickColor.new("Really black").Color,BrickColor.new("Dark blue").Color,"Code")
  8979. newTheme("rbxassetid://2027652726",0,1,0.85)
  8980. MAINRUINCOLOR = BrickColor.new("Dark blue")
  8981. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8982. end
  8983. if k == "k" and attack == false and ModeOfGlitch ~= 1003 then
  8984. ModeOfGlitch = 1003
  8985. storehumanoidWS = 90
  8986. hum.WalkSpeed = 90
  8987. rainbowmode = false
  8988. chaosmode = false
  8989. RecolorTextAndRename("A.s.c.e.n.d.e.d G.u.e.s.t",BrickColor.new("White").Color,BrickColor.new("Bright yellow").Color,"Code")
  8990. newTheme("rbxassetid://257453119",0,1,0.85)
  8991. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  8992. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8993. end
  8994. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  8995. ModeOfGlitch = 1264532489
  8996. storehumanoidWS = 175
  8997. hum.WalkSpeed = 175
  8998. rainbowmode = false
  8999. chaosmode = false
  9000. RecolorTextAndRename("Fallenx Guest",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  9001. newTheme("rbxassetid://1505487022",0,1.01,1.25)
  9002. MAINRUINCOLOR = BrickColor.new("Pastel green")
  9003. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9004. end
  9005. if k == "l" and mutedtog == false then
  9006. mutedtog = true
  9007. kan.Volume = 0.85
  9008. elseif k == "l" and mutedtog == true then
  9009. mutedtog = false
  9010. kan.Volume = 0.85
  9011. end
  9012. if k == "p" and toggleTag == false then
  9013. toggleTag = true
  9014. modet.TextTransparency = 0
  9015. modet.TextStrokeTransparency = 0
  9016. elseif k == "p" and toggleTag == true then
  9017. toggleTag = false
  9018. modet.TextTransparency = 1
  9019. modet.TextStrokeTransparency = 1
  9020. end
  9021. if k == "z" and attack == false and ModeOfGlitch == 1 then
  9022. ExtinctiveHeartbreak()
  9023. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  9024. HeavenlyDisk()
  9025. elseif k == "z" and attack == false and ModeOfGlitch == 9 then
  9026. DualGleamingBeam()
  9027. elseif k == "c" and attack == false and ModeOfGlitch == 9 then
  9028. BanishingOrb()
  9029. elseif k == "z" and attack == false and ModeOfGlitch == 5555 then
  9030. hugg()
  9031. elseif k == "b" and attack == false and ModeOfGlitch == 55469696922 then
  9032. cutesigh()
  9033. elseif k == "v" and attack == false and ModeOfGlitch == 55469696922 then
  9034. Counter()
  9035. elseif k == "v" and attack == false and ModeOfGlitch == 12 then
  9036. superjump()
  9037. elseif k == "v" and attack == false and ModeOfGlitch == 9999999921111 then
  9038. dragin()
  9039. elseif k == "x" and attack == false and ModeOfGlitch == 8889 then
  9040. UniversalCollapse()
  9041. elseif k == "c" and attack == false and ModeOfGlitch == 2 then
  9042. PureBomb()
  9043. elseif k == "z" and attack == false and ModeOfGlitch == 999999999556 then
  9044. Beams()
  9045. elseif k == "x" and attack == false and ModeOfGlitch == 55469696922 then
  9046. BeamOfDeath()
  9047. elseif k == "v" and attack == false and ModeOfGlitch == 8 then
  9048. THE_TRUE_POWER_OF_VIOLENCE()
  9049. elseif k == "z" and attack == false and ModeOfGlitch == 8 then
  9050. GleamingBeam()
  9051. elseif k == "x" and attack == false and ModeOfGlitch == 5 then
  9052. ViolentRing()
  9053. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  9054. CorruptionEvent()
  9055. elseif k == "v" and attack == false and ModeOfGlitch == 3 then
  9056. CorruptBlink()
  9057. elseif k == "c" and attack == false and ModeOfGlitch == 3 then
  9058. scattercorrupt()
  9059. elseif k == "b" and attack == false and ModeOfGlitch == 5555 then
  9060. shytaunty()
  9061. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  9062. RapidBurst()
  9063. elseif k == "z" and attack == false and ModeOfGlitch == 8889 then
  9064. InsaneDrop()
  9065. wait(2)
  9066. ChaosEND()
  9067. elseif k == "x" and attack == false and ModeOfGlitch == 4 then
  9068. ChaosEND()
  9069. elseif k == "c" and attack == false and ModeOfGlitch == 9999999921111 then
  9070. CyberSlash()
  9071. elseif k == "z" and attack == false and ModeOfGlitch == 4367677813 then
  9072. smiter()
  9073. elseif k == "z" and attack == false and ModeOfGlitch == 1002 then
  9074. SpeedDrop()
  9075. elseif k == "v" and attack == false and ModeOfGlitch == 5 then
  9076. --DivineLights()
  9077. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  9078. DivineBlast()
  9079. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  9080. EquinoxOrbs()
  9081. elseif k == "v" and attack == false and ModeOfGlitch == 6 then
  9082. yinyangi()
  9083. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  9084. FallenOrbs()
  9085. elseif k == "z" and attack == false and ModeOfGlitch == 1003 then
  9086. StarfallEX()
  9087. end
  9088. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  9089. FallenDEMISE()
  9090. end
  9091. if k == "x" and attack == false and ModeOfGlitch == 1 then
  9092. EndGROUND()
  9093. end
  9094. end)
  9095.  
  9096. coroutine.resume(coroutine.create(function()
  9097. while true do
  9098. swait()
  9099. 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
  9100. 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)
  9101. end
  9102. if ModeOfGlitch == 5555 then
  9103. 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)
  9104. end
  9105. end
  9106. end))
  9107. --[[coroutine.resume(coroutine.create(function()
  9108. while true do
  9109. swait(2)
  9110. if chaosmode == true then
  9111. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9112. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9113. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9114. RecolorTextAndRename("F.a.l.l.e.n G.u.e.s.t",Color3.new(0,0,0),BrickColor.random().Color,"Antique")
  9115. for i, v in pairs(mw1:GetChildren()) do
  9116. if v:IsA("Part") then
  9117. v.Transparency = 0.75
  9118. v.BrickColor = BrickColor.random()
  9119. v.Material = "Neon"
  9120. end
  9121. end
  9122. for i, v in pairs(m2:GetChildren()) do
  9123. if v:IsA("Part") then
  9124. v.BrickColor = BrickColor.random()
  9125. v.Material = "Neon"
  9126. end
  9127. end
  9128. end
  9129. end
  9130. end))]]
  9131.  
  9132.  
  9133.  
  9134. ff = Instance.new("ForceField",char)
  9135. ff.Visible = false
  9136. hum.Name = "Base"
  9137. hum.MaxHealth = 1.0E298
  9138. hum.Health = 1.0E298
  9139. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  9140. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  9141. hum.MaxHealth = 1.0E298
  9142. hum.Health = 1.0E298
  9143. end
  9144. end)
  9145.  
  9146. local Hair = Instance.new("Part", char)
  9147. Hair.Name = "Hair"
  9148. Hair.CanCollide = false
  9149. Hair.BrickColor = BrickColor.new("Institutional white")
  9150. Hair.Transparency = 0
  9151. Hair.Material = "Plastic"
  9152. Hair.Size = Vector3.new(1, 1, 2)
  9153. Hair.TopSurface = Enum.SurfaceType.Smooth
  9154. Hair.BottomSurface = Enum.SurfaceType.Smooth
  9155.  
  9156.  
  9157. local bguis = Instance.new("BillboardGui",tors)
  9158. bguis.Size = UDim2.new(25, 0, 25, 0)
  9159. local imgca = Instance.new("ImageLabel",bguis)
  9160. imgca.BackgroundTransparency = 1
  9161. imgca.ImageTransparency = 1
  9162. imgca.Size = UDim2.new(1,0,1,0)
  9163. imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
  9164. imgca.ImageColor3 = Color3.new(0,0,0)
  9165.  
  9166.  
  9167. local bguis2 = Instance.new("BillboardGui",tors)
  9168. bguis2.Size = UDim2.new(25, 0, 25, 0)
  9169. local imgca2 = Instance.new("ImageLabel",bguis)
  9170. imgca2.BackgroundTransparency = 1
  9171. imgca2.ImageTransparency = 1
  9172. imgca2.Size = UDim2.new(1,0,1,0)
  9173. imgca2.Image = "rbxassetid://2406462507" --997291547,521073910,2312119891
  9174. imgca2.ImageColor3 = Color3.new(0,0,0)
  9175.  
  9176.  
  9177.  
  9178. idleanim=.4
  9179. while true do
  9180. if mutedtog == false then
  9181. kan.Volume = currentVol
  9182. elseif mutedtog == true then
  9183. kan.Volume = 0
  9184. end
  9185. kan.PlaybackSpeed = currentPitch
  9186. kan.Pitch = currentPitch
  9187. kan.SoundId = currentThemePlaying
  9188. kan.Looped = true
  9189. kan.Parent = char
  9190. kan:Resume()
  9191. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 13 then
  9192. imgca.ImageTransparency = 1
  9193. imgca2.ImageTransparency = 1
  9194. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  9195. imgca.ImageColor3 = MAINRUINCOLOR.Color
  9196. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9197. elseif ModeOfGlitch == 13 then
  9198. imgca2.ImageColor3 = MAINRUINCOLOR.Color
  9199. imgca2.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9200. end
  9201. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  9202. bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9203. imgca2.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/60
  9204. bguis2.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9205. coroutine.resume(coroutine.create(function()
  9206. if chaosmode == true then
  9207. for i, v in pairs(mw1:GetChildren()) do
  9208. if v:IsA("Part") then
  9209. v.Transparency = 0
  9210. v.BrickColor = BrickColor.random()
  9211. v.Material = "Neon"
  9212. end
  9213. end
  9214. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9215. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9216. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9217. RecolorTextAndRename("F.a.l.l.e.n G.u.e.s.t",Color3.new(0,0,0),BrickColor.random().Color,"Antique")
  9218. end
  9219. end))
  9220. coroutine.resume(coroutine.create(function()
  9221. if ModeOfGlitch == 66 then
  9222. for i, v in pairs(m:GetChildren()) do
  9223. if v:IsA("Part") then
  9224. v.Transparency = 0
  9225. v.BrickColor = BrickColor.random()
  9226. v.Material = "Neon"
  9227. end
  9228. end
  9229. for i, v in pairs(m2:GetChildren()) do
  9230. if v:IsA("Part") then
  9231. v.Transparency = 0
  9232. v.BrickColor = BrickColor.random()
  9233. v.Material = "Neon"
  9234. end
  9235. end
  9236. for i, v in pairs(mw1:GetChildren()) do
  9237. if v:IsA("Part") then
  9238. v.Transparency = 0
  9239. v.BrickColor = BrickColor.random()
  9240. v.Material = "Neon"
  9241. end
  9242. end
  9243. for i, v in pairs(extrawingmod1:GetChildren()) do
  9244. if v:IsA("Part") then
  9245. v.Transparency = 0.5
  9246. v.BrickColor = BrickColor.random()
  9247. v.Material = "Neon"
  9248. end
  9249. end
  9250. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9251. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9252. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9253. gane.Color = ColorSequence.new(BrickColor.random().Color)
  9254. gan.Color = ColorSequence.new(BrickColor.random().Color)
  9255. end
  9256. end))
  9257.  
  9258. coroutine.resume(coroutine.create(function()
  9259. if ModeOfGlitch == 66 then
  9260. RecolorTextAndRename("B R O K E N G.U.E.S.T",BrickColor.random().Color,Color3.new(0,0,0),"Garamond")
  9261. end
  9262. end))
  9263.  
  9264. if chaosmode == false then
  9265. modet.Position = UDim2.new(0,0,0,0)
  9266. modet.Rotation = -5 * math.cos(sine / 32)
  9267. techc.Rotation = techc.Rotation + 1
  9268. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/200 - 1
  9269. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/175 + 1
  9270. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/175 + 1
  9271. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/150 - 1
  9272. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  9273. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  9274. else
  9275. techc.Rotation = techc.Rotation + 1
  9276. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  9277. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  9278. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  9279. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  9280. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  9281. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  9282. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  9283. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  9284. end
  9285. CameraManager()
  9286. swait()
  9287. 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)
  9288. 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)
  9289. 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)
  9290. 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)
  9291. 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)
  9292. 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)
  9293. 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)
  9294. 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)
  9295. 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)
  9296. 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)
  9297. 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)
  9298. 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)
  9299. sine = sine + change
  9300. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  9301. local velderp=RootPart.Velocity.y
  9302. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  9303. coroutine.resume(coroutine.create(function()
  9304. 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
  9305. if hitfloor ~= nil then
  9306. 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"))
  9307. if ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 13 then
  9308. 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)
  9309. end
  9310. end
  9311. end
  9312. end))
  9313. if equipped==true or equipped==false then
  9314. if attack==false then
  9315. idle=idle+1
  9316. else
  9317. idle=0
  9318. end
  9319. if idle>=500 then
  9320. if attack==false then
  9321. --Sheath()
  9322. end
  9323. end
  9324. if RootPart.Velocity.y > 1 and hitfloor==nil then
  9325. Anim="Jump"
  9326. if attack==false then
  9327. 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)
  9328. 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)
  9329. 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)
  9330. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  9331. 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)
  9332. 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)
  9333. end
  9334. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  9335. Anim="Fall"
  9336. if attack==false then
  9337. 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)
  9338. 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)
  9339. 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)
  9340. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  9341. 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)
  9342. 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)
  9343. end
  9344. elseif torvel<1 and hitfloor~=nil then
  9345. Anim="Idle"
  9346. if attack==false then
  9347. if ModeOfGlitch == 1 then
  9348. local snap = math.random(1,10)
  9349. if snap == 1 then
  9350. 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)
  9351. end
  9352. 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)
  9353. 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)
  9354. 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)
  9355. 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)
  9356. 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)
  9357. 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)
  9358. elseif ModeOfGlitch == 2 then
  9359. 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)
  9360. 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)
  9361. 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)
  9362. 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)
  9363. 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)
  9364. 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)
  9365. elseif ModeOfGlitch == 2 then
  9366. 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)
  9367. 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)
  9368. 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)
  9369. 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)
  9370. 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)
  9371. 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)
  9372. elseif ModeOfGlitch == 50 then
  9373. 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)
  9374. 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)
  9375. 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)
  9376. 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)
  9377. 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)
  9378. 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)
  9379. elseif ModeOfGlitch == 5555 then --5555
  9380. 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)
  9381. 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)
  9382. 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)
  9383. 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)
  9384. 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)
  9385. 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)
  9386. elseif ModeOfGlitch == 1002 then
  9387. 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)
  9388. 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)
  9389. 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)
  9390. 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)
  9391. 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)
  9392. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
  9393. elseif ModeOfGlitch == 12 then
  9394. 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)
  9395. 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)
  9396. 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)
  9397. 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)
  9398. 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)
  9399. 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)
  9400. elseif ModeOfGlitch == 3 then
  9401. local snap = math.random(1,32)
  9402. if snap == 1 then
  9403. 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)
  9404. end
  9405. 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)
  9406. 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)
  9407. 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)
  9408. 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)
  9409. 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)
  9410. 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)
  9411. elseif ModeOfGlitch == 4 then
  9412. local snap = math.random(1,5)
  9413. if snap == 1 then
  9414. 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)
  9415. 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)
  9416. 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)
  9417. end
  9418. 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)
  9419. 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)
  9420. 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)
  9421. 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)
  9422. 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)
  9423. 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)
  9424. elseif ModeOfGlitch == 66 then
  9425. local snap = math.random(1,2)
  9426. if snap == 1 then
  9427. 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)
  9428. 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)
  9429. 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)
  9430. end
  9431. 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)
  9432. 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)
  9433. 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)
  9434. 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)
  9435. 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)
  9436. 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)
  9437. elseif ModeOfGlitch == 5 then
  9438. 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)
  9439. 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)
  9440. 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)
  9441. 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)
  9442. 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)
  9443. 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)
  9444. elseif ModeOfGlitch == 6 then
  9445. 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)
  9446. 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)
  9447. 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)
  9448. 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)
  9449. 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)
  9450. 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)
  9451. elseif ModeOfGlitch == 13 then
  9452. 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)
  9453. 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)
  9454. 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)
  9455. 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)
  9456. 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)
  9457. 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)
  9458. elseif ModeOfGlitch == 8 then
  9459. 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)
  9460. 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)
  9461. 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)
  9462. 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)
  9463. 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)
  9464. 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)
  9465. elseif ModeOfGlitch == 9 then
  9466. 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)
  9467. 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))
  9468. 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)
  9469. 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)
  9470. 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)
  9471. 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)
  9472. 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)
  9473. 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)
  9474. elseif ModeOfGlitch == 1003 then
  9475. 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)
  9476. 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)
  9477. 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)
  9478. 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)
  9479. 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)
  9480. 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)
  9481.  
  9482. elseif ModeOfGlitch == 8889 then
  9483. 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)
  9484. 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)
  9485. 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)
  9486. 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)
  9487. 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)
  9488. 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)
  9489. elseif ModeOfGlitch == 1264532489 then
  9490. 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)
  9491. 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)
  9492. 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)
  9493. 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)
  9494. 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)
  9495. 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)
  9496. 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)
  9497. elseif ModeOfGlitch == 9999999921111 then --9999999921111
  9498. 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)
  9499. 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)
  9500. 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)
  9501. 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)
  9502. 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)
  9503. 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)
  9504. elseif ModeOfGlitch == 4367677813 then
  9505. 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)
  9506. 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)
  9507. 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)
  9508. 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)
  9509. 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)
  9510. 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)
  9511. elseif ModeOfGlitch == 55469696922 then --5555
  9512. 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)
  9513. 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)
  9514. 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)
  9515. 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)
  9516. 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)
  9517. 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)
  9518. elseif ModeOfGlitch == 999999999556 then
  9519. 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)
  9520. 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)
  9521. 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)
  9522. 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)
  9523. 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)
  9524. 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)
  9525. end
  9526. end
  9527. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  9528. Anim="Walk"
  9529. if attack==false and ModeOfGlitch ~= 66 then
  9530. 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)
  9531. 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)
  9532. 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)
  9533. 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)
  9534. 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)
  9535. 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)
  9536. elseif attack==false and ModeOfGlitch == 66 then
  9537. 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)
  9538. 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)
  9539. 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)
  9540. 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)
  9541. 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)
  9542. 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)
  9543. end
  9544. elseif torvel>=22 and hitfloor~=nil then
  9545. Anim="Run"
  9546. if attack==false then
  9547. 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
  9548. 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)
  9549. 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)
  9550. 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)
  9551. 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)
  9552. 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)
  9553. 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)
  9554. if ModeOfGlitch == 12 then
  9555. 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)
  9556. 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)
  9557. 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)
  9558. 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)
  9559. 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)
  9560. 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)
  9561. end
  9562. if ModeOfGlitch == 9 then
  9563. 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)
  9564. 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))
  9565. 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)
  9566. end
  9567. 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
  9568. 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)
  9569. 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)
  9570. 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)
  9571. 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)
  9572. 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)
  9573. 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)
  9574. elseif ModeOfGlitch == 13 then
  9575. 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)
  9576. 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)
  9577. 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)
  9578. 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)
  9579. 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)
  9580. 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)
  9581. end
  9582. end
  9583. end
  9584. end
  9585. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement