daily pastebin goal
62%
SHARE
TWEET

Untitled

a guest Feb 20th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. wait(0.2)
  2.  
  3.  
  4. warn([[SpectrumGlitcher v5 AWAKENED Loaded.
  5. The super switcher.
  6. Velnorum is one of the first wielders.
  7.  
  8. Created, Reworked by NoobyGames12
  9. Edited by GodzPlaysRB
  10. Edited by wanTH092 (Gam_Filano CH)
  11. SpectrumGlitcher Developers ^^^
  12. ]])
  13.  
  14.  
  15. ------------- ORIGINAL WIELDER OC: Velnorum
  16. print([[Icons:
  17. ! = New
  18. ? = Spoilers
  19. * = Exclusivity
  20. C = Changes
  21.  
  22. ]])
  23. warn([[V 7.5 Update Log:
  24. C: Changed everything to guest xd
  25. ]])
  26. --- its obs smooth af do not touch
  27. ---- Sources and functions might be taken from others
  28. plr = game:GetService("Players").Ruan176Br
  29. char = plr.Character
  30. hum = char.Humanoid
  31. local cam = game.Workspace.CurrentCamera
  32. Camera = cam
  33. local CamInterrupt = false
  34. local TwoD = false
  35. local TargetInfo = {nil, nil}
  36. cam.CameraType = "Custom"
  37. t = char.Torso
  38. h = char.Head
  39. ra = char["Right Arm"]
  40. la = char["Left Arm"]
  41. rl = char["Right Leg"]
  42. ll = char["Left Leg"]
  43. tors = char.Torso
  44. lleg = char["Left Leg"]
  45. root = char.HumanoidRootPart
  46. hed = char.Head
  47. rleg = char["Right Leg"]
  48. rarm = char["Right Arm"]
  49. larm = char["Left Arm"]
  50. radian = math.rad
  51. random = math.random
  52. Vec3 = Vector3.new
  53. Inst = Instance.new
  54. cFrame = CFrame.new
  55. Euler = CFrame.fromEulerAnglesXYZ
  56. vt = Vector3.new
  57. bc = BrickColor.new
  58. br = BrickColor.random
  59. it = Instance.new
  60. cf = CFrame.new
  61. local Player_Size = 0
  62. cam = game.Workspace.CurrentCamera
  63. CF = CFrame.new
  64. angles = CFrame.Angles
  65. attack = false
  66. Euler = CFrame.fromEulerAnglesXYZ
  67. Rad = math.rad
  68. IT = Instance.new
  69. BrickC = BrickColor.new
  70. Cos = math.cos
  71. Acos = math.acos
  72. Sin = math.sin
  73. Asin = math.asin
  74. Abs = math.abs
  75. Mrandom = math.random
  76. Floor = math.floor
  77. IT = Instance.new
  78. CF = CFrame.new
  79. VT = Vector3.new
  80. RAD = math.rad
  81. C3 = Color3.new
  82. UD2 = UDim2.new
  83. BRICKC = BrickColor.new
  84. ANGLES = CFrame.Angles
  85. EULER = CFrame.fromEulerAnglesXYZ
  86. COS = math.cos
  87. ACOS = math.acos
  88. SIN = math.sin
  89. ASIN = math.asin
  90. ABS = math.abs
  91. MRANDOM = math.random
  92. FLOOR = math.floor
  93. local SINE = 0
  94.  
  95. local Booleans = {
  96.   CamFollow = true,
  97.   GyroUse = true
  98. }
  99.  
  100. function lerp(object, newCFrame, alpha)
  101.   return object:lerp(newCFrame, alpha)
  102. end
  103.  
  104. local Directer = Inst("BodyGyro", root)
  105. Directer.MaxTorque = Vec3(0, 0, 0)
  106. Directer.P = 600000
  107. local CPart = Inst("Part")
  108. CPart.Anchored = true
  109. CPart.CanCollide = false
  110. CPart.Locked = true
  111. CPart.Transparency = 1
  112.  
  113. local rainbowmode = false
  114. local chaosmode = false
  115.  
  116. local kan = Instance.new("Sound",tors)
  117. kan.Volume = 0.85
  118. kan.TimePosition = 0
  119. kan.PlaybackSpeed = 1
  120. kan.Pitch = 1
  121. kan.SoundId = "rbxassetid://1255569288"
  122. kan.Name = "wrecked"
  123. kan.Looped = true
  124. kan:Play()
  125.  
  126. local currentThemePlaying = kan.SoundId
  127. local currentPitch = kan.Pitch
  128. local currentVol = kan.Volume
  129. function newTheme(ID,timepos,pitch,vol)
  130. local kanz = kan
  131. --kanz:Stop()
  132. kanz.Volume = vol
  133. --kanz.TimePosition = timepos
  134. kanz.PlaybackSpeed = pitch
  135. kanz.Pitch = pitch
  136. kanz.SoundId = ID
  137. kanz.Name = "wrecked"
  138. kanz.Looped = true
  139. currentThemePlaying = kanz.SoundId
  140. currentVol = kanz.Volume
  141. currentPitch = kanz.Pitch
  142. --kanz:Play()
  143. --coroutine.resume(coroutine.create(function()
  144. --wait(0.05)
  145. --end))
  146. end
  147.  
  148. function newThemeCust(ID,timepos,pitch,vol)
  149. local kanz = kan
  150. kanz:Stop()
  151. kanz.Volume = vol
  152. kanz.TimePosition = timepos
  153. kanz.PlaybackSpeed = pitch
  154. kanz.Pitch = pitch
  155. kanz.SoundId = ID
  156. kanz.Name = "wrecked"
  157. kanz.Looped = true
  158. currentThemePlaying = kanz.SoundId
  159. currentVol = kanz.Volume
  160. currentPitch = kanz.Pitch
  161. kanz:Play()
  162. coroutine.resume(coroutine.create(function()
  163. wait(0.05)
  164. end))
  165. end
  166.  
  167. local mutedtog = false
  168.  
  169. function CameraEnshaking(Length,Intensity)
  170. coroutine.resume(coroutine.create(function()
  171.       local intensity = 1*Intensity
  172.       local rotM = 0.01*Intensity
  173. for i = 0, Length, 0.1 do
  174. swait()
  175. intensity = intensity - 0.05*Intensity/Length
  176. rotM = rotM - 0.0005*Intensity/Length
  177.       hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  178.       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)
  179. end
  180. Humanoid.CameraOffset = Vec3(0, 0, 0)
  181. end))
  182. end
  183. CamShake=function(Part,Distan,Power,Times)
  184. local de=Part.Position
  185. for i,v in pairs(workspace:children()) do
  186.  if v:IsA("Model") and v:findFirstChild("Humanoid") then
  187. for _,c in pairs(v:children()) do
  188. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  189. local Noob=v.Humanoid
  190. if Noob~=nil then
  191. coroutine.resume(coroutine.create(function()
  192. FV = Instance.new("BoolValue", Noob)
  193. FV.Name = "CameraShake"
  194. for ShakeNum=1,Times do
  195. swait()
  196. local ef=Power
  197.   if ef>=1 then
  198.    Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  199.   else
  200.    ef=Power*10
  201.    Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  202.   end  
  203. end
  204. Humanoid.CameraOffset = Vector3.new(0,0,0)
  205. FV:Destroy()
  206. end))
  207. CameraShake(Times, Power, Noob)
  208. end
  209. end
  210. end
  211. end
  212. end
  213. end
  214.  
  215. local toggleTag = true
  216. local bilguit = Instance.new("BillboardGui", hed)
  217. bilguit.Adornee = nil
  218. bilguit.Name = "ModeName"
  219. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  220. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  221. local modet = Instance.new("TextLabel", bilguit)
  222. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  223. modet.FontSize = "Size8"
  224. modet.TextScaled = true
  225. modet.TextTransparency = 0
  226. modet.BackgroundTransparency = 1
  227. modet.TextTransparency = 0
  228. modet.TextStrokeTransparency = 0
  229. modet.Font = "Antique"
  230. modet.TextStrokeColor3 = Color3.new(1,0,0)
  231. modet.TextColor3 = Color3.new(0.25,0,0)
  232. modet.Text = "Hopeless Guest"
  233.  
  234.  
  235. function chatfunc(text,color,typet,font,timeex)
  236. local chat = coroutine.wrap(function()
  237. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  238. Character:FindFirstChild("TalkingBillBoard"):destroy()
  239. end
  240. local naeeym2 = Instance.new("BillboardGui",Character)
  241. naeeym2.Size = UDim2.new(0,100,0,40)
  242. naeeym2.StudsOffset = Vector3.new(0,3,0)
  243. naeeym2.Adornee = Character.Head
  244. naeeym2.Name = "TalkingBillBoard"
  245. local tecks2 = Instance.new("TextLabel",naeeym2)
  246. tecks2.BackgroundTransparency = 1
  247. tecks2.BorderSizePixel = 0
  248. tecks2.Text = ""
  249. tecks2.Font = font
  250. tecks2.TextSize = 30
  251. tecks2.TextStrokeTransparency = 0
  252. tecks2.TextColor3 = color
  253. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  254. tecks2.Size = UDim2.new(1,0,0.5,0)
  255. local tecks3 = Instance.new("TextLabel",naeeym2)
  256. tecks3.BackgroundTransparency = 1
  257. tecks3.BorderSizePixel = 0
  258. tecks3.Text = ""
  259. tecks3.Font = font
  260. tecks3.TextSize = 30
  261. tecks3.TextStrokeTransparency = 0
  262. if typet == "Inverted" then
  263. tecks3.TextColor3 = Color3.new(0,0,0)
  264. tecks3.TextStrokeColor3 = color
  265. elseif typet == "Normal" then
  266. tecks3.TextColor3 = color
  267. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  268. end
  269. tecks3.Size = UDim2.new(1,0,0.5,0)
  270. coroutine.resume(coroutine.create(function()
  271. while true do
  272. swait(1)
  273. if chaosmode == true then
  274. tecks2.TextColor3 = BrickColor.random().Color
  275. tecks3.TextStrokeColor3 = BrickColor.random().Color
  276. end
  277. end
  278. end))
  279. modet.TextTransparency = modet.TextTransparency  + 1
  280. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  281. for i = 0, 74*timeex do
  282. swait()
  283. modet.TextTransparency = 1
  284. modet.TextStrokeTransparency = 1
  285. tecks2.Text = text
  286. tecks3.Text = text
  287. end
  288. local randomrot = math.random(1,2)
  289. if randomrot == 1 then
  290. for i = 1, 50 do
  291. swait()
  292. tecks2.Text = text
  293. tecks3.Text = text
  294. modet.TextTransparency = modet.TextTransparency - .02
  295. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  296. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  297. tecks2.TextTransparency = tecks2.TextTransparency + .04
  298. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  299. tecks3.TextTransparency = tecks2.TextTransparency + .04
  300. end
  301. elseif randomrot == 2 then
  302.     for i = 1, 50 do
  303. swait()
  304. tecks2.Text = text
  305. tecks3.Text = text
  306. modet.TextTransparency = modet.TextTransparency - .02
  307. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  308. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  309. tecks2.TextTransparency = tecks2.TextTransparency + .04
  310. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  311. tecks3.TextTransparency = tecks2.TextTransparency + .04
  312. end
  313. end
  314. modet.TextTransparency = 0
  315. modet.TextStrokeTransparency = 0
  316. if toggleTag == false then
  317. modet.TextTransparency = 1
  318. modet.TextStrokeTransparency = 1
  319. end
  320. naeeym2:Destroy()
  321. end)
  322. chat()
  323. end
  324.  
  325. function bosschatfunc(text,color,watval)
  326. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  327. coroutine.resume(coroutine.create(function()
  328. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  329. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  330. end
  331. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  332. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  333. scrg.Name = "Dialog"
  334. local txtlb = Instance.new("TextLabel",scrg)
  335. txtlb.Text = ""
  336. txtlb.Font = "Bodoni"
  337. txtlb.TextColor3 = Color3.new(0,0,0)
  338. txtlb.TextStrokeTransparency = 0
  339. txtlb.BackgroundTransparency = 0.75
  340. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  341. txtlb.TextStrokeColor3 = color
  342. txtlb.TextScaled = true
  343. txtlb.Size = UDim2.new(1,0,0.25,0)
  344. txtlb.TextXAlignment = "Left"
  345. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  346. local txtlb2 = Instance.new("TextLabel",scrg)
  347. txtlb2.Text = plr.Name.." The Guest:"
  348. txtlb2.Font = "Antique"
  349. txtlb2.TextColor3 = Color3.new(0,0,0)
  350. txtlb2.TextStrokeTransparency = 0
  351. txtlb2.BackgroundTransparency = 1
  352. txtlb2.TextStrokeColor3 = color
  353. txtlb2.TextSize = 40
  354. txtlb2.Size = UDim2.new(1,0,0.25,0)
  355. txtlb2.TextXAlignment = "Left"
  356. txtlb2.Position = UDim2.new(0,0,1,0)
  357. local fvalen = 0.55
  358. local fval = -0.49
  359. coroutine.resume(coroutine.create(function()
  360. while true do
  361. swait()
  362. if chaosmode == true then
  363. txtlb.Rotation = math.random(-1,1)
  364. txtlb2.Rotation = math.random(-1,1)
  365. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  366. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  367. txtlb.TextStrokeColor3 = BrickColor.random().Color
  368. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  369. end
  370. end
  371. end))
  372. coroutine.resume(coroutine.create(function()
  373. while true do
  374. swait()
  375. if scrg.Parent ~= nil then
  376.     fvalen = fvalen - 0.0001
  377. elseif scrg.Parent == nil then
  378. break
  379. end
  380. end
  381. end))
  382. local flol = 1.75
  383. local flil = 1.6
  384. coroutine.resume(coroutine.create(function()
  385.     for i = 0, 9 do
  386.         swait()
  387.         fval = fval + 0.05
  388.         flol = flol - 0.1
  389.         flil = flil - 0.1
  390.         txtlb.Text = ""
  391.         txtlb.Position = UDim2.new(0,0,flol,0)
  392.         txtlb2.Position = UDim2.new(0,0,flil,0)
  393.     end
  394.     txtlb.Text = text
  395. wait(watval)
  396. local valinc = 0
  397. for i = 0, 99 do
  398. swait()
  399. valinc = valinc + 0.0001
  400. flol = flol + valinc
  401. flil = flil + valinc
  402. txtlb.Rotation = txtlb.Rotation + valinc*20
  403. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  404. txtlb.Position = UDim2.new(0,0,flol,0)
  405. txtlb2.Position = UDim2.new(0,0,flil,0)
  406. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  407. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  408. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  409. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  410. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  411. end
  412. scrg:Destroy()
  413. end))
  414. end))
  415. end
  416. end
  417.  
  418.  
  419. local Create = LoadLibrary("RbxUtility").Create
  420.  
  421. CFuncs = { 
  422.     ["Part"] = {
  423.         Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  424.             local Part = Create("Part"){
  425.                 Parent = Parent,
  426.                 Reflectance = Reflectance,
  427.                 Transparency = Transparency,
  428.                 CanCollide = false,
  429.                 Locked = true,
  430.                 BrickColor = BrickColor.new(tostring(BColor)),
  431.                 Name = Name,
  432.                 Size = Size,
  433.                 Material = Material,
  434.             }
  435.             RemoveOutlines(Part)
  436.             return Part
  437.         end;
  438.     };
  439.    
  440.     ["Mesh"] = {
  441.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  442.             local Msh = Create(Mesh){
  443.                 Parent = Part,
  444.                 Offset = OffSet,
  445.                 Scale = Scale,
  446.             }
  447.             if Mesh == "SpecialMesh" then
  448.                 Msh.MeshType = MeshType
  449.                 Msh.MeshId = MeshId
  450.             end
  451.             return Msh
  452.         end;
  453.     };
  454.    
  455.     ["Mesh"] = {
  456.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  457.             local Msh = Create(Mesh){
  458.                 Parent = Part,
  459.                 Offset = OffSet,
  460.                 Scale = Scale,
  461.             }
  462.             if Mesh == "SpecialMesh" then
  463.                 Msh.MeshType = MeshType
  464.                 Msh.MeshId = MeshId
  465.             end
  466.             return Msh
  467.         end;
  468.     };
  469.    
  470.     ["Weld"] = {
  471.         Create = function(Parent, Part0, Part1, C0, C1)
  472.             local Weld = Create("Weld"){
  473.                 Parent = Parent,
  474.                 Part0 = Part0,
  475.                 Part1 = Part1,
  476.                 C0 = C0,
  477.                 C1 = C1,
  478.             }
  479.             return Weld
  480.         end;
  481.     };
  482.  
  483.     ["Sound"] = {
  484.         Create = function(id, par, vol, pit)
  485.             coroutine.resume(coroutine.create(function()
  486.                 local S = Create("Sound"){
  487.                     Volume = vol,
  488.                                         Name = "EffectSoundo",
  489.                     Pitch = pit or 1,
  490.                     SoundId = id,
  491.                     Parent = par or workspace,
  492.                 }
  493.                 wait()
  494.                 S:play()
  495.                 game:GetService("Debris"):AddItem(S, 10)
  496.             end))
  497.         end;
  498.     };
  499.  
  500.     ["TimeSound"] = {
  501.         Create = function(id, par, vol, pit, timepos)
  502.             coroutine.resume(coroutine.create(function()
  503.                 local S = Create("Sound"){
  504.                     Volume = vol,
  505.                                         Name = "EffectSoundo",
  506.                     Pitch = pit or 1,
  507.                     SoundId = id,
  508.                                         TimePosition = timepos,
  509.                     Parent = par or workspace,
  510.                 }
  511.                 wait()
  512.                 S:play()
  513.                 game:GetService("Debris"):AddItem(S, 10)
  514.             end))
  515.         end;
  516.     };
  517.         ["EchoSound"] = {
  518.         Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  519.             coroutine.resume(coroutine.create(function()
  520.                 local Sas = Create("Sound"){
  521.                     Volume = vol,
  522.                     Name = "EffectSoundo",
  523.                     Pitch = pit or 1,
  524.                     SoundId = id,
  525.                     TimePosition = timepos,
  526.                     Parent = par or workspace,
  527.                 }
  528.                 local E = Create("EchoSoundEffect"){
  529.                     Delay = echodelay,
  530.                     Name = "Echo",
  531.                     Feedback = fedb,
  532.                     DryLevel = dryl,
  533.                     Parent = Sas,
  534.                 }
  535.                 wait()
  536.                 Sas:play()
  537.                 game:GetService("Debris"):AddItem(Sas, delays)
  538.             end))
  539.         end;
  540.     };
  541.  
  542. ["LongSound"] = {
  543.         Create = function(id, par, vol, pit)
  544.             coroutine.resume(coroutine.create(function()
  545.                 local S = Create("Sound"){
  546.                     Volume = vol,
  547.                     Pitch = pit or 1,
  548.                     SoundId = id,
  549.                     Parent = par or workspace,
  550.                 }
  551.                 wait()
  552.                 S:play()
  553.                 game:GetService("Debris"):AddItem(S, 60)
  554.             end))
  555.         end;
  556.     };
  557.    
  558.     ["ParticleEmitter"] = {
  559.         Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  560.             local fp = Create("ParticleEmitter"){
  561.                 Parent = Parent,
  562.                 Color = ColorSequence.new(Color1, Color2),
  563.                 LightEmission = LightEmission,
  564.                 Size = Size,
  565.                 Texture = Texture,
  566.                 Transparency = Transparency,
  567.                 ZOffset = ZOffset,
  568.                 Acceleration = Accel,
  569.                 Drag = Drag,
  570.                 LockedToPart = LockedToPart,
  571.                 VelocityInheritance = VelocityInheritance,
  572.                 EmissionDirection = EmissionDirection,
  573.                 Enabled = Enabled,
  574.                 Lifetime = LifeTime,
  575.                 Rate = Rate,
  576.                 Rotation = Rotation,
  577.                 RotSpeed = RotSpeed,
  578.                 Speed = Speed,
  579.                 VelocitySpread = VelocitySpread,
  580.             }
  581.             return fp
  582.         end;
  583.     };
  584.  
  585.     CreateTemplate = {
  586.    
  587.     };
  588. }
  589.  
  590.  
  591.  
  592. New = function(Object, Parent, Name, Data)
  593.     local Object = Instance.new(Object)
  594.     for Index, Value in pairs(Data or {}) do
  595.         Object[Index] = Value
  596.     end
  597.     Object.Parent = Parent
  598.     Object.Name = Name
  599.     return Object
  600. end
  601. local halocolor = BrickColor.new("Pastel light blue")
  602. local halocolor2 = BrickColor.new("Cool yellow")
  603. local starcolor = BrickColor.new("Bright yellow")
  604. local lunacolor = BrickColor.new("Navy blue")
  605. local lunacolor2 = BrickColor.new("Bright blue")
  606. local wepcolor = BrickColor.new("Really black")
  607. local maincolor = BrickColor.new("Really black")
  608. local m = Instance.new("Model",char)
  609. local m2 = Instance.new("Model",char)
  610. local m3 = Instance.new("Model",char)
  611. local mw1 = Instance.new("Model",char)
  612. local mw2 = Instance.new("Model",char)
  613.  
  614.  
  615. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  616.   local gui = it(GuiType)
  617.   gui.Parent = parent
  618.   gui.Text = text
  619.   gui.BackgroundTransparency = backtrans
  620.   gui.BackgroundColor3 = backcol
  621.   gui.SizeConstraint = "RelativeXY"
  622.   gui.TextXAlignment = "Center"
  623.   gui.TextYAlignment = "Center"
  624.   gui.Position = pos
  625.   gui.Size = size
  626.   gui.Font = "SourceSans"
  627.   gui.FontSize = "Size14"
  628.   gui.TextWrapped = false
  629.   gui.TextStrokeTransparency = 0
  630.   gui.TextColor = BrickColor.new("White")
  631.   return gui
  632. end
  633. --------------------------- GUI STUFF
  634. local basgui = it("GuiMain")
  635. basgui.Parent = plr.PlayerGui
  636. basgui.Name = "VISgui"
  637. local fullscreenz = it("Frame")
  638. fullscreenz.Parent = basgui
  639. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  640. fullscreenz.BackgroundTransparency = 1
  641. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  642. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  643. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  644. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  645. imgl2.BackgroundTransparency = 1
  646. imgl2.BorderSizePixel = 0
  647. imgl2.ImageTransparency = 0.5
  648. imgl2.ImageColor3 = Color3.new(1,0,0)
  649. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  650. imgl2.Size = UDim2.new(0,1000,0,1000)
  651. imgl2.Image = "rbxassetid://2325939897"
  652. local techc = imgl2:Clone()
  653. techc.Parent = fullscreenz
  654. techc.ImageTransparency = 0
  655. techc.Size = UDim2.new(0,900,0,900)
  656. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  657. techc.ImageColor3 = Color3.new(1,0,0)
  658. techc.Image = "rbxassetid://2273224484"
  659. local circl = imgl2:Clone()
  660. circl.Parent = fullscreenz
  661. circl.ImageTransparency = 0
  662. circl.Size = UDim2.new(0,550,0,550)
  663. circl.Position = UDim2.new(0.75,25,0.55,25)
  664. circl.ImageColor3 = Color3.new(0,0,0)
  665. circl.Image = "rbxassetid://2312119891"
  666. local circl2 = imgl2:Clone()
  667. circl2.Parent = fullscreenz
  668. circl2.ImageTransparency = 0
  669. circl2.Size = UDim2.new(0,700,0,700)
  670. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  671. circl2.ImageColor3 = Color3.new(1,0,0)
  672. circl2.Image = "rbxassetid://2312119891"
  673. local imgl2b = imgl2:Clone()
  674. imgl2b.Parent = fullscreenz
  675. imgl2b.ImageTransparency = 0
  676. imgl2b.Size = UDim2.new(0,800,0,800)
  677. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  678. imgl2b.ImageColor3 = Color3.new(0,0,0)
  679. local ned = Instance.new("TextLabel",fullscreenz)
  680. ned.ZIndex = 2
  681. ned.Font = "Arcade"
  682. ned.BackgroundTransparency = 1
  683. ned.BorderSizePixel = 0.65
  684. ned.Size = UDim2.new(0.3,0,0.2,0)
  685. ned.Position = UDim2.new(0.7,0,0.8,0)
  686. ned.TextColor3 = BrickColor.new("Really red").Color
  687. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  688. ned.TextScaled = true
  689. ned.TextStrokeTransparency = 0
  690. ned.Text = "Hopeless Guest"
  691. ned.TextSize = 24
  692. ned.Rotation = 1
  693. ned.TextXAlignment = "Right"
  694. ned.TextYAlignment = "Bottom"
  695.  
  696. local extrawingmod1 = Instance.new("Model",char)
  697. local extrawingmod2 = Instance.new("Model",char)
  698.  
  699. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  700. local p = Instance.new("Part")
  701. p.TopSurface = 0
  702. p.BottomSurface = 0
  703. p.Parent = parent
  704. p.Size = Vector3.new(0.1,0.1,0.1)
  705. p.Transparency = transparency
  706. p.Reflectance = reflectance
  707. p.CanCollide = false
  708. p.Locked = true
  709. p.BrickColor = brickcolor
  710. p.Material = material
  711. return p
  712. end
  713.  
  714. function CreateMesh(parent,meshtype,x1,y1,z1)
  715. local mesh = Instance.new("SpecialMesh",parent)
  716. mesh.MeshType = meshtype
  717. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  718. return mesh
  719. end
  720.  
  721. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  722. local mesh = Instance.new("SpecialMesh",parent)
  723. mesh.MeshType = "FileMesh"
  724. mesh.MeshId = meshid
  725. mesh.Scale = Vector3.new(x1,y1,z1)
  726. return mesh
  727. end
  728.  
  729.  
  730. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  731. local mesh = Instance.new("SpecialMesh",parent)
  732. mesh.MeshType = "FileMesh"
  733. mesh.MeshId = meshid
  734. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  735. mesh.Scale = Vector3.new(x1,y1,z1)
  736. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  737. return mesh
  738. end
  739.  
  740. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  741. local weld = Instance.new("Weld")
  742. weld.Parent = parent
  743. weld.Part0 = part0
  744. weld.Part1 = part1
  745. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  746. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  747. return weld
  748. end
  749.  
  750.  
  751. --------------
  752. --------------
  753. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  754. 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))
  755. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  756. 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))
  757.  
  758. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  759. CreateMesh(handle,"Brick",0,0,0)
  760. 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))
  761. local valuaring = 10
  762. for i = 0, 49 do
  763.     valuaring = valuaring + 10
  764. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  765. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  766. 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))
  767. end
  768.  
  769. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  770. CreateMesh(handle,"Brick",0,0,0)
  771. 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))
  772. local valuaring = 10
  773. for i = 0, 49 do
  774.     valuaring = valuaring + 10
  775. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  776. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  777. 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))
  778. end
  779.  
  780.  
  781. local handle = CreateParta(m,1,1,"Neon",maincolor)
  782. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  783. 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))
  784.  
  785. --- Left wing.
  786.  
  787. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  788. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  789. 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))
  790.  
  791. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  792. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  793. 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))
  794. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  795. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  796. 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))
  797. A0 = Instance.new('Attachment',wed)
  798. A0.Position = vt(0,0.25,0.25)
  799. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  800. CreateMesh(wed,"Wedge",0.05,0.5,3)
  801. 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))
  802. A1 = Instance.new('Attachment',wed)
  803. A1.Position = vt(0,-0.25,-2)
  804. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  805. CreateMesh(wed,"Wedge",0.05,3,0.5)
  806. 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))
  807.  
  808. tl1 = Instance.new('Trail',wed)
  809. tl1.Attachment0 = A1
  810. tl1.Attachment1 = A0
  811. tl1.Texture = "rbxassetid://2108945559"
  812. tl1.LightEmission = 1
  813. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  814. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  815. tl1.Lifetime = 0.6
  816.  
  817.  
  818. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  819. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  820. 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))
  821.  
  822. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  823. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  824. 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))
  825. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  826. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  827. 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))
  828. A0 = Instance.new('Attachment',wed)
  829. A0.Position = vt(0,0.25,0.25)
  830. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  831. CreateMesh(wed,"Wedge",0.05,0.5,3)
  832. 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))
  833. A1 = Instance.new('Attachment',wed)
  834. A1.Position = vt(0,-0.25,-2)
  835. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  836. CreateMesh(wed,"Wedge",0.05,3,0.5)
  837. 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))
  838.  
  839. tl2 = Instance.new('Trail',wed)
  840. tl2.Attachment0 = A1
  841. tl2.Attachment1 = A0
  842. tl2.Texture = "rbxassetid://2108945559"
  843. tl2.LightEmission = 1
  844. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  845. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  846. tl2.Lifetime = 0.6
  847.  
  848. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  849. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  850. 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))
  851.  
  852. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  853. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  854. 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))
  855. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  856. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  857. 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))
  858. A0 = Instance.new('Attachment',wed)
  859. A0.Position = vt(0,0.25,0.25)
  860. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  861. CreateMesh(wed,"Wedge",0.05,0.5,3)
  862. 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))
  863. A1 = Instance.new('Attachment',wed)
  864. A1.Position = vt(0,-0.25,-2)
  865. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  866. CreateMesh(wed,"Wedge",0.05,3,0.5)
  867. 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))
  868.  
  869. tl3 = Instance.new('Trail',wed)
  870. tl3.Attachment0 = A1
  871. tl3.Attachment1 = A0
  872. tl3.Texture = "rbxassetid://2108945559"
  873. tl3.LightEmission = 1
  874. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  875. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  876. tl3.Lifetime = 0.6
  877.  
  878. tl1.Enabled = false
  879. tl2.Enabled = false
  880. tl3.Enabled = false
  881. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  882. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  883. 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))
  884.  
  885. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  886. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  887. 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))
  888. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  889. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  890. 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))
  891. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  892. CreateMesh(wed,"Wedge",0.05,0.5,3)
  893. 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))
  894. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  895. CreateMesh(wed,"Wedge",0.05,3,0.5)
  896. 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))
  897.  
  898. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  899. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  900. 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))
  901.  
  902. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  903. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  904. 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))
  905. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  906. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  907. 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))
  908. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  909. CreateMesh(wed,"Wedge",0.05,0.5,3)
  910. 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))
  911. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  912. CreateMesh(wed,"Wedge",0.05,3,0.5)
  913. 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))
  914.  
  915. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  916. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  917. 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))
  918.  
  919. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  920. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  921. 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))
  922. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  923. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  924. 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))
  925. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  926. CreateMesh(wed,"Wedge",0.05,0.5,3)
  927. 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))
  928. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  929. CreateMesh(wed,"Wedge",0.05,3,0.5)
  930. 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))
  931.  
  932. -- Right wing.
  933.  
  934. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  935. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  936. 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))
  937.  
  938. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  939. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  940. 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))
  941. A0 = Instance.new('Attachment',wed)
  942. A0.Position = vt(0,0.25,0.25)
  943. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  944. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  945. 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))
  946. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  947. CreateMesh(wed,"Wedge",0.05,0.5,3)
  948. 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))
  949. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  950. CreateMesh(wed,"Wedge",0.05,3,0.5)
  951. 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))
  952. A1 = Instance.new('Attachment',wed)
  953. A1.Position = vt(0,2,0.25)
  954.  
  955. tr1 = Instance.new('Trail',wed)
  956. tr1.Attachment0 = A1
  957. tr1.Attachment1 = A0
  958. tr1.Texture = "rbxassetid://2108945559"
  959. tr1.LightEmission = 1
  960. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  961. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  962. tr1.Lifetime = 0.6
  963.  
  964. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  965. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  966. 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))
  967.  
  968. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  969. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  970. 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))
  971. A0 = Instance.new('Attachment',wed)
  972. A0.Position = vt(0,0.25,0.25)
  973. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  974. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  975. 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))
  976. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  977. CreateMesh(wed,"Wedge",0.05,0.5,3)
  978. 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))
  979. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  980. CreateMesh(wed,"Wedge",0.05,3,0.5)
  981. 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))
  982. A1 = Instance.new('Attachment',wed)
  983. A1.Position = vt(0,2,0.25)
  984.  
  985. tr2 = Instance.new('Trail',wed)
  986. tr2.Attachment0 = A1
  987. tr2.Attachment1 = A0
  988. tr2.Texture = "rbxassetid://2108945559"
  989. tr2.LightEmission = 1
  990. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  991. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  992. tr2.Lifetime = 0.6
  993.  
  994. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  995. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  996. 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))
  997.  
  998. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  999. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1000. 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))
  1001. A0 = Instance.new('Attachment',wed)
  1002. A0.Position = vt(0,0.25,0.25)
  1003. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1004. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1005. 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))
  1006. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1007. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1008. 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))
  1009. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1010. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1011. 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))
  1012. A1 = Instance.new('Attachment',wed)
  1013. A1.Position = vt(0,2,0.25)
  1014.  
  1015. tr3 = Instance.new('Trail',wed)
  1016. tr3.Attachment0 = A1
  1017. tr3.Attachment1 = A0
  1018. tr3.Texture = "rbxassetid://2108945559"
  1019. tr3.LightEmission = 1
  1020. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1021. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1022. tr3.Lifetime = 0.6
  1023.  
  1024.  
  1025. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1026. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1027. 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))
  1028.  
  1029. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1030. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1031. 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))
  1032. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1033. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1034. 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))
  1035. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1036. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1037. 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))
  1038. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1039. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1040. 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))
  1041.  
  1042. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1043. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1044. 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))
  1045.  
  1046. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1047. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1048. 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))
  1049. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1050. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1051. 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))
  1052. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1053. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1054. 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))
  1055. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1056. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1057. 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))
  1058.  
  1059. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1060. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1061. 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))
  1062.  
  1063. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1064. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1065. 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))
  1066. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1067. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1068. 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))
  1069. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1070. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1071. 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))
  1072. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1073. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1074. 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))
  1075.  
  1076. --HERES THE RING
  1077.  
  1078.  
  1079. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1080. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1081. 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))
  1082. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1083. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1084. 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))
  1085. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1086. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1087. 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))
  1088.  
  1089.  
  1090. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1091. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1092. 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))
  1093.  
  1094. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1095. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1096. 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))
  1097.  
  1098.  
  1099.  
  1100. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1101. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1102. 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))
  1103.  
  1104. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1105. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1106. 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))
  1107.  
  1108. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1109. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1110. 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))
  1111.  
  1112. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1113. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1114. 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))
  1115. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1116. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1117. 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))]]--
  1118.  
  1119. --- second ring
  1120.  
  1121.  
  1122. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1123. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1124. 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))
  1125.  
  1126. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1127. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1128. 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))
  1129.  
  1130.  
  1131.  
  1132. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1133. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1134. 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))
  1135.  
  1136. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1137. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1138. 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))
  1139.  
  1140. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1141. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1142. 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))
  1143.  
  1144. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1145. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1146. 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))
  1147. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1148. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1149. 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))
  1150.  
  1151.  
  1152.  
  1153. for i, v in pairs(m:GetChildren()) do
  1154. if v:IsA("Part") then
  1155. v.BrickColor = BrickColor.new("Really black")
  1156. v.Material = "Glass"
  1157. end
  1158. end
  1159. for i, v in pairs(m2:GetChildren()) do
  1160. if v:IsA("Part") then
  1161. v.BrickColor = BrickColor.new("Crimson")
  1162. v.Material = "Granite"
  1163. end
  1164. end
  1165. for i, v in pairs(m3:GetChildren()) do
  1166. if v:IsA("Part") then
  1167. v.BrickColor = BrickColor.new("Really red")
  1168. v.Material = "Neon"
  1169. end
  1170. end
  1171. for i, v in pairs(mw2:GetChildren()) do
  1172. if v:IsA("Part") then
  1173. v.BrickColor = BrickColor.new("Really red")
  1174. v.Material = "Neon"
  1175. end
  1176. end
  1177. for i, v in pairs(mw1:GetChildren()) do
  1178. if v:IsA("Part") then
  1179. v.Transparency = 1
  1180. v.BrickColor = BrickColor.new("Really red")
  1181. v.Material = "Neon"
  1182. end
  1183. end
  1184. for i, v in pairs(extrawingmod1:GetChildren()) do
  1185. if v:IsA("Part") then
  1186. v.Transparency = 1
  1187. v.BrickColor = BrickColor.new("White")
  1188. v.Material = "Neon"
  1189. end
  1190. end
  1191. for i, v in pairs(extrawingmod2:GetChildren()) do
  1192. if v:IsA("Part") then
  1193. v.Transparency = 1
  1194. v.BrickColor = BrickColor.new("White")
  1195. v.Material = "Neon"
  1196. end
  1197. end
  1198. local MAINRUINCOLOR = BrickColor.new("Really red")
  1199. ------
  1200.  
  1201.  
  1202. function RemoveOutlines(part)
  1203.   part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1204. end
  1205. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1206.   local Part = Create("Part")({
  1207.     Parent = Parent,
  1208.     Reflectance = Reflectance,
  1209.     Transparency = Transparency,
  1210.     CanCollide = false,
  1211.     Locked = true,
  1212.     BrickColor = BrickColor.new(tostring(BColor)),
  1213.     Name = Name,
  1214.     Size = Size,
  1215.     Material = Material
  1216.   })
  1217.   Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1218.   RemoveOutlines(Part)
  1219.   return Part
  1220. end
  1221. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1222.   local Msh = Create(Mesh)({
  1223.     Parent = Part,
  1224.     Offset = OffSet,
  1225.     Scale = Scale
  1226.   })
  1227.   if Mesh == "SpecialMesh" then
  1228.     Msh.MeshType = MeshType
  1229.     Msh.MeshId = MeshId
  1230.   end
  1231.   return Msh
  1232. end
  1233. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1234.   local Weld = Create("Weld")({
  1235.     Parent = Parent,
  1236.     Part0 = Part0,
  1237.     Part1 = Part1,
  1238.     C0 = C0,
  1239.     C1 = C1
  1240.   })
  1241.   return Weld
  1242. end
  1243.  
  1244. Player = plr
  1245. Character=Player.Character
  1246. PlayerGui=Player.PlayerGui
  1247. Backpack=Player.Backpack
  1248. Torso=Character.Torso
  1249. Head=Character.Head
  1250. Humanoid=Character.Humanoid
  1251. m=Instance.new('Model',Character)
  1252. LeftArm=Character["Left Arm"]
  1253. LeftLeg=Character["Left Leg"]
  1254. RightArm=Character["Right Arm"]
  1255. RightLeg=Character["Right Leg"]
  1256. LS=Torso["Left Shoulder"]
  1257. LH=Torso["Left Hip"]
  1258. RS=Torso["Right Shoulder"]
  1259. RH=Torso["Right Hip"]
  1260. Face = Head.face
  1261. Neck=Torso.Neck
  1262. it=Instance.new
  1263. attacktype=1
  1264. vt=Vector3.new
  1265. cf=CFrame.new
  1266. euler=CFrame.fromEulerAnglesXYZ
  1267. angles=CFrame.Angles
  1268. cloaked=false
  1269. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1270. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1271. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1272. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1273. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1274. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1275. RootPart=Character.HumanoidRootPart
  1276. RootJoint=RootPart.RootJoint
  1277. RootCF=euler(-1.57,0,3.14)
  1278. attack = false
  1279. attackdebounce = false
  1280. deb=false
  1281. equipped=true
  1282. hand=false
  1283. combo=0
  1284. mana=0
  1285. trispeed=.2
  1286. attackmode='none'
  1287. local idle=0
  1288. local Anim="Idle"
  1289. local Effects={}
  1290. local gun=false
  1291. local shoot=false
  1292. local sine = 0
  1293. local change = 1
  1294.  
  1295. function RecolorTextAndRename(name,col1,col2,font)
  1296. modet.TextStrokeColor3 = col2
  1297. modet.TextColor3 = col1
  1298. modet.Font = font
  1299. modet.Text = name
  1300. techc.ImageColor3 = col2
  1301. circl.ImageColor3 = col2
  1302. circl2.ImageColor3 = col1
  1303. imgl2.ImageColor3 = col1
  1304. imgl2b.ImageColor3 = col2
  1305. ned.Text = name
  1306. ned.TextColor3 = col1
  1307. ned.TextStrokeColor3 = col2
  1308. end
  1309. --save shoulders
  1310. RSH, LSH=nil, nil
  1311. --welds
  1312. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1313. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1314. LH=Torso["Left Hip"]
  1315. RH=Torso["Right Hip"]
  1316. TorsoColor=Torso.BrickColor
  1317. function NoOutline(Part)
  1318. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1319. end
  1320. ch=Character
  1321. RSH=ch.Torso["Right Shoulder"]
  1322. LSH=ch.Torso["Left Shoulder"]
  1323. --
  1324. RSH.Parent=nil
  1325. LSH.Parent=nil
  1326. --
  1327. RW.Name="Right Shoulder"
  1328. RW.Part0=ch.Torso
  1329. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1330. RW.C1=cf(0, 0.5, 0)
  1331. RW.Part1=ch["Right Arm"]
  1332. RW.Parent=ch.Torso
  1333. --
  1334. LW.Name="Left Shoulder"
  1335. LW.Part0=ch.Torso
  1336. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1337. LW.C1=cf(0, 0.5, 0)
  1338. LW.Part1=ch["Left Arm"]
  1339. LW.Parent=ch.Torso
  1340.  
  1341. local Stats=Instance.new("BoolValue")
  1342. Stats.Name="Stats"
  1343. Stats.Parent=Character
  1344. local Atk=Instance.new("NumberValue")
  1345. Atk.Name="Damage"
  1346. Atk.Parent=Stats
  1347. Atk.Value=1
  1348. local Def=Instance.new("NumberValue")
  1349. Def.Name="Defense"
  1350. Def.Parent=Stats
  1351. Def.Value=1
  1352. local Speed=Instance.new("NumberValue")
  1353. Speed.Name="Speed"
  1354. Speed.Parent=Stats
  1355. Speed.Value=1
  1356. local Mvmt=Instance.new("NumberValue")
  1357. Mvmt.Name="Movement"
  1358. Mvmt.Parent=Stats
  1359. Mvmt.Value=1
  1360.  
  1361. local donum=0
  1362. local ast = {744586075,385254610}
  1363.  
  1364. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1365. local fp=it("Part")
  1366. fp.formFactor=formfactor
  1367. fp.Parent=parent
  1368. fp.Reflectance=reflectance
  1369. fp.Transparency=transparency
  1370. fp.CanCollide=false
  1371. fp.Locked=true
  1372. fp.BrickColor=brickcolor
  1373. fp.Name=name
  1374. fp.Size=size
  1375. fp.Position=Torso.Position
  1376. NoOutline(fp)
  1377. fp.Material="SmoothPlastic"
  1378. fp:BreakJoints()
  1379. return fp
  1380. end
  1381.  
  1382. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1383. local mesh=it(Mesh)
  1384. mesh.Parent=part
  1385. if Mesh=="SpecialMesh" then
  1386. mesh.MeshType=meshtype
  1387. if meshid~="nil" then
  1388. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1389. end
  1390. end
  1391. mesh.Offset=offset
  1392. mesh.Scale=scale
  1393. return mesh
  1394. end
  1395.  
  1396. function weld(parent,part0,part1,c0)
  1397. local weld=it("Weld")
  1398. weld.Parent=parent
  1399. weld.Part0=part0
  1400. weld.Part1=part1
  1401. weld.C0=c0
  1402. return weld
  1403. end
  1404.  
  1405. local Color1=Torso.BrickColor
  1406.  
  1407. local bodvel=Instance.new("BodyVelocity")
  1408. local bg=Instance.new("BodyGyro")
  1409.  
  1410. --------- SazEreno's Artificial HB --------------
  1411. ArtificialHB = Instance.new("BindableEvent", script)
  1412. ArtificialHB.Name = "ArtificialHB"
  1413.  
  1414. script:WaitForChild("ArtificialHB")
  1415. Frame_Speed = 1 / 60
  1416. frame = Frame_Speed
  1417. tf = 0
  1418. allowframeloss = false
  1419. tossremainder = false
  1420. lastframe = tick()
  1421. script.ArtificialHB:Fire()
  1422.  
  1423. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1424.     tf = tf + s
  1425.     if tf >= frame then
  1426.         if allowframeloss then
  1427.             script.ArtificialHB:Fire()
  1428.             lastframe = tick()
  1429.         else
  1430.             for i = 1, math.floor(tf / frame) do
  1431.                 script.ArtificialHB:Fire()
  1432.             end
  1433.         lastframe = tick()
  1434.         end
  1435.         if tossremainder then
  1436.             tf = 0
  1437.         else
  1438.             tf = tf - frame * math.floor(tf / frame)
  1439.         end
  1440.     end
  1441. end)
  1442.  
  1443. ------------------
  1444. function swait(num)
  1445. if num == 0 or num == nil then
  1446.         ArtificialHB.Event:wait()
  1447.     else
  1448.         for i = 1, num do
  1449.             ArtificialHB.Event:wait()
  1450.         end
  1451.     end
  1452. end
  1453. -------- RAINBOW LEAVE IT TO ME
  1454. local r = 255
  1455. local g = 0
  1456. local b = 0
  1457. coroutine.resume(coroutine.create(function()
  1458. while wait() do
  1459.     for i = 0, 254/5 do
  1460.         swait()
  1461.         g = g + 5
  1462.     end
  1463.     for i = 0, 254/5 do
  1464.         swait()
  1465.         r = r - 5
  1466.     end
  1467.     for i = 0, 254/5 do
  1468.         swait()
  1469.         b = b + 5
  1470.     end
  1471.     for i = 0, 254/5 do
  1472.         swait()
  1473.         g = g - 5
  1474.     end
  1475.     for i = 0, 254/5 do
  1476.         swait()
  1477.         r = r + 5
  1478.     end
  1479.     for i = 0, 254/5 do
  1480.         swait()
  1481.         b = b - 5
  1482.     end
  1483. end
  1484. end))
  1485.  
  1486.  
  1487. so = function(id,par,vol,pit)
  1488. coroutine.resume(coroutine.create(function()
  1489. local sou = Instance.new("Sound",par or workspace)
  1490. sou.Volume=vol
  1491. sou.Pitch=pit or 1
  1492. sou.SoundId=id
  1493. swait()
  1494. sou:play()
  1495. game:GetService("Debris"):AddItem(sou,6)
  1496. end))
  1497. end
  1498.  
  1499. function clerp(a,b,t)
  1500. local qa = {QuaternionFromCFrame(a)}
  1501. local qb = {QuaternionFromCFrame(b)}
  1502. local ax, ay, az = a.x, a.y, a.z
  1503. local bx, by, bz = b.x, b.y, b.z
  1504. local _t = 1-t
  1505. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1506. end
  1507.  
  1508. function QuaternionFromCFrame(cf)
  1509. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1510. local trace = m00 + m11 + m22
  1511. if trace > 0 then
  1512. local s = math.sqrt(1 + trace)
  1513. local recip = 0.5/s
  1514. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1515. else
  1516. local i = 0
  1517. if m11 > m00 then
  1518. i = 1
  1519. end
  1520. if m22 > (i == 0 and m00 or m11) then
  1521. i = 2
  1522. end
  1523. if i == 0 then
  1524. local s = math.sqrt(m00-m11-m22+1)
  1525. local recip = 0.5/s
  1526. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1527. elseif i == 1 then
  1528. local s = math.sqrt(m11-m22-m00+1)
  1529. local recip = 0.5/s
  1530. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1531. elseif i == 2 then
  1532. local s = math.sqrt(m22-m00-m11+1)
  1533. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1534. end
  1535. end
  1536. end
  1537.  
  1538. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1539. local xs, ys, zs = x + x, y + y, z + z
  1540. local wx, wy, wz = w*xs, w*ys, w*zs
  1541. local xx = x*xs
  1542. local xy = x*ys
  1543. local xz = x*zs
  1544. local yy = y*ys
  1545. local yz = y*zs
  1546. local zz = z*zs
  1547. 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))
  1548. end
  1549.  
  1550. function QuaternionSlerp(a, b, t)
  1551. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1552. local startInterp, finishInterp;
  1553. if cosTheta >= 0.0001 then
  1554. if (1 - cosTheta) > 0.0001 then
  1555. local theta = math.acos(cosTheta)
  1556. local invSinTheta = 1/math.sin(theta)
  1557. startInterp = math.sin((1-t)*theta)*invSinTheta
  1558. finishInterp = math.sin(t*theta)*invSinTheta  
  1559. else
  1560. startInterp = 1-t
  1561. finishInterp = t
  1562. end
  1563. else
  1564. if (1+cosTheta) > 0.0001 then
  1565. local theta = math.acos(-cosTheta)
  1566. local invSinTheta = 1/math.sin(theta)
  1567. startInterp = math.sin((t-1)*theta)*invSinTheta
  1568. finishInterp = math.sin(t*theta)*invSinTheta
  1569. else
  1570. startInterp = t-1
  1571. finishInterp = t
  1572. end
  1573. end
  1574. 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
  1575. end
  1576.  
  1577. local function CFrameFromTopBack(at, top, back)
  1578. local right = top:Cross(back)
  1579. return CFrame.new(at.x, at.y, at.z,
  1580. right.x, top.x, back.x,
  1581. right.y, top.y, back.y,
  1582. right.z, top.z, back.z)
  1583. end
  1584.  
  1585. function Triangle(a, b, c)
  1586. local edg1 = (c-a):Dot((b-a).unit)
  1587. local edg2 = (a-b):Dot((c-b).unit)
  1588. local edg3 = (b-c):Dot((a-c).unit)
  1589. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1590. a, b, c = a, b, c
  1591. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1592. a, b, c = b, c, a
  1593. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1594. a, b, c = c, a, b
  1595. else
  1596. assert(false, "unreachable")
  1597. end
  1598.  
  1599. local len1 = (c-a):Dot((b-a).unit)
  1600. local len2 = (b-a).magnitude - len1
  1601. local width = (a + (b-a).unit*len1 - c).magnitude
  1602.  
  1603. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1604.  
  1605. local list = {}
  1606.  
  1607. if len1 > 0.01 then
  1608. local w1 = Instance.new('WedgePart', m)
  1609. game:GetService("Debris"):AddItem(w1,5)
  1610. w1.Material = "SmoothPlastic"
  1611. w1.FormFactor = 'Custom'
  1612. w1.BrickColor = BrickColor.new("Really red")
  1613. w1.Transparency = 0
  1614. w1.Reflectance = 0
  1615. w1.Material = "SmoothPlastic"
  1616. w1.CanCollide = false
  1617. local l1 = Instance.new("PointLight",w1)
  1618. l1.Color = Color3.new(170,0,0)
  1619. NoOutline(w1)
  1620. local sz = Vector3.new(0.2, width, len1)
  1621. w1.Size = sz
  1622. local sp = Instance.new("SpecialMesh",w1)
  1623. sp.MeshType = "Wedge"
  1624. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1625. w1:BreakJoints()
  1626. w1.Anchored = true
  1627. w1.Parent = workspace
  1628. w1.Transparency = 0.7
  1629. table.insert(Effects,{w1,"Disappear",.01})
  1630. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1631. table.insert(list,w1)
  1632. end
  1633.  
  1634. if len2 > 0.01 then
  1635. local w2 = Instance.new('WedgePart', m)
  1636. game:GetService("Debris"):AddItem(w2,5)
  1637. w2.Material = "SmoothPlastic"
  1638. w2.FormFactor = 'Custom'
  1639. w2.BrickColor = BrickColor.new("Really red")
  1640. w2.Transparency = 0
  1641. w2.Reflectance = 0
  1642. w2.Material = "SmoothPlastic"
  1643. w2.CanCollide = false
  1644. local l2 = Instance.new("PointLight",w2)
  1645. l2.Color = Color3.new(170,0,0)
  1646. NoOutline(w2)
  1647. local sz = Vector3.new(0.2, width, len2)
  1648. w2.Size = sz
  1649. local sp = Instance.new("SpecialMesh",w2)
  1650. sp.MeshType = "Wedge"
  1651. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1652. w2:BreakJoints()
  1653. w2.Anchored = true
  1654. w2.Parent = workspace
  1655. w2.Transparency = 0.7
  1656. table.insert(Effects,{w2,"Disappear",.01})
  1657. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1658. table.insert(list,w2)
  1659. end
  1660. return unpack(list)
  1661. end
  1662.  
  1663.  
  1664. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1665.   if hit.Parent == nil then
  1666.     return
  1667.   end
  1668.   local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1669.   for _, v in pairs(hit.Parent:children()) do
  1670.     if v:IsA("Humanoid") then
  1671.       h = v
  1672.     end
  1673.   end
  1674.   if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1675.     if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1676.       return
  1677.     end
  1678.     local c = Create("ObjectValue")({
  1679.       Name = "creator",
  1680.       Value = game:GetService("Players").Ruan176Br,
  1681.       Parent = h
  1682.     })
  1683.     game:GetService("Debris"):AddItem(c, 0.5)
  1684.     if HitSound ~= nil and HitPitch ~= nil then
  1685.       CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1686.     end
  1687.     local Damage = math.random(minim, maxim)
  1688.     local blocked = false
  1689.     local block = hit.Parent:findFirstChild("Block")
  1690.     if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1691.       blocked = true
  1692.       block.Value = block.Value - 1
  1693.       print(block.Value)
  1694.     end
  1695.     if blocked == false then
  1696.       HitHealth = h.Health
  1697.       h.MaxHealth = 100
  1698.       h.Health = h.Health - Damage
  1699.       if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1700.         print("gained kill")
  1701.         dmg(h.Parent)
  1702.       end
  1703.       ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1704.     else
  1705.       h.Health = h.Health - Damage / 2
  1706.       ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1707.     end
  1708.     if Type == "Knockdown" then
  1709.       local hum = hit.Parent.Humanoid
  1710.       hum.PlatformStand = true
  1711.       coroutine.resume(coroutine.create(function(HHumanoid)
  1712.         swait(1)
  1713.         HHumanoid.PlatformStand = false
  1714.       end), hum)
  1715.       local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1716.       local bodvol = Create("BodyVelocity")({
  1717.         velocity = angle * knockback,
  1718.         P = 5000,
  1719.         maxForce = Vector3.new(8000, 8000, 8000),
  1720.         Parent = hit
  1721.       })
  1722.       local rl = Create("BodyAngularVelocity")({
  1723.         P = 3000,
  1724.         maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1725.         angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1726.         Parent = hit
  1727.       })
  1728.       game:GetService("Debris"):AddItem(bodvol, 0.5)
  1729.       game:GetService("Debris"):AddItem(rl, 0.5)
  1730.     elseif Type == "Normal" then
  1731.       local vp = Create("BodyVelocity")({
  1732.         P = 500,
  1733.         maxForce = Vector3.new(math.huge, 0, math.huge),
  1734.         velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1735.       })
  1736.       if knockback > 0 then
  1737.         vp.Parent = hit.Parent.Head
  1738.       end
  1739.       game:GetService("Debris"):AddItem(vp, 0.5)
  1740.     elseif Type == "Up" then
  1741.       local bodyVelocity = Create("BodyVelocity")({
  1742.         velocity = Vector3.new(0, 20, 0),
  1743.         P = 5000,
  1744.         maxForce = Vector3.new(8000, 8000, 8000),
  1745.         Parent = hit
  1746.       })
  1747.       game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1748.       local bodyVelocity = Create("BodyVelocity")({
  1749.         velocity = Vector3.new(0, 20, 0),
  1750.         P = 5000,
  1751.         maxForce = Vector3.new(8000, 8000, 8000),
  1752.         Parent = hit
  1753.       })
  1754.       game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1755.     elseif Type == "Leech" then
  1756.       local hum = hit.Parent.Humanoid
  1757.       if hum ~= nil then
  1758.         for i = 0, 2 do
  1759.           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)
  1760.         end
  1761.         Humanoid.Health = Humanoid.Health + 10
  1762.       end
  1763.     elseif Type == "UpKnock" then
  1764.       local hum = hit.Parent.Humanoid
  1765.       hum.PlatformStand = true
  1766.       if hum ~= nil then
  1767.         hitr = true
  1768.       end
  1769.       coroutine.resume(coroutine.create(function(HHumanoid)
  1770.         swait(5)
  1771.         HHumanoid.PlatformStand = false
  1772.         hitr = false
  1773.       end), hum)
  1774.       local bodyVelocity = Create("BodyVelocity")({
  1775.         velocity = Vector3.new(0, 20, 0),
  1776.         P = 5000,
  1777.         maxForce = Vector3.new(8000, 8000, 8000),
  1778.         Parent = hit
  1779.       })
  1780.       game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1781.       local bodyVelocity = Create("BodyVelocity")({
  1782.         velocity = Vector3.new(0, 20, 0),
  1783.         P = 5000,
  1784.         maxForce = Vector3.new(8000, 8000, 8000),
  1785.         Parent = hit
  1786.       })
  1787.       game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1788.     elseif Type == "Snare" then
  1789.       local bp = Create("BodyPosition")({
  1790.         P = 2000,
  1791.         D = 100,
  1792.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1793.         position = hit.Parent.Torso.Position,
  1794.         Parent = hit.Parent.Torso
  1795.       })
  1796.       game:GetService("Debris"):AddItem(bp, 1)
  1797.     elseif Type == "Slashnare" then
  1798.       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)
  1799.       for i = 1, math.random(4, 5) do
  1800.         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)
  1801.       end
  1802.       local bp = Create("BodyPosition")({
  1803.         P = 2000,
  1804.         D = 100,
  1805.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1806.         position = hit.Parent.Torso.Position,
  1807.         Parent = hit.Parent.Torso
  1808.       })
  1809.       game:GetService("Debris"):AddItem(bp, 1)
  1810.     elseif Type == "Spike" then
  1811.       CreateBigIceSword(hit.Parent.Torso.CFrame)
  1812.       local bp = Create("BodyPosition")({
  1813.         P = 2000,
  1814.         D = 100,
  1815.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1816.         position = hit.Parent.Torso.Position,
  1817.         Parent = hit.Parent.Torso
  1818.       })
  1819.       game:GetService("Debris"):AddItem(bp, 1)
  1820.     elseif Type == "Freeze" then
  1821.       local BodPos = Create("BodyPosition")({
  1822.         P = 50000,
  1823.         D = 1000,
  1824.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1825.         position = hit.Parent.Torso.Position,
  1826.         Parent = hit.Parent.Torso
  1827.       })
  1828.       local BodGy = Create("BodyGyro")({
  1829.         maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1830.         P = 20000,
  1831.         Parent = hit.Parent.Torso,
  1832.         cframe = hit.Parent.Torso.CFrame
  1833.       })
  1834.       hit.Parent.Torso.Anchored = true
  1835.       coroutine.resume(coroutine.create(function(Part)
  1836.         swait(1.5)
  1837.         Part.Anchored = false
  1838.       end), hit.Parent.Torso)
  1839.       game:GetService("Debris"):AddItem(BodPos, 3)
  1840.       game:GetService("Debris"):AddItem(BodGy, 3)
  1841.     end
  1842.     local debounce = Create("BoolValue")({
  1843.       Name = "DebounceHit",
  1844.       Parent = hit.Parent,
  1845.       Value = true
  1846.     })
  1847.     game:GetService("Debris"):AddItem(debounce, Delay)
  1848.     c = Instance.new("ObjectValue")
  1849.     c.Name = "creator"
  1850.     c.Value = Player
  1851.     c.Parent = h
  1852.     game:GetService("Debris"):AddItem(c, 0.5)
  1853.   end
  1854. end
  1855. function ShowDamage(Pos, Text, Time, Color)
  1856.   local Rate = 0.03333333333333333
  1857.   local Pos = Pos or Vector3.new(0, 0, 0)
  1858.   local Text = Text or ""
  1859.   local Time = Time or 2
  1860.   local Color = Color or Color3.new(1, 0, 1)
  1861.   local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1862.   EffectPart.Anchored = true
  1863.   local BillboardGui = Create("BillboardGui")({
  1864.     Size = UDim2.new(3, 0, 3, 0),
  1865.     Adornee = EffectPart,
  1866.     Parent = EffectPart
  1867.   })
  1868.   local TextLabel = Create("TextLabel")({
  1869.     BackgroundTransparency = 1,
  1870.     Size = UDim2.new(1, 0, 1, 0),
  1871.     Text = Text,
  1872.     TextColor3 = Color,
  1873.     TextScaled = true,
  1874.     Font = Enum.Font.ArialBold,
  1875.     Parent = BillboardGui
  1876.   })
  1877.   game.Debris:AddItem(EffectPart, Time + 0.1)
  1878.   EffectPart.Parent = game:GetService("Workspace")
  1879.   delay(0, function()
  1880.     local Frames = Time / Rate
  1881.     for Frame = 1, Frames do
  1882.       wait(Rate)
  1883.       local Percent = Frame / Frames
  1884.       EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1885.       TextLabel.TextTransparency = Percent
  1886.     end
  1887.     if EffectPart and EffectPart.Parent then
  1888.       EffectPart:Destroy()
  1889.     end
  1890.   end)
  1891. end
  1892. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1893.   for _, c in pairs(workspace:children()) do
  1894.     local hum = c:findFirstChildOfClass("Humanoid")
  1895.     if hum ~= nil then
  1896.       local head = c:findFirstChild("Head")
  1897.       if head ~= nil then
  1898.         local targ = head.Position - Part.Position
  1899.         local mag = targ.magnitude
  1900.         if magni >= mag and c.Name ~= Player.Name then
  1901.           Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1902.         end
  1903.       end
  1904.     end
  1905.   end
  1906. end
  1907.  
  1908. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1909.   for _, c in pairs(workspace:children()) do
  1910.     local hum = c:findFirstChild("Humanoid")
  1911.     if hum ~= nil then
  1912.       local head = c:findFirstChild("Torso")
  1913.       if head ~= nil then
  1914.         local targ = head.Position - Part.Position
  1915.         local mag = targ.magnitude
  1916.         if magni >= mag and c.Name ~= Player.Name then
  1917.     MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1918.           Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1919.         end
  1920.       end
  1921.     end
  1922.   end
  1923. end
  1924.  
  1925. function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1926. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1927. end
  1928.  
  1929. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1930. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1931. prt.Anchored=true
  1932. prt.CFrame=cframe
  1933. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1934. --http://www.roblox.com/asset/?id=4770560
  1935. game:GetService("Debris"):AddItem(prt,2)
  1936. CF=prt.CFrame
  1937. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1938. for i=0,1,0.2 do
  1939. wait()
  1940. Part.CFrame=CF*cf(0,0,-0.4)
  1941. end
  1942. for i=0,1,delay do
  1943. wait()
  1944. --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)
  1945. Mesh.Scale=Mesh.Scale
  1946. end
  1947. for i=0,1,0.1 do
  1948. wait()
  1949. Part.Transparency=i
  1950. end
  1951. Part.Parent=nil
  1952. end),prt,msh,CF)
  1953. end
  1954.  
  1955. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1956. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1957. prt.Anchored=true
  1958. prt.Material = "Neon"
  1959. prt.CFrame=cframe
  1960. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1961. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1962. game:GetService("Debris"):AddItem(prt,5)
  1963. coroutine.resume(coroutine.create(function(Part,Mesh)
  1964. for i=0,1,delay do
  1965. swait()
  1966. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1967. Part.Transparency=i
  1968. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1969. end
  1970. Part.Parent=nil
  1971. end),prt,msh)
  1972. end
  1973.  
  1974. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1975. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1976. prt.Anchored=true
  1977. prt.Material = "Neon"
  1978. prt.CFrame=cframe
  1979. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1980. game:GetService("Debris"):AddItem(prt,5)
  1981. coroutine.resume(coroutine.create(function(Part,Mesh)
  1982.     local rtype = rottype
  1983. for i=0,1,delay do
  1984. swait()
  1985. if rtype == 1 then
  1986. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1987. elseif rtype == 2 then
  1988. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1989. end
  1990. Part.Transparency=i
  1991. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1992. end
  1993. Part.Parent=nil
  1994. end),prt,msh)
  1995. end
  1996.  
  1997. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1998. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1999. prt.Anchored=true
  2000. prt.CFrame=cframe
  2001. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2002. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2003. game:GetService("Debris"):AddItem(prt,5)
  2004. coroutine.resume(coroutine.create(function(Part,Mesh)
  2005. for i=0,1,delay do
  2006. wait()
  2007. Part.Transparency=i
  2008. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2009. end
  2010. Part.Parent=nil
  2011. end),prt,msh)
  2012. end
  2013.  
  2014. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2015. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2016. prt.Anchored=true
  2017. prt.Material = "Neon"
  2018. prt.CFrame=cframe
  2019. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2020. game:GetService("Debris"):AddItem(prt,5)
  2021. coroutine.resume(coroutine.create(function(Part,Mesh)
  2022.     local rtype = rottype
  2023. for i=0,1,delay do
  2024. swait()
  2025. if rtype == 1 then
  2026. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2027. elseif rtype == 2 then
  2028. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2029. end
  2030. Part.Transparency=i
  2031. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2032. end
  2033. Part.Parent=nil
  2034. end),prt,msh)
  2035. end
  2036.  
  2037. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2038. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2039. prt.Anchored=true
  2040. prt.Material = "Neon"
  2041. prt.CFrame=cframe
  2042. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2043. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2044. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2045. game:GetService("Debris"):AddItem(prt,5)
  2046. coroutine.resume(coroutine.create(function(Part,Mesh)
  2047.     local rtype = rottype
  2048. for i=0,1,delay do
  2049. swait()
  2050. if rtype == 1 then
  2051. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2052. elseif rtype == 2 then
  2053. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2054. end
  2055. dec.Transparency=i
  2056. dec2.Transparency=i
  2057. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2058. end
  2059. Part.Parent=nil
  2060. end),prt,msh)
  2061. end
  2062.  
  2063. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2064. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2065. prt.Anchored=true
  2066. prt.Material = "Neon"
  2067. prt.CFrame=cframe
  2068. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2069. game:GetService("Debris"):AddItem(prt,5)
  2070. coroutine.resume(coroutine.create(function(Part,Mesh)
  2071.     local rtype = rottype
  2072. for i=0,1,delay do
  2073. swait()
  2074. if rtype == 1 then
  2075. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2076. elseif rtype == 2 then
  2077. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2078. end
  2079. prt.Transparency=i
  2080. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2081. end
  2082. Part.Parent=nil
  2083. end),prt,msh)
  2084. end
  2085.  
  2086. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2087. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2088. prt.Anchored=true
  2089. prt.Material = "Neon"
  2090. prt.CFrame=cframe
  2091. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2092. game:GetService("Debris"):AddItem(prt,5)
  2093. coroutine.resume(coroutine.create(function(Part,Mesh)
  2094.     local rtype = rottype
  2095. for i=0,1,delay do
  2096. swait()
  2097. if rtype == 1 then
  2098. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2099. elseif rtype == 2 then
  2100. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2101. end
  2102. prt.Transparency=i
  2103. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2104. end
  2105. Part.Parent=nil
  2106. end),prt,msh)
  2107. end
  2108.  
  2109. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2110. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2111. prt.Anchored=true
  2112. prt.Material = "Neon"
  2113. prt.CFrame=cframe
  2114. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2115. game:GetService("Debris"):AddItem(prt,5)
  2116. coroutine.resume(coroutine.create(function(Part,Mesh)
  2117.     local rtype = rottype
  2118. for i=0,1,delay do
  2119. swait()
  2120. if rtype == 1 then
  2121. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2122. elseif rtype == 2 then
  2123. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2124. end
  2125. prt.Transparency=i
  2126. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2127. end
  2128. Part.Parent=nil
  2129. end),prt,msh)
  2130. end
  2131.  
  2132. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2133. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2134. prt.Anchored=true
  2135. prt.Material = "Neon"
  2136. prt.CFrame=cframe
  2137. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2138. game:GetService("Debris"):AddItem(prt,5)
  2139. coroutine.resume(coroutine.create(function(Part,Mesh)
  2140.     local rtype = rottype
  2141. for i=0,1,delay do
  2142. swait()
  2143. if rtype == 1 then
  2144. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2145. elseif rtype == 2 then
  2146. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2147. end
  2148. prt.Transparency=i
  2149. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2150. end
  2151. Part.Parent=nil
  2152. end),prt,msh)
  2153. end
  2154.  
  2155. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2156. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2157. prt.Anchored=false
  2158. prt.CFrame=cframe
  2159. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2160. local wld=weld(prt,prt,Parent,cframe)
  2161. game:GetService("Debris"):AddItem(prt,5)
  2162. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2163. for i=0,1,delay do
  2164. wait()
  2165. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2166. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2167. Part.Transparency=i
  2168. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2169. end
  2170. Part.Parent=nil
  2171. end),prt,msh,wld)
  2172. end
  2173.  
  2174. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2175. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2176. prt.Anchored=false
  2177. prt.CFrame=cframe
  2178. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2179. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2180. game:GetService("Debris"):AddItem(prt,5)
  2181. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2182. for i=0,1,delay do
  2183. wait()
  2184. Weld.C0=euler(i*20,0,0)
  2185. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2186. Part.Transparency=i
  2187. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2188. end
  2189. Part.Parent=nil
  2190. end),prt,msh,wld)
  2191. end
  2192.  
  2193. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2194. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2195. prt.Anchored=true
  2196. prt.CFrame=cframe
  2197. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2198. game:GetService("Debris"):AddItem(prt,2)
  2199. coroutine.resume(coroutine.create(function(Part,Mesh)
  2200. for i=0,1,delay do
  2201. wait()
  2202. Part.CFrame=Part.CFrame
  2203. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2204. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2205. prt2.Anchored=true
  2206. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2207. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2208. game:GetService("Debris"):AddItem(prt2,2)
  2209. coroutine.resume(coroutine.create(function(Part,Mesh)
  2210. for i=0,1,0.1 do
  2211. wait()
  2212. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2213. end
  2214. Part.Parent=nil
  2215. end),prt2,msh2)
  2216. end
  2217. for i=0,1,delay*2 do
  2218. wait()
  2219. Part.CFrame=Part.CFrame
  2220. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2221. end
  2222. Part.Parent=nil
  2223. end),prt,msh)
  2224. end
  2225.  
  2226. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2227. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2228. prt.Anchored=true
  2229. prt.CFrame=cframe
  2230. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2231. game:GetService("Debris"):AddItem(prt,2)
  2232. coroutine.resume(coroutine.create(function(Part,Mesh)
  2233. for i=0,1,delay do
  2234. wait()
  2235. Part.CFrame=Part.CFrame
  2236. Part.Transparency=i
  2237. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2238. end
  2239. Part.Parent=nil
  2240. end),prt,msh)
  2241. end
  2242.  
  2243. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2244. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2245. prt.Anchored=true
  2246. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2247. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2248. game:GetService("Debris"):AddItem(prt,2)
  2249. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2250. CF=Part.CFrame
  2251. Numbb=0
  2252. randnumb=math.random()/10
  2253. rand1=math.random()/10
  2254. for i=0,1,rand1 do
  2255. wait()
  2256. CF=CF*cf(0,math.random()/2,0)
  2257. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2258. Part.CFrame=CF*euler(Numbb,0,0)
  2259. Part.Transparency=i
  2260. Numbb=Numbb+randnumb
  2261. end
  2262. Part.Parent=nil
  2263. end),prt,CF,Numbb,randnumb)
  2264. end
  2265.  
  2266. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2267. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2268. prt.Anchored=true
  2269. prt.CFrame=cframe
  2270. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2271. game:GetService("Debris"):AddItem(prt,5)
  2272. coroutine.resume(coroutine.create(function(Part,Mesh)
  2273. for i=0,1,delay do
  2274. wait()
  2275. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2276. Part.Transparency=i
  2277. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2278. end
  2279. Part.Parent=nil
  2280. end),prt,msh)
  2281. end
  2282.  
  2283. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2284. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2285. prt.Anchored=true
  2286. prt.CFrame=cframe
  2287. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2288. game:GetService("Debris"):AddItem(prt,2)
  2289. coroutine.resume(coroutine.create(function(Part,Mesh)
  2290. for i=0,1,delay do
  2291. wait()
  2292. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2293. Part.Transparency=i
  2294. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2295. end
  2296. Part.Parent=nil
  2297. end),prt,msh)
  2298. end
  2299.  
  2300. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2301. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2302. prt.Anchored=true
  2303. prt.CFrame=cframe*cf(x,y,z)
  2304. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2305. game:GetService("Debris"):AddItem(prt,5)
  2306. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2307. local num=math.random()
  2308. local num2=math.random(-3,2)+math.random()
  2309. local numm=0
  2310. for i=0,1,delay*2 do
  2311. swait()
  2312. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2313. Part.Transparency=i
  2314. numm=numm+0.01
  2315. end
  2316. Part.Parent=nil
  2317. Mesh.Parent=nil
  2318. end),prt,msh,x,y,z)
  2319. end
  2320.  
  2321. function dmgstart(dmg,what)
  2322.     hitcon = what.Touched:connect(function(hit)
  2323.         local hum = hit.Parent:FindFirstChild("Humanoid")
  2324.         if hum and not hum:IsDescendantOf(Character) then
  2325.             hum:TakeDamage(dmg)
  2326.         end
  2327.     end)
  2328. end
  2329.  
  2330. function dmgstop()
  2331.     hitcon:disconnect()
  2332. end
  2333.  
  2334. function Cloak()
  2335. Face.Parent=nil
  2336. cloaked=true
  2337.         for _,v in pairs(Torso.Parent:children()) do
  2338.                 if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2339.                 coroutine.resume(coroutine.create(function()
  2340.                 for i=0,1,0.2 do
  2341.                 wait()
  2342.                 v.Transparency=i
  2343.                 end
  2344.                 v.Transparency=1
  2345.                 end))
  2346.                 end
  2347.                 if v.className=="Hat" then
  2348.                 hatp=v.Handle
  2349.                 coroutine.resume(coroutine.create(function(derp)
  2350.                 for i=0,1,0.2 do
  2351.                 wait()
  2352.                 derp.Transparency=i
  2353.                 end
  2354.                 derp.Transparency=1
  2355.                 end),hatp)
  2356.                 end
  2357.         end
  2358.         for _,v in pairs(m:children()) do
  2359.                 if v.className=="Part" then
  2360.                 coroutine.resume(coroutine.create(function()
  2361.                 for i=0,1,0.2 do
  2362.                 wait()
  2363.                 v.Transparency=i
  2364.                 end
  2365.                 v.Transparency=1
  2366.                 end))
  2367.                 end
  2368.         end
  2369. end
  2370.  
  2371. function UnCloak()
  2372. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2373. Face.Parent=Head
  2374. cloaked=false
  2375.         for _,v in pairs(Torso.Parent:children()) do
  2376.                 if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2377.                 coroutine.resume(coroutine.create(function()
  2378.                 for i=0,1,0.1 do
  2379.                 wait()
  2380.                 v.Transparency=v.Transparency-0.1
  2381.                 end
  2382.                 v.Transparency=0
  2383.                 end))
  2384.                 end
  2385.                 if v.className=="Hat" then
  2386.                 hatp=v.Handle
  2387.                 coroutine.resume(coroutine.create(function(derp)
  2388.                 for i=0,1,0.1 do
  2389.                 wait()
  2390.                 derp.Transparency=derp.Transparency-0.1
  2391.                 end
  2392.                 derp.Transparency=0
  2393.                 end),hatp)
  2394.                 end
  2395.         end
  2396.         for _,v in pairs(m:children()) do
  2397.                 if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2398.                 coroutine.resume(coroutine.create(function()
  2399.                 for i=0,1,0.1 do
  2400.                 wait()
  2401.                 v.Transparency=v.Transparency-0.1
  2402.                 end
  2403.                 v.Transparency=0
  2404.                 end))
  2405.                 v.Transparency=0
  2406.                 end
  2407.         end
  2408. end
  2409.  
  2410. local origcolor = BrickColor.new("Pastel light blue")
  2411. ---- This section of explosions.
  2412.  
  2413. ----
  2414.  
  2415.  
  2416. function ring(type,pos,scale,value)
  2417. local type = type
  2418. local rng = Instance.new("Part", char)
  2419.         rng.Anchored = true
  2420.         rng.BrickColor = origcolor
  2421.         rng.CanCollide = false
  2422.         rng.FormFactor = 3
  2423.         rng.Name = "Ring"
  2424.         rng.Size = Vector3.new(1, 1, 1)
  2425.         rng.Transparency = 0
  2426.         rng.TopSurface = 0
  2427.         rng.BottomSurface = 0
  2428.         rng.CFrame = pos
  2429.         local rngm = Instance.new("SpecialMesh", rng)
  2430.         rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2431. rngm.Scale = scale
  2432. local scaler2 = 1
  2433. if type == "Add" then
  2434. scaler2 = 1*value
  2435. elseif type == "Divide" then
  2436. scaler2 = 1/value
  2437. end
  2438. coroutine.resume(coroutine.create(function()
  2439. for i = 0,10,0.1 do
  2440. swait()
  2441. if type == "Add" then
  2442. scaler2 = scaler2 - 0.01*value
  2443. elseif type == "Divide" then
  2444. scaler2 = scaler2 - 0.01/value
  2445. end
  2446. rng.Transparency = rng.Transparency + 0.01
  2447. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2448. end
  2449. rng:Destroy()
  2450. end))
  2451. end
  2452.  
  2453.  
  2454. function wave(type,pos,scale,value)
  2455. local type = type
  2456. local rng = Instance.new("Part", char)
  2457.         rng.Anchored = true
  2458.         rng.BrickColor = origcolor
  2459.         rng.CanCollide = false
  2460.         rng.FormFactor = 3
  2461.         rng.Name = "Ring"
  2462.         rng.Size = Vector3.new(1, 1, 1)
  2463.         rng.Transparency = 0
  2464.         rng.TopSurface = 0
  2465.         rng.BottomSurface = 0
  2466.         rng.CFrame = pos
  2467.         local rngm = Instance.new("SpecialMesh", rng)
  2468.         rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2469. rngm.Scale = scale
  2470. local scaler2 = 1
  2471. if type == "Add" then
  2472. scaler2 = 1*value
  2473. elseif type == "Divide" then
  2474. scaler2 = 1/value
  2475. end
  2476. coroutine.resume(coroutine.create(function()
  2477. for i = 0,10,0.1 do
  2478. swait()
  2479. if type == "Add" then
  2480. scaler2 = scaler2 - 0.01*value
  2481. elseif type == "Divide" then
  2482. scaler2 = scaler2 - 0.01/value
  2483. end
  2484. rng.Transparency = rng.Transparency + 0.01
  2485. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2486. end
  2487. rng:Destroy()
  2488. end))
  2489. end
  2490.  
  2491. function wind(type,pos,scale,value,speed)
  2492. local type = type
  2493. local rng = Instance.new("Part", char)
  2494.         rng.Anchored = true
  2495.         rng.BrickColor = origcolor
  2496.         rng.CanCollide = false
  2497.         rng.FormFactor = 3
  2498.         rng.Name = "Ring"
  2499.         rng.Size = Vector3.new(1, 1, 1)
  2500.         rng.Transparency = 0
  2501.         rng.TopSurface = 0
  2502.         rng.BottomSurface = 0
  2503.         rng.CFrame = pos
  2504.         local rngm = Instance.new("SpecialMesh", rng)
  2505.         rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2506. rngm.Scale = scale
  2507. local scaler2 = 1
  2508. if type == "Add" then
  2509. scaler2 = 1*value
  2510. elseif type == "Divide" then
  2511. scaler2 = 1/value
  2512. end
  2513. coroutine.resume(coroutine.create(function()
  2514. for i = 0,10,0.1 do
  2515. swait()
  2516. if type == "Add" then
  2517. scaler2 = scaler2 - 0.01*value
  2518. elseif type == "Divide" then
  2519. scaler2 = scaler2 - 0.01/value
  2520. end
  2521. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2522. rng.Transparency = rng.Transparency + 0.01
  2523. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2524. end
  2525. rng:Destroy()
  2526. end))
  2527. end
  2528.  
  2529. function groundwind(type,pos,scale,value,speed)
  2530. local type = type
  2531. local rng = Instance.new("Part", char)
  2532.         rng.Anchored = true
  2533.         rng.BrickColor = origcolor
  2534.         rng.CanCollide = false
  2535.         rng.FormFactor = 3
  2536.         rng.Name = "Ring"
  2537.         rng.Size = Vector3.new(1, 1, 1)
  2538.         rng.Transparency = 0
  2539.         rng.TopSurface = 0
  2540.         rng.BottomSurface = 0
  2541.         rng.CFrame = pos
  2542.         local rngm = Instance.new("SpecialMesh", rng)
  2543.         rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2544. rngm.Scale = scale
  2545. local scaler2 = 1
  2546. if type == "Add" then
  2547. scaler2 = 1*value
  2548. elseif type == "Divide" then
  2549. scaler2 = 1/value
  2550. end
  2551. coroutine.resume(coroutine.create(function()
  2552. for i = 0,10,0.1 do
  2553. swait()
  2554. if type == "Add" then
  2555. scaler2 = scaler2 - 0.01*value
  2556. elseif type == "Divide" then
  2557. scaler2 = scaler2 - 0.01/value
  2558. end
  2559. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2560. rng.Transparency = rng.Transparency + 0.01
  2561. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2562. end
  2563. rng:Destroy()
  2564. end))
  2565. end
  2566.  
  2567. function CameraManager()
  2568.   if TwoD and not CamInterrupt then
  2569.     if Humanoid.Health > 0 then
  2570.       Camera.CameraSubject = Humanoid
  2571.       Camera.CameraType = "Scriptable"
  2572.       Humanoid.AutoRotate = false
  2573.       if Booleans.GyroUse then
  2574.         Directer.MaxTorque = Vec3(0, huge, 0)
  2575.       else
  2576.         Directer.MaxTorque = Vec3(0, 0, 0)
  2577.       end
  2578.       if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2579.         if Booleans.CamFollow then
  2580.           CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2581.           Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2582.         else
  2583.           CPart.Position = RootPart.Position
  2584.         end
  2585.       else
  2586.         local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2587.         CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2588.       end
  2589.       Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2590.     else
  2591.       Camera.CameraSubject = Humanoid
  2592.       Camera.CameraType = "Custom"
  2593.       Controller.Disabled = false
  2594.     end
  2595.   end
  2596. end
  2597.  
  2598. function ring(type,pos,scale,value)
  2599. local type = type
  2600. local rng = Instance.new("Part", char)
  2601.         rng.Anchored = true
  2602.         rng.BrickColor = origcolor
  2603.         rng.CanCollide = false
  2604.         rng.FormFactor = 3
  2605.         rng.Name = "Ring"
  2606.         rng.Size = Vector3.new(1, 1, 1)
  2607.         rng.Transparency = 0
  2608.         rng.TopSurface = 0
  2609.         rng.BottomSurface = 0
  2610.         rng.CFrame = pos
  2611.         local rngm = Instance.new("SpecialMesh", rng)
  2612.         rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2613. rngm.Scale = scale
  2614. local scaler2 = 1
  2615. if type == "Add" then
  2616. scaler2 = 1*value
  2617. elseif type == "Divide" then
  2618. scaler2 = 1/value
  2619. end
  2620. coroutine.resume(coroutine.create(function()
  2621. for i = 0,10,0.1 do
  2622. swait()
  2623. if type == "Add" then
  2624. scaler2 = scaler2 - 0.01*value
  2625. elseif type == "Divide" then
  2626. scaler2 = scaler2 - 0.01/value
  2627. end
  2628. rng.Transparency = rng.Transparency + 0.01
  2629. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2630. end
  2631. rng:Destroy()
  2632. end))
  2633. end
  2634.  
  2635.  
  2636. function wave(type,pos,scale,value)
  2637. local type = type
  2638. local rng = Instance.new("Part", char)
  2639.         rng.Anchored = true
  2640.         rng.BrickColor = origcolor
  2641.         rng.CanCollide = false
  2642.         rng.FormFactor = 3
  2643.         rng.Name = "Ring"
  2644.         rng.Size = Vector3.new(1, 1, 1)
  2645.         rng.Transparency = 0
  2646.         rng.TopSurface = 0
  2647.         rng.BottomSurface = 0
  2648.         rng.CFrame = pos
  2649.         local rngm = Instance.new("SpecialMesh", rng)
  2650.         rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2651. rngm.Scale = scale
  2652. local scaler2 = 1
  2653. if type == "Add" then
  2654. scaler2 = 1*value
  2655. elseif type == "Divide" then
  2656. scaler2 = 1/value
  2657. end
  2658. coroutine.resume(coroutine.create(function()
  2659. for i = 0,10,0.1 do
  2660. swait()
  2661. if type == "Add" then
  2662. scaler2 = scaler2 - 0.01*value
  2663. elseif type == "Divide" then
  2664. scaler2 = scaler2 - 0.01/value
  2665. end
  2666. rng.Transparency = rng.Transparency + 0.01
  2667. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2668. end
  2669. rng:Destroy()
  2670. end))
  2671. end
  2672.  
  2673. function sphere(bonuspeed,type,pos,scale,value,color)
  2674. local type = type
  2675. local rng = Instance.new("Part", char)
  2676.         rng.Anchored = true
  2677. if ModeOfGlitch ~= 9 then
  2678.         rng.BrickColor = color
  2679. elseif ModeOfGlitch == 9 then
  2680. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2681. end
  2682.         rng.CanCollide = false
  2683.         rng.FormFactor = 3
  2684.         rng.Name = "Ring"
  2685.         rng.Material = "Neon"
  2686.         rng.Size = Vector3.new(1, 1, 1)
  2687.         rng.Transparency = 0
  2688.         rng.TopSurface = 0
  2689.         rng.BottomSurface = 0
  2690.         rng.CFrame = pos
  2691.         local rngm = Instance.new("SpecialMesh", rng)
  2692.         rngm.MeshType = "Sphere"
  2693. rngm.Scale = scale
  2694. if rainbowmode == true then
  2695. rng.Color = Color3.new(r/255,g/255,b/255)
  2696. end
  2697. if ModeOfGlitch == 9 then
  2698. coroutine.resume(coroutine.create(function()
  2699. while true do
  2700. swait()
  2701. if rng.Parent ~= nil then
  2702. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2703. else
  2704. break
  2705. end
  2706. end
  2707. end))
  2708. end
  2709. local scaler2 = 1
  2710. if type == "Add" then
  2711. scaler2 = 1*value
  2712. elseif type == "Divide" then
  2713. scaler2 = 1/value
  2714. end
  2715. coroutine.resume(coroutine.create(function()
  2716. for i = 0,10/bonuspeed,0.1 do
  2717. swait()
  2718. if rainbowmode == true then
  2719. rng.Color = Color3.new(r/255,g/255,b/255)
  2720. end
  2721. if type == "Add" then
  2722. scaler2 = scaler2 - 0.01*value/bonuspeed
  2723. elseif type == "Divide" then
  2724. scaler2 = scaler2 - 0.01/value*bonuspeed
  2725. end
  2726. if chaosmode == true then
  2727. rng.BrickColor = BrickColor.random()
  2728. end
  2729. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2730. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2731. end
  2732. rng:Destroy()
  2733. end))
  2734. end
  2735.  
  2736. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2737. local type = type
  2738. local rng = Instance.new("Part", char)
  2739.         rng.Anchored = true
  2740. if ModeOfGlitch ~= 9 then
  2741.         rng.BrickColor = color
  2742. elseif ModeOfGlitch == 9 then
  2743. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2744. end
  2745.         rng.CanCollide = false
  2746.         rng.FormFactor = 3
  2747.         rng.Name = "Ring"
  2748.         rng.Material = "Neon"
  2749.         rng.Size = Vector3.new(1, 1, 1)
  2750.         rng.Transparency = 0
  2751.         rng.TopSurface = 0
  2752.         rng.BottomSurface = 0
  2753.         rng.CFrame = pos
  2754.         local rngm = Instance.new("SpecialMesh", rng)
  2755.         rngm.MeshType = "Sphere"
  2756. rngm.Scale = scale
  2757. local scaler2 = 1
  2758. local scaler2b = 1
  2759. local scaler2c = 1
  2760. if type == "Add" then
  2761. scaler2 = 1*value
  2762. scaler2b = 1*value2
  2763. scaler2c = 1*value3
  2764. elseif type == "Divide" then
  2765. scaler2 = 1/value
  2766. scaler2b = 1/value2
  2767. scaler2c = 1/value3
  2768. end
  2769. if ModeOfGlitch == 9 then
  2770. coroutine.resume(coroutine.create(function()
  2771. while true do
  2772. swait()
  2773. if rng.Parent ~= nil then
  2774. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2775. else
  2776. break
  2777. end
  2778. end
  2779. end))
  2780. end
  2781. coroutine.resume(coroutine.create(function()
  2782. for i = 0,10/bonuspeed,0.1 do
  2783. swait()
  2784. if type == "Add" then
  2785. scaler2 = scaler2 - 0.01*value/bonuspeed
  2786. scaler2b = scaler2b - 0.01*value/bonuspeed
  2787. scaler2c = scaler2c - 0.01*value/bonuspeed
  2788. elseif type == "Divide" then
  2789. scaler2 = scaler2 - 0.01/value*bonuspeed
  2790. scaler2b = scaler2b - 0.01/value*bonuspeed
  2791. scaler2c = scaler2c - 0.01/value*bonuspeed
  2792. end
  2793. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2794. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2795. end
  2796. rng:Destroy()
  2797. end))
  2798. end
  2799.  
  2800. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2801. local type = type
  2802. local rotenable = rotatingop
  2803. local rng = Instance.new("Part", char)
  2804.         rng.Anchored = true
  2805.         rng.BrickColor = color
  2806.         rng.CanCollide = false
  2807.         rng.FormFactor = 3
  2808.         rng.Name = "Ring"
  2809.         rng.Material = "Neon"
  2810.         rng.Size = Vector3.new(1, 1, 1)
  2811.         rng.Transparency = 0
  2812. if typeoftrans == "In" then
  2813. rng.Transparency = 1
  2814. end
  2815.         rng.TopSurface = 0
  2816.         rng.BottomSurface = 0
  2817.         rng.CFrame = pos
  2818.         local rngm = Instance.new("SpecialMesh", rng)
  2819.         rngm.MeshType = "FileMesh"
  2820. if typeofshape == "Normal" then
  2821. rngm.MeshId = "rbxassetid://662586858"
  2822. elseif typeofshape == "Round" then
  2823. rngm.MeshId = "rbxassetid://662585058"
  2824. end
  2825. rngm.Scale = scale
  2826. local scaler2 = 1/10
  2827. if type == "Add" then
  2828. scaler2 = 1*value/10
  2829. elseif type == "Divide" then
  2830. scaler2 = 1/value/10
  2831. end
  2832. local randomrot = math.random(1,2)
  2833. coroutine.resume(coroutine.create(function()
  2834. for i = 0,10/bonuspeed,0.1 do
  2835. swait()
  2836. if type == "Add" then
  2837. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  2838. elseif type == "Divide" then
  2839. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  2840. end
  2841. if rotenable == true then
  2842. if randomrot == 1 then
  2843. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  2844. elseif randomrot == 2 then
  2845. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  2846. end
  2847. end
  2848. if typeoftrans == "Out" then
  2849. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2850. elseif typeoftrans == "In" then
  2851. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2852. end
  2853. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  2854. end
  2855. rng:Destroy()
  2856. end))
  2857. end
  2858.  
  2859. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2860. local type = type
  2861. local rng = Instance.new("Part", char)
  2862.         rng.Anchored = true
  2863.         rng.BrickColor = color
  2864.         rng.CanCollide = false
  2865.         rng.FormFactor = 3
  2866.         rng.Name = "Ring"
  2867.         rng.Material = "Neon"
  2868.         rng.Size = Vector3.new(1, 1, 1)
  2869.         rng.Transparency = 0
  2870.         rng.TopSurface = 0
  2871.         rng.BottomSurface = 0
  2872.         rng.CFrame = pos
  2873. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2874.         local rngm = Instance.new("SpecialMesh", rng)
  2875.         rngm.MeshType = "Brick"
  2876. rngm.Scale = vt(x1,y1,z1)
  2877. if rainbowmode == true then
  2878. rng.Color = Color3.new(r/255,g/255,b/255)
  2879. end
  2880. local scaler2 = 1
  2881. local speeder = FastSpeed/10
  2882. if type == "Add" then
  2883. scaler2 = 1*value
  2884. elseif type == "Divide" then
  2885. scaler2 = 1/value
  2886. end
  2887. coroutine.resume(coroutine.create(function()
  2888. for i = 0,10/bonuspeed,0.1 do
  2889. swait()
  2890. if rainbowmode == true then
  2891. rng.Color = Color3.new(r/255,g/255,b/255)
  2892. end
  2893. if type == "Add" then
  2894. scaler2 = scaler2 - 0.01*value/bonuspeed
  2895. elseif type == "Divide" then
  2896. scaler2 = scaler2 - 0.01/value*bonuspeed
  2897. end
  2898. if chaosmode == true then
  2899. rng.BrickColor = BrickColor.random()
  2900. end
  2901. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2902. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2903. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2904. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2905. end
  2906. rng:Destroy()
  2907. end))
  2908. end
  2909.  
  2910. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2911. local type = type
  2912. local rng = Instance.new("Part", char)
  2913.         rng.Anchored = true
  2914.         rng.BrickColor = color
  2915.         rng.CanCollide = false
  2916.         rng.FormFactor = 3
  2917.         rng.Name = "Ring"
  2918.         rng.Material = "Neon"
  2919.         rng.Size = Vector3.new(1, 1, 1)
  2920.         rng.Transparency = 0
  2921.         rng.TopSurface = 0
  2922.         rng.BottomSurface = 0
  2923.         rng.CFrame = pos
  2924. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2925.         local rngm = Instance.new("SpecialMesh", rng)
  2926.         rngm.MeshType = "Brick"
  2927. rngm.Scale = vt(x1,y1,z1)
  2928. if rainbowmode == true then
  2929. rng.Color = Color3.new(r/255,g/255,b/255)
  2930. end
  2931. local scaler2 = 1
  2932. local speeder = FastSpeed/10
  2933. if type == "Add" then
  2934. scaler2 = 1*value
  2935. elseif type == "Divide" then
  2936. scaler2 = 1/value
  2937. end
  2938. coroutine.resume(coroutine.create(function()
  2939. for i = 0,10/bonuspeed,0.1 do
  2940. swait()
  2941. if rainbowmode == true then
  2942. rng.Color = Color3.new(r/255,g/255,b/255)
  2943. end
  2944. if type == "Add" then
  2945. scaler2 = scaler2 - 0.01*value/bonuspeed
  2946. elseif type == "Divide" then
  2947. scaler2 = scaler2 - 0.01/value*bonuspeed
  2948. end
  2949. if chaosmode == true then
  2950. rng.BrickColor = BrickColor.random()
  2951. end
  2952. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2953. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2954. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2955. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2956. end
  2957. rng:Destroy()
  2958. end))
  2959. end
  2960.  
  2961. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2962. local type = type
  2963. local rng = Instance.new("Part", char)
  2964.         rng.Anchored = true
  2965.         rng.BrickColor = color
  2966.         rng.CanCollide = false
  2967.         rng.FormFactor = 3
  2968.         rng.Name = "Ring"
  2969.         rng.Material = "Neon"
  2970.         rng.Size = Vector3.new(1, 1, 1)
  2971.         rng.Transparency = 0
  2972.         rng.TopSurface = 0
  2973.         rng.BottomSurface = 0
  2974.         rng.CFrame = pos
  2975. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2976.         local rngm = Instance.new("SpecialMesh", rng)
  2977.         rngm.MeshType = "Brick"
  2978. rngm.Scale = vt(x1,y1,z1)
  2979. if rainbowmode == true then
  2980. rng.Color = Color3.new(r/255,g/255,b/255)
  2981. end
  2982. local scaler2 = 0
  2983. local speeder = FastSpeed/10
  2984. if type == "Add" then
  2985. scaler2 = 1*value
  2986. elseif type == "Divide" then
  2987. scaler2 = 1/value
  2988. end
  2989. coroutine.resume(coroutine.create(function()
  2990. for i = 0,10/bonuspeed,0.1 do
  2991. swait()
  2992. if rainbowmode == true then
  2993. rng.Color = Color3.new(r/255,g/255,b/255)
  2994. end
  2995. if type == "Add" then
  2996. scaler2 = scaler2 - 0.01*value/bonuspeed
  2997. elseif type == "Divide" then
  2998. scaler2 = scaler2 - 0.01/value*bonuspeed
  2999. end
  3000. if chaosmode == true then
  3001. rng.BrickColor = BrickColor.random()
  3002. end
  3003. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3004. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3005. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3006. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3007. end
  3008. rng:Destroy()
  3009. end))
  3010. end
  3011.  
  3012. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3013. local type = type
  3014. local rng = Instance.new("Part", char)
  3015.         rng.Anchored = true
  3016.         rng.BrickColor = color
  3017.         rng.Color = color3
  3018.         rng.CanCollide = false
  3019.         rng.FormFactor = 3
  3020.         rng.Name = "Ring"
  3021.         rng.Material = "Neon"
  3022.         rng.Size = Vector3.new(1, 1, 1)
  3023.         rng.Transparency = 0
  3024.         rng.TopSurface = 0
  3025.         rng.BottomSurface = 0
  3026.         rng.CFrame = pos
  3027.         local rngm = Instance.new("SpecialMesh", rng)
  3028.         rngm.MeshType = "Brick"
  3029. rngm.Scale = scale
  3030. local scaler2 = 1
  3031. local scaler2b = 1
  3032. local scaler2c = 1
  3033. if type == "Add" then
  3034. scaler2 = 1*value
  3035. scaler2b = 1*value2
  3036. scaler2c = 1*value3
  3037. elseif type == "Divide" then
  3038. scaler2 = 1/value
  3039. scaler2b = 1/value2
  3040. scaler2c = 1/value3
  3041. end
  3042. coroutine.resume(coroutine.create(function()
  3043. for i = 0,10/bonuspeed,0.1 do
  3044. swait()
  3045. if type == "Add" then
  3046. scaler2 = scaler2 - 0.01*value/bonuspeed
  3047. scaler2b = scaler2b - 0.01*value/bonuspeed
  3048. scaler2c = scaler2c - 0.01*value/bonuspeed
  3049. elseif type == "Divide" then
  3050. scaler2 = scaler2 - 0.01/value*bonuspeed
  3051. scaler2b = scaler2b - 0.01/value*bonuspeed
  3052. scaler2c = scaler2c - 0.01/value*bonuspeed
  3053. end
  3054. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3055. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3056. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3057. end
  3058. rng:Destroy()
  3059. end))
  3060. end
  3061.  
  3062. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3063. local type = type
  3064. local rng = Instance.new("Part", char)
  3065.         rng.Anchored = true
  3066. if ModeOfGlitch ~= 9 then
  3067.         rng.BrickColor = color
  3068. elseif ModeOfGlitch == 9 then
  3069. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3070. end
  3071.         rng.CanCollide = false
  3072.         rng.FormFactor = 3
  3073.         rng.Name = "Ring"
  3074.         rng.Material = "Neon"
  3075.         rng.Size = Vector3.new(1, 1, 1)
  3076.         rng.Transparency = 0
  3077.         rng.TopSurface = 0
  3078.         rng.BottomSurface = 0
  3079.         rng.CFrame = pos
  3080. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3081.         local rngm = Instance.new("SpecialMesh", rng)
  3082.         rngm.MeshType = "Sphere"
  3083. rngm.Scale = vt(x1,y1,z1)
  3084. if rainbowmode == true then
  3085. rng.Color = Color3.new(r/255,g/255,b/255)
  3086. end
  3087. if ModeOfGlitch == 9 then
  3088. coroutine.resume(coroutine.create(function()
  3089. while true do
  3090. swait()
  3091. if rng.Parent ~= nil then
  3092. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3093. else
  3094. break
  3095. end
  3096. end
  3097. end))
  3098. end
  3099. local scaler2 = 1
  3100. local speeder = FastSpeed
  3101. if type == "Add" then
  3102. scaler2 = 1*value
  3103. elseif type == "Divide" then
  3104. scaler2 = 1/value
  3105. end
  3106. coroutine.resume(coroutine.create(function()
  3107. for i = 0,10/bonuspeed,0.1 do
  3108. swait()
  3109. if rainbowmode == true then
  3110. rng.Color = Color3.new(r/255,g/255,b/255)
  3111. end
  3112. if type == "Add" then
  3113. scaler2 = scaler2 - 0.01*value/bonuspeed
  3114. elseif type == "Divide" then
  3115. scaler2 = scaler2 - 0.01/value*bonuspeed
  3116. end
  3117. if chaosmode == true then
  3118. rng.BrickColor = BrickColor.random()
  3119. end
  3120. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3121. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3122. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3123. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3124. end
  3125. rng:Destroy()
  3126. end))
  3127. end
  3128.  
  3129.  
  3130. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3131. local type = type
  3132. local rng = Instance.new("Part", char)
  3133.         rng.Anchored = true
  3134. if ModeOfGlitch ~= 9 then
  3135.         rng.BrickColor = color
  3136. elseif ModeOfGlitch == 9 then
  3137. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3138. end
  3139.         rng.CanCollide = false
  3140.         rng.FormFactor = 3
  3141.         rng.Name = "Ring"
  3142.         rng.Material = "Neon"
  3143.         rng.Size = Vector3.new(1, 1, 1)
  3144.         rng.Transparency = 1
  3145.         rng.TopSurface = 0
  3146.         rng.BottomSurface = 0
  3147.         rng.CFrame = pos
  3148. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3149.         local rngm = Instance.new("SpecialMesh", rng)
  3150.         rngm.MeshType = "Sphere"
  3151. rngm.Scale = vt(x1,y1,z1)
  3152. if rainbowmode == true then
  3153. rng.Color = Color3.new(r/255,g/255,b/255)
  3154. end
  3155. if ModeOfGlitch == 9 then
  3156. coroutine.resume(coroutine.create(function()
  3157. while true do
  3158. swait()
  3159. if rng.Parent ~= nil then
  3160. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3161. else
  3162. break
  3163. end
  3164. end
  3165. end))
  3166. end
  3167. local scaler2 = 1
  3168. local speeder = FastSpeed
  3169. if type == "Add" then
  3170. scaler2 = 1*value
  3171. elseif type == "Divide" then
  3172. scaler2 = 1/value
  3173. end
  3174. coroutine.resume(coroutine.create(function()
  3175. for i = 0,10/bonuspeed,0.1 do
  3176. swait()
  3177. if rainbowmode == true then
  3178. rng.Color = Color3.new(r/255,g/255,b/255)
  3179. end
  3180. if type == "Add" then
  3181. scaler2 = scaler2 - 0.01*value/bonuspeed
  3182. elseif type == "Divide" then
  3183. scaler2 = scaler2 - 0.01/value*bonuspeed
  3184. end
  3185. if chaosmode == true then
  3186. rng.BrickColor = BrickColor.random()
  3187. end
  3188. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3189. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3190. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3191. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3192. end
  3193. rng:Destroy()
  3194. end))
  3195. end
  3196.  
  3197. function dmg(dude)
  3198. if dude.Name ~= Character then
  3199. local keptcolor = MAINRUINCOLOR
  3200. local bgf = Instance.new("BodyGyro",dude.Head)
  3201. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3202. --[[local val = Instance.new("BoolValue",dude)
  3203. val.Name = "IsHit"]]--
  3204. local ds = coroutine.wrap(function()
  3205. dude:WaitForChild("Head"):BreakJoints()
  3206. for i, v in pairs(dude:GetChildren()) do
  3207. if v:IsA("Part") or v:IsA("MeshPart") then
  3208. v.Name = "DEMINISHED"
  3209. end
  3210. end
  3211. wait(0.5)
  3212. targetted = nil
  3213. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3214. coroutine.resume(coroutine.create(function()
  3215. for i, v in pairs(dude:GetChildren()) do
  3216. if v:IsA("Accessory") then
  3217. v:Destroy()
  3218. end
  3219. if v:IsA("Humanoid") then
  3220. v:Destroy()
  3221. end
  3222. if v:IsA("CharacterMesh") then
  3223. v:Destroy()
  3224. end
  3225. if v:IsA("Model") then
  3226. v:Destroy()
  3227. end
  3228. if v:IsA("Part") or v:IsA("MeshPart") then
  3229. for x, o in pairs(v:GetChildren()) do
  3230. if o:IsA("Decal") then
  3231. o:Destroy()
  3232. end
  3233. end
  3234. coroutine.resume(coroutine.create(function()
  3235. v.Material = "Neon"
  3236. v.CanCollide = false
  3237. v.Anchored = false
  3238. local bld = Instance.new("ParticleEmitter",v)
  3239. bld.LightEmission = 0.75
  3240. bld.Texture = "rbxassetid://363275192" ---284205403
  3241. bld.Color = ColorSequence.new(keptcolor.Color)
  3242. bld.Rate = 500
  3243. bld.Lifetime = NumberRange.new(1)
  3244. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3245. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3246. bld.Speed = NumberRange.new(2,5)
  3247. bld.VelocitySpread = 50000
  3248. bld.Rotation = NumberRange.new(-500,500)
  3249. bld.RotSpeed = NumberRange.new(-500,500)
  3250.         local sbs = Instance.new("BodyPosition", v)
  3251.         sbs.P = 3000
  3252.         sbs.D = 1000
  3253.         sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3254.         sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3255. v.Color = keptcolor.Color
  3256. coroutine.resume(coroutine.create(function()
  3257. for i = 0, 49 do
  3258. swait(1)
  3259. v:BreakJoints()
  3260. v.Transparency = v.Transparency + 0.02
  3261. end
  3262. v:BreakJoints()
  3263. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3264. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3265. bld.Speed = NumberRange.new(10,25)
  3266. bld.Drag = 5
  3267. bld.Acceleration = vt(0,2,0)
  3268. wait(0.5)
  3269. bld.Enabled = false
  3270. wait(8)
  3271. v:Destroy()
  3272. dude:Destroy()
  3273. end))
  3274. end))
  3275. end
  3276. end
  3277. end))
  3278. end)
  3279. ds()
  3280. end
  3281. end
  3282.  
  3283.  
  3284. function FindNearestHead(Position, Distance, SinglePlayer)
  3285.     if SinglePlayer then
  3286.         return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3287.     end
  3288.     local List = {}
  3289.     for i, v in pairs(workspace:GetChildren()) do
  3290.         if v:IsA("Model") then
  3291.             if v:findFirstChild("Head") then
  3292.                 if v ~= Character then
  3293.                     if (v.Head.Position - Position).magnitude <= Distance then
  3294.                         table.insert(List, v)
  3295.                     end
  3296.                 end
  3297.             end
  3298.         end
  3299.     end
  3300.     return List
  3301. end
  3302.  
  3303. function FaceMouse()
  3304.   Cam = workspace.CurrentCamera
  3305.   return {
  3306.     CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3307.     Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3308.   }
  3309. end
  3310.  
  3311. function FaceMouse2()
  3312.   Cam = workspace.CurrentCamera
  3313.   return {
  3314.     CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3315.     Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3316.   }
  3317. end
  3318.  
  3319. local ModeOfGlitch = 1
  3320. -- Functions are ready.
  3321. local storehumanoidWS = 16
  3322.  
  3323. function CorruptBlink()
  3324. for i = 0, 14 do
  3325. 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)
  3326. end
  3327. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3328. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3329. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3330. CameraEnshaking(2,10)
  3331. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3332. if v:FindFirstChild('Head') then
  3333. dmg(v)
  3334. end
  3335. end
  3336. for i = 0, 14 do
  3337. 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)
  3338. end
  3339. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3340. end
  3341. function PureBomb()
  3342. attack = true
  3343. hum.WalkSpeed = 0
  3344. local orb = Instance.new("Part", char)
  3345.         orb.Anchored = true
  3346.         orb.BrickColor = BrickColor.new("Toothpaste")
  3347.         orb.CanCollide = false
  3348.         orb.FormFactor = 3
  3349.         orb.Name = "Ring"
  3350.         orb.Material = "Neon"
  3351.         orb.Size = Vector3.new(1, 1, 1)
  3352.         orb.Transparency = 0
  3353.         orb.TopSurface = 0
  3354.         orb.BottomSurface = 0
  3355.         local orbm = Instance.new("SpecialMesh", orb)
  3356.         orbm.MeshType = "Sphere"
  3357. orbm.Name = "SizeMesh"
  3358. orbm.Scale = vt(0,0,0)
  3359. local scaled = 0.1
  3360. local posid = 0
  3361. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3362. for i = 0, 5, 0.1 do
  3363. swait()
  3364. scaled = scaled - 0.001
  3365. posid = posid - scaled
  3366. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3367. local scaled = 0.1
  3368. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3369. 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)
  3370. 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)
  3371. 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)
  3372. 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)
  3373. 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)
  3374. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3375. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3376. 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)
  3377. end
  3378. for i = 0, 2, 0.1 do
  3379. swait()
  3380. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3381. 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)
  3382. 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)
  3383. 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)
  3384. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3385. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3386. 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)
  3387. end
  3388. coroutine.resume(coroutine.create(function()
  3389. orb.Anchored = false
  3390. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3391.     local a = Instance.new("Part",workspace)
  3392.     a.Name = "Direction"   
  3393.     a.Anchored = true
  3394.     a.BrickColor = bc("Bright red")
  3395. a.Material = "Neon"
  3396. a.Transparency = 1
  3397.     a.CanCollide = false
  3398.     local ray = Ray.new(
  3399.         orb.CFrame.p,                           -- origin
  3400.         (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3401.     )
  3402.     local ignore = orb
  3403.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3404.     a.BottomSurface = 10
  3405.     a.TopSurface = 10
  3406.     local distance = (orb.CFrame.p - position).magnitude
  3407.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  3408.     a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3409. orb.CFrame = a.CFrame
  3410. a:Destroy()
  3411. local bv = Instance.new("BodyVelocity")
  3412. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3413. bv.velocity = orb.CFrame.lookVector*125
  3414. bv.Parent = orb
  3415. local hitted = false
  3416. game:GetService("Debris"):AddItem(orb, 15)
  3417. wait()
  3418. local hit =orb.Touched:connect(function(hit)
  3419.     if hitted == false then
  3420.     hitted = true
  3421. CameraEnshaking(10,2.5)
  3422. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3423.     MagniDamage(orb, 65, 65,90, 0, "Normal")
  3424. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3425. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3426. for i = 0, 49 do
  3427. 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)
  3428. end
  3429. for i = 0, 9 do
  3430. 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)
  3431. 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)
  3432. end
  3433. orb.Anchored = true
  3434. orb.Transparency = 1
  3435. wait(8)
  3436. orb:Destroy()
  3437. end
  3438. end)
  3439. end))
  3440. for i = 0, 1, 0.1 do
  3441. swait()
  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))),.4)
  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)),.4)
  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(50)),.4)
  3445. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3446. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  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)),.4)
  3448. end
  3449. hum.WalkSpeed = storehumanoidWS
  3450. attack = false
  3451. end
  3452.  
  3453. function BanishingOrb()
  3454. attack = true
  3455. hum.WalkSpeed = 0
  3456. local radm = math.random(1,3)
  3457. if radm == 1 then
  3458. bosschatfunc("Let it's go..",MAINRUINCOLOR.Color,1)
  3459. elseif radm == 2 then
  3460. bosschatfunc("So this is it..",MAINRUINCOLOR.Color,1)
  3461. elseif radm == 3 then
  3462. bosschatfunc("I have enough thing..",MAINRUINCOLOR.Color,1)
  3463. end
  3464. CFuncs["EchoSound"].Create("rbxassetid://1535994940", char, 5, 1,0,10,0.15,0.5,1)
  3465. CFuncs["EchoSound"].Create("rbxassetid://1535994940", root, 60, 1,0,10,0.15,0.5,1)
  3466. local orb = Instance.new("Part", char)
  3467.         orb.Anchored = true
  3468.         orb.BrickColor = BrickColor.new("Lime green")
  3469.         orb.CanCollide = false
  3470.         orb.FormFactor = 3
  3471.         orb.Name = "Ring"
  3472.         orb.Material = "Neon"
  3473.         orb.Size = Vector3.new(1, 1, 1)
  3474.         orb.Transparency = 0
  3475.         orb.TopSurface = 0
  3476.         orb.BottomSurface = 0
  3477.         local orbm = Instance.new("SpecialMesh", orb)
  3478.         orbm.MeshType = "Sphere"
  3479. orbm.Name = "SizeMesh"
  3480. orbm.Scale = vt(0,0,0)
  3481. local scaled = 0.1
  3482. local posid = 0
  3483. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  3484. for i = 0, 5, 0.1 do
  3485. swait()
  3486. scaled = scaled - 0.001
  3487. posid = posid - scaled
  3488. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3489. local scaled = 0.1
  3490. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3491. 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)
  3492. 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)
  3493. 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)
  3494. 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)
  3495. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3496. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3497. 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)
  3498. end
  3499. for i = 0, 2, 0.1 do
  3500. swait()
  3501. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3502. 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)
  3503. 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)
  3504. 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)
  3505. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3506. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3507. 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)
  3508. end
  3509. coroutine.resume(coroutine.create(function()
  3510. orb.Anchored = false
  3511. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  3512.     local a = Instance.new("Part",workspace)
  3513.     a.Name = "Direction"   
  3514.     a.Anchored = true
  3515.     a.BrickColor = bc("Lime green")
  3516. a.Material = "Neon"
  3517. a.Transparency = 1
  3518.     a.CanCollide = false
  3519.     local ray = Ray.new(
  3520.         orb.CFrame.p,                           -- origin
  3521.         (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3522.     )
  3523.     local ignore = orb
  3524.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3525.     a.BottomSurface = 10
  3526.     a.TopSurface = 10
  3527.     local distance = (orb.CFrame.p - position).magnitude
  3528.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  3529.     a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3530. orb.CFrame = a.CFrame
  3531. a:Destroy()
  3532. local bv = Instance.new("BodyVelocity")
  3533. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3534. bv.velocity = orb.CFrame.lookVector*0
  3535. bv.Parent = orb
  3536. local hitted = false
  3537. local rate = 0
  3538. coroutine.resume(coroutine.create(function()
  3539. for i = 0, 24 do
  3540. wait(0.1)
  3541. rate = rate + 0.25
  3542. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  3543. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  3544. if v:FindFirstChild('Head') then
  3545. dmg(v)
  3546. end
  3547. end
  3548. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  3549. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,bc"Lime green")
  3550. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3551. end
  3552. orb.Anchored = true
  3553. orb.Transparency = 1
  3554. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  3555. if v:FindFirstChild('Head') then
  3556. dmg(v)
  3557. end
  3558. end
  3559. local eff = Instance.new("ParticleEmitter",orb)
  3560. eff.Texture = "rbxassetid://296874871"
  3561. eff.LightEmission = 0.95
  3562. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3563. eff.Rate = 1000000000
  3564. eff.Lifetime = NumberRange.new(3)
  3565. 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)})
  3566. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3567. eff.Speed = NumberRange.new(30)
  3568. eff.Acceleration = vt(0,-15,0)
  3569. eff.Rotation = NumberRange.new(-500,500)
  3570. eff.VelocitySpread = 100000
  3571. eff.RotSpeed = NumberRange.new(-500,500)
  3572. coroutine.resume(coroutine.create(function()
  3573.     wait(0.6)
  3574.     eff.Enabled = false
  3575. end))
  3576. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  3577. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  3578. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,bc"Lime green")
  3579. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3580. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  3581. game:GetService("Debris"):AddItem(orb, 15)
  3582. end))
  3583. end))
  3584. for i = 0, 1, 0.1 do
  3585. swait()
  3586. 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)
  3587. 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)
  3588. 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)
  3589. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3590. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3591. 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)
  3592. end
  3593. hum.WalkSpeed = storehumanoidWS
  3594. attack = false
  3595. end
  3596.  
  3597.  
  3598. function ChaosGroundStrike()
  3599. attack = true
  3600. for i = 0, 2, 0.1 do
  3601. swait()
  3602. 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)
  3603. 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)
  3604. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3605. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3606. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3607. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3608. end
  3609. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3610. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3611. CameraEnshaking(4,12)
  3612. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3613. if v:FindFirstChild('Head') then
  3614. dmg(v)
  3615. end
  3616. end
  3617. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3618. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3619. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3620. for i = 0, 2, 0.1 do
  3621. swait()
  3622. 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)
  3623. 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)
  3624. 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)
  3625. 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)
  3626. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3627. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3628. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3629. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3630. end
  3631. attack = false
  3632. end
  3633.  
  3634.  
  3635.  
  3636. function Starfall()
  3637. attack = true
  3638. hum.WalkSpeed = 0
  3639. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3640. for i = 0, 5, 0.1 do
  3641. swait()
  3642. 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)
  3643. 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)
  3644. 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)
  3645. 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)
  3646. 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)
  3647. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3648. 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)
  3649. 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)
  3650. end
  3651. local Overed = false
  3652. CameraEnshaking(2,20)
  3653. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3654. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3655. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3656. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3657. local orb = Instance.new("Part", char)
  3658.         orb.Anchored = true
  3659.         orb.BrickColor = BrickColor.new("Toothpaste")
  3660.         orb.CanCollide = false
  3661.         orb.FormFactor = 3
  3662.         orb.Name = "Remenant"
  3663.         orb.Material = "Neon"
  3664. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3665.         orb.Size = Vector3.new(1, 1, 1)
  3666.         orb.Transparency = 1
  3667.         orb.TopSurface = 0
  3668.         orb.BottomSurface = 0
  3669. hum.WalkSpeed = storehumanoidWS
  3670. coroutine.resume(coroutine.create(function()
  3671. for i = 0, 9 do
  3672. swait(10)
  3673.                  local lb = Instance.new("Part")
  3674.     lb.Color = MAINRUINCOLOR.Color
  3675.      lb.CanCollide = false
  3676. lb.Material = "Neon"
  3677.      lb.Anchored = true
  3678. lb.TopSurface = 0
  3679.         lb.BottomSurface = 0
  3680.      lb.Transparency = 0
  3681.      lb.Size = vt(1,1,1)
  3682.      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)))
  3683. lb.Anchored = false
  3684.   lb.Parent = char
  3685. local thingery = Instance.new("SpecialMesh",lb)
  3686.      thingery.MeshType = "Sphere"
  3687. thingery.Scale = vt(20,20,20)
  3688. game:GetService("Debris"):AddItem(lb, 10)
  3689.   local bv = Instance.new("BodyVelocity")
  3690.   bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3691.   bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3692.   bv.Parent = lb
  3693. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3694. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3695. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3696. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3697. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3698. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3699. local hitted = false
  3700. coroutine.resume(coroutine.create(function()
  3701. while true do
  3702. swait(1)
  3703. if lb.Parent ~= nil and hitted == false then
  3704. 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)
  3705. elseif lb.Parent == nil then
  3706. break
  3707. end
  3708. end
  3709. end))
  3710.  
  3711. game:GetService("Debris"):AddItem(a, 0.1)
  3712.  
  3713. coroutine.resume(coroutine.create(function()
  3714. swait(1)
  3715. lb.Touched:connect(function(hit)
  3716. if hitted == false then
  3717. hitted = true
  3718. lb.Transparency = 1
  3719. lb.Anchored = true
  3720. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3721. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3722. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3723. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3724. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3725. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3726. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3727. CameraEnshaking(1,5)
  3728. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3729. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3730. for i = 0, 9 do
  3731. 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)
  3732. end
  3733. for i = 0, 49 do
  3734. swait()
  3735. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3736. 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)
  3737. end
  3738. end
  3739. end)
  3740. end))
  3741. end
  3742. Overed = true
  3743. orb:Destroy()
  3744. end))
  3745.  
  3746. attack = false
  3747. end
  3748.  
  3749. function StarfallEX()
  3750. attack = true
  3751. hum.WalkSpeed = 0
  3752. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  3753. for i = 0, 10, 0.1 do
  3754. swait()
  3755. 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)
  3756. 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)
  3757. 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)
  3758. 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)
  3759. 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)
  3760. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3761. 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)
  3762. 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)
  3763. end
  3764. local Overed = false
  3765. CameraEnshaking(2,20)
  3766. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3767. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3768. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3769. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  3770. local orb = Instance.new("Part", char)
  3771.         orb.Anchored = true
  3772.         orb.BrickColor = BrickColor.new("Toothpaste")
  3773.         orb.CanCollide = false
  3774.         orb.FormFactor = 3
  3775.         orb.Name = "Remenant"
  3776.         orb.Material = "Neon"
  3777. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  3778.         orb.Size = Vector3.new(1, 1, 1)
  3779.         orb.Transparency = 1
  3780.         orb.TopSurface = 0
  3781.         orb.BottomSurface = 0
  3782. hum.WalkSpeed = storehumanoidWS
  3783. coroutine.resume(coroutine.create(function()
  3784. for i = 0, 4 do
  3785. swait(15)
  3786.                  local lb = Instance.new("Part")
  3787.     lb.Color = MAINRUINCOLOR.Color
  3788.      lb.CanCollide = false
  3789. lb.Material = "Neon"
  3790.      lb.Anchored = true
  3791. lb.TopSurface = 0
  3792.         lb.BottomSurface = 0
  3793.      lb.Transparency = 0
  3794.      lb.Size = vt(1,1,1)
  3795.      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)))
  3796. lb.Anchored = false
  3797.   lb.Parent = char
  3798. local thingery = Instance.new("SpecialMesh",lb)
  3799.      thingery.MeshType = "Sphere"
  3800. thingery.Scale = vt(50,50,50)
  3801. game:GetService("Debris"):AddItem(lb, 10)
  3802.   local bv = Instance.new("BodyVelocity")
  3803.   bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3804.   bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  3805.   bv.Parent = lb
  3806. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3807. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3808. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  3809. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  3810. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  3811. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  3812. local hitted = false
  3813. coroutine.resume(coroutine.create(function()
  3814. while true do
  3815. swait(1)
  3816. if lb.Parent ~= nil and hitted == false then
  3817. 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)
  3818. elseif lb.Parent == nil then
  3819. break
  3820. end
  3821. end
  3822. end))
  3823.  
  3824. game:GetService("Debris"):AddItem(a, 0.1)
  3825.  
  3826. coroutine.resume(coroutine.create(function()
  3827. swait(1)
  3828. lb.Touched:connect(function(hit)
  3829. if hitted == false then
  3830. hitted = true
  3831. lb.Transparency = 1
  3832. lb.Anchored = true
  3833. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  3834. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  3835. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  3836. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  3837. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  3838. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  3839. MagniDamage(lb, 50, 60,99, 0, "Normal")
  3840. CameraEnshaking(1,5)
  3841. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  3842. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  3843. for i = 0, 9 do
  3844. 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)
  3845. end
  3846. for i = 0, 99 do
  3847. swait()
  3848. MagniDamage(lb, 30, 6,18, 0, "Normal")
  3849. 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)
  3850. end
  3851. end
  3852. end)
  3853. end))
  3854. end
  3855. Overed = true
  3856. orb:Destroy()
  3857. end))
  3858.  
  3859. attack = false
  3860. end
  3861.  
  3862. function DivineBlast()
  3863. attack = true
  3864. bosschatfunc("Justice Beam!!",MAINRUINCOLOR.Color,0.7)
  3865. hum.WalkSpeed = 0
  3866. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  3867. elocacenter.Anchored = true
  3868. elocacenter.CFrame = sorb.CFrame
  3869. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3870. eloca1.Anchored = true
  3871. eloca1.CFrame = elocacenter.CFrame
  3872. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3873. eloca2.Anchored = true
  3874. eloca2.CFrame = elocacenter.CFrame
  3875. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3876. eloca3.Anchored = true
  3877. eloca3.CFrame = elocacenter.CFrame
  3878. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3879. eloca4.Anchored = true
  3880. eloca4.CFrame = elocacenter.CFrame
  3881. local lookavec = 0
  3882. local speeds = 0
  3883. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  3884. for i = 0, 3, 0.1 do
  3885. swait()
  3886. ---
  3887. lookavec = lookavec + 0.1
  3888. speeds = speeds + 10
  3889. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3890. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3891. 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)
  3892.  
  3893. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3894. 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)
  3895.  
  3896. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3897. 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)
  3898.  
  3899. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3900. 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)
  3901. ---
  3902. root.CFrame = FaceMouse()[1]
  3903. 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)
  3904. 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)
  3905. 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)
  3906. 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)
  3907. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  3908. 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)
  3909. end
  3910. for i = 0, 3, 0.1 do
  3911. swait()
  3912. ---
  3913. speeds = speeds + 10
  3914. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3915. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3916. 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)
  3917.  
  3918. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3919. 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)
  3920.  
  3921. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3922. 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)
  3923.  
  3924. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3925. 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)
  3926. ---
  3927. root.CFrame = FaceMouse()[1]
  3928. 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)
  3929. 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)
  3930. 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)
  3931. 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)
  3932. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  3933. 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)
  3934. end
  3935. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  3936. CFuncs["Sound"].Create("rbxassetid://1436239652", char, 40,1)
  3937. for i = 0, 3, 0.1 do
  3938. swait()
  3939. ---
  3940. speeds = speeds + 10
  3941. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3942. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3943. 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)
  3944.  
  3945. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3946. 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)
  3947.  
  3948. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3949. 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)
  3950.  
  3951. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3952. 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)
  3953. ---
  3954. root.CFrame = FaceMouse()[1]
  3955. 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)
  3956. 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)
  3957. 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)
  3958. 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)
  3959. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  3960. 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)
  3961. end
  3962. coroutine.resume(coroutine.create(function()
  3963. local a = Instance.new("Part",Character)
  3964.     a.Name = "Direction"   
  3965.     a.Anchored = true
  3966.     a.BrickColor = bc("White")
  3967. a.Material = "Neon"
  3968. a.Transparency = 0
  3969. a.Shape = "Cylinder"
  3970.     a.CanCollide = false
  3971. local a2 = Instance.new("Part",Character)
  3972.     a2.Name = "Direction"  
  3973.     a2.Anchored = true
  3974.     a2.BrickColor = bc("Bright yellow")
  3975. a2.Material = "Neon"
  3976. a2.Transparency = 0
  3977. a2.Shape = "Cylinder"
  3978.     a2.CanCollide = false
  3979. local b = Instance.new("Part",Character)
  3980.     b.Name = "HitDirect"   
  3981.     b.Anchored = true
  3982.     b.BrickColor = bc("Cool yellow")
  3983. b.Material = "Neon"
  3984. b.Transparency = 1
  3985.     b.CanCollide = false
  3986.     local ray = Ray.new(
  3987.         elocacenter.CFrame.p,                           -- origin
  3988.         (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  3989.     )
  3990.     local ignore = Character
  3991.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3992.     a.BottomSurface = 10
  3993.     a.TopSurface = 10
  3994.     a2.BottomSurface = 10
  3995.     a2.TopSurface = 10
  3996.     local distance = (elocacenter.CFrame.p - position).magnitude
  3997.     a.Size = Vector3.new(distance, 1, 1)
  3998.     a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  3999.     a2.Size = Vector3.new(distance, 1, 1)
  4000.     a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4001. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4002. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4003. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4004. game:GetService("Debris"):AddItem(a, 10)
  4005. game:GetService("Debris"):AddItem(a2, 10)
  4006. game:GetService("Debris"):AddItem(b, 10)
  4007. local eff = Instance.new("ParticleEmitter",b)
  4008. eff.Texture = "rbxassetid://2273224484"
  4009. eff.LightEmission = 1
  4010. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4011. eff.Rate = 500000
  4012. eff.Lifetime = NumberRange.new(0.5,2)
  4013. 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)})
  4014. 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)})
  4015. eff.Speed = NumberRange.new(20,250)
  4016. eff.Drag = 5
  4017. eff.Rotation = NumberRange.new(-500,500)
  4018. eff.VelocitySpread = 9000
  4019. eff.RotSpeed = NumberRange.new(-50,50)
  4020. coroutine.resume(coroutine.create(function()
  4021. wait(0.25)
  4022. eff.Enabled = false
  4023. end))
  4024. local msh = Instance.new("SpecialMesh",a)
  4025. msh.MeshType = "Cylinder"
  4026. msh.Scale = vt(1,2,2)
  4027. local msh2 = Instance.new("SpecialMesh",a2)
  4028. msh2.MeshType = "Cylinder"
  4029. msh2.Scale = vt(1,2.5,2.5)
  4030. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  4031. coroutine.resume(coroutine.create(function()
  4032. for i = 0,10,0.1 do
  4033. swait()
  4034. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  4035. a.Transparency = a.Transparency + 0.025
  4036. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  4037. a2.Transparency = a2.Transparency + 0.05
  4038. end
  4039. a:Destroy()
  4040. a2:Destroy()
  4041. end))
  4042. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  4043. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  4044. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  4045. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  4046. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  4047. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  4048. MagniDamage(b, 25, 40,65, 0, "Normal")
  4049. for i = 0, 49 do
  4050. 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)
  4051. 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)
  4052. end
  4053. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  4054. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  4055. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4056. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4057. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4058. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4059. end))
  4060. game:GetService("Debris"):AddItem(elocacenter, 5)
  4061. hum.WalkSpeed = storehumanoidWS
  4062. attack = false
  4063. end
  4064.  
  4065. function StarDivision()
  4066. attack = true
  4067. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4068. for i = 0, 2, 0.1 do
  4069. swait()
  4070. 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)
  4071. 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)
  4072. 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)
  4073. 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)
  4074. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4075. 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)
  4076. end
  4077. local orb = Instance.new("Part", char)
  4078.         orb.BrickColor = MAINRUINCOLOR
  4079.         orb.CanCollide = false
  4080.         orb.FormFactor = 3
  4081.         orb.Name = "Ring"
  4082.         orb.Material = "Neon"
  4083.         orb.Size = Vector3.new(1, 1, 1)
  4084.         orb.Transparency = 0
  4085.         orb.TopSurface = 0
  4086.         orb.BottomSurface = 0
  4087.         local orbm = Instance.new("SpecialMesh", orb)
  4088.         orbm.MeshType = "Sphere"
  4089. orbm.Name = "SizeMesh"
  4090. orbm.Scale = vt(2,2,2)
  4091. local a = Instance.new("Part",workspace)
  4092.     a.Name = "Direction"   
  4093.     a.Anchored = true
  4094.     a.BrickColor = bc("Bright red")
  4095. a.Material = "Neon"
  4096. a.Transparency = 1
  4097.     a.CanCollide = false
  4098.     local ray = Ray.new(
  4099.         sorb.CFrame.p,                           -- origin
  4100.         (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4101.     )
  4102.     local ignore = sorb
  4103.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4104.     a.BottomSurface = 10
  4105.     a.TopSurface = 10
  4106.     local distance = (sorb.CFrame.p - position).magnitude
  4107.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  4108.     a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4109. orb.CFrame = a.CFrame
  4110. a:Destroy()
  4111. local bv = Instance.new("BodyVelocity")
  4112. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4113. bv.velocity = orb.CFrame.lookVector*100
  4114. bv.Parent = orb
  4115. local hitted = false
  4116. game:GetService("Debris"):AddItem(orb, 10)
  4117. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4118. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4119. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4120. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4121. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4122. coroutine.resume(coroutine.create(function()
  4123. while true do
  4124. swait(1)
  4125. if orb.Parent ~= nil and hitted == false then
  4126. 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)
  4127. elseif orb.Parent == nil then
  4128. break
  4129. end
  4130. end
  4131. end))
  4132. coroutine.resume(coroutine.create(function()
  4133. swait(1)
  4134. orb.Touched:connect(function(hit)
  4135. if hitted == false then
  4136. hitted = true
  4137. game:GetService("Debris"):AddItem(orb, 5)
  4138. orb.Transparency = 1
  4139. orb.Anchored = true
  4140. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4141. elocacenter.Anchored = true
  4142. elocacenter.CFrame = orb.CFrame
  4143. elocacenter.Orientation = vt(0,0,0)
  4144. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4145. eloca1.Anchored = true
  4146. eloca1.CFrame = elocacenter.CFrame
  4147. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4148. eloca2.Anchored = true
  4149. eloca2.CFrame = elocacenter.CFrame
  4150. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4151. eloca3.Anchored = true
  4152. eloca3.CFrame = elocacenter.CFrame
  4153. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4154. eloca4.Anchored = true
  4155. eloca4.CFrame = elocacenter.CFrame
  4156. local lookavec = 0
  4157. local speeds = 0
  4158. CameraEnshaking(1,1)
  4159. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4160. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4161. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4162. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4163. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4164. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4165. for i = 0, 99 do
  4166. swait()
  4167. lookavec = lookavec + 1
  4168. speeds = speeds + 0.1
  4169. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4170. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4171. 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)
  4172.  
  4173. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4174. 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)
  4175.  
  4176. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4177. 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)
  4178.  
  4179. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4180. 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)
  4181. end
  4182.  
  4183. for i = 0, 149 do
  4184. swait()
  4185. speeds = speeds + 0.1
  4186. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4187. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4188. 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)
  4189.  
  4190. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4191. 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)
  4192.  
  4193. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4194. 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)
  4195.  
  4196. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4197. 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)
  4198. end
  4199. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4200. if v:FindFirstChild('Head') then
  4201. dmg(v)
  4202. end
  4203. end
  4204. CameraEnshaking(7,30)
  4205. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4206. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4207. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4208. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4209. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4210. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4211. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4212. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4213. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4214. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4215. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4216. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4217. for i = 0, 24 do
  4218. 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)
  4219. 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)
  4220. 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)
  4221. 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)
  4222. end
  4223. coroutine.resume(coroutine.create(function()
  4224. for i = 0, 499 do
  4225. swait(1)
  4226. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4227. 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)
  4228. end
  4229. elocacenter:Destroy()
  4230. eloca1:Destroy()
  4231. eloca2:Destroy()
  4232. eloca3:Destroy()
  4233. eloca4:Destroy()
  4234. end))
  4235. end
  4236. end)
  4237. end))
  4238. attack = false
  4239. end
  4240.  
  4241.  
  4242. function THE_TRUE_POWER_OF_VIOLENCE()
  4243. attack = true
  4244. hum.WalkSpeed = 0
  4245. bosschatfunc("ALL YOUR DESTINY...",MAINRUINCOLOR.Color,4)
  4246. for i = 0, 10, 0.1 do
  4247. swait()
  4248. 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)
  4249. 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)
  4250. 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)
  4251. 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)
  4252. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  4253. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4254. 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)
  4255. end
  4256. local orb = Instance.new("Part", char)
  4257.         orb.BrickColor = MAINRUINCOLOR
  4258.         orb.CanCollide = false
  4259.         orb.FormFactor = 3
  4260.         orb.Name = "Ring"
  4261.         orb.Material = "Neon"
  4262.         orb.Size = Vector3.new(1, 1, 1)
  4263.         orb.Transparency = 0
  4264.         orb.TopSurface = 0
  4265.         orb.BottomSurface = 0
  4266. orb.CFrame = sorb.CFrame
  4267.         local orbm = Instance.new("SpecialMesh", orb)
  4268.         orbm.MeshType = "Sphere"
  4269. orbm.Name = "SizeMesh"
  4270. orbm.Scale = vt(0,0,0)
  4271.         local sbs = Instance.new("BodyPosition", orb)
  4272.         sbs.P = 3000
  4273.         sbs.D = 1000
  4274.         sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4275.         sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  4276. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  4277. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4278. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4279. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4280. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4281. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4282. for i = 0, 10, 0.1 do
  4283. swait()
  4284. 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)
  4285. 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)
  4286. 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)
  4287. 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)
  4288. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4289. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4290. 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)
  4291. end
  4292. orb.Anchored = true
  4293. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4294. elocacenter.Anchored = true
  4295. elocacenter.CFrame = orb.CFrame
  4296. elocacenter.Orientation = vt(0,0,0)
  4297. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4298. eloca1.Anchored = true
  4299. eloca1.CFrame = elocacenter.CFrame
  4300. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4301. eloca2.Anchored = true
  4302. eloca2.CFrame = elocacenter.CFrame
  4303. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4304. eloca3.Anchored = true
  4305. eloca3.CFrame = elocacenter.CFrame
  4306. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4307. eloca4.Anchored = true
  4308. eloca4.CFrame = elocacenter.CFrame
  4309. local lookavec = 0
  4310. local speeds = 0
  4311. CameraEnshaking(1,1)
  4312. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  4313. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  4314. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  4315. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  4316. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4317. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4318. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4319. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4320. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4321. for i = 0, 99 do
  4322. swait()
  4323. lookavec = lookavec + 2.5
  4324. speeds = speeds + 0.25
  4325. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4326. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4327. 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)
  4328.  
  4329. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4330. 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)
  4331.  
  4332. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4333. 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)
  4334.  
  4335. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4336. 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)
  4337. end
  4338.  
  4339. for i = 0, 149 do
  4340. swait()
  4341. speeds = speeds + 0.25
  4342. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4343. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4344. 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)
  4345.  
  4346. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4347. 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)
  4348.  
  4349. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4350. 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)
  4351.  
  4352. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4353. 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)
  4354. end
  4355. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  4356. for i = 0, 99 do
  4357. swait()
  4358. lookavec = lookavec - 2.5
  4359. speeds = speeds + 0.25
  4360. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4361. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4362. 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)
  4363.  
  4364. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4365. 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)
  4366.  
  4367. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4368. 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)
  4369.  
  4370. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4371. 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)
  4372. end
  4373. local scaled = 0.1*75
  4374. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  4375. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  4376. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  4377. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  4378. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  4379. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4380. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4381. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4382. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4383. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4384. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4385.  
  4386. for i = 0, 10, 0.1 do
  4387. swait()
  4388. scaled = scaled - 0.001*75
  4389. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4390. 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)
  4391. 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)
  4392. 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)
  4393. 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)
  4394. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4395. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4396. 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)
  4397. end
  4398. bosschatfunc("WILL BE MINE!!!!",MAINRUINCOLOR.Color,2)
  4399. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 10, 1,0,10,0.15,0.5,1)
  4400. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 60, 1,0,10,0.15,0.5,1)
  4401. for x = 0, 4 do
  4402. for i = 0, 9 do
  4403. 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)
  4404. end
  4405. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  4406. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  4407. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4408. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4409. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4410. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4411. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4412. for i = 0, 5, 0.1 do
  4413. swait()
  4414. 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)
  4415. 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)
  4416. 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)
  4417. 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)
  4418. 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)
  4419. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  4420. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  4421. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  4422. end
  4423. end
  4424. local speedearn = 0
  4425. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  4426. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  4427. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  4428. for i = 0, 30, 0.1 do
  4429. swait()
  4430. scaled = scaled - 0.001*75/10
  4431. speedearn = speedearn + 0.5
  4432. for i = 0, 4 do
  4433. 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)
  4434. end
  4435. 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)
  4436. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4437. 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)
  4438. 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)
  4439. 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)
  4440. 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)
  4441. 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)
  4442. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  4443. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  4444. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  4445. end
  4446. orb.Transparency = 1
  4447. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  4448. if v:FindFirstChild('Head') then
  4449. dmg(v)
  4450. end
  4451. end
  4452. CameraEnshaking(7,30)
  4453. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  4454. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  4455. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  4456. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  4457. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  4458. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4459. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  4460. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4461. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  4462. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  4463. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  4464. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  4465. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  4466. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  4467. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4468. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4469. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4470. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4471. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4472. for i = 0, 99 do
  4473. 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)
  4474. 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)
  4475. end
  4476. for i = 0, 24 do
  4477. 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)
  4478. 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)
  4479. 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)
  4480. 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)
  4481. 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)
  4482. end
  4483. game:GetService("Debris"):AddItem(orb, 10)
  4484. hum.WalkSpeed = storehumanoidWS
  4485. attack = false
  4486. end
  4487.  
  4488.  
  4489. function ViolentRing()
  4490. attack = true
  4491. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  4492. bosschatfunc("SHOULD I TAKE THAT EASIER?!",MAINRUINCOLOR.Color,0.7)
  4493. CFuncs["EchoSound"].Create("rbxassetid://1535994137", char, 4, 1,0,10,0.15,0.5,1)
  4494. CFuncs["EchoSound"].Create("rbxassetid://1535994137", root, 7, 1,0,10,0.15,0.5,1)
  4495. for i = 0, 2, 0.1 do
  4496. swait()
  4497. local snap = math.random(1,10)
  4498. if snap == 1 then
  4499. 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)
  4500. end
  4501. 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)
  4502. 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)
  4503. 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)
  4504. 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)
  4505. 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)
  4506. 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)
  4507. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  4508. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  4509. 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)
  4510. RootPart.CFrame = FaceMouse()[1]
  4511. end
  4512. local orb = Instance.new("Part", char)
  4513.         orb.BrickColor = MAINRUINCOLOR
  4514.         orb.CanCollide = false
  4515.         orb.FormFactor = 3
  4516.         orb.Name = "Ring"
  4517.         orb.Material = "Neon"
  4518.         orb.Size = Vector3.new(1, 1, 1)
  4519.         orb.Transparency = 0
  4520.         orb.TopSurface = 0
  4521.         orb.BottomSurface = 0
  4522.         local orbm = Instance.new("SpecialMesh", orb)
  4523.         orbm.MeshType = "Sphere"
  4524. orbm.Name = "SizeMesh"
  4525. orbm.Scale = vt(2,2,2)
  4526. orb.CFrame = mouse.Hit
  4527. local bv = Instance.new("BodyVelocity")
  4528. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4529. bv.velocity = orb.CFrame.lookVector*100
  4530. bv.Parent = orb
  4531. local hitted = false
  4532. coroutine.resume(coroutine.create(function()
  4533. game:GetService("Debris"):AddItem(orb, 5)
  4534. orb.Transparency = 1
  4535. orb.Anchored = true
  4536. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4537. elocacenter.Anchored = true
  4538. elocacenter.CFrame = orb.CFrame
  4539. elocacenter.Orientation = vt(0,0,0)
  4540. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4541. eloca1.Anchored = true
  4542. eloca1.CFrame = elocacenter.CFrame
  4543. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4544. eloca2.Anchored = true
  4545. eloca2.CFrame = elocacenter.CFrame
  4546. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4547. eloca3.Anchored = true
  4548. eloca3.CFrame = elocacenter.CFrame
  4549. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4550. eloca4.Anchored = true
  4551. eloca4.CFrame = elocacenter.CFrame
  4552. local lookavec = 0
  4553. local speeds = 0
  4554. CameraEnshaking(1,1)
  4555. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4556. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4557. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4558. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4559. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4560. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4561. for i = 0, 24 do
  4562. swait()
  4563. lookavec = lookavec + 3.5
  4564. speeds = speeds + 1
  4565. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4566. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4567. 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)
  4568.  
  4569. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4570. 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)
  4571.  
  4572. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4573. 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)
  4574.  
  4575. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4576. 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)
  4577. end
  4578.  
  4579. local risen = 0
  4580. for i = 0, 49 do
  4581. swait()
  4582. risen = risen + 0.05
  4583. speeds = speeds + 0.1
  4584. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4585. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4586. 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)
  4587.  
  4588. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4589. 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)
  4590.  
  4591. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4592. 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)
  4593.  
  4594. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4595. 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)
  4596. end
  4597. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  4598. if v:FindFirstChild('Head') then
  4599. dmg(v)
  4600. end
  4601. end
  4602. CameraEnshaking(4,10)
  4603. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  4604. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  4605. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  4606. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  4607. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  4608. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  4609. local eff = Instance.new("ParticleEmitter",elocacenter)
  4610. eff.Texture = "rbxassetid://2273224484"
  4611. eff.LightEmission = 1
  4612. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4613. eff.Rate = 1000000
  4614. eff.Lifetime = NumberRange.new(0.5,2)
  4615. 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)})
  4616. 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)})
  4617. eff.Speed = NumberRange.new(20,250)
  4618. eff.Drag = 5
  4619. eff.Rotation = NumberRange.new(-500,500)
  4620. eff.VelocitySpread = 5000000
  4621. eff.RotSpeed = NumberRange.new(-50,50)
  4622. coroutine.resume(coroutine.create(function()
  4623. wait(1)
  4624. eff.Enabled = false
  4625. end))
  4626. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  4627. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  4628. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4629. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4630. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4631. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4632. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4633. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  4634. for i = 0, 24 do
  4635. 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)
  4636. 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)
  4637. 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)
  4638. 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)
  4639. end
  4640. coroutine.resume(coroutine.create(function()
  4641. wait(10)
  4642. elocacenter:Destroy()
  4643. eloca1:Destroy()
  4644. eloca2:Destroy()
  4645. eloca3:Destroy()
  4646. eloca4:Destroy()
  4647. end))
  4648. end))
  4649. attack = false
  4650. end
  4651.  
  4652. function UniversalCollapse()
  4653. attack = true
  4654. local speedearn = 0
  4655. hum.WalkSpeed = 0
  4656.         local sbs = Instance.new("BodyPosition", root)
  4657.         sbs.P = 3000
  4658.         sbs.D = 1000
  4659.         sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4660.         sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  4661. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4662. for i = 0, 85, 0.1 do
  4663. swait()
  4664. speedearn = speedearn + 0.1
  4665. 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)
  4666. 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)
  4667. 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)
  4668. 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)
  4669. 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)
  4670. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4671. 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)
  4672. 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)
  4673. 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)
  4674. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4675. 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)
  4676. 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)
  4677. end
  4678. bosschatfunc("Universary..",MAINRUINCOLOR.Color,1)
  4679. CFuncs["EchoSound"].Create("rbxassetid://1448032598", char, 5, 1,0,10,0.15,0.5,1)
  4680. CFuncs["EchoSound"].Create("rbxassetid://1448032598", root, 20, 1,0,10,0.15,0.5,1)
  4681. for i = 0, 25, 0.1 do
  4682. swait()
  4683. speedearn = speedearn + 0.1
  4684. 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)
  4685. 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)
  4686. 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)
  4687. 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)
  4688. 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)
  4689. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4690. 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)
  4691. 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)
  4692. 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)
  4693. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4694. 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)
  4695. 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)
  4696. end
  4697. bosschatfunc("COLLAPSE!!!",MAINRUINCOLOR.Color,1)
  4698. CFuncs["EchoSound"].Create("rbxassetid://1436241883", char, 5, 1,0,10,0.15,0.5,1)
  4699. CFuncs["EchoSound"].Create("rbxassetid://1436241883", root, 20, 1,0,10,0.15,0.5,1)
  4700. CameraEnshaking(5,50)
  4701. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4702. for i = 0, 2 do
  4703. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4704. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4705. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  4706. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  4707. end
  4708. for i = 0, 49 do
  4709. 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)
  4710. 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)
  4711. 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)
  4712. 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)
  4713. end
  4714. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4715. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4716. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4717. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4718. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4719. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4720. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4721. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4722. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4723. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4724. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4725. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4726. for i = 0, 99 do
  4727. 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)
  4728. 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)
  4729. end
  4730. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  4731. if v:FindFirstChild('Head') then
  4732. dmg(v)
  4733. end
  4734. end
  4735. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  4736. sbs:Destroy()
  4737. hum.WalkSpeed = storehumanoidWS
  4738. attack = false
  4739. end
  4740.  
  4741.  
  4742. function ChaosEND()
  4743. attack = true
  4744. local speedearn = 0
  4745. bosschatfunc("THIS IS..",MAINRUINCOLOR.Color,0.8)
  4746. CFuncs["EchoSound"].Create("rbxassetid://1548599511", char, 4.5, 1,0,10,0.15,0.5,1)
  4747. CFuncs["EchoSound"].Create("rbxassetid://1548599511", root, 30, 1,0,10,0.15,0.5,1)
  4748. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4749. for i = 0, 15, 0.1 do
  4750. swait()
  4751. speedearn = speedearn + 0.25
  4752. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4753. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4754. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4755. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),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))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4757. 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)
  4758. 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)
  4759. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4760. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4761. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4762. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4763. end
  4764. CFuncs["Sound"].Create("rbxassetid://438666141", char, 3,1)
  4765. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4766. bosschatfunc("THE END!!!",MAINRUINCOLOR.Color,2)
  4767. CFuncs["EchoSound"].Create("rbxassetid://1548599962", char, 8, 1,0,10,0.15,0.5,1)
  4768. CFuncs["EchoSound"].Create("rbxassetid://1548599962", root, 40, 1,0,10,0.15,0.5,1)
  4769. CameraEnshaking(5,25)
  4770. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4771. if v:FindFirstChild('Head') then
  4772. dmg(v)
  4773. end
  4774. end
  4775. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4776. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4777. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4778. for i = 0, 3, 0.1 do
  4779. swait()
  4780. 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)
  4781. 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)
  4782. 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)
  4783. 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)
  4784. 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)
  4785. 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)
  4786. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4787. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4788. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4789. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4790. end
  4791. attack = false
  4792. end
  4793.  
  4794. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4795. local orb = Instance.new("Part", char)
  4796.         orb.Anchored = true
  4797.         orb.BrickColor = color
  4798.         orb.CanCollide = false
  4799.         orb.FormFactor = 3
  4800.         orb.Name = "Ring"
  4801.         orb.Material = "Neon"
  4802.         orb.Size = Vector3.new(1, 1, 1)
  4803.         orb.Transparency = 0
  4804.         orb.TopSurface = 0
  4805.         orb.BottomSurface = 0
  4806.         local orbm = Instance.new("SpecialMesh", orb)
  4807.         orbm.MeshType = "Sphere"
  4808. orb.CFrame = positted
  4809. orbm.Name = "SizeMesh"
  4810. orbm.Scale = vt(1,1,1)
  4811. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4812. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4813. --[[for i = 0, 2 do
  4814. 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)
  4815. end]]--
  4816. coroutine.resume(coroutine.create(function()
  4817. wait(timer)
  4818. CameraEnshaking(3,ShakePower)
  4819. orb.Transparency = 1
  4820. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4821. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4822. --[[for i = 0, 4 do
  4823. 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)
  4824. end]]--
  4825. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4826. wait(3)
  4827. orb:Destroy()
  4828. end))
  4829. end
  4830.  
  4831. function orb_spawn(positted,timer)
  4832. local randomcol = math.random(1,2)
  4833. local orb = Instance.new("Part", char)
  4834.         orb.Anchored = true
  4835. if randomcol == 1 then
  4836.         orb.BrickColor = BrickColor.new("White")
  4837. elseif randomcol == 2 then
  4838. orb.BrickColor = BrickColor.new("Really black")
  4839. end
  4840.         orb.CanCollide = false
  4841.         orb.FormFactor = 3
  4842.         orb.Name = "Ring"
  4843.         orb.Material = "Neon"
  4844.         orb.Size = Vector3.new(1, 1, 1)
  4845.         orb.Transparency = 0
  4846.         orb.TopSurface = 0
  4847.         orb.BottomSurface = 0
  4848.         local orbm = Instance.new("SpecialMesh", orb)
  4849.         orbm.MeshType = "Sphere"
  4850. orb.CFrame = positted
  4851. orbm.Name = "SizeMesh"
  4852. orbm.Scale = vt(1,1,1)
  4853. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 0.15, 1)
  4854. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4855. for i = 0, 2 do
  4856. 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)
  4857. end
  4858. coroutine.resume(coroutine.create(function()
  4859. wait(timer)
  4860. CameraEnshaking(3,2)
  4861. orb.Transparency = 1
  4862. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4863. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4864. for i = 0, 4 do
  4865. 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)
  4866. end
  4867. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 0.15, 0.7)
  4868. wait(3)
  4869. orb:Destroy()
  4870. end))
  4871. end
  4872.  
  4873. function scattercorrupt()
  4874. attack = true
  4875. hum.WalkSpeed = 0
  4876. for i = 0, 2, 0.1 do
  4877. swait()
  4878. 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)
  4879. 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)
  4880. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4881. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4882. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.2)
  4883. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.2)
  4884. end
  4885. local rot = 0
  4886. local randomrotations = math.random(1,2)
  4887. local lookv = 2.5
  4888. local power = 7
  4889. local radm = math.random(1,3)
  4890. if radm == 1 then
  4891. bosschatfunc("HOW LONG CAN YOU TAKE THIS?",MAINRUINCOLOR.Color,1)
  4892. elseif radm == 2 then
  4893. bosschatfunc("SWAMP!!",MAINRUINCOLOR.Color,1)
  4894. elseif radm == 3 then
  4895. bosschatfunc("SCATTER!!",MAINRUINCOLOR.Color,1)
  4896. end
  4897. CFuncs["Sound"].Create("rbxassetid://183763506", RightLeg, 2, 1)
  4898. for i = 0, 1, 0.1 do
  4899. swait()
  4900. 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)
  4901. 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)
  4902. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(15),math.rad(0),math.rad(0)),.15)
  4903. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.15)
  4904. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(40)),.15)
  4905. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(-40)),.15)
  4906. end
  4907. CFuncs["EchoSound"].Create("rbxassetid://1535994669", char, 5, 1,0,10,0.15,0.5,1)
  4908. CFuncs["EchoSound"].Create("rbxassetid://1535994669", root, 20, 1,0,10,0.15,0.5,1)
  4909. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4910. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4911. for i = 0, 9 do
  4912. 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)
  4913. end
  4914. local hite = Instance.new("Part", char)
  4915.         hite.Anchored = true
  4916.         hite.CanCollide = false
  4917.         hite.FormFactor = 3
  4918.         hite.Name = "Ring"
  4919.         hite.Material = "Neon"
  4920.         hite.Size = Vector3.new(1, 1, 1)
  4921.         hite.Transparency = 1
  4922.         hite.TopSurface = 0
  4923.         hite.BottomSurface = 0
  4924. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4925. local rem = Instance.new("Part", char)
  4926.         rem.Anchored = true
  4927.         rem.CanCollide = false
  4928.         rem.FormFactor = 3
  4929.         rem.Name = "Ring"
  4930.         rem.Material = "Neon"
  4931.         rem.Size = Vector3.new(1, 1, 1)
  4932.         rem.Transparency = 1
  4933.         rem.TopSurface = 0
  4934.         rem.BottomSurface = 0
  4935. rem.CFrame = hite.CFrame
  4936. local rem2 = rem:Clone()
  4937. rem2.Parent = char
  4938. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4939. local rem3 = rem:Clone()
  4940. rem3.Parent = char
  4941. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4942. local rem4 = rem:Clone()
  4943. rem4.Parent = char
  4944. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4945. hite:Destroy()
  4946. coroutine.resume(coroutine.create(function()
  4947. for i = 0, 24 do
  4948. swait(1)
  4949. if randomrotations == 1 then
  4950. rot = rot + 1
  4951. elseif randomrotations == 2 then
  4952. rot = rot - 1
  4953. end
  4954. power = power + 0.5
  4955. lookv = lookv + 7.5
  4956. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4957. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4958. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4959. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4960. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  4961. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  4962. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  4963. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  4964. end
  4965. end))
  4966. wait(2)
  4967. hum.WalkSpeed = storehumanoidWS
  4968. attack = false
  4969. end
  4970. function yinyangi()
  4971. attack = true
  4972. for i = 0, 2, 0.1 do
  4973. swait()
  4974. 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)
  4975. 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)
  4976. 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)
  4977. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4978. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  4979. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  4980. end
  4981. local bv = Instance.new("BodyVelocity")
  4982. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4983. bv.velocity = root.CFrame.lookVector*175
  4984. bv.Parent = root
  4985. for Rotations = 0, 9 do
  4986. for i = 0, 1, 0.5 do
  4987. swait()
  4988. bv.velocity = root.CFrame.lookVector*175
  4989. 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)
  4990. 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)
  4991. 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)
  4992. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4993. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4994. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4995. end
  4996. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4997. for i = 0, 1, 0.5 do
  4998. swait()
  4999. bv.velocity = root.CFrame.lookVector*175
  5000. 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)
  5001. 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)
  5002. 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)
  5003. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5004. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5005. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5006. end
  5007. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5008. for i = 0, 1, 0.5 do
  5009. swait()
  5010. bv.velocity = root.CFrame.lookVector*175
  5011. 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)
  5012. 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)
  5013. 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)
  5014. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5015. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5016. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5017. end
  5018. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5019. for i = 0, 1, 0.5 do
  5020. swait()
  5021. bv.velocity = root.CFrame.lookVector*175
  5022. 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)
  5023. 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)
  5024. 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)
  5025. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5026. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5027. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5028. end
  5029. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5030. end
  5031. bv:Destroy()
  5032. attack = false
  5033. end
  5034.  
  5035. function createBGCircle(size,parent,color)
  5036. local bgui = Instance.new("BillboardGui",parent)
  5037. bgui.Size = UDim2.new(size, 0, size, 0)
  5038. local imgc = Instance.new("ImageLabel",bgui)
  5039. imgc.BackgroundTransparency = 1
  5040. imgc.ImageTransparency = 0
  5041. imgc.Size = UDim2.new(1,0,1,0)
  5042. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  5043. imgc.ImageColor3 = color
  5044. return bgui,imgc
  5045. end
  5046.  
  5047. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  5048. local bgui,imgc = createBGCircle(size,guipar,color)
  5049. bgui.AlwaysOnTop = true
  5050. imgc.Image = "rbxassetid://" ..img
  5051. local rrot = math.random(1,2)
  5052. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  5053. coroutine.resume(coroutine.create(function()
  5054. for i = 0, 24*delay do
  5055. swait()
  5056. if rotationenabled == true then
  5057. if rrot == 1 then
  5058. imgc.Rotation = imgc.Rotation + rotsp
  5059. elseif rrot == 2 then
  5060. imgc.Rotation = imgc.Rotation - rotsp
  5061. end
  5062. end
  5063. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  5064. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  5065. end
  5066. bgui:Destroy()
  5067. end))
  5068. end
  5069. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  5070. for i, v in pairs(mw2:GetChildren()) do
  5071. if v:IsA("Part") then
  5072. v.BrickColor = one
  5073. v.Material = "Neon"
  5074. end
  5075. end
  5076. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  5077. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  5078. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  5079. tr1.Color = ColorSequence.new(one.Color)
  5080. tr2.Color = ColorSequence.new(one.Color)
  5081. tr3.Color = ColorSequence.new(one.Color)
  5082. for i, v in pairs(mw1:GetChildren()) do
  5083. if v:IsA("Part") then
  5084. if secondaryenabled == false then
  5085. v.Transparency = 1
  5086. elseif secondaryenabled == true then
  5087. v.Transparency = 0
  5088. end
  5089. v.BrickColor = two
  5090. v.Material = "Neon"
  5091. end
  5092. end
  5093. if secondaryenabled == false then
  5094. tl1.Enabled = false
  5095. tl2.Enabled = false
  5096. tl3.Enabled = false
  5097. elseif secondaryenabled == true then
  5098. tl1.Enabled = true
  5099. tl2.Enabled = true
  5100. tl3.Enabled = true
  5101. end
  5102. tl1.Color = ColorSequence.new(two.Color)
  5103. tl2.Color = ColorSequence.new(two.Color)
  5104. tl3.Color = ColorSequence.new(two.Color)
  5105. for i, v in pairs(m:GetChildren()) do
  5106. if v:IsA("Part") then
  5107. v.BrickColor = three
  5108. v.Material = "Ice"
  5109. end
  5110. end
  5111. for i, v in pairs(m2:GetChildren()) do
  5112. if v:IsA("Part") then
  5113. v.BrickColor = four
  5114. v.Material = "Ice"
  5115. end
  5116. end
  5117. for i, v in pairs(m3:GetChildren()) do
  5118. if v:IsA("Part") then
  5119. v.BrickColor = five
  5120. v.Material = "Neon"
  5121. end
  5122. end
  5123. for i, v in pairs(extrawingmod1:GetChildren()) do
  5124. if v:IsA("Part") then
  5125. v.Transparency = exonetran
  5126. v.BrickColor = exone
  5127. v.Material = "Neon"
  5128. end
  5129. end
  5130. for i, v in pairs(extrawingmod2:GetChildren()) do
  5131. if v:IsA("Part") then
  5132. v.Transparency = extwotran
  5133. v.BrickColor = extwo
  5134. v.Material = "Neon"
  5135. end
  5136. end
  5137. end
  5138.  
  5139.  
  5140. function normalmog()
  5141. attack = true
  5142. hum.WalkSpeed = 0
  5143. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  5144. for i = 0,6,0.1 do
  5145. swait()
  5146. 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)
  5147. 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)
  5148. 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)
  5149. 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)
  5150. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5151. 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)
  5152. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5153. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5154. end
  5155. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  5156. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  5157. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  5158. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  5159. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  5160. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  5161. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  5162. rainbowmode = false
  5163. chaosmode = false
  5164. ModeOfGlitch = 1
  5165. storehumanoidWS = 16
  5166. newTheme("rbxassetid://367339030",48.6,1,1.25)
  5167. RecolorTextAndRename("Hopeless Guest",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  5168. CameraEnshaking(5,2.5)
  5169. MAINRUINCOLOR = BrickColor.new("Really red")
  5170. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5171. for i = 0, 49 do
  5172. 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)
  5173. end
  5174. for i = 0, 24 do
  5175. 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)
  5176. 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"))
  5177. end
  5178. for i = 0,3,0.1 do
  5179. 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)
  5180. end
  5181. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  5182. for i = 0,2,0.1 do
  5183. swait()
  5184. 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)
  5185. 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)
  5186. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  5187. 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)
  5188. 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)
  5189. 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)
  5190. end
  5191. hum.WalkSpeed = storehumanoidWS
  5192. attack = false
  5193. end
  5194.  
  5195. function attackone()
  5196.     attack = true
  5197. local keptcolor = MAINRUINCOLOR
  5198.     for i = 0,1,0.1 do
  5199.         swait()
  5200.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  5201. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  5202. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  5203. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5204. 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)
  5205. 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)
  5206.     end
  5207. local distlook = 5
  5208. coroutine.resume(coroutine.create(function()
  5209. for i = 0, 4 do
  5210. swait(2)
  5211. CameraEnshaking(2,3)
  5212. local hite = Instance.new("Part", char)
  5213.         hite.Anchored = true
  5214.         hite.CanCollide = false
  5215.         hite.FormFactor = 3
  5216.         hite.Name = "Ring"
  5217.         hite.Material = "Neon"
  5218.         hite.Size = Vector3.new(1, 1, 1)
  5219.         hite.Transparency = 1
  5220.         hite.TopSurface = 0
  5221.         hite.BottomSurface = 0
  5222. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  5223. 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)
  5224. 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)
  5225. 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)
  5226. 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)
  5227. MagniDamage(hite, 9, 10,25, 0, "Normal")
  5228. for i = 0, 14 do
  5229. local rsiz = math.random(5,20)
  5230. 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)
  5231. end
  5232. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  5233. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  5234. game:GetService("Debris"):AddItem(hite, 5)
  5235. distlook = distlook + 10
  5236. end
  5237. end))
  5238.     for i = 0,1,0.1 do
  5239.         swait()
  5240.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  5241. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  5242. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  5243. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  5244. 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)
  5245. 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)
  5246.     end
  5247.     attack = false
  5248. end
  5249.  
  5250. function attacktwo()
  5251.     attack = true
  5252. hum.WalkSpeed = 2
  5253. local keptcolor = MAINRUINCOLOR
  5254. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5255. 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)
  5256. 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)
  5257. for i = 0, 14 do
  5258. 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)
  5259. end
  5260. for i = 0,1,0.1 do
  5261. swait()
  5262. 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)
  5263. 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)
  5264. 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)
  5265. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5266. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  5267. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  5268. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5269. end
  5270. for i = 0, 1 do
  5271. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  5272. for i = 0,1,0.6 do
  5273. swait()
  5274. 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)
  5275. 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"))
  5276. 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)
  5277. 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)
  5278. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5279. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5280. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5281. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5282. end
  5283. for i = 0,1,0.6 do
  5284. swait()
  5285. 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)
  5286. 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"))
  5287. 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)
  5288. 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)
  5289. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  5290. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5291. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5292. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5293. end
  5294. for i = 0,1,0.6 do
  5295. swait()
  5296. 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)
  5297. 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"))
  5298. 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)
  5299. 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)
  5300. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  5301. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5302. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5303. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5304. end
  5305. for i = 0,1,0.6 do
  5306. swait()
  5307. 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)
  5308. 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"))
  5309. 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)
  5310. 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)
  5311. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  5312. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5313. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5314. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5315. end
  5316. local rot = 0
  5317. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  5318. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5319. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5320. CreateMesh(dis,"Sphere",10,1,10)
  5321. local at1 = Instance.new("Attachment",dis)
  5322. at1.Position = vt(-5,0,0)
  5323. local at2 = Instance.new("Attachment",dis)
  5324. at2.Position = vt(5,0,0)
  5325. local trl = Instance.new('Trail',wed)
  5326. trl.Attachment0 = at1
  5327. trl.Attachment1 = at2
  5328. trl.Texture = "rbxassetid://1049219073"
  5329. trl.LightEmission = 1
  5330. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5331. trl.Color = ColorSequence.new(dis.Color)
  5332. trl.Lifetime = 0.6
  5333. local a = Instance.new("Part",workspace)
  5334.     a.Name = "Direction"   
  5335.     a.Anchored = true
  5336.     a.BrickColor = bc("Bright red")
  5337. a.Material = "Neon"
  5338. a.Transparency = 1
  5339.     a.CanCollide = false
  5340.     local ray = Ray.new(
  5341.         dis.CFrame.p,                           -- origin
  5342.         (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5343.     )
  5344.     local ignore = dis
  5345.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5346.     a.BottomSurface = 10
  5347.     a.TopSurface = 10
  5348.     local distance = (dis.CFrame.p - position).magnitude
  5349.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  5350.     a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5351. dis.CFrame = a.CFrame
  5352. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5353. a:Destroy()
  5354. local bv = Instance.new("BodyVelocity")
  5355. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5356. bv.velocity = dis.CFrame.lookVector*250
  5357. bv.Parent = dis
  5358. game:GetService("Debris"):AddItem(dis, 5)
  5359. local hitted = false
  5360. coroutine.resume(coroutine.create(function()
  5361. dis.Touched:connect(function(hit)
  5362.     if hitted == false and hit.Parent ~= char then
  5363.     hitted = true
  5364.     CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5365.     MagniDamage(dis, 30, 33,56, 0, "Normal")
  5366.     sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5367.     sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5368.     sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5369.     coroutine.resume(coroutine.create(function()
  5370.         for i = 0, 9 do
  5371. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5372. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5373. local at1 = Instance.new("Attachment",disr)
  5374. at1.Position = vt(-5,0,0)
  5375. local at2 = Instance.new("Attachment",disr)
  5376. at2.Position = vt(5,0,0)
  5377. local trl = Instance.new('Trail',disr)
  5378. trl.Attachment0 = at1
  5379. trl.FaceCamera = true
  5380. trl.Attachment1 = at2
  5381. trl.Texture = "rbxassetid://2342682798"
  5382. trl.LightEmission = 1
  5383. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5384. trl.Color = ColorSequence.new(keptcolor.Color)
  5385. trl.Lifetime = 0.5
  5386. local bv = Instance.new("BodyVelocity")
  5387. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5388. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5389. bv.Parent = disr
  5390. local val = 0
  5391. coroutine.resume(coroutine.create(function()
  5392.     swait(30)
  5393.     for i = 0, 9 do
  5394.         swait()
  5395.         val = val + 0.1
  5396.         trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5397.     end
  5398. game:GetService("Debris"):AddItem(disr, 3)
  5399. end))
  5400. end
  5401. local eff = Instance.new("ParticleEmitter",dis)
  5402. eff.Texture = "rbxassetid://2273224484"
  5403. eff.LightEmission = 1
  5404. eff.Color = ColorSequence.new(keptcolor.Color)
  5405. eff.Rate = 500000
  5406. eff.Lifetime = NumberRange.new(0.5,2)
  5407. 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)})
  5408. 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)})
  5409. eff.Speed = NumberRange.new(20,250)
  5410. eff.Drag = 5
  5411. eff.Rotation = NumberRange.new(-500,500)
  5412. eff.VelocitySpread = 9000
  5413. eff.RotSpeed = NumberRange.new(-50,50)
  5414. wait(0.25)
  5415. eff.Enabled = false
  5416. end))
  5417.     for i = 0, 9 do
  5418.         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"))
  5419.     end
  5420. for i = 0, 19 do
  5421. 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)
  5422. end
  5423. coroutine.resume(coroutine.create(function()
  5424. for i = 0, 19 do
  5425. swait()
  5426. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5427. end
  5428. hum.CameraOffset = vt(0,0,0)
  5429. end))
  5430. dis.Anchored = true
  5431. dis.Transparency = 1
  5432. wait(8)
  5433. dis:Destroy()
  5434. end
  5435. end)
  5436. end))
  5437. rot = rot - 15
  5438. end
  5439. for i = 0,2,0.1 do
  5440. swait()
  5441. 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)
  5442. 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)
  5443. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5444. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  5445. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5446. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5447. end
  5448. attack = false
  5449. hum.WalkSpeed = storehumanoidWS
  5450. end
  5451.  
  5452. function attackthree()
  5453. attack = true
  5454. local keptcolor = MAINRUINCOLOR
  5455. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  5456.     for i = 0,2,0.1 do
  5457.         swait()
  5458.         sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5459. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  5460. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  5461. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  5462. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  5463. 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)
  5464. 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)
  5465.     end
  5466. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  5467. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  5468. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  5469. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  5470. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5471. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  5472. for i = 0, 24 do
  5473.         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"))
  5474. end
  5475. for i = 0,4,0.1 do
  5476.         swait()
  5477.         root.CFrame = root.CFrame + root.CFrame.lookVector*5
  5478.         local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5479. CreateMesh(dis,"Sphere",1,1,1)
  5480. dis.Anchored = true
  5481. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5482. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5483. coroutine.resume(coroutine.create(function()
  5484.     swait(30)
  5485.     dis.Transparency = 1
  5486. coroutine.resume(coroutine.create(function()
  5487. for i = 0, 19 do
  5488. swait()
  5489. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5490. end
  5491. hum.CameraOffset = vt(0,0,0)
  5492. end))
  5493. coroutine.resume(coroutine.create(function()
  5494. local eff = Instance.new("ParticleEmitter",dis)
  5495. eff.Texture = "rbxassetid://2273224484"
  5496. eff.LightEmission = 1
  5497. eff.Color = ColorSequence.new(dis.Color)
  5498. eff.Rate = 500000
  5499. eff.Lifetime = NumberRange.new(0.5,2)
  5500. 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)})
  5501. 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)})
  5502. eff.Speed = NumberRange.new(50,450)
  5503. eff.Drag = 5
  5504. eff.Rotation = NumberRange.new(-500,500)
  5505. eff.VelocitySpread = 9000
  5506. eff.RotSpeed = NumberRange.new(-50,50)
  5507. wait(0.125)
  5508. eff.Enabled = false
  5509. end))
  5510. MagniDamage(dis, 30, 45,50, 0, "Normal")
  5511.     for i = 0, 2 do
  5512.         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)
  5513.     end
  5514.     CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  5515.     CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  5516.     CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  5517.     sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  5518. end))
  5519. game:GetService("Debris"):AddItem(dis, 5)
  5520. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  5521. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  5522. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  5523. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  5524. 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)
  5525. 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)
  5526.     end
  5527. attack = false
  5528. end
  5529. ----------------------------------- Abilities
  5530.  
  5531. function ExtinctiveHeartbreak()
  5532. local targetted = nil
  5533. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5534. targetted = mouse.Target.Parent
  5535. end
  5536. if targetted ~= nil then
  5537. attack = true
  5538. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5539. for i = 0, 9 do
  5540. 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)
  5541. end
  5542. for i = 0, 24 do
  5543. 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)
  5544. end
  5545. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5546. local originalpos = root.CFrame
  5547. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5548. for i = 0, 9 do
  5549. 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)
  5550. end
  5551. for i = 0, 24 do
  5552. 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)
  5553. end
  5554. hum.WalkSpeed = 0
  5555. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5556. local radm = math.random(1,3)
  5557. if radm == 1 then
  5558. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  5559. elseif radm == 2 then
  5560. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  5561. elseif radm == 3 then
  5562. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  5563. end
  5564. for i = 0,2,0.1 do
  5565. swait()
  5566. 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)
  5567. 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)
  5568. 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)
  5569. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5570. 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)
  5571. 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)
  5572. end
  5573. CFuncs["Sound"].Create("rbxassetid://153092227", root, 0.5,1)
  5574. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 2, 1,0,10,0.25,0.5,1)
  5575. for i = 0,2,0.1 do
  5576. swait()
  5577. coroutine.resume(coroutine.create(function()
  5578. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5579. for i,v in pairs(targetted:GetChildren()) do
  5580. if v:IsA("Part") or v:IsA("MeshPart") then
  5581. v.Velocity = vt(0,0,0)
  5582. end
  5583. end
  5584. end))
  5585. 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)
  5586. 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)
  5587. 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)
  5588. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5589. 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)
  5590. 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)
  5591. end
  5592. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 0.5, 1,0,10,0.25,0.5,1)
  5593. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 0.5, 0.9,0,10,0.25,0.5,1)
  5594. for i = 0, 1 do
  5595. CFuncs["EchoSound"].Create("rbxassetid://159882598", char, 2, 1,0.1,10,0.15,0.5,1)
  5596. end
  5597. CFuncs["EchoSound"].Create("rbxassetid://159882598", root, 15, 1,0.1,10,0.15,0.5,1)
  5598. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  5599. for i = 0,4,0.1 do
  5600. swait()
  5601. coroutine.resume(coroutine.create(function()
  5602. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5603. 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)))
  5604. local at1 = Instance.new("Attachment",dis)
  5605. at1.Position = vt(-25000,0,0)
  5606. local at2 = Instance.new("Attachment",dis)
  5607. at2.Position = vt(25000,0,0)
  5608. local trl = Instance.new('Trail',dis)
  5609. trl.Attachment0 = at1
  5610. trl.FaceCamera = true
  5611. trl.Attachment1 = at2
  5612. trl.Texture = "rbxassetid://1049219073"
  5613. trl.LightEmission = 1
  5614. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5615. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  5616. trl.Lifetime = 5
  5617. local bv = Instance.new("BodyVelocity")
  5618. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5619. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5620. bv.Parent = dis
  5621. game:GetService("Debris"):AddItem(dis, 5)
  5622. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5623. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  5624. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  5625. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  5626. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  5627. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  5628. 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)
  5629. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  5630. for i = 0, 2 do
  5631. 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"))
  5632. end
  5633. 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)
  5634. for i,v in pairs(targetted:GetChildren()) do
  5635. if v:IsA("Part") or v:IsA("MeshPart") then
  5636. v.Velocity = vt(0,0,0)
  5637. end
  5638. end
  5639. end))
  5640. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  5641. 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)
  5642. 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)
  5643. 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)
  5644. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  5645. 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)
  5646. 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)
  5647. end
  5648. hum.CameraOffset = vt(0,0,0)
  5649. for i = 0, 49 do
  5650. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5651. 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)))
  5652. local at1 = Instance.new("Attachment",dis)
  5653. at1.Position = vt(-50000,0,0)
  5654. local at2 = Instance.new("Attachment",dis)
  5655. at2.Position = vt(50000,0,0)
  5656. local trl = Instance.new('Trail',dis)
  5657. trl.Attachment0 = at1
  5658. trl.FaceCamera = true
  5659. trl.Attachment1 = at2
  5660. trl.Texture = "rbxassetid://1049219073"
  5661. trl.LightEmission = 1
  5662. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5663. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  5664. trl.Lifetime = 5
  5665. local bv = Instance.new("BodyVelocity")
  5666. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5667. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5668. bv.Parent = dis
  5669. game:GetService("Debris"):AddItem(dis, 5)
  5670. end
  5671. for i = 0, 49 do
  5672. 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)
  5673. 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"))
  5674. end
  5675. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  5676. for i = 0, 1 do
  5677. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  5678. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  5679. end
  5680. for i = 0, 4 do
  5681. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  5682. end
  5683. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  5684. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  5685. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  5686. dmg(targetted)
  5687. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5688. for i = 0, 9 do
  5689. 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)
  5690. end
  5691. for i = 0, 24 do
  5692. 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)
  5693. end
  5694. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5695. root.CFrame = originalpos
  5696. for i = 0, 9 do
  5697. 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)
  5698. end
  5699. for i = 0, 24 do
  5700. 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)
  5701. end
  5702. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5703. attack = false
  5704. hum.WalkSpeed = storehumanoidWS
  5705. end
  5706. end
  5707.  
  5708. function CorruptionEvent()
  5709. attack = true
  5710. hum.WalkSpeed = 0
  5711. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5712. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5713. local keptcolor = MAINRUINCOLOR
  5714. for i = 0,4,0.1 do
  5715. swait()
  5716. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5717. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5718. 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)
  5719. 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)
  5720. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  5721. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  5722. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  5723. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5724. end
  5725. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5726. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  5727. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  5728. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5729. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5730. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5731. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5732. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  5733. hum.CameraOffset = vt(0,0,0)
  5734. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5735. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5736. for i = 0, 24 do
  5737. 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"))
  5738. end
  5739. local rrot = 0
  5740. coroutine.resume(coroutine.create(function()
  5741. for i = 0, 4 do
  5742. rrot = rrot + 45
  5743. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5744. xa.Anchored = true
  5745. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5746. xb.Anchored = true
  5747. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5748. xc.Anchored = true
  5749. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5750. xd.Anchored = true
  5751. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  5752. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  5753. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  5754. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  5755. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  5756. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  5757. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  5758. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  5759. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  5760. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  5761. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  5762. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  5763. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  5764. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  5765. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  5766. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  5767. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5768. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5769. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5770. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5771. for i = 0, 9 do
  5772. 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"))
  5773. 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"))
  5774. 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"))
  5775. 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"))
  5776. end
  5777. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5778. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5779. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5780. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5781. 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)
  5782. 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)
  5783. 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)
  5784. 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)
  5785. 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))
  5786. 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))
  5787. 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))
  5788. 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))
  5789. game:GetService("Debris"):AddItem(xa, 5)
  5790. game:GetService("Debris"):AddItem(xb, 5)
  5791. game:GetService("Debris"):AddItem(xc, 5)
  5792. game:GetService("Debris"):AddItem(xd, 5)
  5793. coroutine.resume(coroutine.create(function()
  5794. for i = 0, 19 do
  5795. swait()
  5796. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5797. end
  5798. hum.CameraOffset = vt(0,0,0)
  5799. end))
  5800. swait(9)
  5801. end
  5802. end))
  5803. for i = 0,2,0.1 do
  5804. swait()
  5805. 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)
  5806. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(10)),.8)
  5807. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  5808. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  5809. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  5810. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5811. end
  5812. attack = false
  5813. hum.WalkSpeed = storehumanoidWS
  5814. end
  5815.  
  5816. function EndGROUND()
  5817.     attack = true
  5818. hum.WalkSpeed = 0
  5819. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  5820. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5821. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5822. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  5823. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  5824. local keptcolor = MAINRUINCOLOR
  5825. for i = 0,4,0.1 do
  5826. swait()
  5827. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5828. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5829. 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"))
  5830. 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)
  5831. 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)
  5832. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  5833. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  5834. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  5835. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5836. end
  5837. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5838. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5839. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5840. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5841. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  5842. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  5843. coroutine.resume(coroutine.create(function()
  5844.     local shval = 10
  5845.     for i = 0, 99 do
  5846.         swait()
  5847.         shval = shval - 0.1
  5848.         hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  5849.     end
  5850.     hum.CameraOffset = vt(0,0,0)
  5851. end))
  5852. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5853. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5854. for i = 0, 24 do
  5855. 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"))
  5856. end
  5857. local rrot = 0
  5858. local xam = 1
  5859. coroutine.resume(coroutine.create(function()
  5860. for i = 0, 14 do
  5861. --swait()
  5862. rrot = rrot + 40*xam
  5863. xam = xam + 0.25
  5864. local bonus = xam
  5865. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  5866. xa.Anchored = true
  5867. xa.Color = Color3.new(0,0,0)
  5868. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  5869. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  5870. local xc = 0
  5871. coroutine.resume(coroutine.create(function()
  5872. for i = 0, 99 do
  5873.     swait()
  5874.     xc = xc + 0.01
  5875.     xa.Color = Color3.new(xc,0,0)
  5876. end
  5877. xa.Transparency = 1
  5878. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  5879. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  5880. for i = 0, 9 do
  5881. 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"))
  5882. end
  5883. 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)
  5884. 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)
  5885. 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))
  5886. game:GetService("Debris"):AddItem(xa, 5)
  5887. coroutine.resume(coroutine.create(function()
  5888. for i = 0, 19 do
  5889. swait()
  5890. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5891. end
  5892. hum.CameraOffset = vt(0,0,0)
  5893. end))
  5894. end))
  5895. end
  5896. end))
  5897. for i = 0,2,0.1 do
  5898. swait()
  5899. 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)
  5900. 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)
  5901. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  5902. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  5903. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  5904. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5905. end
  5906. attack = false
  5907. hum.WalkSpeed = storehumanoidWS
  5908. end
  5909.  
  5910. function HeavenlyDisk()
  5911. attack = true
  5912. hum.WalkSpeed = 2
  5913. local keptcolor = MAINRUINCOLOR
  5914. local radm = math.random(1,3)
  5915. if radm == 1 then
  5916. bosschatfunc("Dont make this too easy for you.",MAINRUINCOLOR.Color,1)
  5917. elseif radm == 2 then
  5918. bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
  5919. elseif radm == 3 then
  5920. bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  5921. end
  5922. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5923. CFuncs["EchoSound"].Create("rbxassetid://1625448638", char, 4, 1,0,10,0.15,0.5,1)
  5924. 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)
  5925. 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)
  5926. for i = 0, 14 do
  5927. 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)
  5928. end
  5929. for i = 0,2,0.1 do
  5930. swait()
  5931. 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)
  5932. 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)
  5933. 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)
  5934. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5935. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  5936. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  5937. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5938. end
  5939. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  5940. for i = 0,1,0.6 do
  5941. swait()
  5942. 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)
  5943. 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"))
  5944. 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)
  5945. 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)
  5946. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5947. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5948. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5949. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5950. end
  5951. for i = 0,1,0.6 do
  5952. swait()
  5953. 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)
  5954. 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"))
  5955. 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)
  5956. 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)
  5957. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  5958. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5959. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5960. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5961. end
  5962. for i = 0,1,0.6 do
  5963. swait()
  5964. 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)
  5965. 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"))
  5966. 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)
  5967. 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)
  5968. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  5969. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5970. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5971. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5972. end
  5973. for i = 0,1,0.6 do
  5974. swait()
  5975. 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)
  5976. 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"))
  5977. 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)
  5978. 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)
  5979. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  5980. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5981. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5982. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5983. end
  5984. local rot = 15
  5985. for i = 0, 2 do
  5986. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  5987. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5988. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5989. CreateMesh(dis,"Sphere",10,1,10)
  5990. local at1 = Instance.new("Attachment",dis)
  5991. at1.Position = vt(-5,0,0)
  5992. local at2 = Instance.new("Attachment",dis)
  5993. at2.Position = vt(5,0,0)
  5994. local trl = Instance.new('Trail',wed)
  5995. trl.Attachment0 = at1
  5996. trl.Attachment1 = at2
  5997. trl.Texture = "rbxassetid://1049219073"
  5998. trl.LightEmission = 1
  5999. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6000. trl.Color = ColorSequence.new(dis.Color)
  6001. trl.Lifetime = 0.6
  6002. local a = Instance.new("Part",workspace)
  6003.     a.Name = "Direction"   
  6004.     a.Anchored = true
  6005.     a.BrickColor = bc("Bright red")
  6006. a.Material = "Neon"
  6007. a.Transparency = 1
  6008.     a.CanCollide = false
  6009.     local ray = Ray.new(
  6010.         dis.CFrame.p,                           -- origin
  6011.         (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6012.     )
  6013.     local ignore = dis
  6014.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6015.     a.BottomSurface = 10
  6016.     a.TopSurface = 10
  6017.     local distance = (dis.CFrame.p - position).magnitude
  6018.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  6019.     a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6020. dis.CFrame = a.CFrame
  6021. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6022. a:Destroy()
  6023. local bv = Instance.new("BodyVelocity")
  6024. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6025. bv.velocity = dis.CFrame.lookVector*250
  6026. bv.Parent = dis
  6027. game:GetService("Debris"):AddItem(dis, 5)
  6028. local hitted = false
  6029. coroutine.resume(coroutine.create(function()
  6030. dis.Touched:connect(function(hit)
  6031.     if hitted == false and hit.Parent ~= char then
  6032.     hitted = true
  6033.     CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  6034.     MagniDamage(dis, 30, 82,34575, 0, "Normal")
  6035.     sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  6036.     sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  6037.     sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  6038.     coroutine.resume(coroutine.create(function()
  6039.         for i = 0, 9 do
  6040. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6041. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6042. local at1 = Instance.new("Attachment",disr)
  6043. at1.Position = vt(-2,0,0)
  6044. local at2 = Instance.new("Attachment",disr)
  6045. at2.Position = vt(2,0,0)
  6046. local trl = Instance.new('Trail',disr)
  6047. trl.Attachment0 = at1
  6048. trl.FaceCamera = true
  6049. trl.Attachment1 = at2
  6050. trl.Texture = "rbxassetid://2342682798"
  6051. trl.LightEmission = 1
  6052. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6053. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6054. trl.Lifetime = 0.5
  6055. local bv = Instance.new("BodyVelocity")
  6056. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6057. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6058. bv.Parent = disr
  6059. local val = 0
  6060. coroutine.resume(coroutine.create(function()
  6061.     swait(30)
  6062.     for i = 0, 9 do
  6063.         swait()
  6064.         val = val + 0.1
  6065.         trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6066.     end
  6067. game:GetService("Debris"):AddItem(disr, 3)
  6068. end))
  6069. end
  6070. local eff = Instance.new("ParticleEmitter",dis)
  6071. eff.Texture = "rbxassetid://2273224484"
  6072. eff.LightEmission = 1
  6073. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6074. eff.Rate = 500000
  6075. eff.Lifetime = NumberRange.new(0.5,2)
  6076. 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)})
  6077. 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)})
  6078. eff.Speed = NumberRange.new(20,250)
  6079. eff.Drag = 5
  6080. eff.Rotation = NumberRange.new(-500,500)
  6081. eff.VelocitySpread = 9000
  6082. eff.RotSpeed = NumberRange.new(-50,50)
  6083. wait(0.25)
  6084. eff.Enabled = false
  6085. end))
  6086.     for i = 0, 9 do
  6087.         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"))
  6088.     end
  6089. for i = 0, 19 do
  6090. 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)
  6091. end
  6092. coroutine.resume(coroutine.create(function()
  6093. for i = 0, 19 do
  6094. swait()
  6095. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6096. end
  6097. hum.CameraOffset = vt(0,0,0)
  6098. end))
  6099. dis.Anchored = true
  6100. dis.Transparency = 1
  6101. wait(8)
  6102. dis:Destroy()
  6103. end
  6104. end)
  6105. end))
  6106. rot = rot - 15
  6107. end
  6108. for i = 0,2,0.1 do
  6109. swait()
  6110. 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)
  6111. 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)
  6112. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6113. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  6114. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6115. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6116. end
  6117. attack = false
  6118. hum.WalkSpeed = storehumanoidWS
  6119. end
  6120.  
  6121.  
  6122. function RapidBurst()
  6123. attack = true
  6124. hum.WalkSpeed = 0
  6125. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6126. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  6127. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  6128. bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,1.8)
  6129. bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,1.9)
  6130. bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,2)
  6131. local keptcolor = MAINRUINCOLOR
  6132. for i = 0,8,0.1 do
  6133. swait()
  6134. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6135. 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())
  6136. 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)
  6137. 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)
  6138. 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)
  6139. 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)
  6140. 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)
  6141. 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)
  6142. 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)
  6143. end
  6144. for i = 0, 99 do
  6145. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6146. 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)))
  6147. local at1 = Instance.new("Attachment",dis)
  6148. at1.Position = vt(-25000,0,0)
  6149. local at2 = Instance.new("Attachment",dis)
  6150. at2.Position = vt(25000,0,0)
  6151. local trl = Instance.new('Trail',dis)
  6152. trl.Attachment0 = at1
  6153. trl.FaceCamera = true
  6154. trl.Attachment1 = at2
  6155. trl.Texture = "rbxassetid://1049219073"
  6156. trl.LightEmission = 1
  6157. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6158. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6159. trl.Lifetime = 5
  6160. local bv = Instance.new("BodyVelocity")
  6161. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6162. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6163. bv.Parent = dis
  6164. game:GetService("Debris"):AddItem(dis, 5)
  6165. end
  6166. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6167. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6168. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6169. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6170. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6171. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6172. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6173. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6174. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6175. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6176. hum.CameraOffset = vt(0,0,0)
  6177. for i = 0, 24 do
  6178. 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())
  6179. end
  6180. local distam = 0
  6181. coroutine.resume(coroutine.create(function()
  6182. for i = 0, 99 do
  6183.     wait()
  6184. distam = distam + 1
  6185. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6186. xa.Anchored = true
  6187. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6188. game:GetService("Debris"):AddItem(xa, 5)
  6189. for i = 0, 4 do
  6190. 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())
  6191. end
  6192. coroutine.resume(coroutine.create(function()
  6193. local eff = Instance.new("ParticleEmitter",xa)
  6194. eff.Texture = "rbxassetid://2273224484"
  6195. eff.LightEmission = 1
  6196. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6197. eff.Rate = 500000
  6198. eff.Lifetime = NumberRange.new(1,3)
  6199. 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)})
  6200. 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)})
  6201. eff.Speed = NumberRange.new(50,500)
  6202. eff.Drag = 5
  6203. eff.Rotation = NumberRange.new(-500,500)
  6204. eff.VelocitySpread = 9000
  6205. eff.RotSpeed = NumberRange.new(-50,50)
  6206. wait(0.25)
  6207. eff.Enabled = false
  6208. end))
  6209. coroutine.resume(coroutine.create(function()
  6210. for i = 0, 19 do
  6211. swait()
  6212. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6213. end
  6214. hum.CameraOffset = vt(0,0,0)
  6215. end))
  6216. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6217. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6218. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6219. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6220. end
  6221. end))
  6222. attack = false
  6223. hum.WalkSpeed = storehumanoidWS
  6224. end
  6225.  
  6226. function InsaneDrop()
  6227. attack = true
  6228. hum.WalkSpeed = 0
  6229. CFuncs["Sound"].Create("rbxassetid://907329669", char, 2.5, 0.5)
  6230. CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 0.5)
  6231. CFuncs["EchoSound"].Create("rbxassetid://907329669", char, 4, 1,0,10,0.15,0.5,1)
  6232. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,1.8)
  6233. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,1.9)
  6234. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,2)
  6235. local keptcolor = MAINRUINCOLOR
  6236. for i = 0,8,0.1 do
  6237. swait()
  6238. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6239. 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())
  6240. 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)
  6241. 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)
  6242. 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)
  6243. 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)
  6244. 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)
  6245. 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)
  6246. 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)
  6247. end
  6248. for i = 0, 99 do
  6249. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6250. 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)))
  6251. local at1 = Instance.new("Attachment",dis)
  6252. at1.Position = vt(-25000,0,0)
  6253. local at2 = Instance.new("Attachment",dis)
  6254. at2.Position = vt(25000,0,0)
  6255. local trl = Instance.new('Trail',dis)
  6256. trl.Attachment0 = at1
  6257. trl.FaceCamera = true
  6258. trl.Attachment1 = at2
  6259. trl.Texture = "rbxassetid://1049219073"
  6260. trl.LightEmission = 1
  6261. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6262. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6263. trl.Lifetime = 5
  6264. local bv = Instance.new("BodyVelocity")
  6265. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6266. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6267. bv.Parent = dis
  6268. game:GetService("Debris"):AddItem(dis, 5)
  6269. end
  6270. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6271. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6272. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6273. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6274. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6275. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6276. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6277. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6278. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6279. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6280. hum.CameraOffset = vt(0,0,0)
  6281. for i = 0, 24 do
  6282. 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())
  6283. end
  6284. local distam = 0
  6285. coroutine.resume(coroutine.create(function()
  6286. for i = 0, 99 do
  6287.     wait()
  6288. distam = distam + 1
  6289. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6290. xa.Anchored = true
  6291. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6292. game:GetService("Debris"):AddItem(xa, 5)
  6293. for i = 0, 4 do
  6294. 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())
  6295. end
  6296. coroutine.resume(coroutine.create(function()
  6297. local eff = Instance.new("ParticleEmitter",xa)
  6298. eff.Texture = "rbxassetid://2273224484"
  6299. eff.LightEmission = 1
  6300. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6301. eff.Rate = 500000
  6302. eff.Lifetime = NumberRange.new(1,3)
  6303. 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)})
  6304. 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)})
  6305. eff.Speed = NumberRange.new(50,500)
  6306. eff.Drag = 5
  6307. eff.Rotation = NumberRange.new(-500,500)
  6308. eff.VelocitySpread = 9000
  6309. eff.RotSpeed = NumberRange.new(-50,50)
  6310. wait(0.25)
  6311. eff.Enabled = false
  6312. end))
  6313. coroutine.resume(coroutine.create(function()
  6314. for i = 0, 19 do
  6315. swait()
  6316. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6317. end
  6318. hum.CameraOffset = vt(0,0,0)
  6319. end))
  6320. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6321. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6322. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6323. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6324. end
  6325. end))
  6326. attack = false
  6327. hum.WalkSpeed = storehumanoidWS
  6328. end
  6329.  
  6330. function FallenOrbs()
  6331. attack = true
  6332. hum.WalkSpeed = 2
  6333. local keptcolor = MAINRUINCOLOR
  6334. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  6335. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  6336. local radm = math.random(1,3)
  6337. if radm == 1 then
  6338. bosschatfunc("This wont be easy to you.",MAINRUINCOLOR.Color,1)
  6339. elseif radm == 2 then
  6340. bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
  6341. elseif radm == 3 then
  6342. bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
  6343. end
  6344. coroutine.resume(coroutine.create(function()
  6345. for i = 0, 29 do
  6346. swait(2)
  6347. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  6348. dis.Anchored = true
  6349. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  6350. dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
  6351. CreateMesh(dis,"Sphere",2,2,2)
  6352. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6353. 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"))
  6354. coroutine.resume(coroutine.create(function()
  6355. wait(0.5)
  6356. dis.Anchored = false
  6357. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 9, 1,0,2,0.15,0.1,1)
  6358. local at1 = Instance.new("Attachment",dis)
  6359. at1.Position = vt(-1,0,0)
  6360. local at2 = Instance.new("Attachment",dis)
  6361. at2.Position = vt(1,0,0)
  6362. local trl = Instance.new('Trail',dis)
  6363. trl.Attachment0 = at1
  6364. trl.FaceCamera = true
  6365. trl.Attachment1 = at2
  6366. trl.Texture = "rbxassetid://1049219073"
  6367. trl.LightEmission = 1
  6368. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6369. trl.Color = ColorSequence.new(dis.Color)
  6370. trl.Lifetime = 0.6
  6371. local a = Instance.new("Part",workspace)
  6372.     a.Name = "Direction"   
  6373.     a.Anchored = true
  6374.     a.BrickColor = bc("Bright red")
  6375. a.Material = "Neon"
  6376. a.Transparency = 1
  6377.     a.CanCollide = false
  6378.     local ray = Ray.new(
  6379.         dis.CFrame.p,                           -- origin
  6380.         (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6381.     )
  6382.     local ignore = dis
  6383.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6384.     a.BottomSurface = 10
  6385.     a.TopSurface = 10
  6386.     local distance = (dis.CFrame.p - position).magnitude
  6387.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  6388.     a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6389. dis.CFrame = a.CFrame
  6390. a:Destroy()
  6391. local bv = Instance.new("BodyVelocity")
  6392. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6393. bv.velocity = dis.CFrame.lookVector*500
  6394. bv.Parent = dis
  6395. game:GetService("Debris"):AddItem(dis, 5)
  6396. local hitted = false
  6397. coroutine.resume(coroutine.create(function()
  6398. dis.Touched:connect(function(hit)
  6399.     if hitted == false and hit.Parent ~= char then
  6400.     hitted = true
  6401.     CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 5, 0.8,0,10,0.15,0.5,1)
  6402.     MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  6403.     sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
  6404.     sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  6405.     coroutine.resume(coroutine.create(function()
  6406. for i = 0, 4 do
  6407. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6408. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6409. local at1 = Instance.new("Attachment",disr)
  6410. at1.Position = vt(-10,0,0)
  6411. local at2 = Instance.new("Attachment",disr)
  6412. at2.Position = vt(10,0,0)
  6413. local trl = Instance.new('Trail',disr)
  6414. trl.Attachment0 = at1
  6415. trl.FaceCamera = true
  6416. trl.Attachment1 = at2
  6417. trl.Texture = "rbxassetid://2342682798"
  6418. trl.LightEmission = 1
  6419. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6420. trl.Color = ColorSequence.new(disr.Color)
  6421. trl.Lifetime = 0.5
  6422. local bv = Instance.new("BodyVelocity")
  6423. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6424. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  6425. bv.Parent = disr
  6426. local val = 0
  6427. coroutine.resume(coroutine.create(function()
  6428.     swait(30)
  6429.     for i = 0, 9 do
  6430.         swait()
  6431.         val = val + 0.1
  6432.         trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6433.     end
  6434. game:GetService("Debris"):AddItem(disr, 3)
  6435. end))
  6436. end
  6437. local eff = Instance.new("ParticleEmitter",dis)
  6438. eff.Texture = "rbxassetid://1049219073"
  6439. eff.LightEmission = 1
  6440. eff.Color = ColorSequence.new(dis.Color)
  6441. eff.Rate = 500000
  6442. eff.Lifetime = NumberRange.new(0.5,2)
  6443. 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)})
  6444. 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)})
  6445. eff.Speed = NumberRange.new(20,250)
  6446. eff.Drag = 5
  6447. eff.Rotation = NumberRange.new(-500,500)
  6448. eff.VelocitySpread = 9000
  6449. eff.RotSpeed = NumberRange.new(-50,50)
  6450. wait(0.5)
  6451. eff.Enabled = false
  6452. end))
  6453.     for i = 0, 4 do
  6454.         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"))
  6455.     end
  6456. coroutine.resume(coroutine.create(function()
  6457. for i = 0, 19 do
  6458. swait()
  6459. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6460. end
  6461. hum.CameraOffset = vt(0,0,0)
  6462. end))
  6463. dis.Anchored = true
  6464. dis.Transparency = 1
  6465. wait(8)
  6466. dis:Destroy()
  6467. end
  6468. end)
  6469. end))
  6470. end))
  6471. end
  6472. end))
  6473. for i = 0,9,0.1 do
  6474. swait()
  6475. 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)
  6476. 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)
  6477. 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)
  6478. 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)
  6479. 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)
  6480. 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)
  6481. 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)
  6482. end
  6483. attack = false
  6484. hum.WalkSpeed = storehumanoidWS
  6485. end
  6486.  
  6487. function CyberSlash()
  6488. local posit = -2
  6489. attack = true
  6490. hum.WalkSpeed = 5
  6491. CFuncs["EchoSound"].Create("rbxassetid://1448033920", char, 5, 1,0,10,0.15,0.5,1)
  6492. local radm = math.random(1,3)
  6493. if radm == 1 then
  6494. bosschatfunc("FIBER!!!",MAINRUINCOLOR.Color,1)
  6495. elseif radm == 2 then
  6496. bosschatfunc("SLASHED!!",MAINRUINCOLOR.Color,1)
  6497. elseif radm == 3 then
  6498. bosschatfunc("TAKE MY CLAW!!",MAINRUINCOLOR.Color,1)
  6499. end
  6500. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  6501.     for i = 0,2,0.1 do
  6502.         swait()
  6503. 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)
  6504.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  6505. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  6506. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6507. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  6508. 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)
  6509. 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)
  6510.     end
  6511. for i = 0, 2 do
  6512. CameraEnshaking(1,2)
  6513. local hite = Instance.new("Part", char)
  6514.         hite.Anchored = true
  6515.         hite.CanCollide = false
  6516.         hite.FormFactor = 3
  6517.         hite.Name = "Ring"
  6518.         hite.Material = "Neon"
  6519.         hite.Size = Vector3.new(1, 1, 1)
  6520.         hite.Transparency = 1
  6521.         hite.TopSurface = 0
  6522.         hite.BottomSurface = 0
  6523. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  6524. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  6525. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  6526. coroutine.resume(coroutine.create(function()
  6527. for i = 0, 1 do
  6528.     swait()
  6529.         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)
  6530.         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)
  6531.         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)
  6532. end
  6533. end))
  6534. 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)
  6535. MagniDamage(hite, 3, 30,40, 0, "Normal")
  6536. game:GetService("Debris"):AddItem(hite, 5)
  6537. posit = posit + 2
  6538. end
  6539.     for i = 0,1,0.1 do
  6540.         swait()
  6541. 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)
  6542.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  6543. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  6544. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6545. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  6546. 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)
  6547. 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)
  6548.     end
  6549.     for i = 0,1,0.1 do
  6550.         swait()
  6551. 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)
  6552.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,1)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  6553. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  6554. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  6555. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  6556. 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)
  6557. 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)
  6558.     end
  6559.     posit = -6
  6560.     for i = 0, 6 do
  6561. CameraEnshaking(1,3)
  6562. local hite = Instance.new("Part", char)
  6563.         hite.Anchored = true
  6564.         hite.CanCollide = false
  6565.         hite.FormFactor = 3
  6566.         hite.Name = "Ring"
  6567.         hite.Material = "Neon"
  6568.         hite.Size = Vector3.new(1, 1, 1)
  6569.         hite.Transparency = 1
  6570.         hite.TopSurface = 0
  6571.         hite.BottomSurface = 0
  6572. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  6573. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  6574. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  6575. 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)
  6576. coroutine.resume(coroutine.create(function()
  6577. for i = 0, 2 do
  6578.     swait()
  6579.         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)
  6580.         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)
  6581.         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)
  6582. end
  6583. end))
  6584. MagniDamage(hite, 5, 40,70, 0, "Normal")
  6585. game:GetService("Debris"):AddItem(hite, 5)
  6586. posit = posit + 2
  6587.     end
  6588.     for i = 0,1,0.1 do
  6589.         swait()
  6590. 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)
  6591.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  6592. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  6593. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  6594. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  6595. 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)
  6596. 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)
  6597.     end
  6598.     hum.WalkSpeed = storehumanoidWS
  6599. attack = false
  6600. end
  6601.  
  6602. function EquinoxOrbs()
  6603. hum.WalkSpeed = 0
  6604. attack = true
  6605. local radm = math.random(1,3)
  6606. if radm == 1 then
  6607. bosschatfunc("NOX-DASH!!!",MAINRUINCOLOR.Color,1)
  6608. elseif radm == 2 then
  6609. bosschatfunc("Beware from behind",MAINRUINCOLOR.Color,1)
  6610. elseif radm == 3 then
  6611. bosschatfunc("I'M COMING!!",MAINRUINCOLOR.Color,1)
  6612. end
  6613. for i = 0,1,0.1 do
  6614. swait()
  6615.     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)
  6616. 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)
  6617. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6618. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6619. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6620. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6621. end
  6622. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6623. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6624. for i = 0, 24 do
  6625.         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"))
  6626. end
  6627. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6628. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6629. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6630. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6631. for i = 0,4,0.1 do
  6632. swait()
  6633. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  6634. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  6635. CreateMesh(dis,"Sphere",1,1,1)
  6636. dis.Anchored = true
  6637. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  6638. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  6639. CreateMesh(dis2,"Sphere",1,1,1)
  6640. dis2.Anchored = true
  6641. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  6642. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6643. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  6644. coroutine.resume(coroutine.create(function()
  6645.     swait(60)
  6646.     dis.Transparency = 1
  6647.     dis2.Transparency = 1
  6648. coroutine.resume(coroutine.create(function()
  6649. for i = 0, 19 do
  6650. swait()
  6651. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  6652. end
  6653. hum.CameraOffset = vt(0,0,0)
  6654. end))
  6655. coroutine.resume(coroutine.create(function()
  6656. local eff = Instance.new("ParticleEmitter",dis)
  6657. eff.Texture = "rbxassetid://2273224484"
  6658. eff.LightEmission = 1
  6659. eff.Color = ColorSequence.new(dis.Color)
  6660. eff.Rate = 500000
  6661. eff.Lifetime = NumberRange.new(0.5,2)
  6662. 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)})
  6663. 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)})
  6664. eff.Speed = NumberRange.new(50,450)
  6665. eff.Drag = 5
  6666. eff.Rotation = NumberRange.new(-500,500)
  6667. eff.VelocitySpread = 9000
  6668. eff.RotSpeed = NumberRange.new(-50,50)
  6669. local eff2 = eff:Clone()
  6670. eff2.Parent = dis2
  6671. eff2.LightEmission = 0
  6672. eff2.Color = ColorSequence.new(dis2.Color)
  6673. wait(0.25)
  6674. eff.Enabled = false
  6675. eff2.Enabled = false
  6676. end))
  6677. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  6678. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  6679.     for i = 0, 2 do
  6680.         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)
  6681.         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)
  6682.     end
  6683.     CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  6684.     CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  6685.     CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  6686.     CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  6687.     CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  6688.     CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  6689.     sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  6690.     sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  6691. end))
  6692. game:GetService("Debris"):AddItem(dis, 5)
  6693. game:GetService("Debris"):AddItem(dis2, 5)
  6694. 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)
  6695. 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)
  6696. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6697. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6698. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  6699. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  6700. end
  6701. attack = false
  6702. hum.WalkSpeed = storehumanoidWS
  6703. end
  6704. function FallenDEMISE()
  6705. attack = true
  6706. hum.WalkSpeed = 0
  6707. local keptcolor = MAINRUINCOLOR
  6708. bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
  6709. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  6710. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  6711. for i = 0, 15, 0.1 do
  6712. swait()
  6713. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6714. 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)))
  6715. local at1 = Instance.new("Attachment",dis)
  6716. at1.Position = vt(-25000,0,0)
  6717. local at2 = Instance.new("Attachment",dis)
  6718. at2.Position = vt(25000,0,0)
  6719. local trl = Instance.new('Trail',dis)
  6720. trl.Attachment0 = at1
  6721. trl.FaceCamera = true
  6722. trl.Attachment1 = at2
  6723. trl.Texture = "rbxassetid://1049219073"
  6724. trl.LightEmission = 1
  6725. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6726. trl.Color = ColorSequence.new(dis.Color)
  6727. trl.Lifetime = 5
  6728. local bv = Instance.new("BodyVelocity")
  6729. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6730. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6731. bv.Parent = dis
  6732. game:GetService("Debris"):AddItem(dis, 1)
  6733. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  6734. 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"))
  6735. 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"))
  6736. 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)
  6737. 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)
  6738. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6739. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6740. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6741. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6742. end
  6743. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  6744. for i = 0, 30, 0.1 do
  6745. swait()
  6746. coroutine.resume(coroutine.create(function()
  6747. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  6748. if v:FindFirstChild('Head') then
  6749. dmg(v)
  6750. end
  6751. end
  6752. end))
  6753. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6754. 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)))
  6755. local at1 = Instance.new("Attachment",dis)
  6756. at1.Position = vt(-50000,0,0)
  6757. local at2 = Instance.new("Attachment",dis)
  6758. at2.Position = vt(50000,0,0)
  6759. local trl = Instance.new('Trail',dis)
  6760. trl.Attachment0 = at1
  6761. trl.FaceCamera = true
  6762. trl.Attachment1 = at2
  6763. trl.Texture = "rbxassetid://1049219073"
  6764. trl.LightEmission = 1
  6765. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6766. trl.Color = ColorSequence.new(dis.Color)
  6767. trl.Lifetime = 10
  6768. local bv = Instance.new("BodyVelocity")
  6769. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6770. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  6771. bv.Parent = dis
  6772. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  6773. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  6774. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  6775. 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"))
  6776. 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"))
  6777. 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"))
  6778. 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"))
  6779. for i = 0, 2 do
  6780. 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)
  6781. end
  6782. 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)
  6783. 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)
  6784. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6785. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6786. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6787. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6788. end
  6789. attack = false
  6790. hum.WalkSpeed = storehumanoidWS
  6791. end
  6792.  
  6793. function SpeedDrop()
  6794. attack = true
  6795. hum.WalkSpeed = 0
  6796. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  6797. local poste = 3
  6798. local rotation = 0
  6799. local rate = 0
  6800. bosschatfunc("AUFHHIGYBIBYHHIHIGHGI",MAINRUINCOLOR.Color,2)
  6801. for i = 0, 124 do
  6802. swait()
  6803. rotation = rotation + rate
  6804. poste = poste + 0.1
  6805. rate = rate + 0.1
  6806. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  6807. 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)
  6808. 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)
  6809. 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)
  6810. 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)
  6811. 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)
  6812. 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)
  6813. 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)
  6814. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  6815. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  6816. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  6817. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  6818. end
  6819. CameraEnshaking(3,7)
  6820. bosschatfunc("AN ERROR HAS OCCURED",MAINRUINCOLOR.Color,2)
  6821. local loc = Instance.new("Part", char)
  6822. loc.BrickColor = MAINRUINCOLOR
  6823. loc.CanCollide = false
  6824. loc.FormFactor = 3
  6825. loc.Name = "Ring"
  6826. loc.Material = "Neon"
  6827. loc.Size = Vector3.new(1, 1, 1)
  6828. loc.Transparency = 1
  6829. loc.TopSurface = 0
  6830. loc.BottomSurface = 0
  6831. loc.Anchored = true
  6832. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  6833. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  6834. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  6835. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  6836. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  6837. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6838. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6839. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6840. coroutine.resume(coroutine.create(function()
  6841. local eff = Instance.new("ParticleEmitter",loc)
  6842. eff.Texture = "rbxassetid://363275192"
  6843. eff.LightEmission = 0.95
  6844. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6845. eff.Rate = 10000
  6846. eff.Lifetime = NumberRange.new(1)
  6847. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  6848. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6849. eff.Speed = NumberRange.new(100,500)
  6850. eff.Drag = 5
  6851. eff.Rotation = NumberRange.new(-500,500)
  6852. eff.VelocitySpread = 9000
  6853. eff.RotSpeed = NumberRange.new(-50,50)
  6854. wait(0.5)
  6855. eff.Enabled = false
  6856. end))
  6857. for i = 0, 49 do
  6858. 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)
  6859. end
  6860. for i = 0, 9 do
  6861. 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)
  6862. end
  6863. game:GetService("Debris"):AddItem(loc, 5)
  6864. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  6865. hum.WalkSpeed = storehumanoidWS
  6866. attack = false
  6867. end
  6868.  
  6869. function cutesigh()
  6870. attack = true
  6871. hum.WalkSpeed = 0
  6872. bosschatfunc("sigh~~",MAINRUINCOLOR.Color,2)
  6873. local blush = Instance.new("Decal",hed)
  6874. blush.Texture = "rbxassetid://898404027"
  6875. blush.Face = "Front"
  6876. CFuncs["Sound"].Create("rbxassetid://294861193", char, 9,1)
  6877. for i = 0, 9, 0.1 do
  6878. swait()
  6879. 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)
  6880. 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)
  6881. 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)
  6882. 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)
  6883. 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)
  6884. 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)
  6885. end
  6886. coroutine.resume(coroutine.create(function()
  6887. for i = 0, 49 do
  6888. swait()
  6889. blush.Transparency = blush.Transparency + 0.02
  6890. end
  6891. blush:Destroy()
  6892. end))
  6893. hum.WalkSpeed = storehumanoidWS
  6894. attack = false
  6895. end
  6896.  
  6897. function smiter()
  6898. local targetted = nil
  6899. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  6900. targetted = mouse.Target.Parent
  6901. end
  6902. if targetted ~= nil then
  6903. RootPart.CFrame = FaceMouse()[1]
  6904. attack = true
  6905. local radm = math.random(1,3)
  6906. if radm == 1 then
  6907. bosschatfunc("SMITED!!",MAINRUINCOLOR.Color,1)
  6908. elseif radm == 2 then
  6909. bosschatfunc("FROM ABOVE!!",MAINRUINCOLOR.Color,1)
  6910. elseif radm == 3 then
  6911. bosschatfunc("LOOK UP!!",MAINRUINCOLOR.Color,1)
  6912. end
  6913. hum.WalkSpeed = 0
  6914. coroutine.resume(coroutine.create(function()
  6915. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  6916. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  6917. local vel = Instance.new("BodyPosition", targetted.Head)
  6918. vel.P = 12500
  6919. vel.D = 1000
  6920. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  6921. vel.position = targetted.Head.CFrame.p
  6922. end))
  6923. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  6924. CFuncs["EchoSound"].Create("rbxassetid://1436242685", char, 4, 1,0,10,0.15,0.5,1)
  6925. CFuncs["EchoSound"].Create("rbxassetid://1436242685", root, 60, 1,0,10,0.15,0.5,1)
  6926.     for i = 0,4,0.1 do
  6927.         swait()
  6928. 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)
  6929.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  6930. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  6931. 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)
  6932. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  6933. 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)
  6934. 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)
  6935.     end
  6936. coroutine.resume(coroutine.create(function()
  6937. CameraEnshaking(6,5)
  6938. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  6939. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  6940. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  6941. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  6942. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  6943. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  6944. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  6945. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  6946. coroutine.resume(coroutine.create(function()
  6947. local eff = Instance.new("ParticleEmitter",targetted.Head)
  6948. eff.Texture = "rbxassetid://2273224484"
  6949. eff.LightEmission = 1
  6950. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6951. eff.Rate = 500000
  6952. eff.Lifetime = NumberRange.new(0.5,2)
  6953. 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)})
  6954. 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)})
  6955. eff.Speed = NumberRange.new(20,250)
  6956. eff.Drag = 5
  6957. eff.Rotation = NumberRange.new(-500,500)
  6958. eff.VelocitySpread = 9000
  6959. eff.RotSpeed = NumberRange.new(-50,50)
  6960. wait(0.25)
  6961. eff.Enabled = false
  6962. local eff = Instance.new("ParticleEmitter",targetted.Head)
  6963. eff.Texture = "rbxassetid://363275192"
  6964. eff.LightEmission = 0.95
  6965. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6966. eff.Rate = 10000
  6967. eff.Lifetime = NumberRange.new(1.5)
  6968. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  6969. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6970. eff.Speed = NumberRange.new(25,150)
  6971. eff.Drag = 5
  6972. eff.Rotation = NumberRange.new(-500,500)
  6973. eff.VelocitySpread = 9000
  6974. eff.RotSpeed = NumberRange.new(-50,50)
  6975. local eff2 = eff:Clone()
  6976. eff2.Parent = targetted.Head
  6977. eff2.Texture = "rbxassetid://284205403"
  6978. eff2.Rate = 10000
  6979. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6980. eff2.Drag = 5
  6981. eff2.Rotation = NumberRange.new(-500,500)
  6982. eff2.VelocitySpread = 9000
  6983. wait(0.5)
  6984. eff2.Enabled = false
  6985. eff.Enabled = false
  6986. end))
  6987. for i = 0, 9 do
  6988. 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)
  6989. end
  6990. for i = 0, 49 do
  6991. local rsiz = math.random(10,50)
  6992. 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)
  6993. end
  6994. game:GetService("Debris"):AddItem(vel,1)
  6995. dmg(targetted)
  6996. end))
  6997.     for i = 0,1,0.1 do
  6998.         swait()
  6999.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  7000. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  7001. 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)
  7002. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7003. 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)
  7004. 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)
  7005.     end
  7006. attack = false
  7007. hum.WalkSpeed = storehumanoidWS
  7008. end
  7009. end
  7010.  
  7011. function shytaunty()
  7012. attack = true
  7013. hum.WalkSpeed = 0
  7014. CFuncs["Sound"].Create("rbxassetid://543623779", char, 1, 1)
  7015. local blush = Instance.new("Decal",hed)
  7016. blush.Texture = "rbxassetid://898404027"
  7017. blush.Face = "Front"
  7018. for i = 0, 13, 0.1 do
  7019. swait()
  7020. 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)
  7021. 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)
  7022. 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)
  7023. 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)
  7024. 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)
  7025. 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)
  7026. end
  7027. coroutine.resume(coroutine.create(function()
  7028. for i = 0, 49 do
  7029. swait()
  7030. blush.Transparency = blush.Transparency + 0.02
  7031. end
  7032. blush:Destroy()
  7033. end))
  7034. hum.WalkSpeed = storehumanoidWS
  7035. attack = false
  7036. end
  7037.  
  7038. function PureBomb()
  7039. attack = true
  7040. CFuncs["EchoSound"].Create("rbxassetid://1436241485", char, 5, 1,0,10,0.15,0.5,1)
  7041. CFuncs["EchoSound"].Create("rbxassetid://1436241485", root, 60, 1,0,10,0.15,0.5,1)
  7042. bosschatfunc("Purified..",MAINRUINCOLOR.Color,2)
  7043. local orb = Instance.new("Part", char)
  7044.         orb.Anchored = true
  7045.         orb.BrickColor = BrickColor.new("Toothpaste")
  7046.         orb.CanCollide = false
  7047.         orb.FormFactor = 3
  7048.         orb.Name = "Ring"
  7049.         orb.Material = "Neon"
  7050.         orb.Size = Vector3.new(1, 1, 1)
  7051.         orb.Transparency = 0
  7052.         orb.TopSurface = 0
  7053.         orb.BottomSurface = 0
  7054.         local orbm = Instance.new("SpecialMesh", orb)
  7055.         orbm.MeshType = "Sphere"
  7056. orbm.Name = "SizeMesh"
  7057. orbm.Scale = vt(0,0,0)
  7058. local scaled = 0.1
  7059. local posid = 0
  7060. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 30,1)
  7061. for i = 0, 5, 0.1 do
  7062. swait()
  7063. scaled = scaled - 0.001
  7064. posid = posid - scaled
  7065. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7066. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  7067. 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)
  7068. 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)
  7069. 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)
  7070. 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)
  7071. 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)
  7072. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7073. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  7074. 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)
  7075. end
  7076. for i = 0, 2, 0.1 do
  7077. swait()
  7078. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7079. 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)
  7080. 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)
  7081. 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)
  7082. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  7083. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  7084. 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)
  7085. end
  7086. CFuncs["EchoSound"].Create("rbxassetid://1436240026", char, 4, 1,0,10,0.15,0.5,1)
  7087. CFuncs["EchoSound"].Create("rbxassetid://1436240026", root, 60, 1,0,10,0.15,0.5,1)
  7088. bosschatfunc("BOMB!!",MAINRUINCOLOR.Color,2)
  7089. coroutine.resume(coroutine.create(function()
  7090. orb.Anchored = false
  7091. CFuncs["Sound"].Create("rbxassetid://260433768", root, 555,1)
  7092.     local a = Instance.new("Part",workspace)
  7093.     a.Name = "Direction"   
  7094.     a.Anchored = true
  7095.     a.BrickColor = bc("Bright red")
  7096. a.Material = "Neon"
  7097. a.Transparency = 1
  7098.     a.CanCollide = false
  7099.     local ray = Ray.new(
  7100.         orb.CFrame.p,                           -- origin
  7101.         (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7102.     )
  7103.     local ignore = orb
  7104.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7105.     a.BottomSurface = 10
  7106.     a.TopSurface = 10
  7107.     local distance = (orb.CFrame.p - position).magnitude
  7108.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  7109.     a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  7110. orb.CFrame = a.CFrame
  7111. a:Destroy()
  7112. local bv = Instance.new("BodyVelocity")
  7113. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7114. bv.velocity = orb.CFrame.lookVector*125
  7115. bv.Parent = orb
  7116. local hitted = false
  7117. game:GetService("Debris"):AddItem(orb, 15)
  7118. wait()
  7119. local hit =orb.Touched:connect(function(hit)
  7120.     if hitted == false then
  7121.     hitted = true
  7122. CameraEnshaking(10,2.5)
  7123.     MagniDamage(orb, 65, 65,90, 0, "Normal")
  7124. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  7125. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  7126. for i = 0, 49 do
  7127. 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)
  7128. end
  7129. local eff = Instance.new("ParticleEmitter",orb)
  7130. eff.Texture = "rbxassetid://2273224484"
  7131. eff.LightEmission = 1
  7132. eff.Color = ColorSequence.new(Color3.new(4/255,175/255,236/255))
  7133. eff.Rate = 500000
  7134. eff.Lifetime = NumberRange.new(0.5,2)
  7135. 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)})
  7136. 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)})
  7137. eff.Speed = NumberRange.new(20,250)
  7138. eff.Drag = 5
  7139. eff.Rotation = NumberRange.new(-500,500)
  7140. eff.VelocitySpread = 9000
  7141. eff.RotSpeed = NumberRange.new(-50,50)
  7142. coroutine.resume(coroutine.create(function()
  7143. wait(0.25)
  7144. eff.Enabled = false
  7145. end))
  7146. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  7147. for i = 0, 9 do
  7148. 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)
  7149. 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)
  7150. end
  7151. orb.Anchored = true
  7152. orb.Transparency = 1
  7153. local eff = Instance.new("ParticleEmitter",orb)
  7154. eff.Texture = "rbxassetid://2273224484"
  7155. eff.LightEmission = 1
  7156. eff.Color = ColorSequence.new(Color3.new(M))
  7157. eff.Rate = 500000
  7158. eff.Lifetime = NumberRange.new(0.5,2)
  7159. 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)})
  7160. 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)})
  7161. eff.Speed = NumberRange.new(20,250)
  7162. eff.Drag = 5
  7163. eff.Rotation = NumberRange.new(-500,500)
  7164. eff.VelocitySpread = 9000
  7165. eff.RotSpeed = NumberRange.new(-50,50)
  7166. coroutine.resume(coroutine.create(function()
  7167. wait(1)
  7168. eff.Enabled = false
  7169. end))
  7170. wait(8)
  7171. orb:Destroy()
  7172. end
  7173. end)
  7174. end))
  7175. for i = 0, 1, 0.1 do
  7176. swait()
  7177. 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)
  7178. 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)
  7179. 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)
  7180. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  7181. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  7182. 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)
  7183. end
  7184. attack = false
  7185. end
  7186.  
  7187.  
  7188. function BeamOfDeath()
  7189. coroutine.resume(coroutine.create(function()
  7190. attack = true
  7191. hum.WalkSpeed = 0
  7192. for i = 0, 11, 0.1 do
  7193. swait()
  7194. 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)
  7195. 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)
  7196. 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)
  7197. 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)
  7198. 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)
  7199. 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)
  7200. end
  7201. for i = 0, 1, 0.1 do
  7202. swait()
  7203. 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)
  7204. 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)
  7205. 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)
  7206. 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)
  7207. 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)
  7208. 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)
  7209. end
  7210. hum.WalkSpeed = storehumanoidWS
  7211. attack = false
  7212. end))
  7213. CFuncs["Sound"].Create("rbxassetid://430315987", char, 5, 1,0,10,0.10,0.25,1)
  7214. local radm = math.random(1,3)
  7215. if radm == 1 then
  7216. bosschatfunc("YAHHHH!!!",MAINRUINCOLOR.Color,1)
  7217. elseif radm == 2 then
  7218. bosschatfunc("TAKE THAT!!",MAINRUINCOLOR.Color,1)
  7219. elseif radm == 3 then
  7220. bosschatfunc("CONSUMED!!!",MAINRUINCOLOR.Color,1)
  7221. end
  7222. local keptcolor = MAINRUINCOLOR
  7223. local orb = Instance.new("Part", char)
  7224.         orb.BrickColor = keptcolor
  7225.         orb.CanCollide = false
  7226.         orb.FormFactor = 3
  7227.         orb.Name = "Ring"
  7228.         orb.Material = "Neon"
  7229.         orb.Size = Vector3.new(1, 1, 1)
  7230.         orb.Transparency = 1
  7231.         orb.TopSurface = 0
  7232.         orb.BottomSurface = 0
  7233.         local orbm = Instance.new("SpecialMesh", orb)
  7234.         orbm.MeshType = "Sphere"
  7235. orbm.Name = "SizeMesh"
  7236. orbm.Scale = vt(22.5,10000,22.5)
  7237. orb.CFrame = mouse.Hit
  7238. orb.Anchored = true
  7239. orb.Orientation = vt(0,0,0)
  7240. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  7241. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 0.5, 1.2)
  7242. coroutine.resume(coroutine.create(function()
  7243. coroutine.resume(coroutine.create(function()
  7244. for i = 0, 175 do
  7245. swait()
  7246. orbm.Scale = orbm.Scale - vt(0.1,0,0.1)
  7247. orb.Transparency = orb.Transparency - 0.005
  7248. end
  7249. end))
  7250. wait(2)
  7251. coroutine.resume(coroutine.create(function()
  7252. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  7253. if hfr ~= nil then
  7254.     for i = 0, 24.5 do
  7255. local deb = Instance.new("Part", char)
  7256. deb.Anchored = true
  7257. deb.CanCollide = false
  7258. deb.FormFactor = 3
  7259. deb.Name = "Ring"
  7260. deb.Material = hitfloor.Material
  7261. deb.Color = hitfloor.Color
  7262. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  7263. deb.Transparency = 0
  7264. deb.TopSurface = 0
  7265. deb.BottomSurface = 0
  7266. 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)))
  7267. local deb2 = Instance.new("Part", char)
  7268. deb2.CanCollide = false
  7269. deb2.FormFactor = 3
  7270. deb2.Name = "Ring"
  7271. deb2.Material = hitfloor.Material
  7272. deb2.Color = hitfloor.Color
  7273. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  7274. deb2.Transparency = 0
  7275. deb2.TopSurface = 0
  7276. deb2.BottomSurface = 0
  7277. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  7278. 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)))
  7279. local eff = Instance.new("ParticleEmitter",deb)
  7280. eff.Texture = "rbxassetid://363275192"
  7281. eff.LightEmission = 0.95
  7282. eff.Color = ColorSequence.new(keptcolor.Color)
  7283. eff.Rate = 100
  7284. eff.Lifetime = NumberRange.new(1)
  7285. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  7286. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7287. eff.Speed = NumberRange.new(0,5)
  7288. eff.Rotation = NumberRange.new(-500,500)
  7289. eff.VelocitySpread = 9000
  7290. eff.RotSpeed = NumberRange.new(-10,10)
  7291. local at1 = Instance.new('Attachment',deb2)
  7292. at1.Position = vt(0,15,0)
  7293. local at2 = Instance.new('Attachment',deb2)
  7294. at2.Position = vt(0,-15,0)
  7295. local tl = Instance.new('Trail',deb2)
  7296. tl.Attachment0 = at1
  7297. tl.Attachment1 = at2
  7298. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7299. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  7300. tl.Lifetime = 1
  7301. game:GetService("Debris"):AddItem(deb,30)
  7302. game:GetService("Debris"):AddItem(deb2,30)
  7303. coroutine.resume(coroutine.create(function()
  7304.     wait(15)
  7305. eff.Enabled = false
  7306.     for i = 0, 49 do
  7307.         swait()
  7308.         deb.Transparency = deb.Transparency + 0.02
  7309.     end
  7310. wait(1)
  7311.     deb:Destroy()
  7312. end))
  7313. end
  7314. end
  7315. end))
  7316. for i = 0, 199 do
  7317. swait(1.5)
  7318. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  7319. if v:FindFirstChild('Head') then
  7320. dmg(v)
  7321. end
  7322. end
  7323. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  7324. 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)
  7325. 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)
  7326. 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)
  7327. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  7328. end
  7329. orb:Destroy()
  7330. end))
  7331. end
  7332.  
  7333. function Beams()
  7334. attack = true
  7335. hum.WalkSpeed = 0
  7336. CFuncs["EchoSound"].Create("rbxassetid://1436242274", char, 8, 1,0,10,0.15,0.5,1)
  7337. CFuncs["EchoSound"].Create("rbxassetid://1436242274", root, 60, 1,0,10,0.15,0.5,1)
  7338. bosschatfunc("You'll gone..",MAINRUINCOLOR.Color,2)
  7339. local keptcolor = MAINRUINCOLOR
  7340. coroutine.resume(coroutine.create(function()
  7341. for i = 0, 96 do
  7342. swait(5)
  7343. local orb = Instance.new("Part", char)
  7344. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  7345.         orb.BrickColor = keptcolor
  7346.         orb.CanCollide = false
  7347.         orb.FormFactor = 3
  7348.         orb.Name = "Ring"
  7349.         orb.Material = "Neon"
  7350.         orb.Size = Vector3.new(1, 1, 1)
  7351.         orb.Transparency = 0
  7352.         orb.TopSurface = 0
  7353.         orb.BottomSurface = 0
  7354. orb.Anchored = true
  7355.         local orbm = Instance.new("SpecialMesh", orb)
  7356.         orbm.MeshType = "Sphere"
  7357. orbm.Name = "SizeMesh"
  7358. orbm.Scale = vt(1.25,1.25,1.25)
  7359. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  7360. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7361. coroutine.resume(coroutine.create(function()
  7362. wait(0.5)
  7363. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  7364. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7365. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7366. orb.Transparency = 1
  7367.     local a = Instance.new("Part",char)
  7368.     a.Name = "Direction"   
  7369.     a.Anchored = true
  7370.     a.BrickColor = keptcolor
  7371. a.Material = "Neon"
  7372. a.Transparency = 0.25
  7373. a.Shape = "Cylinder"
  7374.     local ht = Instance.new("Part",char)
  7375.     ht.Name = "DirectionHit"   
  7376.     ht.Anchored = true
  7377.     ht.BrickColor = keptcolor
  7378. ht.CanCollide = false
  7379. ht.Transparency = 1
  7380. ht.Size = vt(0.1,0.1,0.1)
  7381. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.6)
  7382.     a.CanCollide = false
  7383.     local ray = Ray.new(
  7384.         orb.CFrame.p,                           -- origin
  7385.         (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7386.     )
  7387.     local ignore = char
  7388.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7389.     a.BottomSurface = 10
  7390.     a.TopSurface = 10
  7391.     local distance = (orb.CFrame.p - position).magnitude
  7392.     a.Size = Vector3.new(distance,1,1)
  7393.     a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7394.     ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7395. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7396. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7397. MagniDamage(ht, 9, 30,60, 0, "Normal")
  7398. coroutine.resume(coroutine.create(function()
  7399. local eff = Instance.new("ParticleEmitter",ht)
  7400. eff.Texture = "rbxassetid://284205403"
  7401. eff.LightEmission = 0.95
  7402. eff.Color = ColorSequence.new(keptcolor.Color)
  7403. eff.Rate = 500
  7404. eff.Lifetime = NumberRange.new(0.5)
  7405. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7406. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7407. eff.Speed = NumberRange.new(10,50)
  7408. eff.Drag = 5
  7409. eff.Rotation = NumberRange.new(-500,500)
  7410. eff.VelocitySpread = 9000
  7411. eff.RotSpeed = NumberRange.new(-500,500)
  7412. wait(0.25)
  7413. eff.Enabled = false
  7414. end))
  7415. for i = 0, 4 do
  7416. 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)
  7417. 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)
  7418. local rsiz = math.random(10,30)
  7419. 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)
  7420. end
  7421. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7422. local msh = Instance.new("SpecialMesh",a)
  7423. msh.MeshType = "Cylinder"
  7424. msh.Scale = vt(1,1,1)
  7425. for i = 0, 49 do
  7426. swait()
  7427. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  7428. a.Transparency = a.Transparency + 0.02
  7429. end
  7430. orb:Destroy()
  7431. a:Destroy()
  7432. ht:Destroy()
  7433. end))
  7434. game:GetService("Debris"):AddItem(orb, 10)
  7435. end
  7436. end))
  7437.     for i = 0,6,0.1 do
  7438.         swait()
  7439. 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)
  7440.             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)
  7441. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  7442. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  7443. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  7444. 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)
  7445. 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)
  7446.     end
  7447. hum.WalkSpeed = storehumanoidWS
  7448. attack = false
  7449. end
  7450.  
  7451. function CalamityTrans()
  7452. attack = true
  7453. rainbowmode = false
  7454. chaosmode = false
  7455.                ModeOfGlitch = 8889
  7456. hum.WalkSpeed = 0
  7457. newThemeCust("rbxassetid://723652641",0,1,1.25)
  7458. local elocacenter = CreateParta(root,1,1,"SmoothPlastic",BrickColor.random())
  7459. elocacenter.Anchored = true
  7460. elocacenter.CFrame = root.CFrame
  7461. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7462. eloca1.Anchored = true
  7463. eloca1.CFrame = elocacenter.CFrame
  7464. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7465. eloca2.Anchored = true
  7466. eloca2.CFrame = elocacenter.CFrame
  7467. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7468. eloca3.Anchored = true
  7469. eloca3.CFrame = elocacenter.CFrame
  7470. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7471. eloca4.Anchored = true
  7472. eloca4.CFrame = elocacenter.CFrame
  7473. local lookavec = 0
  7474. local speeds = 0
  7475. CameraEnshaking(3,2.5)
  7476. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7477. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7478. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7479. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7480. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7481. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7482. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 10, 1)
  7483. for i = 0, 5, 0.1 do
  7484. swait()
  7485. ---
  7486. lookavec = lookavec + 1
  7487. speeds = speeds + 10
  7488. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7489. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7490. 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)
  7491. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7492. 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)
  7493. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7494. 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)
  7495. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7496. 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)
  7497. ---
  7498. 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)
  7499. 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)
  7500. 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)
  7501. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7502. 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)
  7503. 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)
  7504. end
  7505. for i = 0, 5, 0.1 do
  7506. swait()
  7507. ---
  7508. speeds = speeds + 10
  7509. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7510. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7511. 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)
  7512. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7513. 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)
  7514. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7515. 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)
  7516. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7517. 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)
  7518. ---
  7519. 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)
  7520. 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)
  7521. 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)
  7522. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7523. 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)
  7524. 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)
  7525. end
  7526. MAINRUINCOLOR = BrickColor.new("Bright violet")
  7527. CFuncs["Sound"].Create("rbxassetid://468991944", eloca1, 5, 1)
  7528. CFuncs["Sound"].Create("rbxassetid://468991944", eloca2, 5, 1)
  7529. CFuncs["Sound"].Create("rbxassetid://468991944", eloca3, 5, 1)
  7530. CFuncs["Sound"].Create("rbxassetid://468991944", eloca4, 5, 1)
  7531. CameraEnshaking(1,3)
  7532. for i = 0, 24 do
  7533. 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)
  7534. 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)
  7535. 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)
  7536. 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)
  7537. end
  7538. sphere(1,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7539. sphere(2,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7540. sphere(3,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7541. sphere(1,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7542. sphere(2,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7543. sphere(3,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7544. sphere(1,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7545. sphere(2,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7546. sphere(3,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7547. sphere(1,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7548. sphere(2,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7549. sphere(3,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7550. for i = 0, 5, 0.1 do
  7551. swait()
  7552. ---
  7553. lookavec = lookavec - 1
  7554. speeds = speeds + 10
  7555. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7556. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7557. 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)
  7558. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7559. 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)
  7560. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7561. 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)
  7562. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7563. 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)
  7564. ---
  7565. 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)
  7566. 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)
  7567. 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)
  7568. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7569. 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)
  7570. 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)
  7571. end
  7572. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7573. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7574. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7575. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7576. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7577. for i = 0, 49 do
  7578. 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)
  7579. 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)
  7580. end
  7581. CameraEnshaking(5,6)
  7582. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7583. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  7584. CFuncs["Sound"].Create("rbxassetid://741272936", root, 5, 1)
  7585. CFuncs["Sound"].Create("rbxassetid://164881112", root, 5, 1)
  7586. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 5, 1)
  7587. CFuncs["Sound"].Create("rbxassetid://429123896", root, 5, 0.85)
  7588. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 5, 1)
  7589. storehumanoidWS = 100
  7590. hum.WalkSpeed = 100
  7591. rainbowmode = false
  7592. chaosmode = false
  7593. tl1.Enabled = true
  7594. tl2.Enabled = true
  7595. tl3.Enabled = true
  7596. RecolorTextAndRename("Galactical Guest",Color3.new(10,1,1),Color3.new(0.5,0,1),"Code")
  7597. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7598. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7599. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7600. for i, v in pairs(mw2:GetChildren()) do
  7601. if v:IsA("Part") then
  7602. v.BrickColor = MAINRUINCOLOR
  7603. v.Material = "Neon"
  7604. end
  7605. end
  7606. for i, v in pairs(mw1:GetChildren()) do
  7607. if v:IsA("Part") then
  7608. v.Transparency = 0
  7609. v.BrickColor = MAINRUINCOLOR
  7610. v.Material = "Neon"
  7611. end
  7612. end
  7613. for i, v in pairs(m:GetChildren()) do
  7614. if v:IsA("Part") then
  7615. v.Color = Color3.new(0.5,0,1)
  7616. v.Material = "Neon"
  7617. end
  7618. end
  7619. for i, v in pairs(m2:GetChildren()) do
  7620. if v:IsA("Part") then
  7621. v.Color = Color3.new(0.25,0,1)
  7622. v.Material = "Neon"
  7623. end
  7624. end
  7625. for i, v in pairs(m3:GetChildren()) do
  7626. if v:IsA("Part") then
  7627. v.Color = Color3.new(0.45,0,1)
  7628. v.Material = "Neon"
  7629. end
  7630. end
  7631. for i, v in pairs(extrawingmod1:GetChildren()) do
  7632. if v:IsA("Part") then
  7633. v.Transparency = 0.75
  7634. v.Color = Color3.new(0.25,0,1)
  7635. v.Material = "Neon"
  7636. end
  7637. end
  7638. for i, v in pairs(extrawingmod2:GetChildren()) do
  7639. if v:IsA("Part") then
  7640. v.Transparency = 0.75
  7641. v.Color = Color3.new(0.5,0,1)
  7642. v.Material = "Neon"
  7643. end
  7644. end
  7645. attack = false
  7646. end
  7647.  
  7648. function InsaneTrans()
  7649. attack = true
  7650. rainbowmode = false
  7651. chaosmode = false
  7652.                ModeOfGlitch = 8889
  7653. hum.WalkSpeed = 0
  7654. newThemeCust("rbxassetid://183142252",1,1,10)
  7655. local elocacenter = CreateParta(root,1,1,"SmoothPlastic",BrickColor.random())
  7656. elocacenter.Anchored = true
  7657. elocacenter.CFrame = root.CFrame
  7658. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7659. eloca1.Anchored = true
  7660. eloca1.CFrame = elocacenter.CFrame
  7661. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7662. eloca2.Anchored = true
  7663. eloca2.CFrame = elocacenter.CFrame
  7664. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7665. eloca3.Anchored = true
  7666. eloca3.CFrame = elocacenter.CFrame
  7667. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7668. eloca4.Anchored = true
  7669. eloca4.CFrame = elocacenter.CFrame
  7670. local lookavec = 0
  7671. local speeds = 0
  7672. CameraEnshaking(3,2.5)
  7673. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7674. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7675. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7676. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7677. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7678. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7679. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 10, 1)
  7680. for i = 0, 5, 0.1 do
  7681. swait()
  7682. ---
  7683. lookavec = lookavec + 1
  7684. speeds = speeds + 10
  7685. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7686. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7687. 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)
  7688. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7689. 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)
  7690. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7691. 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)
  7692. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7693. 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)
  7694. ---
  7695. 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)
  7696. 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)
  7697. 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)
  7698. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7699. 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)
  7700. 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)
  7701. end
  7702. for i = 0, 5, 0.1 do
  7703. swait()
  7704. ---
  7705. speeds = speeds + 10
  7706. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7707. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7708. 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)
  7709. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7710. 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)
  7711. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7712. 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)
  7713. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7714. 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)
  7715. ---
  7716. 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)
  7717. 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)
  7718. 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)
  7719. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7720. 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)
  7721. 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)
  7722. end
  7723. MAINRUINCOLOR = BrickColor.new("Really black")
  7724. CFuncs["Sound"].Create("rbxassetid://468991944", eloca1, 5, 1)
  7725. CFuncs["Sound"].Create("rbxassetid://468991944", eloca2, 5, 1)
  7726. CFuncs["Sound"].Create("rbxassetid://468991944", eloca3, 5, 1)
  7727. CFuncs["Sound"].Create("rbxassetid://468991944", eloca4, 5, 1)
  7728. CameraEnshaking(1,3)
  7729. for i = 0, 24 do
  7730. 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)
  7731. 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)
  7732. 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)
  7733. 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)
  7734. end
  7735. sphere(1,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7736. sphere(2,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7737. sphere(3,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7738. sphere(1,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7739. sphere(2,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7740. sphere(3,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7741. sphere(1,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7742. sphere(2,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7743. sphere(3,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7744. sphere(1,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7745. sphere(2,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7746. sphere(3,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7747. for i = 0, 5, 0.1 do
  7748. swait()
  7749. ---
  7750. lookavec = lookavec - 1
  7751. speeds = speeds + 10
  7752. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7753. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7754. 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)
  7755. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7756. 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)
  7757. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7758. 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)
  7759. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7760. 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)
  7761. ---
  7762. 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)
  7763. 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)
  7764. 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)
  7765. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7766. 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)
  7767. 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)
  7768. end
  7769. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7770. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7771. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7772. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7773. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7774. for i = 0, 49 do
  7775. 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)
  7776. 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)
  7777. end
  7778. CameraEnshaking(5,6)
  7779. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7780. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  7781. CFuncs["Sound"].Create("rbxassetid://741272936", root, 5, 1)
  7782. CFuncs["Sound"].Create("rbxassetid://164881112", root, 5, 1)
  7783. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 5, 1)
  7784. CFuncs["Sound"].Create("rbxassetid://429123896", root, 5, 0.85)
  7785. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 5, 1)
  7786. storehumanoidWS = 100
  7787. hum.WalkSpeed = 100
  7788. rainbowmode = false
  7789. chaosmode = false
  7790. tl1.Enabled = true
  7791. tl2.Enabled = true
  7792. tl3.Enabled = true
  7793. RecolorTextAndRename("The Insane Guest",Color3.new(170,0,0),Color3.new(0,0,0),"Antique")
  7794. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7795. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7796. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7797. for i, v in pairs(mw2:GetChildren()) do
  7798. if v:IsA("Part") then
  7799. v.BrickColor = MAINRUINCOLOR
  7800. v.Material = "Neon"
  7801. end
  7802. end
  7803. for i, v in pairs(mw1:GetChildren()) do
  7804. if v:IsA("Part") then
  7805. v.Transparency = 0
  7806. v.BrickColor = MAINRUINCOLOR
  7807. v.Material = "Neon"
  7808. end
  7809. end
  7810. for i, v in pairs(m:GetChildren()) do
  7811. if v:IsA("Part") then
  7812. v.Color = Color3.new(170,0,0)
  7813. v.Material = "Neon"
  7814. end
  7815. end
  7816. for i, v in pairs(m2:GetChildren()) do
  7817. if v:IsA("Part") then
  7818. v.Color = Color3.new(0,0,0)
  7819. v.Material = "Neon"
  7820. end
  7821. end
  7822. for i, v in pairs(m3:GetChildren()) do
  7823. if v:IsA("Part") then
  7824. v.Color = Color3.new(0,0,0)
  7825. v.Material = "Neon"
  7826. end
  7827. end
  7828. for i, v in pairs(extrawingmod1:GetChildren()) do
  7829. if v:IsA("Part") then
  7830. v.Transparency = 0.75
  7831. v.Color = Color3.new(0,0,0)
  7832. v.Material = "Neon"
  7833. end
  7834. end
  7835. for i, v in pairs(extrawingmod2:GetChildren()) do
  7836. if v:IsA("Part") then
  7837. v.Transparency = 0.75
  7838. v.Color = Color3.new(0,0,0)
  7839. v.Material = "Neon"
  7840. end
  7841. end
  7842. attack = false
  7843. end
  7844.  
  7845. function GleamingBeam()
  7846. attack = true
  7847. bosschatfunc("IT ENDS NOW!!!",MAINRUINCOLOR.Color,3)
  7848. CFuncs["EchoSound"].Create("rbxassetid://1535995570", char, 8, 1,0,10,0.15,0.5,1)
  7849. CFuncs["EchoSound"].Create("rbxassetid://1535995570", root, 60, 1,0,10,0.15,0.5,1)
  7850. local rsiz = math.random(1,15)
  7851.     local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7852.     hb.Anchored = true
  7853.     hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7854.     CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  7855.     for i = 0, 16, 0.1 do
  7856.         swait()
  7857. rsiz = math.random(5,15)
  7858. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7859. 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)
  7860. 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)
  7861. 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)
  7862. 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)
  7863. 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)
  7864. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-40)),.1)
  7865. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  7866. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1)
  7867.     end
  7868.     CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  7869.     CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  7870. for i = 0, 2 do
  7871.     CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  7872. end
  7873. 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)
  7874. 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)
  7875. 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)
  7876. for i = 0, 49 do
  7877. local rsiza = math.random(1,15)
  7878. 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) 
  7879. end
  7880. local a = Instance.new("Part",Character)
  7881.     a.Name = "Direction"   
  7882.     a.Anchored = true
  7883.     a.BrickColor = MAINRUINCOLOR
  7884. a.Material = "Neon"
  7885. a.Transparency = 0
  7886. a.Shape = "Cylinder"
  7887.     a.CanCollide = false
  7888. local ba = Instance.new("Part",Character)
  7889.     ba.Name = "HitDirect"  
  7890.     ba.Anchored = true
  7891.     ba.BrickColor = bc("Cool yellow")
  7892. ba.Material = "Neon"
  7893. ba.Transparency = 1
  7894.     ba.CanCollide = false
  7895.     local ray = Ray.new(
  7896.         hb.CFrame.p,                           -- origin
  7897.         (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7898.     )
  7899.     local ignore = Character
  7900.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7901.     a.BottomSurface = 10
  7902.     a.TopSurface = 10
  7903.     local distance = (hb.CFrame.p - position).magnitude
  7904.     a.Size = Vector3.new(distance, 1, 1)
  7905.     a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7906. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7907. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7908. local msh = Instance.new("SpecialMesh",a)
  7909. msh.MeshType = "Cylinder"
  7910. msh.Scale = vt(1,4,4)
  7911. game:GetService("Debris"):AddItem(a, 30)
  7912. game:GetService("Debris"):AddItem(ba, 30)
  7913.     for i = 0, 25, 0.1 do
  7914.         swait()
  7915. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7916. ray = Ray.new(
  7917.         hb.CFrame.p,                           -- origin
  7918.         (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7919.     )
  7920. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7921. distance = (hb.CFrame.p - position).magnitude
  7922.     a.Size = Vector3.new(distance, 1, 1)
  7923.     a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7924. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7925. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7926. rsiz = math.random(5,25)
  7927.     MagniDamage(ba, 12, 40000,900000, 0, "Normal")
  7928. 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)
  7929. for c = 0, 2 do
  7930. 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)
  7931. end
  7932. 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)
  7933. 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)
  7934. 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)
  7935. 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)
  7936. 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)
  7937. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-80)),.6)
  7938. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(80)),.6)
  7939. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.6)
  7940.     end
  7941.     CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  7942.     CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  7943.     CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  7944.     CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  7945.     MagniDamage(ba, 30, 400000,9000000, 0, "Normal")
  7946. 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)
  7947. 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)
  7948. 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)
  7949. 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)
  7950. 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)
  7951. 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)
  7952. for i = 0, 49 do
  7953. local rsiza = math.random(1,15)
  7954. 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) 
  7955. end
  7956. for i = 0, 49 do
  7957. rsiz = math.random(1,8)
  7958. 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)
  7959. end
  7960. coroutine.resume(coroutine.create(function()
  7961. for i = 0, 99 do
  7962. swait()
  7963. a.Transparency = a.Transparency + 0.01
  7964. end
  7965. a:Destroy()
  7966. ba:Destroy()
  7967. end))
  7968. hb:Destroy()
  7969. attack = false
  7970. end
  7971.  
  7972. function DualGleamingBeam()
  7973. attack = true
  7974. hum.WalkSpeed = 0
  7975. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  7976. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  7977. local radm = math.random(1,3)
  7978. if radm == 1 then
  7979. bosschatfunc("YOU CAN'T ESCAPE THIS!!",MAINRUINCOLOR.Color,1)
  7980. elseif radm == 2 then
  7981. bosschatfunc("HOW DO YOU LIKE THIS?!",MAINRUINCOLOR.Color,1)
  7982. elseif radm == 3 then
  7983. bosschatfunc("You make the choice..",MAINRUINCOLOR.Color,1)
  7984. end
  7985. local rsiz = math.random(1,15)
  7986.     local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7987.     hb.Anchored = true
  7988.     hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7989.     local hb2 = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7990.     hb2.Anchored = true
  7991.     hb2.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7992.     CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  7993.     for i = 0, 14, 0.1 do
  7994.         swait()
  7995. rsiz = math.random(5,15)
  7996. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7997. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  7998. 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)
  7999. 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)
  8000. 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)
  8001. 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"))
  8002. 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)
  8003. 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)
  8004. 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)
  8005. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.1)
  8006. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(120)),.1)
  8007. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-120)),.1)
  8008.     end
  8009.     CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  8010.     CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  8011.     CFuncs["Sound"].Create("rbxassetid://1042693018", sorb2, 10,0.6)
  8012.     CFuncs["Sound"].Create("rbxassetid://1042695469", sorb2, 10,0.5)
  8013.     CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  8014.     CFuncs["Sound"].Create("rbxassetid://1042696115", sorb2, 10,1)
  8015. 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)
  8016. 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)
  8017. 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)
  8018. 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"))
  8019. 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"))
  8020. 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"))
  8021. for i = 0, 49 do
  8022. local rsiza = math.random(1,15)
  8023. 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)  
  8024. 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)
  8025. end
  8026. local a = Instance.new("Part",Character)
  8027.     a.Name = "Direction"   
  8028.     a.Anchored = true
  8029.     a.BrickColor = MAINRUINCOLOR
  8030. a.Material = "Neon"
  8031. a.Transparency = 0
  8032. a.Shape = "Cylinder"
  8033.     a.CanCollide = false
  8034. local a2 = Instance.new("Part",Character)
  8035.     a2.Name = "Direction"  
  8036.     a2.Anchored = true
  8037.     a2.BrickColor = MAINRUINCOLOR
  8038. a2.Material = "Neon"
  8039. a2.Transparency = 0
  8040. a2.Shape = "Cylinder"
  8041.     a2.CanCollide = false
  8042. local ba = Instance.new("Part",Character)
  8043.     ba.Name = "HitDirect"  
  8044.     ba.Anchored = true
  8045.     ba.BrickColor = MAINRUINCOLOR
  8046. ba.Material = "Neon"
  8047. ba.Transparency = 1
  8048.     ba.CanCollide = false
  8049. local ba2 = Instance.new("Part",Character)
  8050.     ba2.Name = "HitDirect" 
  8051.     ba2.Anchored = true
  8052.     ba2.BrickColor = MAINRUINCOLOR
  8053. ba2.Material = "Neon"
  8054. ba2.Transparency = 1
  8055.     ba2.CanCollide = false
  8056.     local ray = Ray.new(
  8057.         hb.CFrame.p,                           -- origin
  8058.         (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8059.     )
  8060.     local ignore = Character
  8061.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8062.     local ray2 = Ray.new(
  8063.         hb2.CFrame.p,                           -- origin
  8064.         (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  8065.     )
  8066.     local hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  8067.     local distance2 = (hb2.CFrame.p - position).magnitude
  8068.  
  8069.     a.BottomSurface = 10
  8070.     a.TopSurface = 10
  8071.     local distance = (hb.CFrame.p - position).magnitude
  8072.     a.Size = Vector3.new(distance, 1, 1)
  8073.     a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8074.     a2.BottomSurface = 10
  8075.     a2.TopSurface = 10
  8076.     a2.Size = Vector3.new(distance2, 1, 1)
  8077.     a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  8078. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8079. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  8080. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8081. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8082. local msh = Instance.new("SpecialMesh",a)
  8083. msh.MeshType = "Cylinder"
  8084. msh.Scale = vt(1,4,4)
  8085. local msh2 = Instance.new("SpecialMesh",a2)
  8086. msh2.MeshType = "Cylinder"
  8087. msh2.Scale = vt(1,4,4)
  8088. game:GetService("Debris"):AddItem(a, 30)
  8089. game:GetService("Debris"):AddItem(a2, 30)
  8090. game:GetService("Debris"):AddItem(ba, 30)
  8091. game:GetService("Debris"):AddItem(ba2, 30)
  8092.     for i = 0, 20, 0.1 do
  8093.         swait()
  8094. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8095. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  8096. ray = Ray.new(
  8097.         hb.CFrame.p,                           -- origin
  8098.         (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8099.     )
  8100. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8101. distance = (hb.CFrame.p - position).magnitude
  8102. ray2 = Ray.new(
  8103.         hb2.CFrame.p,                           -- origin
  8104.         (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  8105.     )
  8106. hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  8107. distance2 = (hb2.CFrame.p - position).magnitude
  8108.     a.Size = Vector3.new(distance, 1, 1)
  8109.     a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8110.     a2.Size = Vector3.new(distance2, 1, 1)
  8111.     a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  8112. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8113. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  8114. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8115. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8116. rsiz = math.random(5,25)
  8117.     MagniDamage(ba, 12, 800,18000, 0, "Normal")
  8118.     MagniDamage(ba2, 12, 800,18000, 0, "Normal")
  8119. for i, v in pairs(FindNearestHead(ba.CFrame.p, 4)) do
  8120. if v:FindFirstChild('Head') then
  8121. dmg(v)
  8122. end
  8123. end
  8124. coroutine.resume(coroutine.create(function()
  8125. local bx = Instance.new("Part",Character)
  8126. bx.Name = "Location"   
  8127. bx.Anchored = true
  8128. bx.BrickColor = MAINRUINCOLOR
  8129. bx.Material = "Neon"
  8130. bx.Transparency = 1
  8131. bx.CanCollide = false
  8132. bx.Position = ba.Position
  8133. sphere2(2,"Add",bx.CFrame,vt(20,0.5,20),0.001,0,0.001,MAINRUINCOLOR)
  8134. wait(math.random(1,2))
  8135. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.1,0,0.1,bc("Lime green"))
  8136. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.25,0,0.25,MAINRUINCOLOR)
  8137. sphere2(6,"Add",bx.CFrame,vt(10,10,10),0.5,0.5,0.5,bc("Lime green"))
  8138.     CFuncs["Sound"].Create("rbxassetid://1042693018", bx, 5,0.7)
  8139.     CFuncs["Sound"].Create("rbxassetid://1042695469", bx, 5,0.8)
  8140.     MagniDamage(bx, 20, 80000,900000, 0, "Normal")
  8141. for i, v in pairs(FindNearestHead(bx.CFrame.p, 15)) do
  8142. if v:FindFirstChild('Head') then
  8143. dmg(v)
  8144. end
  8145. end
  8146. wait(5)
  8147. bx:Destroy()
  8148. end))
  8149. 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)
  8150. 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)
  8151. for c = 0, 2 do
  8152. 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)
  8153. end
  8154. 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)
  8155. 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)
  8156. 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)
  8157. 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)
  8158. 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)
  8159. 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)
  8160. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.05)
  8161. RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-15)),.05)
  8162. LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(15)),.05)
  8163.     end
  8164. for i = 0, 1 do
  8165.     CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  8166.     CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  8167.     CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  8168.     CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  8169. end
  8170.     MagniDamage(ba, 30, 8000,180000, 0, "Normal")
  8171.     MagniDamage(ba2, 30, 8000,180000, 0, "Normal")
  8172. for i, v in pairs(FindNearestHead(ba.CFrame.p, 10)) do
  8173. if v:FindFirstChild('Head') then
  8174. dmg(v)
  8175. end
  8176. end
  8177. 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)
  8178. 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)
  8179. 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)
  8180. 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)
  8181. 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)
  8182. 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)
  8183. 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"))
  8184. 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"))
  8185. 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"))
  8186. for i = 0, 49 do
  8187. local rsiza = math.random(1,15)
  8188. 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)
  8189. 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)  
  8190. end
  8191. for i = 0, 49 do
  8192. rsiz = math.random(1,8)
  8193. 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)
  8194. end
  8195. coroutine.resume(coroutine.create(function()
  8196. for i = 0, 99 do
  8197. swait()
  8198. a.Transparency = a.Transparency + 0.01
  8199. a2.Transparency = a2.Transparency + 0.01
  8200. end
  8201. a:Destroy()
  8202. ba:Destroy()
  8203. a2:Destroy()
  8204. ba2:Destroy()
  8205. end))
  8206. hum.WalkSpeed = storehumanoidWS
  8207. hb:Destroy()
  8208. hb2:Destroy()
  8209. attack = false
  8210. end
  8211.  
  8212. function dragin()
  8213. local targetted = nil
  8214. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  8215. targetted = mouse.Target.Parent
  8216. end
  8217. if targetted ~= nil then
  8218. RootPart.CFrame = FaceMouse()[1]
  8219. attack = true
  8220. hum.WalkSpeed = 0
  8221. for x = 0, 1 do
  8222. for i = 0,1,0.5 do
  8223. swait()
  8224. 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)
  8225. 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)
  8226. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  8227. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8228. 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)
  8229. 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)
  8230. end
  8231. for i = 0,1,0.5 do
  8232. swait()
  8233. 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)
  8234. 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)
  8235. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
  8236. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8237. 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)
  8238. 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)
  8239. end
  8240. for i = 0,1,0.5 do
  8241. swait()
  8242. 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)
  8243. 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)
  8244. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(270)),.3)
  8245. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8246. 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)
  8247. 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)
  8248. end
  8249. for i = 0,1,0.5 do
  8250. swait()
  8251. 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)
  8252. 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)
  8253. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8254. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8255. 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)
  8256. 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)
  8257. end
  8258. end
  8259. coroutine.resume(coroutine.create(function()
  8260. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 50
  8261. CFuncs["Sound"].Create("rbxassetid://884155627", targetted.Head, 1,1)
  8262. CFuncs["Sound"].Create("rbxassetid://153092213", targetted.Head, 2.5,1)
  8263. end))
  8264. local A1 = Instance.new("Attachment",targetted.Head)
  8265. local A2 = Instance.new("Attachment",sorb)
  8266. local Beem = Instance.new("Beam",tors)
  8267. Beem.Attachment0 = A1
  8268. Beem.Attachment1 = A2
  8269. Beem.Texture = "rbxassetid://897585362"
  8270. Beem.LightEmission = 0.75
  8271. Beem.FaceCamera = true
  8272. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  8273. Beem.Width0 = 1
  8274. Beem.Width1 = 1
  8275. Beem.TextureMode = "Wrap"
  8276. Beem.TextureLength = 1
  8277. Beem.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8278. 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)
  8279. 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)
  8280. for x = 0, 24 do
  8281. local rsiz = math.random(5,15)
  8282. 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)
  8283. end
  8284.  
  8285. CFuncs["EchoSound"].Create("rbxassetid://1448032965", char, 7, 1,0,10,0.15,0.5,1)
  8286. CFuncs["EchoSound"].Create("rbxassetid://1448032965", root, 60, 1,0,10,0.15,0.5,1)
  8287. local radm = math.random(1,2)
  8288. if radm == 1 then
  8289. bosschatfunc("GOTCHA!!",MAINRUINCOLOR.Color,1)
  8290. elseif radm == 2 then
  8291. bosschatfunc("COM'ERE!!",MAINRUINCOLOR.Color,1)
  8292. end
  8293. for i = 0,3,0.1 do
  8294. swait()
  8295. coroutine.resume(coroutine.create(function()
  8296. local rsiz = math.random(5,15)
  8297. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  8298. 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)
  8299. end))
  8300. 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)
  8301. 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)
  8302. 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)
  8303. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
  8304. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(-50)),.6)
  8305. 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)
  8306. 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)
  8307. end
  8308. CFuncs["Sound"].Create("rbxassetid://231917750", sorb, 1.25,0.9)
  8309. CFuncs["Sound"].Create("rbxassetid://1042716828", sorb, 1.5,1)
  8310. local vel = Instance.new("BodyPosition", targetted.Head)
  8311. vel.P = 12500
  8312. vel.D = 1000
  8313. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  8314. vel.position = hed.CFrame.p + root.CFrame.lookVector*2.75
  8315. for i = 0,4,0.1 do
  8316. swait()
  8317. coroutine.resume(coroutine.create(function()
  8318. local rsiz = math.random(5,15)
  8319. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  8320. 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)
  8321. end))
  8322. 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)
  8323. 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)
  8324. 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)
  8325. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  8326. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(40)),.2)
  8327. 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)
  8328. 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)
  8329. end
  8330. local visibility = 0
  8331. coroutine.resume(coroutine.create(function()
  8332. for i = 0, 49 do
  8333. swait()
  8334. visibility = visibility + 0.02
  8335. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, visibility),NumberSequenceKeypoint.new(1, visibility)})
  8336. end
  8337. Beem:Destroy()
  8338. A1:Destroy()
  8339. A2:Destroy()
  8340. end))
  8341. game:GetService("Debris"):AddItem(vel,0.75)
  8342. attack = false
  8343. hum.WalkSpeed = storehumanoidWS
  8344.  
  8345. end
  8346. end
  8347.  
  8348. function hugg()
  8349. attack = true
  8350. hum.WalkSpeed = 5
  8351. local rsiz = math.random(5,15)
  8352. for i = 0, 2, 0.1 do
  8353. swait()
  8354. 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)
  8355. 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)
  8356. 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)
  8357. 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)
  8358. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3)
  8359. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3)
  8360. end
  8361. CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
  8362.     local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8363.     hb.Anchored = true
  8364.     hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8365. local huggedperson = nil
  8366. local act = false
  8367. local alreadydid = false
  8368. for i = 0, 3, 0.1 do
  8369. swait()
  8370. if act == false then
  8371. for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do
  8372. if v:FindFirstChild('Head') then
  8373. if alreadydid == false then
  8374. huggedperson = v
  8375. hum.WalkSpeed = 0
  8376. CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
  8377. CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
  8378. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
  8379. CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
  8380. local radm = math.random(1,3)
  8381. if radm == 1 then
  8382. bosschatfunc("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1)
  8383. elseif radm == 2 then
  8384. bosschatfunc("I..I'm interested in you",MAINRUINCOLOR.Color,1)
  8385. elseif radm == 3 then
  8386. bosschatfunc("Don't worry.. I'm with you",MAINRUINCOLOR.Color,1)
  8387. end
  8388. root.Anchored = true
  8389. coroutine.resume(coroutine.create(function()
  8390. huggedperson.Humanoid.WalkSpeed = 0
  8391. huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
  8392. end))
  8393. --chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
  8394. alreadydid = true
  8395. act = true
  8396. print(huggedperson.Name)
  8397. end
  8398. end
  8399. end
  8400. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8401. 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)
  8402. elseif act == true then
  8403. coroutine.resume(coroutine.create(function()
  8404. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8405. end))
  8406. rsiz = math.random(5,15)
  8407. 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)
  8408. 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)
  8409. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8410. end
  8411. 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)
  8412. 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)
  8413. 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)
  8414. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8415. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8416. end
  8417. hb:Destroy()
  8418. if act == true then
  8419. for x = 0, 2 do
  8420. for i = 0, 2, 0.1 do
  8421. swait()
  8422. coroutine.resume(coroutine.create(function()
  8423. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8424. end))
  8425. rsiz = math.random(5,15)
  8426. 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)
  8427. 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)
  8428. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8429. 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)
  8430. 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)
  8431. 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)
  8432. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8433. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8434. end
  8435. for i = 0, 2, 0.1 do
  8436. swait()
  8437. coroutine.resume(coroutine.create(function()
  8438. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8439. end))
  8440. rsiz = math.random(5,15)
  8441. 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)
  8442. 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)
  8443. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8444. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  8445. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
  8446. 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)
  8447. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8448. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8449. end
  8450. end
  8451. end
  8452. hum.WalkSpeed = storehumanoidWS
  8453. root.Anchored = false
  8454. if act == true then
  8455. coroutine.resume(coroutine.create(function()
  8456. huggedperson.Humanoid.WalkSpeed = 16
  8457. huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
  8458. end))
  8459. end
  8460. hum.WalkSpeed = storehumanoidWS
  8461. attack = false
  8462. end
  8463.  
  8464. function Counter()
  8465.     hum.WalkSpeed = 0
  8466. CFuncs["EchoSound"].Create("rbxassetid://2370794297", char, 5, 1,0,10,0.15,0.5,1)
  8467. CFuncs["EchoSound"].Create("rbxassetid://2370794297", root, 60, 1,0,10,0.15,0.5,1)
  8468. bosschatfunc("COUNTER!!",MAINRUINCOLOR.Color,1)
  8469.     attack = true
  8470.     for i = 0,1,0.1 do
  8471.         swait()
  8472.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8473. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8474. 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)
  8475. 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)
  8476. 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)
  8477. 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)
  8478.     end
  8479. CameraEnshaking(3,4)
  8480. MagniDamageWithEffect(root, 24, 0,0, 75, "Normal")
  8481. 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)
  8482. 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)
  8483. 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)
  8484. coroutine.resume(coroutine.create(function()
  8485. local eff = Instance.new("ParticleEmitter",root)
  8486. eff.Texture = "rbxassetid://363275192"
  8487. eff.LightEmission = 0.95
  8488. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8489. eff.Rate = 10000
  8490. eff.Lifetime = NumberRange.new(1)
  8491. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  8492. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  8493. eff.Speed = NumberRange.new(10,125)
  8494. eff.Drag = 5
  8495. eff.Rotation = NumberRange.new(-500,500)
  8496. eff.VelocitySpread = 9000
  8497. eff.RotSpeed = NumberRange.new(-50,50)
  8498. local eff2 = eff:Clone()
  8499. eff2.Parent = root
  8500. eff2.Texture = "rbxassetid://284205403"
  8501. eff2.Rate = 10000
  8502. 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)})
  8503. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  8504. eff2.Drag = 5
  8505. eff2.Speed = NumberRange.new(10,50)
  8506. eff2.Rotation = NumberRange.new(-500,500)
  8507. eff2.VelocitySpread = 9000
  8508. wait(0.25)
  8509. eff2.Enabled = false
  8510. eff.Enabled = false
  8511. wait(3)
  8512. eff2:Destroy()
  8513. eff:Destroy()
  8514. end))
  8515. for i = 0, 9 do
  8516. 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)
  8517. end
  8518. for i = 0, 24 do
  8519. local rsiz = math.random(5,20)
  8520. 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)
  8521. end
  8522. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  8523. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  8524. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  8525.     for i = 0,2,0.1 do
  8526.         swait()
  8527.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8528. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8529. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8530. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8531. 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)
  8532. 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)
  8533.     end
  8534.     hum.WalkSpeed = storehumanoidWS
  8535. attack = false
  8536. end
  8537.  
  8538. function superjump()
  8539. attack = true
  8540. hum.WalkSpeed = 0
  8541. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  8542. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  8543. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7.5, 1)
  8544. for i = 0, 2, 0.1 do
  8545.         swait()
  8546. root.Velocity = vt(0,0,0)
  8547. 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"))
  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(40)),.4)
  8550. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,-1)*angles(math.rad(20),math.rad(0),math.rad(0)),.4)
  8551. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(0)),.4)
  8552. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(40)),.4)
  8553. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(-40)),.4)
  8554. end
  8555. MagniDamage(root, 28, 25,50, 25, "Normal")
  8556. CFuncs["Sound"].Create("rbxassetid://477843807", char, 17, 1.05)
  8557. hum.Jump = true
  8558. swait()
  8559. root.Velocity = vt(0,250,0) + root.CFrame.lookVector*250
  8560. 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)
  8561. 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)
  8562. CFuncs["Sound"].Create("rbxassetid://1295446488", root, 10, 1)
  8563. for i = 0, 3, 0.1 do
  8564.         swait()
  8565. 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)
  8566. 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)
  8567. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.75,0)*angles(math.rad(40),math.rad(0),math.rad(0)),.4)
  8568. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.4)
  8569. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(20)),.4)
  8570. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.4)
  8571. end
  8572. attack = false
  8573. if equipped == false then
  8574. hum.WalkSpeed = 16
  8575. else
  8576. hum.WalkSpeed = 24
  8577. end
  8578. end
  8579.  
  8580.  
  8581. -------------------------------------
  8582.  
  8583.  
  8584.  
  8585. Humanoid.Animator.Parent = nil
  8586.  
  8587.  
  8588.  
  8589. -------------------------------------
  8590.  
  8591. local attacktype = 1
  8592. mouse.Button1Down:connect(function()
  8593.   if attack == false and attacktype == 1 then
  8594.     attacktype = 2
  8595.     attackone()
  8596.   elseif attack == false and attacktype == 2 then
  8597.     attacktype = 3
  8598.     attacktwo()
  8599.   elseif attack == false and attacktype == 3 then
  8600.     attacktype = 1
  8601.     attackthree()
  8602.   elseif attack == false and attacktype == 4 then
  8603.     attacktype = 1
  8604.     --attackfour()
  8605.   end
  8606. end)
  8607. mouse.KeyDown:connect(function(k)
  8608. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  8609. --normalmog()
  8610. ModeOfGlitch = 1
  8611. storehumanoidWS = 16
  8612. hum.WalkSpeed = 16
  8613. rainbowmode = false
  8614. chaosmode = false
  8615. newTheme("rbxassetid://367339030",48.6,1,0.85)
  8616. RecolorTextAndRename("Hopeless Guest",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  8617. MAINRUINCOLOR = BrickColor.new("Really red")
  8618. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  8619. end
  8620. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  8621. ModeOfGlitch = 2
  8622. storehumanoidWS = 16
  8623. hum.WalkSpeed = 16
  8624. rainbowmode = false
  8625. chaosmode = false
  8626. RecolorTextAndRename("Serene Guest",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  8627. newTheme("rbxassetid://1539245059",0,1,0.85)
  8628. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  8629. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8630. end
  8631. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  8632.                ModeOfGlitch = 3
  8633. storehumanoidWS = 14
  8634. hum.WalkSpeed = 14
  8635. rainbowmode = false
  8636. chaosmode = false
  8637. RecolorTextAndRename("Stable Guest",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  8638. newTheme("rbxassetid://367339030",58.15,0.98,1)
  8639. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8640. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8641. end
  8642. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  8643.                ModeOfGlitch = 4
  8644. storehumanoidWS = 14
  8645. hum.WalkSpeed = 14
  8646. rainbowmode = false
  8647. chaosmode = true
  8648. RecolorTextAndRename("F.a.l.l.e.n G.u.e.s.t",Color3.new(0,0,0),Color3.new(1,1,1),"Antique")
  8649. newTheme("rbxassetid://2203914587",10,1.01,0.85)
  8650. MAINRUINCOLOR = BrickColor.new("Crimson")
  8651. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8652. end
  8653. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  8654.                ModeOfGlitch = 5
  8655. storehumanoidWS = 14
  8656. hum.WalkSpeed = 14
  8657. rainbowmode = false
  8658. chaosmode = false
  8659. RecolorTextAndRename("Divine Guest",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  8660. newTheme("rbxassetid://661079869",0,1.02,0.85)
  8661. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  8662. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8663. end
  8664. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  8665.                ModeOfGlitch = 6
  8666. storehumanoidWS = 65
  8667. hum.WalkSpeed = 65
  8668. rainbowmode = false
  8669. chaosmode = false
  8670. RecolorTextAndRename("Justice Guest",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  8671. newTheme("rbxassetid://1347011178",0,1.01,0.85)
  8672. MAINRUINCOLOR = BrickColor.new("White")
  8673. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8674. end
  8675. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  8676.                ModeOfGlitch = 8
  8677. storehumanoidWS = 100
  8678. hum.WalkSpeed = 100
  8679. rainbowmode = false
  8680. chaosmode = false
  8681. RecolorTextAndRename("Destinal Guest",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  8682. newTheme("rbxassetid://919231299",0,1.01,0.85)
  8683. MAINRUINCOLOR = BrickColor.new("Alder")
  8684. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8685. end
  8686. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  8687.                ModeOfGlitch = 9
  8688. storehumanoidWS = 85
  8689. hum.WalkSpeed = 85
  8690. rainbowmode = false
  8691. chaosmode = false
  8692. RecolorTextAndRename("Infected Guest",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  8693. newTheme("rbxassetid://879189331",0,1.01,0.85)
  8694. MAINRUINCOLOR = BrickColor.new("Br. yellowish green")
  8695. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8696. end
  8697. if k == "h" and attack == false and ModeOfGlitch ~= 5555 then
  8698.                ModeOfGlitch = 5555
  8699. storehumanoidWS = 30
  8700. hum.WalkSpeed = 30
  8701. rainbowmode = false
  8702. chaosmode = false
  8703. RecolorTextAndRename("Love Guest",Color3.new(1,1,1),BrickColor.new("Hot pink").Color,"Arcade")
  8704. newTheme("rbxassetid://736003449",0,1,1.25)
  8705. MAINRUINCOLOR = BrickColor.new("Hot pink")
  8706. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8707. end
  8708. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  8709. CalamityTrans()
  8710. end
  8711. if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 8889 then
  8712. InsaneTrans()
  8713. end
  8714. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  8715.                ModeOfGlitch = 55469696922
  8716. storehumanoidWS = 95
  8717. hum.WalkSpeed = 95
  8718. rainbowmode = false
  8719. chaosmode = false
  8720. RecolorTextAndRename("Nanodeath Guest",Color3.new(0.25,0,0.1),BrickColor.new("Hot pink").Color,"Antique")
  8721. newTheme("rbxassetid://919231299",0,1.005,0.9)
  8722. MAINRUINCOLOR = BrickColor.new("Hot pink")
  8723. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8724. end
  8725. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  8726.                ModeOfGlitch = 4367677813
  8727. storehumanoidWS = 75
  8728. hum.WalkSpeed = 75
  8729. rainbowmode = false
  8730. chaosmode = false
  8731. RecolorTextAndRename("Mysterious Guest",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  8732. newTheme("rbxassetid://919231299",0,1.01,0.95)
  8733. MAINRUINCOLOR = BrickColor.new("Baby blue")
  8734. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8735. end
  8736. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  8737.                ModeOfGlitch = 9999999921111
  8738. storehumanoidWS = 145
  8739. hum.WalkSpeed = 145
  8740. rainbowmode = false
  8741. chaosmode = false
  8742. RecolorTextAndRename("Omega Guest",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  8743. newTheme("rbxassetid://643309199",0,1.01,1)
  8744. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  8745. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8746. end
  8747. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  8748.                ModeOfGlitch = 999999999556
  8749. storehumanoidWS = 115
  8750. hum.WalkSpeed = 115
  8751. rainbowmode = false
  8752. chaosmode = false
  8753. RecolorTextAndRename("Crazy Game",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
  8754. newTheme("rbxassetid://719008519",0,1.02,0.85)
  8755. MAINRUINCOLOR = BrickColor.new("Navy blue")
  8756. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8757. end
  8758. if k == "m" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 12 then
  8759.                ModeOfGlitch = 12
  8760. storehumanoidWS = 19
  8761. hum.WalkSpeed = 19
  8762. rainbowmode = false
  8763. chaosmode = false
  8764. print'Mode was meant for Vengeful Program or those other fans out there'
  8765. RecolorTextAndRename("Neptunia Guest",BrickColor.new("Royal purple").Color,BrickColor.new("Bright blue").Color,"SciFi")
  8766. newTheme("rbxassetid://1873219898",0,1,1.7)
  8767. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8768. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8769. end
  8770.  
  8771. if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 50 then
  8772. sphere(0.9,"Add",root.CFrame,vt(0,100000,0),1,BrickColor.new("Institutional white"))
  8773. for i = 0, 49 do
  8774. 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)
  8775. end
  8776. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8777. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8778. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8779. hum.WalkSpeed = storehumanoidWS
  8780. attack = false
  8781.     ModeOfGlitch = 50
  8782. storehumanoidWS = 18
  8783. hum.WalkSpeed = 18
  8784. rainbowmode = false
  8785. chaosmode = false
  8786. RecolorTextAndRename("EnBelived",BrickColor.new("Institutional white").Color,BrickColor.new("Institutional white").Color,"Arcade")
  8787. newTheme("rbxassetid://435773595",0,1.01,1.5)
  8788. MAINRUINCOLOR = BrickColor.new("Institutional white")
  8789. RecolorThing(MAINRUINCOLOR,BrickColor.new("Institutional white"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8790. end
  8791.  
  8792. if k == "m" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 66 then
  8793.     hum.WalkSpeed = 0
  8794.     attack = true
  8795.     for i = 0,1,0.1 do
  8796.         swait()
  8797.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8798. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8799. 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)
  8800. 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)
  8801. 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)
  8802. 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)
  8803.     end
  8804. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8805. for i = 0, 148 do
  8806. 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)
  8807. end
  8808. for i = 0,3,0.1 do
  8809. 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)
  8810. end
  8811. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8812. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8813. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8814.     hum.WalkSpeed = storehumanoidWS
  8815. attack = false
  8816.     ModeOfGlitch = 66
  8817. storehumanoidWS = 16
  8818. hum.WalkSpeed = 16
  8819. rainbowmode = false
  8820. chaosmode = false
  8821. newTheme("rbxassetid://"..ast[Mrandom(1,2)],0,1,1.35)
  8822. MAINRUINCOLOR = BrickColor.new("Really black")
  8823. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8824.     for i = 0,2,0.1 do
  8825.         swait()
  8826. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8827. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8828. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8829. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8830. 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)
  8831. 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)
  8832.     end
  8833. end
  8834.  
  8835. if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 13 then
  8836.     hum.WalkSpeed = 0
  8837.     attack = true
  8838.     for i = 0,1,0.1 do
  8839.         swait()
  8840.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8841. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8842. 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)
  8843. 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)
  8844. 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)
  8845. 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)
  8846.     end
  8847. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8848. for i = 0, 49 do
  8849. 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)
  8850. end
  8851. for i = 0,3,0.1 do
  8852. 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)
  8853. end
  8854. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8855. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8856. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8857.     hum.WalkSpeed = storehumanoidWS
  8858. attack = false
  8859.     ModeOfGlitch = 13
  8860. storehumanoidWS = 45
  8861. hum.WalkSpeed = 45
  8862. rainbowmode = false
  8863. chaosmode = false
  8864. RecolorTextAndRename("Judicial Guest",BrickColor.new("Dark stone grey").Color,BrickColor.new("Light blue").Color,"Bodoni")
  8865. newTheme("rbxassetid://190845741",0,1,1.35)
  8866. MAINRUINCOLOR = BrickColor.new("Dark stone grey")
  8867. RecolorThing(MAINRUINCOLOR,BrickColor.new("Light blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8868.     for i = 0,2,0.1 do
  8869.         swait()
  8870. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8871. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8872. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8873. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8874. 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)
  8875. 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)
  8876.     end
  8877. end
  8878. if k == "j" and attack == false and ModeOfGlitch ~= 1002 then
  8879.                ModeOfGlitch = 1002
  8880. storehumanoidWS = 45
  8881. hum.WalkSpeed = 45
  8882. rainbowmode = false
  8883. chaosmode = false
  8884. RecolorTextAndRename("Pixeled Guest",BrickColor.new("Really black").Color,BrickColor.new("Dark blue").Color,"Code")
  8885. newTheme("rbxassetid://2027652726",0,1,0.85)
  8886. MAINRUINCOLOR = BrickColor.new("Dark blue")
  8887. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8888. end
  8889. if k == "k" and attack == false and ModeOfGlitch ~= 1003 then
  8890.                ModeOfGlitch = 1003
  8891. storehumanoidWS = 90
  8892. hum.WalkSpeed = 90
  8893. rainbowmode = false
  8894. chaosmode = false
  8895. RecolorTextAndRename("A.s.c.e.n.d.e.d G.u.e.s.t",BrickColor.new("White").Color,BrickColor.new("Bright yellow").Color,"Code")
  8896. newTheme("rbxassetid://257453119",0,1,0.85)
  8897. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  8898. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8899. end
  8900. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  8901.                ModeOfGlitch = 1264532489
  8902. storehumanoidWS = 175
  8903. hum.WalkSpeed = 175
  8904. rainbowmode = false
  8905. chaosmode = false
  8906. RecolorTextAndRename("Fallenx Guest",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  8907. newTheme("rbxassetid://1505487022",0,1.01,1.25)
  8908. MAINRUINCOLOR = BrickColor.new("Pastel green")
  8909. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8910. end
  8911. if k == "l" and mutedtog == false then
  8912. mutedtog = true
  8913. kan.Volume = 0.85
  8914. elseif k == "l" and mutedtog == true then
  8915. mutedtog = false
  8916. kan.Volume = 0.85
  8917. end
  8918. if k == "p" and toggleTag == false then
  8919. toggleTag = true
  8920. modet.TextTransparency = 0
  8921. modet.TextStrokeTransparency = 0
  8922. elseif k == "p" and toggleTag == true then
  8923. toggleTag = false
  8924. modet.TextTransparency = 1
  8925. modet.TextStrokeTransparency = 1
  8926. end
  8927. if k == "z" and attack == false and ModeOfGlitch == 1 then
  8928. ExtinctiveHeartbreak()
  8929. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  8930. HeavenlyDisk()
  8931. elseif k == "z" and attack == false and ModeOfGlitch == 9 then
  8932. DualGleamingBeam()
  8933. elseif k == "c" and attack == false and ModeOfGlitch == 9 then
  8934. BanishingOrb()
  8935. elseif k == "z" and attack == false and ModeOfGlitch == 5555 then
  8936. hugg()
  8937. elseif k == "b" and attack == false and ModeOfGlitch == 55469696922 then
  8938. cutesigh()
  8939. elseif k == "v" and attack == false and ModeOfGlitch == 55469696922 then
  8940. Counter()
  8941. elseif k == "v" and attack == false and ModeOfGlitch == 12 then
  8942. superjump()
  8943. elseif k == "v" and attack == false and ModeOfGlitch == 9999999921111 then
  8944. dragin()
  8945. elseif k == "x" and attack == false and ModeOfGlitch == 8889 then
  8946. UniversalCollapse()
  8947. elseif k == "c" and attack == false and ModeOfGlitch == 2 then
  8948. PureBomb()
  8949. elseif k == "z" and attack == false and ModeOfGlitch == 999999999556 then
  8950. Beams()
  8951. elseif k == "x" and attack == false and ModeOfGlitch == 55469696922 then
  8952. BeamOfDeath()
  8953. elseif k == "v" and attack == false and ModeOfGlitch == 8 then
  8954. THE_TRUE_POWER_OF_VIOLENCE()
  8955. elseif k == "z" and attack == false and ModeOfGlitch == 8 then
  8956. GleamingBeam()
  8957. elseif k == "x" and attack == false and ModeOfGlitch == 5 then
  8958. ViolentRing()
  8959. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  8960. CorruptionEvent()
  8961. elseif k == "v" and attack == false and ModeOfGlitch == 3 then
  8962. CorruptBlink()
  8963. elseif k == "c" and attack == false and ModeOfGlitch == 3 then
  8964. scattercorrupt()
  8965. elseif k == "b" and attack == false and ModeOfGlitch == 5555 then
  8966. shytaunty()
  8967. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  8968. RapidBurst()
  8969. elseif k == "z" and attack == false and ModeOfGlitch == 8889 then
  8970. InsaneDrop()
  8971. wait(2)
  8972. ChaosEND()
  8973. elseif k == "x" and attack == false and ModeOfGlitch == 4 then
  8974. ChaosEND()
  8975. elseif k == "c" and attack == false and ModeOfGlitch == 9999999921111 then
  8976. CyberSlash()
  8977. elseif k == "z" and attack == false and ModeOfGlitch == 4367677813 then
  8978. smiter()
  8979. elseif k == "z" and attack == false and ModeOfGlitch == 1002 then
  8980. SpeedDrop()
  8981. elseif k == "v" and attack == false and ModeOfGlitch == 5 then
  8982. --DivineLights()
  8983. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  8984. DivineBlast()
  8985. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  8986. EquinoxOrbs()
  8987. elseif k == "v" and attack == false and ModeOfGlitch == 6 then
  8988. yinyangi()
  8989. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  8990. FallenOrbs()
  8991. elseif k == "z" and attack == false and ModeOfGlitch == 1003 then
  8992. StarfallEX()
  8993. end
  8994. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  8995. FallenDEMISE()
  8996. end
  8997. if k == "x" and attack == false and ModeOfGlitch == 1 then
  8998. EndGROUND()
  8999. end
  9000. end)
  9001.  
  9002. coroutine.resume(coroutine.create(function()
  9003. while true do
  9004. swait()
  9005. 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
  9006. 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)
  9007. end
  9008. if ModeOfGlitch == 5555 then
  9009. 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)
  9010. end
  9011. end
  9012. end))
  9013. --[[coroutine.resume(coroutine.create(function()
  9014. while true do
  9015. swait(2)
  9016. if chaosmode == true then
  9017. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9018. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9019. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9020. RecolorTextAndRename("F.a.l.l.e.n G.u.e.s.t",Color3.new(0,0,0),BrickColor.random().Color,"Antique")
  9021. for i, v in pairs(mw1:GetChildren()) do
  9022. if v:IsA("Part") then
  9023. v.Transparency = 0.75
  9024. v.BrickColor = BrickColor.random()
  9025. v.Material = "Neon"
  9026. end
  9027. end
  9028. for i, v in pairs(m2:GetChildren()) do
  9029. if v:IsA("Part") then
  9030. v.BrickColor = BrickColor.random()
  9031. v.Material = "Neon"
  9032. end
  9033. end
  9034. end
  9035. end
  9036. end))]]
  9037.  
  9038.  
  9039.  
  9040. ff = Instance.new("ForceField",char)
  9041. ff.Visible = false
  9042. hum.Name = "Base"
  9043. hum.MaxHealth = 1.0E298
  9044. hum.Health = 1.0E298
  9045. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  9046.   if hum.Health > 0.1 and hum.Health < 1.0E298 then
  9047.     hum.MaxHealth = 1.0E298
  9048.     hum.Health = 1.0E298
  9049.   end
  9050. end)
  9051.  
  9052. local Hair = Instance.new("Part", char)
  9053. Hair.Name = "Hair"
  9054. Hair.CanCollide = false
  9055. Hair.BrickColor = BrickColor.new("Institutional white")
  9056. Hair.Transparency = 0
  9057. Hair.Material = "Plastic"
  9058. Hair.Size = Vector3.new(1, 1, 2)
  9059. Hair.TopSurface = Enum.SurfaceType.Smooth
  9060. Hair.BottomSurface = Enum.SurfaceType.Smooth
  9061.  
  9062.  
  9063. local bguis = Instance.new("BillboardGui",tors)
  9064. bguis.Size = UDim2.new(25, 0, 25, 0)
  9065. local imgca = Instance.new("ImageLabel",bguis)
  9066. imgca.BackgroundTransparency = 1
  9067. imgca.ImageTransparency = 1
  9068. imgca.Size = UDim2.new(1,0,1,0)
  9069. imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
  9070. imgca.ImageColor3 = Color3.new(0,0,0)
  9071.  
  9072.  
  9073. local bguis2 = Instance.new("BillboardGui",tors)
  9074. bguis2.Size = UDim2.new(25, 0, 25, 0)
  9075. local imgca2 = Instance.new("ImageLabel",bguis)
  9076. imgca2.BackgroundTransparency = 1
  9077. imgca2.ImageTransparency = 1
  9078. imgca2.Size = UDim2.new(1,0,1,0)
  9079. imgca2.Image = "rbxassetid://2406462507" --997291547,521073910,2312119891
  9080. imgca2.ImageColor3 = Color3.new(0,0,0)
  9081.  
  9082.  
  9083.  
  9084. idleanim=.4
  9085. while true do
  9086. if mutedtog == false then
  9087. kan.Volume = currentVol
  9088. elseif mutedtog == true then
  9089. kan.Volume = 0
  9090. end
  9091. kan.PlaybackSpeed = currentPitch
  9092. kan.Pitch = currentPitch
  9093. kan.SoundId = currentThemePlaying
  9094. kan.Looped = true
  9095. kan.Parent = char
  9096. kan:Resume()
  9097. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 13 then
  9098. imgca.ImageTransparency = 1
  9099. imgca2.ImageTransparency = 1
  9100. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  9101. imgca.ImageColor3 = MAINRUINCOLOR.Color
  9102. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9103. elseif ModeOfGlitch == 13 then
  9104. imgca2.ImageColor3 = MAINRUINCOLOR.Color
  9105. imgca2.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9106. end
  9107. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  9108. bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9109. imgca2.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/60
  9110. bguis2.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9111. coroutine.resume(coroutine.create(function()
  9112.     if chaosmode == true then
  9113. for i, v in pairs(mw1: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. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9121. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9122. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9123.     RecolorTextAndRename("F.a.l.l.e.n G.u.e.s.t",Color3.new(0,0,0),BrickColor.random().Color,"Antique")
  9124.     end
  9125. end))
  9126. coroutine.resume(coroutine.create(function()
  9127.     if ModeOfGlitch == 66 then
  9128.         for i, v in pairs(m:GetChildren()) do
  9129. if v:IsA("Part") then
  9130. v.Transparency = 0
  9131. v.BrickColor = BrickColor.random()
  9132. v.Material = "Neon"
  9133. end
  9134. end
  9135.         for i, v in pairs(m2:GetChildren()) do
  9136. if v:IsA("Part") then
  9137. v.Transparency = 0
  9138. v.BrickColor = BrickColor.random()
  9139. v.Material = "Neon"
  9140. end
  9141. end
  9142. for i, v in pairs(mw1:GetChildren()) do
  9143. if v:IsA("Part") then
  9144. v.Transparency = 0
  9145. v.BrickColor = BrickColor.random()
  9146. v.Material = "Neon"
  9147. end
  9148. end
  9149. for i, v in pairs(extrawingmod1:GetChildren()) do
  9150. if v:IsA("Part") then
  9151. v.Transparency = 0.5
  9152. v.BrickColor = BrickColor.random()
  9153. v.Material = "Neon"
  9154. end
  9155. end
  9156. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9157. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9158. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9159. gane.Color = ColorSequence.new(BrickColor.random().Color)
  9160. gan.Color = ColorSequence.new(BrickColor.random().Color)
  9161. end
  9162. end))
  9163.  
  9164. coroutine.resume(coroutine.create(function()
  9165.     if ModeOfGlitch == 66 then
  9166. RecolorTextAndRename("S N A P P E D G U E S T",BrickColor.random().Color,Color3.new(0,0,0),"Garamond")
  9167.     end
  9168.     end))
  9169.  
  9170. if chaosmode == false then
  9171. modet.Position = UDim2.new(0,0,0,0)
  9172. modet.Rotation = -5 * math.cos(sine / 32)
  9173. techc.Rotation = techc.Rotation + 1
  9174. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/200 - 1
  9175. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/175 + 1
  9176. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/175 + 1
  9177. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/150 - 1
  9178. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  9179. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  9180. else
  9181.     techc.Rotation = techc.Rotation + 1
  9182. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  9183. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  9184. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  9185. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  9186. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  9187. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  9188. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  9189. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  9190. end
  9191. CameraManager()
  9192. swait()
  9193. 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)
  9194. 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)
  9195. 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)
  9196. 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)
  9197. 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)
  9198. 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)
  9199. 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)
  9200. 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)
  9201. 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)
  9202. 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)
  9203. 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)
  9204. 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)
  9205.  sine = sine + change
  9206. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  9207. local velderp=RootPart.Velocity.y
  9208. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  9209. coroutine.resume(coroutine.create(function()
  9210. 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
  9211. if hitfloor ~= nil then
  9212. 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"))
  9213. if ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 13 then
  9214. 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)
  9215. end
  9216. end
  9217. end
  9218. end))
  9219. if equipped==true or equipped==false then
  9220. if attack==false then
  9221. idle=idle+1
  9222. else
  9223. idle=0
  9224. end
  9225. if idle>=500 then
  9226. if attack==false then
  9227. --Sheath()
  9228. end
  9229. end
  9230. if RootPart.Velocity.y > 1 and hitfloor==nil then
  9231. Anim="Jump"
  9232. if attack==false then
  9233. 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)
  9234. 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)
  9235. 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)
  9236. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  9237. 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)
  9238. 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)
  9239. end
  9240. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  9241. Anim="Fall"
  9242. if attack==false then
  9243. 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)
  9244. 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)
  9245. 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)
  9246. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  9247. 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)
  9248. 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)
  9249. end
  9250. elseif torvel<1 and hitfloor~=nil then
  9251. Anim="Idle"
  9252. if attack==false then
  9253. if ModeOfGlitch == 1 then
  9254. local snap = math.random(1,10)
  9255. if snap == 1 then
  9256. 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)
  9257. end
  9258. 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)
  9259. 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)
  9260. 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)
  9261. 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)
  9262. 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)
  9263. 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)
  9264. elseif ModeOfGlitch == 2 then
  9265. 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)
  9266. 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)
  9267. 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)
  9268. 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)
  9269. 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)
  9270. 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)
  9271. elseif ModeOfGlitch == 2 then
  9272. 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)
  9273. 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)
  9274. 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)
  9275. 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)
  9276. 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)
  9277. 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)
  9278. elseif ModeOfGlitch == 50 then
  9279. 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)
  9280. 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)
  9281. 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)
  9282. 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)
  9283. 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)
  9284. 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)
  9285. elseif ModeOfGlitch == 5555 then --5555
  9286. 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)
  9287. 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)
  9288. 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)
  9289. 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)
  9290. 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)
  9291. 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)
  9292. elseif ModeOfGlitch == 1002 then
  9293. 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)
  9294. 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)
  9295. 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)
  9296. 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)
  9297. 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)
  9298. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
  9299. elseif ModeOfGlitch == 12 then
  9300. 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)
  9301. 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)
  9302. 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)
  9303. 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)
  9304. 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)
  9305. 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)
  9306. elseif ModeOfGlitch == 3 then
  9307. local snap = math.random(1,32)
  9308. if snap == 1 then
  9309. 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)
  9310. end
  9311. 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)
  9312. 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)
  9313. 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)
  9314. 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)
  9315. 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)
  9316. 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)
  9317. elseif ModeOfGlitch == 4 then
  9318. local snap = math.random(1,5)
  9319. if snap == 1 then
  9320. 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)
  9321. 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)
  9322. 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)
  9323. end
  9324. 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)
  9325. 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)
  9326. 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)
  9327. 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)
  9328. 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)
  9329. 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)
  9330. elseif ModeOfGlitch == 66 then
  9331. local snap = math.random(1,2)
  9332. if snap == 1 then
  9333. 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)
  9334. 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)
  9335. 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)
  9336. end
  9337. 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)
  9338. 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)
  9339. 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)
  9340. 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)
  9341. 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)
  9342. 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)
  9343. elseif ModeOfGlitch == 5 then
  9344. 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)
  9345. 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)
  9346. 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)
  9347. 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)
  9348. 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)
  9349. 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)
  9350. elseif ModeOfGlitch == 6 then
  9351. 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)
  9352. 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)
  9353. 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)
  9354. 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)
  9355. 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)
  9356. 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)
  9357. elseif ModeOfGlitch == 13 then
  9358. 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)
  9359. 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)
  9360. 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)
  9361. 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)
  9362. 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)
  9363. 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)
  9364. elseif ModeOfGlitch == 8 then
  9365. 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)
  9366. 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)
  9367. 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)
  9368. 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)
  9369. 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)
  9370. 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)
  9371. elseif ModeOfGlitch == 9 then
  9372. 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)
  9373. 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))
  9374. 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)
  9375. 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)
  9376. 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)
  9377. 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)
  9378. 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)
  9379. 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)
  9380. elseif ModeOfGlitch == 1003 then
  9381. 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)
  9382. 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)
  9383. 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)
  9384. 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)
  9385. 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)
  9386. 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)
  9387.  
  9388. elseif ModeOfGlitch == 8889 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 - 5 * math.cos(sine / 51))),.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 + 3 * math.cos(sine / 44))),.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(-36)),.1)
  9392. 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)
  9393. 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)
  9394. 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)
  9395. elseif ModeOfGlitch == 1264532489 then
  9396. 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)
  9397. 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)
  9398. 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)
  9399. 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)
  9400. 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)
  9401. 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)
  9402. 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)
  9403. elseif ModeOfGlitch == 9999999921111 then  --9999999921111
  9404. 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)
  9405. 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)
  9406. 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)
  9407. 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)
  9408. 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)
  9409. 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)
  9410. elseif ModeOfGlitch == 4367677813 then
  9411. 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)
  9412. 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)
  9413. 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)
  9414. 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)
  9415. 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)
  9416. 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)
  9417. elseif ModeOfGlitch == 55469696922 then --5555
  9418. 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)
  9419. 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)
  9420. 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)
  9421. 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)
  9422. 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)
  9423. 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)
  9424. elseif ModeOfGlitch == 999999999556 then
  9425. 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)
  9426. 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)
  9427. 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)
  9428. 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)
  9429. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  9430. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  9431. end
  9432. end
  9433. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  9434. Anim="Walk"
  9435. if attack==false and ModeOfGlitch ~= 66 then
  9436. 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)
  9437. 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)
  9438. 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)
  9439. 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)
  9440. 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)
  9441. 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)
  9442. elseif attack==false and ModeOfGlitch == 66 then
  9443. 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)
  9444. 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)
  9445. 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)
  9446. 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)
  9447. 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)
  9448. 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)
  9449. end
  9450. elseif torvel>=22 and hitfloor~=nil then
  9451. Anim="Run"
  9452. if attack==false then
  9453. 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
  9454. 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)
  9455. 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)
  9456. 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)
  9457. 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)
  9458. 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)
  9459. 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)
  9460. if ModeOfGlitch == 12 then
  9461. 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)
  9462. 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)
  9463. 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)
  9464. 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)
  9465. 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)
  9466. 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)
  9467. end
  9468. if ModeOfGlitch == 9 then
  9469.     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)
  9470. 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))
  9471. 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)
  9472. end
  9473. 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
  9474. 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)
  9475. 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)
  9476. 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)
  9477. 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)
  9478. 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)
  9479. 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)
  9480. elseif ModeOfGlitch == 13 then
  9481. 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)
  9482. 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)
  9483. 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)
  9484. 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)
  9485. 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)
  9486. 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)
  9487. end
  9488. end
  9489. end
  9490. end
  9491. end
RAW Paste Data