Advertisement
13242

Untitled

Nov 28th, 2018
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 457.61 KB | None | 0 0
  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,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  6. local Player = game:GetService("Players").2345686332568964321e
  7. local Mouse,mouse,UserInputService,ContextActionService
  8. do
  9. script.Parent = Player.Character
  10. local CAS = {Actions={}}
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13. Event.Parent = Player.Character
  14. local fakeEvent = function()
  15. local t = {_fakeEvent=true}
  16. t.Connect = function(self,f)self.Function=f end
  17. t.connect = t.Connect
  18. return t
  19. end
  20. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  21. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  22. function CAS:BindAction(name,fun,touch,...)
  23. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  24. end
  25. function CAS:UnbindAction(name)
  26. CAS.Actions[name] = nil
  27. end
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36. Event.OnServerEvent:Connect(function(plr,io)
  37. if plr~=Player then return end
  38. if io.isMouse then
  39. m.Target = io.Target
  40. m.Hit = io.Hit
  41. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  42. if io.UserInputState == Enum.UserInputState.Begin then
  43. m:TrigEvent("Button1Down")
  44. else
  45. m:TrigEvent("Button1Up")
  46. end
  47. else
  48. for n,t in pairs(CAS.Actions) do
  49. for _,k in pairs(t.Keys) do
  50. if k==io.KeyCode then
  51. t.Function(t.Name,io.UserInputState,io)
  52. end
  53. end
  54. end
  55. if io.UserInputState == Enum.UserInputState.Begin then
  56. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  57. UIS:TrigEvent("InputBegan",io,false)
  58. else
  59. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  60. UIS:TrigEvent("InputEnded",io,false)
  61. end
  62. end
  63. end)
  64. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  65. end
  66. wait(0.2)
  67.  
  68.  
  69. warn([[SpectrumGlitcher v5 AWAKENED Loaded.
  70. The super switcher.
  71. Velnorum is one of the first wielders.
  72.  
  73. Created, Reworked by NoobyGames12
  74. Edited by GodzPlaysRB
  75. Edited by wanTH092 (Gam_Filano CH)
  76. SpectrumGlitcher Developers ^^^
  77. ]])
  78.  
  79.  
  80. ------------- ORIGINAL WIELDER OC: Velnorum
  81. print([[Icons:
  82. ! = New
  83. ? = Spoilers
  84. * = Exclusivity
  85. C = Changes
  86.  
  87. ]])
  88. warn([[V 4.35 Update Log:
  89. ! - Added Betrayal mode (Chaos M)
  90.  
  91. !? - Added z move to destiny
  92. !c? = Added calamity transition
  93. !? - upcoming transition for some mode..
  94. - Removed some voice sound effects because they didnt sound right
  95. ]])
  96. --- its obs smooth af do not touch
  97. ---- Sources and functions might be taken from others
  98. plr = game:GetService("Players").2345686332568964321e
  99. char = plr.Character
  100. hum = char.Humanoid
  101. local cam = game.Workspace.CurrentCamera
  102. Camera = cam
  103. local CamInterrupt = false
  104. local TwoD = false
  105. local TargetInfo = {nil, nil}
  106. cam.CameraType = "Custom"
  107. t = char.Torso
  108. h = char.Head
  109. ra = char["Right Arm"]
  110. la = char["Left Arm"]
  111. rl = char["Right Leg"]
  112. ll = char["Left Leg"]
  113. tors = char.Torso
  114. lleg = char["Left Leg"]
  115. root = char.HumanoidRootPart
  116. hed = char.Head
  117. rleg = char["Right Leg"]
  118. rarm = char["Right Arm"]
  119. larm = char["Left Arm"]
  120. radian = math.rad
  121. random = math.random
  122. Vec3 = Vector3.new
  123. Inst = Instance.new
  124. cFrame = CFrame.new
  125. Euler = CFrame.fromEulerAnglesXYZ
  126. vt = Vector3.new
  127. bc = BrickColor.new
  128. br = BrickColor.random
  129. it = Instance.new
  130. cf = CFrame.new
  131. local Player_Size = 0
  132. cam = game.Workspace.CurrentCamera
  133. CF = CFrame.new
  134. angles = CFrame.Angles
  135. attack = false
  136. Euler = CFrame.fromEulerAnglesXYZ
  137. Rad = math.rad
  138. IT = Instance.new
  139. BrickC = BrickColor.new
  140. Cos = math.cos
  141. Acos = math.acos
  142. Sin = math.sin
  143. Asin = math.asin
  144. Abs = math.abs
  145. Mrandom = math.random
  146. Floor = math.floor
  147. IT = Instance.new
  148. CF = CFrame.new
  149. VT = Vector3.new
  150. RAD = math.rad
  151. C3 = Color3.new
  152. UD2 = UDim2.new
  153. BRICKC = BrickColor.new
  154. ANGLES = CFrame.Angles
  155. EULER = CFrame.fromEulerAnglesXYZ
  156. COS = math.cos
  157. ACOS = math.acos
  158. SIN = math.sin
  159. ASIN = math.asin
  160. ABS = math.abs
  161. MRANDOM = math.random
  162. FLOOR = math.floor
  163. local SINE = 0
  164.  
  165. local Booleans = {
  166. CamFollow = true,
  167. GyroUse = true
  168. }
  169.  
  170. function lerp(object, newCFrame, alpha)
  171. return object:lerp(newCFrame, alpha)
  172. end
  173.  
  174. local Directer = Inst("BodyGyro", root)
  175. Directer.MaxTorque = Vec3(0, 0, 0)
  176. Directer.P = 600000
  177. local CPart = Inst("Part")
  178. CPart.Anchored = true
  179. CPart.CanCollide = false
  180. CPart.Locked = true
  181. CPart.Transparency = 1
  182.  
  183. local rainbowmode = false
  184. local chaosmode = false
  185.  
  186. local kan = Instance.new("Sound",tors)
  187. kan.Volume = 0.85
  188. kan.TimePosition = 0
  189. kan.PlaybackSpeed = 1
  190. kan.Pitch = 1
  191. kan.SoundId = "rbxassetid://1255569288"
  192. kan.Name = "wrecked"
  193. kan.Looped = true
  194. kan:Play()
  195.  
  196. local currentThemePlaying = kan.SoundId
  197. local currentPitch = kan.Pitch
  198. local currentVol = kan.Volume
  199. function newTheme(ID,timepos,pitch,vol)
  200. local kanz = kan
  201. --kanz:Stop()
  202. kanz.Volume = vol
  203. --kanz.TimePosition = timepos
  204. kanz.PlaybackSpeed = pitch
  205. kanz.Pitch = pitch
  206. kanz.SoundId = ID
  207. kanz.Name = "wrecked"
  208. kanz.Looped = true
  209. currentThemePlaying = kanz.SoundId
  210. currentVol = kanz.Volume
  211. currentPitch = kanz.Pitch
  212. --kanz:Play()
  213. --coroutine.resume(coroutine.create(function()
  214. --wait(0.05)
  215. --end))
  216. end
  217.  
  218.  
  219. function newThemeCust(ID,timepos,pitch,vol)
  220. local kanz = kan
  221. kanz:Stop()
  222. kanz.Volume = vol
  223. kanz.TimePosition = timepos
  224. kanz.PlaybackSpeed = pitch
  225. kanz.Pitch = pitch
  226. kanz.SoundId = ID
  227. kanz.Name = "wrecked"
  228. kanz.Looped = true
  229. currentThemePlaying = kanz.SoundId
  230. currentVol = kanz.Volume
  231. currentPitch = kanz.Pitch
  232. kanz:Play()
  233. coroutine.resume(coroutine.create(function()
  234. wait(0.05)
  235. end))
  236. end
  237.  
  238. local mutedtog = false
  239.  
  240. function CameraEnshaking(Length,Intensity)
  241. coroutine.resume(coroutine.create(function()
  242. local intensity = 1*Intensity
  243. local rotM = 0.01*Intensity
  244. for i = 0, Length, 0.1 do
  245. swait()
  246. intensity = intensity - 0.05*Intensity/Length
  247. rotM = rotM - 0.0005*Intensity/Length
  248. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  249. 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)
  250. end
  251. Humanoid.CameraOffset = Vec3(0, 0, 0)
  252. end))
  253. end
  254. CamShake=function(Part,Distan,Power,Times)
  255. local de=Part.Position
  256. for i,v in pairs(workspace:children()) do
  257. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  258. for _,c in pairs(v:children()) do
  259. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  260. local Noob=v.Humanoid
  261. if Noob~=nil then
  262. coroutine.resume(coroutine.create(function()
  263. FV = Instance.new("BoolValue", Noob)
  264. FV.Name = "CameraShake"
  265. for ShakeNum=1,Times do
  266. swait()
  267. local ef=Power
  268. if ef>=1 then
  269. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  270. else
  271. ef=Power*10
  272. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  273. end
  274. end
  275. Humanoid.CameraOffset = Vector3.new(0,0,0)
  276. FV:Destroy()
  277. end))
  278. CameraShake(Times, Power, Noob)
  279. end
  280. end
  281. end
  282. end
  283. end
  284. end
  285.  
  286. local toggleTag = true
  287. local bilguit = Instance.new("BillboardGui", hed)
  288. bilguit.Adornee = nil
  289. bilguit.Name = "ModeName"
  290. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  291. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  292. local modet = Instance.new("TextLabel", bilguit)
  293. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  294. modet.FontSize = "Size8"
  295. modet.TextScaled = true
  296. modet.TextTransparency = 0
  297. modet.BackgroundTransparency = 1
  298. modet.TextTransparency = 0
  299. modet.TextStrokeTransparency = 0
  300. modet.Font = "Antique"
  301. modet.TextStrokeColor3 = Color3.new(1,0,0)
  302. modet.TextColor3 = Color3.new(0.25,0,0)
  303. modet.Text = "MAYHEM"
  304.  
  305.  
  306. function chatfunc(text,color,typet,font,timeex)
  307. local chat = coroutine.wrap(function()
  308. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  309. Character:FindFirstChild("TalkingBillBoard"):destroy()
  310. end
  311. local naeeym2 = Instance.new("BillboardGui",Character)
  312. naeeym2.Size = UDim2.new(0,100,0,40)
  313. naeeym2.StudsOffset = Vector3.new(0,3,0)
  314. naeeym2.Adornee = Character.Head
  315. naeeym2.Name = "TalkingBillBoard"
  316. local tecks2 = Instance.new("TextLabel",naeeym2)
  317. tecks2.BackgroundTransparency = 1
  318. tecks2.BorderSizePixel = 0
  319. tecks2.Text = ""
  320. tecks2.Font = font
  321. tecks2.TextSize = 30
  322. tecks2.TextStrokeTransparency = 0
  323. tecks2.TextColor3 = color
  324. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  325. tecks2.Size = UDim2.new(1,0,0.5,0)
  326. local tecks3 = Instance.new("TextLabel",naeeym2)
  327. tecks3.BackgroundTransparency = 1
  328. tecks3.BorderSizePixel = 0
  329. tecks3.Text = ""
  330. tecks3.Font = font
  331. tecks3.TextSize = 30
  332. tecks3.TextStrokeTransparency = 0
  333. if typet == "Inverted" then
  334. tecks3.TextColor3 = Color3.new(0,0,0)
  335. tecks3.TextStrokeColor3 = color
  336. elseif typet == "Normal" then
  337. tecks3.TextColor3 = color
  338. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  339. end
  340. tecks3.Size = UDim2.new(1,0,0.5,0)
  341. coroutine.resume(coroutine.create(function()
  342. while true do
  343. swait(1)
  344. if chaosmode == true then
  345. tecks2.TextColor3 = BrickColor.random().Color
  346. tecks3.TextStrokeColor3 = BrickColor.random().Color
  347. end
  348. end
  349. end))
  350. modet.TextTransparency = modet.TextTransparency + 1
  351. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  352. for i = 0, 74*timeex do
  353. swait()
  354. modet.TextTransparency = 1
  355. modet.TextStrokeTransparency = 1
  356. tecks2.Text = text
  357. tecks3.Text = text
  358. end
  359. local randomrot = math.random(1,2)
  360. if randomrot == 1 then
  361. for i = 1, 50 do
  362. swait()
  363. tecks2.Text = text
  364. tecks3.Text = text
  365. modet.TextTransparency = modet.TextTransparency - .02
  366. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  367. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  368. tecks2.TextTransparency = tecks2.TextTransparency + .04
  369. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  370. tecks3.TextTransparency = tecks2.TextTransparency + .04
  371. end
  372. elseif randomrot == 2 then
  373. for i = 1, 50 do
  374. swait()
  375. tecks2.Text = text
  376. tecks3.Text = text
  377. modet.TextTransparency = modet.TextTransparency - .02
  378. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  379. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  380. tecks2.TextTransparency = tecks2.TextTransparency + .04
  381. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  382. tecks3.TextTransparency = tecks2.TextTransparency + .04
  383. end
  384. end
  385. modet.TextTransparency = 0
  386. modet.TextStrokeTransparency = 0
  387. if toggleTag == false then
  388. modet.TextTransparency = 1
  389. modet.TextStrokeTransparency = 1
  390. end
  391. naeeym2:Destroy()
  392. end)
  393. chat()
  394. end
  395.  
  396. function bosschatfunc(text,color,watval)
  397. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  398. coroutine.resume(coroutine.create(function()
  399. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  400. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  401. end
  402. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  403. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  404. scrg.Name = "Dialog"
  405. local txtlb = Instance.new("TextLabel",scrg)
  406. txtlb.Text = ""
  407. txtlb.Font = "Bodoni"
  408. txtlb.TextColor3 = Color3.new(0,0,0)
  409. txtlb.TextStrokeTransparency = 0
  410. txtlb.BackgroundTransparency = 0.75
  411. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  412. txtlb.TextStrokeColor3 = color
  413. txtlb.TextScaled = true
  414. txtlb.Size = UDim2.new(1,0,0.25,0)
  415. txtlb.TextXAlignment = "Left"
  416. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  417. local txtlb2 = Instance.new("TextLabel",scrg)
  418. txtlb2.Text = plr.Name.." The Glitcher:"
  419. txtlb2.Font = "Arcade"
  420. txtlb2.TextColor3 = Color3.new(0,0,0)
  421. txtlb2.TextStrokeTransparency = 0
  422. txtlb2.BackgroundTransparency = 1
  423. txtlb2.TextStrokeColor3 = color
  424. txtlb2.TextSize = 40
  425. txtlb2.Size = UDim2.new(1,0,0.25,0)
  426. txtlb2.TextXAlignment = "Left"
  427. txtlb2.Position = UDim2.new(0,0,1,0)
  428. local fvalen = 0.55
  429. local fval = -0.49
  430. coroutine.resume(coroutine.create(function()
  431. while true do
  432. swait()
  433. if chaosmode == true then
  434. txtlb.Rotation = math.random(-1,1)
  435. txtlb2.Rotation = math.random(-1,1)
  436. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  437. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  438. txtlb.TextStrokeColor3 = BrickColor.random().Color
  439. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  440. end
  441. end
  442. end))
  443. coroutine.resume(coroutine.create(function()
  444. while true do
  445. swait()
  446. if scrg.Parent ~= nil then
  447. fvalen = fvalen - 0.0001
  448. elseif scrg.Parent == nil then
  449. break
  450. end
  451. end
  452. end))
  453. local flol = 1.75
  454. local flil = 1.6
  455. coroutine.resume(coroutine.create(function()
  456. for i = 0, 9 do
  457. swait()
  458. fval = fval + 0.05
  459. flol = flol - 0.1
  460. flil = flil - 0.1
  461. txtlb.Text = ""
  462. txtlb.Position = UDim2.new(0,0,flol,0)
  463. txtlb2.Position = UDim2.new(0,0,flil,0)
  464. end
  465. txtlb.Text = text
  466. wait(watval)
  467. local valinc = 0
  468. for i = 0, 99 do
  469. swait()
  470. valinc = valinc + 0.0001
  471. flol = flol + valinc
  472. flil = flil + valinc
  473. txtlb.Rotation = txtlb.Rotation + valinc*20
  474. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  475. txtlb.Position = UDim2.new(0,0,flol,0)
  476. txtlb2.Position = UDim2.new(0,0,flil,0)
  477. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  478. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  479. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  480. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  481. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  482. end
  483. scrg:Destroy()
  484. end))
  485. end))
  486. end
  487. end
  488.  
  489.  
  490. local Create = LoadLibrary("RbxUtility").Create
  491.  
  492. CFuncs = {
  493. ["Part"] = {
  494. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  495. local Part = Create("Part"){
  496. Parent = Parent,
  497. Reflectance = Reflectance,
  498. Transparency = Transparency,
  499. CanCollide = false,
  500. Locked = true,
  501. BrickColor = BrickColor.new(tostring(BColor)),
  502. Name = Name,
  503. Size = Size,
  504. Material = Material,
  505. }
  506. RemoveOutlines(Part)
  507. return Part
  508. end;
  509. };
  510.  
  511. ["Mesh"] = {
  512. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  513. local Msh = Create(Mesh){
  514. Parent = Part,
  515. Offset = OffSet,
  516. Scale = Scale,
  517. }
  518. if Mesh == "SpecialMesh" then
  519. Msh.MeshType = MeshType
  520. Msh.MeshId = MeshId
  521. end
  522. return Msh
  523. end;
  524. };
  525.  
  526. ["Mesh"] = {
  527. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  528. local Msh = Create(Mesh){
  529. Parent = Part,
  530. Offset = OffSet,
  531. Scale = Scale,
  532. }
  533. if Mesh == "SpecialMesh" then
  534. Msh.MeshType = MeshType
  535. Msh.MeshId = MeshId
  536. end
  537. return Msh
  538. end;
  539. };
  540.  
  541. ["Weld"] = {
  542. Create = function(Parent, Part0, Part1, C0, C1)
  543. local Weld = Create("Weld"){
  544. Parent = Parent,
  545. Part0 = Part0,
  546. Part1 = Part1,
  547. C0 = C0,
  548. C1 = C1,
  549. }
  550. return Weld
  551. end;
  552. };
  553.  
  554. ["Sound"] = {
  555. Create = function(id, par, vol, pit)
  556. coroutine.resume(coroutine.create(function()
  557. local S = Create("Sound"){
  558. Volume = vol,
  559. Name = "EffectSoundo",
  560. Pitch = pit or 1,
  561. SoundId = id,
  562. Parent = par or workspace,
  563. }
  564. wait()
  565. S:play()
  566. game:GetService("Debris"):AddItem(S, 10)
  567. end))
  568. end;
  569. };
  570.  
  571. ["TimeSound"] = {
  572. Create = function(id, par, vol, pit, timepos)
  573. coroutine.resume(coroutine.create(function()
  574. local S = Create("Sound"){
  575. Volume = vol,
  576. Name = "EffectSoundo",
  577. Pitch = pit or 1,
  578. SoundId = id,
  579. TimePosition = timepos,
  580. Parent = par or workspace,
  581. }
  582. wait()
  583. S:play()
  584. game:GetService("Debris"):AddItem(S, 10)
  585. end))
  586. end;
  587. };
  588. ["EchoSound"] = {
  589. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  590. coroutine.resume(coroutine.create(function()
  591. local Sas = Create("Sound"){
  592. Volume = vol,
  593. Name = "EffectSoundo",
  594. Pitch = pit or 1,
  595. SoundId = id,
  596. TimePosition = timepos,
  597. Parent = par or workspace,
  598. }
  599. local E = Create("EchoSoundEffect"){
  600. Delay = echodelay,
  601. Name = "Echo",
  602. Feedback = fedb,
  603. DryLevel = dryl,
  604. Parent = Sas,
  605. }
  606. wait()
  607. Sas:play()
  608. game:GetService("Debris"):AddItem(Sas, delays)
  609. end))
  610. end;
  611. };
  612.  
  613. ["LongSound"] = {
  614. Create = function(id, par, vol, pit)
  615. coroutine.resume(coroutine.create(function()
  616. local S = Create("Sound"){
  617. Volume = vol,
  618. Pitch = pit or 1,
  619. SoundId = id,
  620. Parent = par or workspace,
  621. }
  622. wait()
  623. S:play()
  624. game:GetService("Debris"):AddItem(S, 60)
  625. end))
  626. end;
  627. };
  628.  
  629. ["ParticleEmitter"] = {
  630. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  631. local fp = Create("ParticleEmitter"){
  632. Parent = Parent,
  633. Color = ColorSequence.new(Color1, Color2),
  634. LightEmission = LightEmission,
  635. Size = Size,
  636. Texture = Texture,
  637. Transparency = Transparency,
  638. ZOffset = ZOffset,
  639. Acceleration = Accel,
  640. Drag = Drag,
  641. LockedToPart = LockedToPart,
  642. VelocityInheritance = VelocityInheritance,
  643. EmissionDirection = EmissionDirection,
  644. Enabled = Enabled,
  645. Lifetime = LifeTime,
  646. Rate = Rate,
  647. Rotation = Rotation,
  648. RotSpeed = RotSpeed,
  649. Speed = Speed,
  650. VelocitySpread = VelocitySpread,
  651. }
  652. return fp
  653. end;
  654. };
  655.  
  656. CreateTemplate = {
  657.  
  658. };
  659. }
  660.  
  661.  
  662.  
  663. New = function(Object, Parent, Name, Data)
  664. local Object = Instance.new(Object)
  665. for Index, Value in pairs(Data or {}) do
  666. Object[Index] = Value
  667. end
  668. Object.Parent = Parent
  669. Object.Name = Name
  670. return Object
  671. end
  672. local halocolor = BrickColor.new("Pastel light blue")
  673. local halocolor2 = BrickColor.new("Cool yellow")
  674. local starcolor = BrickColor.new("Bright yellow")
  675. local lunacolor = BrickColor.new("Navy blue")
  676. local lunacolor2 = BrickColor.new("Bright blue")
  677. local wepcolor = BrickColor.new("Really black")
  678. local maincolor = BrickColor.new("Really black")
  679. local m = Instance.new("Model",char)
  680. local m2 = Instance.new("Model",char)
  681. local m3 = Instance.new("Model",char)
  682. local mw1 = Instance.new("Model",char)
  683. local mw2 = Instance.new("Model",char)
  684.  
  685.  
  686. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  687. local gui = it(GuiType)
  688. gui.Parent = parent
  689. gui.Text = text
  690. gui.BackgroundTransparency = backtrans
  691. gui.BackgroundColor3 = backcol
  692. gui.SizeConstraint = "RelativeXY"
  693. gui.TextXAlignment = "Center"
  694. gui.TextYAlignment = "Center"
  695. gui.Position = pos
  696. gui.Size = size
  697. gui.Font = "SourceSans"
  698. gui.FontSize = "Size14"
  699. gui.TextWrapped = false
  700. gui.TextStrokeTransparency = 0
  701. gui.TextColor = BrickColor.new("White")
  702. return gui
  703. end
  704. --------------------------- GUI STUFF
  705. local basgui = it("GuiMain")
  706. basgui.Parent = plr.PlayerGui
  707. basgui.Name = "VISgui"
  708. local fullscreenz = it("Frame")
  709. fullscreenz.Parent = basgui
  710. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  711. fullscreenz.BackgroundTransparency = 1
  712. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  713. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  714. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  715. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  716. imgl2.BackgroundTransparency = 1
  717. imgl2.BorderSizePixel = 0
  718. imgl2.ImageTransparency = 0.5
  719. imgl2.ImageColor3 = Color3.new(1,0,0)
  720. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  721. imgl2.Size = UDim2.new(0,1000,0,1000)
  722. imgl2.Image = "rbxassetid://2325939897"
  723. local techc = imgl2:Clone()
  724. techc.Parent = fullscreenz
  725. techc.ImageTransparency = 0
  726. techc.Size = UDim2.new(0,900,0,900)
  727. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  728. techc.ImageColor3 = Color3.new(1,0,0)
  729. techc.Image = "rbxassetid://2273224484"
  730. local circl = imgl2:Clone()
  731. circl.Parent = fullscreenz
  732. circl.ImageTransparency = 0
  733. circl.Size = UDim2.new(0,550,0,550)
  734. circl.Position = UDim2.new(0.75,25,0.55,25)
  735. circl.ImageColor3 = Color3.new(0,0,0)
  736. circl.Image = "rbxassetid://2312119891"
  737. local circl2 = imgl2:Clone()
  738. circl2.Parent = fullscreenz
  739. circl2.ImageTransparency = 0
  740. circl2.Size = UDim2.new(0,700,0,700)
  741. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  742. circl2.ImageColor3 = Color3.new(1,0,0)
  743. circl2.Image = "rbxassetid://2312119891"
  744. local imgl2b = imgl2:Clone()
  745. imgl2b.Parent = fullscreenz
  746. imgl2b.ImageTransparency = 0
  747. imgl2b.Size = UDim2.new(0,800,0,800)
  748. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  749. imgl2b.ImageColor3 = Color3.new(0,0,0)
  750. local ned = Instance.new("TextLabel",fullscreenz)
  751. ned.ZIndex = 2
  752. ned.Font = "Arcade"
  753. ned.BackgroundTransparency = 1
  754. ned.BorderSizePixel = 0.65
  755. ned.Size = UDim2.new(0.3,0,0.2,0)
  756. ned.Position = UDim2.new(0.7,0,0.8,0)
  757. ned.TextColor3 = BrickColor.new("Really red").Color
  758. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  759. ned.TextScaled = true
  760. ned.TextStrokeTransparency = 0
  761. ned.Text = "MAYHEM"
  762. ned.TextSize = 24
  763. ned.Rotation = 1
  764. ned.TextXAlignment = "Right"
  765. ned.TextYAlignment = "Bottom"
  766.  
  767. local extrawingmod1 = Instance.new("Model",char)
  768. local extrawingmod2 = Instance.new("Model",char)
  769.  
  770. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  771. local p = Instance.new("Part")
  772. p.TopSurface = 0
  773. p.BottomSurface = 0
  774. p.Parent = parent
  775. p.Size = Vector3.new(0.1,0.1,0.1)
  776. p.Transparency = transparency
  777. p.Reflectance = reflectance
  778. p.CanCollide = false
  779. p.Locked = true
  780. p.BrickColor = brickcolor
  781. p.Material = material
  782. return p
  783. end
  784.  
  785. function CreateMesh(parent,meshtype,x1,y1,z1)
  786. local mesh = Instance.new("SpecialMesh",parent)
  787. mesh.MeshType = meshtype
  788. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  789. return mesh
  790. end
  791.  
  792. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  793. local mesh = Instance.new("SpecialMesh",parent)
  794. mesh.MeshType = "FileMesh"
  795. mesh.MeshId = meshid
  796. mesh.Scale = Vector3.new(x1,y1,z1)
  797. return mesh
  798. end
  799.  
  800.  
  801. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  802. local mesh = Instance.new("SpecialMesh",parent)
  803. mesh.MeshType = "FileMesh"
  804. mesh.MeshId = meshid
  805. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  806. mesh.Scale = Vector3.new(x1,y1,z1)
  807. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  808. return mesh
  809. end
  810.  
  811. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  812. local weld = Instance.new("Weld")
  813. weld.Parent = parent
  814. weld.Part0 = part0
  815. weld.Part1 = part1
  816. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  817. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  818. return weld
  819. end
  820.  
  821.  
  822. --------------
  823. --------------
  824. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  825. 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))
  826. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  827. 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))
  828.  
  829. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  830. CreateMesh(handle,"Brick",0,0,0)
  831. 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))
  832. local valuaring = 10
  833. for i = 0, 49 do
  834. valuaring = valuaring + 10
  835. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  836. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  837. 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))
  838. end
  839.  
  840. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  841. CreateMesh(handle,"Brick",0,0,0)
  842. 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))
  843. local valuaring = 10
  844. for i = 0, 49 do
  845. valuaring = valuaring + 10
  846. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  847. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  848. 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))
  849. end
  850.  
  851.  
  852. local handle = CreateParta(m,1,1,"Neon",maincolor)
  853. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  854. 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))
  855.  
  856. --- Left wing.
  857.  
  858. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  859. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  860. 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))
  861.  
  862. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  863. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  864. 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))
  865. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  866. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  867. 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))
  868. A0 = Instance.new('Attachment',wed)
  869. A0.Position = vt(0,0.25,0.25)
  870. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  871. CreateMesh(wed,"Wedge",0.05,0.5,3)
  872. 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))
  873. A1 = Instance.new('Attachment',wed)
  874. A1.Position = vt(0,-0.25,-2)
  875. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  876. CreateMesh(wed,"Wedge",0.05,3,0.5)
  877. 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))
  878.  
  879. tl1 = Instance.new('Trail',wed)
  880. tl1.Attachment0 = A1
  881. tl1.Attachment1 = A0
  882. tl1.Texture = "rbxassetid://2108945559"
  883. tl1.LightEmission = 1
  884. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  885. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  886. tl1.Lifetime = 0.6
  887.  
  888.  
  889. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  890. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  891. 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))
  892.  
  893. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  894. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  895. 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))
  896. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  897. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  898. 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))
  899. A0 = Instance.new('Attachment',wed)
  900. A0.Position = vt(0,0.25,0.25)
  901. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  902. CreateMesh(wed,"Wedge",0.05,0.5,3)
  903. 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))
  904. A1 = Instance.new('Attachment',wed)
  905. A1.Position = vt(0,-0.25,-2)
  906. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  907. CreateMesh(wed,"Wedge",0.05,3,0.5)
  908. 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))
  909.  
  910. tl2 = Instance.new('Trail',wed)
  911. tl2.Attachment0 = A1
  912. tl2.Attachment1 = A0
  913. tl2.Texture = "rbxassetid://2108945559"
  914. tl2.LightEmission = 1
  915. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  916. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  917. tl2.Lifetime = 0.6
  918.  
  919. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  920. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  921. 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))
  922.  
  923. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  924. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  925. 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))
  926. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  927. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  928. 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))
  929. A0 = Instance.new('Attachment',wed)
  930. A0.Position = vt(0,0.25,0.25)
  931. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  932. CreateMesh(wed,"Wedge",0.05,0.5,3)
  933. 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))
  934. A1 = Instance.new('Attachment',wed)
  935. A1.Position = vt(0,-0.25,-2)
  936. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  937. CreateMesh(wed,"Wedge",0.05,3,0.5)
  938. 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))
  939.  
  940. tl3 = Instance.new('Trail',wed)
  941. tl3.Attachment0 = A1
  942. tl3.Attachment1 = A0
  943. tl3.Texture = "rbxassetid://2108945559"
  944. tl3.LightEmission = 1
  945. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  946. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  947. tl3.Lifetime = 0.6
  948.  
  949. tl1.Enabled = false
  950. tl2.Enabled = false
  951. tl3.Enabled = false
  952. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  953. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  954. 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))
  955.  
  956. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  957. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  958. 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))
  959. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  960. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  961. 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))
  962. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  963. CreateMesh(wed,"Wedge",0.05,0.5,3)
  964. 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))
  965. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  966. CreateMesh(wed,"Wedge",0.05,3,0.5)
  967. 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))
  968.  
  969. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  970. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  971. 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))
  972.  
  973. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  974. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  975. 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))
  976. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  977. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  978. 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))
  979. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  980. CreateMesh(wed,"Wedge",0.05,0.5,3)
  981. 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))
  982. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  983. CreateMesh(wed,"Wedge",0.05,3,0.5)
  984. 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))
  985.  
  986. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  987. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  988. 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))
  989.  
  990. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  991. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  992. 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))
  993. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  994. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  995. 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))
  996. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  997. CreateMesh(wed,"Wedge",0.05,0.5,3)
  998. 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))
  999. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1000. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1001. 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))
  1002.  
  1003. -- Right wing.
  1004.  
  1005. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1006. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1007. 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))
  1008.  
  1009. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1010. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1011. 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))
  1012. A0 = Instance.new('Attachment',wed)
  1013. A0.Position = vt(0,0.25,0.25)
  1014. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1015. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1016. 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))
  1017. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1018. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1019. 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))
  1020. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1021. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1022. 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))
  1023. A1 = Instance.new('Attachment',wed)
  1024. A1.Position = vt(0,2,0.25)
  1025.  
  1026. tr1 = Instance.new('Trail',wed)
  1027. tr1.Attachment0 = A1
  1028. tr1.Attachment1 = A0
  1029. tr1.Texture = "rbxassetid://2108945559"
  1030. tr1.LightEmission = 1
  1031. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1032. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1033. tr1.Lifetime = 0.6
  1034.  
  1035. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1036. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1037. 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))
  1038.  
  1039. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1040. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1041. 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))
  1042. A0 = Instance.new('Attachment',wed)
  1043. A0.Position = vt(0,0.25,0.25)
  1044. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1045. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1046. 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))
  1047. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1048. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1049. 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))
  1050. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1051. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1052. 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))
  1053. A1 = Instance.new('Attachment',wed)
  1054. A1.Position = vt(0,2,0.25)
  1055.  
  1056. tr2 = Instance.new('Trail',wed)
  1057. tr2.Attachment0 = A1
  1058. tr2.Attachment1 = A0
  1059. tr2.Texture = "rbxassetid://2108945559"
  1060. tr2.LightEmission = 1
  1061. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1062. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1063. tr2.Lifetime = 0.6
  1064.  
  1065. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1066. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1067. 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))
  1068.  
  1069. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1070. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1071. 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))
  1072. A0 = Instance.new('Attachment',wed)
  1073. A0.Position = vt(0,0.25,0.25)
  1074. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1075. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1076. 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))
  1077. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1078. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1079. 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))
  1080. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1081. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1082. 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))
  1083. A1 = Instance.new('Attachment',wed)
  1084. A1.Position = vt(0,2,0.25)
  1085.  
  1086. tr3 = Instance.new('Trail',wed)
  1087. tr3.Attachment0 = A1
  1088. tr3.Attachment1 = A0
  1089. tr3.Texture = "rbxassetid://2108945559"
  1090. tr3.LightEmission = 1
  1091. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1092. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1093. tr3.Lifetime = 0.6
  1094.  
  1095.  
  1096. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1097. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1098. 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))
  1099.  
  1100. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1101. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1102. 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))
  1103. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1104. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1105. 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))
  1106. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1107. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1108. 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))
  1109. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1110. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1111. 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))
  1112.  
  1113. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1114. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1115. 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))
  1116.  
  1117. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1118. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1119. 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))
  1120. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1121. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1122. 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))
  1123. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1124. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1125. 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))
  1126. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1127. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1128. 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))
  1129.  
  1130. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1131. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1132. 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))
  1133.  
  1134. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1135. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1136. 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))
  1137. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1138. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1139. 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))
  1140. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1141. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1142. 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))
  1143. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1144. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1145. 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))
  1146.  
  1147. --HERES THE RING
  1148.  
  1149.  
  1150. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1151. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1152. 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))
  1153. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1154. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1155. 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))
  1156. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1157. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1158. 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))
  1159.  
  1160.  
  1161. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1162. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1163. 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))
  1164.  
  1165. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1166. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1167. 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))
  1168.  
  1169.  
  1170.  
  1171. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1172. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1173. 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))
  1174.  
  1175. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1176. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1177. 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))
  1178.  
  1179. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1180. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1181. 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))
  1182.  
  1183. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1184. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1185. 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))
  1186. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1187. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1188. 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))]]--
  1189.  
  1190. --- second ring
  1191.  
  1192.  
  1193. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1194. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1195. 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))
  1196.  
  1197. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1198. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1199. 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))
  1200.  
  1201.  
  1202.  
  1203. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1204. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1205. 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))
  1206.  
  1207. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1208. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1209. 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))
  1210.  
  1211. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1212. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1213. 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))
  1214.  
  1215. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1216. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1217. 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))
  1218. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1219. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1220. 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))
  1221.  
  1222.  
  1223.  
  1224. for i, v in pairs(m:GetChildren()) do
  1225. if v:IsA("Part") then
  1226. v.BrickColor = BrickColor.new("Really black")
  1227. v.Material = "Glass"
  1228. end
  1229. end
  1230. for i, v in pairs(m2:GetChildren()) do
  1231. if v:IsA("Part") then
  1232. v.BrickColor = BrickColor.new("Crimson")
  1233. v.Material = "Granite"
  1234. end
  1235. end
  1236. for i, v in pairs(m3:GetChildren()) do
  1237. if v:IsA("Part") then
  1238. v.BrickColor = BrickColor.new("Really red")
  1239. v.Material = "Neon"
  1240. end
  1241. end
  1242. for i, v in pairs(mw2:GetChildren()) do
  1243. if v:IsA("Part") then
  1244. v.BrickColor = BrickColor.new("Really red")
  1245. v.Material = "Neon"
  1246. end
  1247. end
  1248. for i, v in pairs(mw1:GetChildren()) do
  1249. if v:IsA("Part") then
  1250. v.Transparency = 1
  1251. v.BrickColor = BrickColor.new("Really red")
  1252. v.Material = "Neon"
  1253. end
  1254. end
  1255. for i, v in pairs(extrawingmod1:GetChildren()) do
  1256. if v:IsA("Part") then
  1257. v.Transparency = 1
  1258. v.BrickColor = BrickColor.new("White")
  1259. v.Material = "Neon"
  1260. end
  1261. end
  1262. for i, v in pairs(extrawingmod2:GetChildren()) do
  1263. if v:IsA("Part") then
  1264. v.Transparency = 1
  1265. v.BrickColor = BrickColor.new("White")
  1266. v.Material = "Neon"
  1267. end
  1268. end
  1269. local MAINRUINCOLOR = BrickColor.new("Really red")
  1270. ------
  1271.  
  1272.  
  1273. function RemoveOutlines(part)
  1274. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1275. end
  1276. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1277. local Part = Create("Part")({
  1278. Parent = Parent,
  1279. Reflectance = Reflectance,
  1280. Transparency = Transparency,
  1281. CanCollide = false,
  1282. Locked = true,
  1283. BrickColor = BrickColor.new(tostring(BColor)),
  1284. Name = Name,
  1285. Size = Size,
  1286. Material = Material
  1287. })
  1288. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1289. RemoveOutlines(Part)
  1290. return Part
  1291. end
  1292. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1293. local Msh = Create(Mesh)({
  1294. Parent = Part,
  1295. Offset = OffSet,
  1296. Scale = Scale
  1297. })
  1298. if Mesh == "SpecialMesh" then
  1299. Msh.MeshType = MeshType
  1300. Msh.MeshId = MeshId
  1301. end
  1302. return Msh
  1303. end
  1304. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1305. local Weld = Create("Weld")({
  1306. Parent = Parent,
  1307. Part0 = Part0,
  1308. Part1 = Part1,
  1309. C0 = C0,
  1310. C1 = C1
  1311. })
  1312. return Weld
  1313. end
  1314.  
  1315. Player = plr
  1316. Character=Player.Character
  1317. PlayerGui=Player.PlayerGui
  1318. Backpack=Player.Backpack
  1319. Torso=Character.Torso
  1320. Head=Character.Head
  1321. Humanoid=Character.Humanoid
  1322. m=Instance.new('Model',Character)
  1323. LeftArm=Character["Left Arm"]
  1324. LeftLeg=Character["Left Leg"]
  1325. RightArm=Character["Right Arm"]
  1326. RightLeg=Character["Right Leg"]
  1327. LS=Torso["Left Shoulder"]
  1328. LH=Torso["Left Hip"]
  1329. RS=Torso["Right Shoulder"]
  1330. RH=Torso["Right Hip"]
  1331. Face = Head.face
  1332. Neck=Torso.Neck
  1333. it=Instance.new
  1334. attacktype=1
  1335. vt=Vector3.new
  1336. cf=CFrame.new
  1337. euler=CFrame.fromEulerAnglesXYZ
  1338. angles=CFrame.Angles
  1339. cloaked=false
  1340. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1341. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1342. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1343. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1344. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1345. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1346. RootPart=Character.HumanoidRootPart
  1347. RootJoint=RootPart.RootJoint
  1348. RootCF=euler(-1.57,0,3.14)
  1349. attack = false
  1350. attackdebounce = false
  1351. deb=false
  1352. equipped=true
  1353. hand=false
  1354. combo=0
  1355. mana=0
  1356. trispeed=.2
  1357. attackmode='none'
  1358. local idle=0
  1359. local Anim="Idle"
  1360. local Effects={}
  1361. local gun=false
  1362. local shoot=false
  1363. local sine = 0
  1364. local change = 1
  1365.  
  1366. function RecolorTextAndRename(name,col1,col2,font)
  1367. modet.TextStrokeColor3 = col2
  1368. modet.TextColor3 = col1
  1369. modet.Font = font
  1370. modet.Text = name
  1371. techc.ImageColor3 = col2
  1372. circl.ImageColor3 = col2
  1373. circl2.ImageColor3 = col1
  1374. imgl2.ImageColor3 = col1
  1375. imgl2b.ImageColor3 = col2
  1376. ned.Text = name
  1377. ned.TextColor3 = col1
  1378. ned.TextStrokeColor3 = col2
  1379. end
  1380. --save shoulders
  1381. RSH, LSH=nil, nil
  1382. --welds
  1383. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1384. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1385. LH=Torso["Left Hip"]
  1386. RH=Torso["Right Hip"]
  1387. TorsoColor=Torso.BrickColor
  1388. function NoOutline(Part)
  1389. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1390. end
  1391. ch=Character
  1392. RSH=ch.Torso["Right Shoulder"]
  1393. LSH=ch.Torso["Left Shoulder"]
  1394. --
  1395. RSH.Parent=nil
  1396. LSH.Parent=nil
  1397. --
  1398. RW.Name="Right Shoulder"
  1399. RW.Part0=ch.Torso
  1400. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1401. RW.C1=cf(0, 0.5, 0)
  1402. RW.Part1=ch["Right Arm"]
  1403. RW.Parent=ch.Torso
  1404. --
  1405. LW.Name="Left Shoulder"
  1406. LW.Part0=ch.Torso
  1407. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1408. LW.C1=cf(0, 0.5, 0)
  1409. LW.Part1=ch["Left Arm"]
  1410. LW.Parent=ch.Torso
  1411.  
  1412. local Stats=Instance.new("BoolValue")
  1413. Stats.Name="Stats"
  1414. Stats.Parent=Character
  1415. local Atk=Instance.new("NumberValue")
  1416. Atk.Name="Damage"
  1417. Atk.Parent=Stats
  1418. Atk.Value=1
  1419. local Def=Instance.new("NumberValue")
  1420. Def.Name="Defense"
  1421. Def.Parent=Stats
  1422. Def.Value=1
  1423. local Speed=Instance.new("NumberValue")
  1424. Speed.Name="Speed"
  1425. Speed.Parent=Stats
  1426. Speed.Value=1
  1427. local Mvmt=Instance.new("NumberValue")
  1428. Mvmt.Name="Movement"
  1429. Mvmt.Parent=Stats
  1430. Mvmt.Value=1
  1431.  
  1432. local donum=0
  1433. local ast = {744586075,385254610}
  1434.  
  1435. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1436. local fp=it("Part")
  1437. fp.formFactor=formfactor
  1438. fp.Parent=parent
  1439. fp.Reflectance=reflectance
  1440. fp.Transparency=transparency
  1441. fp.CanCollide=false
  1442. fp.Locked=true
  1443. fp.BrickColor=brickcolor
  1444. fp.Name=name
  1445. fp.Size=size
  1446. fp.Position=Torso.Position
  1447. NoOutline(fp)
  1448. fp.Material="SmoothPlastic"
  1449. fp:BreakJoints()
  1450. return fp
  1451. end
  1452.  
  1453. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1454. local mesh=it(Mesh)
  1455. mesh.Parent=part
  1456. if Mesh=="SpecialMesh" then
  1457. mesh.MeshType=meshtype
  1458. if meshid~="nil" then
  1459. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1460. end
  1461. end
  1462. mesh.Offset=offset
  1463. mesh.Scale=scale
  1464. return mesh
  1465. end
  1466.  
  1467. function weld(parent,part0,part1,c0)
  1468. local weld=it("Weld")
  1469. weld.Parent=parent
  1470. weld.Part0=part0
  1471. weld.Part1=part1
  1472. weld.C0=c0
  1473. return weld
  1474. end
  1475.  
  1476. local Color1=Torso.BrickColor
  1477.  
  1478. local bodvel=Instance.new("BodyVelocity")
  1479. local bg=Instance.new("BodyGyro")
  1480.  
  1481. --------- SazEreno's Artificial HB --------------
  1482. ArtificialHB = Instance.new("BindableEvent", script)
  1483. ArtificialHB.Name = "ArtificialHB"
  1484.  
  1485. script:WaitForChild("ArtificialHB")
  1486. Frame_Speed = 1 / 60
  1487. frame = Frame_Speed
  1488. tf = 0
  1489. allowframeloss = false
  1490. tossremainder = false
  1491. lastframe = tick()
  1492. script.ArtificialHB:Fire()
  1493.  
  1494. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1495. tf = tf + s
  1496. if tf >= frame then
  1497. if allowframeloss then
  1498. script.ArtificialHB:Fire()
  1499. lastframe = tick()
  1500. else
  1501. for i = 1, math.floor(tf / frame) do
  1502. script.ArtificialHB:Fire()
  1503. end
  1504. lastframe = tick()
  1505. end
  1506. if tossremainder then
  1507. tf = 0
  1508. else
  1509. tf = tf - frame * math.floor(tf / frame)
  1510. end
  1511. end
  1512. end)
  1513.  
  1514. ------------------
  1515. function swait(num)
  1516. if num == 0 or num == nil then
  1517. ArtificialHB.Event:wait()
  1518. else
  1519. for i = 1, num do
  1520. ArtificialHB.Event:wait()
  1521. end
  1522. end
  1523. end
  1524. -------- RAINBOW LEAVE IT TO ME
  1525. local r = 255
  1526. local g = 0
  1527. local b = 0
  1528. coroutine.resume(coroutine.create(function()
  1529. while wait() do
  1530. for i = 0, 254/5 do
  1531. swait()
  1532. g = g + 5
  1533. end
  1534. for i = 0, 254/5 do
  1535. swait()
  1536. r = r - 5
  1537. end
  1538. for i = 0, 254/5 do
  1539. swait()
  1540. b = b + 5
  1541. end
  1542. for i = 0, 254/5 do
  1543. swait()
  1544. g = g - 5
  1545. end
  1546. for i = 0, 254/5 do
  1547. swait()
  1548. r = r + 5
  1549. end
  1550. for i = 0, 254/5 do
  1551. swait()
  1552. b = b - 5
  1553. end
  1554. end
  1555. end))
  1556.  
  1557.  
  1558. so = function(id,par,vol,pit)
  1559. coroutine.resume(coroutine.create(function()
  1560. local sou = Instance.new("Sound",par or workspace)
  1561. sou.Volume=vol
  1562. sou.Pitch=pit or 1
  1563. sou.SoundId=id
  1564. swait()
  1565. sou:play()
  1566. game:GetService("Debris"):AddItem(sou,6)
  1567. end))
  1568. end
  1569.  
  1570. function clerp(a,b,t)
  1571. local qa = {QuaternionFromCFrame(a)}
  1572. local qb = {QuaternionFromCFrame(b)}
  1573. local ax, ay, az = a.x, a.y, a.z
  1574. local bx, by, bz = b.x, b.y, b.z
  1575. local _t = 1-t
  1576. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1577. end
  1578.  
  1579. function QuaternionFromCFrame(cf)
  1580. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1581. local trace = m00 + m11 + m22
  1582. if trace > 0 then
  1583. local s = math.sqrt(1 + trace)
  1584. local recip = 0.5/s
  1585. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1586. else
  1587. local i = 0
  1588. if m11 > m00 then
  1589. i = 1
  1590. end
  1591. if m22 > (i == 0 and m00 or m11) then
  1592. i = 2
  1593. end
  1594. if i == 0 then
  1595. local s = math.sqrt(m00-m11-m22+1)
  1596. local recip = 0.5/s
  1597. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1598. elseif i == 1 then
  1599. local s = math.sqrt(m11-m22-m00+1)
  1600. local recip = 0.5/s
  1601. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1602. elseif i == 2 then
  1603. local s = math.sqrt(m22-m00-m11+1)
  1604. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1605. end
  1606. end
  1607. end
  1608.  
  1609. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1610. local xs, ys, zs = x + x, y + y, z + z
  1611. local wx, wy, wz = w*xs, w*ys, w*zs
  1612. local xx = x*xs
  1613. local xy = x*ys
  1614. local xz = x*zs
  1615. local yy = y*ys
  1616. local yz = y*zs
  1617. local zz = z*zs
  1618. 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))
  1619. end
  1620.  
  1621. function QuaternionSlerp(a, b, t)
  1622. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1623. local startInterp, finishInterp;
  1624. if cosTheta >= 0.0001 then
  1625. if (1 - cosTheta) > 0.0001 then
  1626. local theta = math.acos(cosTheta)
  1627. local invSinTheta = 1/math.sin(theta)
  1628. startInterp = math.sin((1-t)*theta)*invSinTheta
  1629. finishInterp = math.sin(t*theta)*invSinTheta
  1630. else
  1631. startInterp = 1-t
  1632. finishInterp = t
  1633. end
  1634. else
  1635. if (1+cosTheta) > 0.0001 then
  1636. local theta = math.acos(-cosTheta)
  1637. local invSinTheta = 1/math.sin(theta)
  1638. startInterp = math.sin((t-1)*theta)*invSinTheta
  1639. finishInterp = math.sin(t*theta)*invSinTheta
  1640. else
  1641. startInterp = t-1
  1642. finishInterp = t
  1643. end
  1644. end
  1645. 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
  1646. end
  1647.  
  1648. local function CFrameFromTopBack(at, top, back)
  1649. local right = top:Cross(back)
  1650. return CFrame.new(at.x, at.y, at.z,
  1651. right.x, top.x, back.x,
  1652. right.y, top.y, back.y,
  1653. right.z, top.z, back.z)
  1654. end
  1655.  
  1656. function Triangle(a, b, c)
  1657. local edg1 = (c-a):Dot((b-a).unit)
  1658. local edg2 = (a-b):Dot((c-b).unit)
  1659. local edg3 = (b-c):Dot((a-c).unit)
  1660. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1661. a, b, c = a, b, c
  1662. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1663. a, b, c = b, c, a
  1664. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1665. a, b, c = c, a, b
  1666. else
  1667. assert(false, "unreachable")
  1668. end
  1669.  
  1670. local len1 = (c-a):Dot((b-a).unit)
  1671. local len2 = (b-a).magnitude - len1
  1672. local width = (a + (b-a).unit*len1 - c).magnitude
  1673.  
  1674. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1675.  
  1676. local list = {}
  1677.  
  1678. if len1 > 0.01 then
  1679. local w1 = Instance.new('WedgePart', m)
  1680. game:GetService("Debris"):AddItem(w1,5)
  1681. w1.Material = "SmoothPlastic"
  1682. w1.FormFactor = 'Custom'
  1683. w1.BrickColor = BrickColor.new("Really red")
  1684. w1.Transparency = 0
  1685. w1.Reflectance = 0
  1686. w1.Material = "SmoothPlastic"
  1687. w1.CanCollide = false
  1688. local l1 = Instance.new("PointLight",w1)
  1689. l1.Color = Color3.new(170,0,0)
  1690. NoOutline(w1)
  1691. local sz = Vector3.new(0.2, width, len1)
  1692. w1.Size = sz
  1693. local sp = Instance.new("SpecialMesh",w1)
  1694. sp.MeshType = "Wedge"
  1695. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1696. w1:BreakJoints()
  1697. w1.Anchored = true
  1698. w1.Parent = workspace
  1699. w1.Transparency = 0.7
  1700. table.insert(Effects,{w1,"Disappear",.01})
  1701. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1702. table.insert(list,w1)
  1703. end
  1704.  
  1705. if len2 > 0.01 then
  1706. local w2 = Instance.new('WedgePart', m)
  1707. game:GetService("Debris"):AddItem(w2,5)
  1708. w2.Material = "SmoothPlastic"
  1709. w2.FormFactor = 'Custom'
  1710. w2.BrickColor = BrickColor.new("Really red")
  1711. w2.Transparency = 0
  1712. w2.Reflectance = 0
  1713. w2.Material = "SmoothPlastic"
  1714. w2.CanCollide = false
  1715. local l2 = Instance.new("PointLight",w2)
  1716. l2.Color = Color3.new(170,0,0)
  1717. NoOutline(w2)
  1718. local sz = Vector3.new(0.2, width, len2)
  1719. w2.Size = sz
  1720. local sp = Instance.new("SpecialMesh",w2)
  1721. sp.MeshType = "Wedge"
  1722. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1723. w2:BreakJoints()
  1724. w2.Anchored = true
  1725. w2.Parent = workspace
  1726. w2.Transparency = 0.7
  1727. table.insert(Effects,{w2,"Disappear",.01})
  1728. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1729. table.insert(list,w2)
  1730. end
  1731. return unpack(list)
  1732. end
  1733.  
  1734.  
  1735. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1736. if hit.Parent == nil then
  1737. return
  1738. end
  1739. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1740. for _, v in pairs(hit.Parent:children()) do
  1741. if v:IsA("Humanoid") then
  1742. h = v
  1743. end
  1744. end
  1745. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1746. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1747. return
  1748. end
  1749. local c = Create("ObjectValue")({
  1750. Name = "creator",
  1751. Value = game:GetService("Players").wwwargos,
  1752. Parent = h
  1753. })
  1754. game:GetService("Debris"):AddItem(c, 0.5)
  1755. if HitSound ~= nil and HitPitch ~= nil then
  1756. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1757. end
  1758. local Damage = math.random(minim, maxim)
  1759. local blocked = false
  1760. local block = hit.Parent:findFirstChild("Block")
  1761. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1762. blocked = true
  1763. block.Value = block.Value - 1
  1764. print(block.Value)
  1765. end
  1766. if blocked == false then
  1767. HitHealth = h.Health
  1768. h.MaxHealth = 100
  1769. h.Health = h.Health - Damage
  1770. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1771. print("gained kill")
  1772. dmg(h.Parent)
  1773. end
  1774. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1775. else
  1776. h.Health = h.Health - Damage / 2
  1777. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1778. end
  1779. if Type == "Knockdown" then
  1780. local hum = hit.Parent.Humanoid
  1781. hum.PlatformStand = true
  1782. coroutine.resume(coroutine.create(function(HHumanoid)
  1783. swait(1)
  1784. HHumanoid.PlatformStand = false
  1785. end), hum)
  1786. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1787. local bodvol = Create("BodyVelocity")({
  1788. velocity = angle * knockback,
  1789. P = 5000,
  1790. maxForce = Vector3.new(8000, 8000, 8000),
  1791. Parent = hit
  1792. })
  1793. local rl = Create("BodyAngularVelocity")({
  1794. P = 3000,
  1795. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1796. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1797. Parent = hit
  1798. })
  1799. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1800. game:GetService("Debris"):AddItem(rl, 0.5)
  1801. elseif Type == "Normal" then
  1802. local vp = Create("BodyVelocity")({
  1803. P = 500,
  1804. maxForce = Vector3.new(math.huge, 0, math.huge),
  1805. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1806. })
  1807. if knockback > 0 then
  1808. vp.Parent = hit.Parent.Head
  1809. end
  1810. game:GetService("Debris"):AddItem(vp, 0.5)
  1811. elseif Type == "Up" then
  1812. local bodyVelocity = Create("BodyVelocity")({
  1813. velocity = Vector3.new(0, 20, 0),
  1814. P = 5000,
  1815. maxForce = Vector3.new(8000, 8000, 8000),
  1816. Parent = hit
  1817. })
  1818. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1819. local bodyVelocity = Create("BodyVelocity")({
  1820. velocity = Vector3.new(0, 20, 0),
  1821. P = 5000,
  1822. maxForce = Vector3.new(8000, 8000, 8000),
  1823. Parent = hit
  1824. })
  1825. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1826. elseif Type == "Leech" then
  1827. local hum = hit.Parent.Humanoid
  1828. if hum ~= nil then
  1829. for i = 0, 2 do
  1830. 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)
  1831. end
  1832. Humanoid.Health = Humanoid.Health + 10
  1833. end
  1834. elseif Type == "UpKnock" then
  1835. local hum = hit.Parent.Humanoid
  1836. hum.PlatformStand = true
  1837. if hum ~= nil then
  1838. hitr = true
  1839. end
  1840. coroutine.resume(coroutine.create(function(HHumanoid)
  1841. swait(5)
  1842. HHumanoid.PlatformStand = false
  1843. hitr = false
  1844. end), hum)
  1845. local bodyVelocity = Create("BodyVelocity")({
  1846. velocity = Vector3.new(0, 20, 0),
  1847. P = 5000,
  1848. maxForce = Vector3.new(8000, 8000, 8000),
  1849. Parent = hit
  1850. })
  1851. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1852. local bodyVelocity = Create("BodyVelocity")({
  1853. velocity = Vector3.new(0, 20, 0),
  1854. P = 5000,
  1855. maxForce = Vector3.new(8000, 8000, 8000),
  1856. Parent = hit
  1857. })
  1858. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1859. elseif Type == "Snare" then
  1860. local bp = Create("BodyPosition")({
  1861. P = 2000,
  1862. D = 100,
  1863. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1864. position = hit.Parent.Torso.Position,
  1865. Parent = hit.Parent.Torso
  1866. })
  1867. game:GetService("Debris"):AddItem(bp, 1)
  1868. elseif Type == "Slashnare" then
  1869. 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)
  1870. for i = 1, math.random(4, 5) do
  1871. 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)
  1872. end
  1873. local bp = Create("BodyPosition")({
  1874. P = 2000,
  1875. D = 100,
  1876. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1877. position = hit.Parent.Torso.Position,
  1878. Parent = hit.Parent.Torso
  1879. })
  1880. game:GetService("Debris"):AddItem(bp, 1)
  1881. elseif Type == "Spike" then
  1882. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1883. local bp = Create("BodyPosition")({
  1884. P = 2000,
  1885. D = 100,
  1886. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1887. position = hit.Parent.Torso.Position,
  1888. Parent = hit.Parent.Torso
  1889. })
  1890. game:GetService("Debris"):AddItem(bp, 1)
  1891. elseif Type == "Freeze" then
  1892. local BodPos = Create("BodyPosition")({
  1893. P = 50000,
  1894. D = 1000,
  1895. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1896. position = hit.Parent.Torso.Position,
  1897. Parent = hit.Parent.Torso
  1898. })
  1899. local BodGy = Create("BodyGyro")({
  1900. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1901. P = 20000,
  1902. Parent = hit.Parent.Torso,
  1903. cframe = hit.Parent.Torso.CFrame
  1904. })
  1905. hit.Parent.Torso.Anchored = true
  1906. coroutine.resume(coroutine.create(function(Part)
  1907. swait(1.5)
  1908. Part.Anchored = false
  1909. end), hit.Parent.Torso)
  1910. game:GetService("Debris"):AddItem(BodPos, 3)
  1911. game:GetService("Debris"):AddItem(BodGy, 3)
  1912. end
  1913. local debounce = Create("BoolValue")({
  1914. Name = "DebounceHit",
  1915. Parent = hit.Parent,
  1916. Value = true
  1917. })
  1918. game:GetService("Debris"):AddItem(debounce, Delay)
  1919. c = Instance.new("ObjectValue")
  1920. c.Name = "creator"
  1921. c.Value = Player
  1922. c.Parent = h
  1923. game:GetService("Debris"):AddItem(c, 0.5)
  1924. end
  1925. end
  1926. function ShowDamage(Pos, Text, Time, Color)
  1927. local Rate = 0.03333333333333333
  1928. local Pos = Pos or Vector3.new(0, 0, 0)
  1929. local Text = Text or ""
  1930. local Time = Time or 2
  1931. local Color = Color or Color3.new(1, 0, 1)
  1932. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1933. EffectPart.Anchored = true
  1934. local BillboardGui = Create("BillboardGui")({
  1935. Size = UDim2.new(3, 0, 3, 0),
  1936. Adornee = EffectPart,
  1937. Parent = EffectPart
  1938. })
  1939. local TextLabel = Create("TextLabel")({
  1940. BackgroundTransparency = 1,
  1941. Size = UDim2.new(1, 0, 1, 0),
  1942. Text = Text,
  1943. TextColor3 = Color,
  1944. TextScaled = true,
  1945. Font = Enum.Font.ArialBold,
  1946. Parent = BillboardGui
  1947. })
  1948. game.Debris:AddItem(EffectPart, Time + 0.1)
  1949. EffectPart.Parent = game:GetService("Workspace")
  1950. delay(0, function()
  1951. local Frames = Time / Rate
  1952. for Frame = 1, Frames do
  1953. wait(Rate)
  1954. local Percent = Frame / Frames
  1955. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1956. TextLabel.TextTransparency = Percent
  1957. end
  1958. if EffectPart and EffectPart.Parent then
  1959. EffectPart:Destroy()
  1960. end
  1961. end)
  1962. end
  1963. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1964. for _, c in pairs(workspace:children()) do
  1965. local hum = c:findFirstChildOfClass("Humanoid")
  1966. if hum ~= nil then
  1967. local head = c:findFirstChild("Head")
  1968. if head ~= nil then
  1969. local targ = head.Position - Part.Position
  1970. local mag = targ.magnitude
  1971. if magni >= mag and c.Name ~= Player.Name then
  1972. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1973. end
  1974. end
  1975. end
  1976. end
  1977. end
  1978.  
  1979. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1980. for _, c in pairs(workspace:children()) do
  1981. local hum = c:findFirstChild("Humanoid")
  1982. if hum ~= nil then
  1983. local head = c:findFirstChild("Torso")
  1984. if head ~= nil then
  1985. local targ = head.Position - Part.Position
  1986. local mag = targ.magnitude
  1987. if magni >= mag and c.Name ~= Player.Name then
  1988. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1989. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1990. end
  1991. end
  1992. end
  1993. end
  1994. end
  1995.  
  1996. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1997. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1998. end
  1999.  
  2000. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2001. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2002. prt.Anchored=true
  2003. prt.CFrame=cframe
  2004. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2005. --http://www.roblox.com/asset/?id=4770560
  2006. game:GetService("Debris"):AddItem(prt,2)
  2007. CF=prt.CFrame
  2008. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2009. for i=0,1,0.2 do
  2010. wait()
  2011. Part.CFrame=CF*cf(0,0,-0.4)
  2012. end
  2013. for i=0,1,delay do
  2014. wait()
  2015. --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)
  2016. Mesh.Scale=Mesh.Scale
  2017. end
  2018. for i=0,1,0.1 do
  2019. wait()
  2020. Part.Transparency=i
  2021. end
  2022. Part.Parent=nil
  2023. end),prt,msh,CF)
  2024. end
  2025.  
  2026. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2027. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2028. prt.Anchored=true
  2029. prt.Material = "Neon"
  2030. prt.CFrame=cframe
  2031. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2032. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2033. game:GetService("Debris"):AddItem(prt,5)
  2034. coroutine.resume(coroutine.create(function(Part,Mesh)
  2035. for i=0,1,delay do
  2036. swait()
  2037. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2038. Part.Transparency=i
  2039. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2040. end
  2041. Part.Parent=nil
  2042. end),prt,msh)
  2043. end
  2044.  
  2045. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2046. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2047. prt.Anchored=true
  2048. prt.Material = "Neon"
  2049. prt.CFrame=cframe
  2050. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2051. game:GetService("Debris"):AddItem(prt,5)
  2052. coroutine.resume(coroutine.create(function(Part,Mesh)
  2053. local rtype = rottype
  2054. for i=0,1,delay do
  2055. swait()
  2056. if rtype == 1 then
  2057. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2058. elseif rtype == 2 then
  2059. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2060. end
  2061. Part.Transparency=i
  2062. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2063. end
  2064. Part.Parent=nil
  2065. end),prt,msh)
  2066. end
  2067.  
  2068. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2069. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2070. prt.Anchored=true
  2071. prt.CFrame=cframe
  2072. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2073. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2074. game:GetService("Debris"):AddItem(prt,5)
  2075. coroutine.resume(coroutine.create(function(Part,Mesh)
  2076. for i=0,1,delay do
  2077. wait()
  2078. Part.Transparency=i
  2079. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2080. end
  2081. Part.Parent=nil
  2082. end),prt,msh)
  2083. end
  2084.  
  2085. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2086. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2087. prt.Anchored=true
  2088. prt.Material = "Neon"
  2089. prt.CFrame=cframe
  2090. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2091. game:GetService("Debris"):AddItem(prt,5)
  2092. coroutine.resume(coroutine.create(function(Part,Mesh)
  2093. local rtype = rottype
  2094. for i=0,1,delay do
  2095. swait()
  2096. if rtype == 1 then
  2097. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2098. elseif rtype == 2 then
  2099. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2100. end
  2101. Part.Transparency=i
  2102. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2103. end
  2104. Part.Parent=nil
  2105. end),prt,msh)
  2106. end
  2107.  
  2108. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2109. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2110. prt.Anchored=true
  2111. prt.Material = "Neon"
  2112. prt.CFrame=cframe
  2113. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2114. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2115. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2116. game:GetService("Debris"):AddItem(prt,5)
  2117. coroutine.resume(coroutine.create(function(Part,Mesh)
  2118. local rtype = rottype
  2119. for i=0,1,delay do
  2120. swait()
  2121. if rtype == 1 then
  2122. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2123. elseif rtype == 2 then
  2124. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2125. end
  2126. dec.Transparency=i
  2127. dec2.Transparency=i
  2128. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2129. end
  2130. Part.Parent=nil
  2131. end),prt,msh)
  2132. end
  2133.  
  2134. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2135. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2136. prt.Anchored=true
  2137. prt.Material = "Neon"
  2138. prt.CFrame=cframe
  2139. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2140. game:GetService("Debris"):AddItem(prt,5)
  2141. coroutine.resume(coroutine.create(function(Part,Mesh)
  2142. local rtype = rottype
  2143. for i=0,1,delay do
  2144. swait()
  2145. if rtype == 1 then
  2146. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2147. elseif rtype == 2 then
  2148. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2149. end
  2150. prt.Transparency=i
  2151. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2152. end
  2153. Part.Parent=nil
  2154. end),prt,msh)
  2155. end
  2156.  
  2157. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2158. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2159. prt.Anchored=true
  2160. prt.Material = "Neon"
  2161. prt.CFrame=cframe
  2162. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2163. game:GetService("Debris"):AddItem(prt,5)
  2164. coroutine.resume(coroutine.create(function(Part,Mesh)
  2165. local rtype = rottype
  2166. for i=0,1,delay do
  2167. swait()
  2168. if rtype == 1 then
  2169. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2170. elseif rtype == 2 then
  2171. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2172. end
  2173. prt.Transparency=i
  2174. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2175. end
  2176. Part.Parent=nil
  2177. end),prt,msh)
  2178. end
  2179.  
  2180. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2181. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2182. prt.Anchored=true
  2183. prt.Material = "Neon"
  2184. prt.CFrame=cframe
  2185. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2186. game:GetService("Debris"):AddItem(prt,5)
  2187. coroutine.resume(coroutine.create(function(Part,Mesh)
  2188. local rtype = rottype
  2189. for i=0,1,delay do
  2190. swait()
  2191. if rtype == 1 then
  2192. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2193. elseif rtype == 2 then
  2194. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2195. end
  2196. prt.Transparency=i
  2197. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2198. end
  2199. Part.Parent=nil
  2200. end),prt,msh)
  2201. end
  2202.  
  2203. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2204. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2205. prt.Anchored=true
  2206. prt.Material = "Neon"
  2207. prt.CFrame=cframe
  2208. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2209. game:GetService("Debris"):AddItem(prt,5)
  2210. coroutine.resume(coroutine.create(function(Part,Mesh)
  2211. local rtype = rottype
  2212. for i=0,1,delay do
  2213. swait()
  2214. if rtype == 1 then
  2215. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2216. elseif rtype == 2 then
  2217. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2218. end
  2219. prt.Transparency=i
  2220. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2221. end
  2222. Part.Parent=nil
  2223. end),prt,msh)
  2224. end
  2225.  
  2226. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2227. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2228. prt.Anchored=false
  2229. prt.CFrame=cframe
  2230. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2231. local wld=weld(prt,prt,Parent,cframe)
  2232. game:GetService("Debris"):AddItem(prt,5)
  2233. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2234. for i=0,1,delay do
  2235. wait()
  2236. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2237. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2238. Part.Transparency=i
  2239. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2240. end
  2241. Part.Parent=nil
  2242. end),prt,msh,wld)
  2243. end
  2244.  
  2245. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2246. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2247. prt.Anchored=false
  2248. prt.CFrame=cframe
  2249. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2250. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2251. game:GetService("Debris"):AddItem(prt,5)
  2252. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2253. for i=0,1,delay do
  2254. wait()
  2255. Weld.C0=euler(i*20,0,0)
  2256. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2257. Part.Transparency=i
  2258. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2259. end
  2260. Part.Parent=nil
  2261. end),prt,msh,wld)
  2262. end
  2263.  
  2264. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2265. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2266. prt.Anchored=true
  2267. prt.CFrame=cframe
  2268. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2269. game:GetService("Debris"):AddItem(prt,2)
  2270. coroutine.resume(coroutine.create(function(Part,Mesh)
  2271. for i=0,1,delay do
  2272. wait()
  2273. Part.CFrame=Part.CFrame
  2274. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2275. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2276. prt2.Anchored=true
  2277. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2278. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2279. game:GetService("Debris"):AddItem(prt2,2)
  2280. coroutine.resume(coroutine.create(function(Part,Mesh)
  2281. for i=0,1,0.1 do
  2282. wait()
  2283. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2284. end
  2285. Part.Parent=nil
  2286. end),prt2,msh2)
  2287. end
  2288. for i=0,1,delay*2 do
  2289. wait()
  2290. Part.CFrame=Part.CFrame
  2291. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2292. end
  2293. Part.Parent=nil
  2294. end),prt,msh)
  2295. end
  2296.  
  2297. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2298. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2299. prt.Anchored=true
  2300. prt.CFrame=cframe
  2301. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2302. game:GetService("Debris"):AddItem(prt,2)
  2303. coroutine.resume(coroutine.create(function(Part,Mesh)
  2304. for i=0,1,delay do
  2305. wait()
  2306. Part.CFrame=Part.CFrame
  2307. Part.Transparency=i
  2308. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2309. end
  2310. Part.Parent=nil
  2311. end),prt,msh)
  2312. end
  2313.  
  2314. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2315. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2316. prt.Anchored=true
  2317. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2318. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2319. game:GetService("Debris"):AddItem(prt,2)
  2320. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2321. CF=Part.CFrame
  2322. Numbb=0
  2323. randnumb=math.random()/10
  2324. rand1=math.random()/10
  2325. for i=0,1,rand1 do
  2326. wait()
  2327. CF=CF*cf(0,math.random()/2,0)
  2328. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2329. Part.CFrame=CF*euler(Numbb,0,0)
  2330. Part.Transparency=i
  2331. Numbb=Numbb+randnumb
  2332. end
  2333. Part.Parent=nil
  2334. end),prt,CF,Numbb,randnumb)
  2335. end
  2336.  
  2337. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2338. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2339. prt.Anchored=true
  2340. prt.CFrame=cframe
  2341. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2342. game:GetService("Debris"):AddItem(prt,5)
  2343. coroutine.resume(coroutine.create(function(Part,Mesh)
  2344. for i=0,1,delay do
  2345. wait()
  2346. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2347. Part.Transparency=i
  2348. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2349. end
  2350. Part.Parent=nil
  2351. end),prt,msh)
  2352. end
  2353.  
  2354. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2355. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2356. prt.Anchored=true
  2357. prt.CFrame=cframe
  2358. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2359. game:GetService("Debris"):AddItem(prt,2)
  2360. coroutine.resume(coroutine.create(function(Part,Mesh)
  2361. for i=0,1,delay do
  2362. wait()
  2363. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2364. Part.Transparency=i
  2365. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2366. end
  2367. Part.Parent=nil
  2368. end),prt,msh)
  2369. end
  2370.  
  2371. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2372. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2373. prt.Anchored=true
  2374. prt.CFrame=cframe*cf(x,y,z)
  2375. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2376. game:GetService("Debris"):AddItem(prt,5)
  2377. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2378. local num=math.random()
  2379. local num2=math.random(-3,2)+math.random()
  2380. local numm=0
  2381. for i=0,1,delay*2 do
  2382. swait()
  2383. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2384. Part.Transparency=i
  2385. numm=numm+0.01
  2386. end
  2387. Part.Parent=nil
  2388. Mesh.Parent=nil
  2389. end),prt,msh,x,y,z)
  2390. end
  2391.  
  2392. function dmgstart(dmg,what)
  2393. hitcon = what.Touched:connect(function(hit)
  2394. local hum = hit.Parent:FindFirstChild("Humanoid")
  2395. if hum and not hum:IsDescendantOf(Character) then
  2396. hum:TakeDamage(dmg)
  2397. end
  2398. end)
  2399. end
  2400.  
  2401. function dmgstop()
  2402. hitcon:disconnect()
  2403. end
  2404.  
  2405. function Cloak()
  2406. Face.Parent=nil
  2407. cloaked=true
  2408. for _,v in pairs(Torso.Parent:children()) do
  2409. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2410. coroutine.resume(coroutine.create(function()
  2411. for i=0,1,0.2 do
  2412. wait()
  2413. v.Transparency=i
  2414. end
  2415. v.Transparency=1
  2416. end))
  2417. end
  2418. if v.className=="Hat" then
  2419. hatp=v.Handle
  2420. coroutine.resume(coroutine.create(function(derp)
  2421. for i=0,1,0.2 do
  2422. wait()
  2423. derp.Transparency=i
  2424. end
  2425. derp.Transparency=1
  2426. end),hatp)
  2427. end
  2428. end
  2429. for _,v in pairs(m:children()) do
  2430. if v.className=="Part" then
  2431. coroutine.resume(coroutine.create(function()
  2432. for i=0,1,0.2 do
  2433. wait()
  2434. v.Transparency=i
  2435. end
  2436. v.Transparency=1
  2437. end))
  2438. end
  2439. end
  2440. end
  2441.  
  2442. function UnCloak()
  2443. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2444. Face.Parent=Head
  2445. cloaked=false
  2446. for _,v in pairs(Torso.Parent:children()) do
  2447. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2448. coroutine.resume(coroutine.create(function()
  2449. for i=0,1,0.1 do
  2450. wait()
  2451. v.Transparency=v.Transparency-0.1
  2452. end
  2453. v.Transparency=0
  2454. end))
  2455. end
  2456. if v.className=="Hat" then
  2457. hatp=v.Handle
  2458. coroutine.resume(coroutine.create(function(derp)
  2459. for i=0,1,0.1 do
  2460. wait()
  2461. derp.Transparency=derp.Transparency-0.1
  2462. end
  2463. derp.Transparency=0
  2464. end),hatp)
  2465. end
  2466. end
  2467. for _,v in pairs(m:children()) do
  2468. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2469. coroutine.resume(coroutine.create(function()
  2470. for i=0,1,0.1 do
  2471. wait()
  2472. v.Transparency=v.Transparency-0.1
  2473. end
  2474. v.Transparency=0
  2475. end))
  2476. v.Transparency=0
  2477. end
  2478. end
  2479. end
  2480.  
  2481. local origcolor = BrickColor.new("Pastel light blue")
  2482. ---- This section of explosions.
  2483.  
  2484. ----
  2485.  
  2486.  
  2487. function ring(type,pos,scale,value)
  2488. local type = type
  2489. local rng = Instance.new("Part", char)
  2490. rng.Anchored = true
  2491. rng.BrickColor = origcolor
  2492. rng.CanCollide = false
  2493. rng.FormFactor = 3
  2494. rng.Name = "Ring"
  2495. rng.Size = Vector3.new(1, 1, 1)
  2496. rng.Transparency = 0
  2497. rng.TopSurface = 0
  2498. rng.BottomSurface = 0
  2499. rng.CFrame = pos
  2500. local rngm = Instance.new("SpecialMesh", rng)
  2501. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2502. rngm.Scale = scale
  2503. local scaler2 = 1
  2504. if type == "Add" then
  2505. scaler2 = 1*value
  2506. elseif type == "Divide" then
  2507. scaler2 = 1/value
  2508. end
  2509. coroutine.resume(coroutine.create(function()
  2510. for i = 0,10,0.1 do
  2511. swait()
  2512. if type == "Add" then
  2513. scaler2 = scaler2 - 0.01*value
  2514. elseif type == "Divide" then
  2515. scaler2 = scaler2 - 0.01/value
  2516. end
  2517. rng.Transparency = rng.Transparency + 0.01
  2518. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2519. end
  2520. rng:Destroy()
  2521. end))
  2522. end
  2523.  
  2524.  
  2525. function wave(type,pos,scale,value)
  2526. local type = type
  2527. local rng = Instance.new("Part", char)
  2528. rng.Anchored = true
  2529. rng.BrickColor = origcolor
  2530. rng.CanCollide = false
  2531. rng.FormFactor = 3
  2532. rng.Name = "Ring"
  2533. rng.Size = Vector3.new(1, 1, 1)
  2534. rng.Transparency = 0
  2535. rng.TopSurface = 0
  2536. rng.BottomSurface = 0
  2537. rng.CFrame = pos
  2538. local rngm = Instance.new("SpecialMesh", rng)
  2539. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2540. rngm.Scale = scale
  2541. local scaler2 = 1
  2542. if type == "Add" then
  2543. scaler2 = 1*value
  2544. elseif type == "Divide" then
  2545. scaler2 = 1/value
  2546. end
  2547. coroutine.resume(coroutine.create(function()
  2548. for i = 0,10,0.1 do
  2549. swait()
  2550. if type == "Add" then
  2551. scaler2 = scaler2 - 0.01*value
  2552. elseif type == "Divide" then
  2553. scaler2 = scaler2 - 0.01/value
  2554. end
  2555. rng.Transparency = rng.Transparency + 0.01
  2556. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2557. end
  2558. rng:Destroy()
  2559. end))
  2560. end
  2561.  
  2562. function wind(type,pos,scale,value,speed)
  2563. local type = type
  2564. local rng = Instance.new("Part", char)
  2565. rng.Anchored = true
  2566. rng.BrickColor = origcolor
  2567. rng.CanCollide = false
  2568. rng.FormFactor = 3
  2569. rng.Name = "Ring"
  2570. rng.Size = Vector3.new(1, 1, 1)
  2571. rng.Transparency = 0
  2572. rng.TopSurface = 0
  2573. rng.BottomSurface = 0
  2574. rng.CFrame = pos
  2575. local rngm = Instance.new("SpecialMesh", rng)
  2576. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2577. rngm.Scale = scale
  2578. local scaler2 = 1
  2579. if type == "Add" then
  2580. scaler2 = 1*value
  2581. elseif type == "Divide" then
  2582. scaler2 = 1/value
  2583. end
  2584. coroutine.resume(coroutine.create(function()
  2585. for i = 0,10,0.1 do
  2586. swait()
  2587. if type == "Add" then
  2588. scaler2 = scaler2 - 0.01*value
  2589. elseif type == "Divide" then
  2590. scaler2 = scaler2 - 0.01/value
  2591. end
  2592. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2593. rng.Transparency = rng.Transparency + 0.01
  2594. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2595. end
  2596. rng:Destroy()
  2597. end))
  2598. end
  2599.  
  2600. function groundwind(type,pos,scale,value,speed)
  2601. local type = type
  2602. local rng = Instance.new("Part", char)
  2603. rng.Anchored = true
  2604. rng.BrickColor = origcolor
  2605. rng.CanCollide = false
  2606. rng.FormFactor = 3
  2607. rng.Name = "Ring"
  2608. rng.Size = Vector3.new(1, 1, 1)
  2609. rng.Transparency = 0
  2610. rng.TopSurface = 0
  2611. rng.BottomSurface = 0
  2612. rng.CFrame = pos
  2613. local rngm = Instance.new("SpecialMesh", rng)
  2614. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2615. rngm.Scale = scale
  2616. local scaler2 = 1
  2617. if type == "Add" then
  2618. scaler2 = 1*value
  2619. elseif type == "Divide" then
  2620. scaler2 = 1/value
  2621. end
  2622. coroutine.resume(coroutine.create(function()
  2623. for i = 0,10,0.1 do
  2624. swait()
  2625. if type == "Add" then
  2626. scaler2 = scaler2 - 0.01*value
  2627. elseif type == "Divide" then
  2628. scaler2 = scaler2 - 0.01/value
  2629. end
  2630. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2631. rng.Transparency = rng.Transparency + 0.01
  2632. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2633. end
  2634. rng:Destroy()
  2635. end))
  2636. end
  2637.  
  2638. function CameraManager()
  2639. if TwoD and not CamInterrupt then
  2640. if Humanoid.Health > 0 then
  2641. Camera.CameraSubject = Humanoid
  2642. Camera.CameraType = "Scriptable"
  2643. Humanoid.AutoRotate = false
  2644. if Booleans.GyroUse then
  2645. Directer.MaxTorque = Vec3(0, huge, 0)
  2646. else
  2647. Directer.MaxTorque = Vec3(0, 0, 0)
  2648. end
  2649. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2650. if Booleans.CamFollow then
  2651. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2652. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2653. else
  2654. CPart.Position = RootPart.Position
  2655. end
  2656. else
  2657. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2658. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2659. end
  2660. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2661. else
  2662. Camera.CameraSubject = Humanoid
  2663. Camera.CameraType = "Custom"
  2664. Controller.Disabled = false
  2665. end
  2666. end
  2667. end
  2668.  
  2669. function ring(type,pos,scale,value)
  2670. local type = type
  2671. local rng = Instance.new("Part", char)
  2672. rng.Anchored = true
  2673. rng.BrickColor = origcolor
  2674. rng.CanCollide = false
  2675. rng.FormFactor = 3
  2676. rng.Name = "Ring"
  2677. rng.Size = Vector3.new(1, 1, 1)
  2678. rng.Transparency = 0
  2679. rng.TopSurface = 0
  2680. rng.BottomSurface = 0
  2681. rng.CFrame = pos
  2682. local rngm = Instance.new("SpecialMesh", rng)
  2683. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2684. rngm.Scale = scale
  2685. local scaler2 = 1
  2686. if type == "Add" then
  2687. scaler2 = 1*value
  2688. elseif type == "Divide" then
  2689. scaler2 = 1/value
  2690. end
  2691. coroutine.resume(coroutine.create(function()
  2692. for i = 0,10,0.1 do
  2693. swait()
  2694. if type == "Add" then
  2695. scaler2 = scaler2 - 0.01*value
  2696. elseif type == "Divide" then
  2697. scaler2 = scaler2 - 0.01/value
  2698. end
  2699. rng.Transparency = rng.Transparency + 0.01
  2700. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2701. end
  2702. rng:Destroy()
  2703. end))
  2704. end
  2705.  
  2706.  
  2707. function wave(type,pos,scale,value)
  2708. local type = type
  2709. local rng = Instance.new("Part", char)
  2710. rng.Anchored = true
  2711. rng.BrickColor = origcolor
  2712. rng.CanCollide = false
  2713. rng.FormFactor = 3
  2714. rng.Name = "Ring"
  2715. rng.Size = Vector3.new(1, 1, 1)
  2716. rng.Transparency = 0
  2717. rng.TopSurface = 0
  2718. rng.BottomSurface = 0
  2719. rng.CFrame = pos
  2720. local rngm = Instance.new("SpecialMesh", rng)
  2721. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2722. rngm.Scale = scale
  2723. local scaler2 = 1
  2724. if type == "Add" then
  2725. scaler2 = 1*value
  2726. elseif type == "Divide" then
  2727. scaler2 = 1/value
  2728. end
  2729. coroutine.resume(coroutine.create(function()
  2730. for i = 0,10,0.1 do
  2731. swait()
  2732. if type == "Add" then
  2733. scaler2 = scaler2 - 0.01*value
  2734. elseif type == "Divide" then
  2735. scaler2 = scaler2 - 0.01/value
  2736. end
  2737. rng.Transparency = rng.Transparency + 0.01
  2738. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2739. end
  2740. rng:Destroy()
  2741. end))
  2742. end
  2743.  
  2744. function sphere(bonuspeed,type,pos,scale,value,color)
  2745. local type = type
  2746. local rng = Instance.new("Part", char)
  2747. rng.Anchored = true
  2748. if ModeOfGlitch ~= 9 then
  2749. rng.BrickColor = color
  2750. elseif ModeOfGlitch == 9 then
  2751. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2752. end
  2753. rng.CanCollide = false
  2754. rng.FormFactor = 3
  2755. rng.Name = "Ring"
  2756. rng.Material = "Neon"
  2757. rng.Size = Vector3.new(1, 1, 1)
  2758. rng.Transparency = 0
  2759. rng.TopSurface = 0
  2760. rng.BottomSurface = 0
  2761. rng.CFrame = pos
  2762. local rngm = Instance.new("SpecialMesh", rng)
  2763. rngm.MeshType = "Sphere"
  2764. rngm.Scale = scale
  2765. if rainbowmode == true then
  2766. rng.Color = Color3.new(r/255,g/255,b/255)
  2767. end
  2768. if ModeOfGlitch == 9 then
  2769. coroutine.resume(coroutine.create(function()
  2770. while true do
  2771. swait()
  2772. if rng.Parent ~= nil then
  2773. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2774. else
  2775. break
  2776. end
  2777. end
  2778. end))
  2779. end
  2780. local scaler2 = 1
  2781. if type == "Add" then
  2782. scaler2 = 1*value
  2783. elseif type == "Divide" then
  2784. scaler2 = 1/value
  2785. end
  2786. coroutine.resume(coroutine.create(function()
  2787. for i = 0,10/bonuspeed,0.1 do
  2788. swait()
  2789. if rainbowmode == true then
  2790. rng.Color = Color3.new(r/255,g/255,b/255)
  2791. end
  2792. if type == "Add" then
  2793. scaler2 = scaler2 - 0.01*value/bonuspeed
  2794. elseif type == "Divide" then
  2795. scaler2 = scaler2 - 0.01/value*bonuspeed
  2796. end
  2797. if chaosmode == true then
  2798. rng.BrickColor = BrickColor.random()
  2799. end
  2800. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2801. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2802. end
  2803. rng:Destroy()
  2804. end))
  2805. end
  2806.  
  2807. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2808. local type = type
  2809. local rng = Instance.new("Part", char)
  2810. rng.Anchored = true
  2811. if ModeOfGlitch ~= 9 then
  2812. rng.BrickColor = color
  2813. elseif ModeOfGlitch == 9 then
  2814. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2815. end
  2816. rng.CanCollide = false
  2817. rng.FormFactor = 3
  2818. rng.Name = "Ring"
  2819. rng.Material = "Neon"
  2820. rng.Size = Vector3.new(1, 1, 1)
  2821. rng.Transparency = 0
  2822. rng.TopSurface = 0
  2823. rng.BottomSurface = 0
  2824. rng.CFrame = pos
  2825. local rngm = Instance.new("SpecialMesh", rng)
  2826. rngm.MeshType = "Sphere"
  2827. rngm.Scale = scale
  2828. local scaler2 = 1
  2829. local scaler2b = 1
  2830. local scaler2c = 1
  2831. if type == "Add" then
  2832. scaler2 = 1*value
  2833. scaler2b = 1*value2
  2834. scaler2c = 1*value3
  2835. elseif type == "Divide" then
  2836. scaler2 = 1/value
  2837. scaler2b = 1/value2
  2838. scaler2c = 1/value3
  2839. end
  2840. if ModeOfGlitch == 9 then
  2841. coroutine.resume(coroutine.create(function()
  2842. while true do
  2843. swait()
  2844. if rng.Parent ~= nil then
  2845. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2846. else
  2847. break
  2848. end
  2849. end
  2850. end))
  2851. end
  2852. coroutine.resume(coroutine.create(function()
  2853. for i = 0,10/bonuspeed,0.1 do
  2854. swait()
  2855. if type == "Add" then
  2856. scaler2 = scaler2 - 0.01*value/bonuspeed
  2857. scaler2b = scaler2b - 0.01*value/bonuspeed
  2858. scaler2c = scaler2c - 0.01*value/bonuspeed
  2859. elseif type == "Divide" then
  2860. scaler2 = scaler2 - 0.01/value*bonuspeed
  2861. scaler2b = scaler2b - 0.01/value*bonuspeed
  2862. scaler2c = scaler2c - 0.01/value*bonuspeed
  2863. end
  2864. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2865. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2866. end
  2867. rng:Destroy()
  2868. end))
  2869. end
  2870.  
  2871. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2872. local type = type
  2873. local rotenable = rotatingop
  2874. local rng = Instance.new("Part", char)
  2875. rng.Anchored = true
  2876. rng.BrickColor = color
  2877. rng.CanCollide = false
  2878. rng.FormFactor = 3
  2879. rng.Name = "Ring"
  2880. rng.Material = "Neon"
  2881. rng.Size = Vector3.new(1, 1, 1)
  2882. rng.Transparency = 0
  2883. if typeoftrans == "In" then
  2884. rng.Transparency = 1
  2885. end
  2886. rng.TopSurface = 0
  2887. rng.BottomSurface = 0
  2888. rng.CFrame = pos
  2889. local rngm = Instance.new("SpecialMesh", rng)
  2890. rngm.MeshType = "FileMesh"
  2891. if typeofshape == "Normal" then
  2892. rngm.MeshId = "rbxassetid://662586858"
  2893. elseif typeofshape == "Round" then
  2894. rngm.MeshId = "rbxassetid://662585058"
  2895. end
  2896. rngm.Scale = scale
  2897. local scaler2 = 1/10
  2898. if type == "Add" then
  2899. scaler2 = 1*value/10
  2900. elseif type == "Divide" then
  2901. scaler2 = 1/value/10
  2902. end
  2903. local randomrot = math.random(1,2)
  2904. coroutine.resume(coroutine.create(function()
  2905. for i = 0,10/bonuspeed,0.1 do
  2906. swait()
  2907. if type == "Add" then
  2908. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  2909. elseif type == "Divide" then
  2910. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  2911. end
  2912. if rotenable == true then
  2913. if randomrot == 1 then
  2914. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  2915. elseif randomrot == 2 then
  2916. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  2917. end
  2918. end
  2919. if typeoftrans == "Out" then
  2920. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2921. elseif typeoftrans == "In" then
  2922. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2923. end
  2924. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  2925. end
  2926. rng:Destroy()
  2927. end))
  2928. end
  2929.  
  2930. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2931. local type = type
  2932. local rng = Instance.new("Part", char)
  2933. rng.Anchored = true
  2934. rng.BrickColor = color
  2935. rng.CanCollide = false
  2936. rng.FormFactor = 3
  2937. rng.Name = "Ring"
  2938. rng.Material = "Neon"
  2939. rng.Size = Vector3.new(1, 1, 1)
  2940. rng.Transparency = 0
  2941. rng.TopSurface = 0
  2942. rng.BottomSurface = 0
  2943. rng.CFrame = pos
  2944. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2945. local rngm = Instance.new("SpecialMesh", rng)
  2946. rngm.MeshType = "Brick"
  2947. rngm.Scale = vt(x1,y1,z1)
  2948. if rainbowmode == true then
  2949. rng.Color = Color3.new(r/255,g/255,b/255)
  2950. end
  2951. local scaler2 = 1
  2952. local speeder = FastSpeed/10
  2953. if type == "Add" then
  2954. scaler2 = 1*value
  2955. elseif type == "Divide" then
  2956. scaler2 = 1/value
  2957. end
  2958. coroutine.resume(coroutine.create(function()
  2959. for i = 0,10/bonuspeed,0.1 do
  2960. swait()
  2961. if rainbowmode == true then
  2962. rng.Color = Color3.new(r/255,g/255,b/255)
  2963. end
  2964. if type == "Add" then
  2965. scaler2 = scaler2 - 0.01*value/bonuspeed
  2966. elseif type == "Divide" then
  2967. scaler2 = scaler2 - 0.01/value*bonuspeed
  2968. end
  2969. if chaosmode == true then
  2970. rng.BrickColor = BrickColor.random()
  2971. end
  2972. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2973. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2974. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2975. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2976. end
  2977. rng:Destroy()
  2978. end))
  2979. end
  2980.  
  2981. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2982. local type = type
  2983. local rng = Instance.new("Part", char)
  2984. rng.Anchored = true
  2985. rng.BrickColor = color
  2986. rng.CanCollide = false
  2987. rng.FormFactor = 3
  2988. rng.Name = "Ring"
  2989. rng.Material = "Neon"
  2990. rng.Size = Vector3.new(1, 1, 1)
  2991. rng.Transparency = 0
  2992. rng.TopSurface = 0
  2993. rng.BottomSurface = 0
  2994. rng.CFrame = pos
  2995. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2996. local rngm = Instance.new("SpecialMesh", rng)
  2997. rngm.MeshType = "Brick"
  2998. rngm.Scale = vt(x1,y1,z1)
  2999. if rainbowmode == true then
  3000. rng.Color = Color3.new(r/255,g/255,b/255)
  3001. end
  3002. local scaler2 = 1
  3003. local speeder = FastSpeed/10
  3004. if type == "Add" then
  3005. scaler2 = 1*value
  3006. elseif type == "Divide" then
  3007. scaler2 = 1/value
  3008. end
  3009. coroutine.resume(coroutine.create(function()
  3010. for i = 0,10/bonuspeed,0.1 do
  3011. swait()
  3012. if rainbowmode == true then
  3013. rng.Color = Color3.new(r/255,g/255,b/255)
  3014. end
  3015. if type == "Add" then
  3016. scaler2 = scaler2 - 0.01*value/bonuspeed
  3017. elseif type == "Divide" then
  3018. scaler2 = scaler2 - 0.01/value*bonuspeed
  3019. end
  3020. if chaosmode == true then
  3021. rng.BrickColor = BrickColor.random()
  3022. end
  3023. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3024. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3025. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3026. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3027. end
  3028. rng:Destroy()
  3029. end))
  3030. end
  3031.  
  3032. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3033. local type = type
  3034. local rng = Instance.new("Part", char)
  3035. rng.Anchored = true
  3036. rng.BrickColor = color
  3037. rng.CanCollide = false
  3038. rng.FormFactor = 3
  3039. rng.Name = "Ring"
  3040. rng.Material = "Neon"
  3041. rng.Size = Vector3.new(1, 1, 1)
  3042. rng.Transparency = 0
  3043. rng.TopSurface = 0
  3044. rng.BottomSurface = 0
  3045. rng.CFrame = pos
  3046. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3047. local rngm = Instance.new("SpecialMesh", rng)
  3048. rngm.MeshType = "Brick"
  3049. rngm.Scale = vt(x1,y1,z1)
  3050. if rainbowmode == true then
  3051. rng.Color = Color3.new(r/255,g/255,b/255)
  3052. end
  3053. local scaler2 = 0
  3054. local speeder = FastSpeed/10
  3055. if type == "Add" then
  3056. scaler2 = 1*value
  3057. elseif type == "Divide" then
  3058. scaler2 = 1/value
  3059. end
  3060. coroutine.resume(coroutine.create(function()
  3061. for i = 0,10/bonuspeed,0.1 do
  3062. swait()
  3063. if rainbowmode == true then
  3064. rng.Color = Color3.new(r/255,g/255,b/255)
  3065. end
  3066. if type == "Add" then
  3067. scaler2 = scaler2 - 0.01*value/bonuspeed
  3068. elseif type == "Divide" then
  3069. scaler2 = scaler2 - 0.01/value*bonuspeed
  3070. end
  3071. if chaosmode == true then
  3072. rng.BrickColor = BrickColor.random()
  3073. end
  3074. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3075. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3076. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3077. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3078. end
  3079. rng:Destroy()
  3080. end))
  3081. end
  3082.  
  3083. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3084. local type = type
  3085. local rng = Instance.new("Part", char)
  3086. rng.Anchored = true
  3087. rng.BrickColor = color
  3088. rng.Color = color3
  3089. rng.CanCollide = false
  3090. rng.FormFactor = 3
  3091. rng.Name = "Ring"
  3092. rng.Material = "Neon"
  3093. rng.Size = Vector3.new(1, 1, 1)
  3094. rng.Transparency = 0
  3095. rng.TopSurface = 0
  3096. rng.BottomSurface = 0
  3097. rng.CFrame = pos
  3098. local rngm = Instance.new("SpecialMesh", rng)
  3099. rngm.MeshType = "Brick"
  3100. rngm.Scale = scale
  3101. local scaler2 = 1
  3102. local scaler2b = 1
  3103. local scaler2c = 1
  3104. if type == "Add" then
  3105. scaler2 = 1*value
  3106. scaler2b = 1*value2
  3107. scaler2c = 1*value3
  3108. elseif type == "Divide" then
  3109. scaler2 = 1/value
  3110. scaler2b = 1/value2
  3111. scaler2c = 1/value3
  3112. end
  3113. coroutine.resume(coroutine.create(function()
  3114. for i = 0,10/bonuspeed,0.1 do
  3115. swait()
  3116. if type == "Add" then
  3117. scaler2 = scaler2 - 0.01*value/bonuspeed
  3118. scaler2b = scaler2b - 0.01*value/bonuspeed
  3119. scaler2c = scaler2c - 0.01*value/bonuspeed
  3120. elseif type == "Divide" then
  3121. scaler2 = scaler2 - 0.01/value*bonuspeed
  3122. scaler2b = scaler2b - 0.01/value*bonuspeed
  3123. scaler2c = scaler2c - 0.01/value*bonuspeed
  3124. end
  3125. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3126. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3127. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3128. end
  3129. rng:Destroy()
  3130. end))
  3131. end
  3132.  
  3133. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3134. local type = type
  3135. local rng = Instance.new("Part", char)
  3136. rng.Anchored = true
  3137. if ModeOfGlitch ~= 9 then
  3138. rng.BrickColor = color
  3139. elseif ModeOfGlitch == 9 then
  3140. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3141. end
  3142. rng.CanCollide = false
  3143. rng.FormFactor = 3
  3144. rng.Name = "Ring"
  3145. rng.Material = "Neon"
  3146. rng.Size = Vector3.new(1, 1, 1)
  3147. rng.Transparency = 0
  3148. rng.TopSurface = 0
  3149. rng.BottomSurface = 0
  3150. rng.CFrame = pos
  3151. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3152. local rngm = Instance.new("SpecialMesh", rng)
  3153. rngm.MeshType = "Sphere"
  3154. rngm.Scale = vt(x1,y1,z1)
  3155. if rainbowmode == true then
  3156. rng.Color = Color3.new(r/255,g/255,b/255)
  3157. end
  3158. if ModeOfGlitch == 9 then
  3159. coroutine.resume(coroutine.create(function()
  3160. while true do
  3161. swait()
  3162. if rng.Parent ~= nil then
  3163. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3164. else
  3165. break
  3166. end
  3167. end
  3168. end))
  3169. end
  3170. local scaler2 = 1
  3171. local speeder = FastSpeed
  3172. if type == "Add" then
  3173. scaler2 = 1*value
  3174. elseif type == "Divide" then
  3175. scaler2 = 1/value
  3176. end
  3177. coroutine.resume(coroutine.create(function()
  3178. for i = 0,10/bonuspeed,0.1 do
  3179. swait()
  3180. if rainbowmode == true then
  3181. rng.Color = Color3.new(r/255,g/255,b/255)
  3182. end
  3183. if type == "Add" then
  3184. scaler2 = scaler2 - 0.01*value/bonuspeed
  3185. elseif type == "Divide" then
  3186. scaler2 = scaler2 - 0.01/value*bonuspeed
  3187. end
  3188. if chaosmode == true then
  3189. rng.BrickColor = BrickColor.random()
  3190. end
  3191. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3192. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3193. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3194. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3195. end
  3196. rng:Destroy()
  3197. end))
  3198. end
  3199.  
  3200.  
  3201. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3202. local type = type
  3203. local rng = Instance.new("Part", char)
  3204. rng.Anchored = true
  3205. if ModeOfGlitch ~= 9 then
  3206. rng.BrickColor = color
  3207. elseif ModeOfGlitch == 9 then
  3208. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3209. end
  3210. rng.CanCollide = false
  3211. rng.FormFactor = 3
  3212. rng.Name = "Ring"
  3213. rng.Material = "Neon"
  3214. rng.Size = Vector3.new(1, 1, 1)
  3215. rng.Transparency = 1
  3216. rng.TopSurface = 0
  3217. rng.BottomSurface = 0
  3218. rng.CFrame = pos
  3219. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3220. local rngm = Instance.new("SpecialMesh", rng)
  3221. rngm.MeshType = "Sphere"
  3222. rngm.Scale = vt(x1,y1,z1)
  3223. if rainbowmode == true then
  3224. rng.Color = Color3.new(r/255,g/255,b/255)
  3225. end
  3226. if ModeOfGlitch == 9 then
  3227. coroutine.resume(coroutine.create(function()
  3228. while true do
  3229. swait()
  3230. if rng.Parent ~= nil then
  3231. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3232. else
  3233. break
  3234. end
  3235. end
  3236. end))
  3237. end
  3238. local scaler2 = 1
  3239. local speeder = FastSpeed
  3240. if type == "Add" then
  3241. scaler2 = 1*value
  3242. elseif type == "Divide" then
  3243. scaler2 = 1/value
  3244. end
  3245. coroutine.resume(coroutine.create(function()
  3246. for i = 0,10/bonuspeed,0.1 do
  3247. swait()
  3248. if rainbowmode == true then
  3249. rng.Color = Color3.new(r/255,g/255,b/255)
  3250. end
  3251. if type == "Add" then
  3252. scaler2 = scaler2 - 0.01*value/bonuspeed
  3253. elseif type == "Divide" then
  3254. scaler2 = scaler2 - 0.01/value*bonuspeed
  3255. end
  3256. if chaosmode == true then
  3257. rng.BrickColor = BrickColor.random()
  3258. end
  3259. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3260. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3261. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3262. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3263. end
  3264. rng:Destroy()
  3265. end))
  3266. end
  3267.  
  3268. function dmg(dude)
  3269. if dude.Name ~= Character then
  3270. local keptcolor = MAINRUINCOLOR
  3271. local bgf = Instance.new("BodyGyro",dude.Head)
  3272. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3273. --[[local val = Instance.new("BoolValue",dude)
  3274. val.Name = "IsHit"]]--
  3275. local ds = coroutine.wrap(function()
  3276. dude:WaitForChild("Head"):BreakJoints()
  3277. for i, v in pairs(dude:GetChildren()) do
  3278. if v:IsA("Part") or v:IsA("MeshPart") then
  3279. v.Name = "DEMINISHED"
  3280. end
  3281. end
  3282. wait(0.5)
  3283. targetted = nil
  3284. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3285. coroutine.resume(coroutine.create(function()
  3286. for i, v in pairs(dude:GetChildren()) do
  3287. if v:IsA("Accessory") then
  3288. v:Destroy()
  3289. end
  3290. if v:IsA("Humanoid") then
  3291. v:Destroy()
  3292. end
  3293. if v:IsA("CharacterMesh") then
  3294. v:Destroy()
  3295. end
  3296. if v:IsA("Model") then
  3297. v:Destroy()
  3298. end
  3299. if v:IsA("Part") or v:IsA("MeshPart") then
  3300. for x, o in pairs(v:GetChildren()) do
  3301. if o:IsA("Decal") then
  3302. o:Destroy()
  3303. end
  3304. end
  3305. coroutine.resume(coroutine.create(function()
  3306. v.Material = "Neon"
  3307. v.CanCollide = false
  3308. v.Anchored = false
  3309. local bld = Instance.new("ParticleEmitter",v)
  3310. bld.LightEmission = 0.75
  3311. bld.Texture = "rbxassetid://363275192" ---284205403
  3312. bld.Color = ColorSequence.new(keptcolor.Color)
  3313. bld.Rate = 500
  3314. bld.Lifetime = NumberRange.new(1)
  3315. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3316. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3317. bld.Speed = NumberRange.new(2,5)
  3318. bld.VelocitySpread = 50000
  3319. bld.Rotation = NumberRange.new(-500,500)
  3320. bld.RotSpeed = NumberRange.new(-500,500)
  3321. local sbs = Instance.new("BodyPosition", v)
  3322. sbs.P = 3000
  3323. sbs.D = 1000
  3324. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3325. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3326. v.Color = keptcolor.Color
  3327. coroutine.resume(coroutine.create(function()
  3328. for i = 0, 49 do
  3329. swait(1)
  3330. v:BreakJoints()
  3331. v.Transparency = v.Transparency + 0.02
  3332. end
  3333. v:BreakJoints()
  3334. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3335. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3336. bld.Speed = NumberRange.new(10,25)
  3337. bld.Drag = 5
  3338. bld.Acceleration = vt(0,2,0)
  3339. wait(0.5)
  3340. bld.Enabled = false
  3341. wait(8)
  3342. v:Destroy()
  3343. dude:Destroy()
  3344. end))
  3345. end))
  3346. end
  3347. end
  3348. end))
  3349. end)
  3350. ds()
  3351. end
  3352. end
  3353.  
  3354.  
  3355. function FindNearestHead(Position, Distance, SinglePlayer)
  3356. if SinglePlayer then
  3357. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3358. end
  3359. local List = {}
  3360. for i, v in pairs(workspace:GetChildren()) do
  3361. if v:IsA("Model") then
  3362. if v:findFirstChild("Head") then
  3363. if v ~= Character then
  3364. if (v.Head.Position - Position).magnitude <= Distance then
  3365. table.insert(List, v)
  3366. end
  3367. end
  3368. end
  3369. end
  3370. end
  3371. return List
  3372. end
  3373.  
  3374. function FaceMouse()
  3375. Cam = workspace.CurrentCamera
  3376. return {
  3377. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3378. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3379. }
  3380. end
  3381.  
  3382. function FaceMouse2()
  3383. Cam = workspace.CurrentCamera
  3384. return {
  3385. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3386. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3387. }
  3388. end
  3389.  
  3390. local ModeOfGlitch = 1
  3391. -- Functions are ready.
  3392. local storehumanoidWS = 16
  3393.  
  3394. function CorruptBlink()
  3395. for i = 0, 14 do
  3396. 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)
  3397. end
  3398. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3399. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3400. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3401. CameraEnshaking(2,10)
  3402. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3403. if v:FindFirstChild('Head') then
  3404. dmg(v)
  3405. end
  3406. end
  3407. for i = 0, 14 do
  3408. 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)
  3409. end
  3410. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3411. end
  3412. function PureBomb()
  3413. attack = true
  3414. hum.WalkSpeed = 0
  3415. local orb = Instance.new("Part", char)
  3416. orb.Anchored = true
  3417. orb.BrickColor = BrickColor.new("Toothpaste")
  3418. orb.CanCollide = false
  3419. orb.FormFactor = 3
  3420. orb.Name = "Ring"
  3421. orb.Material = "Neon"
  3422. orb.Size = Vector3.new(1, 1, 1)
  3423. orb.Transparency = 0
  3424. orb.TopSurface = 0
  3425. orb.BottomSurface = 0
  3426. local orbm = Instance.new("SpecialMesh", orb)
  3427. orbm.MeshType = "Sphere"
  3428. orbm.Name = "SizeMesh"
  3429. orbm.Scale = vt(0,0,0)
  3430. local scaled = 0.1
  3431. local posid = 0
  3432. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3433. for i = 0, 5, 0.1 do
  3434. swait()
  3435. scaled = scaled - 0.001
  3436. posid = posid - scaled
  3437. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3438. local scaled = 0.1
  3439. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3440. 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)
  3441. 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)
  3442. 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)
  3443. 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)
  3444. 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)
  3445. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3446. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3447. 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)
  3448. end
  3449. for i = 0, 2, 0.1 do
  3450. swait()
  3451. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3452. 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)
  3453. 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)
  3454. 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)
  3455. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3456. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3457. 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)
  3458. end
  3459. coroutine.resume(coroutine.create(function()
  3460. orb.Anchored = false
  3461. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3462. local a = Instance.new("Part",workspace)
  3463. a.Name = "Direction"
  3464. a.Anchored = true
  3465. a.BrickColor = bc("Bright red")
  3466. a.Material = "Neon"
  3467. a.Transparency = 1
  3468. a.CanCollide = false
  3469. local ray = Ray.new(
  3470. orb.CFrame.p, -- origin
  3471. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3472. )
  3473. local ignore = orb
  3474. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3475. a.BottomSurface = 10
  3476. a.TopSurface = 10
  3477. local distance = (orb.CFrame.p - position).magnitude
  3478. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3479. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3480. orb.CFrame = a.CFrame
  3481. a:Destroy()
  3482. local bv = Instance.new("BodyVelocity")
  3483. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3484. bv.velocity = orb.CFrame.lookVector*125
  3485. bv.Parent = orb
  3486. local hitted = false
  3487. game:GetService("Debris"):AddItem(orb, 15)
  3488. wait()
  3489. local hit =orb.Touched:connect(function(hit)
  3490. if hitted == false then
  3491. hitted = true
  3492. CameraEnshaking(10,2.5)
  3493. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3494. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3495. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3496. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3497. for i = 0, 49 do
  3498. 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)
  3499. end
  3500. for i = 0, 9 do
  3501. 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)
  3502. 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)
  3503. end
  3504. orb.Anchored = true
  3505. orb.Transparency = 1
  3506. wait(8)
  3507. orb:Destroy()
  3508. end
  3509. end)
  3510. end))
  3511. for i = 0, 1, 0.1 do
  3512. swait()
  3513. 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)
  3514. 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)
  3515. 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)
  3516. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3517. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3518. 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)
  3519. end
  3520. hum.WalkSpeed = storehumanoidWS
  3521. attack = false
  3522. end
  3523.  
  3524. function BanishingOrb()
  3525. attack = true
  3526. hum.WalkSpeed = 0
  3527. local radm = math.random(1,3)
  3528. if radm == 1 then
  3529. bosschatfunc("Let it's go..",MAINRUINCOLOR.Color,1)
  3530. elseif radm == 2 then
  3531. bosschatfunc("So this is it..",MAINRUINCOLOR.Color,1)
  3532. elseif radm == 3 then
  3533. bosschatfunc("I have enough thing..",MAINRUINCOLOR.Color,1)
  3534. end
  3535. CFuncs["EchoSound"].Create("rbxassetid://1535994940", char, 5, 1,0,10,0.15,0.5,1)
  3536. CFuncs["EchoSound"].Create("rbxassetid://1535994940", root, 60, 1,0,10,0.15,0.5,1)
  3537. local orb = Instance.new("Part", char)
  3538. orb.Anchored = true
  3539. orb.BrickColor = BrickColor.new("Lime green")
  3540. orb.CanCollide = false
  3541. orb.FormFactor = 3
  3542. orb.Name = "Ring"
  3543. orb.Material = "Neon"
  3544. orb.Size = Vector3.new(1, 1, 1)
  3545. orb.Transparency = 0
  3546. orb.TopSurface = 0
  3547. orb.BottomSurface = 0
  3548. local orbm = Instance.new("SpecialMesh", orb)
  3549. orbm.MeshType = "Sphere"
  3550. orbm.Name = "SizeMesh"
  3551. orbm.Scale = vt(0,0,0)
  3552. local scaled = 0.1
  3553. local posid = 0
  3554. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  3555. for i = 0, 5, 0.1 do
  3556. swait()
  3557. scaled = scaled - 0.001
  3558. posid = posid - scaled
  3559. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3560. local scaled = 0.1
  3561. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3562. 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)
  3563. 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)
  3564. 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)
  3565. 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)
  3566. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3567. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3568. 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)
  3569. end
  3570. for i = 0, 2, 0.1 do
  3571. swait()
  3572. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3573. 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)
  3574. 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)
  3575. 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)
  3576. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3577. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3578. 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)
  3579. end
  3580. coroutine.resume(coroutine.create(function()
  3581. orb.Anchored = false
  3582. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  3583. local a = Instance.new("Part",workspace)
  3584. a.Name = "Direction"
  3585. a.Anchored = true
  3586. a.BrickColor = bc("Lime green")
  3587. a.Material = "Neon"
  3588. a.Transparency = 1
  3589. a.CanCollide = false
  3590. local ray = Ray.new(
  3591. orb.CFrame.p, -- origin
  3592. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3593. )
  3594. local ignore = orb
  3595. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3596. a.BottomSurface = 10
  3597. a.TopSurface = 10
  3598. local distance = (orb.CFrame.p - position).magnitude
  3599. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3600. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3601. orb.CFrame = a.CFrame
  3602. a:Destroy()
  3603. local bv = Instance.new("BodyVelocity")
  3604. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3605. bv.velocity = orb.CFrame.lookVector*0
  3606. bv.Parent = orb
  3607. local hitted = false
  3608. local rate = 0
  3609. coroutine.resume(coroutine.create(function()
  3610. for i = 0, 24 do
  3611. wait(0.1)
  3612. rate = rate + 0.25
  3613. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  3614. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  3615. if v:FindFirstChild('Head') then
  3616. dmg(v)
  3617. end
  3618. end
  3619. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  3620. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,bc"Lime green")
  3621. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3622. end
  3623. orb.Anchored = true
  3624. orb.Transparency = 1
  3625. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  3626. if v:FindFirstChild('Head') then
  3627. dmg(v)
  3628. end
  3629. end
  3630. local eff = Instance.new("ParticleEmitter",orb)
  3631. eff.Texture = "rbxassetid://296874871"
  3632. eff.LightEmission = 0.95
  3633. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3634. eff.Rate = 1000000000
  3635. eff.Lifetime = NumberRange.new(3)
  3636. 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)})
  3637. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3638. eff.Speed = NumberRange.new(30)
  3639. eff.Acceleration = vt(0,-15,0)
  3640. eff.Rotation = NumberRange.new(-500,500)
  3641. eff.VelocitySpread = 100000
  3642. eff.RotSpeed = NumberRange.new(-500,500)
  3643. coroutine.resume(coroutine.create(function()
  3644. wait(0.6)
  3645. eff.Enabled = false
  3646. end))
  3647. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  3648. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  3649. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,bc"Lime green")
  3650. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3651. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  3652. game:GetService("Debris"):AddItem(orb, 15)
  3653. end))
  3654. end))
  3655. for i = 0, 1, 0.1 do
  3656. swait()
  3657. 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)
  3658. 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)
  3659. 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)
  3660. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3661. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3662. 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)
  3663. end
  3664. hum.WalkSpeed = storehumanoidWS
  3665. attack = false
  3666. end
  3667.  
  3668.  
  3669. function ChaosGroundStrike()
  3670. attack = true
  3671. for i = 0, 2, 0.1 do
  3672. swait()
  3673. 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)
  3674. 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)
  3675. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3676. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3677. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3678. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3679. end
  3680. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3681. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3682. CameraEnshaking(4,12)
  3683. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3684. if v:FindFirstChild('Head') then
  3685. dmg(v)
  3686. end
  3687. end
  3688. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3689. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3690. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3691. for i = 0, 2, 0.1 do
  3692. swait()
  3693. 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)
  3694. 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)
  3695. 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)
  3696. 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)
  3697. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3698. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3699. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3700. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3701. end
  3702. attack = false
  3703. end
  3704.  
  3705.  
  3706.  
  3707. function Starfall()
  3708. attack = true
  3709. hum.WalkSpeed = 0
  3710. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3711. for i = 0, 5, 0.1 do
  3712. swait()
  3713. 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)
  3714. 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)
  3715. 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)
  3716. 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)
  3717. 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)
  3718. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3719. 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)
  3720. 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)
  3721. end
  3722. local Overed = false
  3723. CameraEnshaking(2,20)
  3724. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3725. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3726. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3727. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3728. local orb = Instance.new("Part", char)
  3729. orb.Anchored = true
  3730. orb.BrickColor = BrickColor.new("Toothpaste")
  3731. orb.CanCollide = false
  3732. orb.FormFactor = 3
  3733. orb.Name = "Remenant"
  3734. orb.Material = "Neon"
  3735. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3736. orb.Size = Vector3.new(1, 1, 1)
  3737. orb.Transparency = 1
  3738. orb.TopSurface = 0
  3739. orb.BottomSurface = 0
  3740. hum.WalkSpeed = storehumanoidWS
  3741. coroutine.resume(coroutine.create(function()
  3742. for i = 0, 9 do
  3743. swait(10)
  3744. local lb = Instance.new("Part")
  3745. lb.Color = MAINRUINCOLOR.Color
  3746. lb.CanCollide = false
  3747. lb.Material = "Neon"
  3748. lb.Anchored = true
  3749. lb.TopSurface = 0
  3750. lb.BottomSurface = 0
  3751. lb.Transparency = 0
  3752. lb.Size = vt(1,1,1)
  3753. 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)))
  3754. lb.Anchored = false
  3755. lb.Parent = char
  3756. local thingery = Instance.new("SpecialMesh",lb)
  3757. thingery.MeshType = "Sphere"
  3758. thingery.Scale = vt(20,20,20)
  3759. game:GetService("Debris"):AddItem(lb, 10)
  3760. local bv = Instance.new("BodyVelocity")
  3761. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3762. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3763. bv.Parent = lb
  3764. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3765. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3766. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3767. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3768. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3769. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3770. local hitted = false
  3771. coroutine.resume(coroutine.create(function()
  3772. while true do
  3773. swait(1)
  3774. if lb.Parent ~= nil and hitted == false then
  3775. 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)
  3776. elseif lb.Parent == nil then
  3777. break
  3778. end
  3779. end
  3780. end))
  3781.  
  3782. game:GetService("Debris"):AddItem(a, 0.1)
  3783.  
  3784. coroutine.resume(coroutine.create(function()
  3785. swait(1)
  3786. lb.Touched:connect(function(hit)
  3787. if hitted == false then
  3788. hitted = true
  3789. lb.Transparency = 1
  3790. lb.Anchored = true
  3791. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3792. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3793. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3794. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3795. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3796. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3797. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3798. CameraEnshaking(1,5)
  3799. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3800. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3801. for i = 0, 9 do
  3802. 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)
  3803. end
  3804. for i = 0, 49 do
  3805. swait()
  3806. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3807. 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)
  3808. end
  3809. end
  3810. end)
  3811. end))
  3812. end
  3813. Overed = true
  3814. orb:Destroy()
  3815. end))
  3816.  
  3817. attack = false
  3818. end
  3819.  
  3820. function StarfallEX()
  3821. attack = true
  3822. hum.WalkSpeed = 0
  3823. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  3824. for i = 0, 10, 0.1 do
  3825. swait()
  3826. 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)
  3827. 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)
  3828. 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)
  3829. 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)
  3830. 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)
  3831. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3832. 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)
  3833. 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)
  3834. end
  3835. local Overed = false
  3836. CameraEnshaking(2,20)
  3837. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3838. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3839. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3840. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  3841. local orb = Instance.new("Part", char)
  3842. orb.Anchored = true
  3843. orb.BrickColor = BrickColor.new("Toothpaste")
  3844. orb.CanCollide = false
  3845. orb.FormFactor = 3
  3846. orb.Name = "Remenant"
  3847. orb.Material = "Neon"
  3848. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  3849. orb.Size = Vector3.new(1, 1, 1)
  3850. orb.Transparency = 1
  3851. orb.TopSurface = 0
  3852. orb.BottomSurface = 0
  3853. hum.WalkSpeed = storehumanoidWS
  3854. coroutine.resume(coroutine.create(function()
  3855. for i = 0, 4 do
  3856. swait(15)
  3857. local lb = Instance.new("Part")
  3858. lb.Color = MAINRUINCOLOR.Color
  3859. lb.CanCollide = false
  3860. lb.Material = "Neon"
  3861. lb.Anchored = true
  3862. lb.TopSurface = 0
  3863. lb.BottomSurface = 0
  3864. lb.Transparency = 0
  3865. lb.Size = vt(1,1,1)
  3866. 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)))
  3867. lb.Anchored = false
  3868. lb.Parent = char
  3869. local thingery = Instance.new("SpecialMesh",lb)
  3870. thingery.MeshType = "Sphere"
  3871. thingery.Scale = vt(50,50,50)
  3872. game:GetService("Debris"):AddItem(lb, 10)
  3873. local bv = Instance.new("BodyVelocity")
  3874. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3875. bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  3876. bv.Parent = lb
  3877. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3878. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3879. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  3880. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  3881. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  3882. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  3883. local hitted = false
  3884. coroutine.resume(coroutine.create(function()
  3885. while true do
  3886. swait(1)
  3887. if lb.Parent ~= nil and hitted == false then
  3888. 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)
  3889. elseif lb.Parent == nil then
  3890. break
  3891. end
  3892. end
  3893. end))
  3894.  
  3895. game:GetService("Debris"):AddItem(a, 0.1)
  3896.  
  3897. coroutine.resume(coroutine.create(function()
  3898. swait(1)
  3899. lb.Touched:connect(function(hit)
  3900. if hitted == false then
  3901. hitted = true
  3902. lb.Transparency = 1
  3903. lb.Anchored = true
  3904. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  3905. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  3906. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  3907. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  3908. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  3909. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  3910. MagniDamage(lb, 50, 60,99, 0, "Normal")
  3911. CameraEnshaking(1,5)
  3912. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  3913. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  3914. for i = 0, 9 do
  3915. 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)
  3916. end
  3917. for i = 0, 99 do
  3918. swait()
  3919. MagniDamage(lb, 30, 6,18, 0, "Normal")
  3920. 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)
  3921. end
  3922. end
  3923. end)
  3924. end))
  3925. end
  3926. Overed = true
  3927. orb:Destroy()
  3928. end))
  3929.  
  3930. attack = false
  3931. end
  3932.  
  3933. function DivineBlast()
  3934. attack = true
  3935. bosschatfunc("Justice Beam!!",MAINRUINCOLOR.Color,0.7)
  3936. hum.WalkSpeed = 0
  3937. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  3938. elocacenter.Anchored = true
  3939. elocacenter.CFrame = sorb.CFrame
  3940. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3941. eloca1.Anchored = true
  3942. eloca1.CFrame = elocacenter.CFrame
  3943. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3944. eloca2.Anchored = true
  3945. eloca2.CFrame = elocacenter.CFrame
  3946. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3947. eloca3.Anchored = true
  3948. eloca3.CFrame = elocacenter.CFrame
  3949. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3950. eloca4.Anchored = true
  3951. eloca4.CFrame = elocacenter.CFrame
  3952. local lookavec = 0
  3953. local speeds = 0
  3954. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  3955. for i = 0, 3, 0.1 do
  3956. swait()
  3957. ---
  3958. lookavec = lookavec + 0.1
  3959. speeds = speeds + 10
  3960. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3961. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3962. 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)
  3963.  
  3964. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3965. 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)
  3966.  
  3967. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3968. 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)
  3969.  
  3970. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3971. 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)
  3972. ---
  3973. root.CFrame = FaceMouse()[1]
  3974. 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)
  3975. 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)
  3976. 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)
  3977. 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)
  3978. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  3979. 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)
  3980. end
  3981. for i = 0, 3, 0.1 do
  3982. swait()
  3983. ---
  3984. speeds = speeds + 10
  3985. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3986. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3987. 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)
  3988.  
  3989. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3990. 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)
  3991.  
  3992. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3993. 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)
  3994.  
  3995. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3996. 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)
  3997. ---
  3998. root.CFrame = FaceMouse()[1]
  3999. 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)
  4000. 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)
  4001. 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)
  4002. 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)
  4003. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4004. 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)
  4005. end
  4006. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  4007. CFuncs["Sound"].Create("rbxassetid://1436239652", char, 40,1)
  4008. for i = 0, 3, 0.1 do
  4009. swait()
  4010. ---
  4011. speeds = speeds + 10
  4012. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4013. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4014. 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)
  4015.  
  4016. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4017. 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)
  4018.  
  4019. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4020. 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)
  4021.  
  4022. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4023. 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)
  4024. ---
  4025. root.CFrame = FaceMouse()[1]
  4026. 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)
  4027. 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)
  4028. 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)
  4029. 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)
  4030. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  4031. 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)
  4032. end
  4033. coroutine.resume(coroutine.create(function()
  4034. local a = Instance.new("Part",Character)
  4035. a.Name = "Direction"
  4036. a.Anchored = true
  4037. a.BrickColor = bc("White")
  4038. a.Material = "Neon"
  4039. a.Transparency = 0
  4040. a.Shape = "Cylinder"
  4041. a.CanCollide = false
  4042. local a2 = Instance.new("Part",Character)
  4043. a2.Name = "Direction"
  4044. a2.Anchored = true
  4045. a2.BrickColor = bc("Bright yellow")
  4046. a2.Material = "Neon"
  4047. a2.Transparency = 0
  4048. a2.Shape = "Cylinder"
  4049. a2.CanCollide = false
  4050. local b = Instance.new("Part",Character)
  4051. b.Name = "HitDirect"
  4052. b.Anchored = true
  4053. b.BrickColor = bc("Cool yellow")
  4054. b.Material = "Neon"
  4055. b.Transparency = 1
  4056. b.CanCollide = false
  4057. local ray = Ray.new(
  4058. elocacenter.CFrame.p, -- origin
  4059. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  4060. )
  4061. local ignore = Character
  4062. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4063. a.BottomSurface = 10
  4064. a.TopSurface = 10
  4065. a2.BottomSurface = 10
  4066. a2.TopSurface = 10
  4067. local distance = (elocacenter.CFrame.p - position).magnitude
  4068. a.Size = Vector3.new(distance, 1, 1)
  4069. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4070. a2.Size = Vector3.new(distance, 1, 1)
  4071. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4072. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4073. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4074. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4075. game:GetService("Debris"):AddItem(a, 10)
  4076. game:GetService("Debris"):AddItem(a2, 10)
  4077. game:GetService("Debris"):AddItem(b, 10)
  4078. local eff = Instance.new("ParticleEmitter",b)
  4079. eff.Texture = "rbxassetid://2273224484"
  4080. eff.LightEmission = 1
  4081. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4082. eff.Rate = 500000
  4083. eff.Lifetime = NumberRange.new(0.5,2)
  4084. 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)})
  4085. 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)})
  4086. eff.Speed = NumberRange.new(20,250)
  4087. eff.Drag = 5
  4088. eff.Rotation = NumberRange.new(-500,500)
  4089. eff.VelocitySpread = 9000
  4090. eff.RotSpeed = NumberRange.new(-50,50)
  4091. coroutine.resume(coroutine.create(function()
  4092. wait(0.25)
  4093. eff.Enabled = false
  4094. end))
  4095. local msh = Instance.new("SpecialMesh",a)
  4096. msh.MeshType = "Cylinder"
  4097. msh.Scale = vt(1,2,2)
  4098. local msh2 = Instance.new("SpecialMesh",a2)
  4099. msh2.MeshType = "Cylinder"
  4100. msh2.Scale = vt(1,2.5,2.5)
  4101. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  4102. coroutine.resume(coroutine.create(function()
  4103. for i = 0,10,0.1 do
  4104. swait()
  4105. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  4106. a.Transparency = a.Transparency + 0.025
  4107. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  4108. a2.Transparency = a2.Transparency + 0.05
  4109. end
  4110. a:Destroy()
  4111. a2:Destroy()
  4112. end))
  4113. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  4114. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  4115. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  4116. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  4117. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  4118. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  4119. MagniDamage(b, 25, 40,65, 0, "Normal")
  4120. for i = 0, 49 do
  4121. 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)
  4122. 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)
  4123. end
  4124. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  4125. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  4126. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4127. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4128. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4129. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4130. end))
  4131. game:GetService("Debris"):AddItem(elocacenter, 5)
  4132. hum.WalkSpeed = storehumanoidWS
  4133. attack = false
  4134. end
  4135.  
  4136. function StarDivision()
  4137. attack = true
  4138. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4139. for i = 0, 2, 0.1 do
  4140. swait()
  4141. 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)
  4142. 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)
  4143. 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)
  4144. 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)
  4145. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4146. 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)
  4147. end
  4148. local orb = Instance.new("Part", char)
  4149. orb.BrickColor = MAINRUINCOLOR
  4150. orb.CanCollide = false
  4151. orb.FormFactor = 3
  4152. orb.Name = "Ring"
  4153. orb.Material = "Neon"
  4154. orb.Size = Vector3.new(1, 1, 1)
  4155. orb.Transparency = 0
  4156. orb.TopSurface = 0
  4157. orb.BottomSurface = 0
  4158. local orbm = Instance.new("SpecialMesh", orb)
  4159. orbm.MeshType = "Sphere"
  4160. orbm.Name = "SizeMesh"
  4161. orbm.Scale = vt(2,2,2)
  4162. local a = Instance.new("Part",workspace)
  4163. a.Name = "Direction"
  4164. a.Anchored = true
  4165. a.BrickColor = bc("Bright red")
  4166. a.Material = "Neon"
  4167. a.Transparency = 1
  4168. a.CanCollide = false
  4169. local ray = Ray.new(
  4170. sorb.CFrame.p, -- origin
  4171. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4172. )
  4173. local ignore = sorb
  4174. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4175. a.BottomSurface = 10
  4176. a.TopSurface = 10
  4177. local distance = (sorb.CFrame.p - position).magnitude
  4178. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4179. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4180. orb.CFrame = a.CFrame
  4181. a:Destroy()
  4182. local bv = Instance.new("BodyVelocity")
  4183. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4184. bv.velocity = orb.CFrame.lookVector*100
  4185. bv.Parent = orb
  4186. local hitted = false
  4187. game:GetService("Debris"):AddItem(orb, 10)
  4188. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4189. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4190. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4191. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4192. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4193. coroutine.resume(coroutine.create(function()
  4194. while true do
  4195. swait(1)
  4196. if orb.Parent ~= nil and hitted == false then
  4197. 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)
  4198. elseif orb.Parent == nil then
  4199. break
  4200. end
  4201. end
  4202. end))
  4203. coroutine.resume(coroutine.create(function()
  4204. swait(1)
  4205. orb.Touched:connect(function(hit)
  4206. if hitted == false then
  4207. hitted = true
  4208. game:GetService("Debris"):AddItem(orb, 5)
  4209. orb.Transparency = 1
  4210. orb.Anchored = true
  4211. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4212. elocacenter.Anchored = true
  4213. elocacenter.CFrame = orb.CFrame
  4214. elocacenter.Orientation = vt(0,0,0)
  4215. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4216. eloca1.Anchored = true
  4217. eloca1.CFrame = elocacenter.CFrame
  4218. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4219. eloca2.Anchored = true
  4220. eloca2.CFrame = elocacenter.CFrame
  4221. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4222. eloca3.Anchored = true
  4223. eloca3.CFrame = elocacenter.CFrame
  4224. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4225. eloca4.Anchored = true
  4226. eloca4.CFrame = elocacenter.CFrame
  4227. local lookavec = 0
  4228. local speeds = 0
  4229. CameraEnshaking(1,1)
  4230. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4231. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4232. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4233. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4234. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4235. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4236. for i = 0, 99 do
  4237. swait()
  4238. lookavec = lookavec + 1
  4239. speeds = speeds + 0.1
  4240. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4241. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4242. 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)
  4243.  
  4244. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4245. 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)
  4246.  
  4247. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4248. 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)
  4249.  
  4250. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4251. 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)
  4252. end
  4253.  
  4254. for i = 0, 149 do
  4255. swait()
  4256. speeds = speeds + 0.1
  4257. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4258. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4259. 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)
  4260.  
  4261. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4262. 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)
  4263.  
  4264. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4265. 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)
  4266.  
  4267. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4268. 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)
  4269. end
  4270. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4271. if v:FindFirstChild('Head') then
  4272. dmg(v)
  4273. end
  4274. end
  4275. CameraEnshaking(7,30)
  4276. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4277. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4278. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4279. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4280. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4281. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4282. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4283. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4284. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4285. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4286. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4287. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4288. for i = 0, 24 do
  4289. 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)
  4290. 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)
  4291. 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)
  4292. 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)
  4293. end
  4294. coroutine.resume(coroutine.create(function()
  4295. for i = 0, 499 do
  4296. swait(1)
  4297. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4298. 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)
  4299. end
  4300. elocacenter:Destroy()
  4301. eloca1:Destroy()
  4302. eloca2:Destroy()
  4303. eloca3:Destroy()
  4304. eloca4:Destroy()
  4305. end))
  4306. end
  4307. end)
  4308. end))
  4309. attack = false
  4310. end
  4311.  
  4312.  
  4313. function THE_TRUE_POWER_OF_VIOLENCE()
  4314. attack = true
  4315. hum.WalkSpeed = 0
  4316. bosschatfunc("ALL YOUR DESTINY...",MAINRUINCOLOR.Color,4)
  4317. for i = 0, 10, 0.1 do
  4318. swait()
  4319. 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)
  4320. 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)
  4321. 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)
  4322. 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)
  4323. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  4324. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4325. 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)
  4326. end
  4327. local orb = Instance.new("Part", char)
  4328. orb.BrickColor = MAINRUINCOLOR
  4329. orb.CanCollide = false
  4330. orb.FormFactor = 3
  4331. orb.Name = "Ring"
  4332. orb.Material = "Neon"
  4333. orb.Size = Vector3.new(1, 1, 1)
  4334. orb.Transparency = 0
  4335. orb.TopSurface = 0
  4336. orb.BottomSurface = 0
  4337. orb.CFrame = sorb.CFrame
  4338. local orbm = Instance.new("SpecialMesh", orb)
  4339. orbm.MeshType = "Sphere"
  4340. orbm.Name = "SizeMesh"
  4341. orbm.Scale = vt(0,0,0)
  4342. local sbs = Instance.new("BodyPosition", orb)
  4343. sbs.P = 3000
  4344. sbs.D = 1000
  4345. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4346. sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  4347. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  4348. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4349. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4350. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4351. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4352. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4353. for i = 0, 10, 0.1 do
  4354. swait()
  4355. 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)
  4356. 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)
  4357. 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)
  4358. 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)
  4359. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4360. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4361. 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)
  4362. end
  4363. orb.Anchored = true
  4364. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4365. elocacenter.Anchored = true
  4366. elocacenter.CFrame = orb.CFrame
  4367. elocacenter.Orientation = vt(0,0,0)
  4368. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4369. eloca1.Anchored = true
  4370. eloca1.CFrame = elocacenter.CFrame
  4371. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4372. eloca2.Anchored = true
  4373. eloca2.CFrame = elocacenter.CFrame
  4374. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4375. eloca3.Anchored = true
  4376. eloca3.CFrame = elocacenter.CFrame
  4377. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4378. eloca4.Anchored = true
  4379. eloca4.CFrame = elocacenter.CFrame
  4380. local lookavec = 0
  4381. local speeds = 0
  4382. CameraEnshaking(1,1)
  4383. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  4384. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  4385. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  4386. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  4387. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4388. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4389. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4390. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4391. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4392. for i = 0, 99 do
  4393. swait()
  4394. lookavec = lookavec + 2.5
  4395. speeds = speeds + 0.25
  4396. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4397. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4398. 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)
  4399.  
  4400. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4401. 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)
  4402.  
  4403. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4404. 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)
  4405.  
  4406. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4407. 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)
  4408. end
  4409.  
  4410. for i = 0, 149 do
  4411. swait()
  4412. speeds = speeds + 0.25
  4413. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4414. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4415. 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)
  4416.  
  4417. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4418. 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)
  4419.  
  4420. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4421. 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)
  4422.  
  4423. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4424. 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)
  4425. end
  4426. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  4427. for i = 0, 99 do
  4428. swait()
  4429. lookavec = lookavec - 2.5
  4430. speeds = speeds + 0.25
  4431. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4432. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4433. 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)
  4434.  
  4435. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4436. 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)
  4437.  
  4438. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4439. 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)
  4440.  
  4441. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4442. 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)
  4443. end
  4444. local scaled = 0.1*75
  4445. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  4446. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  4447. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  4448. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  4449. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  4450. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4451. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4452. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4453. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4454. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4455. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4456.  
  4457. for i = 0, 10, 0.1 do
  4458. swait()
  4459. scaled = scaled - 0.001*75
  4460. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4461. 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)
  4462. 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)
  4463. 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)
  4464. 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)
  4465. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4466. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4467. 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)
  4468. end
  4469. bosschatfunc("WILL BE MINE!!!!",MAINRUINCOLOR.Color,2)
  4470. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 10, 1,0,10,0.15,0.5,1)
  4471. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 60, 1,0,10,0.15,0.5,1)
  4472. for x = 0, 4 do
  4473. for i = 0, 9 do
  4474. 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)
  4475. end
  4476. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  4477. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  4478. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4479. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4480. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4481. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4482. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4483. for i = 0, 5, 0.1 do
  4484. swait()
  4485. 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)
  4486. 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)
  4487. 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)
  4488. 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)
  4489. 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)
  4490. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  4491. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  4492. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  4493. end
  4494. end
  4495. local speedearn = 0
  4496. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  4497. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  4498. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  4499. for i = 0, 30, 0.1 do
  4500. swait()
  4501. scaled = scaled - 0.001*75/10
  4502. speedearn = speedearn + 0.5
  4503. for i = 0, 4 do
  4504. 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)
  4505. end
  4506. 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)
  4507. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4508. 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)
  4509. 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)
  4510. 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)
  4511. 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)
  4512. 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)
  4513. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  4514. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  4515. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  4516. end
  4517. orb.Transparency = 1
  4518. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  4519. if v:FindFirstChild('Head') then
  4520. dmg(v)
  4521. end
  4522. end
  4523. CameraEnshaking(7,30)
  4524. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  4525. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  4526. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  4527. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  4528. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  4529. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4530. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  4531. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4532. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  4533. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  4534. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  4535. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  4536. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  4537. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  4538. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4539. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4540. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4541. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4542. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4543. for i = 0, 99 do
  4544. 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)
  4545. 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)
  4546. end
  4547. for i = 0, 24 do
  4548. 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)
  4549. 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)
  4550. 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)
  4551. 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)
  4552. 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)
  4553. end
  4554. game:GetService("Debris"):AddItem(orb, 10)
  4555. hum.WalkSpeed = storehumanoidWS
  4556. attack = false
  4557. end
  4558.  
  4559.  
  4560. function ViolentRing()
  4561. attack = true
  4562. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  4563. bosschatfunc("SHOULD I TAKE THAT EASIER?!",MAINRUINCOLOR.Color,0.7)
  4564. CFuncs["EchoSound"].Create("rbxassetid://1535994137", char, 4, 1,0,10,0.15,0.5,1)
  4565. CFuncs["EchoSound"].Create("rbxassetid://1535994137", root, 7, 1,0,10,0.15,0.5,1)
  4566. for i = 0, 2, 0.1 do
  4567. swait()
  4568. local snap = math.random(1,10)
  4569. if snap == 1 then
  4570. 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)
  4571. end
  4572. 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)
  4573. 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)
  4574. 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)
  4575. 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)
  4576. 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)
  4577. 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)
  4578. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  4579. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  4580. 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)
  4581. RootPart.CFrame = FaceMouse()[1]
  4582. end
  4583. local orb = Instance.new("Part", char)
  4584. orb.BrickColor = MAINRUINCOLOR
  4585. orb.CanCollide = false
  4586. orb.FormFactor = 3
  4587. orb.Name = "Ring"
  4588. orb.Material = "Neon"
  4589. orb.Size = Vector3.new(1, 1, 1)
  4590. orb.Transparency = 0
  4591. orb.TopSurface = 0
  4592. orb.BottomSurface = 0
  4593. local orbm = Instance.new("SpecialMesh", orb)
  4594. orbm.MeshType = "Sphere"
  4595. orbm.Name = "SizeMesh"
  4596. orbm.Scale = vt(2,2,2)
  4597. orb.CFrame = mouse.Hit
  4598. local bv = Instance.new("BodyVelocity")
  4599. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4600. bv.velocity = orb.CFrame.lookVector*100
  4601. bv.Parent = orb
  4602. local hitted = false
  4603. coroutine.resume(coroutine.create(function()
  4604. game:GetService("Debris"):AddItem(orb, 5)
  4605. orb.Transparency = 1
  4606. orb.Anchored = true
  4607. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4608. elocacenter.Anchored = true
  4609. elocacenter.CFrame = orb.CFrame
  4610. elocacenter.Orientation = vt(0,0,0)
  4611. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4612. eloca1.Anchored = true
  4613. eloca1.CFrame = elocacenter.CFrame
  4614. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4615. eloca2.Anchored = true
  4616. eloca2.CFrame = elocacenter.CFrame
  4617. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4618. eloca3.Anchored = true
  4619. eloca3.CFrame = elocacenter.CFrame
  4620. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4621. eloca4.Anchored = true
  4622. eloca4.CFrame = elocacenter.CFrame
  4623. local lookavec = 0
  4624. local speeds = 0
  4625. CameraEnshaking(1,1)
  4626. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4627. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4628. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4629. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4630. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4631. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4632. for i = 0, 24 do
  4633. swait()
  4634. lookavec = lookavec + 3.5
  4635. speeds = speeds + 1
  4636. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4637. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4638. 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)
  4639.  
  4640. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4641. 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)
  4642.  
  4643. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4644. 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)
  4645.  
  4646. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4647. 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)
  4648. end
  4649.  
  4650. local risen = 0
  4651. for i = 0, 49 do
  4652. swait()
  4653. risen = risen + 0.05
  4654. speeds = speeds + 0.1
  4655. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4656. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4657. 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)
  4658.  
  4659. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4660. 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)
  4661.  
  4662. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4663. 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)
  4664.  
  4665. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4666. 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)
  4667. end
  4668. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  4669. if v:FindFirstChild('Head') then
  4670. dmg(v)
  4671. end
  4672. end
  4673. CameraEnshaking(4,10)
  4674. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  4675. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  4676. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  4677. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  4678. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  4679. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  4680. local eff = Instance.new("ParticleEmitter",elocacenter)
  4681. eff.Texture = "rbxassetid://2273224484"
  4682. eff.LightEmission = 1
  4683. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4684. eff.Rate = 1000000
  4685. eff.Lifetime = NumberRange.new(0.5,2)
  4686. 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)})
  4687. 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)})
  4688. eff.Speed = NumberRange.new(20,250)
  4689. eff.Drag = 5
  4690. eff.Rotation = NumberRange.new(-500,500)
  4691. eff.VelocitySpread = 5000000
  4692. eff.RotSpeed = NumberRange.new(-50,50)
  4693. coroutine.resume(coroutine.create(function()
  4694. wait(1)
  4695. eff.Enabled = false
  4696. end))
  4697. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  4698. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  4699. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4700. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4701. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4702. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4703. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4704. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  4705. for i = 0, 24 do
  4706. 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)
  4707. 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)
  4708. 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)
  4709. 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)
  4710. end
  4711. coroutine.resume(coroutine.create(function()
  4712. wait(10)
  4713. elocacenter:Destroy()
  4714. eloca1:Destroy()
  4715. eloca2:Destroy()
  4716. eloca3:Destroy()
  4717. eloca4:Destroy()
  4718. end))
  4719. end))
  4720. attack = false
  4721. end
  4722.  
  4723. function UniversalCollapse()
  4724. attack = true
  4725. local speedearn = 0
  4726. hum.WalkSpeed = 0
  4727. local sbs = Instance.new("BodyPosition", root)
  4728. sbs.P = 3000
  4729. sbs.D = 1000
  4730. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4731. sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  4732. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4733. for i = 0, 85, 0.1 do
  4734. swait()
  4735. speedearn = speedearn + 0.1
  4736. 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)
  4737. 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)
  4738. 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)
  4739. 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)
  4740. 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)
  4741. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4742. 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)
  4743. 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)
  4744. 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)
  4745. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4746. 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)
  4747. 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)
  4748. end
  4749. bosschatfunc("Universary..",MAINRUINCOLOR.Color,1)
  4750. CFuncs["EchoSound"].Create("rbxassetid://1448032598", char, 5, 1,0,10,0.15,0.5,1)
  4751. CFuncs["EchoSound"].Create("rbxassetid://1448032598", root, 20, 1,0,10,0.15,0.5,1)
  4752. for i = 0, 25, 0.1 do
  4753. swait()
  4754. speedearn = speedearn + 0.1
  4755. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4756. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4757. 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)
  4758. 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)
  4759. 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)
  4760. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4761. 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)
  4762. 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)
  4763. 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)
  4764. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4765. 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)
  4766. 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)
  4767. end
  4768. bosschatfunc("COLLAPSE!!!",MAINRUINCOLOR.Color,1)
  4769. CFuncs["EchoSound"].Create("rbxassetid://1436241883", char, 5, 1,0,10,0.15,0.5,1)
  4770. CFuncs["EchoSound"].Create("rbxassetid://1436241883", root, 20, 1,0,10,0.15,0.5,1)
  4771. CameraEnshaking(5,50)
  4772. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4773. for i = 0, 2 do
  4774. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4775. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4776. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  4777. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  4778. end
  4779. for i = 0, 49 do
  4780. 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)
  4781. 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)
  4782. 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)
  4783. 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)
  4784. end
  4785. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4786. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4787. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4788. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4789. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4790. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4791. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4792. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4793. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4794. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4795. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4796. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4797. for i = 0, 99 do
  4798. 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)
  4799. 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)
  4800. end
  4801. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  4802. if v:FindFirstChild('Head') then
  4803. dmg(v)
  4804. end
  4805. end
  4806. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  4807. sbs:Destroy()
  4808. hum.WalkSpeed = storehumanoidWS
  4809. attack = false
  4810. end
  4811.  
  4812.  
  4813. function ChaosEND()
  4814. attack = true
  4815. local speedearn = 0
  4816. bosschatfunc("THIS IS..",MAINRUINCOLOR.Color,0.8)
  4817. CFuncs["EchoSound"].Create("rbxassetid://1548599511", char, 4.5, 1,0,10,0.15,0.5,1)
  4818. CFuncs["EchoSound"].Create("rbxassetid://1548599511", root, 30, 1,0,10,0.15,0.5,1)
  4819. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4820. for i = 0, 15, 0.1 do
  4821. swait()
  4822. speedearn = speedearn + 0.25
  4823. 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)
  4824. 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)
  4825. 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)
  4826. 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)
  4827. 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)
  4828. 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)
  4829. 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)
  4830. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4831. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4832. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4833. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4834. end
  4835. CFuncs["Sound"].Create("rbxassetid://438666141", char, 3,1)
  4836. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4837. bosschatfunc("THE END!!!",MAINRUINCOLOR.Color,2)
  4838. CFuncs["EchoSound"].Create("rbxassetid://1548599962", char, 8, 1,0,10,0.15,0.5,1)
  4839. CFuncs["EchoSound"].Create("rbxassetid://1548599962", root, 40, 1,0,10,0.15,0.5,1)
  4840. CameraEnshaking(5,25)
  4841. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4842. if v:FindFirstChild('Head') then
  4843. dmg(v)
  4844. end
  4845. end
  4846. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4847. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4848. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4849. for i = 0, 3, 0.1 do
  4850. swait()
  4851. 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)
  4852. 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)
  4853. 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)
  4854. 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)
  4855. 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)
  4856. 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)
  4857. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4858. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4859. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4860. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4861. end
  4862. attack = false
  4863. end
  4864.  
  4865. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4866. local orb = Instance.new("Part", char)
  4867. orb.Anchored = true
  4868. orb.BrickColor = color
  4869. orb.CanCollide = false
  4870. orb.FormFactor = 3
  4871. orb.Name = "Ring"
  4872. orb.Material = "Neon"
  4873. orb.Size = Vector3.new(1, 1, 1)
  4874. orb.Transparency = 0
  4875. orb.TopSurface = 0
  4876. orb.BottomSurface = 0
  4877. local orbm = Instance.new("SpecialMesh", orb)
  4878. orbm.MeshType = "Sphere"
  4879. orb.CFrame = positted
  4880. orbm.Name = "SizeMesh"
  4881. orbm.Scale = vt(1,1,1)
  4882. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4883. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4884. --[[for i = 0, 2 do
  4885. 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)
  4886. end]]--
  4887. coroutine.resume(coroutine.create(function()
  4888. wait(timer)
  4889. CameraEnshaking(3,ShakePower)
  4890. orb.Transparency = 1
  4891. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4892. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4893. --[[for i = 0, 4 do
  4894. 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)
  4895. end]]--
  4896. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4897. wait(3)
  4898. orb:Destroy()
  4899. end))
  4900. end
  4901.  
  4902. function orb_spawn(positted,timer)
  4903. local randomcol = math.random(1,2)
  4904. local orb = Instance.new("Part", char)
  4905. orb.Anchored = true
  4906. if randomcol == 1 then
  4907. orb.BrickColor = BrickColor.new("White")
  4908. elseif randomcol == 2 then
  4909. orb.BrickColor = BrickColor.new("Really black")
  4910. end
  4911. orb.CanCollide = false
  4912. orb.FormFactor = 3
  4913. orb.Name = "Ring"
  4914. orb.Material = "Neon"
  4915. orb.Size = Vector3.new(1, 1, 1)
  4916. orb.Transparency = 0
  4917. orb.TopSurface = 0
  4918. orb.BottomSurface = 0
  4919. local orbm = Instance.new("SpecialMesh", orb)
  4920. orbm.MeshType = "Sphere"
  4921. orb.CFrame = positted
  4922. orbm.Name = "SizeMesh"
  4923. orbm.Scale = vt(1,1,1)
  4924. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 0.15, 1)
  4925. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4926. for i = 0, 2 do
  4927. 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)
  4928. end
  4929. coroutine.resume(coroutine.create(function()
  4930. wait(timer)
  4931. CameraEnshaking(3,2)
  4932. orb.Transparency = 1
  4933. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4934. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4935. for i = 0, 4 do
  4936. 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)
  4937. end
  4938. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 0.15, 0.7)
  4939. wait(3)
  4940. orb:Destroy()
  4941. end))
  4942. end
  4943.  
  4944. function scattercorrupt()
  4945. attack = true
  4946. hum.WalkSpeed = 0
  4947. for i = 0, 2, 0.1 do
  4948. swait()
  4949. 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)
  4950. 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)
  4951. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4952. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4953. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.2)
  4954. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.2)
  4955. end
  4956. local rot = 0
  4957. local randomrotations = math.random(1,2)
  4958. local lookv = 2.5
  4959. local power = 7
  4960. local radm = math.random(1,3)
  4961. if radm == 1 then
  4962. bosschatfunc("HOW LONG CAN YOU TAKE THIS?",MAINRUINCOLOR.Color,1)
  4963. elseif radm == 2 then
  4964. bosschatfunc("SWAMP!!",MAINRUINCOLOR.Color,1)
  4965. elseif radm == 3 then
  4966. bosschatfunc("SCATTER!!",MAINRUINCOLOR.Color,1)
  4967. end
  4968. CFuncs["Sound"].Create("rbxassetid://183763506", RightLeg, 2, 1)
  4969. for i = 0, 1, 0.1 do
  4970. swait()
  4971. 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)
  4972. 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)
  4973. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(15),math.rad(0),math.rad(0)),.15)
  4974. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.15)
  4975. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(40)),.15)
  4976. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(-40)),.15)
  4977. end
  4978. CFuncs["EchoSound"].Create("rbxassetid://1535994669", char, 5, 1,0,10,0.15,0.5,1)
  4979. CFuncs["EchoSound"].Create("rbxassetid://1535994669", root, 20, 1,0,10,0.15,0.5,1)
  4980. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4981. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4982. for i = 0, 9 do
  4983. 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)
  4984. end
  4985. local hite = Instance.new("Part", char)
  4986. hite.Anchored = true
  4987. hite.CanCollide = false
  4988. hite.FormFactor = 3
  4989. hite.Name = "Ring"
  4990. hite.Material = "Neon"
  4991. hite.Size = Vector3.new(1, 1, 1)
  4992. hite.Transparency = 1
  4993. hite.TopSurface = 0
  4994. hite.BottomSurface = 0
  4995. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4996. local rem = Instance.new("Part", char)
  4997. rem.Anchored = true
  4998. rem.CanCollide = false
  4999. rem.FormFactor = 3
  5000. rem.Name = "Ring"
  5001. rem.Material = "Neon"
  5002. rem.Size = Vector3.new(1, 1, 1)
  5003. rem.Transparency = 1
  5004. rem.TopSurface = 0
  5005. rem.BottomSurface = 0
  5006. rem.CFrame = hite.CFrame
  5007. local rem2 = rem:Clone()
  5008. rem2.Parent = char
  5009. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5010. local rem3 = rem:Clone()
  5011. rem3.Parent = char
  5012. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5013. local rem4 = rem:Clone()
  5014. rem4.Parent = char
  5015. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5016. hite:Destroy()
  5017. coroutine.resume(coroutine.create(function()
  5018. for i = 0, 24 do
  5019. swait(1)
  5020. if randomrotations == 1 then
  5021. rot = rot + 1
  5022. elseif randomrotations == 2 then
  5023. rot = rot - 1
  5024. end
  5025. power = power + 0.5
  5026. lookv = lookv + 7.5
  5027. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5028. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5029. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5030. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5031. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5032. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5033. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5034. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5035. end
  5036. end))
  5037. wait(2)
  5038. hum.WalkSpeed = storehumanoidWS
  5039. attack = false
  5040. end
  5041. function yinyangi()
  5042. attack = true
  5043. for i = 0, 2, 0.1 do
  5044. swait()
  5045. 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)
  5046. 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)
  5047. 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)
  5048. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5049. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  5050. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  5051. end
  5052. local bv = Instance.new("BodyVelocity")
  5053. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5054. bv.velocity = root.CFrame.lookVector*175
  5055. bv.Parent = root
  5056. for Rotations = 0, 9 do
  5057. for i = 0, 1, 0.5 do
  5058. swait()
  5059. bv.velocity = root.CFrame.lookVector*175
  5060. 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)
  5061. 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)
  5062. 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)
  5063. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5064. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5065. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5066. end
  5067. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5068. for i = 0, 1, 0.5 do
  5069. swait()
  5070. bv.velocity = root.CFrame.lookVector*175
  5071. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  5072. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  5073. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5)
  5074. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5075. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5076. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5077. end
  5078. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5079. for i = 0, 1, 0.5 do
  5080. swait()
  5081. bv.velocity = root.CFrame.lookVector*175
  5082. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  5083. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  5084. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5)
  5085. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5086. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5087. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5088. end
  5089. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5090. for i = 0, 1, 0.5 do
  5091. swait()
  5092. bv.velocity = root.CFrame.lookVector*175
  5093. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  5094. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  5095. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5)
  5096. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5097. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5098. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5099. end
  5100. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5101. end
  5102. bv:Destroy()
  5103. attack = false
  5104. end
  5105.  
  5106. function createBGCircle(size,parent,color)
  5107. local bgui = Instance.new("BillboardGui",parent)
  5108. bgui.Size = UDim2.new(size, 0, size, 0)
  5109. local imgc = Instance.new("ImageLabel",bgui)
  5110. imgc.BackgroundTransparency = 1
  5111. imgc.ImageTransparency = 0
  5112. imgc.Size = UDim2.new(1,0,1,0)
  5113. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  5114. imgc.ImageColor3 = color
  5115. return bgui,imgc
  5116. end
  5117.  
  5118. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  5119. local bgui,imgc = createBGCircle(size,guipar,color)
  5120. bgui.AlwaysOnTop = true
  5121. imgc.Image = "rbxassetid://" ..img
  5122. local rrot = math.random(1,2)
  5123. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  5124. coroutine.resume(coroutine.create(function()
  5125. for i = 0, 24*delay do
  5126. swait()
  5127. if rotationenabled == true then
  5128. if rrot == 1 then
  5129. imgc.Rotation = imgc.Rotation + rotsp
  5130. elseif rrot == 2 then
  5131. imgc.Rotation = imgc.Rotation - rotsp
  5132. end
  5133. end
  5134. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  5135. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  5136. end
  5137. bgui:Destroy()
  5138. end))
  5139. end
  5140. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  5141. for i, v in pairs(mw2:GetChildren()) do
  5142. if v:IsA("Part") then
  5143. v.BrickColor = one
  5144. v.Material = "Neon"
  5145. end
  5146. end
  5147. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  5148. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  5149. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  5150. tr1.Color = ColorSequence.new(one.Color)
  5151. tr2.Color = ColorSequence.new(one.Color)
  5152. tr3.Color = ColorSequence.new(one.Color)
  5153. for i, v in pairs(mw1:GetChildren()) do
  5154. if v:IsA("Part") then
  5155. if secondaryenabled == false then
  5156. v.Transparency = 1
  5157. elseif secondaryenabled == true then
  5158. v.Transparency = 0
  5159. end
  5160. v.BrickColor = two
  5161. v.Material = "Neon"
  5162. end
  5163. end
  5164. if secondaryenabled == false then
  5165. tl1.Enabled = false
  5166. tl2.Enabled = false
  5167. tl3.Enabled = false
  5168. elseif secondaryenabled == true then
  5169. tl1.Enabled = true
  5170. tl2.Enabled = true
  5171. tl3.Enabled = true
  5172. end
  5173. tl1.Color = ColorSequence.new(two.Color)
  5174. tl2.Color = ColorSequence.new(two.Color)
  5175. tl3.Color = ColorSequence.new(two.Color)
  5176. for i, v in pairs(m:GetChildren()) do
  5177. if v:IsA("Part") then
  5178. v.BrickColor = three
  5179. v.Material = "Ice"
  5180. end
  5181. end
  5182. for i, v in pairs(m2:GetChildren()) do
  5183. if v:IsA("Part") then
  5184. v.BrickColor = four
  5185. v.Material = "Ice"
  5186. end
  5187. end
  5188. for i, v in pairs(m3:GetChildren()) do
  5189. if v:IsA("Part") then
  5190. v.BrickColor = five
  5191. v.Material = "Neon"
  5192. end
  5193. end
  5194. for i, v in pairs(extrawingmod1:GetChildren()) do
  5195. if v:IsA("Part") then
  5196. v.Transparency = exonetran
  5197. v.BrickColor = exone
  5198. v.Material = "Neon"
  5199. end
  5200. end
  5201. for i, v in pairs(extrawingmod2:GetChildren()) do
  5202. if v:IsA("Part") then
  5203. v.Transparency = extwotran
  5204. v.BrickColor = extwo
  5205. v.Material = "Neon"
  5206. end
  5207. end
  5208. end
  5209.  
  5210.  
  5211. function normalmog()
  5212. attack = true
  5213. hum.WalkSpeed = 0
  5214. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  5215. for i = 0,6,0.1 do
  5216. swait()
  5217. 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)
  5218. 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)
  5219. 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)
  5220. 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)
  5221. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5222. 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)
  5223. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5224. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5225. end
  5226. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  5227. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  5228. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  5229. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  5230. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  5231. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  5232. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  5233. rainbowmode = false
  5234. chaosmode = false
  5235. ModeOfGlitch = 1
  5236. storehumanoidWS = 16
  5237. newTheme("rbxassetid://1255569288",48.6,1,1.25)
  5238. RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  5239. CameraEnshaking(5,2.5)
  5240. MAINRUINCOLOR = BrickColor.new("Really red")
  5241. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5242. for i = 0, 49 do
  5243. 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)
  5244. end
  5245. for i = 0, 24 do
  5246. 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)
  5247. 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"))
  5248. end
  5249. for i = 0,3,0.1 do
  5250. 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)
  5251. end
  5252. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  5253. for i = 0,2,0.1 do
  5254. swait()
  5255. 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)
  5256. 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)
  5257. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  5258. 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)
  5259. 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)
  5260. 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)
  5261. end
  5262. hum.WalkSpeed = storehumanoidWS
  5263. attack = false
  5264. end
  5265.  
  5266. function attackone()
  5267. attack = true
  5268. local keptcolor = MAINRUINCOLOR
  5269. for i = 0,1,0.1 do
  5270. swait()
  5271. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  5272. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  5273. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  5274. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5275. 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)
  5276. 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)
  5277. end
  5278. local distlook = 5
  5279. coroutine.resume(coroutine.create(function()
  5280. for i = 0, 4 do
  5281. swait(2)
  5282. CameraEnshaking(2,3)
  5283. local hite = Instance.new("Part", char)
  5284. hite.Anchored = true
  5285. hite.CanCollide = false
  5286. hite.FormFactor = 3
  5287. hite.Name = "Ring"
  5288. hite.Material = "Neon"
  5289. hite.Size = Vector3.new(1, 1, 1)
  5290. hite.Transparency = 1
  5291. hite.TopSurface = 0
  5292. hite.BottomSurface = 0
  5293. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  5294. 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)
  5295. 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)
  5296. 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)
  5297. 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)
  5298. MagniDamage(hite, 9, 10,25, 0, "Normal")
  5299. for i = 0, 14 do
  5300. local rsiz = math.random(5,20)
  5301. 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)
  5302. end
  5303. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  5304. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  5305. game:GetService("Debris"):AddItem(hite, 5)
  5306. distlook = distlook + 10
  5307. end
  5308. end))
  5309. for i = 0,1,0.1 do
  5310. swait()
  5311. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  5312. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  5313. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  5314. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  5315. 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)
  5316. 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)
  5317. end
  5318. attack = false
  5319. end
  5320.  
  5321. function attacktwo()
  5322. attack = true
  5323. hum.WalkSpeed = 2
  5324. local keptcolor = MAINRUINCOLOR
  5325. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5326. 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)
  5327. 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)
  5328. for i = 0, 14 do
  5329. 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)
  5330. end
  5331. for i = 0,1,0.1 do
  5332. swait()
  5333. 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)
  5334. 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)
  5335. 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)
  5336. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5337. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  5338. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  5339. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5340. end
  5341. for i = 0, 1 do
  5342. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  5343. for i = 0,1,0.6 do
  5344. swait()
  5345. 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)
  5346. 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"))
  5347. 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)
  5348. 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)
  5349. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5350. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5351. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5352. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5353. end
  5354. for i = 0,1,0.6 do
  5355. swait()
  5356. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  5357. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  5358. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  5359. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  5360. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  5361. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5362. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5363. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5364. end
  5365. for i = 0,1,0.6 do
  5366. swait()
  5367. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  5368. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  5369. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  5370. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  5371. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  5372. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5373. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5374. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5375. end
  5376. for i = 0,1,0.6 do
  5377. swait()
  5378. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  5379. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  5380. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  5381. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  5382. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  5383. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5384. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5385. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5386. end
  5387. local rot = 0
  5388. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  5389. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5390. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5391. CreateMesh(dis,"Sphere",10,1,10)
  5392. local at1 = Instance.new("Attachment",dis)
  5393. at1.Position = vt(-5,0,0)
  5394. local at2 = Instance.new("Attachment",dis)
  5395. at2.Position = vt(5,0,0)
  5396. local trl = Instance.new('Trail',wed)
  5397. trl.Attachment0 = at1
  5398. trl.Attachment1 = at2
  5399. trl.Texture = "rbxassetid://1049219073"
  5400. trl.LightEmission = 1
  5401. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5402. trl.Color = ColorSequence.new(dis.Color)
  5403. trl.Lifetime = 0.6
  5404. local a = Instance.new("Part",workspace)
  5405. a.Name = "Direction"
  5406. a.Anchored = true
  5407. a.BrickColor = bc("Bright red")
  5408. a.Material = "Neon"
  5409. a.Transparency = 1
  5410. a.CanCollide = false
  5411. local ray = Ray.new(
  5412. dis.CFrame.p, -- origin
  5413. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5414. )
  5415. local ignore = dis
  5416. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5417. a.BottomSurface = 10
  5418. a.TopSurface = 10
  5419. local distance = (dis.CFrame.p - position).magnitude
  5420. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5421. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5422. dis.CFrame = a.CFrame
  5423. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5424. a:Destroy()
  5425. local bv = Instance.new("BodyVelocity")
  5426. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5427. bv.velocity = dis.CFrame.lookVector*250
  5428. bv.Parent = dis
  5429. game:GetService("Debris"):AddItem(dis, 5)
  5430. local hitted = false
  5431. coroutine.resume(coroutine.create(function()
  5432. dis.Touched:connect(function(hit)
  5433. if hitted == false and hit.Parent ~= char then
  5434. hitted = true
  5435. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5436. MagniDamage(dis, 30, 33,56, 0, "Normal")
  5437. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5438. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5439. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5440. coroutine.resume(coroutine.create(function()
  5441. for i = 0, 9 do
  5442. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5443. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5444. local at1 = Instance.new("Attachment",disr)
  5445. at1.Position = vt(-5,0,0)
  5446. local at2 = Instance.new("Attachment",disr)
  5447. at2.Position = vt(5,0,0)
  5448. local trl = Instance.new('Trail',disr)
  5449. trl.Attachment0 = at1
  5450. trl.FaceCamera = true
  5451. trl.Attachment1 = at2
  5452. trl.Texture = "rbxassetid://2342682798"
  5453. trl.LightEmission = 1
  5454. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5455. trl.Color = ColorSequence.new(keptcolor.Color)
  5456. trl.Lifetime = 0.5
  5457. local bv = Instance.new("BodyVelocity")
  5458. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5459. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5460. bv.Parent = disr
  5461. local val = 0
  5462. coroutine.resume(coroutine.create(function()
  5463. swait(30)
  5464. for i = 0, 9 do
  5465. swait()
  5466. val = val + 0.1
  5467. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5468. end
  5469. game:GetService("Debris"):AddItem(disr, 3)
  5470. end))
  5471. end
  5472. local eff = Instance.new("ParticleEmitter",dis)
  5473. eff.Texture = "rbxassetid://2273224484"
  5474. eff.LightEmission = 1
  5475. eff.Color = ColorSequence.new(keptcolor.Color)
  5476. eff.Rate = 500000
  5477. eff.Lifetime = NumberRange.new(0.5,2)
  5478. 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)})
  5479. 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)})
  5480. eff.Speed = NumberRange.new(20,250)
  5481. eff.Drag = 5
  5482. eff.Rotation = NumberRange.new(-500,500)
  5483. eff.VelocitySpread = 9000
  5484. eff.RotSpeed = NumberRange.new(-50,50)
  5485. wait(0.25)
  5486. eff.Enabled = false
  5487. end))
  5488. for i = 0, 9 do
  5489. 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"))
  5490. end
  5491. for i = 0, 19 do
  5492. 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)
  5493. end
  5494. coroutine.resume(coroutine.create(function()
  5495. for i = 0, 19 do
  5496. swait()
  5497. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5498. end
  5499. hum.CameraOffset = vt(0,0,0)
  5500. end))
  5501. dis.Anchored = true
  5502. dis.Transparency = 1
  5503. wait(8)
  5504. dis:Destroy()
  5505. end
  5506. end)
  5507. end))
  5508. rot = rot - 15
  5509. end
  5510. for i = 0,2,0.1 do
  5511. swait()
  5512. 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)
  5513. 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)
  5514. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5515. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  5516. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5517. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5518. end
  5519. attack = false
  5520. hum.WalkSpeed = storehumanoidWS
  5521. end
  5522.  
  5523. function attackthree()
  5524. attack = true
  5525. local keptcolor = MAINRUINCOLOR
  5526. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  5527. for i = 0,2,0.1 do
  5528. swait()
  5529. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5530. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  5531. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  5532. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  5533. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  5534. 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)
  5535. 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)
  5536. end
  5537. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  5538. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  5539. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  5540. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  5541. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5542. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  5543. for i = 0, 24 do
  5544. 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"))
  5545. end
  5546. for i = 0,4,0.1 do
  5547. swait()
  5548. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  5549. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5550. CreateMesh(dis,"Sphere",1,1,1)
  5551. dis.Anchored = true
  5552. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5553. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5554. coroutine.resume(coroutine.create(function()
  5555. swait(30)
  5556. dis.Transparency = 1
  5557. coroutine.resume(coroutine.create(function()
  5558. for i = 0, 19 do
  5559. swait()
  5560. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5561. end
  5562. hum.CameraOffset = vt(0,0,0)
  5563. end))
  5564. coroutine.resume(coroutine.create(function()
  5565. local eff = Instance.new("ParticleEmitter",dis)
  5566. eff.Texture = "rbxassetid://2273224484"
  5567. eff.LightEmission = 1
  5568. eff.Color = ColorSequence.new(dis.Color)
  5569. eff.Rate = 500000
  5570. eff.Lifetime = NumberRange.new(0.5,2)
  5571. 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)})
  5572. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5573. eff.Speed = NumberRange.new(50,450)
  5574. eff.Drag = 5
  5575. eff.Rotation = NumberRange.new(-500,500)
  5576. eff.VelocitySpread = 9000
  5577. eff.RotSpeed = NumberRange.new(-50,50)
  5578. wait(0.125)
  5579. eff.Enabled = false
  5580. end))
  5581. MagniDamage(dis, 30, 45,50, 0, "Normal")
  5582. for i = 0, 2 do
  5583. 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)
  5584. end
  5585. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  5586. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  5587. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  5588. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  5589. end))
  5590. game:GetService("Debris"):AddItem(dis, 5)
  5591. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  5592. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  5593. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  5594. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  5595. 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)
  5596. 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)
  5597. end
  5598. attack = false
  5599. end
  5600. ----------------------------------- Abilities
  5601.  
  5602. function ExtinctiveHeartbreak()
  5603. local targetted = nil
  5604. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5605. targetted = mouse.Target.Parent
  5606. end
  5607. if targetted ~= nil then
  5608. attack = true
  5609. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5610. for i = 0, 9 do
  5611. 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)
  5612. end
  5613. for i = 0, 24 do
  5614. 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)
  5615. end
  5616. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5617. local originalpos = root.CFrame
  5618. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5619. for i = 0, 9 do
  5620. 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)
  5621. end
  5622. for i = 0, 24 do
  5623. 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)
  5624. end
  5625. hum.WalkSpeed = 0
  5626. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5627. local radm = math.random(1,3)
  5628. if radm == 1 then
  5629. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  5630. elseif radm == 2 then
  5631. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  5632. elseif radm == 3 then
  5633. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  5634. end
  5635. for i = 0,2,0.1 do
  5636. swait()
  5637. 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)
  5638. 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)
  5639. 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)
  5640. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5641. 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)
  5642. 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)
  5643. end
  5644. CFuncs["Sound"].Create("rbxassetid://153092227", root, 0.5,1)
  5645. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 2, 1,0,10,0.25,0.5,1)
  5646. for i = 0,2,0.1 do
  5647. swait()
  5648. coroutine.resume(coroutine.create(function()
  5649. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5650. for i,v in pairs(targetted:GetChildren()) do
  5651. if v:IsA("Part") or v:IsA("MeshPart") then
  5652. v.Velocity = vt(0,0,0)
  5653. end
  5654. end
  5655. end))
  5656. 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)
  5657. 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)
  5658. 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)
  5659. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5660. 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)
  5661. 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)
  5662. end
  5663. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 0.5, 1,0,10,0.25,0.5,1)
  5664. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 0.5, 0.9,0,10,0.25,0.5,1)
  5665. for i = 0, 1 do
  5666. CFuncs["EchoSound"].Create("rbxassetid://159882598", char, 2, 1,0.1,10,0.15,0.5,1)
  5667. end
  5668. CFuncs["EchoSound"].Create("rbxassetid://159882598", root, 15, 1,0.1,10,0.15,0.5,1)
  5669. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  5670. for i = 0,4,0.1 do
  5671. swait()
  5672. coroutine.resume(coroutine.create(function()
  5673. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5674. 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)))
  5675. local at1 = Instance.new("Attachment",dis)
  5676. at1.Position = vt(-25000,0,0)
  5677. local at2 = Instance.new("Attachment",dis)
  5678. at2.Position = vt(25000,0,0)
  5679. local trl = Instance.new('Trail',dis)
  5680. trl.Attachment0 = at1
  5681. trl.FaceCamera = true
  5682. trl.Attachment1 = at2
  5683. trl.Texture = "rbxassetid://1049219073"
  5684. trl.LightEmission = 1
  5685. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5686. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  5687. trl.Lifetime = 5
  5688. local bv = Instance.new("BodyVelocity")
  5689. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5690. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5691. bv.Parent = dis
  5692. game:GetService("Debris"):AddItem(dis, 5)
  5693. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5694. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  5695. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  5696. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  5697. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  5698. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  5699. 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)
  5700. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  5701. for i = 0, 2 do
  5702. 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"))
  5703. end
  5704. 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)
  5705. for i,v in pairs(targetted:GetChildren()) do
  5706. if v:IsA("Part") or v:IsA("MeshPart") then
  5707. v.Velocity = vt(0,0,0)
  5708. end
  5709. end
  5710. end))
  5711. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  5712. 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)
  5713. 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)
  5714. 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)
  5715. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  5716. 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)
  5717. 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)
  5718. end
  5719. hum.CameraOffset = vt(0,0,0)
  5720. for i = 0, 49 do
  5721. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5722. 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)))
  5723. local at1 = Instance.new("Attachment",dis)
  5724. at1.Position = vt(-50000,0,0)
  5725. local at2 = Instance.new("Attachment",dis)
  5726. at2.Position = vt(50000,0,0)
  5727. local trl = Instance.new('Trail',dis)
  5728. trl.Attachment0 = at1
  5729. trl.FaceCamera = true
  5730. trl.Attachment1 = at2
  5731. trl.Texture = "rbxassetid://1049219073"
  5732. trl.LightEmission = 1
  5733. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5734. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  5735. trl.Lifetime = 5
  5736. local bv = Instance.new("BodyVelocity")
  5737. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5738. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5739. bv.Parent = dis
  5740. game:GetService("Debris"):AddItem(dis, 5)
  5741. end
  5742. for i = 0, 49 do
  5743. 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)
  5744. 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"))
  5745. end
  5746. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  5747. for i = 0, 1 do
  5748. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  5749. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  5750. end
  5751. for i = 0, 4 do
  5752. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  5753. end
  5754. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  5755. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  5756. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  5757. dmg(targetted)
  5758. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5759. for i = 0, 9 do
  5760. 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)
  5761. end
  5762. for i = 0, 24 do
  5763. 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)
  5764. end
  5765. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5766. root.CFrame = originalpos
  5767. for i = 0, 9 do
  5768. 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)
  5769. end
  5770. for i = 0, 24 do
  5771. 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)
  5772. end
  5773. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5774. attack = false
  5775. hum.WalkSpeed = storehumanoidWS
  5776. end
  5777. end
  5778.  
  5779. function CorruptionEvent()
  5780. attack = true
  5781. hum.WalkSpeed = 0
  5782. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5783. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5784. local keptcolor = MAINRUINCOLOR
  5785. for i = 0,4,0.1 do
  5786. swait()
  5787. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5788. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5789. 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)
  5790. 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)
  5791. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  5792. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  5793. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  5794. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5795. end
  5796. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5797. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  5798. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  5799. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5800. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5801. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5802. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5803. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  5804. hum.CameraOffset = vt(0,0,0)
  5805. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5806. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5807. for i = 0, 24 do
  5808. 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"))
  5809. end
  5810. local rrot = 0
  5811. coroutine.resume(coroutine.create(function()
  5812. for i = 0, 4 do
  5813. rrot = rrot + 45
  5814. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5815. xa.Anchored = true
  5816. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5817. xb.Anchored = true
  5818. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5819. xc.Anchored = true
  5820. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5821. xd.Anchored = true
  5822. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  5823. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  5824. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  5825. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  5826. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  5827. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  5828. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  5829. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  5830. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  5831. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  5832. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  5833. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  5834. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  5835. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  5836. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  5837. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  5838. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5839. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5840. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5841. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5842. for i = 0, 9 do
  5843. 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"))
  5844. 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"))
  5845. 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"))
  5846. 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"))
  5847. end
  5848. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5849. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5850. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5851. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5852. 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)
  5853. 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)
  5854. 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)
  5855. 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)
  5856. 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))
  5857. 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))
  5858. 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))
  5859. 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))
  5860. game:GetService("Debris"):AddItem(xa, 5)
  5861. game:GetService("Debris"):AddItem(xb, 5)
  5862. game:GetService("Debris"):AddItem(xc, 5)
  5863. game:GetService("Debris"):AddItem(xd, 5)
  5864. coroutine.resume(coroutine.create(function()
  5865. for i = 0, 19 do
  5866. swait()
  5867. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5868. end
  5869. hum.CameraOffset = vt(0,0,0)
  5870. end))
  5871. swait(9)
  5872. end
  5873. end))
  5874. for i = 0,2,0.1 do
  5875. swait()
  5876. 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)
  5877. 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)
  5878. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  5879. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  5880. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  5881. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5882. end
  5883. attack = false
  5884. hum.WalkSpeed = storehumanoidWS
  5885. end
  5886.  
  5887. function EndGROUND()
  5888. attack = true
  5889. hum.WalkSpeed = 0
  5890. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  5891. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5892. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5893. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  5894. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  5895. local keptcolor = MAINRUINCOLOR
  5896. for i = 0,4,0.1 do
  5897. swait()
  5898. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5899. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5900. 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"))
  5901. 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)
  5902. 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)
  5903. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  5904. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  5905. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  5906. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5907. end
  5908. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5909. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5910. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5911. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5912. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  5913. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  5914. coroutine.resume(coroutine.create(function()
  5915. local shval = 10
  5916. for i = 0, 99 do
  5917. swait()
  5918. shval = shval - 0.1
  5919. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  5920. end
  5921. hum.CameraOffset = vt(0,0,0)
  5922. end))
  5923. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5924. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5925. for i = 0, 24 do
  5926. 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"))
  5927. end
  5928. local rrot = 0
  5929. local xam = 1
  5930. coroutine.resume(coroutine.create(function()
  5931. for i = 0, 14 do
  5932. --swait()
  5933. rrot = rrot + 40*xam
  5934. xam = xam + 0.25
  5935. local bonus = xam
  5936. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  5937. xa.Anchored = true
  5938. xa.Color = Color3.new(0,0,0)
  5939. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  5940. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  5941. local xc = 0
  5942. coroutine.resume(coroutine.create(function()
  5943. for i = 0, 99 do
  5944. swait()
  5945. xc = xc + 0.01
  5946. xa.Color = Color3.new(xc,0,0)
  5947. end
  5948. xa.Transparency = 1
  5949. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  5950. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  5951. for i = 0, 9 do
  5952. 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"))
  5953. end
  5954. 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)
  5955. 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)
  5956. 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))
  5957. game:GetService("Debris"):AddItem(xa, 5)
  5958. coroutine.resume(coroutine.create(function()
  5959. for i = 0, 19 do
  5960. swait()
  5961. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5962. end
  5963. hum.CameraOffset = vt(0,0,0)
  5964. end))
  5965. end))
  5966. end
  5967. end))
  5968. for i = 0,2,0.1 do
  5969. swait()
  5970. 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)
  5971. 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)
  5972. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  5973. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  5974. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  5975. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5976. end
  5977. attack = false
  5978. hum.WalkSpeed = storehumanoidWS
  5979. end
  5980.  
  5981. function HeavenlyDisk()
  5982. attack = true
  5983. hum.WalkSpeed = 2
  5984. local keptcolor = MAINRUINCOLOR
  5985. local radm = math.random(1,3)
  5986. if radm == 1 then
  5987. bosschatfunc("Dont make this too easy for you.",MAINRUINCOLOR.Color,1)
  5988. elseif radm == 2 then
  5989. bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
  5990. elseif radm == 3 then
  5991. bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  5992. end
  5993. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5994. CFuncs["EchoSound"].Create("rbxassetid://1625448638", char, 4, 1,0,10,0.15,0.5,1)
  5995. 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)
  5996. 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)
  5997. for i = 0, 14 do
  5998. 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)
  5999. end
  6000. for i = 0,2,0.1 do
  6001. swait()
  6002. 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)
  6003. 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)
  6004. 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)
  6005. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  6006. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  6007. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6008. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  6009. end
  6010. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  6011. for i = 0,1,0.6 do
  6012. swait()
  6013. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  6014. 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"))
  6015. 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)
  6016. 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)
  6017. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  6018. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6019. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6020. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6021. end
  6022. for i = 0,1,0.6 do
  6023. swait()
  6024. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  6025. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  6026. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  6027. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  6028. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  6029. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6030. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6031. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6032. end
  6033. for i = 0,1,0.6 do
  6034. swait()
  6035. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  6036. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  6037. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  6038. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  6039. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  6040. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6041. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6042. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6043. end
  6044. for i = 0,1,0.6 do
  6045. swait()
  6046. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  6047. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  6048. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  6049. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  6050. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  6051. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6052. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6053. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6054. end
  6055. local rot = 15
  6056. for i = 0, 2 do
  6057. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  6058. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  6059. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  6060. CreateMesh(dis,"Sphere",10,1,10)
  6061. local at1 = Instance.new("Attachment",dis)
  6062. at1.Position = vt(-5,0,0)
  6063. local at2 = Instance.new("Attachment",dis)
  6064. at2.Position = vt(5,0,0)
  6065. local trl = Instance.new('Trail',wed)
  6066. trl.Attachment0 = at1
  6067. trl.Attachment1 = at2
  6068. trl.Texture = "rbxassetid://1049219073"
  6069. trl.LightEmission = 1
  6070. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6071. trl.Color = ColorSequence.new(dis.Color)
  6072. trl.Lifetime = 0.6
  6073. local a = Instance.new("Part",workspace)
  6074. a.Name = "Direction"
  6075. a.Anchored = true
  6076. a.BrickColor = bc("Bright red")
  6077. a.Material = "Neon"
  6078. a.Transparency = 1
  6079. a.CanCollide = false
  6080. local ray = Ray.new(
  6081. dis.CFrame.p, -- origin
  6082. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6083. )
  6084. local ignore = dis
  6085. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6086. a.BottomSurface = 10
  6087. a.TopSurface = 10
  6088. local distance = (dis.CFrame.p - position).magnitude
  6089. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6090. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6091. dis.CFrame = a.CFrame
  6092. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6093. a:Destroy()
  6094. local bv = Instance.new("BodyVelocity")
  6095. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6096. bv.velocity = dis.CFrame.lookVector*250
  6097. bv.Parent = dis
  6098. game:GetService("Debris"):AddItem(dis, 5)
  6099. local hitted = false
  6100. coroutine.resume(coroutine.create(function()
  6101. dis.Touched:connect(function(hit)
  6102. if hitted == false and hit.Parent ~= char then
  6103. hitted = true
  6104. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  6105. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  6106. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  6107. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  6108. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  6109. coroutine.resume(coroutine.create(function()
  6110. for i = 0, 9 do
  6111. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6112. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6113. local at1 = Instance.new("Attachment",disr)
  6114. at1.Position = vt(-2,0,0)
  6115. local at2 = Instance.new("Attachment",disr)
  6116. at2.Position = vt(2,0,0)
  6117. local trl = Instance.new('Trail',disr)
  6118. trl.Attachment0 = at1
  6119. trl.FaceCamera = true
  6120. trl.Attachment1 = at2
  6121. trl.Texture = "rbxassetid://2342682798"
  6122. trl.LightEmission = 1
  6123. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6124. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6125. trl.Lifetime = 0.5
  6126. local bv = Instance.new("BodyVelocity")
  6127. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6128. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6129. bv.Parent = disr
  6130. local val = 0
  6131. coroutine.resume(coroutine.create(function()
  6132. swait(30)
  6133. for i = 0, 9 do
  6134. swait()
  6135. val = val + 0.1
  6136. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6137. end
  6138. game:GetService("Debris"):AddItem(disr, 3)
  6139. end))
  6140. end
  6141. local eff = Instance.new("ParticleEmitter",dis)
  6142. eff.Texture = "rbxassetid://2273224484"
  6143. eff.LightEmission = 1
  6144. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6145. eff.Rate = 500000
  6146. eff.Lifetime = NumberRange.new(0.5,2)
  6147. 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)})
  6148. 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)})
  6149. eff.Speed = NumberRange.new(20,250)
  6150. eff.Drag = 5
  6151. eff.Rotation = NumberRange.new(-500,500)
  6152. eff.VelocitySpread = 9000
  6153. eff.RotSpeed = NumberRange.new(-50,50)
  6154. wait(0.25)
  6155. eff.Enabled = false
  6156. end))
  6157. for i = 0, 9 do
  6158. 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"))
  6159. end
  6160. for i = 0, 19 do
  6161. 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)
  6162. end
  6163. coroutine.resume(coroutine.create(function()
  6164. for i = 0, 19 do
  6165. swait()
  6166. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6167. end
  6168. hum.CameraOffset = vt(0,0,0)
  6169. end))
  6170. dis.Anchored = true
  6171. dis.Transparency = 1
  6172. wait(8)
  6173. dis:Destroy()
  6174. end
  6175. end)
  6176. end))
  6177. rot = rot - 15
  6178. end
  6179. for i = 0,2,0.1 do
  6180. swait()
  6181. 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)
  6182. 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)
  6183. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6184. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  6185. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6186. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6187. end
  6188. attack = false
  6189. hum.WalkSpeed = storehumanoidWS
  6190. end
  6191.  
  6192. function FuckMeSidewaysAndCallMeGay()
  6193. local whom = (mouse.Target and mouse.Target.Parent)
  6194. --[[local fuckThisBoi = false
  6195. if(whom and whom:FindFirstChildOfClass'Humanoid')then
  6196. for _,v in next, ODers do
  6197. if(v == whom)then
  6198. fuckThisBoi = false
  6199. end
  6200. end
  6201. end
  6202. if(not fuckThisBoi)then
  6203. attack = false
  6204. warn'to fuck that boi you need to target them with z'
  6205. else]]
  6206. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso')then
  6207. local hed = whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso'
  6208. local hum = whom:FindFirstChildOfClass'Humanoid'
  6209. local ocf = RootPart.CFrame
  6210. hum.WalkSpeed = 0
  6211.  
  6212. hed.Anchored = true
  6213. RootPart.Anchored = true
  6214. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6215. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6216. for i = 0, 9 do
  6217. 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("Pink"),0)
  6218. end
  6219. for i = 0, 24 do
  6220. 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("Pink"),0)
  6221. end
  6222. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  6223. attack = true
  6224. bosschatfunc("I love you <3",MAINRUINCOLOR.Color,1)
  6225. local speed = 1
  6226. local heck;
  6227. local stopitlol = false;
  6228. heck = mouse.KeyUp:connect(function(k)
  6229. if(k:lower() == 'x')then
  6230. stopitlol = true
  6231. heck:disconnect()
  6232. end
  6233. end)
  6234. local times = 0
  6235. repeat swait()
  6236. speed = speed - .01
  6237. times = times + 1
  6238. if(speed < .1)then
  6239. speed = .1
  6240. end
  6241. for i = 0, speed, .05 do
  6242. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6243. swait()
  6244. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  6245. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6246. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  6247. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6248. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6249. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6250. end
  6251. CameraEnshaking(5,5)
  6252.  
  6253. CFuncs["Sound"].Create("rbxassetid://836796971", Torso, 10,1)
  6254.  
  6255. for i = 0, speed, .05 do
  6256. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6257. swait()
  6258. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  6259. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6260. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  6261. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6262. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6263. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6264. end
  6265. until stopitlol and times >= 3
  6266. for i = 1, 3 do
  6267. for i = 0, 1.5, .05 do
  6268. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6269. swait()
  6270. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  6271. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6272. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  6273. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6274. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6275. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6276. end
  6277. CameraEnshaking(5,25)
  6278.  
  6279. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  6280.  
  6281.  
  6282. coroutine.resume(coroutine.create(function()
  6283. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  6284. bld.LightEmission = 0.1
  6285. bld.Texture = "rbxassetid://284205403"
  6286. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6287. bld.Rate = 500
  6288. bld.Lifetime = NumberRange.new(1)
  6289. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6290. bld.Acceleration = vt(0,-25,0)
  6291. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6292. bld.Speed = NumberRange.new(10,50)
  6293. bld.EmissionDirection = "Back"
  6294. bld.VelocitySpread = 25
  6295. bld.Rotation = NumberRange.new(-500,500)
  6296. bld.RotSpeed = NumberRange.new(-500,500)
  6297. bld.Enabled = false
  6298. bld:Emit(250)
  6299. end))
  6300. coroutine.resume(coroutine.create(function()
  6301. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  6302. bld.LightEmission = 0.1
  6303. bld.Texture = "rbxassetid://284205403"
  6304. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6305. bld.Rate = 500
  6306. bld.Lifetime = NumberRange.new(1)
  6307. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6308. bld.Acceleration = vt(0,-25,0)
  6309. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6310. bld.Speed = NumberRange.new(10,50)
  6311. bld.EmissionDirection = "Back"
  6312. bld.VelocitySpread = 25
  6313. bld.Rotation = NumberRange.new(-500,500)
  6314. bld.RotSpeed = NumberRange.new(-500,500)
  6315. bld.Enabled = false
  6316. bld:Emit(250)
  6317. end))
  6318. for i = 0, 1.5, .05 do
  6319. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6320. swait()
  6321. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  6322. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6323. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  6324. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6325. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6326. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6327. end
  6328. end
  6329. for i = 0, 4, .05 do
  6330. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6331. swait()
  6332. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(100),0,0)*angles(0,math.rad(90),0),.1)
  6333. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6334. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(-50),0,0)*RootCF,.1)
  6335. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  6336. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  6337. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  6338. end
  6339. CameraEnshaking(5,25)
  6340. CFuncs["Sound"].Create("rbxassetid://429400881", hed, 3,1)
  6341. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  6342.  
  6343. dmg(whom)
  6344. coroutine.resume(coroutine.create(function()
  6345. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  6346. bld.LightEmission = 0.1
  6347. bld.Texture = "rbxassetid://284205403"
  6348. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6349. bld.Rate = 500
  6350. bld.Lifetime = NumberRange.new(1)
  6351. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6352. bld.Acceleration = vt(0,-25,0)
  6353. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6354. bld.Speed = NumberRange.new(10,50)
  6355. bld.EmissionDirection = "Back"
  6356. bld.VelocitySpread = 25
  6357. bld.Rotation = NumberRange.new(-500,500)
  6358. bld.RotSpeed = NumberRange.new(-500,500)
  6359. bld.Enabled = true
  6360. end))
  6361. coroutine.resume(coroutine.create(function()
  6362. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  6363. bld.LightEmission = 0.1
  6364. bld.Texture = "rbxassetid://284205403"
  6365. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6366. bld.Rate = 500
  6367. bld.Lifetime = NumberRange.new(1)
  6368. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6369. bld.Acceleration = vt(0,-25,0)
  6370. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6371. bld.Speed = NumberRange.new(10,50)
  6372. bld.EmissionDirection = "Back"
  6373. bld.VelocitySpread = 25
  6374. bld.Rotation = NumberRange.new(-500,500)
  6375. bld.RotSpeed = NumberRange.new(-500,500)
  6376. bld.Enabled = true
  6377. end))
  6378. for i = 0, 3, .05 do
  6379. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6380. swait()
  6381. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-100),0,0)*angles(0,math.rad(90),0),.4)
  6382. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6383. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(50),0,0)*RootCF,.4)
  6384. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6385. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6386. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6387. end
  6388.  
  6389. RootPart.CFrame = ocf
  6390. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6391. for i = 0, 9 do
  6392. 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("Pink"),0)
  6393. end
  6394. for i = 0, 24 do
  6395. 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("Pink"),0)
  6396. end
  6397. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  6398. RootPart.Anchored = false
  6399. Humanoid.WalkSpeed = storehumanoidWS
  6400. bosschatfunc("Hehehehehe <3",MAINRUINCOLOR.Color,0.5)
  6401. attack = false
  6402. end
  6403. end
  6404.  
  6405. function RapidBurst()
  6406. attack = true
  6407. hum.WalkSpeed = 0
  6408. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6409. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  6410. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  6411. bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,1.8)
  6412. bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,1.9)
  6413. bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2)
  6414. local keptcolor = MAINRUINCOLOR
  6415. for i = 0,8,0.1 do
  6416. swait()
  6417. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6418. 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())
  6419. 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)
  6420. 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)
  6421. 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)
  6422. 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)
  6423. 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)
  6424. 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)
  6425. 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)
  6426. end
  6427. for i = 0, 99 do
  6428. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6429. 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)))
  6430. local at1 = Instance.new("Attachment",dis)
  6431. at1.Position = vt(-25000,0,0)
  6432. local at2 = Instance.new("Attachment",dis)
  6433. at2.Position = vt(25000,0,0)
  6434. local trl = Instance.new('Trail',dis)
  6435. trl.Attachment0 = at1
  6436. trl.FaceCamera = true
  6437. trl.Attachment1 = at2
  6438. trl.Texture = "rbxassetid://1049219073"
  6439. trl.LightEmission = 1
  6440. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6441. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6442. trl.Lifetime = 5
  6443. local bv = Instance.new("BodyVelocity")
  6444. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6445. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6446. bv.Parent = dis
  6447. game:GetService("Debris"):AddItem(dis, 5)
  6448. end
  6449. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6450. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6451. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6452. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6453. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6454. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6455. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6456. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6457. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6458. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6459. hum.CameraOffset = vt(0,0,0)
  6460. for i = 0, 24 do
  6461. 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())
  6462. end
  6463. local distam = 0
  6464. coroutine.resume(coroutine.create(function()
  6465. for i = 0, 99 do
  6466. wait()
  6467. distam = distam + 1
  6468. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6469. xa.Anchored = true
  6470. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6471. game:GetService("Debris"):AddItem(xa, 5)
  6472. for i = 0, 4 do
  6473. 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())
  6474. end
  6475. coroutine.resume(coroutine.create(function()
  6476. local eff = Instance.new("ParticleEmitter",xa)
  6477. eff.Texture = "rbxassetid://2273224484"
  6478. eff.LightEmission = 1
  6479. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6480. eff.Rate = 500000
  6481. eff.Lifetime = NumberRange.new(1,3)
  6482. 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)})
  6483. 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)})
  6484. eff.Speed = NumberRange.new(50,500)
  6485. eff.Drag = 5
  6486. eff.Rotation = NumberRange.new(-500,500)
  6487. eff.VelocitySpread = 9000
  6488. eff.RotSpeed = NumberRange.new(-50,50)
  6489. wait(0.25)
  6490. eff.Enabled = false
  6491. end))
  6492. coroutine.resume(coroutine.create(function()
  6493. for i = 0, 19 do
  6494. swait()
  6495. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6496. end
  6497. hum.CameraOffset = vt(0,0,0)
  6498. end))
  6499. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6500. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6501. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6502. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6503. end
  6504. end))
  6505. attack = false
  6506. hum.WalkSpeed = storehumanoidWS
  6507. end
  6508.  
  6509.  
  6510. function FallenOrbs()
  6511. attack = true
  6512. hum.WalkSpeed = 2
  6513. local keptcolor = MAINRUINCOLOR
  6514. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  6515. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  6516. local radm = math.random(1,3)
  6517. if radm == 1 then
  6518. bosschatfunc("This wont be easy to you.",MAINRUINCOLOR.Color,1)
  6519. elseif radm == 2 then
  6520. bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
  6521. elseif radm == 3 then
  6522. bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
  6523. end
  6524. coroutine.resume(coroutine.create(function()
  6525. for i = 0, 29 do
  6526. swait(2)
  6527. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  6528. dis.Anchored = true
  6529. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  6530. dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
  6531. CreateMesh(dis,"Sphere",2,2,2)
  6532. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6533. 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"))
  6534. coroutine.resume(coroutine.create(function()
  6535. wait(0.5)
  6536. dis.Anchored = false
  6537. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 9, 1,0,2,0.15,0.1,1)
  6538. local at1 = Instance.new("Attachment",dis)
  6539. at1.Position = vt(-1,0,0)
  6540. local at2 = Instance.new("Attachment",dis)
  6541. at2.Position = vt(1,0,0)
  6542. local trl = Instance.new('Trail',dis)
  6543. trl.Attachment0 = at1
  6544. trl.FaceCamera = true
  6545. trl.Attachment1 = at2
  6546. trl.Texture = "rbxassetid://1049219073"
  6547. trl.LightEmission = 1
  6548. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6549. trl.Color = ColorSequence.new(dis.Color)
  6550. trl.Lifetime = 0.6
  6551. local a = Instance.new("Part",workspace)
  6552. a.Name = "Direction"
  6553. a.Anchored = true
  6554. a.BrickColor = bc("Bright red")
  6555. a.Material = "Neon"
  6556. a.Transparency = 1
  6557. a.CanCollide = false
  6558. local ray = Ray.new(
  6559. dis.CFrame.p, -- origin
  6560. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6561. )
  6562. local ignore = dis
  6563. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6564. a.BottomSurface = 10
  6565. a.TopSurface = 10
  6566. local distance = (dis.CFrame.p - position).magnitude
  6567. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6568. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6569. dis.CFrame = a.CFrame
  6570. a:Destroy()
  6571. local bv = Instance.new("BodyVelocity")
  6572. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6573. bv.velocity = dis.CFrame.lookVector*500
  6574. bv.Parent = dis
  6575. game:GetService("Debris"):AddItem(dis, 5)
  6576. local hitted = false
  6577. coroutine.resume(coroutine.create(function()
  6578. dis.Touched:connect(function(hit)
  6579. if hitted == false and hit.Parent ~= char then
  6580. hitted = true
  6581. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 5, 0.8,0,10,0.15,0.5,1)
  6582. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  6583. sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
  6584. sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  6585. coroutine.resume(coroutine.create(function()
  6586. for i = 0, 4 do
  6587. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6588. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6589. local at1 = Instance.new("Attachment",disr)
  6590. at1.Position = vt(-10,0,0)
  6591. local at2 = Instance.new("Attachment",disr)
  6592. at2.Position = vt(10,0,0)
  6593. local trl = Instance.new('Trail',disr)
  6594. trl.Attachment0 = at1
  6595. trl.FaceCamera = true
  6596. trl.Attachment1 = at2
  6597. trl.Texture = "rbxassetid://2342682798"
  6598. trl.LightEmission = 1
  6599. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6600. trl.Color = ColorSequence.new(disr.Color)
  6601. trl.Lifetime = 0.5
  6602. local bv = Instance.new("BodyVelocity")
  6603. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6604. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  6605. bv.Parent = disr
  6606. local val = 0
  6607. coroutine.resume(coroutine.create(function()
  6608. swait(30)
  6609. for i = 0, 9 do
  6610. swait()
  6611. val = val + 0.1
  6612. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6613. end
  6614. game:GetService("Debris"):AddItem(disr, 3)
  6615. end))
  6616. end
  6617. local eff = Instance.new("ParticleEmitter",dis)
  6618. eff.Texture = "rbxassetid://1049219073"
  6619. eff.LightEmission = 1
  6620. eff.Color = ColorSequence.new(dis.Color)
  6621. eff.Rate = 500000
  6622. eff.Lifetime = NumberRange.new(0.5,2)
  6623. 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)})
  6624. 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)})
  6625. eff.Speed = NumberRange.new(20,250)
  6626. eff.Drag = 5
  6627. eff.Rotation = NumberRange.new(-500,500)
  6628. eff.VelocitySpread = 9000
  6629. eff.RotSpeed = NumberRange.new(-50,50)
  6630. wait(0.5)
  6631. eff.Enabled = false
  6632. end))
  6633. for i = 0, 4 do
  6634. 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"))
  6635. end
  6636. coroutine.resume(coroutine.create(function()
  6637. for i = 0, 19 do
  6638. swait()
  6639. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6640. end
  6641. hum.CameraOffset = vt(0,0,0)
  6642. end))
  6643. dis.Anchored = true
  6644. dis.Transparency = 1
  6645. wait(8)
  6646. dis:Destroy()
  6647. end
  6648. end)
  6649. end))
  6650. end))
  6651. end
  6652. end))
  6653. for i = 0,9,0.1 do
  6654. swait()
  6655. 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)
  6656. 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)
  6657. 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)
  6658. 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)
  6659. 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)
  6660. 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)
  6661. 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)
  6662. end
  6663. attack = false
  6664. hum.WalkSpeed = storehumanoidWS
  6665. end
  6666.  
  6667. function CyberSlash()
  6668. local posit = -2
  6669. attack = true
  6670. hum.WalkSpeed = 5
  6671. CFuncs["EchoSound"].Create("rbxassetid://1448033920", char, 5, 1,0,10,0.15,0.5,1)
  6672. local radm = math.random(1,3)
  6673. if radm == 1 then
  6674. bosschatfunc("FIBER!!!",MAINRUINCOLOR.Color,1)
  6675. elseif radm == 2 then
  6676. bosschatfunc("SLASHED!!",MAINRUINCOLOR.Color,1)
  6677. elseif radm == 3 then
  6678. bosschatfunc("TAKE MY CLAW!!",MAINRUINCOLOR.Color,1)
  6679. end
  6680. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  6681. for i = 0,2,0.1 do
  6682. swait()
  6683. 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)
  6684. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  6685. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  6686. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6687. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  6688. 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)
  6689. 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)
  6690. end
  6691. for i = 0, 2 do
  6692. CameraEnshaking(1,2)
  6693. local hite = Instance.new("Part", char)
  6694. hite.Anchored = true
  6695. hite.CanCollide = false
  6696. hite.FormFactor = 3
  6697. hite.Name = "Ring"
  6698. hite.Material = "Neon"
  6699. hite.Size = Vector3.new(1, 1, 1)
  6700. hite.Transparency = 1
  6701. hite.TopSurface = 0
  6702. hite.BottomSurface = 0
  6703. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  6704. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  6705. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  6706. coroutine.resume(coroutine.create(function()
  6707. for i = 0, 1 do
  6708. swait()
  6709. 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)
  6710. 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)
  6711. 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)
  6712. end
  6713. end))
  6714. 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)
  6715. MagniDamage(hite, 3, 30,40, 0, "Normal")
  6716. game:GetService("Debris"):AddItem(hite, 5)
  6717. posit = posit + 2
  6718. end
  6719. for i = 0,1,0.1 do
  6720. swait()
  6721. 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)
  6722. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  6723. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  6724. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6725. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  6726. 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)
  6727. 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)
  6728. end
  6729. for i = 0,1,0.1 do
  6730. swait()
  6731. 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)
  6732. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,1)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  6733. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  6734. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  6735. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  6736. 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)
  6737. 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)
  6738. end
  6739. posit = -6
  6740. for i = 0, 6 do
  6741. CameraEnshaking(1,3)
  6742. local hite = Instance.new("Part", char)
  6743. hite.Anchored = true
  6744. hite.CanCollide = false
  6745. hite.FormFactor = 3
  6746. hite.Name = "Ring"
  6747. hite.Material = "Neon"
  6748. hite.Size = Vector3.new(1, 1, 1)
  6749. hite.Transparency = 1
  6750. hite.TopSurface = 0
  6751. hite.BottomSurface = 0
  6752. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  6753. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  6754. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  6755. 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)
  6756. coroutine.resume(coroutine.create(function()
  6757. for i = 0, 2 do
  6758. swait()
  6759. 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)
  6760. 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)
  6761. 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)
  6762. end
  6763. end))
  6764. MagniDamage(hite, 5, 40,70, 0, "Normal")
  6765. game:GetService("Debris"):AddItem(hite, 5)
  6766. posit = posit + 2
  6767. end
  6768. for i = 0,1,0.1 do
  6769. swait()
  6770. 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)
  6771. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  6772. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  6773. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  6774. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  6775. 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)
  6776. 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)
  6777. end
  6778. hum.WalkSpeed = storehumanoidWS
  6779. attack = false
  6780. end
  6781.  
  6782. function EquinoxOrbs()
  6783. hum.WalkSpeed = 0
  6784. attack = true
  6785. local radm = math.random(1,3)
  6786. if radm == 1 then
  6787. bosschatfunc("NOX-DASH!!!",MAINRUINCOLOR.Color,1)
  6788. elseif radm == 2 then
  6789. bosschatfunc("Beware from behind",MAINRUINCOLOR.Color,1)
  6790. elseif radm == 3 then
  6791. bosschatfunc("I'M COMING!!",MAINRUINCOLOR.Color,1)
  6792. end
  6793. for i = 0,1,0.1 do
  6794. swait()
  6795. 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)
  6796. 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)
  6797. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6798. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6799. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6800. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6801. end
  6802. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6803. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6804. for i = 0, 24 do
  6805. 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"))
  6806. end
  6807. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6808. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6809. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6810. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6811. for i = 0,4,0.1 do
  6812. swait()
  6813. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  6814. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  6815. CreateMesh(dis,"Sphere",1,1,1)
  6816. dis.Anchored = true
  6817. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  6818. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  6819. CreateMesh(dis2,"Sphere",1,1,1)
  6820. dis2.Anchored = true
  6821. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  6822. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6823. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  6824. coroutine.resume(coroutine.create(function()
  6825. swait(60)
  6826. dis.Transparency = 1
  6827. dis2.Transparency = 1
  6828. coroutine.resume(coroutine.create(function()
  6829. for i = 0, 19 do
  6830. swait()
  6831. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  6832. end
  6833. hum.CameraOffset = vt(0,0,0)
  6834. end))
  6835. coroutine.resume(coroutine.create(function()
  6836. local eff = Instance.new("ParticleEmitter",dis)
  6837. eff.Texture = "rbxassetid://2273224484"
  6838. eff.LightEmission = 1
  6839. eff.Color = ColorSequence.new(dis.Color)
  6840. eff.Rate = 500000
  6841. eff.Lifetime = NumberRange.new(0.5,2)
  6842. 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)})
  6843. 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)})
  6844. eff.Speed = NumberRange.new(50,450)
  6845. eff.Drag = 5
  6846. eff.Rotation = NumberRange.new(-500,500)
  6847. eff.VelocitySpread = 9000
  6848. eff.RotSpeed = NumberRange.new(-50,50)
  6849. local eff2 = eff:Clone()
  6850. eff2.Parent = dis2
  6851. eff2.LightEmission = 0
  6852. eff2.Color = ColorSequence.new(dis2.Color)
  6853. wait(0.25)
  6854. eff.Enabled = false
  6855. eff2.Enabled = false
  6856. end))
  6857. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  6858. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  6859. for i = 0, 2 do
  6860. 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)
  6861. 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)
  6862. end
  6863. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  6864. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  6865. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  6866. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  6867. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  6868. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  6869. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  6870. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  6871. end))
  6872. game:GetService("Debris"):AddItem(dis, 5)
  6873. game:GetService("Debris"):AddItem(dis2, 5)
  6874. 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)
  6875. 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)
  6876. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6877. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6878. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  6879. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  6880. end
  6881. attack = false
  6882. hum.WalkSpeed = storehumanoidWS
  6883. end
  6884. function FallenDEMISE()
  6885. attack = true
  6886. hum.WalkSpeed = 0
  6887. local keptcolor = MAINRUINCOLOR
  6888. bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
  6889. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  6890. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  6891. for i = 0, 15, 0.1 do
  6892. swait()
  6893. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6894. 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)))
  6895. local at1 = Instance.new("Attachment",dis)
  6896. at1.Position = vt(-25000,0,0)
  6897. local at2 = Instance.new("Attachment",dis)
  6898. at2.Position = vt(25000,0,0)
  6899. local trl = Instance.new('Trail',dis)
  6900. trl.Attachment0 = at1
  6901. trl.FaceCamera = true
  6902. trl.Attachment1 = at2
  6903. trl.Texture = "rbxassetid://1049219073"
  6904. trl.LightEmission = 1
  6905. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6906. trl.Color = ColorSequence.new(dis.Color)
  6907. trl.Lifetime = 5
  6908. local bv = Instance.new("BodyVelocity")
  6909. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6910. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6911. bv.Parent = dis
  6912. game:GetService("Debris"):AddItem(dis, 1)
  6913. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  6914. 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"))
  6915. 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"))
  6916. 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)
  6917. 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)
  6918. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6919. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6920. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6921. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6922. end
  6923. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  6924. for i = 0, 30, 0.1 do
  6925. swait()
  6926. coroutine.resume(coroutine.create(function()
  6927. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  6928. if v:FindFirstChild('Head') then
  6929. dmg(v)
  6930. end
  6931. end
  6932. end))
  6933. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6934. 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)))
  6935. local at1 = Instance.new("Attachment",dis)
  6936. at1.Position = vt(-50000,0,0)
  6937. local at2 = Instance.new("Attachment",dis)
  6938. at2.Position = vt(50000,0,0)
  6939. local trl = Instance.new('Trail',dis)
  6940. trl.Attachment0 = at1
  6941. trl.FaceCamera = true
  6942. trl.Attachment1 = at2
  6943. trl.Texture = "rbxassetid://1049219073"
  6944. trl.LightEmission = 1
  6945. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6946. trl.Color = ColorSequence.new(dis.Color)
  6947. trl.Lifetime = 10
  6948. local bv = Instance.new("BodyVelocity")
  6949. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6950. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  6951. bv.Parent = dis
  6952. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  6953. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  6954. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  6955. 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"))
  6956. 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"))
  6957. 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"))
  6958. 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"))
  6959. for i = 0, 2 do
  6960. 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)
  6961. end
  6962. 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)
  6963. 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)
  6964. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6965. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6966. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6967. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6968. end
  6969. attack = false
  6970. hum.WalkSpeed = storehumanoidWS
  6971. end
  6972.  
  6973. function SpeedDrop()
  6974. attack = true
  6975. hum.WalkSpeed = 0
  6976. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  6977. local poste = 3
  6978. local rotation = 0
  6979. local rate = 0
  6980. bosschatfunc("AUFHHIGYBIBYHHIHIGHGI",MAINRUINCOLOR.Color,2)
  6981. for i = 0, 124 do
  6982. swait()
  6983. rotation = rotation + rate
  6984. poste = poste + 0.1
  6985. rate = rate + 0.1
  6986. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  6987. 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)
  6988. 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)
  6989. 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)
  6990. 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)
  6991. 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)
  6992. 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)
  6993. 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)
  6994. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  6995. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  6996. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  6997. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  6998. end
  6999. CameraEnshaking(3,7)
  7000. bosschatfunc("AN ERROR HAS OCCURED",MAINRUINCOLOR.Color,2)
  7001. local loc = Instance.new("Part", char)
  7002. loc.BrickColor = MAINRUINCOLOR
  7003. loc.CanCollide = false
  7004. loc.FormFactor = 3
  7005. loc.Name = "Ring"
  7006. loc.Material = "Neon"
  7007. loc.Size = Vector3.new(1, 1, 1)
  7008. loc.Transparency = 1
  7009. loc.TopSurface = 0
  7010. loc.BottomSurface = 0
  7011. loc.Anchored = true
  7012. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  7013. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  7014. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  7015. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  7016. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  7017. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  7018. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  7019. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  7020. coroutine.resume(coroutine.create(function()
  7021. local eff = Instance.new("ParticleEmitter",loc)
  7022. eff.Texture = "rbxassetid://363275192"
  7023. eff.LightEmission = 0.95
  7024. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7025. eff.Rate = 10000
  7026. eff.Lifetime = NumberRange.new(1)
  7027. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  7028. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7029. eff.Speed = NumberRange.new(100,500)
  7030. eff.Drag = 5
  7031. eff.Rotation = NumberRange.new(-500,500)
  7032. eff.VelocitySpread = 9000
  7033. eff.RotSpeed = NumberRange.new(-50,50)
  7034. wait(0.5)
  7035. eff.Enabled = false
  7036. end))
  7037. for i = 0, 49 do
  7038. 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)
  7039. end
  7040. for i = 0, 9 do
  7041. 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)
  7042. end
  7043. game:GetService("Debris"):AddItem(loc, 5)
  7044. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  7045. hum.WalkSpeed = storehumanoidWS
  7046. attack = false
  7047. end
  7048.  
  7049. function cutesigh()
  7050. attack = true
  7051. hum.WalkSpeed = 0
  7052. bosschatfunc("sigh~~",MAINRUINCOLOR.Color,2)
  7053. local blush = Instance.new("Decal",hed)
  7054. blush.Texture = "rbxassetid://898404027"
  7055. blush.Face = "Front"
  7056. CFuncs["Sound"].Create("rbxassetid://294861193", char, 9,1)
  7057. for i = 0, 9, 0.1 do
  7058. swait()
  7059. 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)
  7060. 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)
  7061. 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)
  7062. 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)
  7063. 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)
  7064. 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)
  7065. end
  7066. coroutine.resume(coroutine.create(function()
  7067. for i = 0, 49 do
  7068. swait()
  7069. blush.Transparency = blush.Transparency + 0.02
  7070. end
  7071. blush:Destroy()
  7072. end))
  7073. hum.WalkSpeed = storehumanoidWS
  7074. attack = false
  7075. end
  7076.  
  7077. function smiter()
  7078. local targetted = nil
  7079. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  7080. targetted = mouse.Target.Parent
  7081. end
  7082. if targetted ~= nil then
  7083. RootPart.CFrame = FaceMouse()[1]
  7084. attack = true
  7085. local radm = math.random(1,3)
  7086. if radm == 1 then
  7087. bosschatfunc("SMITED!!",MAINRUINCOLOR.Color,1)
  7088. elseif radm == 2 then
  7089. bosschatfunc("FROM ABOVE!!",MAINRUINCOLOR.Color,1)
  7090. elseif radm == 3 then
  7091. bosschatfunc("LOOK UP!!",MAINRUINCOLOR.Color,1)
  7092. end
  7093. hum.WalkSpeed = 0
  7094. coroutine.resume(coroutine.create(function()
  7095. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  7096. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  7097. local vel = Instance.new("BodyPosition", targetted.Head)
  7098. vel.P = 12500
  7099. vel.D = 1000
  7100. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7101. vel.position = targetted.Head.CFrame.p
  7102. end))
  7103. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  7104. CFuncs["EchoSound"].Create("rbxassetid://1436242685", char, 4, 1,0,10,0.15,0.5,1)
  7105. CFuncs["EchoSound"].Create("rbxassetid://1436242685", root, 60, 1,0,10,0.15,0.5,1)
  7106. for i = 0,4,0.1 do
  7107. swait()
  7108. 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)
  7109. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  7110. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  7111. 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)
  7112. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7113. 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)
  7114. 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)
  7115. end
  7116. coroutine.resume(coroutine.create(function()
  7117. CameraEnshaking(6,5)
  7118. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  7119. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  7120. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  7121. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  7122. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7123. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7124. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7125. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7126. coroutine.resume(coroutine.create(function()
  7127. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7128. eff.Texture = "rbxassetid://2273224484"
  7129. eff.LightEmission = 1
  7130. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  7131. eff.Rate = 500000
  7132. eff.Lifetime = NumberRange.new(0.5,2)
  7133. 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)})
  7134. 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)})
  7135. eff.Speed = NumberRange.new(20,250)
  7136. eff.Drag = 5
  7137. eff.Rotation = NumberRange.new(-500,500)
  7138. eff.VelocitySpread = 9000
  7139. eff.RotSpeed = NumberRange.new(-50,50)
  7140. wait(0.25)
  7141. eff.Enabled = false
  7142. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7143. eff.Texture = "rbxassetid://363275192"
  7144. eff.LightEmission = 0.95
  7145. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7146. eff.Rate = 10000
  7147. eff.Lifetime = NumberRange.new(1.5)
  7148. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  7149. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7150. eff.Speed = NumberRange.new(25,150)
  7151. eff.Drag = 5
  7152. eff.Rotation = NumberRange.new(-500,500)
  7153. eff.VelocitySpread = 9000
  7154. eff.RotSpeed = NumberRange.new(-50,50)
  7155. local eff2 = eff:Clone()
  7156. eff2.Parent = targetted.Head
  7157. eff2.Texture = "rbxassetid://284205403"
  7158. eff2.Rate = 10000
  7159. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7160. eff2.Drag = 5
  7161. eff2.Rotation = NumberRange.new(-500,500)
  7162. eff2.VelocitySpread = 9000
  7163. wait(0.5)
  7164. eff2.Enabled = false
  7165. eff.Enabled = false
  7166. end))
  7167. for i = 0, 9 do
  7168. 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)
  7169. end
  7170. for i = 0, 49 do
  7171. local rsiz = math.random(10,50)
  7172. 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)
  7173. end
  7174. game:GetService("Debris"):AddItem(vel,1)
  7175. dmg(targetted)
  7176. end))
  7177. for i = 0,1,0.1 do
  7178. swait()
  7179. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  7180. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  7181. 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)
  7182. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7183. 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)
  7184. 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)
  7185. end
  7186. attack = false
  7187. hum.WalkSpeed = storehumanoidWS
  7188. end
  7189. end
  7190.  
  7191. function shytaunty()
  7192. attack = true
  7193. hum.WalkSpeed = 0
  7194. CFuncs["Sound"].Create("rbxassetid://543623779", char, 1, 1)
  7195. local blush = Instance.new("Decal",hed)
  7196. blush.Texture = "rbxassetid://898404027"
  7197. blush.Face = "Front"
  7198. for i = 0, 13, 0.1 do
  7199. swait()
  7200. 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)
  7201. 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)
  7202. 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)
  7203. 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)
  7204. 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)
  7205. 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)
  7206. end
  7207. coroutine.resume(coroutine.create(function()
  7208. for i = 0, 49 do
  7209. swait()
  7210. blush.Transparency = blush.Transparency + 0.02
  7211. end
  7212. blush:Destroy()
  7213. end))
  7214. hum.WalkSpeed = storehumanoidWS
  7215. attack = false
  7216. end
  7217.  
  7218. function PureBomb()
  7219. attack = true
  7220. CFuncs["EchoSound"].Create("rbxassetid://1436241485", char, 5, 1,0,10,0.15,0.5,1)
  7221. CFuncs["EchoSound"].Create("rbxassetid://1436241485", root, 60, 1,0,10,0.15,0.5,1)
  7222. bosschatfunc("Purified..",MAINRUINCOLOR.Color,2)
  7223. local orb = Instance.new("Part", char)
  7224. orb.Anchored = true
  7225. orb.BrickColor = BrickColor.new("Toothpaste")
  7226. orb.CanCollide = false
  7227. orb.FormFactor = 3
  7228. orb.Name = "Ring"
  7229. orb.Material = "Neon"
  7230. orb.Size = Vector3.new(1, 1, 1)
  7231. orb.Transparency = 0
  7232. orb.TopSurface = 0
  7233. orb.BottomSurface = 0
  7234. local orbm = Instance.new("SpecialMesh", orb)
  7235. orbm.MeshType = "Sphere"
  7236. orbm.Name = "SizeMesh"
  7237. orbm.Scale = vt(0,0,0)
  7238. local scaled = 0.1
  7239. local posid = 0
  7240. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 30,1)
  7241. for i = 0, 5, 0.1 do
  7242. swait()
  7243. scaled = scaled - 0.001
  7244. posid = posid - scaled
  7245. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7246. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  7247. 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)
  7248. 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)
  7249. 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)
  7250. 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)
  7251. 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)
  7252. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7253. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  7254. 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)
  7255. end
  7256. for i = 0, 2, 0.1 do
  7257. swait()
  7258. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7259. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  7260. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  7261. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  7262. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  7263. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  7264. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  7265. end
  7266. CFuncs["EchoSound"].Create("rbxassetid://1436240026", char, 4, 1,0,10,0.15,0.5,1)
  7267. CFuncs["EchoSound"].Create("rbxassetid://1436240026", root, 60, 1,0,10,0.15,0.5,1)
  7268. bosschatfunc("BOMB!!",MAINRUINCOLOR.Color,2)
  7269. coroutine.resume(coroutine.create(function()
  7270. orb.Anchored = false
  7271. CFuncs["Sound"].Create("rbxassetid://260433768", root, 555,1)
  7272. local a = Instance.new("Part",workspace)
  7273. a.Name = "Direction"
  7274. a.Anchored = true
  7275. a.BrickColor = bc("Bright red")
  7276. a.Material = "Neon"
  7277. a.Transparency = 1
  7278. a.CanCollide = false
  7279. local ray = Ray.new(
  7280. orb.CFrame.p, -- origin
  7281. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7282. )
  7283. local ignore = orb
  7284. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7285. a.BottomSurface = 10
  7286. a.TopSurface = 10
  7287. local distance = (orb.CFrame.p - position).magnitude
  7288. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7289. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  7290. orb.CFrame = a.CFrame
  7291. a:Destroy()
  7292. local bv = Instance.new("BodyVelocity")
  7293. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7294. bv.velocity = orb.CFrame.lookVector*125
  7295. bv.Parent = orb
  7296. local hitted = false
  7297. game:GetService("Debris"):AddItem(orb, 15)
  7298. wait()
  7299. local hit =orb.Touched:connect(function(hit)
  7300. if hitted == false then
  7301. hitted = true
  7302. CameraEnshaking(10,2.5)
  7303. MagniDamage(orb, 65, 65,90, 0, "Normal")
  7304. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  7305. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  7306. for i = 0, 49 do
  7307. 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)
  7308. end
  7309. local eff = Instance.new("ParticleEmitter",orb)
  7310. eff.Texture = "rbxassetid://2273224484"
  7311. eff.LightEmission = 1
  7312. eff.Color = ColorSequence.new(Color3.new(4/255,175/255,236/255))
  7313. eff.Rate = 500000
  7314. eff.Lifetime = NumberRange.new(0.5,2)
  7315. 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)})
  7316. 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)})
  7317. eff.Speed = NumberRange.new(20,250)
  7318. eff.Drag = 5
  7319. eff.Rotation = NumberRange.new(-500,500)
  7320. eff.VelocitySpread = 9000
  7321. eff.RotSpeed = NumberRange.new(-50,50)
  7322. coroutine.resume(coroutine.create(function()
  7323. wait(0.25)
  7324. eff.Enabled = false
  7325. end))
  7326. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  7327. for i = 0, 9 do
  7328. 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)
  7329. 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)
  7330. end
  7331. orb.Anchored = true
  7332. orb.Transparency = 1
  7333. local eff = Instance.new("ParticleEmitter",orb)
  7334. eff.Texture = "rbxassetid://2273224484"
  7335. eff.LightEmission = 1
  7336. eff.Color = ColorSequence.new(Color3.new(M))
  7337. eff.Rate = 500000
  7338. eff.Lifetime = NumberRange.new(0.5,2)
  7339. 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)})
  7340. 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)})
  7341. eff.Speed = NumberRange.new(20,250)
  7342. eff.Drag = 5
  7343. eff.Rotation = NumberRange.new(-500,500)
  7344. eff.VelocitySpread = 9000
  7345. eff.RotSpeed = NumberRange.new(-50,50)
  7346. coroutine.resume(coroutine.create(function()
  7347. wait(1)
  7348. eff.Enabled = false
  7349. end))
  7350. wait(8)
  7351. orb:Destroy()
  7352. end
  7353. end)
  7354. end))
  7355. for i = 0, 1, 0.1 do
  7356. swait()
  7357. 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)
  7358. 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)
  7359. 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)
  7360. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  7361. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  7362. 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)
  7363. end
  7364. attack = false
  7365. end
  7366.  
  7367.  
  7368. function BeamOfDeath()
  7369. coroutine.resume(coroutine.create(function()
  7370. attack = true
  7371. hum.WalkSpeed = 0
  7372. for i = 0, 11, 0.1 do
  7373. swait()
  7374. 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)
  7375. 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)
  7376. 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)
  7377. 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)
  7378. 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)
  7379. 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)
  7380. end
  7381. for i = 0, 1, 0.1 do
  7382. swait()
  7383. 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)
  7384. 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)
  7385. 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)
  7386. 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)
  7387. 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)
  7388. 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)
  7389. end
  7390. hum.WalkSpeed = storehumanoidWS
  7391. attack = false
  7392. end))
  7393. CFuncs["Sound"].Create("rbxassetid://430315987", char, 5, 1,0,10,0.10,0.25,1)
  7394. local radm = math.random(1,3)
  7395. if radm == 1 then
  7396. bosschatfunc("YAHHHH!!!",MAINRUINCOLOR.Color,1)
  7397. elseif radm == 2 then
  7398. bosschatfunc("TAKE THAT!!",MAINRUINCOLOR.Color,1)
  7399. elseif radm == 3 then
  7400. bosschatfunc("CONSUMED!!!",MAINRUINCOLOR.Color,1)
  7401. end
  7402. local keptcolor = MAINRUINCOLOR
  7403. local orb = Instance.new("Part", char)
  7404. orb.BrickColor = keptcolor
  7405. orb.CanCollide = false
  7406. orb.FormFactor = 3
  7407. orb.Name = "Ring"
  7408. orb.Material = "Neon"
  7409. orb.Size = Vector3.new(1, 1, 1)
  7410. orb.Transparency = 1
  7411. orb.TopSurface = 0
  7412. orb.BottomSurface = 0
  7413. local orbm = Instance.new("SpecialMesh", orb)
  7414. orbm.MeshType = "Sphere"
  7415. orbm.Name = "SizeMesh"
  7416. orbm.Scale = vt(22.5,10000,22.5)
  7417. orb.CFrame = mouse.Hit
  7418. orb.Anchored = true
  7419. orb.Orientation = vt(0,0,0)
  7420. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  7421. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 0.5, 1.2)
  7422. coroutine.resume(coroutine.create(function()
  7423. coroutine.resume(coroutine.create(function()
  7424. for i = 0, 175 do
  7425. swait()
  7426. orbm.Scale = orbm.Scale - vt(0.1,0,0.1)
  7427. orb.Transparency = orb.Transparency - 0.005
  7428. end
  7429. end))
  7430. wait(2)
  7431. coroutine.resume(coroutine.create(function()
  7432. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  7433. if hfr ~= nil then
  7434. for i = 0, 24.5 do
  7435. local deb = Instance.new("Part", char)
  7436. deb.Anchored = true
  7437. deb.CanCollide = false
  7438. deb.FormFactor = 3
  7439. deb.Name = "Ring"
  7440. deb.Material = hitfloor.Material
  7441. deb.Color = hitfloor.Color
  7442. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  7443. deb.Transparency = 0
  7444. deb.TopSurface = 0
  7445. deb.BottomSurface = 0
  7446. 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)))
  7447. local deb2 = Instance.new("Part", char)
  7448. deb2.CanCollide = false
  7449. deb2.FormFactor = 3
  7450. deb2.Name = "Ring"
  7451. deb2.Material = hitfloor.Material
  7452. deb2.Color = hitfloor.Color
  7453. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  7454. deb2.Transparency = 0
  7455. deb2.TopSurface = 0
  7456. deb2.BottomSurface = 0
  7457. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  7458. 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)))
  7459. local eff = Instance.new("ParticleEmitter",deb)
  7460. eff.Texture = "rbxassetid://363275192"
  7461. eff.LightEmission = 0.95
  7462. eff.Color = ColorSequence.new(keptcolor.Color)
  7463. eff.Rate = 100
  7464. eff.Lifetime = NumberRange.new(1)
  7465. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  7466. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7467. eff.Speed = NumberRange.new(0,5)
  7468. eff.Rotation = NumberRange.new(-500,500)
  7469. eff.VelocitySpread = 9000
  7470. eff.RotSpeed = NumberRange.new(-10,10)
  7471. local at1 = Instance.new('Attachment',deb2)
  7472. at1.Position = vt(0,15,0)
  7473. local at2 = Instance.new('Attachment',deb2)
  7474. at2.Position = vt(0,-15,0)
  7475. local tl = Instance.new('Trail',deb2)
  7476. tl.Attachment0 = at1
  7477. tl.Attachment1 = at2
  7478. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7479. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  7480. tl.Lifetime = 1
  7481. game:GetService("Debris"):AddItem(deb,30)
  7482. game:GetService("Debris"):AddItem(deb2,30)
  7483. coroutine.resume(coroutine.create(function()
  7484. wait(15)
  7485. eff.Enabled = false
  7486. for i = 0, 49 do
  7487. swait()
  7488. deb.Transparency = deb.Transparency + 0.02
  7489. end
  7490. wait(1)
  7491. deb:Destroy()
  7492. end))
  7493. end
  7494. end
  7495. end))
  7496. for i = 0, 199 do
  7497. swait(1.5)
  7498. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  7499. if v:FindFirstChild('Head') then
  7500. dmg(v)
  7501. end
  7502. end
  7503. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  7504. 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)
  7505. 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)
  7506. 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)
  7507. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  7508. end
  7509. orb:Destroy()
  7510. end))
  7511. end
  7512.  
  7513. function Beams()
  7514. attack = true
  7515. hum.WalkSpeed = 0
  7516. CFuncs["EchoSound"].Create("rbxassetid://1436242274", char, 8, 1,0,10,0.15,0.5,1)
  7517. CFuncs["EchoSound"].Create("rbxassetid://1436242274", root, 60, 1,0,10,0.15,0.5,1)
  7518. bosschatfunc("You'll gone..",MAINRUINCOLOR.Color,2)
  7519. local keptcolor = MAINRUINCOLOR
  7520. coroutine.resume(coroutine.create(function()
  7521. for i = 0, 96 do
  7522. swait(5)
  7523. local orb = Instance.new("Part", char)
  7524. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  7525. orb.BrickColor = keptcolor
  7526. orb.CanCollide = false
  7527. orb.FormFactor = 3
  7528. orb.Name = "Ring"
  7529. orb.Material = "Neon"
  7530. orb.Size = Vector3.new(1, 1, 1)
  7531. orb.Transparency = 0
  7532. orb.TopSurface = 0
  7533. orb.BottomSurface = 0
  7534. orb.Anchored = true
  7535. local orbm = Instance.new("SpecialMesh", orb)
  7536. orbm.MeshType = "Sphere"
  7537. orbm.Name = "SizeMesh"
  7538. orbm.Scale = vt(1.25,1.25,1.25)
  7539. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  7540. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7541. coroutine.resume(coroutine.create(function()
  7542. wait(0.5)
  7543. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  7544. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7545. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7546. orb.Transparency = 1
  7547. local a = Instance.new("Part",char)
  7548. a.Name = "Direction"
  7549. a.Anchored = true
  7550. a.BrickColor = keptcolor
  7551. a.Material = "Neon"
  7552. a.Transparency = 0.25
  7553. a.Shape = "Cylinder"
  7554. local ht = Instance.new("Part",char)
  7555. ht.Name = "DirectionHit"
  7556. ht.Anchored = true
  7557. ht.BrickColor = keptcolor
  7558. ht.CanCollide = false
  7559. ht.Transparency = 1
  7560. ht.Size = vt(0.1,0.1,0.1)
  7561. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.6)
  7562. a.CanCollide = false
  7563. local ray = Ray.new(
  7564. orb.CFrame.p, -- origin
  7565. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7566. )
  7567. local ignore = char
  7568. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7569. a.BottomSurface = 10
  7570. a.TopSurface = 10
  7571. local distance = (orb.CFrame.p - position).magnitude
  7572. a.Size = Vector3.new(distance,1,1)
  7573. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7574. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7575. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7576. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7577. MagniDamage(ht, 9, 30,60, 0, "Normal")
  7578. coroutine.resume(coroutine.create(function()
  7579. local eff = Instance.new("ParticleEmitter",ht)
  7580. eff.Texture = "rbxassetid://284205403"
  7581. eff.LightEmission = 0.95
  7582. eff.Color = ColorSequence.new(keptcolor.Color)
  7583. eff.Rate = 500
  7584. eff.Lifetime = NumberRange.new(0.5)
  7585. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7586. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7587. eff.Speed = NumberRange.new(10,50)
  7588. eff.Drag = 5
  7589. eff.Rotation = NumberRange.new(-500,500)
  7590. eff.VelocitySpread = 9000
  7591. eff.RotSpeed = NumberRange.new(-500,500)
  7592. wait(0.25)
  7593. eff.Enabled = false
  7594. end))
  7595. for i = 0, 4 do
  7596. 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)
  7597. 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)
  7598. local rsiz = math.random(10,30)
  7599. 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)
  7600. end
  7601. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7602. local msh = Instance.new("SpecialMesh",a)
  7603. msh.MeshType = "Cylinder"
  7604. msh.Scale = vt(1,1,1)
  7605. for i = 0, 49 do
  7606. swait()
  7607. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  7608. a.Transparency = a.Transparency + 0.02
  7609. end
  7610. orb:Destroy()
  7611. a:Destroy()
  7612. ht:Destroy()
  7613. end))
  7614. game:GetService("Debris"):AddItem(orb, 10)
  7615. end
  7616. end))
  7617. for i = 0,6,0.1 do
  7618. swait()
  7619. 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)
  7620. 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)
  7621. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  7622. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  7623. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  7624. 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)
  7625. 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)
  7626. end
  7627. hum.WalkSpeed = storehumanoidWS
  7628. attack = false
  7629. end
  7630.  
  7631. function CalamityTrans()
  7632. attack = true
  7633. rainbowmode = false
  7634. chaosmode = false
  7635. ModeOfGlitch = 8889
  7636. hum.WalkSpeed = 0
  7637. newThemeCust("rbxassetid://1359036559",0,1,1.25)
  7638. local elocacenter = CreateParta(root,1,1,"SmoothPlastic",BrickColor.random())
  7639. elocacenter.Anchored = true
  7640. elocacenter.CFrame = root.CFrame
  7641. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7642. eloca1.Anchored = true
  7643. eloca1.CFrame = elocacenter.CFrame
  7644. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7645. eloca2.Anchored = true
  7646. eloca2.CFrame = elocacenter.CFrame
  7647. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7648. eloca3.Anchored = true
  7649. eloca3.CFrame = elocacenter.CFrame
  7650. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7651. eloca4.Anchored = true
  7652. eloca4.CFrame = elocacenter.CFrame
  7653. local lookavec = 0
  7654. local speeds = 0
  7655. CameraEnshaking(3,2.5)
  7656. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7657. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7658. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7659. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7660. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7661. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7662. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 10, 1)
  7663. for i = 0, 5, 0.1 do
  7664. swait()
  7665. ---
  7666. lookavec = lookavec + 1
  7667. speeds = speeds + 10
  7668. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7669. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7670. 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)
  7671. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7672. 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)
  7673. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7674. 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)
  7675. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7676. 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)
  7677. ---
  7678. 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)
  7679. 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)
  7680. 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)
  7681. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7682. 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)
  7683. 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)
  7684. end
  7685. for i = 0, 5, 0.1 do
  7686. swait()
  7687. ---
  7688. speeds = speeds + 10
  7689. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7690. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7691. 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)
  7692. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7693. 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)
  7694. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7695. 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)
  7696. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7697. 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)
  7698. ---
  7699. 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)
  7700. 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)
  7701. 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)
  7702. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7703. 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)
  7704. 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)
  7705. end
  7706. MAINRUINCOLOR = BrickColor.new("Bright violet")
  7707. CFuncs["Sound"].Create("rbxassetid://468991944", eloca1, 5, 1)
  7708. CFuncs["Sound"].Create("rbxassetid://468991944", eloca2, 5, 1)
  7709. CFuncs["Sound"].Create("rbxassetid://468991944", eloca3, 5, 1)
  7710. CFuncs["Sound"].Create("rbxassetid://468991944", eloca4, 5, 1)
  7711. CameraEnshaking(1,3)
  7712. for i = 0, 24 do
  7713. 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)
  7714. 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)
  7715. 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)
  7716. 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)
  7717. end
  7718. sphere(1,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7719. sphere(2,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7720. sphere(3,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7721. sphere(1,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7722. sphere(2,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7723. sphere(3,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7724. sphere(1,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7725. sphere(2,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7726. sphere(3,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7727. sphere(1,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7728. sphere(2,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7729. sphere(3,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7730. for i = 0, 5, 0.1 do
  7731. swait()
  7732. ---
  7733. lookavec = lookavec - 1
  7734. speeds = speeds + 10
  7735. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7736. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7737. 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)
  7738. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7739. 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)
  7740. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7741. 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)
  7742. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7743. 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)
  7744. ---
  7745. 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)
  7746. 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)
  7747. 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)
  7748. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7749. 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)
  7750. 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)
  7751. end
  7752. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7753. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7754. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7755. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7756. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7757. for i = 0, 49 do
  7758. 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)
  7759. 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)
  7760. end
  7761. CameraEnshaking(5,6)
  7762. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7763. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  7764. CFuncs["Sound"].Create("rbxassetid://741272936", root, 5, 1)
  7765. CFuncs["Sound"].Create("rbxassetid://164881112", root, 5, 1)
  7766. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 5, 1)
  7767. CFuncs["Sound"].Create("rbxassetid://429123896", root, 5, 0.85)
  7768. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 5, 1)
  7769. storehumanoidWS = 100
  7770. hum.WalkSpeed = 100
  7771. rainbowmode = false
  7772. chaosmode = false
  7773. tl1.Enabled = true
  7774. tl2.Enabled = true
  7775. tl3.Enabled = true
  7776. RecolorTextAndRename("CALAMITY",Color3.new(10,1,1),Color3.new(0.5,0,1),"Code")
  7777. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7778. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7779. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7780. for i, v in pairs(mw2:GetChildren()) do
  7781. if v:IsA("Part") then
  7782. v.BrickColor = MAINRUINCOLOR
  7783. v.Material = "Neon"
  7784. end
  7785. end
  7786. for i, v in pairs(mw1:GetChildren()) do
  7787. if v:IsA("Part") then
  7788. v.Transparency = 0
  7789. v.BrickColor = MAINRUINCOLOR
  7790. v.Material = "Neon"
  7791. end
  7792. end
  7793. for i, v in pairs(m:GetChildren()) do
  7794. if v:IsA("Part") then
  7795. v.Color = Color3.new(0.5,0,1)
  7796. v.Material = "Neon"
  7797. end
  7798. end
  7799. for i, v in pairs(m2:GetChildren()) do
  7800. if v:IsA("Part") then
  7801. v.Color = Color3.new(0.25,0,1)
  7802. v.Material = "Neon"
  7803. end
  7804. end
  7805. for i, v in pairs(m3:GetChildren()) do
  7806. if v:IsA("Part") then
  7807. v.Color = Color3.new(0.45,0,1)
  7808. v.Material = "Neon"
  7809. end
  7810. end
  7811. for i, v in pairs(extrawingmod1:GetChildren()) do
  7812. if v:IsA("Part") then
  7813. v.Transparency = 0.75
  7814. v.Color = Color3.new(0.25,0,1)
  7815. v.Material = "Neon"
  7816. end
  7817. end
  7818. for i, v in pairs(extrawingmod2:GetChildren()) do
  7819. if v:IsA("Part") then
  7820. v.Transparency = 0.75
  7821. v.Color = Color3.new(0.5,0,1)
  7822. v.Material = "Neon"
  7823. end
  7824. end
  7825. attack = false
  7826. end
  7827.  
  7828. function GleamingBeam()
  7829. attack = true
  7830. bosschatfunc("IT ENDS NOW!!!",MAINRUINCOLOR.Color,3)
  7831. CFuncs["EchoSound"].Create("rbxassetid://1535995570", char, 8, 1,0,10,0.15,0.5,1)
  7832. CFuncs["EchoSound"].Create("rbxassetid://1535995570", root, 60, 1,0,10,0.15,0.5,1)
  7833. local rsiz = math.random(1,15)
  7834. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7835. hb.Anchored = true
  7836. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7837. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  7838. for i = 0, 16, 0.1 do
  7839. swait()
  7840. rsiz = math.random(5,15)
  7841. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7842. 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)
  7843. 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)
  7844. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7845. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  7846. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(40)),.1)
  7847. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-40)),.1)
  7848. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  7849. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1)
  7850. end
  7851. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  7852. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  7853. for i = 0, 2 do
  7854. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  7855. end
  7856. 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)
  7857. 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)
  7858. 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)
  7859. for i = 0, 49 do
  7860. local rsiza = math.random(1,15)
  7861. 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)
  7862. end
  7863. local a = Instance.new("Part",Character)
  7864. a.Name = "Direction"
  7865. a.Anchored = true
  7866. a.BrickColor = MAINRUINCOLOR
  7867. a.Material = "Neon"
  7868. a.Transparency = 0
  7869. a.Shape = "Cylinder"
  7870. a.CanCollide = false
  7871. local ba = Instance.new("Part",Character)
  7872. ba.Name = "HitDirect"
  7873. ba.Anchored = true
  7874. ba.BrickColor = bc("Cool yellow")
  7875. ba.Material = "Neon"
  7876. ba.Transparency = 1
  7877. ba.CanCollide = false
  7878. local ray = Ray.new(
  7879. hb.CFrame.p, -- origin
  7880. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7881. )
  7882. local ignore = Character
  7883. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7884. a.BottomSurface = 10
  7885. a.TopSurface = 10
  7886. local distance = (hb.CFrame.p - position).magnitude
  7887. a.Size = Vector3.new(distance, 1, 1)
  7888. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7889. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7890. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7891. local msh = Instance.new("SpecialMesh",a)
  7892. msh.MeshType = "Cylinder"
  7893. msh.Scale = vt(1,4,4)
  7894. game:GetService("Debris"):AddItem(a, 30)
  7895. game:GetService("Debris"):AddItem(ba, 30)
  7896. for i = 0, 25, 0.1 do
  7897. swait()
  7898. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7899. ray = Ray.new(
  7900. hb.CFrame.p, -- origin
  7901. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7902. )
  7903. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7904. distance = (hb.CFrame.p - position).magnitude
  7905. a.Size = Vector3.new(distance, 1, 1)
  7906. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7907. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7908. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7909. rsiz = math.random(5,25)
  7910. MagniDamage(ba, 12, 40000,900000, 0, "Normal")
  7911. 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)
  7912. for c = 0, 2 do
  7913. 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)
  7914. end
  7915. 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)
  7916. 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)
  7917. 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)
  7918. 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)
  7919. 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)
  7920. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-80)),.6)
  7921. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(80)),.6)
  7922. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.6)
  7923. end
  7924. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  7925. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  7926. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  7927. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  7928. MagniDamage(ba, 30, 400000,9000000, 0, "Normal")
  7929. 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)
  7930. 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)
  7931. 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)
  7932. 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)
  7933. 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)
  7934. 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)
  7935. for i = 0, 49 do
  7936. local rsiza = math.random(1,15)
  7937. 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)
  7938. end
  7939. for i = 0, 49 do
  7940. rsiz = math.random(1,8)
  7941. 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)
  7942. end
  7943. coroutine.resume(coroutine.create(function()
  7944. for i = 0, 99 do
  7945. swait()
  7946. a.Transparency = a.Transparency + 0.01
  7947. end
  7948. a:Destroy()
  7949. ba:Destroy()
  7950. end))
  7951. hb:Destroy()
  7952. attack = false
  7953. end
  7954.  
  7955. function DualGleamingBeam()
  7956. attack = true
  7957. hum.WalkSpeed = 0
  7958. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  7959. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  7960. local radm = math.random(1,3)
  7961. if radm == 1 then
  7962. bosschatfunc("YOU CAN'T ESCAPE THIS!!",MAINRUINCOLOR.Color,1)
  7963. elseif radm == 2 then
  7964. bosschatfunc("HOW DO YOU LIKE THIS?!",MAINRUINCOLOR.Color,1)
  7965. elseif radm == 3 then
  7966. bosschatfunc("You make the choice..",MAINRUINCOLOR.Color,1)
  7967. end
  7968. local rsiz = math.random(1,15)
  7969. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7970. hb.Anchored = true
  7971. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7972. local hb2 = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7973. hb2.Anchored = true
  7974. hb2.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7975. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  7976. for i = 0, 14, 0.1 do
  7977. swait()
  7978. rsiz = math.random(5,15)
  7979. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7980. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  7981. 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)
  7982. 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)
  7983. 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)
  7984. 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"))
  7985. 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)
  7986. 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)
  7987. 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)
  7988. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.1)
  7989. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(120)),.1)
  7990. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-120)),.1)
  7991. end
  7992. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  7993. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  7994. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb2, 10,0.6)
  7995. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb2, 10,0.5)
  7996. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  7997. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb2, 10,1)
  7998. 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)
  7999. 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)
  8000. 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)
  8001. 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"))
  8002. 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"))
  8003. 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"))
  8004. for i = 0, 49 do
  8005. local rsiza = math.random(1,15)
  8006. 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)
  8007. 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)
  8008. end
  8009. local a = Instance.new("Part",Character)
  8010. a.Name = "Direction"
  8011. a.Anchored = true
  8012. a.BrickColor = MAINRUINCOLOR
  8013. a.Material = "Neon"
  8014. a.Transparency = 0
  8015. a.Shape = "Cylinder"
  8016. a.CanCollide = false
  8017. local a2 = Instance.new("Part",Character)
  8018. a2.Name = "Direction"
  8019. a2.Anchored = true
  8020. a2.BrickColor = MAINRUINCOLOR
  8021. a2.Material = "Neon"
  8022. a2.Transparency = 0
  8023. a2.Shape = "Cylinder"
  8024. a2.CanCollide = false
  8025. local ba = Instance.new("Part",Character)
  8026. ba.Name = "HitDirect"
  8027. ba.Anchored = true
  8028. ba.BrickColor = MAINRUINCOLOR
  8029. ba.Material = "Neon"
  8030. ba.Transparency = 1
  8031. ba.CanCollide = false
  8032. local ba2 = Instance.new("Part",Character)
  8033. ba2.Name = "HitDirect"
  8034. ba2.Anchored = true
  8035. ba2.BrickColor = MAINRUINCOLOR
  8036. ba2.Material = "Neon"
  8037. ba2.Transparency = 1
  8038. ba2.CanCollide = false
  8039. local ray = Ray.new(
  8040. hb.CFrame.p, -- origin
  8041. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8042. )
  8043. local ignore = Character
  8044. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8045. local ray2 = Ray.new(
  8046. hb2.CFrame.p, -- origin
  8047. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  8048. )
  8049. local hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  8050. local distance2 = (hb2.CFrame.p - position).magnitude
  8051.  
  8052. a.BottomSurface = 10
  8053. a.TopSurface = 10
  8054. local distance = (hb.CFrame.p - position).magnitude
  8055. a.Size = Vector3.new(distance, 1, 1)
  8056. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8057. a2.BottomSurface = 10
  8058. a2.TopSurface = 10
  8059. a2.Size = Vector3.new(distance2, 1, 1)
  8060. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  8061. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8062. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  8063. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8064. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8065. local msh = Instance.new("SpecialMesh",a)
  8066. msh.MeshType = "Cylinder"
  8067. msh.Scale = vt(1,4,4)
  8068. local msh2 = Instance.new("SpecialMesh",a2)
  8069. msh2.MeshType = "Cylinder"
  8070. msh2.Scale = vt(1,4,4)
  8071. game:GetService("Debris"):AddItem(a, 30)
  8072. game:GetService("Debris"):AddItem(a2, 30)
  8073. game:GetService("Debris"):AddItem(ba, 30)
  8074. game:GetService("Debris"):AddItem(ba2, 30)
  8075. for i = 0, 20, 0.1 do
  8076. swait()
  8077. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8078. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  8079. ray = Ray.new(
  8080. hb.CFrame.p, -- origin
  8081. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8082. )
  8083. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8084. distance = (hb.CFrame.p - position).magnitude
  8085. ray2 = Ray.new(
  8086. hb2.CFrame.p, -- origin
  8087. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  8088. )
  8089. hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  8090. distance2 = (hb2.CFrame.p - position).magnitude
  8091. a.Size = Vector3.new(distance, 1, 1)
  8092. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8093. a2.Size = Vector3.new(distance2, 1, 1)
  8094. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  8095. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8096. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  8097. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8098. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8099. rsiz = math.random(5,25)
  8100. MagniDamage(ba, 12, 800,18000, 0, "Normal")
  8101. MagniDamage(ba2, 12, 800,18000, 0, "Normal")
  8102. for i, v in pairs(FindNearestHead(ba.CFrame.p, 4)) do
  8103. if v:FindFirstChild('Head') then
  8104. dmg(v)
  8105. end
  8106. end
  8107. coroutine.resume(coroutine.create(function()
  8108. local bx = Instance.new("Part",Character)
  8109. bx.Name = "Location"
  8110. bx.Anchored = true
  8111. bx.BrickColor = MAINRUINCOLOR
  8112. bx.Material = "Neon"
  8113. bx.Transparency = 1
  8114. bx.CanCollide = false
  8115. bx.Position = ba.Position
  8116. sphere2(2,"Add",bx.CFrame,vt(20,0.5,20),0.001,0,0.001,MAINRUINCOLOR)
  8117. wait(math.random(1,2))
  8118. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.1,0,0.1,bc("Lime green"))
  8119. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.25,0,0.25,MAINRUINCOLOR)
  8120. sphere2(6,"Add",bx.CFrame,vt(10,10,10),0.5,0.5,0.5,bc("Lime green"))
  8121. CFuncs["Sound"].Create("rbxassetid://1042693018", bx, 5,0.7)
  8122. CFuncs["Sound"].Create("rbxassetid://1042695469", bx, 5,0.8)
  8123. MagniDamage(bx, 20, 80000,900000, 0, "Normal")
  8124. for i, v in pairs(FindNearestHead(bx.CFrame.p, 15)) do
  8125. if v:FindFirstChild('Head') then
  8126. dmg(v)
  8127. end
  8128. end
  8129. wait(5)
  8130. bx:Destroy()
  8131. end))
  8132. 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)
  8133. 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)
  8134. for c = 0, 2 do
  8135. 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)
  8136. end
  8137. 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)
  8138. 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)
  8139. 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)
  8140. 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)
  8141. 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)
  8142. 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)
  8143. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.05)
  8144. RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-15)),.05)
  8145. LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(15)),.05)
  8146. end
  8147. for i = 0, 1 do
  8148. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  8149. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  8150. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  8151. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  8152. end
  8153. MagniDamage(ba, 30, 8000,180000, 0, "Normal")
  8154. MagniDamage(ba2, 30, 8000,180000, 0, "Normal")
  8155. for i, v in pairs(FindNearestHead(ba.CFrame.p, 10)) do
  8156. if v:FindFirstChild('Head') then
  8157. dmg(v)
  8158. end
  8159. end
  8160. 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)
  8161. 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)
  8162. 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)
  8163. 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)
  8164. 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)
  8165. 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)
  8166. 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"))
  8167. 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"))
  8168. 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"))
  8169. for i = 0, 49 do
  8170. local rsiza = math.random(1,15)
  8171. 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)
  8172. 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)
  8173. end
  8174. for i = 0, 49 do
  8175. rsiz = math.random(1,8)
  8176. 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)
  8177. end
  8178. coroutine.resume(coroutine.create(function()
  8179. for i = 0, 99 do
  8180. swait()
  8181. a.Transparency = a.Transparency + 0.01
  8182. a2.Transparency = a2.Transparency + 0.01
  8183. end
  8184. a:Destroy()
  8185. ba:Destroy()
  8186. a2:Destroy()
  8187. ba2:Destroy()
  8188. end))
  8189. hum.WalkSpeed = storehumanoidWS
  8190. hb:Destroy()
  8191. hb2:Destroy()
  8192. attack = false
  8193. end
  8194.  
  8195. function dragin()
  8196. local targetted = nil
  8197. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  8198. targetted = mouse.Target.Parent
  8199. end
  8200. if targetted ~= nil then
  8201. RootPart.CFrame = FaceMouse()[1]
  8202. attack = true
  8203. hum.WalkSpeed = 0
  8204. for x = 0, 1 do
  8205. for i = 0,1,0.5 do
  8206. swait()
  8207. 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)
  8208. 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)
  8209. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  8210. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8211. 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)
  8212. 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)
  8213. end
  8214. for i = 0,1,0.5 do
  8215. swait()
  8216. 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)
  8217. 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)
  8218. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
  8219. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8220. 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)
  8221. 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)
  8222. end
  8223. for i = 0,1,0.5 do
  8224. swait()
  8225. 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)
  8226. 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)
  8227. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(270)),.3)
  8228. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8229. 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)
  8230. 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)
  8231. end
  8232. for i = 0,1,0.5 do
  8233. swait()
  8234. 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)
  8235. 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)
  8236. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8237. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8238. 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)
  8239. 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)
  8240. end
  8241. end
  8242. coroutine.resume(coroutine.create(function()
  8243. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 50
  8244. CFuncs["Sound"].Create("rbxassetid://884155627", targetted.Head, 1,1)
  8245. CFuncs["Sound"].Create("rbxassetid://153092213", targetted.Head, 2.5,1)
  8246. end))
  8247. local A1 = Instance.new("Attachment",targetted.Head)
  8248. local A2 = Instance.new("Attachment",sorb)
  8249. local Beem = Instance.new("Beam",tors)
  8250. Beem.Attachment0 = A1
  8251. Beem.Attachment1 = A2
  8252. Beem.Texture = "rbxassetid://897585362"
  8253. Beem.LightEmission = 0.75
  8254. Beem.FaceCamera = true
  8255. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  8256. Beem.Width0 = 1
  8257. Beem.Width1 = 1
  8258. Beem.TextureMode = "Wrap"
  8259. Beem.TextureLength = 1
  8260. Beem.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8261. 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)
  8262. 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)
  8263. for x = 0, 24 do
  8264. local rsiz = math.random(5,15)
  8265. 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)
  8266. end
  8267.  
  8268. CFuncs["EchoSound"].Create("rbxassetid://1448032965", char, 7, 1,0,10,0.15,0.5,1)
  8269. CFuncs["EchoSound"].Create("rbxassetid://1448032965", root, 60, 1,0,10,0.15,0.5,1)
  8270. local radm = math.random(1,2)
  8271. if radm == 1 then
  8272. bosschatfunc("GOTCHA!!",MAINRUINCOLOR.Color,1)
  8273. elseif radm == 2 then
  8274. bosschatfunc("COM'ERE!!",MAINRUINCOLOR.Color,1)
  8275. end
  8276. for i = 0,3,0.1 do
  8277. swait()
  8278. coroutine.resume(coroutine.create(function()
  8279. local rsiz = math.random(5,15)
  8280. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  8281. 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)
  8282. end))
  8283. 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)
  8284. 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)
  8285. 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)
  8286. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
  8287. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(-50)),.6)
  8288. 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)
  8289. 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)
  8290. end
  8291. CFuncs["Sound"].Create("rbxassetid://231917750", sorb, 1.25,0.9)
  8292. CFuncs["Sound"].Create("rbxassetid://1042716828", sorb, 1.5,1)
  8293. local vel = Instance.new("BodyPosition", targetted.Head)
  8294. vel.P = 12500
  8295. vel.D = 1000
  8296. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  8297. vel.position = hed.CFrame.p + root.CFrame.lookVector*2.75
  8298. for i = 0,4,0.1 do
  8299. swait()
  8300. coroutine.resume(coroutine.create(function()
  8301. local rsiz = math.random(5,15)
  8302. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  8303. 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)
  8304. end))
  8305. 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)
  8306. 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)
  8307. 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)
  8308. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  8309. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(40)),.2)
  8310. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(-50)),.2)
  8311. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.2)
  8312. end
  8313. local visibility = 0
  8314. coroutine.resume(coroutine.create(function()
  8315. for i = 0, 49 do
  8316. swait()
  8317. visibility = visibility + 0.02
  8318. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, visibility),NumberSequenceKeypoint.new(1, visibility)})
  8319. end
  8320. Beem:Destroy()
  8321. A1:Destroy()
  8322. A2:Destroy()
  8323. end))
  8324. game:GetService("Debris"):AddItem(vel,0.75)
  8325. attack = false
  8326. hum.WalkSpeed = storehumanoidWS
  8327.  
  8328. end
  8329. end
  8330.  
  8331. function hugg()
  8332. attack = true
  8333. hum.WalkSpeed = 5
  8334. local rsiz = math.random(5,15)
  8335. for i = 0, 2, 0.1 do
  8336. swait()
  8337. 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)
  8338. 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)
  8339. 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)
  8340. 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)
  8341. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3)
  8342. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3)
  8343. end
  8344. CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
  8345. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8346. hb.Anchored = true
  8347. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8348. local huggedperson = nil
  8349. local act = false
  8350. local alreadydid = false
  8351. for i = 0, 3, 0.1 do
  8352. swait()
  8353. if act == false then
  8354. for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do
  8355. if v:FindFirstChild('Head') then
  8356. if alreadydid == false then
  8357. huggedperson = v
  8358. hum.WalkSpeed = 0
  8359. CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
  8360. CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
  8361. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
  8362. CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
  8363. local radm = math.random(1,3)
  8364. if radm == 1 then
  8365. bosschatfunc("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1)
  8366. elseif radm == 2 then
  8367. bosschatfunc("I..I'm interested in you",MAINRUINCOLOR.Color,1)
  8368. elseif radm == 3 then
  8369. bosschatfunc("Don't worry.. I'm with you",MAINRUINCOLOR.Color,1)
  8370. end
  8371. root.Anchored = true
  8372. coroutine.resume(coroutine.create(function()
  8373. huggedperson.Humanoid.WalkSpeed = 0
  8374. huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
  8375. end))
  8376. --chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
  8377. alreadydid = true
  8378. act = true
  8379. print(huggedperson.Name)
  8380. end
  8381. end
  8382. end
  8383. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8384. 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)
  8385. elseif act == true then
  8386. coroutine.resume(coroutine.create(function()
  8387. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8388. end))
  8389. rsiz = math.random(5,15)
  8390. 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)
  8391. 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)
  8392. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8393. end
  8394. 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)
  8395. 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)
  8396. 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)
  8397. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8398. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8399. end
  8400. hb:Destroy()
  8401. if act == true then
  8402. for x = 0, 2 do
  8403. for i = 0, 2, 0.1 do
  8404. swait()
  8405. coroutine.resume(coroutine.create(function()
  8406. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8407. end))
  8408. rsiz = math.random(5,15)
  8409. 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)
  8410. 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)
  8411. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8412. 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)
  8413. 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)
  8414. 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)
  8415. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8416. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8417. end
  8418. for i = 0, 2, 0.1 do
  8419. swait()
  8420. coroutine.resume(coroutine.create(function()
  8421. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8422. end))
  8423. rsiz = math.random(5,15)
  8424. 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)
  8425. 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)
  8426. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8427. 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)
  8428. 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)
  8429. 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)
  8430. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8431. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8432. end
  8433. end
  8434. end
  8435. hum.WalkSpeed = storehumanoidWS
  8436. root.Anchored = false
  8437. if act == true then
  8438. coroutine.resume(coroutine.create(function()
  8439. huggedperson.Humanoid.WalkSpeed = 16
  8440. huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
  8441. end))
  8442. end
  8443. hum.WalkSpeed = storehumanoidWS
  8444. attack = false
  8445. end
  8446.  
  8447. function Counter()
  8448. hum.WalkSpeed = 0
  8449. CFuncs["EchoSound"].Create("rbxassetid://2370794297", char, 5, 1,0,10,0.15,0.5,1)
  8450. CFuncs["EchoSound"].Create("rbxassetid://2370794297", root, 60, 1,0,10,0.15,0.5,1)
  8451. bosschatfunc("COUNTER!!",MAINRUINCOLOR.Color,1)
  8452. attack = true
  8453. for i = 0,1,0.1 do
  8454. swait()
  8455. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8456. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8457. 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)
  8458. 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)
  8459. 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)
  8460. 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)
  8461. end
  8462. CameraEnshaking(3,4)
  8463. MagniDamageWithEffect(root, 24, 0,0, 75, "Normal")
  8464. 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)
  8465. 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)
  8466. 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)
  8467. coroutine.resume(coroutine.create(function()
  8468. local eff = Instance.new("ParticleEmitter",root)
  8469. eff.Texture = "rbxassetid://363275192"
  8470. eff.LightEmission = 0.95
  8471. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8472. eff.Rate = 10000
  8473. eff.Lifetime = NumberRange.new(1)
  8474. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  8475. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  8476. eff.Speed = NumberRange.new(10,125)
  8477. eff.Drag = 5
  8478. eff.Rotation = NumberRange.new(-500,500)
  8479. eff.VelocitySpread = 9000
  8480. eff.RotSpeed = NumberRange.new(-50,50)
  8481. local eff2 = eff:Clone()
  8482. eff2.Parent = root
  8483. eff2.Texture = "rbxassetid://284205403"
  8484. eff2.Rate = 10000
  8485. 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)})
  8486. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  8487. eff2.Drag = 5
  8488. eff2.Speed = NumberRange.new(10,50)
  8489. eff2.Rotation = NumberRange.new(-500,500)
  8490. eff2.VelocitySpread = 9000
  8491. wait(0.25)
  8492. eff2.Enabled = false
  8493. eff.Enabled = false
  8494. wait(3)
  8495. eff2:Destroy()
  8496. eff:Destroy()
  8497. end))
  8498. for i = 0, 9 do
  8499. 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)
  8500. end
  8501. for i = 0, 24 do
  8502. local rsiz = math.random(5,20)
  8503. 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)
  8504. end
  8505. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  8506. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  8507. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  8508. for i = 0,2,0.1 do
  8509. swait()
  8510. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8511. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8512. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8513. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8514. 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)
  8515. 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)
  8516. end
  8517. hum.WalkSpeed = storehumanoidWS
  8518. attack = false
  8519. end
  8520.  
  8521. function superjump()
  8522. attack = true
  8523. hum.WalkSpeed = 0
  8524. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  8525. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  8526. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7.5, 1)
  8527. for i = 0, 2, 0.1 do
  8528. swait()
  8529. root.Velocity = vt(0,0,0)
  8530. 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"))
  8531. 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)
  8532. 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)
  8533. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,-1)*angles(math.rad(20),math.rad(0),math.rad(0)),.4)
  8534. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(0)),.4)
  8535. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(40)),.4)
  8536. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(-40)),.4)
  8537. end
  8538. MagniDamage(root, 28, 25,50, 25, "Normal")
  8539. CFuncs["Sound"].Create("rbxassetid://477843807", char, 17, 1.05)
  8540. hum.Jump = true
  8541. swait()
  8542. root.Velocity = vt(0,250,0) + root.CFrame.lookVector*250
  8543. 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)
  8544. 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)
  8545. CFuncs["Sound"].Create("rbxassetid://1295446488", root, 10, 1)
  8546. for i = 0, 3, 0.1 do
  8547. swait()
  8548. 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)
  8549. 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)
  8550. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.75,0)*angles(math.rad(40),math.rad(0),math.rad(0)),.4)
  8551. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.4)
  8552. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(20)),.4)
  8553. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.4)
  8554. end
  8555. attack = false
  8556. if equipped == false then
  8557. hum.WalkSpeed = 16
  8558. else
  8559. hum.WalkSpeed = 24
  8560. end
  8561. end
  8562.  
  8563.  
  8564. -------------------------------------
  8565.  
  8566.  
  8567.  
  8568. Humanoid.Animator.Parent = nil
  8569.  
  8570.  
  8571.  
  8572. -------------------------------------
  8573.  
  8574. local attacktype = 1
  8575. mouse.Button1Down:connect(function()
  8576. if attack == false and attacktype == 1 then
  8577. attacktype = 2
  8578. attackone()
  8579. elseif attack == false and attacktype == 2 then
  8580. attacktype = 3
  8581. attacktwo()
  8582. elseif attack == false and attacktype == 3 then
  8583. attacktype = 1
  8584. attackthree()
  8585. elseif attack == false and attacktype == 4 then
  8586. attacktype = 1
  8587. --attackfour()
  8588. end
  8589. end)
  8590. mouse.KeyDown:connect(function(k)
  8591. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  8592. --normalmog()
  8593. ModeOfGlitch = 1
  8594. storehumanoidWS = 16
  8595. hum.WalkSpeed = 16
  8596. rainbowmode = false
  8597. chaosmode = false
  8598. newTheme("rbxassetid://1255569288",48.6,1,0.85)
  8599. RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  8600. MAINRUINCOLOR = BrickColor.new("Really red")
  8601. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  8602. end
  8603. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  8604. ModeOfGlitch = 2
  8605. storehumanoidWS = 16
  8606. hum.WalkSpeed = 16
  8607. rainbowmode = false
  8608. chaosmode = false
  8609. RecolorTextAndRename("PURITY",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  8610. newTheme("rbxassetid://1539245059",0,1,0.85)
  8611. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  8612. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8613. end
  8614. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  8615. ModeOfGlitch = 3
  8616. storehumanoidWS = 14
  8617. hum.WalkSpeed = 14
  8618. rainbowmode = false
  8619. chaosmode = false
  8620. RecolorTextAndRename("CORRUPTION",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  8621. newTheme("rbxassetid://1283869370",58.15,0.98,1)
  8622. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8623. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8624. end
  8625. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  8626. ModeOfGlitch = 4
  8627. storehumanoidWS = 14
  8628. hum.WalkSpeed = 14
  8629. rainbowmode = false
  8630. chaosmode = true
  8631. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
  8632. newTheme("rbxassetid://1369263130",0,1.01,0.85)
  8633. MAINRUINCOLOR = BrickColor.new("Black")
  8634. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8635. end
  8636. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  8637. ModeOfGlitch = 5
  8638. storehumanoidWS = 14
  8639. hum.WalkSpeed = 14
  8640. rainbowmode = false
  8641. chaosmode = false
  8642. RecolorTextAndRename("DIVINITY",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  8643. newTheme("rbxassetid://661079869",0,1.02,0.85)
  8644. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  8645. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8646. end
  8647. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  8648. ModeOfGlitch = 6
  8649. storehumanoidWS = 65
  8650. hum.WalkSpeed = 65
  8651. rainbowmode = false
  8652. chaosmode = false
  8653. RecolorTextAndRename("EQUINOX",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  8654. newTheme("rbxassetid://1347011178",0,1.01,0.85)
  8655. MAINRUINCOLOR = BrickColor.new("White")
  8656. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8657. end
  8658. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  8659. ModeOfGlitch = 8
  8660. storehumanoidWS = 100
  8661. hum.WalkSpeed = 100
  8662. rainbowmode = false
  8663. chaosmode = false
  8664. RecolorTextAndRename("DESTINY",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  8665. newTheme("rbxassetid://1495032271",0,1.01,0.85)
  8666. MAINRUINCOLOR = BrickColor.new("Alder")
  8667. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8668. end
  8669. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  8670. ModeOfGlitch = 9
  8671. storehumanoidWS = 85
  8672. hum.WalkSpeed = 85
  8673. rainbowmode = false
  8674. chaosmode = false
  8675. RecolorTextAndRename("INFESTATION",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  8676. newTheme("rbxassetid://1296208488",0,1.01,0.85)
  8677. MAINRUINCOLOR = BrickColor.new("Br. yellowish green")
  8678. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8679. end
  8680. if k == "h" and attack == false and ModeOfGlitch ~= 5555 then
  8681. ModeOfGlitch = 5555
  8682. storehumanoidWS = 30
  8683. hum.WalkSpeed = 30
  8684. rainbowmode = false
  8685. chaosmode = false
  8686. RecolorTextAndRename("L-O-V-E",Color3.new(1,1,1),BrickColor.new("Hot pink").Color,"Arcade")
  8687. newTheme("rbxassetid://736003449",0,1,1.25)
  8688. MAINRUINCOLOR = BrickColor.new("Hot pink")
  8689. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8690. end
  8691. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  8692. CalamityTrans()
  8693. end
  8694. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  8695. ModeOfGlitch = 55469696922
  8696. storehumanoidWS = 95
  8697. hum.WalkSpeed = 95
  8698. rainbowmode = false
  8699. chaosmode = false
  8700. RecolorTextAndRename("NANODEATH",Color3.new(0.25,0,0.1),BrickColor.new("Hot pink").Color,"Antique")
  8701. newTheme("rbxassetid://582020393",0,1.005,0.9)
  8702. MAINRUINCOLOR = BrickColor.new("Hot pink")
  8703. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8704. end
  8705. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  8706. ModeOfGlitch = 4367677813
  8707. storehumanoidWS = 75
  8708. hum.WalkSpeed = 75
  8709. rainbowmode = false
  8710. chaosmode = false
  8711. RecolorTextAndRename("SHD",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  8712. newTheme("rbxassetid://363284685",0,1.01,0.95)
  8713. MAINRUINCOLOR = BrickColor.new("Baby blue")
  8714. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8715. end
  8716. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  8717. ModeOfGlitch = 9999999921111
  8718. storehumanoidWS = 145
  8719. hum.WalkSpeed = 145
  8720. rainbowmode = false
  8721. chaosmode = false
  8722. RecolorTextAndRename("OMEGA",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  8723. newTheme("rbxassetid://643309199",0,1.01,1)
  8724. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  8725. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8726. end
  8727. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  8728. ModeOfGlitch = 999999999556
  8729. storehumanoidWS = 115
  8730. hum.WalkSpeed = 115
  8731. rainbowmode = false
  8732. chaosmode = false
  8733. RecolorTextAndRename("CRAZED",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
  8734. newTheme("rbxassetid://719008519",0,1.02,0.85)
  8735. MAINRUINCOLOR = BrickColor.new("Navy blue")
  8736. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8737. end
  8738. if k == "m" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 12 then
  8739. ModeOfGlitch = 12
  8740. storehumanoidWS = 19
  8741. hum.WalkSpeed = 19
  8742. rainbowmode = false
  8743. chaosmode = false
  8744. print'Mode was meant for Vengeful Program or those other fans out there'
  8745. RecolorTextAndRename("NEPTUNIA",BrickColor.new("Royal purple").Color,BrickColor.new("Bright blue").Color,"SciFi")
  8746. newTheme("rbxassetid://1873219898",0,1,1.7)
  8747. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8748. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8749. end
  8750.  
  8751. if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 50 then
  8752. sphere(0.9,"Add",root.CFrame,vt(0,100000,0),1,BrickColor.new("Institutional white"))
  8753. for i = 0, 49 do
  8754. 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)
  8755. end
  8756. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8757. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8758. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8759. hum.WalkSpeed = storehumanoidWS
  8760. attack = false
  8761. ModeOfGlitch = 50
  8762. storehumanoidWS = 18
  8763. hum.WalkSpeed = 18
  8764. rainbowmode = false
  8765. chaosmode = false
  8766. RecolorTextAndRename("EnBelived",BrickColor.new("Institutional white").Color,BrickColor.new("Institutional white").Color,"Arcade")
  8767. newTheme("rbxassetid://435773595",0,1.01,1.5)
  8768. MAINRUINCOLOR = BrickColor.new("Institutional white")
  8769. RecolorThing(MAINRUINCOLOR,BrickColor.new("Institutional white"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8770. end
  8771.  
  8772. if k == "m" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 66 then
  8773. hum.WalkSpeed = 0
  8774. attack = true
  8775. for i = 0,1,0.1 do
  8776. swait()
  8777. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8778. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8779. 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)
  8780. 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)
  8781. 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)
  8782. 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)
  8783. end
  8784. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8785. for i = 0, 148 do
  8786. 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)
  8787. end
  8788. for i = 0,3,0.1 do
  8789. 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)
  8790. end
  8791. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8792. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8793. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8794. hum.WalkSpeed = storehumanoidWS
  8795. attack = false
  8796. ModeOfGlitch = 66
  8797. storehumanoidWS = 16
  8798. hum.WalkSpeed = 16
  8799. rainbowmode = false
  8800. chaosmode = false
  8801. newTheme("rbxassetid://"..ast[Mrandom(1,2)],0,1,1.35)
  8802. MAINRUINCOLOR = BrickColor.new("Really black")
  8803. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8804. for i = 0,2,0.1 do
  8805. swait()
  8806. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8807. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8808. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8809. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8810. 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)
  8811. 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)
  8812. end
  8813. end
  8814.  
  8815. if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 13 then
  8816. hum.WalkSpeed = 0
  8817. attack = true
  8818. for i = 0,1,0.1 do
  8819. swait()
  8820. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8821. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8822. 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)
  8823. 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)
  8824. 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)
  8825. 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)
  8826. end
  8827. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8828. for i = 0, 49 do
  8829. 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)
  8830. end
  8831. for i = 0,3,0.1 do
  8832. 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)
  8833. end
  8834. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8835. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8836. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8837. hum.WalkSpeed = storehumanoidWS
  8838. attack = false
  8839. ModeOfGlitch = 13
  8840. storehumanoidWS = 45
  8841. hum.WalkSpeed = 45
  8842. rainbowmode = false
  8843. chaosmode = false
  8844. RecolorTextAndRename("Judician",BrickColor.new("Dark stone grey").Color,BrickColor.new("Light blue").Color,"Bodoni")
  8845. newTheme("rbxassetid://190845741",0,1,1.35)
  8846. MAINRUINCOLOR = BrickColor.new("Dark stone grey")
  8847. RecolorThing(MAINRUINCOLOR,BrickColor.new("Light blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8848. for i = 0,2,0.1 do
  8849. swait()
  8850. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8851. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8852. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8853. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8854. 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)
  8855. 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)
  8856. end
  8857. end
  8858. if k == "j" and attack == false and ModeOfGlitch ~= 1002 then
  8859. ModeOfGlitch = 1002
  8860. storehumanoidWS = 45
  8861. hum.WalkSpeed = 45
  8862. rainbowmode = false
  8863. chaosmode = false
  8864. RecolorTextAndRename("PIXELED",BrickColor.new("Really black").Color,BrickColor.new("Dark blue").Color,"Code")
  8865. newTheme("rbxassetid://2027652726",0,1,0.85)
  8866. MAINRUINCOLOR = BrickColor.new("Dark blue")
  8867. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8868. end
  8869. if k == "k" and attack == false and ModeOfGlitch ~= 1003 then
  8870. ModeOfGlitch = 1003
  8871. storehumanoidWS = 90
  8872. hum.WalkSpeed = 90
  8873. rainbowmode = false
  8874. chaosmode = false
  8875. RecolorTextAndRename("ASCENDED",BrickColor.new("White").Color,BrickColor.new("Bright yellow").Color,"Code")
  8876. newTheme("rbxassetid://257453119",0,1,0.85)
  8877. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  8878. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8879. end
  8880. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  8881. ModeOfGlitch = 1264532489
  8882. storehumanoidWS = 175
  8883. hum.WalkSpeed = 175
  8884. rainbowmode = false
  8885. chaosmode = false
  8886. RecolorTextAndRename("FALLENX",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  8887. newTheme("rbxassetid://1505487022",0,1.01,1.25)
  8888. MAINRUINCOLOR = BrickColor.new("Pastel green")
  8889. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8890. end
  8891. if k == "l" and mutedtog == false then
  8892. mutedtog = true
  8893. kan.Volume = 0.85
  8894. elseif k == "l" and mutedtog == true then
  8895. mutedtog = false
  8896. kan.Volume = 0.85
  8897. end
  8898. if k == "p" and toggleTag == false then
  8899. toggleTag = true
  8900. modet.TextTransparency = 0
  8901. modet.TextStrokeTransparency = 0
  8902. elseif k == "p" and toggleTag == true then
  8903. toggleTag = false
  8904. modet.TextTransparency = 1
  8905. modet.TextStrokeTransparency = 1
  8906. end
  8907. if k == "z" and attack == false and ModeOfGlitch == 1 then
  8908. ExtinctiveHeartbreak()
  8909. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  8910. HeavenlyDisk()
  8911. elseif k == "z" and attack == false and ModeOfGlitch == 9 then
  8912. DualGleamingBeam()
  8913. elseif k == "c" and attack == false and ModeOfGlitch == 9 then
  8914. BanishingOrb()
  8915. elseif k == "z" and attack == false and ModeOfGlitch == 5555 then
  8916. hugg()
  8917. elseif k == "b" and attack == false and ModeOfGlitch == 55469696922 then
  8918. cutesigh()
  8919. elseif k == "v" and attack == false and ModeOfGlitch == 55469696922 then
  8920. Counter()
  8921. elseif k == "v" and attack == false and ModeOfGlitch == 12 then
  8922. superjump()
  8923. elseif k == "v" and attack == false and ModeOfGlitch == 9999999921111 then
  8924. dragin()
  8925. elseif k == "x" and attack == false and ModeOfGlitch == 8889 then
  8926. UniversalCollapse()
  8927. elseif k == "c" and attack == false and ModeOfGlitch == 2 then
  8928. PureBomb()
  8929. elseif k == "z" and attack == false and ModeOfGlitch == 999999999556 then
  8930. Beams()
  8931. elseif k == "x" and attack == false and ModeOfGlitch == 55469696922 then
  8932. BeamOfDeath()
  8933. elseif k == "v" and attack == false and ModeOfGlitch == 8 then
  8934. THE_TRUE_POWER_OF_VIOLENCE()
  8935. elseif k == "z" and attack == false and ModeOfGlitch == 8 then
  8936. GleamingBeam()
  8937. elseif k == "x" and attack == false and ModeOfGlitch == 5 then
  8938. ViolentRing()
  8939. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  8940. CorruptionEvent()
  8941. elseif k == "v" and attack == false and ModeOfGlitch == 3 then
  8942. CorruptBlink()
  8943. elseif k == "c" and attack == false and ModeOfGlitch == 3 then
  8944. scattercorrupt()
  8945. elseif k == "b" and attack == false and ModeOfGlitch == 5555 then
  8946. shytaunty()
  8947. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  8948. RapidBurst()
  8949. elseif k == "x" and attack == false and ModeOfGlitch == 4 then
  8950. ChaosEND()
  8951. elseif k == "c" and attack == false and ModeOfGlitch == 9999999921111 then
  8952. CyberSlash()
  8953. elseif k == "z" and attack == false and ModeOfGlitch == 4367677813 then
  8954. smiter()
  8955. elseif k == "z" and attack == false and ModeOfGlitch == 1002 then
  8956. SpeedDrop()
  8957. elseif k == "x" and attack == false and ModeOfGlitch == 5555 then
  8958. FuckMeSidewaysAndCallMeGay()
  8959. elseif k == "v" and attack == false and ModeOfGlitch == 5 then
  8960. --DivineLights()
  8961. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  8962. DivineBlast()
  8963. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  8964. EquinoxOrbs()
  8965. elseif k == "v" and attack == false and ModeOfGlitch == 6 then
  8966. yinyangi()
  8967. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  8968. FallenOrbs()
  8969. elseif k == "z" and attack == false and ModeOfGlitch == 1003 then
  8970. StarfallEX()
  8971. end
  8972. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  8973. FallenDEMISE()
  8974. end
  8975. if k == "x" and attack == false and ModeOfGlitch == 1 then
  8976. EndGROUND()
  8977. end
  8978. end)
  8979.  
  8980. coroutine.resume(coroutine.create(function()
  8981. while true do
  8982. swait()
  8983. 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
  8984. 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)
  8985. end
  8986. if ModeOfGlitch == 5555 then
  8987. 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)
  8988. end
  8989. end
  8990. end))
  8991. --[[coroutine.resume(coroutine.create(function()
  8992. while true do
  8993. swait(2)
  8994. if chaosmode == true then
  8995. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  8996. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  8997. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  8998. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
  8999. for i, v in pairs(mw1:GetChildren()) do
  9000. if v:IsA("Part") then
  9001. v.Transparency = 0.75
  9002. v.BrickColor = BrickColor.random()
  9003. v.Material = "Neon"
  9004. end
  9005. end
  9006. for i, v in pairs(m2:GetChildren()) do
  9007. if v:IsA("Part") then
  9008. v.BrickColor = BrickColor.random()
  9009. v.Material = "Neon"
  9010. end
  9011. end
  9012. end
  9013. end
  9014. end))]]
  9015.  
  9016.  
  9017.  
  9018. ff = Instance.new("ForceField",char)
  9019. ff.Visible = false
  9020. hum.Name = "Base"
  9021. hum.MaxHealth = 1.0E298
  9022. hum.Health = 1.0E298
  9023. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  9024. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  9025. hum.MaxHealth = 1.0E298
  9026. hum.Health = 1.0E298
  9027. end
  9028. end)
  9029.  
  9030. local Hair = Instance.new("Part", char)
  9031. Hair.Name = "Hair"
  9032. Hair.CanCollide = false
  9033. Hair.BrickColor = BrickColor.new("Institutional white")
  9034. Hair.Transparency = 0
  9035. Hair.Material = "Plastic"
  9036. Hair.Size = Vector3.new(1, 1, 2)
  9037. Hair.TopSurface = Enum.SurfaceType.Smooth
  9038. Hair.BottomSurface = Enum.SurfaceType.Smooth
  9039.  
  9040.  
  9041. local bguis = Instance.new("BillboardGui",tors)
  9042. bguis.Size = UDim2.new(25, 0, 25, 0)
  9043. local imgca = Instance.new("ImageLabel",bguis)
  9044. imgca.BackgroundTransparency = 1
  9045. imgca.ImageTransparency = 1
  9046. imgca.Size = UDim2.new(1,0,1,0)
  9047. imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
  9048. imgca.ImageColor3 = Color3.new(0,0,0)
  9049.  
  9050.  
  9051. local bguis2 = Instance.new("BillboardGui",tors)
  9052. bguis2.Size = UDim2.new(25, 0, 25, 0)
  9053. local imgca2 = Instance.new("ImageLabel",bguis)
  9054. imgca2.BackgroundTransparency = 1
  9055. imgca2.ImageTransparency = 1
  9056. imgca2.Size = UDim2.new(1,0,1,0)
  9057. imgca2.Image = "rbxassetid://2406462507" --997291547,521073910,2312119891
  9058. imgca2.ImageColor3 = Color3.new(0,0,0)
  9059.  
  9060.  
  9061.  
  9062. idleanim=.4
  9063. while true do
  9064. if mutedtog == false then
  9065. kan.Volume = currentVol
  9066. elseif mutedtog == true then
  9067. kan.Volume = 0
  9068. end
  9069. kan.PlaybackSpeed = currentPitch
  9070. kan.Pitch = currentPitch
  9071. kan.SoundId = currentThemePlaying
  9072. kan.Looped = true
  9073. kan.Parent = char
  9074. kan:Resume()
  9075. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 13 then
  9076. imgca.ImageTransparency = 1
  9077. imgca2.ImageTransparency = 1
  9078. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  9079. imgca.ImageColor3 = MAINRUINCOLOR.Color
  9080. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9081. elseif ModeOfGlitch == 13 then
  9082. imgca2.ImageColor3 = MAINRUINCOLOR.Color
  9083. imgca2.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9084. end
  9085. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  9086. bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9087. imgca2.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/60
  9088. bguis2.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9089. coroutine.resume(coroutine.create(function()
  9090. if chaosmode == true then
  9091. for i, v in pairs(mw1:GetChildren()) do
  9092. if v:IsA("Part") then
  9093. v.Transparency = 0
  9094. v.BrickColor = BrickColor.random()
  9095. v.Material = "Neon"
  9096. end
  9097. end
  9098. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9099. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9100. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9101. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  9102. end
  9103. end))
  9104. coroutine.resume(coroutine.create(function()
  9105. if ModeOfGlitch == 66 then
  9106. for i, v in pairs(m:GetChildren()) do
  9107. if v:IsA("Part") then
  9108. v.Transparency = 0
  9109. v.BrickColor = BrickColor.random()
  9110. v.Material = "Neon"
  9111. end
  9112. end
  9113. for i, v in pairs(m2:GetChildren()) do
  9114. if v:IsA("Part") then
  9115. v.Transparency = 0
  9116. v.BrickColor = BrickColor.random()
  9117. v.Material = "Neon"
  9118. end
  9119. end
  9120. for i, v in pairs(mw1:GetChildren()) do
  9121. if v:IsA("Part") then
  9122. v.Transparency = 0
  9123. v.BrickColor = BrickColor.random()
  9124. v.Material = "Neon"
  9125. end
  9126. end
  9127. for i, v in pairs(extrawingmod1:GetChildren()) do
  9128. if v:IsA("Part") then
  9129. v.Transparency = 0.5
  9130. v.BrickColor = BrickColor.random()
  9131. v.Material = "Neon"
  9132. end
  9133. end
  9134. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9135. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9136. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9137. gane.Color = ColorSequence.new(BrickColor.random().Color)
  9138. gan.Color = ColorSequence.new(BrickColor.random().Color)
  9139. end
  9140. end))
  9141.  
  9142. coroutine.resume(coroutine.create(function()
  9143. if ModeOfGlitch == 66 then
  9144. RecolorTextAndRename("BETRAYAL",BrickColor.random().Color,Color3.new(0,0,0),"Garamond")
  9145. end
  9146. end))
  9147.  
  9148. if chaosmode == false then
  9149. modet.Position = UDim2.new(0,0,0,0)
  9150. modet.Rotation = -5 * math.cos(sine / 32)
  9151. techc.Rotation = techc.Rotation + 1
  9152. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/200 - 1
  9153. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/175 + 1
  9154. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/175 + 1
  9155. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/150 - 1
  9156. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  9157. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  9158. else
  9159. techc.Rotation = techc.Rotation + 1
  9160. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  9161. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  9162. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  9163. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  9164. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  9165. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  9166. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  9167. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  9168. end
  9169. CameraManager()
  9170. swait()
  9171. 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)
  9172. 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)
  9173. 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)
  9174. 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)
  9175. 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)
  9176. 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)
  9177. 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)
  9178. 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)
  9179. 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)
  9180. 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)
  9181. 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)
  9182. 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)
  9183. sine = sine + change
  9184. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  9185. local velderp=RootPart.Velocity.y
  9186. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  9187. coroutine.resume(coroutine.create(function()
  9188. 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
  9189. if hitfloor ~= nil then
  9190. 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"))
  9191. if ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 13 then
  9192. 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)
  9193. end
  9194. end
  9195. end
  9196. end))
  9197. if equipped==true or equipped==false then
  9198. if attack==false then
  9199. idle=idle+1
  9200. else
  9201. idle=0
  9202. end
  9203. if idle>=500 then
  9204. if attack==false then
  9205. --Sheath()
  9206. end
  9207. end
  9208. if RootPart.Velocity.y > 1 and hitfloor==nil then
  9209. Anim="Jump"
  9210. if attack==false then
  9211. 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)
  9212. 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)
  9213. 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)
  9214. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  9215. 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)
  9216. 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)
  9217. end
  9218. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  9219. Anim="Fall"
  9220. if attack==false then
  9221. 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)
  9222. 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)
  9223. 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)
  9224. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  9225. 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)
  9226. 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)
  9227. end
  9228. elseif torvel<1 and hitfloor~=nil then
  9229. Anim="Idle"
  9230. if attack==false then
  9231. if ModeOfGlitch == 1 then
  9232. local snap = math.random(1,10)
  9233. if snap == 1 then
  9234. 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)
  9235. end
  9236. 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)
  9237. 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)
  9238. 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)
  9239. 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)
  9240. 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)
  9241. 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)
  9242. elseif ModeOfGlitch == 2 then
  9243. 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)
  9244. 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)
  9245. 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)
  9246. 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)
  9247. 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)
  9248. 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)
  9249. elseif ModeOfGlitch == 2 then
  9250. 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)
  9251. 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)
  9252. 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)
  9253. 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)
  9254. 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)
  9255. 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)
  9256. elseif ModeOfGlitch == 50 then
  9257. 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)
  9258. 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)
  9259. 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)
  9260. 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)
  9261. 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)
  9262. 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)
  9263. elseif ModeOfGlitch == 5555 then --5555
  9264. 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)
  9265. 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)
  9266. 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)
  9267. 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)
  9268. 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)
  9269. 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)
  9270. elseif ModeOfGlitch == 1002 then
  9271. 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)
  9272. 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)
  9273. 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)
  9274. 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)
  9275. 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)
  9276. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
  9277. elseif ModeOfGlitch == 12 then
  9278. 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)
  9279. 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)
  9280. 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)
  9281. 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)
  9282. 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)
  9283. 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)
  9284. elseif ModeOfGlitch == 3 then
  9285. local snap = math.random(1,32)
  9286. if snap == 1 then
  9287. 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)
  9288. end
  9289. 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)
  9290. 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)
  9291. 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)
  9292. 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)
  9293. 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)
  9294. 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)
  9295. elseif ModeOfGlitch == 4 then
  9296. local snap = math.random(1,5)
  9297. if snap == 1 then
  9298. 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)
  9299. 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)
  9300. 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)
  9301. end
  9302. 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)
  9303. 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)
  9304. 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)
  9305. 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)
  9306. 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)
  9307. 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)
  9308. elseif ModeOfGlitch == 66 then
  9309. local snap = math.random(1,2)
  9310. if snap == 1 then
  9311. 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)
  9312. 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)
  9313. 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)
  9314. end
  9315. 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)
  9316. 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)
  9317. 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)
  9318. 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)
  9319. 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)
  9320. 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)
  9321. elseif ModeOfGlitch == 5 then
  9322. 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)
  9323. 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)
  9324. 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)
  9325. 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)
  9326. 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)
  9327. 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)
  9328. elseif ModeOfGlitch == 6 then
  9329. 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)
  9330. 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)
  9331. 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)
  9332. 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)
  9333. 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)
  9334. 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)
  9335. elseif ModeOfGlitch == 13 then
  9336. 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)
  9337. 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)
  9338. 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)
  9339. 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)
  9340. 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)
  9341. 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)
  9342. elseif ModeOfGlitch == 8 then
  9343. 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)
  9344. 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)
  9345. 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)
  9346. 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)
  9347. 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)
  9348. 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)
  9349. elseif ModeOfGlitch == 9 then
  9350. 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)
  9351. 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))
  9352. 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)
  9353. 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)
  9354. 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)
  9355. 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)
  9356. 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)
  9357. 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)
  9358. elseif ModeOfGlitch == 1003 then
  9359. 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)
  9360. 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)
  9361. 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)
  9362. 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)
  9363. 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)
  9364. 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)
  9365.  
  9366. elseif ModeOfGlitch == 8889 then
  9367. 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)
  9368. 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)
  9369. 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)
  9370. 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)
  9371. 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)
  9372. 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)
  9373. elseif ModeOfGlitch == 1264532489 then
  9374. 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)
  9375. 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)
  9376. 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)
  9377. 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)
  9378. 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)
  9379. 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)
  9380. 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)
  9381. elseif ModeOfGlitch == 9999999921111 then --9999999921111
  9382. 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)
  9383. 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)
  9384. 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)
  9385. 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)
  9386. 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)
  9387. 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)
  9388. elseif ModeOfGlitch == 4367677813 then
  9389. 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)
  9390. 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)
  9391. 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)
  9392. 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)
  9393. 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)
  9394. 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)
  9395. elseif ModeOfGlitch == 55469696922 then --5555
  9396. 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)
  9397. 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)
  9398. 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)
  9399. 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)
  9400. 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)
  9401. 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)
  9402. elseif ModeOfGlitch == 999999999556 then
  9403. 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)
  9404. 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)
  9405. 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)
  9406. 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)
  9407. 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)
  9408. 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)
  9409. end
  9410. end
  9411. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  9412. Anim="Walk"
  9413. if attack==false and ModeOfGlitch ~= 66 then
  9414. 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)
  9415. 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)
  9416. 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)
  9417. 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)
  9418. 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)
  9419. 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)
  9420. elseif attack==false and ModeOfGlitch == 66 then
  9421. 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)
  9422. 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)
  9423. 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)
  9424. 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)
  9425. 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)
  9426. 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)
  9427. end
  9428. elseif torvel>=22 and hitfloor~=nil then
  9429. Anim="Run"
  9430. if attack==false then
  9431. 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
  9432. 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)
  9433. 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)
  9434. 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)
  9435. 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)
  9436. 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)
  9437. 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)
  9438. if ModeOfGlitch == 12 then
  9439. 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)
  9440. 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)
  9441. 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)
  9442. 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)
  9443. 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)
  9444. 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)
  9445. end
  9446. if ModeOfGlitch == 9 then
  9447. 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)
  9448. 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))
  9449. 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)
  9450. end
  9451. 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
  9452. 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)
  9453. 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)
  9454. 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)
  9455. 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)
  9456. 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)
  9457. 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)
  9458. elseif ModeOfGlitch == 13 then
  9459. 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)
  9460. 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)
  9461. 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)
  9462. 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)
  9463. 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)
  9464. 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)
  9465. end
  9466. end
  9467. end
  9468. end
  9469. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement