Advertisement
DrawingJhon

Cool Glitcher (FE)

May 7th, 2021
717
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86. local h,t
  87. --Give the server mouse data every second frame, but only if the values changed
  88. --If player is not moving their mouse, client won't fire events
  89. local HB = game:GetService("RunService").Heartbeat
  90. while true do
  91. if h~=Mouse.Hit or t~=Mouse.Target then
  92. h,t=Mouse.Hit,Mouse.Target
  93. Event:FireServer({isMouse=true,Target=t,Hit=h})
  94. end
  95. --Wait 2 frames
  96. for i=1,2 do
  97. HB:Wait()
  98. end
  99. end]==],script)
  100.  
  101. ----Sandboxed game object that allows the usage of client-side methods and services
  102. --Real game object
  103. local RealGame = game
  104.  
  105. --Metatable for fake service
  106. local FakeService_Metatable = {
  107. __index = function(self,k)
  108. local s = rawget(self,"_RealService")
  109. if s then
  110. return typeof(s[k])=="function"
  111. and function(_,...)return s[k](s,...)end or s[k]
  112. end
  113. end,
  114. __newindex = function(self,k,v)
  115. local s = rawget(self,"_RealService")
  116. if s then s[k]=v end
  117. end
  118. }
  119. local function FakeService(t,RealService)
  120. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  121. return setmetatable(t,FakeService_Metatable)
  122. end
  123.  
  124. --Fake game object
  125. local FakeGame = {
  126. GetService = function(self,s)
  127. return rawget(self,s) or RealGame:GetService(s)
  128. end,
  129. Players = FakeService({
  130. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  131. },"Players"),
  132. UserInputService = FakeService(UIS,"UserInputService"),
  133. ContextActionService = FakeService(CAS,"ContextActionService"),
  134. RunService = FakeService({
  135. _btrs = {},
  136. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  137. BindToRenderStep = function(self,name,_,fun)
  138. self._btrs[name] = self.Heartbeat:Connect(fun)
  139. end,
  140. UnbindFromRenderStep = function(self,name)
  141. self._btrs[name]:Disconnect()
  142. end,
  143. },"RunService")
  144. }
  145. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  146. FakeGame.service = FakeGame.GetService
  147. FakeService(FakeGame,game)
  148. --Changing owner to fake player object to support owner:GetMouse()
  149. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  150. end
  151.  
  152.  
  153. wait(0.2)
  154.  
  155.  
  156. warn([[SpectrumGlitcher v5 AWAKENED Loaded.
  157. The super switcher.
  158. Velnorum is one of the first wielders.
  159.  
  160. Created, Reworked by NoobyGames12
  161. Edited by GodzPlaysRB
  162. Edited by wanTH092 (Gam_Filano CH)
  163. SpectrumGlitcher Developers ^^^
  164. ]])
  165.  
  166.  
  167. ------------- ORIGINAL WIELDER OC: Velnorum
  168. print([[Icons:
  169. ! = New
  170. ? = Spoilers
  171. * = Exclusivity
  172. C = Changes
  173.  
  174. ]])
  175. warn([[V 7.5 Update Log:
  176. C: Changed everything to guest xd
  177. ]])
  178. --- its obs smooth af do not touch
  179. ---- Sources and functions might be taken from others
  180. plr = owner
  181. char = plr.Character
  182. hum = char.Humanoid
  183. local cam = game.Workspace.CurrentCamera
  184. Camera = cam
  185. mouse = plr:GetMouse()
  186. local CamInterrupt = false
  187. local TwoD = false
  188. local TargetInfo = {nil, nil}
  189. cam.CameraType = "Custom"
  190. t = char.Torso
  191. h = char.Head
  192. ra = char["Right Arm"]
  193. la = char["Left Arm"]
  194. rl = char["Right Leg"]
  195. ll = char["Left Leg"]
  196. tors = char.Torso
  197. lleg = char["Left Leg"]
  198. root = char.HumanoidRootPart
  199. hed = char.Head
  200. rleg = char["Right Leg"]
  201. rarm = char["Right Arm"]
  202. larm = char["Left Arm"]
  203. radian = math.rad
  204. random = math.random
  205. Vec3 = Vector3.new
  206. Inst = Instance.new
  207. cFrame = CFrame.new
  208. Euler = CFrame.fromEulerAnglesXYZ
  209. vt = Vector3.new
  210. bc = BrickColor.new
  211. br = BrickColor.random
  212. it = Instance.new
  213. cf = CFrame.new
  214. local Player_Size = 0
  215. cam = game.Workspace.CurrentCamera
  216. CF = CFrame.new
  217. angles = CFrame.Angles
  218. attack = false
  219. Euler = CFrame.fromEulerAnglesXYZ
  220. Rad = math.rad
  221. IT = Instance.new
  222. BrickC = BrickColor.new
  223. Cos = math.cos
  224. Acos = math.acos
  225. Sin = math.sin
  226. Asin = math.asin
  227. Abs = math.abs
  228. Mrandom = math.random
  229. Floor = math.floor
  230. IT = Instance.new
  231. CF = CFrame.new
  232. VT = Vector3.new
  233. RAD = math.rad
  234. C3 = Color3.new
  235. UD2 = UDim2.new
  236. BRICKC = BrickColor.new
  237. ANGLES = CFrame.Angles
  238. EULER = CFrame.fromEulerAnglesXYZ
  239. COS = math.cos
  240. ACOS = math.acos
  241. SIN = math.sin
  242. ASIN = math.asin
  243. ABS = math.abs
  244. MRANDOM = math.random
  245. FLOOR = math.floor
  246. local SINE = 0
  247.  
  248. local Booleans = {
  249. CamFollow = true,
  250. GyroUse = true
  251. }
  252.  
  253. function lerp(object, newCFrame, alpha)
  254. return object:lerp(newCFrame, alpha)
  255. end
  256.  
  257. local Directer = Inst("BodyGyro", root)
  258. Directer.MaxTorque = Vec3(0, 0, 0)
  259. Directer.P = 600000
  260. local CPart = Inst("Part")
  261. CPart.Anchored = true
  262. CPart.CanCollide = false
  263. CPart.Locked = true
  264. CPart.Transparency = 1
  265.  
  266. local rainbowmode = false
  267. local chaosmode = false
  268.  
  269. local kan = Instance.new("Sound",tors)
  270. kan.Volume = 0.85
  271. kan.TimePosition = 0
  272. kan.PlaybackSpeed = 1
  273. kan.Pitch = 1
  274. kan.SoundId = "rbxassetid://1255569288"
  275. kan.Name = "wrecked"
  276. kan.Looped = true
  277. kan:Play()
  278.  
  279. local currentThemePlaying = kan.SoundId
  280. local currentPitch = kan.Pitch
  281. local currentVol = kan.Volume
  282. function newTheme(ID,timepos,pitch,vol)
  283. local kanz = kan
  284. --kanz:Stop()
  285. kanz.Volume = vol
  286. --kanz.TimePosition = timepos
  287. kanz.PlaybackSpeed = pitch
  288. kanz.Pitch = pitch
  289. kanz.SoundId = ID
  290. kanz.Name = "wrecked"
  291. kanz.Looped = true
  292. currentThemePlaying = kanz.SoundId
  293. currentVol = kanz.Volume
  294. currentPitch = kanz.Pitch
  295. --kanz:Play()
  296. --coroutine.resume(coroutine.create(function()
  297. --wait(0.05)
  298. --end))
  299. end
  300.  
  301. function newThemeCust(ID,timepos,pitch,vol)
  302. local kanz = kan
  303. kanz:Stop()
  304. kanz.Volume = vol
  305. kanz.TimePosition = timepos
  306. kanz.PlaybackSpeed = pitch
  307. kanz.Pitch = pitch
  308. kanz.SoundId = ID
  309. kanz.Name = "wrecked"
  310. kanz.Looped = true
  311. currentThemePlaying = kanz.SoundId
  312. currentVol = kanz.Volume
  313. currentPitch = kanz.Pitch
  314. kanz:Play()
  315. coroutine.resume(coroutine.create(function()
  316. wait(0.05)
  317. end))
  318. end
  319.  
  320. local mutedtog = false
  321.  
  322. function CameraEnshaking(Length,Intensity)
  323. coroutine.resume(coroutine.create(function()
  324. local intensity = 1*Intensity
  325. local rotM = 0.01*Intensity
  326. for i = 0, Length, 0.1 do
  327. swait()
  328. intensity = intensity - 0.05*Intensity/Length
  329. rotM = rotM - 0.0005*Intensity/Length
  330. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  331. 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)
  332. end
  333. Humanoid.CameraOffset = Vec3(0, 0, 0)
  334. end))
  335. end
  336. CamShake=function(Part,Distan,Power,Times)
  337. local de=Part.Position
  338. for i,v in pairs(workspace:children()) do
  339. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  340. for _,c in pairs(v:children()) do
  341. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  342. local Noob=v.Humanoid
  343. if Noob~=nil then
  344. coroutine.resume(coroutine.create(function()
  345. FV = Instance.new("BoolValue", Noob)
  346. FV.Name = "CameraShake"
  347. for ShakeNum=1,Times do
  348. swait()
  349. local ef=Power
  350. if ef>=1 then
  351. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  352. else
  353. ef=Power*10
  354. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  355. end
  356. end
  357. Humanoid.CameraOffset = Vector3.new(0,0,0)
  358. FV:Destroy()
  359. end))
  360. CameraShake(Times, Power, Noob)
  361. end
  362. end
  363. end
  364. end
  365. end
  366. end
  367.  
  368. local toggleTag = true
  369. local bilguit = Instance.new("BillboardGui", hed)
  370. bilguit.Adornee = nil
  371. bilguit.Name = "ModeName"
  372. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  373. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  374. local modet = Instance.new("TextLabel", bilguit)
  375. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  376. modet.FontSize = "Size8"
  377. modet.TextScaled = true
  378. modet.TextTransparency = 0
  379. modet.BackgroundTransparency = 1
  380. modet.TextTransparency = 0
  381. modet.TextStrokeTransparency = 0
  382. modet.Font = "Antique"
  383. modet.TextStrokeColor3 = Color3.new(1,0,0)
  384. modet.TextColor3 = Color3.new(0.25,0,0)
  385. modet.Text = "SOLITUDE"
  386.  
  387.  
  388. function chatfunc(text,color,typet,font,timeex)
  389. local chat = coroutine.wrap(function()
  390. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  391. Character:FindFirstChild("TalkingBillBoard"):destroy()
  392. end
  393. local naeeym2 = Instance.new("BillboardGui",Character)
  394. naeeym2.Size = UDim2.new(0,100,0,40)
  395. naeeym2.StudsOffset = Vector3.new(0,3,0)
  396. naeeym2.Adornee = Character.Head
  397. naeeym2.Name = "TalkingBillBoard"
  398. local tecks2 = Instance.new("TextLabel",naeeym2)
  399. tecks2.BackgroundTransparency = 1
  400. tecks2.BorderSizePixel = 0
  401. tecks2.Text = ""
  402. tecks2.Font = font
  403. tecks2.TextSize = 30
  404. tecks2.TextStrokeTransparency = 0
  405. tecks2.TextColor3 = color
  406. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  407. tecks2.Size = UDim2.new(1,0,0.5,0)
  408. local tecks3 = Instance.new("TextLabel",naeeym2)
  409. tecks3.BackgroundTransparency = 1
  410. tecks3.BorderSizePixel = 0
  411. tecks3.Text = ""
  412. tecks3.Font = font
  413. tecks3.TextSize = 30
  414. tecks3.TextStrokeTransparency = 0
  415. if typet == "Inverted" then
  416. tecks3.TextColor3 = Color3.new(0,0,0)
  417. tecks3.TextStrokeColor3 = color
  418. elseif typet == "Normal" then
  419. tecks3.TextColor3 = color
  420. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  421. end
  422. tecks3.Size = UDim2.new(1,0,0.5,0)
  423. coroutine.resume(coroutine.create(function()
  424. while true do
  425. swait(1)
  426. if chaosmode == true then
  427. tecks2.TextColor3 = BrickColor.random().Color
  428. tecks3.TextStrokeColor3 = BrickColor.random().Color
  429. end
  430. end
  431. end))
  432. modet.TextTransparency = modet.TextTransparency + 1
  433. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  434. for i = 0, 74*timeex do
  435. swait()
  436. modet.TextTransparency = 1
  437. modet.TextStrokeTransparency = 1
  438. tecks2.Text = text
  439. tecks3.Text = text
  440. end
  441. local randomrot = math.random(1,2)
  442. if randomrot == 1 then
  443. for i = 1, 50 do
  444. swait()
  445. tecks2.Text = text
  446. tecks3.Text = text
  447. modet.TextTransparency = modet.TextTransparency - .02
  448. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  449. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  450. tecks2.TextTransparency = tecks2.TextTransparency + .04
  451. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  452. tecks3.TextTransparency = tecks2.TextTransparency + .04
  453. end
  454. elseif randomrot == 2 then
  455. for i = 1, 50 do
  456. swait()
  457. tecks2.Text = text
  458. tecks3.Text = text
  459. modet.TextTransparency = modet.TextTransparency - .02
  460. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  461. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  462. tecks2.TextTransparency = tecks2.TextTransparency + .04
  463. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  464. tecks3.TextTransparency = tecks2.TextTransparency + .04
  465. end
  466. end
  467. modet.TextTransparency = 0
  468. modet.TextStrokeTransparency = 0
  469. if toggleTag == false then
  470. modet.TextTransparency = 1
  471. modet.TextStrokeTransparency = 1
  472. end
  473. naeeym2:Destroy()
  474. end)
  475. chat()
  476. end
  477.  
  478. function bosschatfunc(text,color,watval)
  479. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  480. coroutine.resume(coroutine.create(function()
  481. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  482. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  483. end
  484. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  485. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  486. scrg.Name = "Dialog"
  487. local txtlb = Instance.new("TextLabel",scrg)
  488. txtlb.Text = ""
  489. txtlb.Font = "Bodoni"
  490. txtlb.TextColor3 = Color3.new(0,0,0)
  491. txtlb.TextStrokeTransparency = 0
  492. txtlb.BackgroundTransparency = 0.75
  493. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  494. txtlb.TextStrokeColor3 = color
  495. txtlb.TextScaled = true
  496. txtlb.Size = UDim2.new(1,0,0.25,0)
  497. txtlb.TextXAlignment = "Left"
  498. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  499. local txtlb2 = Instance.new("TextLabel",scrg)
  500. txtlb2.Text = plr.Name.." The Guest:"
  501. txtlb2.Font = "Antique"
  502. txtlb2.TextColor3 = Color3.new(0,0,0)
  503. txtlb2.TextStrokeTransparency = 0
  504. txtlb2.BackgroundTransparency = 1
  505. txtlb2.TextStrokeColor3 = color
  506. txtlb2.TextSize = 40
  507. txtlb2.Size = UDim2.new(1,0,0.25,0)
  508. txtlb2.TextXAlignment = "Left"
  509. txtlb2.Position = UDim2.new(0,0,1,0)
  510. local fvalen = 0.55
  511. local fval = -0.49
  512. coroutine.resume(coroutine.create(function()
  513. while true do
  514. swait()
  515. if chaosmode == true then
  516. txtlb.Rotation = math.random(-1,1)
  517. txtlb2.Rotation = math.random(-1,1)
  518. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  519. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  520. txtlb.TextStrokeColor3 = BrickColor.random().Color
  521. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  522. end
  523. end
  524. end))
  525. coroutine.resume(coroutine.create(function()
  526. while true do
  527. swait()
  528. if scrg.Parent ~= nil then
  529. fvalen = fvalen - 0.0001
  530. elseif scrg.Parent == nil then
  531. break
  532. end
  533. end
  534. end))
  535. local flol = 1.75
  536. local flil = 1.6
  537. coroutine.resume(coroutine.create(function()
  538. for i = 0, 9 do
  539. swait()
  540. fval = fval + 0.05
  541. flol = flol - 0.1
  542. flil = flil - 0.1
  543. txtlb.Text = ""
  544. txtlb.Position = UDim2.new(0,0,flol,0)
  545. txtlb2.Position = UDim2.new(0,0,flil,0)
  546. end
  547. txtlb.Text = text
  548. wait(watval)
  549. local valinc = 0
  550. for i = 0, 99 do
  551. swait()
  552. valinc = valinc + 0.0001
  553. flol = flol + valinc
  554. flil = flil + valinc
  555. txtlb.Rotation = txtlb.Rotation + valinc*20
  556. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  557. txtlb.Position = UDim2.new(0,0,flol,0)
  558. txtlb2.Position = UDim2.new(0,0,flil,0)
  559. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  560. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  561. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  562. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  563. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  564. end
  565. scrg:Destroy()
  566. end))
  567. end))
  568. end
  569. end
  570.  
  571.  
  572. local Create = LoadLibrary("RbxUtility").Create
  573.  
  574. CFuncs = {
  575. ["Part"] = {
  576. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  577. local Part = Create("Part"){
  578. Parent = Parent,
  579. Reflectance = Reflectance,
  580. Transparency = Transparency,
  581. CanCollide = false,
  582. Locked = true,
  583. BrickColor = BrickColor.new(tostring(BColor)),
  584. Name = Name,
  585. Size = Size,
  586. Material = Material,
  587. }
  588. RemoveOutlines(Part)
  589. return Part
  590. end;
  591. };
  592.  
  593. ["Mesh"] = {
  594. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  595. local Msh = Create(Mesh){
  596. Parent = Part,
  597. Offset = OffSet,
  598. Scale = Scale,
  599. }
  600. if Mesh == "SpecialMesh" then
  601. Msh.MeshType = MeshType
  602. Msh.MeshId = MeshId
  603. end
  604. return Msh
  605. end;
  606. };
  607.  
  608. ["Mesh"] = {
  609. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  610. local Msh = Create(Mesh){
  611. Parent = Part,
  612. Offset = OffSet,
  613. Scale = Scale,
  614. }
  615. if Mesh == "SpecialMesh" then
  616. Msh.MeshType = MeshType
  617. Msh.MeshId = MeshId
  618. end
  619. return Msh
  620. end;
  621. };
  622.  
  623. ["Weld"] = {
  624. Create = function(Parent, Part0, Part1, C0, C1)
  625. local Weld = Create("Weld"){
  626. Parent = Parent,
  627. Part0 = Part0,
  628. Part1 = Part1,
  629. C0 = C0,
  630. C1 = C1,
  631. }
  632. return Weld
  633. end;
  634. };
  635.  
  636. ["Sound"] = {
  637. Create = function(id, par, vol, pit)
  638. coroutine.resume(coroutine.create(function()
  639. local S = Create("Sound"){
  640. Volume = vol,
  641. Name = "EffectSoundo",
  642. Pitch = pit or 1,
  643. SoundId = id,
  644. Parent = par or workspace,
  645. }
  646. wait()
  647. S:play()
  648. game:GetService("Debris"):AddItem(S, 10)
  649. end))
  650. end;
  651. };
  652.  
  653. ["TimeSound"] = {
  654. Create = function(id, par, vol, pit, timepos)
  655. coroutine.resume(coroutine.create(function()
  656. local S = Create("Sound"){
  657. Volume = vol,
  658. Name = "EffectSoundo",
  659. Pitch = pit or 1,
  660. SoundId = id,
  661. TimePosition = timepos,
  662. Parent = par or workspace,
  663. }
  664. wait()
  665. S:play()
  666. game:GetService("Debris"):AddItem(S, 10)
  667. end))
  668. end;
  669. };
  670. ["EchoSound"] = {
  671. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  672. coroutine.resume(coroutine.create(function()
  673. local Sas = Create("Sound"){
  674. Volume = vol,
  675. Name = "EffectSoundo",
  676. Pitch = pit or 1,
  677. SoundId = id,
  678. TimePosition = timepos,
  679. Parent = par or workspace,
  680. }
  681. local E = Create("EchoSoundEffect"){
  682. Delay = echodelay,
  683. Name = "Echo",
  684. Feedback = fedb,
  685. DryLevel = dryl,
  686. Parent = Sas,
  687. }
  688. wait()
  689. Sas:play()
  690. game:GetService("Debris"):AddItem(Sas, delays)
  691. end))
  692. end;
  693. };
  694.  
  695. ["LongSound"] = {
  696. Create = function(id, par, vol, pit)
  697. coroutine.resume(coroutine.create(function()
  698. local S = Create("Sound"){
  699. Volume = vol,
  700. Pitch = pit or 1,
  701. SoundId = id,
  702. Parent = par or workspace,
  703. }
  704. wait()
  705. S:play()
  706. game:GetService("Debris"):AddItem(S, 60)
  707. end))
  708. end;
  709. };
  710.  
  711. ["ParticleEmitter"] = {
  712. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  713. local fp = Create("ParticleEmitter"){
  714. Parent = Parent,
  715. Color = ColorSequence.new(Color1, Color2),
  716. LightEmission = LightEmission,
  717. Size = Size,
  718. Texture = Texture,
  719. Transparency = Transparency,
  720. ZOffset = ZOffset,
  721. Acceleration = Accel,
  722. Drag = Drag,
  723. LockedToPart = LockedToPart,
  724. VelocityInheritance = VelocityInheritance,
  725. EmissionDirection = EmissionDirection,
  726. Enabled = Enabled,
  727. Lifetime = LifeTime,
  728. Rate = Rate,
  729. Rotation = Rotation,
  730. RotSpeed = RotSpeed,
  731. Speed = Speed,
  732. VelocitySpread = VelocitySpread,
  733. }
  734. return fp
  735. end;
  736. };
  737.  
  738. CreateTemplate = {
  739.  
  740. };
  741. }
  742.  
  743.  
  744.  
  745. New = function(Object, Parent, Name, Data)
  746. local Object = Instance.new(Object)
  747. for Index, Value in pairs(Data or {}) do
  748. Object[Index] = Value
  749. end
  750. Object.Parent = Parent
  751. Object.Name = Name
  752. return Object
  753. end
  754. local halocolor = BrickColor.new("Pastel light blue")
  755. local halocolor2 = BrickColor.new("Cool yellow")
  756. local starcolor = BrickColor.new("Bright yellow")
  757. local lunacolor = BrickColor.new("Navy blue")
  758. local lunacolor2 = BrickColor.new("Bright blue")
  759. local wepcolor = BrickColor.new("Really black")
  760. local maincolor = BrickColor.new("Really black")
  761. local m = Instance.new("Model",char)
  762. local m2 = Instance.new("Model",char)
  763. local m3 = Instance.new("Model",char)
  764. local mw1 = Instance.new("Model",char)
  765. local mw2 = Instance.new("Model",char)
  766.  
  767.  
  768. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  769. local gui = it(GuiType)
  770. gui.Parent = parent
  771. gui.Text = text
  772. gui.BackgroundTransparency = backtrans
  773. gui.BackgroundColor3 = backcol
  774. gui.SizeConstraint = "RelativeXY"
  775. gui.TextXAlignment = "Center"
  776. gui.TextYAlignment = "Center"
  777. gui.Position = pos
  778. gui.Size = size
  779. gui.Font = "SourceSans"
  780. gui.FontSize = "Size14"
  781. gui.TextWrapped = false
  782. gui.TextStrokeTransparency = 0
  783. gui.TextColor = BrickColor.new("White")
  784. return gui
  785. end
  786. --------------------------- GUI STUFF
  787. local basgui = it("GuiMain")
  788. basgui.Parent = plr.PlayerGui
  789. basgui.Name = "VISgui"
  790. local fullscreenz = it("Frame")
  791. fullscreenz.Parent = basgui
  792. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  793. fullscreenz.BackgroundTransparency = 1
  794. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  795. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  796. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  797. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  798. imgl2.BackgroundTransparency = 1
  799. imgl2.BorderSizePixel = 0
  800. imgl2.ImageTransparency = 0.5
  801. imgl2.ImageColor3 = Color3.new(1,0,0)
  802. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  803. imgl2.Size = UDim2.new(0,1000,0,1000)
  804. imgl2.Image = "rbxassetid://2325939897"
  805. local techc = imgl2:Clone()
  806. techc.Parent = fullscreenz
  807. techc.ImageTransparency = 0
  808. techc.Size = UDim2.new(0,900,0,900)
  809. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  810. techc.ImageColor3 = Color3.new(1,0,0)
  811. techc.Image = "rbxassetid://2273224484"
  812. local circl = imgl2:Clone()
  813. circl.Parent = fullscreenz
  814. circl.ImageTransparency = 0
  815. circl.Size = UDim2.new(0,550,0,550)
  816. circl.Position = UDim2.new(0.75,25,0.55,25)
  817. circl.ImageColor3 = Color3.new(0,0,0)
  818. circl.Image = "rbxassetid://2312119891"
  819. local circl2 = imgl2:Clone()
  820. circl2.Parent = fullscreenz
  821. circl2.ImageTransparency = 0
  822. circl2.Size = UDim2.new(0,700,0,700)
  823. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  824. circl2.ImageColor3 = Color3.new(1,0,0)
  825. circl2.Image = "rbxassetid://2312119891"
  826. local imgl2b = imgl2:Clone()
  827. imgl2b.Parent = fullscreenz
  828. imgl2b.ImageTransparency = 0
  829. imgl2b.Size = UDim2.new(0,800,0,800)
  830. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  831. imgl2b.ImageColor3 = Color3.new(0,0,0)
  832. local ned = Instance.new("TextLabel",fullscreenz)
  833. ned.ZIndex = 2
  834. ned.Font = "Arcade"
  835. ned.BackgroundTransparency = 1
  836. ned.BorderSizePixel = 0.65
  837. ned.Size = UDim2.new(0.3,0,0.2,0)
  838. ned.Position = UDim2.new(0.7,0,0.8,0)
  839. ned.TextColor3 = BrickColor.new("Black").Color
  840. ned.TextStrokeColor3 = BrickColor.new("Black").Color
  841. ned.TextScaled = true
  842. ned.TextStrokeTransparency = 0
  843. ned.Text = "SOLITUDE"
  844. ned.TextSize = 24
  845. ned.Rotation = 1
  846. ned.TextXAlignment = "Right"
  847. ned.TextYAlignment = "Bottom"
  848.  
  849. local extrawingmod1 = Instance.new("Model",char)
  850. local extrawingmod2 = Instance.new("Model",char)
  851.  
  852. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  853. local p = Instance.new("Part")
  854. p.TopSurface = 0
  855. p.BottomSurface = 0
  856. p.Parent = parent
  857. p.Size = Vector3.new(0.1,0.1,0.1)
  858. p.Transparency = transparency
  859. p.Reflectance = reflectance
  860. p.CanCollide = false
  861. p.Locked = true
  862. p.BrickColor = brickcolor
  863. p.Material = material
  864. return p
  865. end
  866.  
  867. function CreateMesh(parent,meshtype,x1,y1,z1)
  868. local mesh = Instance.new("SpecialMesh",parent)
  869. mesh.MeshType = meshtype
  870. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  871. return mesh
  872. end
  873.  
  874. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  875. local mesh = Instance.new("SpecialMesh",parent)
  876. mesh.MeshType = "FileMesh"
  877. mesh.MeshId = meshid
  878. mesh.Scale = Vector3.new(x1,y1,z1)
  879. return mesh
  880. end
  881.  
  882.  
  883. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  884. local mesh = Instance.new("SpecialMesh",parent)
  885. mesh.MeshType = "FileMesh"
  886. mesh.MeshId = meshid
  887. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  888. mesh.Scale = Vector3.new(x1,y1,z1)
  889. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  890. return mesh
  891. end
  892.  
  893. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  894. local weld = Instance.new("Weld")
  895. weld.Parent = parent
  896. weld.Part0 = part0
  897. weld.Part1 = part1
  898. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  899. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  900. return weld
  901. end
  902.  
  903.  
  904. --------------
  905. --------------
  906. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  907. 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))
  908. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  909. 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))
  910.  
  911. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  912. CreateMesh(handle,"Brick",0,0,0)
  913. 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))
  914. local valuaring = 10
  915. for i = 0, 49 do
  916. valuaring = valuaring + 10
  917. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  918. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  919. 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))
  920. end
  921.  
  922. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  923. CreateMesh(handle,"Brick",0,0,0)
  924. 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))
  925. local valuaring = 10
  926. for i = 0, 49 do
  927. valuaring = valuaring + 10
  928. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  929. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  930. 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))
  931. end
  932.  
  933.  
  934. local handle = CreateParta(m,1,1,"Neon",maincolor)
  935. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  936. 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))
  937.  
  938. --- Left wing.
  939.  
  940. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  941. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  942. 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))
  943.  
  944. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  945. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  946. 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))
  947. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  948. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  949. 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))
  950. A0 = Instance.new('Attachment',wed)
  951. A0.Position = vt(0,0.25,0.25)
  952. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  953. CreateMesh(wed,"Wedge",0.05,0.5,3)
  954. 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))
  955. A1 = Instance.new('Attachment',wed)
  956. A1.Position = vt(0,-0.25,-2)
  957. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  958. CreateMesh(wed,"Wedge",0.05,3,0.5)
  959. 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))
  960.  
  961. tl1 = Instance.new('Trail',wed)
  962. tl1.Attachment0 = A1
  963. tl1.Attachment1 = A0
  964. tl1.Texture = "rbxassetid://2108945559"
  965. tl1.LightEmission = 1
  966. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  967. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  968. tl1.Lifetime = 0.6
  969.  
  970.  
  971. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  972. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  973. 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))
  974.  
  975. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  976. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  977. 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))
  978. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  979. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  980. 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))
  981. A0 = Instance.new('Attachment',wed)
  982. A0.Position = vt(0,0.25,0.25)
  983. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  984. CreateMesh(wed,"Wedge",0.05,0.5,3)
  985. 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))
  986. A1 = Instance.new('Attachment',wed)
  987. A1.Position = vt(0,-0.25,-2)
  988. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  989. CreateMesh(wed,"Wedge",0.05,3,0.5)
  990. 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))
  991.  
  992. tl2 = Instance.new('Trail',wed)
  993. tl2.Attachment0 = A1
  994. tl2.Attachment1 = A0
  995. tl2.Texture = "rbxassetid://2108945559"
  996. tl2.LightEmission = 1
  997. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  998. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  999. tl2.Lifetime = 0.6
  1000.  
  1001. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1002. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1003. 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))
  1004.  
  1005. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1006. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1007. 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))
  1008. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1009. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1010. 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))
  1011. A0 = Instance.new('Attachment',wed)
  1012. A0.Position = vt(0,0.25,0.25)
  1013. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1014. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1015. 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))
  1016. A1 = Instance.new('Attachment',wed)
  1017. A1.Position = vt(0,-0.25,-2)
  1018. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1019. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1020. 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))
  1021.  
  1022. tl3 = Instance.new('Trail',wed)
  1023. tl3.Attachment0 = A1
  1024. tl3.Attachment1 = A0
  1025. tl3.Texture = "rbxassetid://2108945559"
  1026. tl3.LightEmission = 1
  1027. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1028. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1029. tl3.Lifetime = 0.6
  1030.  
  1031. tl1.Enabled = false
  1032. tl2.Enabled = false
  1033. tl3.Enabled = false
  1034. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1035. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1036. 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))
  1037.  
  1038. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1039. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1040. 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))
  1041. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1042. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1043. 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))
  1044. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1045. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1046. 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))
  1047. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1048. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1049. 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))
  1050.  
  1051. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1052. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1053. 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))
  1054.  
  1055. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1056. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1057. 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))
  1058. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1059. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1060. 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))
  1061. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1062. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1063. 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))
  1064. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1065. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1066. 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))
  1067.  
  1068. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1069. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1070. 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))
  1071.  
  1072. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1073. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1074. 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))
  1075. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1076. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1077. 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))
  1078. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1079. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1080. 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))
  1081. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1082. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1083. 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))
  1084.  
  1085. -- Right wing.
  1086.  
  1087. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1088. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1089. 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))
  1090.  
  1091. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1092. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1093. 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))
  1094. A0 = Instance.new('Attachment',wed)
  1095. A0.Position = vt(0,0.25,0.25)
  1096. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1097. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1098. 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))
  1099. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1100. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1101. 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))
  1102. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1103. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1104. 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))
  1105. A1 = Instance.new('Attachment',wed)
  1106. A1.Position = vt(0,2,0.25)
  1107.  
  1108. tr1 = Instance.new('Trail',wed)
  1109. tr1.Attachment0 = A1
  1110. tr1.Attachment1 = A0
  1111. tr1.Texture = "rbxassetid://2108945559"
  1112. tr1.LightEmission = 1
  1113. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1114. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1115. tr1.Lifetime = 0.6
  1116.  
  1117. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1118. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1119. 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))
  1120.  
  1121. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1122. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1123. 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))
  1124. A0 = Instance.new('Attachment',wed)
  1125. A0.Position = vt(0,0.25,0.25)
  1126. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1127. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1128. 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))
  1129. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1130. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1131. 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))
  1132. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1133. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1134. 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))
  1135. A1 = Instance.new('Attachment',wed)
  1136. A1.Position = vt(0,2,0.25)
  1137.  
  1138. tr2 = Instance.new('Trail',wed)
  1139. tr2.Attachment0 = A1
  1140. tr2.Attachment1 = A0
  1141. tr2.Texture = "rbxassetid://2108945559"
  1142. tr2.LightEmission = 1
  1143. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1144. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1145. tr2.Lifetime = 0.6
  1146.  
  1147. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1148. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1149. 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))
  1150.  
  1151. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1152. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1153. 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))
  1154. A0 = Instance.new('Attachment',wed)
  1155. A0.Position = vt(0,0.25,0.25)
  1156. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1157. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1158. 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))
  1159. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1160. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1161. 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))
  1162. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1163. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1164. 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))
  1165. A1 = Instance.new('Attachment',wed)
  1166. A1.Position = vt(0,2,0.25)
  1167.  
  1168. tr3 = Instance.new('Trail',wed)
  1169. tr3.Attachment0 = A1
  1170. tr3.Attachment1 = A0
  1171. tr3.Texture = "rbxassetid://2108945559"
  1172. tr3.LightEmission = 1
  1173. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1174. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1175. tr3.Lifetime = 0.6
  1176.  
  1177.  
  1178. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1179. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1180. 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))
  1181.  
  1182. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1183. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1184. 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))
  1185. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1186. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1187. 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))
  1188. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1189. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1190. 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))
  1191. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1192. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1193. 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))
  1194.  
  1195. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1196. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1197. 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))
  1198.  
  1199. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1200. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1201. 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))
  1202. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1203. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1204. 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))
  1205. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1206. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1207. 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))
  1208. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1209. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1210. 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))
  1211.  
  1212. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1213. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1214. 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))
  1215.  
  1216. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1217. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1218. 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))
  1219. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1220. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1221. 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))
  1222. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1223. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1224. 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))
  1225. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1226. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1227. 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))
  1228.  
  1229. --HERES THE RING
  1230.  
  1231.  
  1232. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1233. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1234. 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))
  1235. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1236. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1237. 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))
  1238. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1239. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1240. 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))
  1241.  
  1242.  
  1243. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1244. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1245. 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))
  1246.  
  1247. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1248. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1249. 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))
  1250.  
  1251.  
  1252.  
  1253. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1254. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1255. 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))
  1256.  
  1257. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1258. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1259. 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))
  1260.  
  1261. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1262. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1263. 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))
  1264.  
  1265. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1266. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1267. 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))
  1268. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1269. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1270. 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))]]--
  1271.  
  1272. --- second ring
  1273.  
  1274.  
  1275. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1276. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1277. 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))
  1278.  
  1279. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1280. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1281. 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))
  1282.  
  1283.  
  1284.  
  1285. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1286. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1287. 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))
  1288.  
  1289. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1290. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1291. 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))
  1292.  
  1293. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1294. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1295. 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))
  1296.  
  1297. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1298. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1299. 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))
  1300. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1301. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1302. 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))
  1303.  
  1304.  
  1305.  
  1306. for i, v in pairs(m:GetChildren()) do
  1307. if v:IsA("Part") then
  1308. v.BrickColor = BrickColor.new("Really black")
  1309. v.Material = "Glass"
  1310. end
  1311. end
  1312. for i, v in pairs(m2:GetChildren()) do
  1313. if v:IsA("Part") then
  1314. v.BrickColor = BrickColor.new("Crimson")
  1315. v.Material = "Granite"
  1316. end
  1317. end
  1318. for i, v in pairs(m3:GetChildren()) do
  1319. if v:IsA("Part") then
  1320. v.BrickColor = BrickColor.new("Really red")
  1321. v.Material = "Neon"
  1322. end
  1323. end
  1324. for i, v in pairs(mw2:GetChildren()) do
  1325. if v:IsA("Part") then
  1326. v.BrickColor = BrickColor.new("Really red")
  1327. v.Material = "Neon"
  1328. end
  1329. end
  1330. for i, v in pairs(mw1:GetChildren()) do
  1331. if v:IsA("Part") then
  1332. v.Transparency = 1
  1333. v.BrickColor = BrickColor.new("Really red")
  1334. v.Material = "Neon"
  1335. end
  1336. end
  1337. for i, v in pairs(extrawingmod1:GetChildren()) do
  1338. if v:IsA("Part") then
  1339. v.Transparency = 1
  1340. v.BrickColor = BrickColor.new("White")
  1341. v.Material = "Neon"
  1342. end
  1343. end
  1344. for i, v in pairs(extrawingmod2:GetChildren()) do
  1345. if v:IsA("Part") then
  1346. v.Transparency = 1
  1347. v.BrickColor = BrickColor.new("White")
  1348. v.Material = "Neon"
  1349. end
  1350. end
  1351. local MAINRUINCOLOR = BrickColor.new("Really red")
  1352. ------
  1353.  
  1354.  
  1355. function RemoveOutlines(part)
  1356. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1357. end
  1358. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1359. local Part = Create("Part")({
  1360. Parent = Parent,
  1361. Reflectance = Reflectance,
  1362. Transparency = Transparency,
  1363. CanCollide = false,
  1364. Locked = true,
  1365. BrickColor = BrickColor.new(tostring(BColor)),
  1366. Name = Name,
  1367. Size = Size,
  1368. Material = Material
  1369. })
  1370. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1371. RemoveOutlines(Part)
  1372. return Part
  1373. end
  1374. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1375. local Msh = Create(Mesh)({
  1376. Parent = Part,
  1377. Offset = OffSet,
  1378. Scale = Scale
  1379. })
  1380. if Mesh == "SpecialMesh" then
  1381. Msh.MeshType = MeshType
  1382. Msh.MeshId = MeshId
  1383. end
  1384. return Msh
  1385. end
  1386. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1387. local Weld = Create("Weld")({
  1388. Parent = Parent,
  1389. Part0 = Part0,
  1390. Part1 = Part1,
  1391. C0 = C0,
  1392. C1 = C1
  1393. })
  1394. return Weld
  1395. end
  1396.  
  1397. Player = plr
  1398. Character=Player.Character
  1399. PlayerGui=Player.PlayerGui
  1400. Backpack=Player.Backpack
  1401. Torso=Character.Torso
  1402. Head=Character.Head
  1403. Humanoid=Character.Humanoid
  1404. m=Instance.new('Model',Character)
  1405. LeftArm=Character["Left Arm"]
  1406. LeftLeg=Character["Left Leg"]
  1407. RightArm=Character["Right Arm"]
  1408. RightLeg=Character["Right Leg"]
  1409. LS=Torso["Left Shoulder"]
  1410. LH=Torso["Left Hip"]
  1411. RS=Torso["Right Shoulder"]
  1412. RH=Torso["Right Hip"]
  1413. Face = Head.face
  1414. Neck=Torso.Neck
  1415. it=Instance.new
  1416. attacktype=1
  1417. vt=Vector3.new
  1418. cf=CFrame.new
  1419. euler=CFrame.fromEulerAnglesXYZ
  1420. angles=CFrame.Angles
  1421. cloaked=false
  1422. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1423. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1424. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1425. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1426. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1427. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1428. RootPart=Character.HumanoidRootPart
  1429. RootJoint=RootPart.RootJoint
  1430. RootCF=euler(-1.57,0,3.14)
  1431. attack = false
  1432. attackdebounce = false
  1433. deb=false
  1434. equipped=true
  1435. hand=false
  1436. combo=0
  1437. mana=0
  1438. trispeed=.2
  1439. attackmode='none'
  1440. local idle=0
  1441. local Anim="Idle"
  1442. local Effects={}
  1443. local gun=false
  1444. local shoot=false
  1445. local sine = 0
  1446. local change = 1
  1447.  
  1448. function RecolorTextAndRename(name,col1,col2,font)
  1449. modet.TextStrokeColor3 = col2
  1450. modet.TextColor3 = col1
  1451. modet.Font = font
  1452. modet.Text = name
  1453. techc.ImageColor3 = col2
  1454. circl.ImageColor3 = col2
  1455. circl2.ImageColor3 = col1
  1456. imgl2.ImageColor3 = col1
  1457. imgl2b.ImageColor3 = col2
  1458. ned.Text = name
  1459. ned.TextColor3 = col1
  1460. ned.TextStrokeColor3 = col2
  1461. end
  1462. --save shoulders
  1463. RSH, LSH=nil, nil
  1464. --welds
  1465. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1466. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1467. LH=Torso["Left Hip"]
  1468. RH=Torso["Right Hip"]
  1469. TorsoColor=Torso.BrickColor
  1470. function NoOutline(Part)
  1471. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1472. end
  1473. ch=Character
  1474. RSH=ch.Torso["Right Shoulder"]
  1475. LSH=ch.Torso["Left Shoulder"]
  1476. --
  1477. RSH.Parent=nil
  1478. LSH.Parent=nil
  1479. --
  1480. RW.Name="Right Shoulder"
  1481. RW.Part0=ch.Torso
  1482. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1483. RW.C1=cf(0, 0.5, 0)
  1484. RW.Part1=ch["Right Arm"]
  1485. RW.Parent=ch.Torso
  1486. --
  1487. LW.Name="Left Shoulder"
  1488. LW.Part0=ch.Torso
  1489. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1490. LW.C1=cf(0, 0.5, 0)
  1491. LW.Part1=ch["Left Arm"]
  1492. LW.Parent=ch.Torso
  1493.  
  1494. local Stats=Instance.new("BoolValue")
  1495. Stats.Name="Stats"
  1496. Stats.Parent=Character
  1497. local Atk=Instance.new("NumberValue")
  1498. Atk.Name="Damage"
  1499. Atk.Parent=Stats
  1500. Atk.Value=1
  1501. local Def=Instance.new("NumberValue")
  1502. Def.Name="Defense"
  1503. Def.Parent=Stats
  1504. Def.Value=1
  1505. local Speed=Instance.new("NumberValue")
  1506. Speed.Name="Speed"
  1507. Speed.Parent=Stats
  1508. Speed.Value=1
  1509. local Mvmt=Instance.new("NumberValue")
  1510. Mvmt.Name="Movement"
  1511. Mvmt.Parent=Stats
  1512. Mvmt.Value=1
  1513.  
  1514. local donum=0
  1515. local ast = {744586075,385254610}
  1516.  
  1517. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1518. local fp=it("Part")
  1519. fp.formFactor=formfactor
  1520. fp.Parent=parent
  1521. fp.Reflectance=reflectance
  1522. fp.Transparency=transparency
  1523. fp.CanCollide=false
  1524. fp.Locked=true
  1525. fp.BrickColor=brickcolor
  1526. fp.Name=name
  1527. fp.Size=size
  1528. fp.Position=Torso.Position
  1529. NoOutline(fp)
  1530. fp.Material="SmoothPlastic"
  1531. fp:BreakJoints()
  1532. return fp
  1533. end
  1534.  
  1535. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1536. local mesh=it(Mesh)
  1537. mesh.Parent=part
  1538. if Mesh=="SpecialMesh" then
  1539. mesh.MeshType=meshtype
  1540. if meshid~="nil" then
  1541. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1542. end
  1543. end
  1544. mesh.Offset=offset
  1545. mesh.Scale=scale
  1546. return mesh
  1547. end
  1548.  
  1549. function weld(parent,part0,part1,c0)
  1550. local weld=it("Weld")
  1551. weld.Parent=parent
  1552. weld.Part0=part0
  1553. weld.Part1=part1
  1554. weld.C0=c0
  1555. return weld
  1556. end
  1557.  
  1558. local Color1=Torso.BrickColor
  1559.  
  1560. local bodvel=Instance.new("BodyVelocity")
  1561. local bg=Instance.new("BodyGyro")
  1562.  
  1563. --------- SazEreno's Artificial HB --------------
  1564. ArtificialHB = Instance.new("BindableEvent", script)
  1565. ArtificialHB.Name = "ArtificialHB"
  1566.  
  1567. script:WaitForChild("ArtificialHB")
  1568. Frame_Speed = 1 / 60
  1569. frame = Frame_Speed
  1570. tf = 0
  1571. allowframeloss = false
  1572. tossremainder = false
  1573. lastframe = tick()
  1574. script.ArtificialHB:Fire()
  1575.  
  1576. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1577. tf = tf + s
  1578. if tf >= frame then
  1579. if allowframeloss then
  1580. script.ArtificialHB:Fire()
  1581. lastframe = tick()
  1582. else
  1583. for i = 1, math.floor(tf / frame) do
  1584. script.ArtificialHB:Fire()
  1585. end
  1586. lastframe = tick()
  1587. end
  1588. if tossremainder then
  1589. tf = 0
  1590. else
  1591. tf = tf - frame * math.floor(tf / frame)
  1592. end
  1593. end
  1594. end)
  1595.  
  1596. ------------------
  1597. function swait(num)
  1598. if num == 0 or num == nil then
  1599. ArtificialHB.Event:wait()
  1600. else
  1601. for i = 1, num do
  1602. ArtificialHB.Event:wait()
  1603. end
  1604. end
  1605. end
  1606. -------- RAINBOW LEAVE IT TO ME
  1607. local r = 255
  1608. local g = 0
  1609. local b = 0
  1610. coroutine.resume(coroutine.create(function()
  1611. while wait() do
  1612. for i = 0, 254/5 do
  1613. swait()
  1614. g = g + 5
  1615. end
  1616. for i = 0, 254/5 do
  1617. swait()
  1618. r = r - 5
  1619. end
  1620. for i = 0, 254/5 do
  1621. swait()
  1622. b = b + 5
  1623. end
  1624. for i = 0, 254/5 do
  1625. swait()
  1626. g = g - 5
  1627. end
  1628. for i = 0, 254/5 do
  1629. swait()
  1630. r = r + 5
  1631. end
  1632. for i = 0, 254/5 do
  1633. swait()
  1634. b = b - 5
  1635. end
  1636. end
  1637. end))
  1638.  
  1639.  
  1640. so = function(id,par,vol,pit)
  1641. coroutine.resume(coroutine.create(function()
  1642. local sou = Instance.new("Sound",par or workspace)
  1643. sou.Volume=vol
  1644. sou.Pitch=pit or 1
  1645. sou.SoundId=id
  1646. swait()
  1647. sou:play()
  1648. game:GetService("Debris"):AddItem(sou,6)
  1649. end))
  1650. end
  1651.  
  1652. function clerp(a,b,t)
  1653. local qa = {QuaternionFromCFrame(a)}
  1654. local qb = {QuaternionFromCFrame(b)}
  1655. local ax, ay, az = a.x, a.y, a.z
  1656. local bx, by, bz = b.x, b.y, b.z
  1657. local _t = 1-t
  1658. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1659. end
  1660.  
  1661. function QuaternionFromCFrame(cf)
  1662. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1663. local trace = m00 + m11 + m22
  1664. if trace > 0 then
  1665. local s = math.sqrt(1 + trace)
  1666. local recip = 0.5/s
  1667. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1668. else
  1669. local i = 0
  1670. if m11 > m00 then
  1671. i = 1
  1672. end
  1673. if m22 > (i == 0 and m00 or m11) then
  1674. i = 2
  1675. end
  1676. if i == 0 then
  1677. local s = math.sqrt(m00-m11-m22+1)
  1678. local recip = 0.5/s
  1679. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1680. elseif i == 1 then
  1681. local s = math.sqrt(m11-m22-m00+1)
  1682. local recip = 0.5/s
  1683. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1684. elseif i == 2 then
  1685. local s = math.sqrt(m22-m00-m11+1)
  1686. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1687. end
  1688. end
  1689. end
  1690.  
  1691. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1692. local xs, ys, zs = x + x, y + y, z + z
  1693. local wx, wy, wz = w*xs, w*ys, w*zs
  1694. local xx = x*xs
  1695. local xy = x*ys
  1696. local xz = x*zs
  1697. local yy = y*ys
  1698. local yz = y*zs
  1699. local zz = z*zs
  1700. 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))
  1701. end
  1702.  
  1703. function QuaternionSlerp(a, b, t)
  1704. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1705. local startInterp, finishInterp;
  1706. if cosTheta >= 0.0001 then
  1707. if (1 - cosTheta) > 0.0001 then
  1708. local theta = math.acos(cosTheta)
  1709. local invSinTheta = 1/math.sin(theta)
  1710. startInterp = math.sin((1-t)*theta)*invSinTheta
  1711. finishInterp = math.sin(t*theta)*invSinTheta
  1712. else
  1713. startInterp = 1-t
  1714. finishInterp = t
  1715. end
  1716. else
  1717. if (1+cosTheta) > 0.0001 then
  1718. local theta = math.acos(-cosTheta)
  1719. local invSinTheta = 1/math.sin(theta)
  1720. startInterp = math.sin((t-1)*theta)*invSinTheta
  1721. finishInterp = math.sin(t*theta)*invSinTheta
  1722. else
  1723. startInterp = t-1
  1724. finishInterp = t
  1725. end
  1726. end
  1727. 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
  1728. end
  1729.  
  1730. local function CFrameFromTopBack(at, top, back)
  1731. local right = top:Cross(back)
  1732. return CFrame.new(at.x, at.y, at.z,
  1733. right.x, top.x, back.x,
  1734. right.y, top.y, back.y,
  1735. right.z, top.z, back.z)
  1736. end
  1737.  
  1738. function Triangle(a, b, c)
  1739. local edg1 = (c-a):Dot((b-a).unit)
  1740. local edg2 = (a-b):Dot((c-b).unit)
  1741. local edg3 = (b-c):Dot((a-c).unit)
  1742. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1743. a, b, c = a, b, c
  1744. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1745. a, b, c = b, c, a
  1746. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1747. a, b, c = c, a, b
  1748. else
  1749. assert(false, "unreachable")
  1750. end
  1751.  
  1752. local len1 = (c-a):Dot((b-a).unit)
  1753. local len2 = (b-a).magnitude - len1
  1754. local width = (a + (b-a).unit*len1 - c).magnitude
  1755.  
  1756. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1757.  
  1758. local list = {}
  1759.  
  1760. if len1 > 0.01 then
  1761. local w1 = Instance.new('WedgePart', m)
  1762. game:GetService("Debris"):AddItem(w1,5)
  1763. w1.Material = "SmoothPlastic"
  1764. w1.FormFactor = 'Custom'
  1765. w1.BrickColor = BrickColor.new("Really red")
  1766. w1.Transparency = 0
  1767. w1.Reflectance = 0
  1768. w1.Material = "SmoothPlastic"
  1769. w1.CanCollide = false
  1770. local l1 = Instance.new("PointLight",w1)
  1771. l1.Color = Color3.new(170,0,0)
  1772. NoOutline(w1)
  1773. local sz = Vector3.new(0.2, width, len1)
  1774. w1.Size = sz
  1775. local sp = Instance.new("SpecialMesh",w1)
  1776. sp.MeshType = "Wedge"
  1777. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1778. w1:BreakJoints()
  1779. w1.Anchored = true
  1780. w1.Parent = workspace
  1781. w1.Transparency = 0.7
  1782. table.insert(Effects,{w1,"Disappear",.01})
  1783. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1784. table.insert(list,w1)
  1785. end
  1786.  
  1787. if len2 > 0.01 then
  1788. local w2 = Instance.new('WedgePart', m)
  1789. game:GetService("Debris"):AddItem(w2,5)
  1790. w2.Material = "SmoothPlastic"
  1791. w2.FormFactor = 'Custom'
  1792. w2.BrickColor = BrickColor.new("Really red")
  1793. w2.Transparency = 0
  1794. w2.Reflectance = 0
  1795. w2.Material = "SmoothPlastic"
  1796. w2.CanCollide = false
  1797. local l2 = Instance.new("PointLight",w2)
  1798. l2.Color = Color3.new(170,0,0)
  1799. NoOutline(w2)
  1800. local sz = Vector3.new(0.2, width, len2)
  1801. w2.Size = sz
  1802. local sp = Instance.new("SpecialMesh",w2)
  1803. sp.MeshType = "Wedge"
  1804. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1805. w2:BreakJoints()
  1806. w2.Anchored = true
  1807. w2.Parent = workspace
  1808. w2.Transparency = 0.7
  1809. table.insert(Effects,{w2,"Disappear",.01})
  1810. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1811. table.insert(list,w2)
  1812. end
  1813. return unpack(list)
  1814. end
  1815.  
  1816.  
  1817. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1818. if hit.Parent == nil then
  1819. return
  1820. end
  1821. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1822. for _, v in pairs(hit.Parent:children()) do
  1823. if v:IsA("Humanoid") then
  1824. h = v
  1825. end
  1826. end
  1827. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1828. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1829. return
  1830. end
  1831. local c = Create("ObjectValue")({
  1832. Name = "creator",
  1833. Value = owner,
  1834. Parent = h
  1835. })
  1836. game:GetService("Debris"):AddItem(c, 0.5)
  1837. if HitSound ~= nil and HitPitch ~= nil then
  1838. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1839. end
  1840. local Damage = math.random(minim, maxim)
  1841. local blocked = false
  1842. local block = hit.Parent:findFirstChild("Block")
  1843. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1844. blocked = true
  1845. block.Value = block.Value - 1
  1846. print(block.Value)
  1847. end
  1848. if blocked == false then
  1849. HitHealth = h.Health
  1850. h.MaxHealth = 100
  1851. h.Health = h.Health - Damage
  1852. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1853. print("gained kill")
  1854. dmg(h.Parent)
  1855. end
  1856. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1857. else
  1858. h.Health = h.Health - Damage / 2
  1859. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1860. end
  1861. if Type == "Knockdown" then
  1862. local hum = hit.Parent.Humanoid
  1863. hum.PlatformStand = true
  1864. coroutine.resume(coroutine.create(function(HHumanoid)
  1865. swait(1)
  1866. HHumanoid.PlatformStand = false
  1867. end), hum)
  1868. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1869. local bodvol = Create("BodyVelocity")({
  1870. velocity = angle * knockback,
  1871. P = 5000,
  1872. maxForce = Vector3.new(8000, 8000, 8000),
  1873. Parent = hit
  1874. })
  1875. local rl = Create("BodyAngularVelocity")({
  1876. P = 3000,
  1877. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1878. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1879. Parent = hit
  1880. })
  1881. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1882. game:GetService("Debris"):AddItem(rl, 0.5)
  1883. elseif Type == "Normal" then
  1884. local vp = Create("BodyVelocity")({
  1885. P = 500,
  1886. maxForce = Vector3.new(math.huge, 0, math.huge),
  1887. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1888. })
  1889. if knockback > 0 then
  1890. vp.Parent = hit.Parent.Head
  1891. end
  1892. game:GetService("Debris"):AddItem(vp, 0.5)
  1893. elseif Type == "Up" then
  1894. local bodyVelocity = Create("BodyVelocity")({
  1895. velocity = Vector3.new(0, 20, 0),
  1896. P = 5000,
  1897. maxForce = Vector3.new(8000, 8000, 8000),
  1898. Parent = hit
  1899. })
  1900. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1901. local bodyVelocity = Create("BodyVelocity")({
  1902. velocity = Vector3.new(0, 20, 0),
  1903. P = 5000,
  1904. maxForce = Vector3.new(8000, 8000, 8000),
  1905. Parent = hit
  1906. })
  1907. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1908. elseif Type == "Leech" then
  1909. local hum = hit.Parent.Humanoid
  1910. if hum ~= nil then
  1911. for i = 0, 2 do
  1912. 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)
  1913. end
  1914. Humanoid.Health = Humanoid.Health + 10
  1915. end
  1916. elseif Type == "UpKnock" then
  1917. local hum = hit.Parent.Humanoid
  1918. hum.PlatformStand = true
  1919. if hum ~= nil then
  1920. hitr = true
  1921. end
  1922. coroutine.resume(coroutine.create(function(HHumanoid)
  1923. swait(5)
  1924. HHumanoid.PlatformStand = false
  1925. hitr = false
  1926. end), hum)
  1927. local bodyVelocity = Create("BodyVelocity")({
  1928. velocity = Vector3.new(0, 20, 0),
  1929. P = 5000,
  1930. maxForce = Vector3.new(8000, 8000, 8000),
  1931. Parent = hit
  1932. })
  1933. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1934. local bodyVelocity = Create("BodyVelocity")({
  1935. velocity = Vector3.new(0, 20, 0),
  1936. P = 5000,
  1937. maxForce = Vector3.new(8000, 8000, 8000),
  1938. Parent = hit
  1939. })
  1940. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1941. elseif Type == "Snare" then
  1942. local bp = Create("BodyPosition")({
  1943. P = 2000,
  1944. D = 100,
  1945. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1946. position = hit.Parent.Torso.Position,
  1947. Parent = hit.Parent.Torso
  1948. })
  1949. game:GetService("Debris"):AddItem(bp, 1)
  1950. elseif Type == "Slashnare" then
  1951. 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)
  1952. for i = 1, math.random(4, 5) do
  1953. 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)
  1954. end
  1955. local bp = Create("BodyPosition")({
  1956. P = 2000,
  1957. D = 100,
  1958. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1959. position = hit.Parent.Torso.Position,
  1960. Parent = hit.Parent.Torso
  1961. })
  1962. game:GetService("Debris"):AddItem(bp, 1)
  1963. elseif Type == "Spike" then
  1964. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1965. local bp = Create("BodyPosition")({
  1966. P = 2000,
  1967. D = 100,
  1968. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1969. position = hit.Parent.Torso.Position,
  1970. Parent = hit.Parent.Torso
  1971. })
  1972. game:GetService("Debris"):AddItem(bp, 1)
  1973. elseif Type == "Freeze" then
  1974. local BodPos = Create("BodyPosition")({
  1975. P = 50000,
  1976. D = 1000,
  1977. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1978. position = hit.Parent.Torso.Position,
  1979. Parent = hit.Parent.Torso
  1980. })
  1981. local BodGy = Create("BodyGyro")({
  1982. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1983. P = 20000,
  1984. Parent = hit.Parent.Torso,
  1985. cframe = hit.Parent.Torso.CFrame
  1986. })
  1987. hit.Parent.Torso.Anchored = true
  1988. coroutine.resume(coroutine.create(function(Part)
  1989. swait(1.5)
  1990. Part.Anchored = false
  1991. end), hit.Parent.Torso)
  1992. game:GetService("Debris"):AddItem(BodPos, 3)
  1993. game:GetService("Debris"):AddItem(BodGy, 3)
  1994. end
  1995. local debounce = Create("BoolValue")({
  1996. Name = "DebounceHit",
  1997. Parent = hit.Parent,
  1998. Value = true
  1999. })
  2000. game:GetService("Debris"):AddItem(debounce, Delay)
  2001. c = Instance.new("ObjectValue")
  2002. c.Name = "creator"
  2003. c.Value = Player
  2004. c.Parent = h
  2005. game:GetService("Debris"):AddItem(c, 0.5)
  2006. end
  2007. end
  2008. function ShowDamage(Pos, Text, Time, Color)
  2009. local Rate = 0.03333333333333333
  2010. local Pos = Pos or Vector3.new(0, 0, 0)
  2011. local Text = Text or ""
  2012. local Time = Time or 2
  2013. local Color = Color or Color3.new(1, 0, 1)
  2014. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2015. EffectPart.Anchored = true
  2016. local BillboardGui = Create("BillboardGui")({
  2017. Size = UDim2.new(3, 0, 3, 0),
  2018. Adornee = EffectPart,
  2019. Parent = EffectPart
  2020. })
  2021. local TextLabel = Create("TextLabel")({
  2022. BackgroundTransparency = 1,
  2023. Size = UDim2.new(1, 0, 1, 0),
  2024. Text = Text,
  2025. TextColor3 = Color,
  2026. TextScaled = true,
  2027. Font = Enum.Font.ArialBold,
  2028. Parent = BillboardGui
  2029. })
  2030. game.Debris:AddItem(EffectPart, Time + 0.1)
  2031. EffectPart.Parent = game:GetService("Workspace")
  2032. delay(0, function()
  2033. local Frames = Time / Rate
  2034. for Frame = 1, Frames do
  2035. wait(Rate)
  2036. local Percent = Frame / Frames
  2037. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2038. TextLabel.TextTransparency = Percent
  2039. end
  2040. if EffectPart and EffectPart.Parent then
  2041. EffectPart:Destroy()
  2042. end
  2043. end)
  2044. end
  2045. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2046. for _, c in pairs(workspace:children()) do
  2047. local hum = c:findFirstChildOfClass("Humanoid")
  2048. if hum ~= nil then
  2049. local head = c:findFirstChild("Head")
  2050. if head ~= nil then
  2051. local targ = head.Position - Part.Position
  2052. local mag = targ.magnitude
  2053. if magni >= mag and c.Name ~= Player.Name then
  2054. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2055. end
  2056. end
  2057. end
  2058. end
  2059. end
  2060.  
  2061. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2062. for _, c in pairs(workspace:children()) do
  2063. local hum = c:findFirstChild("Humanoid")
  2064. if hum ~= nil then
  2065. local head = c:findFirstChild("Torso")
  2066. if head ~= nil then
  2067. local targ = head.Position - Part.Position
  2068. local mag = targ.magnitude
  2069. if magni >= mag and c.Name ~= Player.Name then
  2070. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2071. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2072. end
  2073. end
  2074. end
  2075. end
  2076. end
  2077.  
  2078. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2079. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2080. end
  2081.  
  2082. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2083. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2084. prt.Anchored=true
  2085. prt.CFrame=cframe
  2086. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2087. --http://www.roblox.com/asset/?id=4770560
  2088. game:GetService("Debris"):AddItem(prt,2)
  2089. CF=prt.CFrame
  2090. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2091. for i=0,1,0.2 do
  2092. wait()
  2093. Part.CFrame=CF*cf(0,0,-0.4)
  2094. end
  2095. for i=0,1,delay do
  2096. wait()
  2097. --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)
  2098. Mesh.Scale=Mesh.Scale
  2099. end
  2100. for i=0,1,0.1 do
  2101. wait()
  2102. Part.Transparency=i
  2103. end
  2104. Part.Parent=nil
  2105. end),prt,msh,CF)
  2106. end
  2107.  
  2108. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2109. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2110. prt.Anchored=true
  2111. prt.Material = "Neon"
  2112. prt.CFrame=cframe
  2113. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2114. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2115. game:GetService("Debris"):AddItem(prt,5)
  2116. coroutine.resume(coroutine.create(function(Part,Mesh)
  2117. for i=0,1,delay do
  2118. swait()
  2119. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2120. Part.Transparency=i
  2121. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2122. end
  2123. Part.Parent=nil
  2124. end),prt,msh)
  2125. end
  2126.  
  2127. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2128. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2129. prt.Anchored=true
  2130. prt.Material = "Neon"
  2131. prt.CFrame=cframe
  2132. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2133. game:GetService("Debris"):AddItem(prt,5)
  2134. coroutine.resume(coroutine.create(function(Part,Mesh)
  2135. local rtype = rottype
  2136. for i=0,1,delay do
  2137. swait()
  2138. if rtype == 1 then
  2139. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2140. elseif rtype == 2 then
  2141. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2142. end
  2143. Part.Transparency=i
  2144. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2145. end
  2146. Part.Parent=nil
  2147. end),prt,msh)
  2148. end
  2149.  
  2150. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2151. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2152. prt.Anchored=true
  2153. prt.CFrame=cframe
  2154. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2155. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2156. game:GetService("Debris"):AddItem(prt,5)
  2157. coroutine.resume(coroutine.create(function(Part,Mesh)
  2158. for i=0,1,delay do
  2159. wait()
  2160. Part.Transparency=i
  2161. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2162. end
  2163. Part.Parent=nil
  2164. end),prt,msh)
  2165. end
  2166.  
  2167. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2168. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2169. prt.Anchored=true
  2170. prt.Material = "Neon"
  2171. prt.CFrame=cframe
  2172. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2173. game:GetService("Debris"):AddItem(prt,5)
  2174. coroutine.resume(coroutine.create(function(Part,Mesh)
  2175. local rtype = rottype
  2176. for i=0,1,delay do
  2177. swait()
  2178. if rtype == 1 then
  2179. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2180. elseif rtype == 2 then
  2181. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2182. end
  2183. Part.Transparency=i
  2184. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2185. end
  2186. Part.Parent=nil
  2187. end),prt,msh)
  2188. end
  2189.  
  2190. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2191. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2192. prt.Anchored=true
  2193. prt.Material = "Neon"
  2194. prt.CFrame=cframe
  2195. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2196. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2197. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2198. game:GetService("Debris"):AddItem(prt,5)
  2199. coroutine.resume(coroutine.create(function(Part,Mesh)
  2200. local rtype = rottype
  2201. for i=0,1,delay do
  2202. swait()
  2203. if rtype == 1 then
  2204. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2205. elseif rtype == 2 then
  2206. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2207. end
  2208. dec.Transparency=i
  2209. dec2.Transparency=i
  2210. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2211. end
  2212. Part.Parent=nil
  2213. end),prt,msh)
  2214. end
  2215.  
  2216. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2217. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2218. prt.Anchored=true
  2219. prt.Material = "Neon"
  2220. prt.CFrame=cframe
  2221. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2222. game:GetService("Debris"):AddItem(prt,5)
  2223. coroutine.resume(coroutine.create(function(Part,Mesh)
  2224. local rtype = rottype
  2225. for i=0,1,delay do
  2226. swait()
  2227. if rtype == 1 then
  2228. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2229. elseif rtype == 2 then
  2230. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2231. end
  2232. prt.Transparency=i
  2233. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2234. end
  2235. Part.Parent=nil
  2236. end),prt,msh)
  2237. end
  2238.  
  2239. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2240. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2241. prt.Anchored=true
  2242. prt.Material = "Neon"
  2243. prt.CFrame=cframe
  2244. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2245. game:GetService("Debris"):AddItem(prt,5)
  2246. coroutine.resume(coroutine.create(function(Part,Mesh)
  2247. local rtype = rottype
  2248. for i=0,1,delay do
  2249. swait()
  2250. if rtype == 1 then
  2251. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2252. elseif rtype == 2 then
  2253. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2254. end
  2255. prt.Transparency=i
  2256. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2257. end
  2258. Part.Parent=nil
  2259. end),prt,msh)
  2260. end
  2261.  
  2262. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2263. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2264. prt.Anchored=true
  2265. prt.Material = "Neon"
  2266. prt.CFrame=cframe
  2267. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2268. game:GetService("Debris"):AddItem(prt,5)
  2269. coroutine.resume(coroutine.create(function(Part,Mesh)
  2270. local rtype = rottype
  2271. for i=0,1,delay do
  2272. swait()
  2273. if rtype == 1 then
  2274. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2275. elseif rtype == 2 then
  2276. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2277. end
  2278. prt.Transparency=i
  2279. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2280. end
  2281. Part.Parent=nil
  2282. end),prt,msh)
  2283. end
  2284.  
  2285. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2286. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2287. prt.Anchored=true
  2288. prt.Material = "Neon"
  2289. prt.CFrame=cframe
  2290. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2291. game:GetService("Debris"):AddItem(prt,5)
  2292. coroutine.resume(coroutine.create(function(Part,Mesh)
  2293. local rtype = rottype
  2294. for i=0,1,delay do
  2295. swait()
  2296. if rtype == 1 then
  2297. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2298. elseif rtype == 2 then
  2299. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2300. end
  2301. prt.Transparency=i
  2302. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2303. end
  2304. Part.Parent=nil
  2305. end),prt,msh)
  2306. end
  2307.  
  2308. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2309. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2310. prt.Anchored=false
  2311. prt.CFrame=cframe
  2312. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2313. local wld=weld(prt,prt,Parent,cframe)
  2314. game:GetService("Debris"):AddItem(prt,5)
  2315. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2316. for i=0,1,delay do
  2317. wait()
  2318. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2319. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2320. Part.Transparency=i
  2321. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2322. end
  2323. Part.Parent=nil
  2324. end),prt,msh,wld)
  2325. end
  2326.  
  2327. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2328. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2329. prt.Anchored=false
  2330. prt.CFrame=cframe
  2331. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2332. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2333. game:GetService("Debris"):AddItem(prt,5)
  2334. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2335. for i=0,1,delay do
  2336. wait()
  2337. Weld.C0=euler(i*20,0,0)
  2338. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2339. Part.Transparency=i
  2340. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2341. end
  2342. Part.Parent=nil
  2343. end),prt,msh,wld)
  2344. end
  2345.  
  2346. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2347. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2348. prt.Anchored=true
  2349. prt.CFrame=cframe
  2350. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2351. game:GetService("Debris"):AddItem(prt,2)
  2352. coroutine.resume(coroutine.create(function(Part,Mesh)
  2353. for i=0,1,delay do
  2354. wait()
  2355. Part.CFrame=Part.CFrame
  2356. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2357. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2358. prt2.Anchored=true
  2359. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2360. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2361. game:GetService("Debris"):AddItem(prt2,2)
  2362. coroutine.resume(coroutine.create(function(Part,Mesh)
  2363. for i=0,1,0.1 do
  2364. wait()
  2365. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2366. end
  2367. Part.Parent=nil
  2368. end),prt2,msh2)
  2369. end
  2370. for i=0,1,delay*2 do
  2371. wait()
  2372. Part.CFrame=Part.CFrame
  2373. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2374. end
  2375. Part.Parent=nil
  2376. end),prt,msh)
  2377. end
  2378.  
  2379. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2380. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2381. prt.Anchored=true
  2382. prt.CFrame=cframe
  2383. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2384. game:GetService("Debris"):AddItem(prt,2)
  2385. coroutine.resume(coroutine.create(function(Part,Mesh)
  2386. for i=0,1,delay do
  2387. wait()
  2388. Part.CFrame=Part.CFrame
  2389. Part.Transparency=i
  2390. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2391. end
  2392. Part.Parent=nil
  2393. end),prt,msh)
  2394. end
  2395.  
  2396. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2397. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2398. prt.Anchored=true
  2399. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2400. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2401. game:GetService("Debris"):AddItem(prt,2)
  2402. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2403. CF=Part.CFrame
  2404. Numbb=0
  2405. randnumb=math.random()/10
  2406. rand1=math.random()/10
  2407. for i=0,1,rand1 do
  2408. wait()
  2409. CF=CF*cf(0,math.random()/2,0)
  2410. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2411. Part.CFrame=CF*euler(Numbb,0,0)
  2412. Part.Transparency=i
  2413. Numbb=Numbb+randnumb
  2414. end
  2415. Part.Parent=nil
  2416. end),prt,CF,Numbb,randnumb)
  2417. end
  2418.  
  2419. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2420. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2421. prt.Anchored=true
  2422. prt.CFrame=cframe
  2423. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2424. game:GetService("Debris"):AddItem(prt,5)
  2425. coroutine.resume(coroutine.create(function(Part,Mesh)
  2426. for i=0,1,delay do
  2427. wait()
  2428. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2429. Part.Transparency=i
  2430. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2431. end
  2432. Part.Parent=nil
  2433. end),prt,msh)
  2434. end
  2435.  
  2436. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2437. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2438. prt.Anchored=true
  2439. prt.CFrame=cframe
  2440. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2441. game:GetService("Debris"):AddItem(prt,2)
  2442. coroutine.resume(coroutine.create(function(Part,Mesh)
  2443. for i=0,1,delay do
  2444. wait()
  2445. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2446. Part.Transparency=i
  2447. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2448. end
  2449. Part.Parent=nil
  2450. end),prt,msh)
  2451. end
  2452.  
  2453. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2454. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2455. prt.Anchored=true
  2456. prt.CFrame=cframe*cf(x,y,z)
  2457. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2458. game:GetService("Debris"):AddItem(prt,5)
  2459. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2460. local num=math.random()
  2461. local num2=math.random(-3,2)+math.random()
  2462. local numm=0
  2463. for i=0,1,delay*2 do
  2464. swait()
  2465. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2466. Part.Transparency=i
  2467. numm=numm+0.01
  2468. end
  2469. Part.Parent=nil
  2470. Mesh.Parent=nil
  2471. end),prt,msh,x,y,z)
  2472. end
  2473.  
  2474. function dmgstart(dmg,what)
  2475. hitcon = what.Touched:connect(function(hit)
  2476. local hum = hit.Parent:FindFirstChild("Humanoid")
  2477. if hum and not hum:IsDescendantOf(Character) then
  2478. hum:TakeDamage(dmg)
  2479. end
  2480. end)
  2481. end
  2482.  
  2483. function dmgstop()
  2484. hitcon:disconnect()
  2485. end
  2486.  
  2487. function Cloak()
  2488. Face.Parent=nil
  2489. cloaked=true
  2490. for _,v in pairs(Torso.Parent:children()) do
  2491. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2492. coroutine.resume(coroutine.create(function()
  2493. for i=0,1,0.2 do
  2494. wait()
  2495. v.Transparency=i
  2496. end
  2497. v.Transparency=1
  2498. end))
  2499. end
  2500. if v.className=="Hat" then
  2501. hatp=v.Handle
  2502. coroutine.resume(coroutine.create(function(derp)
  2503. for i=0,1,0.2 do
  2504. wait()
  2505. derp.Transparency=i
  2506. end
  2507. derp.Transparency=1
  2508. end),hatp)
  2509. end
  2510. end
  2511. for _,v in pairs(m:children()) do
  2512. if v.className=="Part" then
  2513. coroutine.resume(coroutine.create(function()
  2514. for i=0,1,0.2 do
  2515. wait()
  2516. v.Transparency=i
  2517. end
  2518. v.Transparency=1
  2519. end))
  2520. end
  2521. end
  2522. end
  2523.  
  2524. function UnCloak()
  2525. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2526. Face.Parent=Head
  2527. cloaked=false
  2528. for _,v in pairs(Torso.Parent:children()) do
  2529. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2530. coroutine.resume(coroutine.create(function()
  2531. for i=0,1,0.1 do
  2532. wait()
  2533. v.Transparency=v.Transparency-0.1
  2534. end
  2535. v.Transparency=0
  2536. end))
  2537. end
  2538. if v.className=="Hat" then
  2539. hatp=v.Handle
  2540. coroutine.resume(coroutine.create(function(derp)
  2541. for i=0,1,0.1 do
  2542. wait()
  2543. derp.Transparency=derp.Transparency-0.1
  2544. end
  2545. derp.Transparency=0
  2546. end),hatp)
  2547. end
  2548. end
  2549. for _,v in pairs(m:children()) do
  2550. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2551. coroutine.resume(coroutine.create(function()
  2552. for i=0,1,0.1 do
  2553. wait()
  2554. v.Transparency=v.Transparency-0.1
  2555. end
  2556. v.Transparency=0
  2557. end))
  2558. v.Transparency=0
  2559. end
  2560. end
  2561. end
  2562.  
  2563. local origcolor = BrickColor.new("Pastel light blue")
  2564. ---- This section of explosions.
  2565.  
  2566. ----
  2567.  
  2568.  
  2569. function ring(type,pos,scale,value)
  2570. local type = type
  2571. local rng = Instance.new("Part", char)
  2572. rng.Anchored = true
  2573. rng.BrickColor = origcolor
  2574. rng.CanCollide = false
  2575. rng.FormFactor = 3
  2576. rng.Name = "Ring"
  2577. rng.Size = Vector3.new(1, 1, 1)
  2578. rng.Transparency = 0
  2579. rng.TopSurface = 0
  2580. rng.BottomSurface = 0
  2581. rng.CFrame = pos
  2582. local rngm = Instance.new("SpecialMesh", rng)
  2583. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2584. rngm.Scale = scale
  2585. local scaler2 = 1
  2586. if type == "Add" then
  2587. scaler2 = 1*value
  2588. elseif type == "Divide" then
  2589. scaler2 = 1/value
  2590. end
  2591. coroutine.resume(coroutine.create(function()
  2592. for i = 0,10,0.1 do
  2593. swait()
  2594. if type == "Add" then
  2595. scaler2 = scaler2 - 0.01*value
  2596. elseif type == "Divide" then
  2597. scaler2 = scaler2 - 0.01/value
  2598. end
  2599. rng.Transparency = rng.Transparency + 0.01
  2600. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2601. end
  2602. rng:Destroy()
  2603. end))
  2604. end
  2605.  
  2606.  
  2607. function wave(type,pos,scale,value)
  2608. local type = type
  2609. local rng = Instance.new("Part", char)
  2610. rng.Anchored = true
  2611. rng.BrickColor = origcolor
  2612. rng.CanCollide = false
  2613. rng.FormFactor = 3
  2614. rng.Name = "Ring"
  2615. rng.Size = Vector3.new(1, 1, 1)
  2616. rng.Transparency = 0
  2617. rng.TopSurface = 0
  2618. rng.BottomSurface = 0
  2619. rng.CFrame = pos
  2620. local rngm = Instance.new("SpecialMesh", rng)
  2621. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2622. rngm.Scale = scale
  2623. local scaler2 = 1
  2624. if type == "Add" then
  2625. scaler2 = 1*value
  2626. elseif type == "Divide" then
  2627. scaler2 = 1/value
  2628. end
  2629. coroutine.resume(coroutine.create(function()
  2630. for i = 0,10,0.1 do
  2631. swait()
  2632. if type == "Add" then
  2633. scaler2 = scaler2 - 0.01*value
  2634. elseif type == "Divide" then
  2635. scaler2 = scaler2 - 0.01/value
  2636. end
  2637. rng.Transparency = rng.Transparency + 0.01
  2638. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2639. end
  2640. rng:Destroy()
  2641. end))
  2642. end
  2643.  
  2644. function wind(type,pos,scale,value,speed)
  2645. local type = type
  2646. local rng = Instance.new("Part", char)
  2647. rng.Anchored = true
  2648. rng.BrickColor = origcolor
  2649. rng.CanCollide = false
  2650. rng.FormFactor = 3
  2651. rng.Name = "Ring"
  2652. rng.Size = Vector3.new(1, 1, 1)
  2653. rng.Transparency = 0
  2654. rng.TopSurface = 0
  2655. rng.BottomSurface = 0
  2656. rng.CFrame = pos
  2657. local rngm = Instance.new("SpecialMesh", rng)
  2658. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2659. rngm.Scale = scale
  2660. local scaler2 = 1
  2661. if type == "Add" then
  2662. scaler2 = 1*value
  2663. elseif type == "Divide" then
  2664. scaler2 = 1/value
  2665. end
  2666. coroutine.resume(coroutine.create(function()
  2667. for i = 0,10,0.1 do
  2668. swait()
  2669. if type == "Add" then
  2670. scaler2 = scaler2 - 0.01*value
  2671. elseif type == "Divide" then
  2672. scaler2 = scaler2 - 0.01/value
  2673. end
  2674. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2675. rng.Transparency = rng.Transparency + 0.01
  2676. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2677. end
  2678. rng:Destroy()
  2679. end))
  2680. end
  2681.  
  2682. function groundwind(type,pos,scale,value,speed)
  2683. local type = type
  2684. local rng = Instance.new("Part", char)
  2685. rng.Anchored = true
  2686. rng.BrickColor = origcolor
  2687. rng.CanCollide = false
  2688. rng.FormFactor = 3
  2689. rng.Name = "Ring"
  2690. rng.Size = Vector3.new(1, 1, 1)
  2691. rng.Transparency = 0
  2692. rng.TopSurface = 0
  2693. rng.BottomSurface = 0
  2694. rng.CFrame = pos
  2695. local rngm = Instance.new("SpecialMesh", rng)
  2696. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2697. rngm.Scale = scale
  2698. local scaler2 = 1
  2699. if type == "Add" then
  2700. scaler2 = 1*value
  2701. elseif type == "Divide" then
  2702. scaler2 = 1/value
  2703. end
  2704. coroutine.resume(coroutine.create(function()
  2705. for i = 0,10,0.1 do
  2706. swait()
  2707. if type == "Add" then
  2708. scaler2 = scaler2 - 0.01*value
  2709. elseif type == "Divide" then
  2710. scaler2 = scaler2 - 0.01/value
  2711. end
  2712. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2713. rng.Transparency = rng.Transparency + 0.01
  2714. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2715. end
  2716. rng:Destroy()
  2717. end))
  2718. end
  2719.  
  2720. function CameraManager()
  2721. if TwoD and not CamInterrupt then
  2722. if Humanoid.Health > 0 then
  2723. Camera.CameraSubject = Humanoid
  2724. Camera.CameraType = "Scriptable"
  2725. Humanoid.AutoRotate = false
  2726. if Booleans.GyroUse then
  2727. Directer.MaxTorque = Vec3(0, huge, 0)
  2728. else
  2729. Directer.MaxTorque = Vec3(0, 0, 0)
  2730. end
  2731. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2732. if Booleans.CamFollow then
  2733. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2734. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2735. else
  2736. CPart.Position = RootPart.Position
  2737. end
  2738. else
  2739. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2740. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2741. end
  2742. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2743. else
  2744. Camera.CameraSubject = Humanoid
  2745. Camera.CameraType = "Custom"
  2746. Controller.Disabled = false
  2747. end
  2748. end
  2749. end
  2750.  
  2751. function ring(type,pos,scale,value)
  2752. local type = type
  2753. local rng = Instance.new("Part", char)
  2754. rng.Anchored = true
  2755. rng.BrickColor = origcolor
  2756. rng.CanCollide = false
  2757. rng.FormFactor = 3
  2758. rng.Name = "Ring"
  2759. rng.Size = Vector3.new(1, 1, 1)
  2760. rng.Transparency = 0
  2761. rng.TopSurface = 0
  2762. rng.BottomSurface = 0
  2763. rng.CFrame = pos
  2764. local rngm = Instance.new("SpecialMesh", rng)
  2765. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2766. rngm.Scale = scale
  2767. local scaler2 = 1
  2768. if type == "Add" then
  2769. scaler2 = 1*value
  2770. elseif type == "Divide" then
  2771. scaler2 = 1/value
  2772. end
  2773. coroutine.resume(coroutine.create(function()
  2774. for i = 0,10,0.1 do
  2775. swait()
  2776. if type == "Add" then
  2777. scaler2 = scaler2 - 0.01*value
  2778. elseif type == "Divide" then
  2779. scaler2 = scaler2 - 0.01/value
  2780. end
  2781. rng.Transparency = rng.Transparency + 0.01
  2782. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2783. end
  2784. rng:Destroy()
  2785. end))
  2786. end
  2787.  
  2788.  
  2789. function wave(type,pos,scale,value)
  2790. local type = type
  2791. local rng = Instance.new("Part", char)
  2792. rng.Anchored = true
  2793. rng.BrickColor = origcolor
  2794. rng.CanCollide = false
  2795. rng.FormFactor = 3
  2796. rng.Name = "Ring"
  2797. rng.Size = Vector3.new(1, 1, 1)
  2798. rng.Transparency = 0
  2799. rng.TopSurface = 0
  2800. rng.BottomSurface = 0
  2801. rng.CFrame = pos
  2802. local rngm = Instance.new("SpecialMesh", rng)
  2803. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2804. rngm.Scale = scale
  2805. local scaler2 = 1
  2806. if type == "Add" then
  2807. scaler2 = 1*value
  2808. elseif type == "Divide" then
  2809. scaler2 = 1/value
  2810. end
  2811. coroutine.resume(coroutine.create(function()
  2812. for i = 0,10,0.1 do
  2813. swait()
  2814. if type == "Add" then
  2815. scaler2 = scaler2 - 0.01*value
  2816. elseif type == "Divide" then
  2817. scaler2 = scaler2 - 0.01/value
  2818. end
  2819. rng.Transparency = rng.Transparency + 0.01
  2820. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2821. end
  2822. rng:Destroy()
  2823. end))
  2824. end
  2825.  
  2826. function sphere(bonuspeed,type,pos,scale,value,color)
  2827. local type = type
  2828. local rng = Instance.new("Part", char)
  2829. rng.Anchored = true
  2830. if ModeOfGlitch ~= 9 then
  2831. rng.BrickColor = color
  2832. elseif ModeOfGlitch == 9 then
  2833. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2834. end
  2835. rng.CanCollide = false
  2836. rng.FormFactor = 3
  2837. rng.Name = "Ring"
  2838. rng.Material = "Neon"
  2839. rng.Size = Vector3.new(1, 1, 1)
  2840. rng.Transparency = 0
  2841. rng.TopSurface = 0
  2842. rng.BottomSurface = 0
  2843. rng.CFrame = pos
  2844. local rngm = Instance.new("SpecialMesh", rng)
  2845. rngm.MeshType = "Sphere"
  2846. rngm.Scale = scale
  2847. if rainbowmode == true then
  2848. rng.Color = Color3.new(r/255,g/255,b/255)
  2849. end
  2850. if ModeOfGlitch == 9 then
  2851. coroutine.resume(coroutine.create(function()
  2852. while true do
  2853. swait()
  2854. if rng.Parent ~= nil then
  2855. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2856. else
  2857. break
  2858. end
  2859. end
  2860. end))
  2861. end
  2862. local scaler2 = 1
  2863. if type == "Add" then
  2864. scaler2 = 1*value
  2865. elseif type == "Divide" then
  2866. scaler2 = 1/value
  2867. end
  2868. coroutine.resume(coroutine.create(function()
  2869. for i = 0,10/bonuspeed,0.1 do
  2870. swait()
  2871. if rainbowmode == true then
  2872. rng.Color = Color3.new(r/255,g/255,b/255)
  2873. end
  2874. if type == "Add" then
  2875. scaler2 = scaler2 - 0.01*value/bonuspeed
  2876. elseif type == "Divide" then
  2877. scaler2 = scaler2 - 0.01/value*bonuspeed
  2878. end
  2879. if chaosmode == true then
  2880. rng.BrickColor = BrickColor.random()
  2881. end
  2882. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2883. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2884. end
  2885. rng:Destroy()
  2886. end))
  2887. end
  2888.  
  2889. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2890. local type = type
  2891. local rng = Instance.new("Part", char)
  2892. rng.Anchored = true
  2893. if ModeOfGlitch ~= 9 then
  2894. rng.BrickColor = color
  2895. elseif ModeOfGlitch == 9 then
  2896. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2897. end
  2898. rng.CanCollide = false
  2899. rng.FormFactor = 3
  2900. rng.Name = "Ring"
  2901. rng.Material = "Neon"
  2902. rng.Size = Vector3.new(1, 1, 1)
  2903. rng.Transparency = 0
  2904. rng.TopSurface = 0
  2905. rng.BottomSurface = 0
  2906. rng.CFrame = pos
  2907. local rngm = Instance.new("SpecialMesh", rng)
  2908. rngm.MeshType = "Sphere"
  2909. rngm.Scale = scale
  2910. local scaler2 = 1
  2911. local scaler2b = 1
  2912. local scaler2c = 1
  2913. if type == "Add" then
  2914. scaler2 = 1*value
  2915. scaler2b = 1*value2
  2916. scaler2c = 1*value3
  2917. elseif type == "Divide" then
  2918. scaler2 = 1/value
  2919. scaler2b = 1/value2
  2920. scaler2c = 1/value3
  2921. end
  2922. if ModeOfGlitch == 9 then
  2923. coroutine.resume(coroutine.create(function()
  2924. while true do
  2925. swait()
  2926. if rng.Parent ~= nil then
  2927. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2928. else
  2929. break
  2930. end
  2931. end
  2932. end))
  2933. end
  2934. coroutine.resume(coroutine.create(function()
  2935. for i = 0,10/bonuspeed,0.1 do
  2936. swait()
  2937. if type == "Add" then
  2938. scaler2 = scaler2 - 0.01*value/bonuspeed
  2939. scaler2b = scaler2b - 0.01*value/bonuspeed
  2940. scaler2c = scaler2c - 0.01*value/bonuspeed
  2941. elseif type == "Divide" then
  2942. scaler2 = scaler2 - 0.01/value*bonuspeed
  2943. scaler2b = scaler2b - 0.01/value*bonuspeed
  2944. scaler2c = scaler2c - 0.01/value*bonuspeed
  2945. end
  2946. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2947. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2948. end
  2949. rng:Destroy()
  2950. end))
  2951. end
  2952.  
  2953. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2954. local type = type
  2955. local rotenable = rotatingop
  2956. local rng = Instance.new("Part", char)
  2957. rng.Anchored = true
  2958. rng.BrickColor = color
  2959. rng.CanCollide = false
  2960. rng.FormFactor = 3
  2961. rng.Name = "Ring"
  2962. rng.Material = "Neon"
  2963. rng.Size = Vector3.new(1, 1, 1)
  2964. rng.Transparency = 0
  2965. if typeoftrans == "In" then
  2966. rng.Transparency = 1
  2967. end
  2968. rng.TopSurface = 0
  2969. rng.BottomSurface = 0
  2970. rng.CFrame = pos
  2971. local rngm = Instance.new("SpecialMesh", rng)
  2972. rngm.MeshType = "FileMesh"
  2973. if typeofshape == "Normal" then
  2974. rngm.MeshId = "rbxassetid://662586858"
  2975. elseif typeofshape == "Round" then
  2976. rngm.MeshId = "rbxassetid://662585058"
  2977. end
  2978. rngm.Scale = scale
  2979. local scaler2 = 1/10
  2980. if type == "Add" then
  2981. scaler2 = 1*value/10
  2982. elseif type == "Divide" then
  2983. scaler2 = 1/value/10
  2984. end
  2985. local randomrot = math.random(1,2)
  2986. coroutine.resume(coroutine.create(function()
  2987. for i = 0,10/bonuspeed,0.1 do
  2988. swait()
  2989. if type == "Add" then
  2990. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  2991. elseif type == "Divide" then
  2992. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  2993. end
  2994. if rotenable == true then
  2995. if randomrot == 1 then
  2996. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  2997. elseif randomrot == 2 then
  2998. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  2999. end
  3000. end
  3001. if typeoftrans == "Out" then
  3002. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3003. elseif typeoftrans == "In" then
  3004. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3005. end
  3006. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  3007. end
  3008. rng:Destroy()
  3009. end))
  3010. end
  3011.  
  3012. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3013. local type = type
  3014. local rng = Instance.new("Part", char)
  3015. rng.Anchored = true
  3016. rng.BrickColor = color
  3017. rng.CanCollide = false
  3018. rng.FormFactor = 3
  3019. rng.Name = "Ring"
  3020. rng.Material = "Neon"
  3021. rng.Size = Vector3.new(1, 1, 1)
  3022. rng.Transparency = 0
  3023. rng.TopSurface = 0
  3024. rng.BottomSurface = 0
  3025. rng.CFrame = pos
  3026. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3027. local rngm = Instance.new("SpecialMesh", rng)
  3028. rngm.MeshType = "Brick"
  3029. rngm.Scale = vt(x1,y1,z1)
  3030. if rainbowmode == true then
  3031. rng.Color = Color3.new(r/255,g/255,b/255)
  3032. end
  3033. local scaler2 = 1
  3034. local speeder = FastSpeed/10
  3035. if type == "Add" then
  3036. scaler2 = 1*value
  3037. elseif type == "Divide" then
  3038. scaler2 = 1/value
  3039. end
  3040. coroutine.resume(coroutine.create(function()
  3041. for i = 0,10/bonuspeed,0.1 do
  3042. swait()
  3043. if rainbowmode == true then
  3044. rng.Color = Color3.new(r/255,g/255,b/255)
  3045. end
  3046. if type == "Add" then
  3047. scaler2 = scaler2 - 0.01*value/bonuspeed
  3048. elseif type == "Divide" then
  3049. scaler2 = scaler2 - 0.01/value*bonuspeed
  3050. end
  3051. if chaosmode == true then
  3052. rng.BrickColor = BrickColor.random()
  3053. end
  3054. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3055. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3056. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3057. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3058. end
  3059. rng:Destroy()
  3060. end))
  3061. end
  3062.  
  3063. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3064. local type = type
  3065. local rng = Instance.new("Part", char)
  3066. rng.Anchored = true
  3067. rng.BrickColor = color
  3068. rng.CanCollide = false
  3069. rng.FormFactor = 3
  3070. rng.Name = "Ring"
  3071. rng.Material = "Neon"
  3072. rng.Size = Vector3.new(1, 1, 1)
  3073. rng.Transparency = 0
  3074. rng.TopSurface = 0
  3075. rng.BottomSurface = 0
  3076. rng.CFrame = pos
  3077. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3078. local rngm = Instance.new("SpecialMesh", rng)
  3079. rngm.MeshType = "Brick"
  3080. rngm.Scale = vt(x1,y1,z1)
  3081. if rainbowmode == true then
  3082. rng.Color = Color3.new(r/255,g/255,b/255)
  3083. end
  3084. local scaler2 = 1
  3085. local speeder = FastSpeed/10
  3086. if type == "Add" then
  3087. scaler2 = 1*value
  3088. elseif type == "Divide" then
  3089. scaler2 = 1/value
  3090. end
  3091. coroutine.resume(coroutine.create(function()
  3092. for i = 0,10/bonuspeed,0.1 do
  3093. swait()
  3094. if rainbowmode == true then
  3095. rng.Color = Color3.new(r/255,g/255,b/255)
  3096. end
  3097. if type == "Add" then
  3098. scaler2 = scaler2 - 0.01*value/bonuspeed
  3099. elseif type == "Divide" then
  3100. scaler2 = scaler2 - 0.01/value*bonuspeed
  3101. end
  3102. if chaosmode == true then
  3103. rng.BrickColor = BrickColor.random()
  3104. end
  3105. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3106. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3107. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3108. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3109. end
  3110. rng:Destroy()
  3111. end))
  3112. end
  3113.  
  3114. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3115. local type = type
  3116. local rng = Instance.new("Part", char)
  3117. rng.Anchored = true
  3118. rng.BrickColor = color
  3119. rng.CanCollide = false
  3120. rng.FormFactor = 3
  3121. rng.Name = "Ring"
  3122. rng.Material = "Neon"
  3123. rng.Size = Vector3.new(1, 1, 1)
  3124. rng.Transparency = 0
  3125. rng.TopSurface = 0
  3126. rng.BottomSurface = 0
  3127. rng.CFrame = pos
  3128. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3129. local rngm = Instance.new("SpecialMesh", rng)
  3130. rngm.MeshType = "Brick"
  3131. rngm.Scale = vt(x1,y1,z1)
  3132. if rainbowmode == true then
  3133. rng.Color = Color3.new(r/255,g/255,b/255)
  3134. end
  3135. local scaler2 = 0
  3136. local speeder = FastSpeed/10
  3137. if type == "Add" then
  3138. scaler2 = 1*value
  3139. elseif type == "Divide" then
  3140. scaler2 = 1/value
  3141. end
  3142. coroutine.resume(coroutine.create(function()
  3143. for i = 0,10/bonuspeed,0.1 do
  3144. swait()
  3145. if rainbowmode == true then
  3146. rng.Color = Color3.new(r/255,g/255,b/255)
  3147. end
  3148. if type == "Add" then
  3149. scaler2 = scaler2 - 0.01*value/bonuspeed
  3150. elseif type == "Divide" then
  3151. scaler2 = scaler2 - 0.01/value*bonuspeed
  3152. end
  3153. if chaosmode == true then
  3154. rng.BrickColor = BrickColor.random()
  3155. end
  3156. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3157. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3158. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3159. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3160. end
  3161. rng:Destroy()
  3162. end))
  3163. end
  3164.  
  3165. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3166. local type = type
  3167. local rng = Instance.new("Part", char)
  3168. rng.Anchored = true
  3169. rng.BrickColor = color
  3170. rng.Color = color3
  3171. rng.CanCollide = false
  3172. rng.FormFactor = 3
  3173. rng.Name = "Ring"
  3174. rng.Material = "Neon"
  3175. rng.Size = Vector3.new(1, 1, 1)
  3176. rng.Transparency = 0
  3177. rng.TopSurface = 0
  3178. rng.BottomSurface = 0
  3179. rng.CFrame = pos
  3180. local rngm = Instance.new("SpecialMesh", rng)
  3181. rngm.MeshType = "Brick"
  3182. rngm.Scale = scale
  3183. local scaler2 = 1
  3184. local scaler2b = 1
  3185. local scaler2c = 1
  3186. if type == "Add" then
  3187. scaler2 = 1*value
  3188. scaler2b = 1*value2
  3189. scaler2c = 1*value3
  3190. elseif type == "Divide" then
  3191. scaler2 = 1/value
  3192. scaler2b = 1/value2
  3193. scaler2c = 1/value3
  3194. end
  3195. coroutine.resume(coroutine.create(function()
  3196. for i = 0,10/bonuspeed,0.1 do
  3197. swait()
  3198. if type == "Add" then
  3199. scaler2 = scaler2 - 0.01*value/bonuspeed
  3200. scaler2b = scaler2b - 0.01*value/bonuspeed
  3201. scaler2c = scaler2c - 0.01*value/bonuspeed
  3202. elseif type == "Divide" then
  3203. scaler2 = scaler2 - 0.01/value*bonuspeed
  3204. scaler2b = scaler2b - 0.01/value*bonuspeed
  3205. scaler2c = scaler2c - 0.01/value*bonuspeed
  3206. end
  3207. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3208. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3209. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3210. end
  3211. rng:Destroy()
  3212. end))
  3213. end
  3214.  
  3215. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3216. local type = type
  3217. local rng = Instance.new("Part", char)
  3218. rng.Anchored = true
  3219. if ModeOfGlitch ~= 9 then
  3220. rng.BrickColor = color
  3221. elseif ModeOfGlitch == 9 then
  3222. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3223. end
  3224. rng.CanCollide = false
  3225. rng.FormFactor = 3
  3226. rng.Name = "Ring"
  3227. rng.Material = "Neon"
  3228. rng.Size = Vector3.new(1, 1, 1)
  3229. rng.Transparency = 0
  3230. rng.TopSurface = 0
  3231. rng.BottomSurface = 0
  3232. rng.CFrame = pos
  3233. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3234. local rngm = Instance.new("SpecialMesh", rng)
  3235. rngm.MeshType = "Sphere"
  3236. rngm.Scale = vt(x1,y1,z1)
  3237. if rainbowmode == true then
  3238. rng.Color = Color3.new(r/255,g/255,b/255)
  3239. end
  3240. if ModeOfGlitch == 9 then
  3241. coroutine.resume(coroutine.create(function()
  3242. while true do
  3243. swait()
  3244. if rng.Parent ~= nil then
  3245. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3246. else
  3247. break
  3248. end
  3249. end
  3250. end))
  3251. end
  3252. local scaler2 = 1
  3253. local speeder = FastSpeed
  3254. if type == "Add" then
  3255. scaler2 = 1*value
  3256. elseif type == "Divide" then
  3257. scaler2 = 1/value
  3258. end
  3259. coroutine.resume(coroutine.create(function()
  3260. for i = 0,10/bonuspeed,0.1 do
  3261. swait()
  3262. if rainbowmode == true then
  3263. rng.Color = Color3.new(r/255,g/255,b/255)
  3264. end
  3265. if type == "Add" then
  3266. scaler2 = scaler2 - 0.01*value/bonuspeed
  3267. elseif type == "Divide" then
  3268. scaler2 = scaler2 - 0.01/value*bonuspeed
  3269. end
  3270. if chaosmode == true then
  3271. rng.BrickColor = BrickColor.random()
  3272. end
  3273. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3274. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3275. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3276. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3277. end
  3278. rng:Destroy()
  3279. end))
  3280. end
  3281.  
  3282.  
  3283. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3284. local type = type
  3285. local rng = Instance.new("Part", char)
  3286. rng.Anchored = true
  3287. if ModeOfGlitch ~= 9 then
  3288. rng.BrickColor = color
  3289. elseif ModeOfGlitch == 9 then
  3290. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3291. end
  3292. rng.CanCollide = false
  3293. rng.FormFactor = 3
  3294. rng.Name = "Ring"
  3295. rng.Material = "Neon"
  3296. rng.Size = Vector3.new(1, 1, 1)
  3297. rng.Transparency = 1
  3298. rng.TopSurface = 0
  3299. rng.BottomSurface = 0
  3300. rng.CFrame = pos
  3301. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3302. local rngm = Instance.new("SpecialMesh", rng)
  3303. rngm.MeshType = "Sphere"
  3304. rngm.Scale = vt(x1,y1,z1)
  3305. if rainbowmode == true then
  3306. rng.Color = Color3.new(r/255,g/255,b/255)
  3307. end
  3308. if ModeOfGlitch == 9 then
  3309. coroutine.resume(coroutine.create(function()
  3310. while true do
  3311. swait()
  3312. if rng.Parent ~= nil then
  3313. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3314. else
  3315. break
  3316. end
  3317. end
  3318. end))
  3319. end
  3320. local scaler2 = 1
  3321. local speeder = FastSpeed
  3322. if type == "Add" then
  3323. scaler2 = 1*value
  3324. elseif type == "Divide" then
  3325. scaler2 = 1/value
  3326. end
  3327. coroutine.resume(coroutine.create(function()
  3328. for i = 0,10/bonuspeed,0.1 do
  3329. swait()
  3330. if rainbowmode == true then
  3331. rng.Color = Color3.new(r/255,g/255,b/255)
  3332. end
  3333. if type == "Add" then
  3334. scaler2 = scaler2 - 0.01*value/bonuspeed
  3335. elseif type == "Divide" then
  3336. scaler2 = scaler2 - 0.01/value*bonuspeed
  3337. end
  3338. if chaosmode == true then
  3339. rng.BrickColor = BrickColor.random()
  3340. end
  3341. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3342. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3343. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3344. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3345. end
  3346. rng:Destroy()
  3347. end))
  3348. end
  3349.  
  3350. function dmg(dude)
  3351. if dude.Name ~= Character then
  3352. local keptcolor = MAINRUINCOLOR
  3353. local bgf = Instance.new("BodyGyro",dude.Head)
  3354. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3355. --[[local val = Instance.new("BoolValue",dude)
  3356. val.Name = "IsHit"]]--
  3357. local ds = coroutine.wrap(function()
  3358. dude:WaitForChild("Head"):BreakJoints()
  3359. for i, v in pairs(dude:GetChildren()) do
  3360. if v:IsA("Part") or v:IsA("MeshPart") then
  3361. v.Name = "DEMINISHED"
  3362. end
  3363. end
  3364. wait(0.5)
  3365. targetted = nil
  3366. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3367. coroutine.resume(coroutine.create(function()
  3368. for i, v in pairs(dude:GetChildren()) do
  3369. if v:IsA("Accessory") then
  3370. v:Destroy()
  3371. end
  3372. if v:IsA("Humanoid") then
  3373. v:Destroy()
  3374. end
  3375. if v:IsA("CharacterMesh") then
  3376. v:Destroy()
  3377. end
  3378. if v:IsA("Model") then
  3379. v:Destroy()
  3380. end
  3381. if v:IsA("Part") or v:IsA("MeshPart") then
  3382. for x, o in pairs(v:GetChildren()) do
  3383. if o:IsA("Decal") then
  3384. o:Destroy()
  3385. end
  3386. end
  3387. coroutine.resume(coroutine.create(function()
  3388. v.Material = "Neon"
  3389. v.CanCollide = false
  3390. v.Anchored = false
  3391. local bld = Instance.new("ParticleEmitter",v)
  3392. bld.LightEmission = 0.75
  3393. bld.Texture = "rbxassetid://363275192" ---284205403
  3394. bld.Color = ColorSequence.new(keptcolor.Color)
  3395. bld.Rate = 500
  3396. bld.Lifetime = NumberRange.new(1)
  3397. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3398. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3399. bld.Speed = NumberRange.new(2,5)
  3400. bld.VelocitySpread = 50000
  3401. bld.Rotation = NumberRange.new(-500,500)
  3402. bld.RotSpeed = NumberRange.new(-500,500)
  3403. local sbs = Instance.new("BodyPosition", v)
  3404. sbs.P = 3000
  3405. sbs.D = 1000
  3406. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3407. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3408. v.Color = keptcolor.Color
  3409. coroutine.resume(coroutine.create(function()
  3410. for i = 0, 49 do
  3411. swait(1)
  3412. v:BreakJoints()
  3413. v.Transparency = v.Transparency + 0.02
  3414. end
  3415. v:BreakJoints()
  3416. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3417. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3418. bld.Speed = NumberRange.new(10,25)
  3419. bld.Drag = 5
  3420. bld.Acceleration = vt(0,2,0)
  3421. wait(0.5)
  3422. bld.Enabled = false
  3423. wait(8)
  3424. v:Destroy()
  3425. dude:Destroy()
  3426. end))
  3427. end))
  3428. end
  3429. end
  3430. end))
  3431. end)
  3432. ds()
  3433. end
  3434. end
  3435.  
  3436.  
  3437. function FindNearestHead(Position, Distance, SinglePlayer)
  3438. if SinglePlayer then
  3439. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3440. end
  3441. local List = {}
  3442. for i, v in pairs(workspace:GetChildren()) do
  3443. if v:IsA("Model") then
  3444. if v:findFirstChild("Head") then
  3445. if v ~= Character then
  3446. if (v.Head.Position - Position).magnitude <= Distance then
  3447. table.insert(List, v)
  3448. end
  3449. end
  3450. end
  3451. end
  3452. end
  3453. return List
  3454. end
  3455.  
  3456. function FaceMouse()
  3457. Cam = workspace.CurrentCamera
  3458. return {
  3459. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3460. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3461. }
  3462. end
  3463.  
  3464. function FaceMouse2()
  3465. Cam = workspace.CurrentCamera
  3466. return {
  3467. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3468. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3469. }
  3470. end
  3471.  
  3472. local ModeOfGlitch = 1
  3473. -- Functions are ready.
  3474. local storehumanoidWS = 16
  3475.  
  3476. function CorruptBlink()
  3477. for i = 0, 14 do
  3478. 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)
  3479. end
  3480. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3481. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3482. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3483. CameraEnshaking(2,10)
  3484. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3485. if v:FindFirstChild('Head') then
  3486. dmg(v)
  3487. end
  3488. end
  3489. for i = 0, 14 do
  3490. 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)
  3491. end
  3492. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3493. end
  3494. function PureBomb()
  3495. attack = true
  3496. hum.WalkSpeed = 0
  3497. local orb = Instance.new("Part", char)
  3498. orb.Anchored = true
  3499. orb.BrickColor = BrickColor.new("Toothpaste")
  3500. orb.CanCollide = false
  3501. orb.FormFactor = 3
  3502. orb.Name = "Ring"
  3503. orb.Material = "Neon"
  3504. orb.Size = Vector3.new(1, 1, 1)
  3505. orb.Transparency = 0
  3506. orb.TopSurface = 0
  3507. orb.BottomSurface = 0
  3508. local orbm = Instance.new("SpecialMesh", orb)
  3509. orbm.MeshType = "Sphere"
  3510. orbm.Name = "SizeMesh"
  3511. orbm.Scale = vt(0,0,0)
  3512. local scaled = 0.1
  3513. local posid = 0
  3514. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3515. for i = 0, 5, 0.1 do
  3516. swait()
  3517. scaled = scaled - 0.001
  3518. posid = posid - scaled
  3519. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3520. local scaled = 0.1
  3521. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3522. 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)
  3523. 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)
  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))),.1)
  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)),.1)
  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(0)),.1)
  3527. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3528. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  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)),.1)
  3530. end
  3531. for i = 0, 2, 0.1 do
  3532. swait()
  3533. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3534. 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)
  3535. 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)
  3536. 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)
  3537. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3538. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3539. 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)
  3540. end
  3541. coroutine.resume(coroutine.create(function()
  3542. orb.Anchored = false
  3543. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3544. local a = Instance.new("Part",workspace)
  3545. a.Name = "Direction"
  3546. a.Anchored = true
  3547. a.BrickColor = bc("Bright red")
  3548. a.Material = "Neon"
  3549. a.Transparency = 1
  3550. a.CanCollide = false
  3551. local ray = Ray.new(
  3552. orb.CFrame.p, -- origin
  3553. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3554. )
  3555. local ignore = orb
  3556. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3557. a.BottomSurface = 10
  3558. a.TopSurface = 10
  3559. local distance = (orb.CFrame.p - position).magnitude
  3560. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3561. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3562. orb.CFrame = a.CFrame
  3563. a:Destroy()
  3564. local bv = Instance.new("BodyVelocity")
  3565. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3566. bv.velocity = orb.CFrame.lookVector*125
  3567. bv.Parent = orb
  3568. local hitted = false
  3569. game:GetService("Debris"):AddItem(orb, 15)
  3570. wait()
  3571. local hit =orb.Touched:connect(function(hit)
  3572. if hitted == false then
  3573. hitted = true
  3574. CameraEnshaking(10,2.5)
  3575. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3576. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3577. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3578. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3579. for i = 0, 49 do
  3580. 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)
  3581. end
  3582. for i = 0, 9 do
  3583. 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)
  3584. 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)
  3585. end
  3586. orb.Anchored = true
  3587. orb.Transparency = 1
  3588. wait(8)
  3589. orb:Destroy()
  3590. end
  3591. end)
  3592. end))
  3593. for i = 0, 1, 0.1 do
  3594. swait()
  3595. 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)
  3596. 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)
  3597. 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)
  3598. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3599. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3600. 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)
  3601. end
  3602. hum.WalkSpeed = storehumanoidWS
  3603. attack = false
  3604. end
  3605.  
  3606. function BanishingOrb()
  3607. attack = true
  3608. hum.WalkSpeed = 0
  3609. local radm = math.random(1,3)
  3610. if radm == 1 then
  3611. bosschatfunc("Let it's go..",MAINRUINCOLOR.Color,1)
  3612. elseif radm == 2 then
  3613. bosschatfunc("So this is it..",MAINRUINCOLOR.Color,1)
  3614. elseif radm == 3 then
  3615. bosschatfunc("I have enough thing..",MAINRUINCOLOR.Color,1)
  3616. end
  3617. CFuncs["EchoSound"].Create("rbxassetid://1535994940", char, 5, 1,0,10,0.15,0.5,1)
  3618. CFuncs["EchoSound"].Create("rbxassetid://1535994940", root, 60, 1,0,10,0.15,0.5,1)
  3619. local orb = Instance.new("Part", char)
  3620. orb.Anchored = true
  3621. orb.BrickColor = BrickColor.new("Lime green")
  3622. orb.CanCollide = false
  3623. orb.FormFactor = 3
  3624. orb.Name = "Ring"
  3625. orb.Material = "Neon"
  3626. orb.Size = Vector3.new(1, 1, 1)
  3627. orb.Transparency = 0
  3628. orb.TopSurface = 0
  3629. orb.BottomSurface = 0
  3630. local orbm = Instance.new("SpecialMesh", orb)
  3631. orbm.MeshType = "Sphere"
  3632. orbm.Name = "SizeMesh"
  3633. orbm.Scale = vt(0,0,0)
  3634. local scaled = 0.1
  3635. local posid = 0
  3636. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  3637. for i = 0, 5, 0.1 do
  3638. swait()
  3639. scaled = scaled - 0.001
  3640. posid = posid - scaled
  3641. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3642. local scaled = 0.1
  3643. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3644. 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)
  3645. 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)
  3646. 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)
  3647. 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)
  3648. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3649. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3650. 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)
  3651. end
  3652. for i = 0, 2, 0.1 do
  3653. swait()
  3654. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3655. 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)
  3656. 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)
  3657. 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)
  3658. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3659. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3660. 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)
  3661. end
  3662. coroutine.resume(coroutine.create(function()
  3663. orb.Anchored = false
  3664. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  3665. local a = Instance.new("Part",workspace)
  3666. a.Name = "Direction"
  3667. a.Anchored = true
  3668. a.BrickColor = bc("Lime green")
  3669. a.Material = "Neon"
  3670. a.Transparency = 1
  3671. a.CanCollide = false
  3672. local ray = Ray.new(
  3673. orb.CFrame.p, -- origin
  3674. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3675. )
  3676. local ignore = orb
  3677. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3678. a.BottomSurface = 10
  3679. a.TopSurface = 10
  3680. local distance = (orb.CFrame.p - position).magnitude
  3681. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3682. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3683. orb.CFrame = a.CFrame
  3684. a:Destroy()
  3685. local bv = Instance.new("BodyVelocity")
  3686. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3687. bv.velocity = orb.CFrame.lookVector*0
  3688. bv.Parent = orb
  3689. local hitted = false
  3690. local rate = 0
  3691. coroutine.resume(coroutine.create(function()
  3692. for i = 0, 24 do
  3693. wait(0.1)
  3694. rate = rate + 0.25
  3695. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  3696. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  3697. if v:FindFirstChild('Head') then
  3698. dmg(v)
  3699. end
  3700. end
  3701. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  3702. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,bc"Lime green")
  3703. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3704. end
  3705. orb.Anchored = true
  3706. orb.Transparency = 1
  3707. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  3708. if v:FindFirstChild('Head') then
  3709. dmg(v)
  3710. end
  3711. end
  3712. local eff = Instance.new("ParticleEmitter",orb)
  3713. eff.Texture = "rbxassetid://296874871"
  3714. eff.LightEmission = 0.95
  3715. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3716. eff.Rate = 1000000000
  3717. eff.Lifetime = NumberRange.new(3)
  3718. 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)})
  3719. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3720. eff.Speed = NumberRange.new(30)
  3721. eff.Acceleration = vt(0,-15,0)
  3722. eff.Rotation = NumberRange.new(-500,500)
  3723. eff.VelocitySpread = 100000
  3724. eff.RotSpeed = NumberRange.new(-500,500)
  3725. coroutine.resume(coroutine.create(function()
  3726. wait(0.6)
  3727. eff.Enabled = false
  3728. end))
  3729. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  3730. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  3731. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,bc"Lime green")
  3732. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3733. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  3734. game:GetService("Debris"):AddItem(orb, 15)
  3735. end))
  3736. end))
  3737. for i = 0, 1, 0.1 do
  3738. swait()
  3739. 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)
  3740. 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)
  3741. 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)
  3742. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3743. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3744. 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)
  3745. end
  3746. hum.WalkSpeed = storehumanoidWS
  3747. attack = false
  3748. end
  3749.  
  3750.  
  3751. function ChaosGroundStrike()
  3752. attack = true
  3753. for i = 0, 2, 0.1 do
  3754. swait()
  3755. 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)
  3756. 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)
  3757. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3758. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3759. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3760. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3761. end
  3762. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3763. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3764. CameraEnshaking(4,12)
  3765. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3766. if v:FindFirstChild('Head') then
  3767. dmg(v)
  3768. end
  3769. end
  3770. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3771. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3772. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3773. for i = 0, 2, 0.1 do
  3774. swait()
  3775. 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)
  3776. 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)
  3777. 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)
  3778. 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)
  3779. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3780. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3781. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3782. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3783. end
  3784. attack = false
  3785. end
  3786.  
  3787.  
  3788.  
  3789. function Starfall()
  3790. attack = true
  3791. hum.WalkSpeed = 0
  3792. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3793. for i = 0, 5, 0.1 do
  3794. swait()
  3795. 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)
  3796. 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)
  3797. 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)
  3798. 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)
  3799. 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)
  3800. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3801. 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)
  3802. 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)
  3803. end
  3804. local Overed = false
  3805. CameraEnshaking(2,20)
  3806. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3807. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3808. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3809. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3810. local orb = Instance.new("Part", char)
  3811. orb.Anchored = true
  3812. orb.BrickColor = BrickColor.new("Toothpaste")
  3813. orb.CanCollide = false
  3814. orb.FormFactor = 3
  3815. orb.Name = "Remenant"
  3816. orb.Material = "Neon"
  3817. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3818. orb.Size = Vector3.new(1, 1, 1)
  3819. orb.Transparency = 1
  3820. orb.TopSurface = 0
  3821. orb.BottomSurface = 0
  3822. hum.WalkSpeed = storehumanoidWS
  3823. coroutine.resume(coroutine.create(function()
  3824. for i = 0, 9 do
  3825. swait(10)
  3826. local lb = Instance.new("Part")
  3827. lb.Color = MAINRUINCOLOR.Color
  3828. lb.CanCollide = false
  3829. lb.Material = "Neon"
  3830. lb.Anchored = true
  3831. lb.TopSurface = 0
  3832. lb.BottomSurface = 0
  3833. lb.Transparency = 0
  3834. lb.Size = vt(1,1,1)
  3835. 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)))
  3836. lb.Anchored = false
  3837. lb.Parent = char
  3838. local thingery = Instance.new("SpecialMesh",lb)
  3839. thingery.MeshType = "Sphere"
  3840. thingery.Scale = vt(20,20,20)
  3841. game:GetService("Debris"):AddItem(lb, 10)
  3842. local bv = Instance.new("BodyVelocity")
  3843. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3844. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3845. bv.Parent = lb
  3846. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3847. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3848. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3849. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3850. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3851. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3852. local hitted = false
  3853. coroutine.resume(coroutine.create(function()
  3854. while true do
  3855. swait(1)
  3856. if lb.Parent ~= nil and hitted == false then
  3857. 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)
  3858. elseif lb.Parent == nil then
  3859. break
  3860. end
  3861. end
  3862. end))
  3863.  
  3864. game:GetService("Debris"):AddItem(a, 0.1)
  3865.  
  3866. coroutine.resume(coroutine.create(function()
  3867. swait(1)
  3868. lb.Touched:connect(function(hit)
  3869. if hitted == false then
  3870. hitted = true
  3871. lb.Transparency = 1
  3872. lb.Anchored = true
  3873. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3874. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3875. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3876. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3877. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3878. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3879. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3880. CameraEnshaking(1,5)
  3881. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3882. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3883. for i = 0, 9 do
  3884. 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)
  3885. end
  3886. for i = 0, 49 do
  3887. swait()
  3888. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3889. 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)
  3890. end
  3891. end
  3892. end)
  3893. end))
  3894. end
  3895. Overed = true
  3896. orb:Destroy()
  3897. end))
  3898.  
  3899. attack = false
  3900. end
  3901.  
  3902. function StarfallEX()
  3903. attack = true
  3904. hum.WalkSpeed = 0
  3905. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  3906. for i = 0, 10, 0.1 do
  3907. swait()
  3908. 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)
  3909. 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)
  3910. 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)
  3911. 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)
  3912. 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)
  3913. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3914. 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)
  3915. 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)
  3916. end
  3917. local Overed = false
  3918. CameraEnshaking(2,20)
  3919. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3920. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3921. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3922. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  3923. local orb = Instance.new("Part", char)
  3924. orb.Anchored = true
  3925. orb.BrickColor = BrickColor.new("Toothpaste")
  3926. orb.CanCollide = false
  3927. orb.FormFactor = 3
  3928. orb.Name = "Remenant"
  3929. orb.Material = "Neon"
  3930. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  3931. orb.Size = Vector3.new(1, 1, 1)
  3932. orb.Transparency = 1
  3933. orb.TopSurface = 0
  3934. orb.BottomSurface = 0
  3935. hum.WalkSpeed = storehumanoidWS
  3936. coroutine.resume(coroutine.create(function()
  3937. for i = 0, 4 do
  3938. swait(15)
  3939. local lb = Instance.new("Part")
  3940. lb.Color = MAINRUINCOLOR.Color
  3941. lb.CanCollide = false
  3942. lb.Material = "Neon"
  3943. lb.Anchored = true
  3944. lb.TopSurface = 0
  3945. lb.BottomSurface = 0
  3946. lb.Transparency = 0
  3947. lb.Size = vt(1,1,1)
  3948. 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)))
  3949. lb.Anchored = false
  3950. lb.Parent = char
  3951. local thingery = Instance.new("SpecialMesh",lb)
  3952. thingery.MeshType = "Sphere"
  3953. thingery.Scale = vt(50,50,50)
  3954. game:GetService("Debris"):AddItem(lb, 10)
  3955. local bv = Instance.new("BodyVelocity")
  3956. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3957. bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  3958. bv.Parent = lb
  3959. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3960. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3961. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  3962. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  3963. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  3964. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  3965. local hitted = false
  3966. coroutine.resume(coroutine.create(function()
  3967. while true do
  3968. swait(1)
  3969. if lb.Parent ~= nil and hitted == false then
  3970. 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)
  3971. elseif lb.Parent == nil then
  3972. break
  3973. end
  3974. end
  3975. end))
  3976.  
  3977. game:GetService("Debris"):AddItem(a, 0.1)
  3978.  
  3979. coroutine.resume(coroutine.create(function()
  3980. swait(1)
  3981. lb.Touched:connect(function(hit)
  3982. if hitted == false then
  3983. hitted = true
  3984. lb.Transparency = 1
  3985. lb.Anchored = true
  3986. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  3987. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  3988. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  3989. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  3990. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  3991. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  3992. MagniDamage(lb, 50, 60,99, 0, "Normal")
  3993. CameraEnshaking(1,5)
  3994. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  3995. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  3996. for i = 0, 9 do
  3997. 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)
  3998. end
  3999. for i = 0, 99 do
  4000. swait()
  4001. MagniDamage(lb, 30, 6,18, 0, "Normal")
  4002. 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)
  4003. end
  4004. end
  4005. end)
  4006. end))
  4007. end
  4008. Overed = true
  4009. orb:Destroy()
  4010. end))
  4011.  
  4012. attack = false
  4013. end
  4014.  
  4015. function DivineBlast()
  4016. attack = true
  4017. bosschatfunc("Justice Beam!!",MAINRUINCOLOR.Color,0.7)
  4018. hum.WalkSpeed = 0
  4019. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  4020. elocacenter.Anchored = true
  4021. elocacenter.CFrame = sorb.CFrame
  4022. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4023. eloca1.Anchored = true
  4024. eloca1.CFrame = elocacenter.CFrame
  4025. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4026. eloca2.Anchored = true
  4027. eloca2.CFrame = elocacenter.CFrame
  4028. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4029. eloca3.Anchored = true
  4030. eloca3.CFrame = elocacenter.CFrame
  4031. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4032. eloca4.Anchored = true
  4033. eloca4.CFrame = elocacenter.CFrame
  4034. local lookavec = 0
  4035. local speeds = 0
  4036. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  4037. for i = 0, 3, 0.1 do
  4038. swait()
  4039. ---
  4040. lookavec = lookavec + 0.1
  4041. speeds = speeds + 10
  4042. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4043. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4044. 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)
  4045.  
  4046. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4047. 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)
  4048.  
  4049. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4050. 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)
  4051.  
  4052. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4053. 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)
  4054. ---
  4055. root.CFrame = FaceMouse()[1]
  4056. 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)
  4057. 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)
  4058. 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)
  4059. 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)
  4060. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4061. 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)
  4062. end
  4063. for i = 0, 3, 0.1 do
  4064. swait()
  4065. ---
  4066. speeds = speeds + 10
  4067. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4068. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4069. 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)
  4070.  
  4071. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4072. 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)
  4073.  
  4074. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4075. 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)
  4076.  
  4077. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4078. 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)
  4079. ---
  4080. root.CFrame = FaceMouse()[1]
  4081. 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)
  4082. 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)
  4083. 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)
  4084. 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)
  4085. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4086. 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)
  4087. end
  4088. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  4089. CFuncs["Sound"].Create("rbxassetid://1436239652", char, 40,1)
  4090. for i = 0, 3, 0.1 do
  4091. swait()
  4092. ---
  4093. speeds = speeds + 10
  4094. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4095. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4096. 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)
  4097.  
  4098. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4099. 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)
  4100.  
  4101. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4102. 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)
  4103.  
  4104. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4105. 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)
  4106. ---
  4107. root.CFrame = FaceMouse()[1]
  4108. 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)
  4109. 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)
  4110. 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)
  4111. 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)
  4112. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  4113. 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)
  4114. end
  4115. coroutine.resume(coroutine.create(function()
  4116. local a = Instance.new("Part",Character)
  4117. a.Name = "Direction"
  4118. a.Anchored = true
  4119. a.BrickColor = bc("White")
  4120. a.Material = "Neon"
  4121. a.Transparency = 0
  4122. a.Shape = "Cylinder"
  4123. a.CanCollide = false
  4124. local a2 = Instance.new("Part",Character)
  4125. a2.Name = "Direction"
  4126. a2.Anchored = true
  4127. a2.BrickColor = bc("Bright yellow")
  4128. a2.Material = "Neon"
  4129. a2.Transparency = 0
  4130. a2.Shape = "Cylinder"
  4131. a2.CanCollide = false
  4132. local b = Instance.new("Part",Character)
  4133. b.Name = "HitDirect"
  4134. b.Anchored = true
  4135. b.BrickColor = bc("Cool yellow")
  4136. b.Material = "Neon"
  4137. b.Transparency = 1
  4138. b.CanCollide = false
  4139. local ray = Ray.new(
  4140. elocacenter.CFrame.p, -- origin
  4141. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  4142. )
  4143. local ignore = Character
  4144. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4145. a.BottomSurface = 10
  4146. a.TopSurface = 10
  4147. a2.BottomSurface = 10
  4148. a2.TopSurface = 10
  4149. local distance = (elocacenter.CFrame.p - position).magnitude
  4150. a.Size = Vector3.new(distance, 1, 1)
  4151. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4152. a2.Size = Vector3.new(distance, 1, 1)
  4153. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4154. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4155. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4156. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4157. game:GetService("Debris"):AddItem(a, 10)
  4158. game:GetService("Debris"):AddItem(a2, 10)
  4159. game:GetService("Debris"):AddItem(b, 10)
  4160. local eff = Instance.new("ParticleEmitter",b)
  4161. eff.Texture = "rbxassetid://2273224484"
  4162. eff.LightEmission = 1
  4163. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4164. eff.Rate = 500000
  4165. eff.Lifetime = NumberRange.new(0.5,2)
  4166. 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)})
  4167. 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)})
  4168. eff.Speed = NumberRange.new(20,250)
  4169. eff.Drag = 5
  4170. eff.Rotation = NumberRange.new(-500,500)
  4171. eff.VelocitySpread = 9000
  4172. eff.RotSpeed = NumberRange.new(-50,50)
  4173. coroutine.resume(coroutine.create(function()
  4174. wait(0.25)
  4175. eff.Enabled = false
  4176. end))
  4177. local msh = Instance.new("SpecialMesh",a)
  4178. msh.MeshType = "Cylinder"
  4179. msh.Scale = vt(1,2,2)
  4180. local msh2 = Instance.new("SpecialMesh",a2)
  4181. msh2.MeshType = "Cylinder"
  4182. msh2.Scale = vt(1,2.5,2.5)
  4183. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  4184. coroutine.resume(coroutine.create(function()
  4185. for i = 0,10,0.1 do
  4186. swait()
  4187. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  4188. a.Transparency = a.Transparency + 0.025
  4189. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  4190. a2.Transparency = a2.Transparency + 0.05
  4191. end
  4192. a:Destroy()
  4193. a2:Destroy()
  4194. end))
  4195. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  4196. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  4197. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  4198. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  4199. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  4200. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  4201. MagniDamage(b, 25, 40,65, 0, "Normal")
  4202. for i = 0, 49 do
  4203. 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)
  4204. 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)
  4205. end
  4206. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  4207. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  4208. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4209. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4210. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4211. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4212. end))
  4213. game:GetService("Debris"):AddItem(elocacenter, 5)
  4214. hum.WalkSpeed = storehumanoidWS
  4215. attack = false
  4216. end
  4217.  
  4218. function StarDivision()
  4219. attack = true
  4220. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4221. for i = 0, 2, 0.1 do
  4222. swait()
  4223. 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)
  4224. 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)
  4225. 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)
  4226. 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)
  4227. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4228. 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)
  4229. end
  4230. local orb = Instance.new("Part", char)
  4231. orb.BrickColor = MAINRUINCOLOR
  4232. orb.CanCollide = false
  4233. orb.FormFactor = 3
  4234. orb.Name = "Ring"
  4235. orb.Material = "Neon"
  4236. orb.Size = Vector3.new(1, 1, 1)
  4237. orb.Transparency = 0
  4238. orb.TopSurface = 0
  4239. orb.BottomSurface = 0
  4240. local orbm = Instance.new("SpecialMesh", orb)
  4241. orbm.MeshType = "Sphere"
  4242. orbm.Name = "SizeMesh"
  4243. orbm.Scale = vt(2,2,2)
  4244. local a = Instance.new("Part",workspace)
  4245. a.Name = "Direction"
  4246. a.Anchored = true
  4247. a.BrickColor = bc("Bright red")
  4248. a.Material = "Neon"
  4249. a.Transparency = 1
  4250. a.CanCollide = false
  4251. local ray = Ray.new(
  4252. sorb.CFrame.p, -- origin
  4253. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4254. )
  4255. local ignore = sorb
  4256. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4257. a.BottomSurface = 10
  4258. a.TopSurface = 10
  4259. local distance = (sorb.CFrame.p - position).magnitude
  4260. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4261. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4262. orb.CFrame = a.CFrame
  4263. a:Destroy()
  4264. local bv = Instance.new("BodyVelocity")
  4265. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4266. bv.velocity = orb.CFrame.lookVector*100
  4267. bv.Parent = orb
  4268. local hitted = false
  4269. game:GetService("Debris"):AddItem(orb, 10)
  4270. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4271. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4272. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4273. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4274. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4275. coroutine.resume(coroutine.create(function()
  4276. while true do
  4277. swait(1)
  4278. if orb.Parent ~= nil and hitted == false then
  4279. 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)
  4280. elseif orb.Parent == nil then
  4281. break
  4282. end
  4283. end
  4284. end))
  4285. coroutine.resume(coroutine.create(function()
  4286. swait(1)
  4287. orb.Touched:connect(function(hit)
  4288. if hitted == false then
  4289. hitted = true
  4290. game:GetService("Debris"):AddItem(orb, 5)
  4291. orb.Transparency = 1
  4292. orb.Anchored = true
  4293. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4294. elocacenter.Anchored = true
  4295. elocacenter.CFrame = orb.CFrame
  4296. elocacenter.Orientation = vt(0,0,0)
  4297. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4298. eloca1.Anchored = true
  4299. eloca1.CFrame = elocacenter.CFrame
  4300. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4301. eloca2.Anchored = true
  4302. eloca2.CFrame = elocacenter.CFrame
  4303. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4304. eloca3.Anchored = true
  4305. eloca3.CFrame = elocacenter.CFrame
  4306. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4307. eloca4.Anchored = true
  4308. eloca4.CFrame = elocacenter.CFrame
  4309. local lookavec = 0
  4310. local speeds = 0
  4311. CameraEnshaking(1,1)
  4312. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4313. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4314. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4315. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4316. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4317. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4318. for i = 0, 99 do
  4319. swait()
  4320. lookavec = lookavec + 1
  4321. speeds = speeds + 0.1
  4322. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4323. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4324. 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)
  4325.  
  4326. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4327. 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)
  4328.  
  4329. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4330. 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)
  4331.  
  4332. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4333. 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)
  4334. end
  4335.  
  4336. for i = 0, 149 do
  4337. swait()
  4338. speeds = speeds + 0.1
  4339. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4340. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4341. 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)
  4342.  
  4343. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4344. 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)
  4345.  
  4346. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4347. 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)
  4348.  
  4349. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4350. 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)
  4351. end
  4352. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4353. if v:FindFirstChild('Head') then
  4354. dmg(v)
  4355. end
  4356. end
  4357. CameraEnshaking(7,30)
  4358. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4359. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4360. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4361. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4362. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4363. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4364. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4365. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4366. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4367. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4368. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4369. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4370. for i = 0, 24 do
  4371. 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)
  4372. 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)
  4373. 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)
  4374. 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)
  4375. end
  4376. coroutine.resume(coroutine.create(function()
  4377. for i = 0, 499 do
  4378. swait(1)
  4379. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4380. 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)
  4381. end
  4382. elocacenter:Destroy()
  4383. eloca1:Destroy()
  4384. eloca2:Destroy()
  4385. eloca3:Destroy()
  4386. eloca4:Destroy()
  4387. end))
  4388. end
  4389. end)
  4390. end))
  4391. attack = false
  4392. end
  4393.  
  4394.  
  4395. function THE_TRUE_POWER_OF_VIOLENCE()
  4396. attack = true
  4397. hum.WalkSpeed = 0
  4398. bosschatfunc("ALL YOUR DESTINY...",MAINRUINCOLOR.Color,4)
  4399. for i = 0, 10, 0.1 do
  4400. swait()
  4401. 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)
  4402. 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)
  4403. 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)
  4404. 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)
  4405. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  4406. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4407. 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)
  4408. end
  4409. local orb = Instance.new("Part", char)
  4410. orb.BrickColor = MAINRUINCOLOR
  4411. orb.CanCollide = false
  4412. orb.FormFactor = 3
  4413. orb.Name = "Ring"
  4414. orb.Material = "Neon"
  4415. orb.Size = Vector3.new(1, 1, 1)
  4416. orb.Transparency = 0
  4417. orb.TopSurface = 0
  4418. orb.BottomSurface = 0
  4419. orb.CFrame = sorb.CFrame
  4420. local orbm = Instance.new("SpecialMesh", orb)
  4421. orbm.MeshType = "Sphere"
  4422. orbm.Name = "SizeMesh"
  4423. orbm.Scale = vt(0,0,0)
  4424. local sbs = Instance.new("BodyPosition", orb)
  4425. sbs.P = 3000
  4426. sbs.D = 1000
  4427. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4428. sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  4429. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  4430. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4431. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4432. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4433. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4434. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4435. for i = 0, 10, 0.1 do
  4436. swait()
  4437. 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)
  4438. 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)
  4439. 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)
  4440. 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)
  4441. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4442. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4443. 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)
  4444. end
  4445. orb.Anchored = true
  4446. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4447. elocacenter.Anchored = true
  4448. elocacenter.CFrame = orb.CFrame
  4449. elocacenter.Orientation = vt(0,0,0)
  4450. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4451. eloca1.Anchored = true
  4452. eloca1.CFrame = elocacenter.CFrame
  4453. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4454. eloca2.Anchored = true
  4455. eloca2.CFrame = elocacenter.CFrame
  4456. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4457. eloca3.Anchored = true
  4458. eloca3.CFrame = elocacenter.CFrame
  4459. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4460. eloca4.Anchored = true
  4461. eloca4.CFrame = elocacenter.CFrame
  4462. local lookavec = 0
  4463. local speeds = 0
  4464. CameraEnshaking(1,1)
  4465. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  4466. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  4467. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  4468. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  4469. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4470. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4471. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4472. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4473. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4474. for i = 0, 99 do
  4475. swait()
  4476. lookavec = lookavec + 2.5
  4477. speeds = speeds + 0.25
  4478. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4479. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4480. 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)
  4481.  
  4482. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4483. 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)
  4484.  
  4485. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4486. 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)
  4487.  
  4488. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4489. 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)
  4490. end
  4491.  
  4492. for i = 0, 149 do
  4493. swait()
  4494. speeds = speeds + 0.25
  4495. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4496. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4497. 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)
  4498.  
  4499. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4500. 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)
  4501.  
  4502. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4503. 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)
  4504.  
  4505. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4506. 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)
  4507. end
  4508. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  4509. for i = 0, 99 do
  4510. swait()
  4511. lookavec = lookavec - 2.5
  4512. speeds = speeds + 0.25
  4513. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4514. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4515. 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)
  4516.  
  4517. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4518. 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)
  4519.  
  4520. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4521. 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)
  4522.  
  4523. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4524. 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)
  4525. end
  4526. local scaled = 0.1*75
  4527. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  4528. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  4529. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  4530. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  4531. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  4532. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4533. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4534. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4535. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4536. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4537. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4538.  
  4539. for i = 0, 10, 0.1 do
  4540. swait()
  4541. scaled = scaled - 0.001*75
  4542. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4543. 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)
  4544. 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)
  4545. 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)
  4546. 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)
  4547. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4548. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4549. 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)
  4550. end
  4551. bosschatfunc("WILL BE MINE!!!!",MAINRUINCOLOR.Color,2)
  4552. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 10, 1,0,10,0.15,0.5,1)
  4553. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 60, 1,0,10,0.15,0.5,1)
  4554. for x = 0, 4 do
  4555. for i = 0, 9 do
  4556. 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)
  4557. end
  4558. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  4559. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  4560. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4561. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4562. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4563. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4564. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4565. for i = 0, 5, 0.1 do
  4566. swait()
  4567. 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)
  4568. 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)
  4569. 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)
  4570. 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)
  4571. 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)
  4572. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  4573. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  4574. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  4575. end
  4576. end
  4577. local speedearn = 0
  4578. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  4579. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  4580. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  4581. for i = 0, 30, 0.1 do
  4582. swait()
  4583. scaled = scaled - 0.001*75/10
  4584. speedearn = speedearn + 0.5
  4585. for i = 0, 4 do
  4586. 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)
  4587. end
  4588. 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)
  4589. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4590. 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)
  4591. 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)
  4592. 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)
  4593. 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)
  4594. 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)
  4595. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  4596. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  4597. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  4598. end
  4599. orb.Transparency = 1
  4600. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  4601. if v:FindFirstChild('Head') then
  4602. dmg(v)
  4603. end
  4604. end
  4605. CameraEnshaking(7,30)
  4606. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  4607. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  4608. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  4609. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  4610. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  4611. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4612. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  4613. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4614. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  4615. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  4616. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  4617. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  4618. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  4619. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  4620. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4621. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4622. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4623. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4624. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4625. for i = 0, 99 do
  4626. 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)
  4627. 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)
  4628. end
  4629. for i = 0, 24 do
  4630. 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)
  4631. 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)
  4632. 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)
  4633. 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)
  4634. 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)
  4635. end
  4636. game:GetService("Debris"):AddItem(orb, 10)
  4637. hum.WalkSpeed = storehumanoidWS
  4638. attack = false
  4639. end
  4640.  
  4641.  
  4642. function ViolentRing()
  4643. attack = true
  4644. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  4645. bosschatfunc("SHOULD I TAKE THAT EASIER?!",MAINRUINCOLOR.Color,0.7)
  4646. CFuncs["EchoSound"].Create("rbxassetid://1535994137", char, 4, 1,0,10,0.15,0.5,1)
  4647. CFuncs["EchoSound"].Create("rbxassetid://1535994137", root, 7, 1,0,10,0.15,0.5,1)
  4648. for i = 0, 2, 0.1 do
  4649. swait()
  4650. local snap = math.random(1,10)
  4651. if snap == 1 then
  4652. 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)
  4653. end
  4654. 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)
  4655. 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)
  4656. 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)
  4657. 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)
  4658. 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)
  4659. 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)
  4660. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  4661. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  4662. 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)
  4663. RootPart.CFrame = FaceMouse()[1]
  4664. end
  4665. local orb = Instance.new("Part", char)
  4666. orb.BrickColor = MAINRUINCOLOR
  4667. orb.CanCollide = false
  4668. orb.FormFactor = 3
  4669. orb.Name = "Ring"
  4670. orb.Material = "Neon"
  4671. orb.Size = Vector3.new(1, 1, 1)
  4672. orb.Transparency = 0
  4673. orb.TopSurface = 0
  4674. orb.BottomSurface = 0
  4675. local orbm = Instance.new("SpecialMesh", orb)
  4676. orbm.MeshType = "Sphere"
  4677. orbm.Name = "SizeMesh"
  4678. orbm.Scale = vt(2,2,2)
  4679. orb.CFrame = mouse.Hit
  4680. local bv = Instance.new("BodyVelocity")
  4681. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4682. bv.velocity = orb.CFrame.lookVector*100
  4683. bv.Parent = orb
  4684. local hitted = false
  4685. coroutine.resume(coroutine.create(function()
  4686. game:GetService("Debris"):AddItem(orb, 5)
  4687. orb.Transparency = 1
  4688. orb.Anchored = true
  4689. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4690. elocacenter.Anchored = true
  4691. elocacenter.CFrame = orb.CFrame
  4692. elocacenter.Orientation = vt(0,0,0)
  4693. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4694. eloca1.Anchored = true
  4695. eloca1.CFrame = elocacenter.CFrame
  4696. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4697. eloca2.Anchored = true
  4698. eloca2.CFrame = elocacenter.CFrame
  4699. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4700. eloca3.Anchored = true
  4701. eloca3.CFrame = elocacenter.CFrame
  4702. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4703. eloca4.Anchored = true
  4704. eloca4.CFrame = elocacenter.CFrame
  4705. local lookavec = 0
  4706. local speeds = 0
  4707. CameraEnshaking(1,1)
  4708. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4709. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4710. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4711. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4712. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4713. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4714. for i = 0, 24 do
  4715. swait()
  4716. lookavec = lookavec + 3.5
  4717. speeds = speeds + 1
  4718. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4719. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4720. 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)
  4721.  
  4722. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4723. 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)
  4724.  
  4725. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4726. 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)
  4727.  
  4728. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4729. 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)
  4730. end
  4731.  
  4732. local risen = 0
  4733. for i = 0, 49 do
  4734. swait()
  4735. risen = risen + 0.05
  4736. speeds = speeds + 0.1
  4737. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4738. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4739. 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)
  4740.  
  4741. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4742. 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)
  4743.  
  4744. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4745. 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)
  4746.  
  4747. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4748. 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)
  4749. end
  4750. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  4751. if v:FindFirstChild('Head') then
  4752. dmg(v)
  4753. end
  4754. end
  4755. CameraEnshaking(4,10)
  4756. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  4757. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  4758. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  4759. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  4760. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  4761. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  4762. local eff = Instance.new("ParticleEmitter",elocacenter)
  4763. eff.Texture = "rbxassetid://2273224484"
  4764. eff.LightEmission = 1
  4765. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4766. eff.Rate = 1000000
  4767. eff.Lifetime = NumberRange.new(0.5,2)
  4768. 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)})
  4769. 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)})
  4770. eff.Speed = NumberRange.new(20,250)
  4771. eff.Drag = 5
  4772. eff.Rotation = NumberRange.new(-500,500)
  4773. eff.VelocitySpread = 5000000
  4774. eff.RotSpeed = NumberRange.new(-50,50)
  4775. coroutine.resume(coroutine.create(function()
  4776. wait(1)
  4777. eff.Enabled = false
  4778. end))
  4779. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  4780. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  4781. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4782. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4783. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4784. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4785. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4786. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  4787. for i = 0, 24 do
  4788. 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)
  4789. 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)
  4790. 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)
  4791. 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)
  4792. end
  4793. coroutine.resume(coroutine.create(function()
  4794. wait(10)
  4795. elocacenter:Destroy()
  4796. eloca1:Destroy()
  4797. eloca2:Destroy()
  4798. eloca3:Destroy()
  4799. eloca4:Destroy()
  4800. end))
  4801. end))
  4802. attack = false
  4803. end
  4804.  
  4805. function UniversalCollapse()
  4806. attack = true
  4807. local speedearn = 0
  4808. hum.WalkSpeed = 0
  4809. local sbs = Instance.new("BodyPosition", root)
  4810. sbs.P = 3000
  4811. sbs.D = 1000
  4812. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4813. sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  4814. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4815. for i = 0, 85, 0.1 do
  4816. swait()
  4817. speedearn = speedearn + 0.1
  4818. 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)
  4819. 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)
  4820. 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)
  4821. 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)
  4822. 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)
  4823. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4824. 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)
  4825. 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)
  4826. 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)
  4827. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4828. 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)
  4829. 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)
  4830. end
  4831. bosschatfunc("Universary..",MAINRUINCOLOR.Color,1)
  4832. CFuncs["EchoSound"].Create("rbxassetid://1448032598", char, 5, 1,0,10,0.15,0.5,1)
  4833. CFuncs["EchoSound"].Create("rbxassetid://1448032598", root, 20, 1,0,10,0.15,0.5,1)
  4834. for i = 0, 25, 0.1 do
  4835. swait()
  4836. speedearn = speedearn + 0.1
  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))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,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))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4839. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4840. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4841. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4842. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4843. 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)
  4844. 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)
  4845. 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)
  4846. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4847. 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)
  4848. 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)
  4849. end
  4850. bosschatfunc("COLLAPSE!!!",MAINRUINCOLOR.Color,1)
  4851. CFuncs["EchoSound"].Create("rbxassetid://1436241883", char, 5, 1,0,10,0.15,0.5,1)
  4852. CFuncs["EchoSound"].Create("rbxassetid://1436241883", root, 20, 1,0,10,0.15,0.5,1)
  4853. CameraEnshaking(5,50)
  4854. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4855. for i = 0, 2 do
  4856. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4857. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4858. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  4859. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  4860. end
  4861. for i = 0, 49 do
  4862. 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)
  4863. 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)
  4864. 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)
  4865. 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)
  4866. end
  4867. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4868. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4869. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4870. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4871. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4872. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4873. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4874. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4875. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4876. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4877. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4878. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4879. for i = 0, 99 do
  4880. 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)
  4881. 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)
  4882. end
  4883. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  4884. if v:FindFirstChild('Head') then
  4885. dmg(v)
  4886. end
  4887. end
  4888. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  4889. sbs:Destroy()
  4890. hum.WalkSpeed = storehumanoidWS
  4891. attack = false
  4892. end
  4893.  
  4894.  
  4895. function ChaosEND()
  4896. attack = true
  4897. local speedearn = 0
  4898. bosschatfunc("THIS IS..",MAINRUINCOLOR.Color,0.8)
  4899. CFuncs["EchoSound"].Create("rbxassetid://1548599511", char, 4.5, 1,0,10,0.15,0.5,1)
  4900. CFuncs["EchoSound"].Create("rbxassetid://1548599511", root, 30, 1,0,10,0.15,0.5,1)
  4901. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4902. for i = 0, 15, 0.1 do
  4903. swait()
  4904. speedearn = speedearn + 0.25
  4905. 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)
  4906. 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)
  4907. 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)
  4908. 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)
  4909. 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)
  4910. 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)
  4911. 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)
  4912. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4913. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4914. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4915. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4916. end
  4917. CFuncs["Sound"].Create("rbxassetid://438666141", char, 3,1)
  4918. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4919. bosschatfunc("THE END!!!",MAINRUINCOLOR.Color,2)
  4920. CFuncs["EchoSound"].Create("rbxassetid://1548599962", char, 8, 1,0,10,0.15,0.5,1)
  4921. CFuncs["EchoSound"].Create("rbxassetid://1548599962", root, 40, 1,0,10,0.15,0.5,1)
  4922. CameraEnshaking(5,25)
  4923. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4924. if v:FindFirstChild('Head') then
  4925. dmg(v)
  4926. end
  4927. end
  4928. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4929. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4930. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4931. for i = 0, 3, 0.1 do
  4932. swait()
  4933. 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)
  4934. 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)
  4935. 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)
  4936. 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)
  4937. 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)
  4938. 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)
  4939. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4940. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4941. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4942. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4943. end
  4944. attack = false
  4945. end
  4946.  
  4947. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4948. local orb = Instance.new("Part", char)
  4949. orb.Anchored = true
  4950. orb.BrickColor = color
  4951. orb.CanCollide = false
  4952. orb.FormFactor = 3
  4953. orb.Name = "Ring"
  4954. orb.Material = "Neon"
  4955. orb.Size = Vector3.new(1, 1, 1)
  4956. orb.Transparency = 0
  4957. orb.TopSurface = 0
  4958. orb.BottomSurface = 0
  4959. local orbm = Instance.new("SpecialMesh", orb)
  4960. orbm.MeshType = "Sphere"
  4961. orb.CFrame = positted
  4962. orbm.Name = "SizeMesh"
  4963. orbm.Scale = vt(1,1,1)
  4964. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4965. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4966. --[[for i = 0, 2 do
  4967. 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)
  4968. end]]--
  4969. coroutine.resume(coroutine.create(function()
  4970. wait(timer)
  4971. CameraEnshaking(3,ShakePower)
  4972. orb.Transparency = 1
  4973. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4974. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4975. --[[for i = 0, 4 do
  4976. 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)
  4977. end]]--
  4978. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4979. wait(3)
  4980. orb:Destroy()
  4981. end))
  4982. end
  4983.  
  4984. function orb_spawn(positted,timer)
  4985. local randomcol = math.random(1,2)
  4986. local orb = Instance.new("Part", char)
  4987. orb.Anchored = true
  4988. if randomcol == 1 then
  4989. orb.BrickColor = BrickColor.new("White")
  4990. elseif randomcol == 2 then
  4991. orb.BrickColor = BrickColor.new("Really black")
  4992. end
  4993. orb.CanCollide = false
  4994. orb.FormFactor = 3
  4995. orb.Name = "Ring"
  4996. orb.Material = "Neon"
  4997. orb.Size = Vector3.new(1, 1, 1)
  4998. orb.Transparency = 0
  4999. orb.TopSurface = 0
  5000. orb.BottomSurface = 0
  5001. local orbm = Instance.new("SpecialMesh", orb)
  5002. orbm.MeshType = "Sphere"
  5003. orb.CFrame = positted
  5004. orbm.Name = "SizeMesh"
  5005. orbm.Scale = vt(1,1,1)
  5006. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 0.15, 1)
  5007. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  5008. for i = 0, 2 do
  5009. 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)
  5010. end
  5011. coroutine.resume(coroutine.create(function()
  5012. wait(timer)
  5013. CameraEnshaking(3,2)
  5014. orb.Transparency = 1
  5015. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  5016. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  5017. for i = 0, 4 do
  5018. 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)
  5019. end
  5020. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 0.15, 0.7)
  5021. wait(3)
  5022. orb:Destroy()
  5023. end))
  5024. end
  5025.  
  5026. function scattercorrupt()
  5027. attack = true
  5028. hum.WalkSpeed = 0
  5029. for i = 0, 2, 0.1 do
  5030. swait()
  5031. 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)
  5032. 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)
  5033. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5034. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5035. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.2)
  5036. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.2)
  5037. end
  5038. local rot = 0
  5039. local randomrotations = math.random(1,2)
  5040. local lookv = 2.5
  5041. local power = 7
  5042. local radm = math.random(1,3)
  5043. if radm == 1 then
  5044. bosschatfunc("HOW LONG CAN YOU TAKE THIS?",MAINRUINCOLOR.Color,1)
  5045. elseif radm == 2 then
  5046. bosschatfunc("SWAMP!!",MAINRUINCOLOR.Color,1)
  5047. elseif radm == 3 then
  5048. bosschatfunc("SCATTER!!",MAINRUINCOLOR.Color,1)
  5049. end
  5050. CFuncs["Sound"].Create("rbxassetid://183763506", RightLeg, 2, 1)
  5051. for i = 0, 1, 0.1 do
  5052. swait()
  5053. 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)
  5054. 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)
  5055. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(15),math.rad(0),math.rad(0)),.15)
  5056. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.15)
  5057. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(40)),.15)
  5058. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(-40)),.15)
  5059. end
  5060. CFuncs["EchoSound"].Create("rbxassetid://1535994669", char, 5, 1,0,10,0.15,0.5,1)
  5061. CFuncs["EchoSound"].Create("rbxassetid://1535994669", root, 20, 1,0,10,0.15,0.5,1)
  5062. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  5063. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  5064. for i = 0, 9 do
  5065. 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)
  5066. end
  5067. local hite = Instance.new("Part", char)
  5068. hite.Anchored = true
  5069. hite.CanCollide = false
  5070. hite.FormFactor = 3
  5071. hite.Name = "Ring"
  5072. hite.Material = "Neon"
  5073. hite.Size = Vector3.new(1, 1, 1)
  5074. hite.Transparency = 1
  5075. hite.TopSurface = 0
  5076. hite.BottomSurface = 0
  5077. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  5078. local rem = Instance.new("Part", char)
  5079. rem.Anchored = true
  5080. rem.CanCollide = false
  5081. rem.FormFactor = 3
  5082. rem.Name = "Ring"
  5083. rem.Material = "Neon"
  5084. rem.Size = Vector3.new(1, 1, 1)
  5085. rem.Transparency = 1
  5086. rem.TopSurface = 0
  5087. rem.BottomSurface = 0
  5088. rem.CFrame = hite.CFrame
  5089. local rem2 = rem:Clone()
  5090. rem2.Parent = char
  5091. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5092. local rem3 = rem:Clone()
  5093. rem3.Parent = char
  5094. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5095. local rem4 = rem:Clone()
  5096. rem4.Parent = char
  5097. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5098. hite:Destroy()
  5099. coroutine.resume(coroutine.create(function()
  5100. for i = 0, 24 do
  5101. swait(1)
  5102. if randomrotations == 1 then
  5103. rot = rot + 1
  5104. elseif randomrotations == 2 then
  5105. rot = rot - 1
  5106. end
  5107. power = power + 0.5
  5108. lookv = lookv + 7.5
  5109. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5110. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5111. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5112. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5113. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5114. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5115. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5116. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5117. end
  5118. end))
  5119. wait(2)
  5120. hum.WalkSpeed = storehumanoidWS
  5121. attack = false
  5122. end
  5123. function yinyangi()
  5124. attack = true
  5125. for i = 0, 2, 0.1 do
  5126. swait()
  5127. 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)
  5128. 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)
  5129. 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)
  5130. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5131. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  5132. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  5133. end
  5134. local bv = Instance.new("BodyVelocity")
  5135. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5136. bv.velocity = root.CFrame.lookVector*175
  5137. bv.Parent = root
  5138. for Rotations = 0, 9 do
  5139. for i = 0, 1, 0.5 do
  5140. swait()
  5141. bv.velocity = root.CFrame.lookVector*175
  5142. 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)
  5143. 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)
  5144. 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)
  5145. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5146. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5147. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5148. end
  5149. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5150. for i = 0, 1, 0.5 do
  5151. swait()
  5152. bv.velocity = root.CFrame.lookVector*175
  5153. 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)
  5154. 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)
  5155. 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)
  5156. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5157. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5158. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5159. end
  5160. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5161. for i = 0, 1, 0.5 do
  5162. swait()
  5163. bv.velocity = root.CFrame.lookVector*175
  5164. 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)
  5165. 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)
  5166. 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)
  5167. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5168. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5169. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5170. end
  5171. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5172. for i = 0, 1, 0.5 do
  5173. swait()
  5174. bv.velocity = root.CFrame.lookVector*175
  5175. 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)
  5176. 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)
  5177. 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)
  5178. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5179. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5180. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5181. end
  5182. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5183. end
  5184. bv:Destroy()
  5185. attack = false
  5186. end
  5187.  
  5188. function createBGCircle(size,parent,color)
  5189. local bgui = Instance.new("BillboardGui",parent)
  5190. bgui.Size = UDim2.new(size, 0, size, 0)
  5191. local imgc = Instance.new("ImageLabel",bgui)
  5192. imgc.BackgroundTransparency = 1
  5193. imgc.ImageTransparency = 0
  5194. imgc.Size = UDim2.new(1,0,1,0)
  5195. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  5196. imgc.ImageColor3 = color
  5197. return bgui,imgc
  5198. end
  5199.  
  5200. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  5201. local bgui,imgc = createBGCircle(size,guipar,color)
  5202. bgui.AlwaysOnTop = true
  5203. imgc.Image = "rbxassetid://" ..img
  5204. local rrot = math.random(1,2)
  5205. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  5206. coroutine.resume(coroutine.create(function()
  5207. for i = 0, 24*delay do
  5208. swait()
  5209. if rotationenabled == true then
  5210. if rrot == 1 then
  5211. imgc.Rotation = imgc.Rotation + rotsp
  5212. elseif rrot == 2 then
  5213. imgc.Rotation = imgc.Rotation - rotsp
  5214. end
  5215. end
  5216. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  5217. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  5218. end
  5219. bgui:Destroy()
  5220. end))
  5221. end
  5222. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  5223. for i, v in pairs(mw2:GetChildren()) do
  5224. if v:IsA("Part") then
  5225. v.BrickColor = one
  5226. v.Material = "Neon"
  5227. end
  5228. end
  5229. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  5230. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  5231. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  5232. tr1.Color = ColorSequence.new(one.Color)
  5233. tr2.Color = ColorSequence.new(one.Color)
  5234. tr3.Color = ColorSequence.new(one.Color)
  5235. for i, v in pairs(mw1:GetChildren()) do
  5236. if v:IsA("Part") then
  5237. if secondaryenabled == false then
  5238. v.Transparency = 1
  5239. elseif secondaryenabled == true then
  5240. v.Transparency = 0
  5241. end
  5242. v.BrickColor = two
  5243. v.Material = "Neon"
  5244. end
  5245. end
  5246. if secondaryenabled == false then
  5247. tl1.Enabled = false
  5248. tl2.Enabled = false
  5249. tl3.Enabled = false
  5250. elseif secondaryenabled == true then
  5251. tl1.Enabled = true
  5252. tl2.Enabled = true
  5253. tl3.Enabled = true
  5254. end
  5255. tl1.Color = ColorSequence.new(two.Color)
  5256. tl2.Color = ColorSequence.new(two.Color)
  5257. tl3.Color = ColorSequence.new(two.Color)
  5258. for i, v in pairs(m:GetChildren()) do
  5259. if v:IsA("Part") then
  5260. v.BrickColor = three
  5261. v.Material = "Ice"
  5262. end
  5263. end
  5264. for i, v in pairs(m2:GetChildren()) do
  5265. if v:IsA("Part") then
  5266. v.BrickColor = four
  5267. v.Material = "Ice"
  5268. end
  5269. end
  5270. for i, v in pairs(m3:GetChildren()) do
  5271. if v:IsA("Part") then
  5272. v.BrickColor = five
  5273. v.Material = "Neon"
  5274. end
  5275. end
  5276. for i, v in pairs(extrawingmod1:GetChildren()) do
  5277. if v:IsA("Part") then
  5278. v.Transparency = exonetran
  5279. v.BrickColor = exone
  5280. v.Material = "Neon"
  5281. end
  5282. end
  5283. for i, v in pairs(extrawingmod2:GetChildren()) do
  5284. if v:IsA("Part") then
  5285. v.Transparency = extwotran
  5286. v.BrickColor = extwo
  5287. v.Material = "Neon"
  5288. end
  5289. end
  5290. end
  5291.  
  5292.  
  5293. function normalmog()
  5294. attack = true
  5295. hum.WalkSpeed = 0
  5296. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  5297. for i = 0,6,0.1 do
  5298. swait()
  5299. 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)
  5300. 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)
  5301. 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)
  5302. 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)
  5303. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5304. 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)
  5305. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5306. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5307. end
  5308. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  5309. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  5310. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  5311. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  5312. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  5313. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  5314. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  5315. rainbowmode = false
  5316. chaosmode = false
  5317. ModeOfGlitch = 1
  5318. storehumanoidWS = 16
  5319. newTheme("rbxassetid://1564523997",48.6,1,1.25)
  5320. RecolorTextAndRename("SOLITUDE",Color3.new(0,0,0),Color3.new(0,0,0),"Antique")
  5321. CameraEnshaking(5,2.5)
  5322. MAINRUINCOLOR = BrickColor.new("Black")
  5323. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5324. for i = 0, 49 do
  5325. 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)
  5326. end
  5327. for i = 0, 24 do
  5328. 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)
  5329. 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"))
  5330. end
  5331. for i = 0,3,0.1 do
  5332. 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)
  5333. end
  5334. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  5335. for i = 0,2,0.1 do
  5336. swait()
  5337. 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)
  5338. 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)
  5339. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  5340. 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)
  5341. 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)
  5342. 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)
  5343. end
  5344. hum.WalkSpeed = storehumanoidWS
  5345. attack = false
  5346. end
  5347.  
  5348. function attackone()
  5349. attack = true
  5350. local keptcolor = MAINRUINCOLOR
  5351. for i = 0,1,0.1 do
  5352. swait()
  5353. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  5354. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  5355. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  5356. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5357. 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)
  5358. 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)
  5359. end
  5360. local distlook = 5
  5361. coroutine.resume(coroutine.create(function()
  5362. for i = 0, 4 do
  5363. swait(2)
  5364. CameraEnshaking(2,3)
  5365. local hite = Instance.new("Part", char)
  5366. hite.Anchored = true
  5367. hite.CanCollide = false
  5368. hite.FormFactor = 3
  5369. hite.Name = "Ring"
  5370. hite.Material = "Neon"
  5371. hite.Size = Vector3.new(1, 1, 1)
  5372. hite.Transparency = 1
  5373. hite.TopSurface = 0
  5374. hite.BottomSurface = 0
  5375. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  5376. 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)
  5377. 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)
  5378. 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)
  5379. 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)
  5380. MagniDamage(hite, 9, 10,25, 0, "Normal")
  5381. for i = 0, 14 do
  5382. local rsiz = math.random(5,20)
  5383. 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)
  5384. end
  5385. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  5386. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  5387. game:GetService("Debris"):AddItem(hite, 5)
  5388. distlook = distlook + 10
  5389. end
  5390. end))
  5391. for i = 0,1,0.1 do
  5392. swait()
  5393. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  5394. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  5395. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  5396. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  5397. 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)
  5398. 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)
  5399. end
  5400. attack = false
  5401. end
  5402.  
  5403. function attacktwo()
  5404. attack = true
  5405. hum.WalkSpeed = 2
  5406. local keptcolor = MAINRUINCOLOR
  5407. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5408. 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)
  5409. 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)
  5410. for i = 0, 14 do
  5411. 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)
  5412. end
  5413. for i = 0,1,0.1 do
  5414. swait()
  5415. 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)
  5416. 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)
  5417. 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)
  5418. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5419. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  5420. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  5421. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5422. end
  5423. for i = 0, 1 do
  5424. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  5425. for i = 0,1,0.6 do
  5426. swait()
  5427. 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)
  5428. 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"))
  5429. 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)
  5430. 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)
  5431. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5432. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5433. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5434. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5435. end
  5436. for i = 0,1,0.6 do
  5437. swait()
  5438. 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)
  5439. 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"))
  5440. 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)
  5441. 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)
  5442. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  5443. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5444. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5445. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5446. end
  5447. for i = 0,1,0.6 do
  5448. swait()
  5449. 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)
  5450. 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"))
  5451. 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)
  5452. 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)
  5453. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  5454. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5455. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5456. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5457. end
  5458. for i = 0,1,0.6 do
  5459. swait()
  5460. 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)
  5461. 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"))
  5462. 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)
  5463. 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)
  5464. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  5465. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5466. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5467. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5468. end
  5469. local rot = 0
  5470. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  5471. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5472. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5473. CreateMesh(dis,"Sphere",10,1,10)
  5474. local at1 = Instance.new("Attachment",dis)
  5475. at1.Position = vt(-5,0,0)
  5476. local at2 = Instance.new("Attachment",dis)
  5477. at2.Position = vt(5,0,0)
  5478. local trl = Instance.new('Trail',wed)
  5479. trl.Attachment0 = at1
  5480. trl.Attachment1 = at2
  5481. trl.Texture = "rbxassetid://1049219073"
  5482. trl.LightEmission = 1
  5483. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5484. trl.Color = ColorSequence.new(dis.Color)
  5485. trl.Lifetime = 0.6
  5486. local a = Instance.new("Part",workspace)
  5487. a.Name = "Direction"
  5488. a.Anchored = true
  5489. a.BrickColor = bc("Bright red")
  5490. a.Material = "Neon"
  5491. a.Transparency = 1
  5492. a.CanCollide = false
  5493. local ray = Ray.new(
  5494. dis.CFrame.p, -- origin
  5495. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5496. )
  5497. local ignore = dis
  5498. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5499. a.BottomSurface = 10
  5500. a.TopSurface = 10
  5501. local distance = (dis.CFrame.p - position).magnitude
  5502. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5503. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5504. dis.CFrame = a.CFrame
  5505. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5506. a:Destroy()
  5507. local bv = Instance.new("BodyVelocity")
  5508. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5509. bv.velocity = dis.CFrame.lookVector*250
  5510. bv.Parent = dis
  5511. game:GetService("Debris"):AddItem(dis, 5)
  5512. local hitted = false
  5513. coroutine.resume(coroutine.create(function()
  5514. dis.Touched:connect(function(hit)
  5515. if hitted == false and hit.Parent ~= char then
  5516. hitted = true
  5517. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5518. MagniDamage(dis, 30, 33,56, 0, "Normal")
  5519. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5520. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5521. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5522. coroutine.resume(coroutine.create(function()
  5523. for i = 0, 9 do
  5524. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5525. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5526. local at1 = Instance.new("Attachment",disr)
  5527. at1.Position = vt(-5,0,0)
  5528. local at2 = Instance.new("Attachment",disr)
  5529. at2.Position = vt(5,0,0)
  5530. local trl = Instance.new('Trail',disr)
  5531. trl.Attachment0 = at1
  5532. trl.FaceCamera = true
  5533. trl.Attachment1 = at2
  5534. trl.Texture = "rbxassetid://2342682798"
  5535. trl.LightEmission = 1
  5536. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5537. trl.Color = ColorSequence.new(keptcolor.Color)
  5538. trl.Lifetime = 0.5
  5539. local bv = Instance.new("BodyVelocity")
  5540. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5541. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5542. bv.Parent = disr
  5543. local val = 0
  5544. coroutine.resume(coroutine.create(function()
  5545. swait(30)
  5546. for i = 0, 9 do
  5547. swait()
  5548. val = val + 0.1
  5549. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5550. end
  5551. game:GetService("Debris"):AddItem(disr, 3)
  5552. end))
  5553. end
  5554. local eff = Instance.new("ParticleEmitter",dis)
  5555. eff.Texture = "rbxassetid://2273224484"
  5556. eff.LightEmission = 1
  5557. eff.Color = ColorSequence.new(keptcolor.Color)
  5558. eff.Rate = 500000
  5559. eff.Lifetime = NumberRange.new(0.5,2)
  5560. 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)})
  5561. 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)})
  5562. eff.Speed = NumberRange.new(20,250)
  5563. eff.Drag = 5
  5564. eff.Rotation = NumberRange.new(-500,500)
  5565. eff.VelocitySpread = 9000
  5566. eff.RotSpeed = NumberRange.new(-50,50)
  5567. wait(0.25)
  5568. eff.Enabled = false
  5569. end))
  5570. for i = 0, 9 do
  5571. 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"))
  5572. end
  5573. for i = 0, 19 do
  5574. 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)
  5575. end
  5576. coroutine.resume(coroutine.create(function()
  5577. for i = 0, 19 do
  5578. swait()
  5579. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5580. end
  5581. hum.CameraOffset = vt(0,0,0)
  5582. end))
  5583. dis.Anchored = true
  5584. dis.Transparency = 1
  5585. wait(8)
  5586. dis:Destroy()
  5587. end
  5588. end)
  5589. end))
  5590. rot = rot - 15
  5591. end
  5592. for i = 0,2,0.1 do
  5593. swait()
  5594. 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)
  5595. 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)
  5596. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5597. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  5598. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5599. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5600. end
  5601. attack = false
  5602. hum.WalkSpeed = storehumanoidWS
  5603. end
  5604.  
  5605. function attackthree()
  5606. attack = true
  5607. local keptcolor = MAINRUINCOLOR
  5608. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  5609. for i = 0,2,0.1 do
  5610. swait()
  5611. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5612. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  5613. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  5614. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  5615. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  5616. 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)
  5617. 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)
  5618. end
  5619. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  5620. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  5621. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  5622. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  5623. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5624. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  5625. for i = 0, 24 do
  5626. 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"))
  5627. end
  5628. for i = 0,4,0.1 do
  5629. swait()
  5630. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  5631. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5632. CreateMesh(dis,"Sphere",1,1,1)
  5633. dis.Anchored = true
  5634. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5635. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5636. coroutine.resume(coroutine.create(function()
  5637. swait(30)
  5638. dis.Transparency = 1
  5639. coroutine.resume(coroutine.create(function()
  5640. for i = 0, 19 do
  5641. swait()
  5642. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5643. end
  5644. hum.CameraOffset = vt(0,0,0)
  5645. end))
  5646. coroutine.resume(coroutine.create(function()
  5647. local eff = Instance.new("ParticleEmitter",dis)
  5648. eff.Texture = "rbxassetid://2273224484"
  5649. eff.LightEmission = 1
  5650. eff.Color = ColorSequence.new(dis.Color)
  5651. eff.Rate = 500000
  5652. eff.Lifetime = NumberRange.new(0.5,2)
  5653. 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)})
  5654. 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)})
  5655. eff.Speed = NumberRange.new(50,450)
  5656. eff.Drag = 5
  5657. eff.Rotation = NumberRange.new(-500,500)
  5658. eff.VelocitySpread = 9000
  5659. eff.RotSpeed = NumberRange.new(-50,50)
  5660. wait(0.125)
  5661. eff.Enabled = false
  5662. end))
  5663. MagniDamage(dis, 30, 45,50, 0, "Normal")
  5664. for i = 0, 2 do
  5665. 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)
  5666. end
  5667. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  5668. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  5669. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  5670. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  5671. end))
  5672. game:GetService("Debris"):AddItem(dis, 5)
  5673. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  5674. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  5675. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  5676. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  5677. 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)
  5678. 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)
  5679. end
  5680. attack = false
  5681. end
  5682. ----------------------------------- Abilities
  5683.  
  5684. function ExtinctiveHeartbreak()
  5685. local targetted = nil
  5686. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5687. targetted = mouse.Target.Parent
  5688. end
  5689. if targetted ~= nil then
  5690. attack = true
  5691. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5692. for i = 0, 9 do
  5693. 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)
  5694. end
  5695. for i = 0, 24 do
  5696. 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)
  5697. end
  5698. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5699. local originalpos = root.CFrame
  5700. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5701. for i = 0, 9 do
  5702. 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)
  5703. end
  5704. for i = 0, 24 do
  5705. 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)
  5706. end
  5707. hum.WalkSpeed = 0
  5708. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5709. local radm = math.random(1,3)
  5710. if radm == 1 then
  5711. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  5712. elseif radm == 2 then
  5713. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  5714. elseif radm == 3 then
  5715. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  5716. end
  5717. for i = 0,2,0.1 do
  5718. swait()
  5719. 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)
  5720. 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)
  5721. 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)
  5722. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5723. 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)
  5724. 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)
  5725. end
  5726. CFuncs["Sound"].Create("rbxassetid://153092227", root, 0.5,1)
  5727. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 2, 1,0,10,0.25,0.5,1)
  5728. for i = 0,2,0.1 do
  5729. swait()
  5730. coroutine.resume(coroutine.create(function()
  5731. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5732. for i,v in pairs(targetted:GetChildren()) do
  5733. if v:IsA("Part") or v:IsA("MeshPart") then
  5734. v.Velocity = vt(0,0,0)
  5735. end
  5736. end
  5737. end))
  5738. 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)
  5739. 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)
  5740. 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)
  5741. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5742. 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)
  5743. 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)
  5744. end
  5745. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 0.5, 1,0,10,0.25,0.5,1)
  5746. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 0.5, 0.9,0,10,0.25,0.5,1)
  5747. for i = 0, 1 do
  5748. CFuncs["EchoSound"].Create("rbxassetid://159882598", char, 2, 1,0.1,10,0.15,0.5,1)
  5749. end
  5750. CFuncs["EchoSound"].Create("rbxassetid://159882598", root, 15, 1,0.1,10,0.15,0.5,1)
  5751. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  5752. for i = 0,4,0.1 do
  5753. swait()
  5754. coroutine.resume(coroutine.create(function()
  5755. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5756. 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)))
  5757. local at1 = Instance.new("Attachment",dis)
  5758. at1.Position = vt(-25000,0,0)
  5759. local at2 = Instance.new("Attachment",dis)
  5760. at2.Position = vt(25000,0,0)
  5761. local trl = Instance.new('Trail',dis)
  5762. trl.Attachment0 = at1
  5763. trl.FaceCamera = true
  5764. trl.Attachment1 = at2
  5765. trl.Texture = "rbxassetid://1049219073"
  5766. trl.LightEmission = 1
  5767. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5768. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  5769. trl.Lifetime = 5
  5770. local bv = Instance.new("BodyVelocity")
  5771. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5772. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5773. bv.Parent = dis
  5774. game:GetService("Debris"):AddItem(dis, 5)
  5775. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5776. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  5777. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  5778. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  5779. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  5780. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  5781. 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)
  5782. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  5783. for i = 0, 2 do
  5784. 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"))
  5785. end
  5786. 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)
  5787. for i,v in pairs(targetted:GetChildren()) do
  5788. if v:IsA("Part") or v:IsA("MeshPart") then
  5789. v.Velocity = vt(0,0,0)
  5790. end
  5791. end
  5792. end))
  5793. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  5794. 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)
  5795. 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)
  5796. 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)
  5797. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  5798. 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)
  5799. 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)
  5800. end
  5801. hum.CameraOffset = vt(0,0,0)
  5802. for i = 0, 49 do
  5803. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5804. 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)))
  5805. local at1 = Instance.new("Attachment",dis)
  5806. at1.Position = vt(-50000,0,0)
  5807. local at2 = Instance.new("Attachment",dis)
  5808. at2.Position = vt(50000,0,0)
  5809. local trl = Instance.new('Trail',dis)
  5810. trl.Attachment0 = at1
  5811. trl.FaceCamera = true
  5812. trl.Attachment1 = at2
  5813. trl.Texture = "rbxassetid://1049219073"
  5814. trl.LightEmission = 1
  5815. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5816. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  5817. trl.Lifetime = 5
  5818. local bv = Instance.new("BodyVelocity")
  5819. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5820. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5821. bv.Parent = dis
  5822. game:GetService("Debris"):AddItem(dis, 5)
  5823. end
  5824. for i = 0, 49 do
  5825. 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)
  5826. 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"))
  5827. end
  5828. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  5829. for i = 0, 1 do
  5830. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  5831. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  5832. end
  5833. for i = 0, 4 do
  5834. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  5835. end
  5836. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  5837. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  5838. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  5839. dmg(targetted)
  5840. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5841. for i = 0, 9 do
  5842. 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)
  5843. end
  5844. for i = 0, 24 do
  5845. 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)
  5846. end
  5847. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5848. root.CFrame = originalpos
  5849. for i = 0, 9 do
  5850. 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)
  5851. end
  5852. for i = 0, 24 do
  5853. 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)
  5854. end
  5855. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5856. attack = false
  5857. hum.WalkSpeed = storehumanoidWS
  5858. end
  5859. end
  5860.  
  5861. function CorruptionEvent()
  5862. attack = true
  5863. hum.WalkSpeed = 0
  5864. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5865. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5866. local keptcolor = MAINRUINCOLOR
  5867. for i = 0,4,0.1 do
  5868. swait()
  5869. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5870. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5871. 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)
  5872. 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)
  5873. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  5874. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  5875. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  5876. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5877. end
  5878. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5879. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  5880. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  5881. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5882. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5883. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5884. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5885. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  5886. hum.CameraOffset = vt(0,0,0)
  5887. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5888. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5889. for i = 0, 24 do
  5890. 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"))
  5891. end
  5892. local rrot = 0
  5893. coroutine.resume(coroutine.create(function()
  5894. for i = 0, 4 do
  5895. rrot = rrot + 45
  5896. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5897. xa.Anchored = true
  5898. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5899. xb.Anchored = true
  5900. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5901. xc.Anchored = true
  5902. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5903. xd.Anchored = true
  5904. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  5905. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  5906. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  5907. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  5908. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  5909. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  5910. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  5911. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  5912. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  5913. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  5914. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  5915. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  5916. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  5917. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  5918. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  5919. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  5920. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5921. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5922. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5923. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5924. for i = 0, 9 do
  5925. 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"))
  5926. 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"))
  5927. 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"))
  5928. 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"))
  5929. end
  5930. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5931. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5932. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5933. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5934. 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)
  5935. 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)
  5936. 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)
  5937. 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)
  5938. 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))
  5939. 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))
  5940. 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))
  5941. 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))
  5942. game:GetService("Debris"):AddItem(xa, 5)
  5943. game:GetService("Debris"):AddItem(xb, 5)
  5944. game:GetService("Debris"):AddItem(xc, 5)
  5945. game:GetService("Debris"):AddItem(xd, 5)
  5946. coroutine.resume(coroutine.create(function()
  5947. for i = 0, 19 do
  5948. swait()
  5949. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5950. end
  5951. hum.CameraOffset = vt(0,0,0)
  5952. end))
  5953. swait(9)
  5954. end
  5955. end))
  5956. for i = 0,2,0.1 do
  5957. swait()
  5958. 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)
  5959. 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)
  5960. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  5961. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  5962. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  5963. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5964. end
  5965. attack = false
  5966. hum.WalkSpeed = storehumanoidWS
  5967. end
  5968.  
  5969. function EndGROUND()
  5970. attack = true
  5971. hum.WalkSpeed = 0
  5972. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  5973. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5974. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5975. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  5976. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  5977. local keptcolor = MAINRUINCOLOR
  5978. for i = 0,4,0.1 do
  5979. swait()
  5980. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5981. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5982. 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"))
  5983. 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)
  5984. 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)
  5985. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  5986. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  5987. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  5988. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5989. end
  5990. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5991. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5992. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5993. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5994. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  5995. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  5996. coroutine.resume(coroutine.create(function()
  5997. local shval = 10
  5998. for i = 0, 99 do
  5999. swait()
  6000. shval = shval - 0.1
  6001. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  6002. end
  6003. hum.CameraOffset = vt(0,0,0)
  6004. end))
  6005. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6006. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6007. for i = 0, 24 do
  6008. 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"))
  6009. end
  6010. local rrot = 0
  6011. local xam = 1
  6012. coroutine.resume(coroutine.create(function()
  6013. for i = 0, 14 do
  6014. --swait()
  6015. rrot = rrot + 40*xam
  6016. xam = xam + 0.25
  6017. local bonus = xam
  6018. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  6019. xa.Anchored = true
  6020. xa.Color = Color3.new(0,0,0)
  6021. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  6022. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  6023. local xc = 0
  6024. coroutine.resume(coroutine.create(function()
  6025. for i = 0, 99 do
  6026. swait()
  6027. xc = xc + 0.01
  6028. xa.Color = Color3.new(xc,0,0)
  6029. end
  6030. xa.Transparency = 1
  6031. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  6032. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  6033. for i = 0, 9 do
  6034. 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"))
  6035. end
  6036. 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)
  6037. 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)
  6038. 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))
  6039. game:GetService("Debris"):AddItem(xa, 5)
  6040. coroutine.resume(coroutine.create(function()
  6041. for i = 0, 19 do
  6042. swait()
  6043. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  6044. end
  6045. hum.CameraOffset = vt(0,0,0)
  6046. end))
  6047. end))
  6048. end
  6049. end))
  6050. for i = 0,2,0.1 do
  6051. swait()
  6052. 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)
  6053. 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)
  6054. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  6055. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  6056. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  6057. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  6058. end
  6059. attack = false
  6060. hum.WalkSpeed = storehumanoidWS
  6061. end
  6062.  
  6063. function HeavenlyDisk()
  6064. attack = true
  6065. hum.WalkSpeed = 2
  6066. local keptcolor = MAINRUINCOLOR
  6067. local radm = math.random(1,3)
  6068. if radm == 1 then
  6069. bosschatfunc("Dont make this too easy for you.",MAINRUINCOLOR.Color,1)
  6070. elseif radm == 2 then
  6071. bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
  6072. elseif radm == 3 then
  6073. bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  6074. end
  6075. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  6076. CFuncs["EchoSound"].Create("rbxassetid://1625448638", char, 4, 1,0,10,0.15,0.5,1)
  6077. 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)
  6078. 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)
  6079. for i = 0, 14 do
  6080. 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)
  6081. end
  6082. for i = 0,2,0.1 do
  6083. swait()
  6084. 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)
  6085. 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)
  6086. 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)
  6087. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  6088. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  6089. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6090. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  6091. end
  6092. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  6093. for i = 0,1,0.6 do
  6094. swait()
  6095. 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)
  6096. 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"))
  6097. 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)
  6098. 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)
  6099. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  6100. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6101. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6102. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6103. end
  6104. for i = 0,1,0.6 do
  6105. swait()
  6106. 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)
  6107. 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"))
  6108. 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)
  6109. 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)
  6110. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  6111. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6112. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6113. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6114. end
  6115. for i = 0,1,0.6 do
  6116. swait()
  6117. 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)
  6118. 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"))
  6119. 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)
  6120. 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)
  6121. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  6122. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6123. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6124. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6125. end
  6126. for i = 0,1,0.6 do
  6127. swait()
  6128. 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)
  6129. 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"))
  6130. 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)
  6131. 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)
  6132. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  6133. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6134. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6135. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6136. end
  6137. local rot = 15
  6138. for i = 0, 2 do
  6139. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  6140. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  6141. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  6142. CreateMesh(dis,"Sphere",10,1,10)
  6143. local at1 = Instance.new("Attachment",dis)
  6144. at1.Position = vt(-5,0,0)
  6145. local at2 = Instance.new("Attachment",dis)
  6146. at2.Position = vt(5,0,0)
  6147. local trl = Instance.new('Trail',wed)
  6148. trl.Attachment0 = at1
  6149. trl.Attachment1 = at2
  6150. trl.Texture = "rbxassetid://1049219073"
  6151. trl.LightEmission = 1
  6152. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6153. trl.Color = ColorSequence.new(dis.Color)
  6154. trl.Lifetime = 0.6
  6155. local a = Instance.new("Part",workspace)
  6156. a.Name = "Direction"
  6157. a.Anchored = true
  6158. a.BrickColor = bc("Bright red")
  6159. a.Material = "Neon"
  6160. a.Transparency = 1
  6161. a.CanCollide = false
  6162. local ray = Ray.new(
  6163. dis.CFrame.p, -- origin
  6164. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6165. )
  6166. local ignore = dis
  6167. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6168. a.BottomSurface = 10
  6169. a.TopSurface = 10
  6170. local distance = (dis.CFrame.p - position).magnitude
  6171. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6172. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6173. dis.CFrame = a.CFrame
  6174. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6175. a:Destroy()
  6176. local bv = Instance.new("BodyVelocity")
  6177. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6178. bv.velocity = dis.CFrame.lookVector*250
  6179. bv.Parent = dis
  6180. game:GetService("Debris"):AddItem(dis, 5)
  6181. local hitted = false
  6182. coroutine.resume(coroutine.create(function()
  6183. dis.Touched:connect(function(hit)
  6184. if hitted == false and hit.Parent ~= char then
  6185. hitted = true
  6186. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  6187. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  6188. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  6189. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  6190. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  6191. coroutine.resume(coroutine.create(function()
  6192. for i = 0, 9 do
  6193. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6194. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6195. local at1 = Instance.new("Attachment",disr)
  6196. at1.Position = vt(-2,0,0)
  6197. local at2 = Instance.new("Attachment",disr)
  6198. at2.Position = vt(2,0,0)
  6199. local trl = Instance.new('Trail',disr)
  6200. trl.Attachment0 = at1
  6201. trl.FaceCamera = true
  6202. trl.Attachment1 = at2
  6203. trl.Texture = "rbxassetid://2342682798"
  6204. trl.LightEmission = 1
  6205. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6206. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6207. trl.Lifetime = 0.5
  6208. local bv = Instance.new("BodyVelocity")
  6209. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6210. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6211. bv.Parent = disr
  6212. local val = 0
  6213. coroutine.resume(coroutine.create(function()
  6214. swait(30)
  6215. for i = 0, 9 do
  6216. swait()
  6217. val = val + 0.1
  6218. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6219. end
  6220. game:GetService("Debris"):AddItem(disr, 3)
  6221. end))
  6222. end
  6223. local eff = Instance.new("ParticleEmitter",dis)
  6224. eff.Texture = "rbxassetid://2273224484"
  6225. eff.LightEmission = 1
  6226. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6227. eff.Rate = 500000
  6228. eff.Lifetime = NumberRange.new(0.5,2)
  6229. 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)})
  6230. 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)})
  6231. eff.Speed = NumberRange.new(20,250)
  6232. eff.Drag = 5
  6233. eff.Rotation = NumberRange.new(-500,500)
  6234. eff.VelocitySpread = 9000
  6235. eff.RotSpeed = NumberRange.new(-50,50)
  6236. wait(0.25)
  6237. eff.Enabled = false
  6238. end))
  6239. for i = 0, 9 do
  6240. 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"))
  6241. end
  6242. for i = 0, 19 do
  6243. 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)
  6244. end
  6245. coroutine.resume(coroutine.create(function()
  6246. for i = 0, 19 do
  6247. swait()
  6248. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6249. end
  6250. hum.CameraOffset = vt(0,0,0)
  6251. end))
  6252. dis.Anchored = true
  6253. dis.Transparency = 1
  6254. wait(8)
  6255. dis:Destroy()
  6256. end
  6257. end)
  6258. end))
  6259. rot = rot - 15
  6260. end
  6261. for i = 0,2,0.1 do
  6262. swait()
  6263. 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)
  6264. 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)
  6265. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6266. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  6267. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6268. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6269. end
  6270. attack = false
  6271. hum.WalkSpeed = storehumanoidWS
  6272. end
  6273.  
  6274.  
  6275. function RapidBurst()
  6276. attack = true
  6277. hum.WalkSpeed = 0
  6278. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6279. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  6280. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  6281. bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,1.8)
  6282. bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,1.9)
  6283. bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,2)
  6284. local keptcolor = MAINRUINCOLOR
  6285. for i = 0,8,0.1 do
  6286. swait()
  6287. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6288. 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())
  6289. 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)
  6290. 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)
  6291. 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)
  6292. 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)
  6293. 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)
  6294. 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)
  6295. 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)
  6296. end
  6297. for i = 0, 99 do
  6298. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6299. 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)))
  6300. local at1 = Instance.new("Attachment",dis)
  6301. at1.Position = vt(-25000,0,0)
  6302. local at2 = Instance.new("Attachment",dis)
  6303. at2.Position = vt(25000,0,0)
  6304. local trl = Instance.new('Trail',dis)
  6305. trl.Attachment0 = at1
  6306. trl.FaceCamera = true
  6307. trl.Attachment1 = at2
  6308. trl.Texture = "rbxassetid://1049219073"
  6309. trl.LightEmission = 1
  6310. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6311. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6312. trl.Lifetime = 5
  6313. local bv = Instance.new("BodyVelocity")
  6314. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6315. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6316. bv.Parent = dis
  6317. game:GetService("Debris"):AddItem(dis, 5)
  6318. end
  6319. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6320. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6321. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6322. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6323. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6324. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6325. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6326. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6327. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6328. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6329. hum.CameraOffset = vt(0,0,0)
  6330. for i = 0, 24 do
  6331. 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())
  6332. end
  6333. local distam = 0
  6334. coroutine.resume(coroutine.create(function()
  6335. for i = 0, 99 do
  6336. wait()
  6337. distam = distam + 1
  6338. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6339. xa.Anchored = true
  6340. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6341. game:GetService("Debris"):AddItem(xa, 5)
  6342. for i = 0, 4 do
  6343. 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())
  6344. end
  6345. coroutine.resume(coroutine.create(function()
  6346. local eff = Instance.new("ParticleEmitter",xa)
  6347. eff.Texture = "rbxassetid://2273224484"
  6348. eff.LightEmission = 1
  6349. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6350. eff.Rate = 500000
  6351. eff.Lifetime = NumberRange.new(1,3)
  6352. 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)})
  6353. 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)})
  6354. eff.Speed = NumberRange.new(50,500)
  6355. eff.Drag = 5
  6356. eff.Rotation = NumberRange.new(-500,500)
  6357. eff.VelocitySpread = 9000
  6358. eff.RotSpeed = NumberRange.new(-50,50)
  6359. wait(0.25)
  6360. eff.Enabled = false
  6361. end))
  6362. coroutine.resume(coroutine.create(function()
  6363. for i = 0, 19 do
  6364. swait()
  6365. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6366. end
  6367. hum.CameraOffset = vt(0,0,0)
  6368. end))
  6369. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6370. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6371. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6372. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6373. end
  6374. end))
  6375. attack = false
  6376. hum.WalkSpeed = storehumanoidWS
  6377. end
  6378.  
  6379. function InsaneDrop()
  6380. attack = true
  6381. hum.WalkSpeed = 0
  6382. CFuncs["Sound"].Create("rbxassetid://907329669", char, 2.5, 0.5)
  6383. CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 0.5)
  6384. CFuncs["EchoSound"].Create("rbxassetid://907329669", char, 4, 1,0,10,0.15,0.5,1)
  6385. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,1.8)
  6386. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,1.9)
  6387. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,2)
  6388. local keptcolor = MAINRUINCOLOR
  6389. for i = 0,8,0.1 do
  6390. swait()
  6391. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6392. 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())
  6393. 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)
  6394. 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)
  6395. 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)
  6396. 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)
  6397. 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)
  6398. 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)
  6399. 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)
  6400. end
  6401. for i = 0, 99 do
  6402. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6403. 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)))
  6404. local at1 = Instance.new("Attachment",dis)
  6405. at1.Position = vt(-25000,0,0)
  6406. local at2 = Instance.new("Attachment",dis)
  6407. at2.Position = vt(25000,0,0)
  6408. local trl = Instance.new('Trail',dis)
  6409. trl.Attachment0 = at1
  6410. trl.FaceCamera = true
  6411. trl.Attachment1 = at2
  6412. trl.Texture = "rbxassetid://1049219073"
  6413. trl.LightEmission = 1
  6414. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6415. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6416. trl.Lifetime = 5
  6417. local bv = Instance.new("BodyVelocity")
  6418. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6419. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6420. bv.Parent = dis
  6421. game:GetService("Debris"):AddItem(dis, 5)
  6422. end
  6423. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6424. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6425. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6426. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6427. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6428. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6429. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6430. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6431. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6432. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6433. hum.CameraOffset = vt(0,0,0)
  6434. for i = 0, 24 do
  6435. 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())
  6436. end
  6437. local distam = 0
  6438. coroutine.resume(coroutine.create(function()
  6439. for i = 0, 99 do
  6440. wait()
  6441. distam = distam + 1
  6442. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6443. xa.Anchored = true
  6444. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6445. game:GetService("Debris"):AddItem(xa, 5)
  6446. for i = 0, 4 do
  6447. 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())
  6448. end
  6449. coroutine.resume(coroutine.create(function()
  6450. local eff = Instance.new("ParticleEmitter",xa)
  6451. eff.Texture = "rbxassetid://2273224484"
  6452. eff.LightEmission = 1
  6453. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6454. eff.Rate = 500000
  6455. eff.Lifetime = NumberRange.new(1,3)
  6456. 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)})
  6457. 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)})
  6458. eff.Speed = NumberRange.new(50,500)
  6459. eff.Drag = 5
  6460. eff.Rotation = NumberRange.new(-500,500)
  6461. eff.VelocitySpread = 9000
  6462. eff.RotSpeed = NumberRange.new(-50,50)
  6463. wait(0.25)
  6464. eff.Enabled = false
  6465. end))
  6466. coroutine.resume(coroutine.create(function()
  6467. for i = 0, 19 do
  6468. swait()
  6469. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6470. end
  6471. hum.CameraOffset = vt(0,0,0)
  6472. end))
  6473. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6474. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6475. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6476. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6477. end
  6478. end))
  6479. attack = false
  6480. hum.WalkSpeed = storehumanoidWS
  6481. end
  6482.  
  6483. function FallenOrbs()
  6484. attack = true
  6485. hum.WalkSpeed = 2
  6486. local keptcolor = MAINRUINCOLOR
  6487. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  6488. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  6489. local radm = math.random(1,3)
  6490. if radm == 1 then
  6491. bosschatfunc("This wont be easy to you.",MAINRUINCOLOR.Color,1)
  6492. elseif radm == 2 then
  6493. bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
  6494. elseif radm == 3 then
  6495. bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
  6496. end
  6497. coroutine.resume(coroutine.create(function()
  6498. for i = 0, 29 do
  6499. swait(2)
  6500. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  6501. dis.Anchored = true
  6502. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  6503. dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
  6504. CreateMesh(dis,"Sphere",2,2,2)
  6505. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6506. 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"))
  6507. coroutine.resume(coroutine.create(function()
  6508. wait(0.5)
  6509. dis.Anchored = false
  6510. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 9, 1,0,2,0.15,0.1,1)
  6511. local at1 = Instance.new("Attachment",dis)
  6512. at1.Position = vt(-1,0,0)
  6513. local at2 = Instance.new("Attachment",dis)
  6514. at2.Position = vt(1,0,0)
  6515. local trl = Instance.new('Trail',dis)
  6516. trl.Attachment0 = at1
  6517. trl.FaceCamera = true
  6518. trl.Attachment1 = at2
  6519. trl.Texture = "rbxassetid://1049219073"
  6520. trl.LightEmission = 1
  6521. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6522. trl.Color = ColorSequence.new(dis.Color)
  6523. trl.Lifetime = 0.6
  6524. local a = Instance.new("Part",workspace)
  6525. a.Name = "Direction"
  6526. a.Anchored = true
  6527. a.BrickColor = bc("Bright red")
  6528. a.Material = "Neon"
  6529. a.Transparency = 1
  6530. a.CanCollide = false
  6531. local ray = Ray.new(
  6532. dis.CFrame.p, -- origin
  6533. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6534. )
  6535. local ignore = dis
  6536. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6537. a.BottomSurface = 10
  6538. a.TopSurface = 10
  6539. local distance = (dis.CFrame.p - position).magnitude
  6540. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6541. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6542. dis.CFrame = a.CFrame
  6543. a:Destroy()
  6544. local bv = Instance.new("BodyVelocity")
  6545. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6546. bv.velocity = dis.CFrame.lookVector*500
  6547. bv.Parent = dis
  6548. game:GetService("Debris"):AddItem(dis, 5)
  6549. local hitted = false
  6550. coroutine.resume(coroutine.create(function()
  6551. dis.Touched:connect(function(hit)
  6552. if hitted == false and hit.Parent ~= char then
  6553. hitted = true
  6554. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 5, 0.8,0,10,0.15,0.5,1)
  6555. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  6556. sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
  6557. sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  6558. coroutine.resume(coroutine.create(function()
  6559. for i = 0, 4 do
  6560. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6561. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6562. local at1 = Instance.new("Attachment",disr)
  6563. at1.Position = vt(-10,0,0)
  6564. local at2 = Instance.new("Attachment",disr)
  6565. at2.Position = vt(10,0,0)
  6566. local trl = Instance.new('Trail',disr)
  6567. trl.Attachment0 = at1
  6568. trl.FaceCamera = true
  6569. trl.Attachment1 = at2
  6570. trl.Texture = "rbxassetid://2342682798"
  6571. trl.LightEmission = 1
  6572. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6573. trl.Color = ColorSequence.new(disr.Color)
  6574. trl.Lifetime = 0.5
  6575. local bv = Instance.new("BodyVelocity")
  6576. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6577. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  6578. bv.Parent = disr
  6579. local val = 0
  6580. coroutine.resume(coroutine.create(function()
  6581. swait(30)
  6582. for i = 0, 9 do
  6583. swait()
  6584. val = val + 0.1
  6585. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6586. end
  6587. game:GetService("Debris"):AddItem(disr, 3)
  6588. end))
  6589. end
  6590. local eff = Instance.new("ParticleEmitter",dis)
  6591. eff.Texture = "rbxassetid://1049219073"
  6592. eff.LightEmission = 1
  6593. eff.Color = ColorSequence.new(dis.Color)
  6594. eff.Rate = 500000
  6595. eff.Lifetime = NumberRange.new(0.5,2)
  6596. 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)})
  6597. 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)})
  6598. eff.Speed = NumberRange.new(20,250)
  6599. eff.Drag = 5
  6600. eff.Rotation = NumberRange.new(-500,500)
  6601. eff.VelocitySpread = 9000
  6602. eff.RotSpeed = NumberRange.new(-50,50)
  6603. wait(0.5)
  6604. eff.Enabled = false
  6605. end))
  6606. for i = 0, 4 do
  6607. 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"))
  6608. end
  6609. coroutine.resume(coroutine.create(function()
  6610. for i = 0, 19 do
  6611. swait()
  6612. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6613. end
  6614. hum.CameraOffset = vt(0,0,0)
  6615. end))
  6616. dis.Anchored = true
  6617. dis.Transparency = 1
  6618. wait(8)
  6619. dis:Destroy()
  6620. end
  6621. end)
  6622. end))
  6623. end))
  6624. end
  6625. end))
  6626. for i = 0,9,0.1 do
  6627. swait()
  6628. 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)
  6629. 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)
  6630. 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)
  6631. 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)
  6632. 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)
  6633. 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)
  6634. 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)
  6635. end
  6636. attack = false
  6637. hum.WalkSpeed = storehumanoidWS
  6638. end
  6639.  
  6640. function CyberSlash()
  6641. local posit = -2
  6642. attack = true
  6643. hum.WalkSpeed = 5
  6644. CFuncs["EchoSound"].Create("rbxassetid://1448033920", char, 5, 1,0,10,0.15,0.5,1)
  6645. local radm = math.random(1,3)
  6646. if radm == 1 then
  6647. bosschatfunc("FIBER!!!",MAINRUINCOLOR.Color,1)
  6648. elseif radm == 2 then
  6649. bosschatfunc("SLASHED!!",MAINRUINCOLOR.Color,1)
  6650. elseif radm == 3 then
  6651. bosschatfunc("TAKE MY CLAW!!",MAINRUINCOLOR.Color,1)
  6652. end
  6653. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  6654. for i = 0,2,0.1 do
  6655. swait()
  6656. 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)
  6657. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  6658. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  6659. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6660. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  6661. 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)
  6662. 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)
  6663. end
  6664. for i = 0, 2 do
  6665. CameraEnshaking(1,2)
  6666. local hite = Instance.new("Part", char)
  6667. hite.Anchored = true
  6668. hite.CanCollide = false
  6669. hite.FormFactor = 3
  6670. hite.Name = "Ring"
  6671. hite.Material = "Neon"
  6672. hite.Size = Vector3.new(1, 1, 1)
  6673. hite.Transparency = 1
  6674. hite.TopSurface = 0
  6675. hite.BottomSurface = 0
  6676. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  6677. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  6678. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  6679. coroutine.resume(coroutine.create(function()
  6680. for i = 0, 1 do
  6681. swait()
  6682. 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)
  6683. 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)
  6684. 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)
  6685. end
  6686. end))
  6687. 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)
  6688. MagniDamage(hite, 3, 30,40, 0, "Normal")
  6689. game:GetService("Debris"):AddItem(hite, 5)
  6690. posit = posit + 2
  6691. end
  6692. for i = 0,1,0.1 do
  6693. swait()
  6694. 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)
  6695. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  6696. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  6697. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6698. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  6699. 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)
  6700. 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)
  6701. end
  6702. for i = 0,1,0.1 do
  6703. swait()
  6704. 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)
  6705. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,1)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  6706. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  6707. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  6708. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  6709. 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)
  6710. 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)
  6711. end
  6712. posit = -6
  6713. for i = 0, 6 do
  6714. CameraEnshaking(1,3)
  6715. local hite = Instance.new("Part", char)
  6716. hite.Anchored = true
  6717. hite.CanCollide = false
  6718. hite.FormFactor = 3
  6719. hite.Name = "Ring"
  6720. hite.Material = "Neon"
  6721. hite.Size = Vector3.new(1, 1, 1)
  6722. hite.Transparency = 1
  6723. hite.TopSurface = 0
  6724. hite.BottomSurface = 0
  6725. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  6726. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  6727. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  6728. 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)
  6729. coroutine.resume(coroutine.create(function()
  6730. for i = 0, 2 do
  6731. swait()
  6732. 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)
  6733. 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)
  6734. 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)
  6735. end
  6736. end))
  6737. MagniDamage(hite, 5, 40,70, 0, "Normal")
  6738. game:GetService("Debris"):AddItem(hite, 5)
  6739. posit = posit + 2
  6740. end
  6741. for i = 0,1,0.1 do
  6742. swait()
  6743. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  6744. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  6745. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  6746. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  6747. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  6748. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(10),math.rad(-10)),.5)
  6749. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(60)),.5)
  6750. end
  6751. hum.WalkSpeed = storehumanoidWS
  6752. attack = false
  6753. end
  6754.  
  6755. function EquinoxOrbs()
  6756. hum.WalkSpeed = 0
  6757. attack = true
  6758. local radm = math.random(1,3)
  6759. if radm == 1 then
  6760. bosschatfunc("NOX-DASH!!!",MAINRUINCOLOR.Color,1)
  6761. elseif radm == 2 then
  6762. bosschatfunc("Beware from behind",MAINRUINCOLOR.Color,1)
  6763. elseif radm == 3 then
  6764. bosschatfunc("I'M COMING!!",MAINRUINCOLOR.Color,1)
  6765. end
  6766. for i = 0,1,0.1 do
  6767. swait()
  6768. 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)
  6769. 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)
  6770. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6771. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6772. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6773. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6774. end
  6775. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6776. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6777. for i = 0, 24 do
  6778. 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"))
  6779. end
  6780. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6781. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6782. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6783. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6784. for i = 0,4,0.1 do
  6785. swait()
  6786. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  6787. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  6788. CreateMesh(dis,"Sphere",1,1,1)
  6789. dis.Anchored = true
  6790. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  6791. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  6792. CreateMesh(dis2,"Sphere",1,1,1)
  6793. dis2.Anchored = true
  6794. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  6795. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6796. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  6797. coroutine.resume(coroutine.create(function()
  6798. swait(60)
  6799. dis.Transparency = 1
  6800. dis2.Transparency = 1
  6801. coroutine.resume(coroutine.create(function()
  6802. for i = 0, 19 do
  6803. swait()
  6804. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  6805. end
  6806. hum.CameraOffset = vt(0,0,0)
  6807. end))
  6808. coroutine.resume(coroutine.create(function()
  6809. local eff = Instance.new("ParticleEmitter",dis)
  6810. eff.Texture = "rbxassetid://2273224484"
  6811. eff.LightEmission = 1
  6812. eff.Color = ColorSequence.new(dis.Color)
  6813. eff.Rate = 500000
  6814. eff.Lifetime = NumberRange.new(0.5,2)
  6815. 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)})
  6816. 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)})
  6817. eff.Speed = NumberRange.new(50,450)
  6818. eff.Drag = 5
  6819. eff.Rotation = NumberRange.new(-500,500)
  6820. eff.VelocitySpread = 9000
  6821. eff.RotSpeed = NumberRange.new(-50,50)
  6822. local eff2 = eff:Clone()
  6823. eff2.Parent = dis2
  6824. eff2.LightEmission = 0
  6825. eff2.Color = ColorSequence.new(dis2.Color)
  6826. wait(0.25)
  6827. eff.Enabled = false
  6828. eff2.Enabled = false
  6829. end))
  6830. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  6831. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  6832. for i = 0, 2 do
  6833. 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)
  6834. 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)
  6835. end
  6836. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  6837. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  6838. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  6839. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  6840. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  6841. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  6842. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  6843. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  6844. end))
  6845. game:GetService("Debris"):AddItem(dis, 5)
  6846. game:GetService("Debris"):AddItem(dis2, 5)
  6847. 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)
  6848. 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)
  6849. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6850. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6851. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  6852. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  6853. end
  6854. attack = false
  6855. hum.WalkSpeed = storehumanoidWS
  6856. end
  6857. function FallenDEMISE()
  6858. attack = true
  6859. hum.WalkSpeed = 0
  6860. local keptcolor = MAINRUINCOLOR
  6861. bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
  6862. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  6863. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  6864. for i = 0, 15, 0.1 do
  6865. swait()
  6866. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6867. 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)))
  6868. local at1 = Instance.new("Attachment",dis)
  6869. at1.Position = vt(-25000,0,0)
  6870. local at2 = Instance.new("Attachment",dis)
  6871. at2.Position = vt(25000,0,0)
  6872. local trl = Instance.new('Trail',dis)
  6873. trl.Attachment0 = at1
  6874. trl.FaceCamera = true
  6875. trl.Attachment1 = at2
  6876. trl.Texture = "rbxassetid://1049219073"
  6877. trl.LightEmission = 1
  6878. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6879. trl.Color = ColorSequence.new(dis.Color)
  6880. trl.Lifetime = 5
  6881. local bv = Instance.new("BodyVelocity")
  6882. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6883. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6884. bv.Parent = dis
  6885. game:GetService("Debris"):AddItem(dis, 1)
  6886. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  6887. 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"))
  6888. 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"))
  6889. 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)
  6890. 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)
  6891. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6892. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6893. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6894. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6895. end
  6896. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  6897. for i = 0, 30, 0.1 do
  6898. swait()
  6899. coroutine.resume(coroutine.create(function()
  6900. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  6901. if v:FindFirstChild('Head') then
  6902. dmg(v)
  6903. end
  6904. end
  6905. end))
  6906. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6907. 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)))
  6908. local at1 = Instance.new("Attachment",dis)
  6909. at1.Position = vt(-50000,0,0)
  6910. local at2 = Instance.new("Attachment",dis)
  6911. at2.Position = vt(50000,0,0)
  6912. local trl = Instance.new('Trail',dis)
  6913. trl.Attachment0 = at1
  6914. trl.FaceCamera = true
  6915. trl.Attachment1 = at2
  6916. trl.Texture = "rbxassetid://1049219073"
  6917. trl.LightEmission = 1
  6918. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6919. trl.Color = ColorSequence.new(dis.Color)
  6920. trl.Lifetime = 10
  6921. local bv = Instance.new("BodyVelocity")
  6922. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6923. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  6924. bv.Parent = dis
  6925. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  6926. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  6927. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  6928. 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"))
  6929. 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"))
  6930. 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"))
  6931. 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"))
  6932. for i = 0, 2 do
  6933. 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)
  6934. end
  6935. 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)
  6936. 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)
  6937. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6938. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6939. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6940. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6941. end
  6942. attack = false
  6943. hum.WalkSpeed = storehumanoidWS
  6944. end
  6945.  
  6946. function SpeedDrop()
  6947. attack = true
  6948. hum.WalkSpeed = 0
  6949. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  6950. local poste = 3
  6951. local rotation = 0
  6952. local rate = 0
  6953. bosschatfunc("AUFHHIGYBIBYHHIHIGHGI",MAINRUINCOLOR.Color,2)
  6954. for i = 0, 124 do
  6955. swait()
  6956. rotation = rotation + rate
  6957. poste = poste + 0.1
  6958. rate = rate + 0.1
  6959. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  6960. 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)
  6961. 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)
  6962. 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)
  6963. 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)
  6964. 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)
  6965. 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)
  6966. 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)
  6967. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  6968. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  6969. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  6970. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  6971. end
  6972. CameraEnshaking(3,7)
  6973. bosschatfunc("AN ERROR HAS OCCURED",MAINRUINCOLOR.Color,2)
  6974. local loc = Instance.new("Part", char)
  6975. loc.BrickColor = MAINRUINCOLOR
  6976. loc.CanCollide = false
  6977. loc.FormFactor = 3
  6978. loc.Name = "Ring"
  6979. loc.Material = "Neon"
  6980. loc.Size = Vector3.new(1, 1, 1)
  6981. loc.Transparency = 1
  6982. loc.TopSurface = 0
  6983. loc.BottomSurface = 0
  6984. loc.Anchored = true
  6985. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  6986. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  6987. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  6988. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  6989. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  6990. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6991. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6992. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6993. coroutine.resume(coroutine.create(function()
  6994. local eff = Instance.new("ParticleEmitter",loc)
  6995. eff.Texture = "rbxassetid://363275192"
  6996. eff.LightEmission = 0.95
  6997. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6998. eff.Rate = 10000
  6999. eff.Lifetime = NumberRange.new(1)
  7000. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  7001. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7002. eff.Speed = NumberRange.new(100,500)
  7003. eff.Drag = 5
  7004. eff.Rotation = NumberRange.new(-500,500)
  7005. eff.VelocitySpread = 9000
  7006. eff.RotSpeed = NumberRange.new(-50,50)
  7007. wait(0.5)
  7008. eff.Enabled = false
  7009. end))
  7010. for i = 0, 49 do
  7011. 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)
  7012. end
  7013. for i = 0, 9 do
  7014. 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)
  7015. end
  7016. game:GetService("Debris"):AddItem(loc, 5)
  7017. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  7018. hum.WalkSpeed = storehumanoidWS
  7019. attack = false
  7020. end
  7021.  
  7022. function cutesigh()
  7023. attack = true
  7024. hum.WalkSpeed = 0
  7025. bosschatfunc("sigh~~",MAINRUINCOLOR.Color,2)
  7026. local blush = Instance.new("Decal",hed)
  7027. blush.Texture = "rbxassetid://898404027"
  7028. blush.Face = "Front"
  7029. CFuncs["Sound"].Create("rbxassetid://294861193", char, 9,1)
  7030. for i = 0, 9, 0.1 do
  7031. swait()
  7032. 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)
  7033. 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)
  7034. 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)
  7035. 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)
  7036. 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)
  7037. 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)
  7038. end
  7039. coroutine.resume(coroutine.create(function()
  7040. for i = 0, 49 do
  7041. swait()
  7042. blush.Transparency = blush.Transparency + 0.02
  7043. end
  7044. blush:Destroy()
  7045. end))
  7046. hum.WalkSpeed = storehumanoidWS
  7047. attack = false
  7048. end
  7049.  
  7050. function smiter()
  7051. local targetted = nil
  7052. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  7053. targetted = mouse.Target.Parent
  7054. end
  7055. if targetted ~= nil then
  7056. RootPart.CFrame = FaceMouse()[1]
  7057. attack = true
  7058. local radm = math.random(1,3)
  7059. if radm == 1 then
  7060. bosschatfunc("SMITED!!",MAINRUINCOLOR.Color,1)
  7061. elseif radm == 2 then
  7062. bosschatfunc("FROM ABOVE!!",MAINRUINCOLOR.Color,1)
  7063. elseif radm == 3 then
  7064. bosschatfunc("LOOK UP!!",MAINRUINCOLOR.Color,1)
  7065. end
  7066. hum.WalkSpeed = 0
  7067. coroutine.resume(coroutine.create(function()
  7068. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  7069. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  7070. local vel = Instance.new("BodyPosition", targetted.Head)
  7071. vel.P = 12500
  7072. vel.D = 1000
  7073. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7074. vel.position = targetted.Head.CFrame.p
  7075. end))
  7076. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  7077. CFuncs["EchoSound"].Create("rbxassetid://1436242685", char, 4, 1,0,10,0.15,0.5,1)
  7078. CFuncs["EchoSound"].Create("rbxassetid://1436242685", root, 60, 1,0,10,0.15,0.5,1)
  7079. for i = 0,4,0.1 do
  7080. swait()
  7081. 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)
  7082. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  7083. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  7084. 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)
  7085. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7086. 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)
  7087. 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)
  7088. end
  7089. coroutine.resume(coroutine.create(function()
  7090. CameraEnshaking(6,5)
  7091. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  7092. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  7093. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  7094. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  7095. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7096. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7097. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7098. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7099. coroutine.resume(coroutine.create(function()
  7100. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7101. eff.Texture = "rbxassetid://2273224484"
  7102. eff.LightEmission = 1
  7103. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  7104. eff.Rate = 500000
  7105. eff.Lifetime = NumberRange.new(0.5,2)
  7106. 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)})
  7107. 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)})
  7108. eff.Speed = NumberRange.new(20,250)
  7109. eff.Drag = 5
  7110. eff.Rotation = NumberRange.new(-500,500)
  7111. eff.VelocitySpread = 9000
  7112. eff.RotSpeed = NumberRange.new(-50,50)
  7113. wait(0.25)
  7114. eff.Enabled = false
  7115. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7116. eff.Texture = "rbxassetid://363275192"
  7117. eff.LightEmission = 0.95
  7118. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7119. eff.Rate = 10000
  7120. eff.Lifetime = NumberRange.new(1.5)
  7121. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  7122. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7123. eff.Speed = NumberRange.new(25,150)
  7124. eff.Drag = 5
  7125. eff.Rotation = NumberRange.new(-500,500)
  7126. eff.VelocitySpread = 9000
  7127. eff.RotSpeed = NumberRange.new(-50,50)
  7128. local eff2 = eff:Clone()
  7129. eff2.Parent = targetted.Head
  7130. eff2.Texture = "rbxassetid://284205403"
  7131. eff2.Rate = 10000
  7132. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7133. eff2.Drag = 5
  7134. eff2.Rotation = NumberRange.new(-500,500)
  7135. eff2.VelocitySpread = 9000
  7136. wait(0.5)
  7137. eff2.Enabled = false
  7138. eff.Enabled = false
  7139. end))
  7140. for i = 0, 9 do
  7141. 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)
  7142. end
  7143. for i = 0, 49 do
  7144. local rsiz = math.random(10,50)
  7145. 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)
  7146. end
  7147. game:GetService("Debris"):AddItem(vel,1)
  7148. dmg(targetted)
  7149. end))
  7150. for i = 0,1,0.1 do
  7151. swait()
  7152. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  7153. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  7154. 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)
  7155. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7156. 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)
  7157. 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)
  7158. end
  7159. attack = false
  7160. hum.WalkSpeed = storehumanoidWS
  7161. end
  7162. end
  7163.  
  7164. function shytaunty()
  7165. attack = true
  7166. hum.WalkSpeed = 0
  7167. CFuncs["Sound"].Create("rbxassetid://543623779", char, 1, 1)
  7168. local blush = Instance.new("Decal",hed)
  7169. blush.Texture = "rbxassetid://898404027"
  7170. blush.Face = "Front"
  7171. for i = 0, 13, 0.1 do
  7172. swait()
  7173. 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)
  7174. 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)
  7175. 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)
  7176. 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)
  7177. 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)
  7178. 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)
  7179. end
  7180. coroutine.resume(coroutine.create(function()
  7181. for i = 0, 49 do
  7182. swait()
  7183. blush.Transparency = blush.Transparency + 0.02
  7184. end
  7185. blush:Destroy()
  7186. end))
  7187. hum.WalkSpeed = storehumanoidWS
  7188. attack = false
  7189. end
  7190.  
  7191. function PureBomb()
  7192. attack = true
  7193. CFuncs["EchoSound"].Create("rbxassetid://1436241485", char, 5, 1,0,10,0.15,0.5,1)
  7194. CFuncs["EchoSound"].Create("rbxassetid://1436241485", root, 60, 1,0,10,0.15,0.5,1)
  7195. bosschatfunc("Purified..",MAINRUINCOLOR.Color,2)
  7196. local orb = Instance.new("Part", char)
  7197. orb.Anchored = true
  7198. orb.BrickColor = BrickColor.new("Toothpaste")
  7199. orb.CanCollide = false
  7200. orb.FormFactor = 3
  7201. orb.Name = "Ring"
  7202. orb.Material = "Neon"
  7203. orb.Size = Vector3.new(1, 1, 1)
  7204. orb.Transparency = 0
  7205. orb.TopSurface = 0
  7206. orb.BottomSurface = 0
  7207. local orbm = Instance.new("SpecialMesh", orb)
  7208. orbm.MeshType = "Sphere"
  7209. orbm.Name = "SizeMesh"
  7210. orbm.Scale = vt(0,0,0)
  7211. local scaled = 0.1
  7212. local posid = 0
  7213. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 30,1)
  7214. for i = 0, 5, 0.1 do
  7215. swait()
  7216. scaled = scaled - 0.001
  7217. posid = posid - scaled
  7218. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7219. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  7220. 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)
  7221. 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)
  7222. 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)
  7223. 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)
  7224. 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)
  7225. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7226. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  7227. 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)
  7228. end
  7229. for i = 0, 2, 0.1 do
  7230. swait()
  7231. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7232. 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)
  7233. 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)
  7234. 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)
  7235. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  7236. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  7237. 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)
  7238. end
  7239. CFuncs["EchoSound"].Create("rbxassetid://1436240026", char, 4, 1,0,10,0.15,0.5,1)
  7240. CFuncs["EchoSound"].Create("rbxassetid://1436240026", root, 60, 1,0,10,0.15,0.5,1)
  7241. bosschatfunc("BOMB!!",MAINRUINCOLOR.Color,2)
  7242. coroutine.resume(coroutine.create(function()
  7243. orb.Anchored = false
  7244. CFuncs["Sound"].Create("rbxassetid://260433768", root, 555,1)
  7245. local a = Instance.new("Part",workspace)
  7246. a.Name = "Direction"
  7247. a.Anchored = true
  7248. a.BrickColor = bc("Bright red")
  7249. a.Material = "Neon"
  7250. a.Transparency = 1
  7251. a.CanCollide = false
  7252. local ray = Ray.new(
  7253. orb.CFrame.p, -- origin
  7254. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7255. )
  7256. local ignore = orb
  7257. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7258. a.BottomSurface = 10
  7259. a.TopSurface = 10
  7260. local distance = (orb.CFrame.p - position).magnitude
  7261. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7262. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  7263. orb.CFrame = a.CFrame
  7264. a:Destroy()
  7265. local bv = Instance.new("BodyVelocity")
  7266. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7267. bv.velocity = orb.CFrame.lookVector*125
  7268. bv.Parent = orb
  7269. local hitted = false
  7270. game:GetService("Debris"):AddItem(orb, 15)
  7271. wait()
  7272. local hit =orb.Touched:connect(function(hit)
  7273. if hitted == false then
  7274. hitted = true
  7275. CameraEnshaking(10,2.5)
  7276. MagniDamage(orb, 65, 65,90, 0, "Normal")
  7277. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  7278. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  7279. for i = 0, 49 do
  7280. 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)
  7281. end
  7282. local eff = Instance.new("ParticleEmitter",orb)
  7283. eff.Texture = "rbxassetid://2273224484"
  7284. eff.LightEmission = 1
  7285. eff.Color = ColorSequence.new(Color3.new(4/255,175/255,236/255))
  7286. eff.Rate = 500000
  7287. eff.Lifetime = NumberRange.new(0.5,2)
  7288. 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)})
  7289. 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)})
  7290. eff.Speed = NumberRange.new(20,250)
  7291. eff.Drag = 5
  7292. eff.Rotation = NumberRange.new(-500,500)
  7293. eff.VelocitySpread = 9000
  7294. eff.RotSpeed = NumberRange.new(-50,50)
  7295. coroutine.resume(coroutine.create(function()
  7296. wait(0.25)
  7297. eff.Enabled = false
  7298. end))
  7299. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  7300. for i = 0, 9 do
  7301. 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)
  7302. 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)
  7303. end
  7304. orb.Anchored = true
  7305. orb.Transparency = 1
  7306. local eff = Instance.new("ParticleEmitter",orb)
  7307. eff.Texture = "rbxassetid://2273224484"
  7308. eff.LightEmission = 1
  7309. eff.Color = ColorSequence.new(Color3.new(M))
  7310. eff.Rate = 500000
  7311. eff.Lifetime = NumberRange.new(0.5,2)
  7312. 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)})
  7313. 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)})
  7314. eff.Speed = NumberRange.new(20,250)
  7315. eff.Drag = 5
  7316. eff.Rotation = NumberRange.new(-500,500)
  7317. eff.VelocitySpread = 9000
  7318. eff.RotSpeed = NumberRange.new(-50,50)
  7319. coroutine.resume(coroutine.create(function()
  7320. wait(1)
  7321. eff.Enabled = false
  7322. end))
  7323. wait(8)
  7324. orb:Destroy()
  7325. end
  7326. end)
  7327. end))
  7328. for i = 0, 1, 0.1 do
  7329. swait()
  7330. 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)
  7331. 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)
  7332. 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)
  7333. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  7334. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  7335. 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)
  7336. end
  7337. attack = false
  7338. end
  7339.  
  7340.  
  7341. function BeamOfDeath()
  7342. coroutine.resume(coroutine.create(function()
  7343. attack = true
  7344. hum.WalkSpeed = 0
  7345. for i = 0, 11, 0.1 do
  7346. swait()
  7347. 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)
  7348. 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)
  7349. 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)
  7350. 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)
  7351. 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)
  7352. 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)
  7353. end
  7354. for i = 0, 1, 0.1 do
  7355. swait()
  7356. 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)
  7357. 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)
  7358. 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)
  7359. 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)
  7360. 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)
  7361. 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)
  7362. end
  7363. hum.WalkSpeed = storehumanoidWS
  7364. attack = false
  7365. end))
  7366. CFuncs["Sound"].Create("rbxassetid://430315987", char, 5, 1,0,10,0.10,0.25,1)
  7367. local radm = math.random(1,3)
  7368. if radm == 1 then
  7369. bosschatfunc("YAHHHH!!!",MAINRUINCOLOR.Color,1)
  7370. elseif radm == 2 then
  7371. bosschatfunc("TAKE THAT!!",MAINRUINCOLOR.Color,1)
  7372. elseif radm == 3 then
  7373. bosschatfunc("CONSUMED!!!",MAINRUINCOLOR.Color,1)
  7374. end
  7375. local keptcolor = MAINRUINCOLOR
  7376. local orb = Instance.new("Part", char)
  7377. orb.BrickColor = keptcolor
  7378. orb.CanCollide = false
  7379. orb.FormFactor = 3
  7380. orb.Name = "Ring"
  7381. orb.Material = "Neon"
  7382. orb.Size = Vector3.new(1, 1, 1)
  7383. orb.Transparency = 1
  7384. orb.TopSurface = 0
  7385. orb.BottomSurface = 0
  7386. local orbm = Instance.new("SpecialMesh", orb)
  7387. orbm.MeshType = "Sphere"
  7388. orbm.Name = "SizeMesh"
  7389. orbm.Scale = vt(22.5,10000,22.5)
  7390. orb.CFrame = mouse.Hit
  7391. orb.Anchored = true
  7392. orb.Orientation = vt(0,0,0)
  7393. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  7394. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 0.5, 1.2)
  7395. coroutine.resume(coroutine.create(function()
  7396. coroutine.resume(coroutine.create(function()
  7397. for i = 0, 175 do
  7398. swait()
  7399. orbm.Scale = orbm.Scale - vt(0.1,0,0.1)
  7400. orb.Transparency = orb.Transparency - 0.005
  7401. end
  7402. end))
  7403. wait(2)
  7404. coroutine.resume(coroutine.create(function()
  7405. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  7406. if hfr ~= nil then
  7407. for i = 0, 24.5 do
  7408. local deb = Instance.new("Part", char)
  7409. deb.Anchored = true
  7410. deb.CanCollide = false
  7411. deb.FormFactor = 3
  7412. deb.Name = "Ring"
  7413. deb.Material = hitfloor.Material
  7414. deb.Color = hitfloor.Color
  7415. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  7416. deb.Transparency = 0
  7417. deb.TopSurface = 0
  7418. deb.BottomSurface = 0
  7419. 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)))
  7420. local deb2 = Instance.new("Part", char)
  7421. deb2.CanCollide = false
  7422. deb2.FormFactor = 3
  7423. deb2.Name = "Ring"
  7424. deb2.Material = hitfloor.Material
  7425. deb2.Color = hitfloor.Color
  7426. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  7427. deb2.Transparency = 0
  7428. deb2.TopSurface = 0
  7429. deb2.BottomSurface = 0
  7430. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  7431. 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)))
  7432. local eff = Instance.new("ParticleEmitter",deb)
  7433. eff.Texture = "rbxassetid://363275192"
  7434. eff.LightEmission = 0.95
  7435. eff.Color = ColorSequence.new(keptcolor.Color)
  7436. eff.Rate = 100
  7437. eff.Lifetime = NumberRange.new(1)
  7438. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  7439. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7440. eff.Speed = NumberRange.new(0,5)
  7441. eff.Rotation = NumberRange.new(-500,500)
  7442. eff.VelocitySpread = 9000
  7443. eff.RotSpeed = NumberRange.new(-10,10)
  7444. local at1 = Instance.new('Attachment',deb2)
  7445. at1.Position = vt(0,15,0)
  7446. local at2 = Instance.new('Attachment',deb2)
  7447. at2.Position = vt(0,-15,0)
  7448. local tl = Instance.new('Trail',deb2)
  7449. tl.Attachment0 = at1
  7450. tl.Attachment1 = at2
  7451. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7452. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  7453. tl.Lifetime = 1
  7454. game:GetService("Debris"):AddItem(deb,30)
  7455. game:GetService("Debris"):AddItem(deb2,30)
  7456. coroutine.resume(coroutine.create(function()
  7457. wait(15)
  7458. eff.Enabled = false
  7459. for i = 0, 49 do
  7460. swait()
  7461. deb.Transparency = deb.Transparency + 0.02
  7462. end
  7463. wait(1)
  7464. deb:Destroy()
  7465. end))
  7466. end
  7467. end
  7468. end))
  7469. for i = 0, 199 do
  7470. swait(1.5)
  7471. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  7472. if v:FindFirstChild('Head') then
  7473. dmg(v)
  7474. end
  7475. end
  7476. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  7477. 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)
  7478. 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)
  7479. 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)
  7480. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  7481. end
  7482. orb:Destroy()
  7483. end))
  7484. end
  7485.  
  7486. function Beams()
  7487. attack = true
  7488. hum.WalkSpeed = 0
  7489. CFuncs["EchoSound"].Create("rbxassetid://1436242274", char, 8, 1,0,10,0.15,0.5,1)
  7490. CFuncs["EchoSound"].Create("rbxassetid://1436242274", root, 60, 1,0,10,0.15,0.5,1)
  7491. bosschatfunc("You'll gone..",MAINRUINCOLOR.Color,2)
  7492. local keptcolor = MAINRUINCOLOR
  7493. coroutine.resume(coroutine.create(function()
  7494. for i = 0, 96 do
  7495. swait(5)
  7496. local orb = Instance.new("Part", char)
  7497. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  7498. orb.BrickColor = keptcolor
  7499. orb.CanCollide = false
  7500. orb.FormFactor = 3
  7501. orb.Name = "Ring"
  7502. orb.Material = "Neon"
  7503. orb.Size = Vector3.new(1, 1, 1)
  7504. orb.Transparency = 0
  7505. orb.TopSurface = 0
  7506. orb.BottomSurface = 0
  7507. orb.Anchored = true
  7508. local orbm = Instance.new("SpecialMesh", orb)
  7509. orbm.MeshType = "Sphere"
  7510. orbm.Name = "SizeMesh"
  7511. orbm.Scale = vt(1.25,1.25,1.25)
  7512. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  7513. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7514. coroutine.resume(coroutine.create(function()
  7515. wait(0.5)
  7516. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  7517. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7518. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7519. orb.Transparency = 1
  7520. local a = Instance.new("Part",char)
  7521. a.Name = "Direction"
  7522. a.Anchored = true
  7523. a.BrickColor = keptcolor
  7524. a.Material = "Neon"
  7525. a.Transparency = 0.25
  7526. a.Shape = "Cylinder"
  7527. local ht = Instance.new("Part",char)
  7528. ht.Name = "DirectionHit"
  7529. ht.Anchored = true
  7530. ht.BrickColor = keptcolor
  7531. ht.CanCollide = false
  7532. ht.Transparency = 1
  7533. ht.Size = vt(0.1,0.1,0.1)
  7534. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.6)
  7535. a.CanCollide = false
  7536. local ray = Ray.new(
  7537. orb.CFrame.p, -- origin
  7538. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7539. )
  7540. local ignore = char
  7541. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7542. a.BottomSurface = 10
  7543. a.TopSurface = 10
  7544. local distance = (orb.CFrame.p - position).magnitude
  7545. a.Size = Vector3.new(distance,1,1)
  7546. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7547. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7548. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7549. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7550. MagniDamage(ht, 9, 30,60, 0, "Normal")
  7551. coroutine.resume(coroutine.create(function()
  7552. local eff = Instance.new("ParticleEmitter",ht)
  7553. eff.Texture = "rbxassetid://284205403"
  7554. eff.LightEmission = 0.95
  7555. eff.Color = ColorSequence.new(keptcolor.Color)
  7556. eff.Rate = 500
  7557. eff.Lifetime = NumberRange.new(0.5)
  7558. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7559. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7560. eff.Speed = NumberRange.new(10,50)
  7561. eff.Drag = 5
  7562. eff.Rotation = NumberRange.new(-500,500)
  7563. eff.VelocitySpread = 9000
  7564. eff.RotSpeed = NumberRange.new(-500,500)
  7565. wait(0.25)
  7566. eff.Enabled = false
  7567. end))
  7568. for i = 0, 4 do
  7569. 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)
  7570. 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)
  7571. local rsiz = math.random(10,30)
  7572. 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)
  7573. end
  7574. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7575. local msh = Instance.new("SpecialMesh",a)
  7576. msh.MeshType = "Cylinder"
  7577. msh.Scale = vt(1,1,1)
  7578. for i = 0, 49 do
  7579. swait()
  7580. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  7581. a.Transparency = a.Transparency + 0.02
  7582. end
  7583. orb:Destroy()
  7584. a:Destroy()
  7585. ht:Destroy()
  7586. end))
  7587. game:GetService("Debris"):AddItem(orb, 10)
  7588. end
  7589. end))
  7590. for i = 0,6,0.1 do
  7591. swait()
  7592. 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)
  7593. 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)
  7594. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  7595. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  7596. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  7597. 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)
  7598. 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)
  7599. end
  7600. hum.WalkSpeed = storehumanoidWS
  7601. attack = false
  7602. end
  7603.  
  7604. function CalamityTrans()
  7605. attack = true
  7606. rainbowmode = false
  7607. chaosmode = false
  7608. ModeOfGlitch = 8889
  7609. hum.WalkSpeed = 0
  7610. newThemeCust("rbxassetid://723652641",0,1,1.25)
  7611. local elocacenter = CreateParta(root,1,1,"SmoothPlastic",BrickColor.random())
  7612. elocacenter.Anchored = true
  7613. elocacenter.CFrame = root.CFrame
  7614. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7615. eloca1.Anchored = true
  7616. eloca1.CFrame = elocacenter.CFrame
  7617. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7618. eloca2.Anchored = true
  7619. eloca2.CFrame = elocacenter.CFrame
  7620. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7621. eloca3.Anchored = true
  7622. eloca3.CFrame = elocacenter.CFrame
  7623. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7624. eloca4.Anchored = true
  7625. eloca4.CFrame = elocacenter.CFrame
  7626. local lookavec = 0
  7627. local speeds = 0
  7628. CameraEnshaking(3,2.5)
  7629. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7630. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7631. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7632. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7633. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7634. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7635. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 10, 1)
  7636. for i = 0, 5, 0.1 do
  7637. swait()
  7638. ---
  7639. lookavec = lookavec + 1
  7640. speeds = speeds + 10
  7641. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7642. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7643. 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)
  7644. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7645. 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)
  7646. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7647. 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)
  7648. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7649. 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)
  7650. ---
  7651. 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)
  7652. 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)
  7653. 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)
  7654. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7655. 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)
  7656. 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)
  7657. end
  7658. for i = 0, 5, 0.1 do
  7659. swait()
  7660. ---
  7661. speeds = speeds + 10
  7662. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7663. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7664. 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)
  7665. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7666. 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)
  7667. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7668. 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)
  7669. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7670. 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)
  7671. ---
  7672. 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)
  7673. 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)
  7674. 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)
  7675. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7676. 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)
  7677. 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)
  7678. end
  7679. MAINRUINCOLOR = BrickColor.new("Bright violet")
  7680. CFuncs["Sound"].Create("rbxassetid://468991944", eloca1, 5, 1)
  7681. CFuncs["Sound"].Create("rbxassetid://468991944", eloca2, 5, 1)
  7682. CFuncs["Sound"].Create("rbxassetid://468991944", eloca3, 5, 1)
  7683. CFuncs["Sound"].Create("rbxassetid://468991944", eloca4, 5, 1)
  7684. CameraEnshaking(1,3)
  7685. for i = 0, 24 do
  7686. 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)
  7687. 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)
  7688. 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)
  7689. 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)
  7690. end
  7691. sphere(1,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7692. sphere(2,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7693. sphere(3,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7694. sphere(1,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7695. sphere(2,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7696. sphere(3,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7697. sphere(1,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7698. sphere(2,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7699. sphere(3,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7700. sphere(1,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7701. sphere(2,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7702. sphere(3,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7703. for i = 0, 5, 0.1 do
  7704. swait()
  7705. ---
  7706. lookavec = lookavec - 1
  7707. speeds = speeds + 10
  7708. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7709. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7710. 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)
  7711. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7712. 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)
  7713. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7714. 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)
  7715. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7716. 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)
  7717. ---
  7718. 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)
  7719. 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)
  7720. 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)
  7721. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7722. 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)
  7723. 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)
  7724. end
  7725. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7726. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7727. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7728. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7729. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7730. for i = 0, 49 do
  7731. 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)
  7732. 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)
  7733. end
  7734. CameraEnshaking(5,6)
  7735. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7736. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  7737. CFuncs["Sound"].Create("rbxassetid://741272936", root, 5, 1)
  7738. CFuncs["Sound"].Create("rbxassetid://164881112", root, 5, 1)
  7739. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 5, 1)
  7740. CFuncs["Sound"].Create("rbxassetid://429123896", root, 5, 0.85)
  7741. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 5, 1)
  7742. storehumanoidWS = 100
  7743. hum.WalkSpeed = 100
  7744. rainbowmode = false
  7745. chaosmode = false
  7746. tl1.Enabled = true
  7747. tl2.Enabled = true
  7748. tl3.Enabled = true
  7749. RecolorTextAndRename("Galactical Guest",Color3.new(10,1,1),Color3.new(0.5,0,1),"Code")
  7750. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7751. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7752. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7753. for i, v in pairs(mw2:GetChildren()) do
  7754. if v:IsA("Part") then
  7755. v.BrickColor = MAINRUINCOLOR
  7756. v.Material = "Neon"
  7757. end
  7758. end
  7759. for i, v in pairs(mw1:GetChildren()) do
  7760. if v:IsA("Part") then
  7761. v.Transparency = 0
  7762. v.BrickColor = MAINRUINCOLOR
  7763. v.Material = "Neon"
  7764. end
  7765. end
  7766. for i, v in pairs(m:GetChildren()) do
  7767. if v:IsA("Part") then
  7768. v.Color = Color3.new(0.5,0,1)
  7769. v.Material = "Neon"
  7770. end
  7771. end
  7772. for i, v in pairs(m2:GetChildren()) do
  7773. if v:IsA("Part") then
  7774. v.Color = Color3.new(0.25,0,1)
  7775. v.Material = "Neon"
  7776. end
  7777. end
  7778. for i, v in pairs(m3:GetChildren()) do
  7779. if v:IsA("Part") then
  7780. v.Color = Color3.new(0.45,0,1)
  7781. v.Material = "Neon"
  7782. end
  7783. end
  7784. for i, v in pairs(extrawingmod1:GetChildren()) do
  7785. if v:IsA("Part") then
  7786. v.Transparency = 0.75
  7787. v.Color = Color3.new(0.25,0,1)
  7788. v.Material = "Neon"
  7789. end
  7790. end
  7791. for i, v in pairs(extrawingmod2:GetChildren()) do
  7792. if v:IsA("Part") then
  7793. v.Transparency = 0.75
  7794. v.Color = Color3.new(0.5,0,1)
  7795. v.Material = "Neon"
  7796. end
  7797. end
  7798. attack = false
  7799. end
  7800.  
  7801. function InsaneTrans()
  7802. attack = true
  7803. rainbowmode = false
  7804. chaosmode = false
  7805. ModeOfGlitch = 8889
  7806. hum.WalkSpeed = 0
  7807. newThemeCust("rbxassetid://183142252",1,1,10)
  7808. local elocacenter = CreateParta(root,1,1,"SmoothPlastic",BrickColor.random())
  7809. elocacenter.Anchored = true
  7810. elocacenter.CFrame = root.CFrame
  7811. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7812. eloca1.Anchored = true
  7813. eloca1.CFrame = elocacenter.CFrame
  7814. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7815. eloca2.Anchored = true
  7816. eloca2.CFrame = elocacenter.CFrame
  7817. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7818. eloca3.Anchored = true
  7819. eloca3.CFrame = elocacenter.CFrame
  7820. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7821. eloca4.Anchored = true
  7822. eloca4.CFrame = elocacenter.CFrame
  7823. local lookavec = 0
  7824. local speeds = 0
  7825. CameraEnshaking(3,2.5)
  7826. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7827. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7828. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7829. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7830. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7831. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7832. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 10, 1)
  7833. for i = 0, 5, 0.1 do
  7834. swait()
  7835. ---
  7836. lookavec = lookavec + 1
  7837. speeds = speeds + 10
  7838. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7839. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7840. 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)
  7841. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7842. 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)
  7843. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7844. 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)
  7845. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7846. 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)
  7847. ---
  7848. 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)
  7849. 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)
  7850. 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)
  7851. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7852. 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)
  7853. 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)
  7854. end
  7855. for i = 0, 5, 0.1 do
  7856. swait()
  7857. ---
  7858. speeds = speeds + 10
  7859. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7860. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7861. 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)
  7862. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7863. 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)
  7864. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7865. 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)
  7866. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7867. 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)
  7868. ---
  7869. 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)
  7870. 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)
  7871. 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)
  7872. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7873. 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)
  7874. 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)
  7875. end
  7876. MAINRUINCOLOR = BrickColor.new("Really black")
  7877. CFuncs["Sound"].Create("rbxassetid://468991944", eloca1, 5, 1)
  7878. CFuncs["Sound"].Create("rbxassetid://468991944", eloca2, 5, 1)
  7879. CFuncs["Sound"].Create("rbxassetid://468991944", eloca3, 5, 1)
  7880. CFuncs["Sound"].Create("rbxassetid://468991944", eloca4, 5, 1)
  7881. CameraEnshaking(1,3)
  7882. for i = 0, 24 do
  7883. 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)
  7884. 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)
  7885. 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)
  7886. 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)
  7887. end
  7888. sphere(1,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7889. sphere(2,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7890. sphere(3,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7891. sphere(1,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7892. sphere(2,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7893. sphere(3,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7894. sphere(1,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7895. sphere(2,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7896. sphere(3,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7897. sphere(1,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7898. sphere(2,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7899. sphere(3,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7900. for i = 0, 5, 0.1 do
  7901. swait()
  7902. ---
  7903. lookavec = lookavec - 1
  7904. speeds = speeds + 10
  7905. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7906. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7907. 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)
  7908. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7909. 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)
  7910. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7911. 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)
  7912. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7913. 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)
  7914. ---
  7915. 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)
  7916. 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)
  7917. 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)
  7918. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7919. 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)
  7920. 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)
  7921. end
  7922. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7923. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7924. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7925. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7926. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7927. for i = 0, 49 do
  7928. 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)
  7929. 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)
  7930. end
  7931. CameraEnshaking(5,6)
  7932. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7933. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  7934. CFuncs["Sound"].Create("rbxassetid://741272936", root, 5, 1)
  7935. CFuncs["Sound"].Create("rbxassetid://164881112", root, 5, 1)
  7936. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 5, 1)
  7937. CFuncs["Sound"].Create("rbxassetid://429123896", root, 5, 0.85)
  7938. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 5, 1)
  7939. storehumanoidWS = 100
  7940. hum.WalkSpeed = 100
  7941. rainbowmode = false
  7942. chaosmode = false
  7943. tl1.Enabled = true
  7944. tl2.Enabled = true
  7945. tl3.Enabled = true
  7946. RecolorTextAndRename("BIG BLACK",Color3.new(170,0,0),Color3.new(0,0,0),"Antique")
  7947. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7948. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7949. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7950. for i, v in pairs(mw2:GetChildren()) do
  7951. if v:IsA("Part") then
  7952. v.BrickColor = MAINRUINCOLOR
  7953. v.Material = "Neon"
  7954. end
  7955. end
  7956. for i, v in pairs(mw1:GetChildren()) do
  7957. if v:IsA("Part") then
  7958. v.Transparency = 0
  7959. v.BrickColor = MAINRUINCOLOR
  7960. v.Material = "Neon"
  7961. end
  7962. end
  7963. for i, v in pairs(m:GetChildren()) do
  7964. if v:IsA("Part") then
  7965. v.Color = Color3.new(170,0,0)
  7966. v.Material = "Neon"
  7967. end
  7968. end
  7969. for i, v in pairs(m2:GetChildren()) do
  7970. if v:IsA("Part") then
  7971. v.Color = Color3.new(0,0,0)
  7972. v.Material = "Neon"
  7973. end
  7974. end
  7975. for i, v in pairs(m3:GetChildren()) do
  7976. if v:IsA("Part") then
  7977. v.Color = Color3.new(0,0,0)
  7978. v.Material = "Neon"
  7979. end
  7980. end
  7981. for i, v in pairs(extrawingmod1:GetChildren()) do
  7982. if v:IsA("Part") then
  7983. v.Transparency = 0.75
  7984. v.Color = Color3.new(0,0,0)
  7985. v.Material = "Neon"
  7986. end
  7987. end
  7988. for i, v in pairs(extrawingmod2:GetChildren()) do
  7989. if v:IsA("Part") then
  7990. v.Transparency = 0.75
  7991. v.Color = Color3.new(0,0,0)
  7992. v.Material = "Neon"
  7993. end
  7994. end
  7995. attack = false
  7996. end
  7997.  
  7998. function GleamingBeam()
  7999. attack = true
  8000. bosschatfunc("IT ENDS NOW!!!",MAINRUINCOLOR.Color,3)
  8001. CFuncs["EchoSound"].Create("rbxassetid://1535995570", char, 8, 1,0,10,0.15,0.5,1)
  8002. CFuncs["EchoSound"].Create("rbxassetid://1535995570", root, 60, 1,0,10,0.15,0.5,1)
  8003. local rsiz = math.random(1,15)
  8004. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8005. hb.Anchored = true
  8006. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8007. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  8008. for i = 0, 16, 0.1 do
  8009. swait()
  8010. rsiz = math.random(5,15)
  8011. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8012. 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)
  8013. 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)
  8014. 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)
  8015. 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)
  8016. 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)
  8017. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-40)),.1)
  8018. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  8019. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1)
  8020. end
  8021. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  8022. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  8023. for i = 0, 2 do
  8024. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  8025. end
  8026. 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)
  8027. 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)
  8028. 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)
  8029. for i = 0, 49 do
  8030. local rsiza = math.random(1,15)
  8031. 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)
  8032. end
  8033. local a = Instance.new("Part",Character)
  8034. a.Name = "Direction"
  8035. a.Anchored = true
  8036. a.BrickColor = MAINRUINCOLOR
  8037. a.Material = "Neon"
  8038. a.Transparency = 0
  8039. a.Shape = "Cylinder"
  8040. a.CanCollide = false
  8041. local ba = Instance.new("Part",Character)
  8042. ba.Name = "HitDirect"
  8043. ba.Anchored = true
  8044. ba.BrickColor = bc("Cool yellow")
  8045. ba.Material = "Neon"
  8046. ba.Transparency = 1
  8047. ba.CanCollide = false
  8048. local ray = Ray.new(
  8049. hb.CFrame.p, -- origin
  8050. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8051. )
  8052. local ignore = Character
  8053. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8054. a.BottomSurface = 10
  8055. a.TopSurface = 10
  8056. local distance = (hb.CFrame.p - position).magnitude
  8057. a.Size = Vector3.new(distance, 1, 1)
  8058. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8059. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8060. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8061. local msh = Instance.new("SpecialMesh",a)
  8062. msh.MeshType = "Cylinder"
  8063. msh.Scale = vt(1,4,4)
  8064. game:GetService("Debris"):AddItem(a, 30)
  8065. game:GetService("Debris"):AddItem(ba, 30)
  8066. for i = 0, 25, 0.1 do
  8067. swait()
  8068. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8069. ray = Ray.new(
  8070. hb.CFrame.p, -- origin
  8071. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8072. )
  8073. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8074. distance = (hb.CFrame.p - position).magnitude
  8075. a.Size = Vector3.new(distance, 1, 1)
  8076. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8077. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8078. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8079. rsiz = math.random(5,25)
  8080. MagniDamage(ba, 12, 40000,900000, 0, "Normal")
  8081. 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)
  8082. for c = 0, 2 do
  8083. 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)
  8084. end
  8085. 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)
  8086. 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)
  8087. 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)
  8088. 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)
  8089. 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)
  8090. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-80)),.6)
  8091. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(80)),.6)
  8092. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.6)
  8093. end
  8094. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  8095. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  8096. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  8097. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  8098. MagniDamage(ba, 30, 400000,9000000, 0, "Normal")
  8099. 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)
  8100. 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)
  8101. 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)
  8102. 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)
  8103. 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)
  8104. 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)
  8105. for i = 0, 49 do
  8106. local rsiza = math.random(1,15)
  8107. 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)
  8108. end
  8109. for i = 0, 49 do
  8110. rsiz = math.random(1,8)
  8111. 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)
  8112. end
  8113. coroutine.resume(coroutine.create(function()
  8114. for i = 0, 99 do
  8115. swait()
  8116. a.Transparency = a.Transparency + 0.01
  8117. end
  8118. a:Destroy()
  8119. ba:Destroy()
  8120. end))
  8121. hb:Destroy()
  8122. attack = false
  8123. end
  8124.  
  8125. function DualGleamingBeam()
  8126. attack = true
  8127. hum.WalkSpeed = 0
  8128. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  8129. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  8130. local radm = math.random(1,3)
  8131. if radm == 1 then
  8132. bosschatfunc("YOU CAN'T ESCAPE THIS!!",MAINRUINCOLOR.Color,1)
  8133. elseif radm == 2 then
  8134. bosschatfunc("HOW DO YOU LIKE THIS?!",MAINRUINCOLOR.Color,1)
  8135. elseif radm == 3 then
  8136. bosschatfunc("You make the choice..",MAINRUINCOLOR.Color,1)
  8137. end
  8138. local rsiz = math.random(1,15)
  8139. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8140. hb.Anchored = true
  8141. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8142. local hb2 = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8143. hb2.Anchored = true
  8144. hb2.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8145. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  8146. for i = 0, 14, 0.1 do
  8147. swait()
  8148. rsiz = math.random(5,15)
  8149. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8150. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  8151. 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)
  8152. 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)
  8153. 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)
  8154. 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"))
  8155. 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)
  8156. 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)
  8157. 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)
  8158. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.1)
  8159. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(120)),.1)
  8160. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-120)),.1)
  8161. end
  8162. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  8163. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  8164. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb2, 10,0.6)
  8165. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb2, 10,0.5)
  8166. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  8167. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb2, 10,1)
  8168. 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)
  8169. 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)
  8170. 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)
  8171. 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"))
  8172. 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"))
  8173. 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"))
  8174. for i = 0, 49 do
  8175. local rsiza = math.random(1,15)
  8176. 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)
  8177. 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)
  8178. end
  8179. local a = Instance.new("Part",Character)
  8180. a.Name = "Direction"
  8181. a.Anchored = true
  8182. a.BrickColor = MAINRUINCOLOR
  8183. a.Material = "Neon"
  8184. a.Transparency = 0
  8185. a.Shape = "Cylinder"
  8186. a.CanCollide = false
  8187. local a2 = Instance.new("Part",Character)
  8188. a2.Name = "Direction"
  8189. a2.Anchored = true
  8190. a2.BrickColor = MAINRUINCOLOR
  8191. a2.Material = "Neon"
  8192. a2.Transparency = 0
  8193. a2.Shape = "Cylinder"
  8194. a2.CanCollide = false
  8195. local ba = Instance.new("Part",Character)
  8196. ba.Name = "HitDirect"
  8197. ba.Anchored = true
  8198. ba.BrickColor = MAINRUINCOLOR
  8199. ba.Material = "Neon"
  8200. ba.Transparency = 1
  8201. ba.CanCollide = false
  8202. local ba2 = Instance.new("Part",Character)
  8203. ba2.Name = "HitDirect"
  8204. ba2.Anchored = true
  8205. ba2.BrickColor = MAINRUINCOLOR
  8206. ba2.Material = "Neon"
  8207. ba2.Transparency = 1
  8208. ba2.CanCollide = false
  8209. local ray = Ray.new(
  8210. hb.CFrame.p, -- origin
  8211. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8212. )
  8213. local ignore = Character
  8214. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8215. local ray2 = Ray.new(
  8216. hb2.CFrame.p, -- origin
  8217. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  8218. )
  8219. local hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  8220. local distance2 = (hb2.CFrame.p - position).magnitude
  8221.  
  8222. a.BottomSurface = 10
  8223. a.TopSurface = 10
  8224. local distance = (hb.CFrame.p - position).magnitude
  8225. a.Size = Vector3.new(distance, 1, 1)
  8226. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8227. a2.BottomSurface = 10
  8228. a2.TopSurface = 10
  8229. a2.Size = Vector3.new(distance2, 1, 1)
  8230. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  8231. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8232. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  8233. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8234. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8235. local msh = Instance.new("SpecialMesh",a)
  8236. msh.MeshType = "Cylinder"
  8237. msh.Scale = vt(1,4,4)
  8238. local msh2 = Instance.new("SpecialMesh",a2)
  8239. msh2.MeshType = "Cylinder"
  8240. msh2.Scale = vt(1,4,4)
  8241. game:GetService("Debris"):AddItem(a, 30)
  8242. game:GetService("Debris"):AddItem(a2, 30)
  8243. game:GetService("Debris"):AddItem(ba, 30)
  8244. game:GetService("Debris"):AddItem(ba2, 30)
  8245. for i = 0, 20, 0.1 do
  8246. swait()
  8247. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8248. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  8249. ray = Ray.new(
  8250. hb.CFrame.p, -- origin
  8251. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8252. )
  8253. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8254. distance = (hb.CFrame.p - position).magnitude
  8255. ray2 = Ray.new(
  8256. hb2.CFrame.p, -- origin
  8257. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  8258. )
  8259. hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  8260. distance2 = (hb2.CFrame.p - position).magnitude
  8261. a.Size = Vector3.new(distance, 1, 1)
  8262. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8263. a2.Size = Vector3.new(distance2, 1, 1)
  8264. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  8265. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8266. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  8267. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8268. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8269. rsiz = math.random(5,25)
  8270. MagniDamage(ba, 12, 800,18000, 0, "Normal")
  8271. MagniDamage(ba2, 12, 800,18000, 0, "Normal")
  8272. for i, v in pairs(FindNearestHead(ba.CFrame.p, 4)) do
  8273. if v:FindFirstChild('Head') then
  8274. dmg(v)
  8275. end
  8276. end
  8277. coroutine.resume(coroutine.create(function()
  8278. local bx = Instance.new("Part",Character)
  8279. bx.Name = "Location"
  8280. bx.Anchored = true
  8281. bx.BrickColor = MAINRUINCOLOR
  8282. bx.Material = "Neon"
  8283. bx.Transparency = 1
  8284. bx.CanCollide = false
  8285. bx.Position = ba.Position
  8286. sphere2(2,"Add",bx.CFrame,vt(20,0.5,20),0.001,0,0.001,MAINRUINCOLOR)
  8287. wait(math.random(1,2))
  8288. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.1,0,0.1,bc("Lime green"))
  8289. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.25,0,0.25,MAINRUINCOLOR)
  8290. sphere2(6,"Add",bx.CFrame,vt(10,10,10),0.5,0.5,0.5,bc("Lime green"))
  8291. CFuncs["Sound"].Create("rbxassetid://1042693018", bx, 5,0.7)
  8292. CFuncs["Sound"].Create("rbxassetid://1042695469", bx, 5,0.8)
  8293. MagniDamage(bx, 20, 80000,900000, 0, "Normal")
  8294. for i, v in pairs(FindNearestHead(bx.CFrame.p, 15)) do
  8295. if v:FindFirstChild('Head') then
  8296. dmg(v)
  8297. end
  8298. end
  8299. wait(5)
  8300. bx:Destroy()
  8301. end))
  8302. 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)
  8303. 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)
  8304. for c = 0, 2 do
  8305. 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)
  8306. end
  8307. 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)
  8308. 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)
  8309. 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)
  8310. 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)
  8311. 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)
  8312. 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)
  8313. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.05)
  8314. RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-15)),.05)
  8315. LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(15)),.05)
  8316. end
  8317. for i = 0, 1 do
  8318. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  8319. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  8320. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  8321. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  8322. end
  8323. MagniDamage(ba, 30, 8000,180000, 0, "Normal")
  8324. MagniDamage(ba2, 30, 8000,180000, 0, "Normal")
  8325. for i, v in pairs(FindNearestHead(ba.CFrame.p, 10)) do
  8326. if v:FindFirstChild('Head') then
  8327. dmg(v)
  8328. end
  8329. end
  8330. 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)
  8331. 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)
  8332. 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)
  8333. 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)
  8334. 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)
  8335. 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)
  8336. 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"))
  8337. 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"))
  8338. 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"))
  8339. for i = 0, 49 do
  8340. local rsiza = math.random(1,15)
  8341. 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)
  8342. 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)
  8343. end
  8344. for i = 0, 49 do
  8345. rsiz = math.random(1,8)
  8346. 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)
  8347. end
  8348. coroutine.resume(coroutine.create(function()
  8349. for i = 0, 99 do
  8350. swait()
  8351. a.Transparency = a.Transparency + 0.01
  8352. a2.Transparency = a2.Transparency + 0.01
  8353. end
  8354. a:Destroy()
  8355. ba:Destroy()
  8356. a2:Destroy()
  8357. ba2:Destroy()
  8358. end))
  8359. hum.WalkSpeed = storehumanoidWS
  8360. hb:Destroy()
  8361. hb2:Destroy()
  8362. attack = false
  8363. end
  8364.  
  8365. function dragin()
  8366. local targetted = nil
  8367. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  8368. targetted = mouse.Target.Parent
  8369. end
  8370. if targetted ~= nil then
  8371. RootPart.CFrame = FaceMouse()[1]
  8372. attack = true
  8373. hum.WalkSpeed = 0
  8374. for x = 0, 1 do
  8375. for i = 0,1,0.5 do
  8376. swait()
  8377. 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)
  8378. 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)
  8379. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  8380. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8381. 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)
  8382. 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)
  8383. end
  8384. for i = 0,1,0.5 do
  8385. swait()
  8386. 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)
  8387. 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)
  8388. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
  8389. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8390. 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)
  8391. 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)
  8392. end
  8393. for i = 0,1,0.5 do
  8394. swait()
  8395. 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)
  8396. 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)
  8397. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(270)),.3)
  8398. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8399. 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)
  8400. 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)
  8401. end
  8402. for i = 0,1,0.5 do
  8403. swait()
  8404. 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)
  8405. 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)
  8406. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8407. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8408. 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)
  8409. 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)
  8410. end
  8411. end
  8412. coroutine.resume(coroutine.create(function()
  8413. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 50
  8414. CFuncs["Sound"].Create("rbxassetid://884155627", targetted.Head, 1,1)
  8415. CFuncs["Sound"].Create("rbxassetid://153092213", targetted.Head, 2.5,1)
  8416. end))
  8417. local A1 = Instance.new("Attachment",targetted.Head)
  8418. local A2 = Instance.new("Attachment",sorb)
  8419. local Beem = Instance.new("Beam",tors)
  8420. Beem.Attachment0 = A1
  8421. Beem.Attachment1 = A2
  8422. Beem.Texture = "rbxassetid://897585362"
  8423. Beem.LightEmission = 0.75
  8424. Beem.FaceCamera = true
  8425. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  8426. Beem.Width0 = 1
  8427. Beem.Width1 = 1
  8428. Beem.TextureMode = "Wrap"
  8429. Beem.TextureLength = 1
  8430. Beem.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8431. 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)
  8432. 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)
  8433. for x = 0, 24 do
  8434. local rsiz = math.random(5,15)
  8435. 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)
  8436. end
  8437.  
  8438. CFuncs["EchoSound"].Create("rbxassetid://1448032965", char, 7, 1,0,10,0.15,0.5,1)
  8439. CFuncs["EchoSound"].Create("rbxassetid://1448032965", root, 60, 1,0,10,0.15,0.5,1)
  8440. local radm = math.random(1,2)
  8441. if radm == 1 then
  8442. bosschatfunc("GOTCHA!!",MAINRUINCOLOR.Color,1)
  8443. elseif radm == 2 then
  8444. bosschatfunc("COM'ERE!!",MAINRUINCOLOR.Color,1)
  8445. end
  8446. for i = 0,3,0.1 do
  8447. swait()
  8448. coroutine.resume(coroutine.create(function()
  8449. local rsiz = math.random(5,15)
  8450. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  8451. 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)
  8452. end))
  8453. 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)
  8454. 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)
  8455. 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)
  8456. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
  8457. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(-50)),.6)
  8458. 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)
  8459. 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)
  8460. end
  8461. CFuncs["Sound"].Create("rbxassetid://231917750", sorb, 1.25,0.9)
  8462. CFuncs["Sound"].Create("rbxassetid://1042716828", sorb, 1.5,1)
  8463. local vel = Instance.new("BodyPosition", targetted.Head)
  8464. vel.P = 12500
  8465. vel.D = 1000
  8466. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  8467. vel.position = hed.CFrame.p + root.CFrame.lookVector*2.75
  8468. for i = 0,4,0.1 do
  8469. swait()
  8470. coroutine.resume(coroutine.create(function()
  8471. local rsiz = math.random(5,15)
  8472. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  8473. 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)
  8474. end))
  8475. 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)
  8476. 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)
  8477. 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)
  8478. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  8479. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(40)),.2)
  8480. 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)
  8481. 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)
  8482. end
  8483. local visibility = 0
  8484. coroutine.resume(coroutine.create(function()
  8485. for i = 0, 49 do
  8486. swait()
  8487. visibility = visibility + 0.02
  8488. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, visibility),NumberSequenceKeypoint.new(1, visibility)})
  8489. end
  8490. Beem:Destroy()
  8491. A1:Destroy()
  8492. A2:Destroy()
  8493. end))
  8494. game:GetService("Debris"):AddItem(vel,0.75)
  8495. attack = false
  8496. hum.WalkSpeed = storehumanoidWS
  8497.  
  8498. end
  8499. end
  8500.  
  8501. function hugg()
  8502. attack = true
  8503. hum.WalkSpeed = 5
  8504. local rsiz = math.random(5,15)
  8505. for i = 0, 2, 0.1 do
  8506. swait()
  8507. 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)
  8508. 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)
  8509. 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)
  8510. 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)
  8511. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3)
  8512. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3)
  8513. end
  8514. CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
  8515. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8516. hb.Anchored = true
  8517. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8518. local huggedperson = nil
  8519. local act = false
  8520. local alreadydid = false
  8521. for i = 0, 3, 0.1 do
  8522. swait()
  8523. if act == false then
  8524. for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do
  8525. if v:FindFirstChild('Head') then
  8526. if alreadydid == false then
  8527. huggedperson = v
  8528. hum.WalkSpeed = 0
  8529. CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
  8530. CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
  8531. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
  8532. CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
  8533. local radm = math.random(1,3)
  8534. if radm == 1 then
  8535. bosschatfunc("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1)
  8536. elseif radm == 2 then
  8537. bosschatfunc("I..I'm interested in you",MAINRUINCOLOR.Color,1)
  8538. elseif radm == 3 then
  8539. bosschatfunc("Don't worry.. I'm with you",MAINRUINCOLOR.Color,1)
  8540. end
  8541. root.Anchored = true
  8542. coroutine.resume(coroutine.create(function()
  8543. huggedperson.Humanoid.WalkSpeed = 0
  8544. huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
  8545. end))
  8546. --chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
  8547. alreadydid = true
  8548. act = true
  8549. print(huggedperson.Name)
  8550. end
  8551. end
  8552. end
  8553. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8554. 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)
  8555. elseif act == true then
  8556. coroutine.resume(coroutine.create(function()
  8557. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8558. end))
  8559. rsiz = math.random(5,15)
  8560. 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)
  8561. 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)
  8562. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8563. end
  8564. 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)
  8565. 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)
  8566. 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)
  8567. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8568. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8569. end
  8570. hb:Destroy()
  8571. if act == true then
  8572. for x = 0, 2 do
  8573. for i = 0, 2, 0.1 do
  8574. swait()
  8575. coroutine.resume(coroutine.create(function()
  8576. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8577. end))
  8578. rsiz = math.random(5,15)
  8579. 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)
  8580. 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)
  8581. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8582. 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)
  8583. 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)
  8584. 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)
  8585. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8586. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8587. end
  8588. for i = 0, 2, 0.1 do
  8589. swait()
  8590. coroutine.resume(coroutine.create(function()
  8591. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8592. end))
  8593. rsiz = math.random(5,15)
  8594. 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)
  8595. 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)
  8596. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8597. 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)
  8598. 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)
  8599. 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)
  8600. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8601. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8602. end
  8603. end
  8604. end
  8605. hum.WalkSpeed = storehumanoidWS
  8606. root.Anchored = false
  8607. if act == true then
  8608. coroutine.resume(coroutine.create(function()
  8609. huggedperson.Humanoid.WalkSpeed = 16
  8610. huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
  8611. end))
  8612. end
  8613. hum.WalkSpeed = storehumanoidWS
  8614. attack = false
  8615. end
  8616.  
  8617. function Counter()
  8618. hum.WalkSpeed = 0
  8619. CFuncs["EchoSound"].Create("rbxassetid://2370794297", char, 5, 1,0,10,0.15,0.5,1)
  8620. CFuncs["EchoSound"].Create("rbxassetid://2370794297", root, 60, 1,0,10,0.15,0.5,1)
  8621. bosschatfunc("COUNTER!!",MAINRUINCOLOR.Color,1)
  8622. attack = true
  8623. for i = 0,1,0.1 do
  8624. swait()
  8625. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8626. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8627. 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)
  8628. 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)
  8629. 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)
  8630. 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)
  8631. end
  8632. CameraEnshaking(3,4)
  8633. MagniDamageWithEffect(root, 24, 0,0, 75, "Normal")
  8634. 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)
  8635. 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)
  8636. 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)
  8637. coroutine.resume(coroutine.create(function()
  8638. local eff = Instance.new("ParticleEmitter",root)
  8639. eff.Texture = "rbxassetid://363275192"
  8640. eff.LightEmission = 0.95
  8641. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8642. eff.Rate = 10000
  8643. eff.Lifetime = NumberRange.new(1)
  8644. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  8645. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  8646. eff.Speed = NumberRange.new(10,125)
  8647. eff.Drag = 5
  8648. eff.Rotation = NumberRange.new(-500,500)
  8649. eff.VelocitySpread = 9000
  8650. eff.RotSpeed = NumberRange.new(-50,50)
  8651. local eff2 = eff:Clone()
  8652. eff2.Parent = root
  8653. eff2.Texture = "rbxassetid://284205403"
  8654. eff2.Rate = 10000
  8655. 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)})
  8656. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  8657. eff2.Drag = 5
  8658. eff2.Speed = NumberRange.new(10,50)
  8659. eff2.Rotation = NumberRange.new(-500,500)
  8660. eff2.VelocitySpread = 9000
  8661. wait(0.25)
  8662. eff2.Enabled = false
  8663. eff.Enabled = false
  8664. wait(3)
  8665. eff2:Destroy()
  8666. eff:Destroy()
  8667. end))
  8668. for i = 0, 9 do
  8669. 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)
  8670. end
  8671. for i = 0, 24 do
  8672. local rsiz = math.random(5,20)
  8673. 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)
  8674. end
  8675. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  8676. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  8677. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  8678. for i = 0,2,0.1 do
  8679. swait()
  8680. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8681. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8682. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8683. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8684. 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)
  8685. 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)
  8686. end
  8687. hum.WalkSpeed = storehumanoidWS
  8688. attack = false
  8689. end
  8690.  
  8691. function superjump()
  8692. attack = true
  8693. hum.WalkSpeed = 0
  8694. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  8695. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  8696. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7.5, 1)
  8697. for i = 0, 2, 0.1 do
  8698. swait()
  8699. root.Velocity = vt(0,0,0)
  8700. 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"))
  8701. 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)
  8702. 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)
  8703. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,-1)*angles(math.rad(20),math.rad(0),math.rad(0)),.4)
  8704. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(0)),.4)
  8705. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(40)),.4)
  8706. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(-40)),.4)
  8707. end
  8708. MagniDamage(root, 28, 25,50, 25, "Normal")
  8709. CFuncs["Sound"].Create("rbxassetid://477843807", char, 17, 1.05)
  8710. hum.Jump = true
  8711. swait()
  8712. root.Velocity = vt(0,250,0) + root.CFrame.lookVector*250
  8713. 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)
  8714. 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)
  8715. CFuncs["Sound"].Create("rbxassetid://1295446488", root, 10, 1)
  8716. for i = 0, 3, 0.1 do
  8717. swait()
  8718. 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)
  8719. 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)
  8720. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.75,0)*angles(math.rad(40),math.rad(0),math.rad(0)),.4)
  8721. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.4)
  8722. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(20)),.4)
  8723. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.4)
  8724. end
  8725. attack = false
  8726. if equipped == false then
  8727. hum.WalkSpeed = 16
  8728. else
  8729. hum.WalkSpeed = 24
  8730. end
  8731. end
  8732.  
  8733.  
  8734. -------------------------------------
  8735.  
  8736.  
  8737.  
  8738. Humanoid.Animator.Parent = nil
  8739.  
  8740.  
  8741.  
  8742. -------------------------------------
  8743.  
  8744. local attacktype = 1
  8745. mouse.Button1Down:connect(function()
  8746. if attack == false and attacktype == 1 then
  8747. attacktype = 2
  8748. attackone()
  8749. elseif attack == false and attacktype == 2 then
  8750. attacktype = 3
  8751. attacktwo()
  8752. elseif attack == false and attacktype == 3 then
  8753. attacktype = 1
  8754. attackthree()
  8755. elseif attack == false and attacktype == 4 then
  8756. attacktype = 1
  8757. --attackfour()
  8758. end
  8759. end)
  8760. mouse.KeyDown:connect(function(k)
  8761. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  8762. --normalmog()
  8763. ModeOfGlitch = 1
  8764. storehumanoidWS = 16
  8765. hum.WalkSpeed = 16
  8766. rainbowmode = false
  8767. chaosmode = false
  8768. newTheme("rbxassetid://367339030",48.6,1,0.85)
  8769. RecolorTextAndRename("SOLITUDE",Color3.new(0,0,0),Color3.new(0,0,0),"Antique")
  8770. MAINRUINCOLOR = BrickColor.new("Really black")
  8771. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  8772. end
  8773. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  8774. ModeOfGlitch = 2
  8775. storehumanoidWS = 16
  8776. hum.WalkSpeed = 16
  8777. rainbowmode = false
  8778. chaosmode = false
  8779. RecolorTextAndRename("DR.MURDER",Color3.new(0,0,0),Color3.new(1,1,1),"Code")
  8780. newTheme("rbxassetid://2329002275",0,1,0.85)
  8781. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  8782. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8783. end
  8784. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  8785. ModeOfGlitch = 3
  8786. storehumanoidWS = 14
  8787. hum.WalkSpeed = 14
  8788. rainbowmode = false
  8789. chaosmode = false
  8790. RecolorTextAndRename("Stable Guest",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  8791. newTheme("rbxassetid://367339030",58.15,0.98,1)
  8792. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8793. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8794. end
  8795. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  8796. ModeOfGlitch = 4
  8797. storehumanoidWS = 14
  8798. hum.WalkSpeed = 14
  8799. rainbowmode = false
  8800. chaosmode = true
  8801. RecolorTextAndRename("F.a.l.l.e.n G.u.e.s.t",Color3.new(0,0,0),Color3.new(1,1,1),"Antique")
  8802. newTheme("rbxassetid://2203914587",10,1.01,0.85)
  8803. MAINRUINCOLOR = BrickColor.new("Crimson")
  8804. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8805. end
  8806. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  8807. ModeOfGlitch = 5
  8808. storehumanoidWS = 14
  8809. hum.WalkSpeed = 14
  8810. rainbowmode = false
  8811. chaosmode = false
  8812. RecolorTextAndRename("Divine Guest",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  8813. newTheme("rbxassetid://661079869",0,1.02,0.85)
  8814. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  8815. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8816. end
  8817. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  8818. ModeOfGlitch = 6
  8819. storehumanoidWS = 65
  8820. hum.WalkSpeed = 65
  8821. rainbowmode = false
  8822. chaosmode = false
  8823. RecolorTextAndRename("Justice Guest",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  8824. newTheme("rbxassetid://1347011178",0,1.01,0.85)
  8825. MAINRUINCOLOR = BrickColor.new("White")
  8826. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8827. end
  8828. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  8829. ModeOfGlitch = 8
  8830. storehumanoidWS = 100
  8831. hum.WalkSpeed = 100
  8832. rainbowmode = false
  8833. chaosmode = false
  8834. RecolorTextAndRename("Destinal Guest",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  8835. newTheme("rbxassetid://919231299",0,1.01,0.85)
  8836. MAINRUINCOLOR = BrickColor.new("Alder")
  8837. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8838. end
  8839. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  8840. ModeOfGlitch = 9
  8841. storehumanoidWS = 85
  8842. hum.WalkSpeed = 85
  8843. rainbowmode = false
  8844. chaosmode = false
  8845. RecolorTextAndRename("Infected Guest",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  8846. newTheme("rbxassetid://879189331",0,1.01,0.85)
  8847. MAINRUINCOLOR = BrickColor.new("Br. yellowish green")
  8848. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8849. end
  8850. if k == "h" and attack == false and ModeOfGlitch ~= 5555 then
  8851. ModeOfGlitch = 5555
  8852. storehumanoidWS = 30
  8853. hum.WalkSpeed = 30
  8854. rainbowmode = false
  8855. chaosmode = false
  8856. RecolorTextAndRename("Love Guest",Color3.new(1,1,1),BrickColor.new("Hot pink").Color,"Arcade")
  8857. newTheme("rbxassetid://736003449",0,1,1.25)
  8858. MAINRUINCOLOR = BrickColor.new("Hot pink")
  8859. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8860. end
  8861. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  8862. CalamityTrans()
  8863. end
  8864. if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 8889 then
  8865. InsaneTrans()
  8866. end
  8867. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  8868. ModeOfGlitch = 55469696922
  8869. storehumanoidWS = 95
  8870. hum.WalkSpeed = 95
  8871. rainbowmode = false
  8872. chaosmode = false
  8873. RecolorTextAndRename("Nanodeath Guest",Color3.new(0.25,0,0.1),BrickColor.new("Hot pink").Color,"Antique")
  8874. newTheme("rbxassetid://919231299",0,1.005,0.9)
  8875. MAINRUINCOLOR = BrickColor.new("Hot pink")
  8876. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8877. end
  8878. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  8879. ModeOfGlitch = 4367677813
  8880. storehumanoidWS = 75
  8881. hum.WalkSpeed = 75
  8882. rainbowmode = false
  8883. chaosmode = false
  8884. RecolorTextAndRename("Mysterious Guest",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  8885. newTheme("rbxassetid://919231299",0,1.01,0.95)
  8886. MAINRUINCOLOR = BrickColor.new("Baby blue")
  8887. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8888. end
  8889. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  8890. ModeOfGlitch = 9999999921111
  8891. storehumanoidWS = 145
  8892. hum.WalkSpeed = 145
  8893. rainbowmode = false
  8894. chaosmode = false
  8895. RecolorTextAndRename("Omega Guest",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  8896. newTheme("rbxassetid://643309199",0,1.01,1)
  8897. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  8898. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8899. end
  8900. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  8901. ModeOfGlitch = 999999999556
  8902. storehumanoidWS = 115
  8903. hum.WalkSpeed = 115
  8904. rainbowmode = false
  8905. chaosmode = false
  8906. RecolorTextAndRename("Crazy Game",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
  8907. newTheme("rbxassetid://719008519",0,1.02,0.85)
  8908. MAINRUINCOLOR = BrickColor.new("Navy blue")
  8909. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8910. end
  8911. if k == "m" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 12 then
  8912. ModeOfGlitch = 12
  8913. storehumanoidWS = 19
  8914. hum.WalkSpeed = 19
  8915. rainbowmode = false
  8916. chaosmode = false
  8917. print'Mode was meant for Vengeful Program or those other fans out there'
  8918. RecolorTextAndRename("Neptunia Guest",BrickColor.new("Royal purple").Color,BrickColor.new("Bright blue").Color,"SciFi")
  8919. newTheme("rbxassetid://1873219898",0,1,1.7)
  8920. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8921. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8922. end
  8923.  
  8924. if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 50 then
  8925. sphere(0.9,"Add",root.CFrame,vt(0,100000,0),1,BrickColor.new("Institutional white"))
  8926. for i = 0, 49 do
  8927. 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)
  8928. end
  8929. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8930. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8931. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8932. hum.WalkSpeed = storehumanoidWS
  8933. attack = false
  8934. ModeOfGlitch = 50
  8935. storehumanoidWS = 18
  8936. hum.WalkSpeed = 18
  8937. rainbowmode = false
  8938. chaosmode = false
  8939. RecolorTextAndRename("EnBelived",BrickColor.new("Institutional white").Color,BrickColor.new("Institutional white").Color,"Arcade")
  8940. newTheme("rbxassetid://435773595",0,1.01,1.5)
  8941. MAINRUINCOLOR = BrickColor.new("Institutional white")
  8942. RecolorThing(MAINRUINCOLOR,BrickColor.new("Institutional white"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8943. end
  8944.  
  8945. if k == "m" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 66 then
  8946. hum.WalkSpeed = 0
  8947. attack = true
  8948. for i = 0,1,0.1 do
  8949. swait()
  8950. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8951. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8952. 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)
  8953. 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)
  8954. 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)
  8955. 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)
  8956. end
  8957. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8958. for i = 0, 148 do
  8959. 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)
  8960. end
  8961. for i = 0,3,0.1 do
  8962. 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)
  8963. end
  8964. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8965. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8966. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8967. hum.WalkSpeed = storehumanoidWS
  8968. attack = false
  8969. ModeOfGlitch = 66
  8970. storehumanoidWS = 16
  8971. hum.WalkSpeed = 16
  8972. rainbowmode = false
  8973. chaosmode = false
  8974. newTheme("rbxassetid://"..ast[Mrandom(1,2)],0,1,1.35)
  8975. MAINRUINCOLOR = BrickColor.new("Really black")
  8976. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8977. for i = 0,2,0.1 do
  8978. swait()
  8979. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8980. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8981. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8982. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8983. 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)
  8984. 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)
  8985. end
  8986. end
  8987.  
  8988. if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 13 then
  8989. hum.WalkSpeed = 0
  8990. attack = true
  8991. for i = 0,1,0.1 do
  8992. swait()
  8993. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8994. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8995. 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)
  8996. 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)
  8997. 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)
  8998. 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)
  8999. end
  9000. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  9001. for i = 0, 49 do
  9002. 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)
  9003. end
  9004. for i = 0,3,0.1 do
  9005. 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)
  9006. end
  9007. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  9008. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  9009. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  9010. hum.WalkSpeed = storehumanoidWS
  9011. attack = false
  9012. ModeOfGlitch = 13
  9013. storehumanoidWS = 45
  9014. hum.WalkSpeed = 45
  9015. rainbowmode = false
  9016. chaosmode = false
  9017. RecolorTextAndRename("Judicial Guest",BrickColor.new("Dark stone grey").Color,BrickColor.new("Light blue").Color,"Bodoni")
  9018. newTheme("rbxassetid://190845741",0,1,1.35)
  9019. MAINRUINCOLOR = BrickColor.new("Dark stone grey")
  9020. RecolorThing(MAINRUINCOLOR,BrickColor.new("Light blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9021. for i = 0,2,0.1 do
  9022. swait()
  9023. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  9024. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  9025. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  9026. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  9027. 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)
  9028. 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)
  9029. end
  9030. end
  9031. if k == "j" and attack == false and ModeOfGlitch ~= 1002 then
  9032. ModeOfGlitch = 1002
  9033. storehumanoidWS = 45
  9034. hum.WalkSpeed = 45
  9035. rainbowmode = false
  9036. chaosmode = false
  9037. RecolorTextAndRename("Pixeled Guest",BrickColor.new("Really black").Color,BrickColor.new("Dark blue").Color,"Code")
  9038. newTheme("rbxassetid://2027652726",0,1,0.85)
  9039. MAINRUINCOLOR = BrickColor.new("Dark blue")
  9040. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9041. end
  9042. if k == "k" and attack == false and ModeOfGlitch ~= 1003 then
  9043. ModeOfGlitch = 1003
  9044. storehumanoidWS = 90
  9045. hum.WalkSpeed = 90
  9046. rainbowmode = false
  9047. chaosmode = false
  9048. RecolorTextAndRename("A.s.c.e.n.d.e.d G.u.e.s.t",BrickColor.new("White").Color,BrickColor.new("Bright yellow").Color,"Code")
  9049. newTheme("rbxassetid://257453119",0,1,0.85)
  9050. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  9051. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9052. end
  9053. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  9054. ModeOfGlitch = 1264532489
  9055. storehumanoidWS = 175
  9056. hum.WalkSpeed = 175
  9057. rainbowmode = false
  9058. chaosmode = false
  9059. RecolorTextAndRename("Fallenx Guest",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  9060. newTheme("rbxassetid://1505487022",0,1.01,1.25)
  9061. MAINRUINCOLOR = BrickColor.new("Pastel green")
  9062. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9063. end
  9064. if k == "l" and mutedtog == false then
  9065. mutedtog = true
  9066. kan.Volume = 0.85
  9067. elseif k == "l" and mutedtog == true then
  9068. mutedtog = false
  9069. kan.Volume = 0.85
  9070. end
  9071. if k == "p" and toggleTag == false then
  9072. toggleTag = true
  9073. modet.TextTransparency = 0
  9074. modet.TextStrokeTransparency = 0
  9075. elseif k == "p" and toggleTag == true then
  9076. toggleTag = false
  9077. modet.TextTransparency = 1
  9078. modet.TextStrokeTransparency = 1
  9079. end
  9080. if k == "z" and attack == false and ModeOfGlitch == 1 then
  9081. ExtinctiveHeartbreak()
  9082. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  9083. HeavenlyDisk()
  9084. elseif k == "z" and attack == false and ModeOfGlitch == 9 then
  9085. DualGleamingBeam()
  9086. elseif k == "c" and attack == false and ModeOfGlitch == 9 then
  9087. BanishingOrb()
  9088. elseif k == "z" and attack == false and ModeOfGlitch == 5555 then
  9089. hugg()
  9090. elseif k == "b" and attack == false and ModeOfGlitch == 55469696922 then
  9091. cutesigh()
  9092. elseif k == "v" and attack == false and ModeOfGlitch == 55469696922 then
  9093. Counter()
  9094. elseif k == "v" and attack == false and ModeOfGlitch == 12 then
  9095. superjump()
  9096. elseif k == "v" and attack == false and ModeOfGlitch == 9999999921111 then
  9097. dragin()
  9098. elseif k == "x" and attack == false and ModeOfGlitch == 8889 then
  9099. UniversalCollapse()
  9100. elseif k == "c" and attack == false and ModeOfGlitch == 2 then
  9101. PureBomb()
  9102. elseif k == "z" and attack == false and ModeOfGlitch == 999999999556 then
  9103. Beams()
  9104. elseif k == "x" and attack == false and ModeOfGlitch == 55469696922 then
  9105. BeamOfDeath()
  9106. elseif k == "v" and attack == false and ModeOfGlitch == 8 then
  9107. THE_TRUE_POWER_OF_VIOLENCE()
  9108. elseif k == "z" and attack == false and ModeOfGlitch == 8 then
  9109. GleamingBeam()
  9110. elseif k == "x" and attack == false and ModeOfGlitch == 5 then
  9111. ViolentRing()
  9112. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  9113. CorruptionEvent()
  9114. elseif k == "v" and attack == false and ModeOfGlitch == 3 then
  9115. CorruptBlink()
  9116. elseif k == "c" and attack == false and ModeOfGlitch == 3 then
  9117. scattercorrupt()
  9118. elseif k == "b" and attack == false and ModeOfGlitch == 5555 then
  9119. shytaunty()
  9120. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  9121. RapidBurst()
  9122. elseif k == "z" and attack == false and ModeOfGlitch == 8889 then
  9123. InsaneDrop()
  9124. wait(2)
  9125. ChaosEND()
  9126. elseif k == "x" and attack == false and ModeOfGlitch == 4 then
  9127. ChaosEND()
  9128. elseif k == "c" and attack == false and ModeOfGlitch == 9999999921111 then
  9129. CyberSlash()
  9130. elseif k == "z" and attack == false and ModeOfGlitch == 4367677813 then
  9131. smiter()
  9132. elseif k == "z" and attack == false and ModeOfGlitch == 1002 then
  9133. SpeedDrop()
  9134. elseif k == "v" and attack == false and ModeOfGlitch == 5 then
  9135. --DivineLights()
  9136. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  9137. DivineBlast()
  9138. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  9139. EquinoxOrbs()
  9140. elseif k == "v" and attack == false and ModeOfGlitch == 6 then
  9141. yinyangi()
  9142. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  9143. FallenOrbs()
  9144. elseif k == "z" and attack == false and ModeOfGlitch == 1003 then
  9145. StarfallEX()
  9146. end
  9147. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  9148. FallenDEMISE()
  9149. end
  9150. if k == "x" and attack == false and ModeOfGlitch == 1 then
  9151. EndGROUND()
  9152. end
  9153. end)
  9154.  
  9155. coroutine.resume(coroutine.create(function()
  9156. while true do
  9157. swait()
  9158. 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
  9159. 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)
  9160. end
  9161. if ModeOfGlitch == 5555 then
  9162. 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)
  9163. end
  9164. end
  9165. end))
  9166. --[[coroutine.resume(coroutine.create(function()
  9167. while true do
  9168. swait(2)
  9169. if chaosmode == true then
  9170. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9171. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9172. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9173. RecolorTextAndRename("F.a.l.l.e.n G.u.e.s.t",Color3.new(0,0,0),BrickColor.random().Color,"Antique")
  9174. for i, v in pairs(mw1:GetChildren()) do
  9175. if v:IsA("Part") then
  9176. v.Transparency = 0.75
  9177. v.BrickColor = BrickColor.random()
  9178. v.Material = "Neon"
  9179. end
  9180. end
  9181. for i, v in pairs(m2:GetChildren()) do
  9182. if v:IsA("Part") then
  9183. v.BrickColor = BrickColor.random()
  9184. v.Material = "Neon"
  9185. end
  9186. end
  9187. end
  9188. end
  9189. end))]]
  9190.  
  9191.  
  9192.  
  9193. ff = Instance.new("ForceField",char)
  9194. ff.Visible = false
  9195. hum.Name = "Base"
  9196. hum.MaxHealth = 1.0E298
  9197. hum.Health = 1.0E298
  9198. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  9199. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  9200. hum.MaxHealth = 1.0E298
  9201. hum.Health = 1.0E298
  9202. end
  9203. end)
  9204.  
  9205. local Hair = Instance.new("Part", char)
  9206. Hair.Name = "Hair"
  9207. Hair.CanCollide = false
  9208. Hair.BrickColor = BrickColor.new("Institutional white")
  9209. Hair.Transparency = 0
  9210. Hair.Material = "Plastic"
  9211. Hair.Size = Vector3.new(1, 1, 2)
  9212. Hair.TopSurface = Enum.SurfaceType.Smooth
  9213. Hair.BottomSurface = Enum.SurfaceType.Smooth
  9214.  
  9215.  
  9216. local bguis = Instance.new("BillboardGui",tors)
  9217. bguis.Size = UDim2.new(25, 0, 25, 0)
  9218. local imgca = Instance.new("ImageLabel",bguis)
  9219. imgca.BackgroundTransparency = 1
  9220. imgca.ImageTransparency = 1
  9221. imgca.Size = UDim2.new(1,0,1,0)
  9222. imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
  9223. imgca.ImageColor3 = Color3.new(0,0,0)
  9224.  
  9225.  
  9226. local bguis2 = Instance.new("BillboardGui",tors)
  9227. bguis2.Size = UDim2.new(25, 0, 25, 0)
  9228. local imgca2 = Instance.new("ImageLabel",bguis)
  9229. imgca2.BackgroundTransparency = 1
  9230. imgca2.ImageTransparency = 1
  9231. imgca2.Size = UDim2.new(1,0,1,0)
  9232. imgca2.Image = "rbxassetid://2406462507" --997291547,521073910,2312119891
  9233. imgca2.ImageColor3 = Color3.new(0,0,0)
  9234.  
  9235.  
  9236.  
  9237. idleanim=.4
  9238. while true do
  9239. if mutedtog == false then
  9240. kan.Volume = currentVol
  9241. elseif mutedtog == true then
  9242. kan.Volume = 0
  9243. end
  9244. kan.PlaybackSpeed = currentPitch
  9245. kan.Pitch = currentPitch
  9246. kan.SoundId = currentThemePlaying
  9247. kan.Looped = true
  9248. kan.Parent = char
  9249. kan:Resume()
  9250. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 13 then
  9251. imgca.ImageTransparency = 1
  9252. imgca2.ImageTransparency = 1
  9253. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  9254. imgca.ImageColor3 = MAINRUINCOLOR.Color
  9255. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9256. elseif ModeOfGlitch == 13 then
  9257. imgca2.ImageColor3 = MAINRUINCOLOR.Color
  9258. imgca2.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9259. end
  9260. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  9261. bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9262. imgca2.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/60
  9263. bguis2.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9264. coroutine.resume(coroutine.create(function()
  9265. if chaosmode == true then
  9266. for i, v in pairs(mw1:GetChildren()) do
  9267. if v:IsA("Part") then
  9268. v.Transparency = 0
  9269. v.BrickColor = BrickColor.random()
  9270. v.Material = "Neon"
  9271. end
  9272. end
  9273. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9274. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9275. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9276. RecolorTextAndRename("F.a.l.l.e.n G.u.e.s.t",Color3.new(0,0,0),BrickColor.random().Color,"Antique")
  9277. end
  9278. end))
  9279. coroutine.resume(coroutine.create(function()
  9280. if ModeOfGlitch == 66 then
  9281. for i, v in pairs(m:GetChildren()) do
  9282. if v:IsA("Part") then
  9283. v.Transparency = 0
  9284. v.BrickColor = BrickColor.random()
  9285. v.Material = "Neon"
  9286. end
  9287. end
  9288. for i, v in pairs(m2:GetChildren()) do
  9289. if v:IsA("Part") then
  9290. v.Transparency = 0
  9291. v.BrickColor = BrickColor.random()
  9292. v.Material = "Neon"
  9293. end
  9294. end
  9295. for i, v in pairs(mw1:GetChildren()) do
  9296. if v:IsA("Part") then
  9297. v.Transparency = 0
  9298. v.BrickColor = BrickColor.random()
  9299. v.Material = "Neon"
  9300. end
  9301. end
  9302. for i, v in pairs(extrawingmod1:GetChildren()) do
  9303. if v:IsA("Part") then
  9304. v.Transparency = 0.5
  9305. v.BrickColor = BrickColor.random()
  9306. v.Material = "Neon"
  9307. end
  9308. end
  9309. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9310. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9311. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9312. gane.Color = ColorSequence.new(BrickColor.random().Color)
  9313. gan.Color = ColorSequence.new(BrickColor.random().Color)
  9314. end
  9315. end))
  9316.  
  9317. coroutine.resume(coroutine.create(function()
  9318. if ModeOfGlitch == 66 then
  9319. RecolorTextAndRename("S N A P P E D G U E S T",BrickColor.random().Color,Color3.new(0,0,0),"Garamond")
  9320. end
  9321. end))
  9322.  
  9323. if chaosmode == false then
  9324. modet.Position = UDim2.new(0,0,0,0)
  9325. modet.Rotation = -5 * math.cos(sine / 32)
  9326. techc.Rotation = techc.Rotation + 1
  9327. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/200 - 1
  9328. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/175 + 1
  9329. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/175 + 1
  9330. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/150 - 1
  9331. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  9332. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  9333. else
  9334. techc.Rotation = techc.Rotation + 1
  9335. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  9336. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  9337. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  9338. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  9339. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  9340. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  9341. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  9342. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  9343. end
  9344. CameraManager()
  9345. swait()
  9346. 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)
  9347. 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)
  9348. 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)
  9349. 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)
  9350. 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)
  9351. 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)
  9352. 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)
  9353. 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)
  9354. 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)
  9355. 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)
  9356. 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)
  9357. 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)
  9358. sine = sine + change
  9359. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  9360. local velderp=RootPart.Velocity.y
  9361. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  9362. coroutine.resume(coroutine.create(function()
  9363. 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
  9364. if hitfloor ~= nil then
  9365. 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"))
  9366. if ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 13 then
  9367. 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)
  9368. end
  9369. end
  9370. end
  9371. end))
  9372. if equipped==true or equipped==false then
  9373. if attack==false then
  9374. idle=idle+1
  9375. else
  9376. idle=0
  9377. end
  9378. if idle>=500 then
  9379. if attack==false then
  9380. --Sheath()
  9381. end
  9382. end
  9383. if RootPart.Velocity.y > 1 and hitfloor==nil then
  9384. Anim="Jump"
  9385. if attack==false then
  9386. 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)
  9387. 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)
  9388. 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)
  9389. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  9390. 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)
  9391. 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)
  9392. end
  9393. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  9394. Anim="Fall"
  9395. if attack==false then
  9396. 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)
  9397. 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)
  9398. 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)
  9399. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  9400. 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)
  9401. 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)
  9402. end
  9403. elseif torvel<1 and hitfloor~=nil then
  9404. Anim="Idle"
  9405. if attack==false then
  9406. if ModeOfGlitch == 1 then
  9407. local snap = math.random(1,10)
  9408. if snap == 1 then
  9409. 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)
  9410. end
  9411. 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)
  9412. 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)
  9413. 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)
  9414. 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)
  9415. 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)
  9416. 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)
  9417. elseif ModeOfGlitch == 2 then
  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(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 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(-0.5),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  9420. 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)
  9421. 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)
  9422. 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)
  9423. 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)
  9424. elseif ModeOfGlitch == 2 then
  9425. 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)
  9426. 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)
  9427. 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)
  9428. 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)
  9429. 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)
  9430. 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)
  9431. elseif ModeOfGlitch == 50 then
  9432. 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)
  9433. 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)
  9434. 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)
  9435. 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)
  9436. 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)
  9437. 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)
  9438. elseif ModeOfGlitch == 5555 then --5555
  9439. 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)
  9440. 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)
  9441. 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)
  9442. 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)
  9443. 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)
  9444. 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)
  9445. elseif ModeOfGlitch == 1002 then
  9446. 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)
  9447. 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)
  9448. 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)
  9449. 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)
  9450. 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)
  9451. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
  9452. elseif ModeOfGlitch == 12 then
  9453. 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)
  9454. 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)
  9455. 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)
  9456. 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)
  9457. 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)
  9458. 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)
  9459. elseif ModeOfGlitch == 3 then
  9460. local snap = math.random(1,32)
  9461. if snap == 1 then
  9462. 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)
  9463. end
  9464. 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)
  9465. 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)
  9466. 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)
  9467. 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)
  9468. 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)
  9469. 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)
  9470. elseif ModeOfGlitch == 4 then
  9471. local snap = math.random(1,5)
  9472. if snap == 1 then
  9473. 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)
  9474. 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)
  9475. 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)
  9476. end
  9477. 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)
  9478. 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)
  9479. 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)
  9480. 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)
  9481. 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)
  9482. 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)
  9483. elseif ModeOfGlitch == 66 then
  9484. local snap = math.random(1,2)
  9485. if snap == 1 then
  9486. 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)
  9487. 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)
  9488. 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)
  9489. end
  9490. 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)
  9491. 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)
  9492. 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)
  9493. 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)
  9494. 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)
  9495. 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)
  9496. elseif ModeOfGlitch == 5 then
  9497. 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)
  9498. 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)
  9499. 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)
  9500. 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)
  9501. 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)
  9502. 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)
  9503. elseif ModeOfGlitch == 6 then
  9504. 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)
  9505. 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)
  9506. 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)
  9507. 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)
  9508. 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)
  9509. 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)
  9510. elseif ModeOfGlitch == 13 then
  9511. 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)
  9512. 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)
  9513. 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)
  9514. 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)
  9515. 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)
  9516. 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)
  9517. elseif ModeOfGlitch == 8 then
  9518. 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)
  9519. 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)
  9520. 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)
  9521. 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)
  9522. 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)
  9523. 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)
  9524. elseif ModeOfGlitch == 9 then
  9525. 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)
  9526. 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))
  9527. 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)
  9528. 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)
  9529. 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)
  9530. 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)
  9531. 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)
  9532. 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)
  9533. elseif ModeOfGlitch == 1003 then
  9534. 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)
  9535. 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)
  9536. 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)
  9537. 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)
  9538. 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)
  9539. 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)
  9540.  
  9541. elseif ModeOfGlitch == 8889 then
  9542. 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)
  9543. 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)
  9544. 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)
  9545. 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)
  9546. 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)
  9547. 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)
  9548. elseif ModeOfGlitch == 1264532489 then
  9549. 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)
  9550. 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)
  9551. 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)
  9552. 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)
  9553. 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)
  9554. 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)
  9555. 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)
  9556. elseif ModeOfGlitch == 9999999921111 then --9999999921111
  9557. 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)
  9558. 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)
  9559. 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)
  9560. 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)
  9561. 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)
  9562. 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)
  9563. elseif ModeOfGlitch == 4367677813 then
  9564. 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)
  9565. 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)
  9566. 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)
  9567. 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)
  9568. 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)
  9569. 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)
  9570. elseif ModeOfGlitch == 55469696922 then --5555
  9571. 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)
  9572. 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)
  9573. 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)
  9574. 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)
  9575. 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)
  9576. 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)
  9577. elseif ModeOfGlitch == 999999999556 then
  9578. 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)
  9579. 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)
  9580. 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)
  9581. 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)
  9582. 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)
  9583. 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)
  9584. end
  9585. end
  9586. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  9587. Anim="Walk"
  9588. if attack==false and ModeOfGlitch ~= 66 then
  9589. 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)
  9590. 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)
  9591. 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)
  9592. 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)
  9593. 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)
  9594. 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)
  9595. elseif attack==false and ModeOfGlitch == 66 then
  9596. 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)
  9597. 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)
  9598. 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)
  9599. 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)
  9600. 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)
  9601. 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)
  9602. end
  9603. elseif torvel>=22 and hitfloor~=nil then
  9604. Anim="Run"
  9605. if attack==false then
  9606. 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
  9607. 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)
  9608. 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)
  9609. 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)
  9610. 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)
  9611. 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)
  9612. 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)
  9613. if ModeOfGlitch == 12 then
  9614. 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)
  9615. 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)
  9616. 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)
  9617. 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)
  9618. 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)
  9619. 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)
  9620. end
  9621. if ModeOfGlitch == 9 then
  9622. 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)
  9623. 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))
  9624. 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)
  9625. end
  9626. 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
  9627. 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)
  9628. 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)
  9629. 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)
  9630. 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)
  9631. 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)
  9632. 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)
  9633. elseif ModeOfGlitch == 13 then
  9634. 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)
  9635. 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)
  9636. 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)
  9637. 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)
  9638. 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)
  9639. 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)
  9640. end
  9641. end
  9642. end
  9643. end
  9644. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement