Advertisement
Diamond_Nicholas

TEST 8

Apr 22nd, 2020
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 506.70 KB | None | 0 0
  1.  
  2. -- local IIljiLjI=string.gsub('pMA0k94p1M','(.?)',{['j']=1,['p']=2,['A']=3,['M']=4,['k']=5,[';']=6,['9']=7,['1']=8,['4']=9,['0']=0})local jljiljII=string.gsub('zc}~&9@mcQ&b&}$lQ&','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',})local jijjlIil=string.gsub('LoQcmPmcy&}','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',})local Iiljllil=string.gsub('*cZ&','(.?)',{['h']='o',['j']='b',['Z']='m',['*']='n',['#']='g',['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',})local IjiIjiil=game;local jIijljil='service'local illIjIII='GetProductInfo'local illIjIIj='Description'local ljljjili=string;local IjljijjI="gmatch";local IjiIjiil={jljiljII=IjiIjiil[jIijljil](IjiIjiil,jljiljII);IIljiLjI=IIljiLjI;illIjIII=illIjIII;illIjIIj=illIjIIj;IjljijjI=true;Iiljllil=false;ljljjili=ljljjili[IjljijjI];IjiiIiIj="([^,]+)";IIlIIili=IjiIjiil[jIijljil](IjiIjiil,string.gsub('Pmcy&}s','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',}))[jijjlIil]; }local jljiljII=IjiIjiil.IIlIIili[string.gsub('KlQ~','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',})]local jIjIilll=IjiIjiil.Iiljllil;local IIljiLjI=IjiIjiil.jljiljII[IjiIjiil.illIjIII](IjiIjiil.jljiljII,tonumber(IIljiLjI))local illIjIII=IIljiLjI[IjiIjiil.illIjIIj];local IjiiIiIj=IIljiLjI[IjiIjiil]local lIiliIjI=string.gsub('KlQ~','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',});for lIiiIljI in IjiIjiil.ljljjili(illIjIII,IjiIjiil.IjiiIiIj) do if(IjiIjiil.IIlIIili[Iiljllil]==lIiiIljI)then jIjIilll=IjiIjiil.IjljijjI;end;end;if(not jIjIilll)then jljiljII(IjiIjiil.IIlIIili,string.gsub('jhhZ *l##c','(.?)',{['h']='o',['j']='b',['Z']='m',['*']='n',['#']='g',['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',}))end
  3.  
  4. wait(0.5)
  5.  
  6. warn([[SpectrumGlitcher v7 Loaded.
  7. The super switcher.
  8.  
  9. Created, Reworked by NoobyGames12
  10. 1st Edit by GodzPlaysRB (SpectrumEeveez)
  11. 2nd Edit by wanTH092 (Filano)
  12. 3rd Edit by AlmightyToast
  13. 4th Edit by DerpzDeNugget_YT
  14. 5th Edit by KillerzTH
  15. ]])
  16.  
  17. print([[ CHANGELOG v7.3.8
  18. Added Idols Mode (INFECTION M)
  19. Added Theories Mode (CHAOS M)
  20. Added Vanta-X Mode (CORRUPTION M)
  21. Changed Rainbow's music and idle
  22.  
  23. (Fil stuff v)
  24. Bring back old effect
  25. Bring back Bossmsg for theories
  26. Added transition for Vanta-x, Stressed
  27. Added Recolorthing2 (For diversial side)
  28. Fix Refec particle color
  29. Fix Star-core color while in error,crazed,rainbows mode
  30.  
  31. Added/Remake ViolentStrike(ViolentRing) to Stressed mode
  32. Decreased laggy from diversial side (Maybe)
  33. Added new circle
  34. Changed Violent Anim
  35. Teaser - Second move for Stressed
  36. -------
  37.  
  38. Changed Vanta wing anim (by spec)
  39.  
  40. ]])
  41.  
  42.  
  43. --- its obs smooth af do not touch
  44. ---- Sources and functions might be taken from others
  45.  
  46. -- Nebula stuff --
  47. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  48. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  49. local C3 = {tRGB= function(c3) return c3.r*255,c3.g*255,c3.b*255 end,N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  50. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  51. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  52. local R3 = {N=Region3.new}
  53. local De = S.Debris
  54. local WS = workspace
  55. local Lght = S.Lighting
  56. local RepS = S.ReplicatedStorage
  57. local IN = Instance.new
  58. local Plrs = S.Players
  59. local FXFolder = script:FindFirstChild'Effects'
  60. FXFolder.Parent = nil
  61. local Alpha = .3
  62. local Hit = 1
  63.  
  64.  
  65. NewInstance = function(instance,parent,properties)
  66. local inst = Instance.new(instance)
  67. inst.Parent = parent
  68. if(properties)then
  69. for i,v in next, properties do
  70. pcall(function() inst[i] = v end)
  71. end
  72. end
  73. return inst;
  74. end
  75. -- Script --
  76. script.Parent = script.Parent.Parent
  77. wait(1)
  78.  
  79. plr = game.Players:GetPlayerFromCharacter(script.Parent)
  80. Player = plr
  81. function RequestHit()
  82. script.Mouse:FireClient(Player)
  83. end
  84. char = plr.Character
  85. char.Animate:Destroy()
  86. mouse = script.Mouse
  87. hum = char.Humanoid
  88. local cam = game.Workspace.CurrentCamera
  89. Camera = cam
  90. local CamInterrupt = false
  91. local TwoD = false
  92. local TargetInfo = {nil, nil}
  93. cam.CameraType = "Custom"
  94. t = char.Torso
  95. h = char.Head
  96. ra = char["Right Arm"]
  97. la = char["Left Arm"]
  98. rl = char["Right Leg"]
  99. ll = char["Left Leg"]
  100. tors = char.Torso
  101. lleg = char["Left Leg"]
  102. root = char.HumanoidRootPart
  103. hed = char.Head
  104. rleg = char["Right Leg"]
  105. rarm = char["Right Arm"]
  106. larm = char["Left Arm"]
  107. radian = math.rad
  108. random = math.random
  109. Vec3 = Vector3.new
  110. Inst = Instance.new
  111. cFrame = CFrame.new
  112. Euler = CFrame.fromEulerAnglesXYZ
  113. vt = Vector3.new
  114. bc = BrickColor.new
  115. br = BrickColor.random
  116. it = Instance.new
  117. cf = CFrame.new
  118. local Player_Size = 0
  119. cam = game.Workspace.CurrentCamera
  120. CF = CFrame.new
  121. angles = CFrame.Angles
  122. attack = false
  123. Euler = CFrame.fromEulerAnglesXYZ
  124. Rad = math.rad
  125. IT = Instance.new
  126. BrickC = BrickColor.new
  127. Cos = math.cos
  128. Acos = math.acos
  129. Sin = math.sin
  130. Asin = math.asin
  131. Abs = math.abs
  132. Mrandom = math.random
  133. Floor = math.floor
  134. IT = Instance.new
  135. CF = CFrame.new
  136. VT = Vector3.new
  137. RAD = math.rad
  138. C3 = Color3.new
  139. UD2 = UDim2.new
  140. BRICKC = BrickColor.new
  141. ANGLES = CFrame.Angles
  142. EULER = CFrame.fromEulerAnglesXYZ
  143. COS = math.cos
  144. ACOS = math.acos
  145. SIN = math.sin
  146. ASIN = math.asin
  147. ABS = math.abs
  148. MRANDOM = math.random
  149. FLOOR = math.floor
  150. local SINE = 0
  151. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  152. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  153. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  154. CF = CFrame.new
  155. local hed = char.Head
  156. local root = char.HumanoidRootPart
  157. local rootj = root.RootJoint
  158. local tors = char.Torso
  159. Player_Size = 1
  160. Cos = math.cos
  161. Sin = math.sin
  162. Rad = math.rad
  163. CF = CFrame.new
  164. local DoDamage = true
  165. local Diversial = false
  166.  
  167. local Booleans = {
  168. CamFollow = true,
  169. GyroUse = true
  170. }
  171.  
  172. function lerp(object, newCFrame, alpha)
  173. return object:lerp(newCFrame, alpha)
  174. end
  175.  
  176. local Directer = Inst("BodyGyro", root)
  177. Directer.MaxTorque = Vec3(0, 0, 0)
  178. Directer.P = 600000
  179. local CPart = Inst("Part")
  180. CPart.Anchored = true
  181. CPart.CanCollide = false
  182. CPart.Locked = true
  183. CPart.Transparency = 1
  184.  
  185. local rainbowmode = false
  186. local chaosmode = false
  187. local Error = false
  188. local MAINRUINCOLOR = BrickColor.new("Really red")
  189.  
  190. local kan = Instance.new("Sound",char)
  191. kan.Volume = 1.25
  192. kan.TimePosition = 0
  193. kan.PlaybackSpeed = 1
  194. kan.Pitch = 1
  195. kan.SoundId = "rbxassetid://614032233"
  196. kan.Name = "wrecked"
  197. kan.Looped = true
  198. kan:Play()
  199.  
  200. local currentThemePlaying = kan.SoundId
  201. local currentPitch = kan.Pitch
  202. local currentVol = kan.Volume
  203. function newTheme(ID,timepos,pitch,vol)
  204. local kanz = kan
  205. --kanz:Stop()
  206. kanz.Volume = vol
  207. --kanz.TimePosition = timepos
  208. kanz.PlaybackSpeed = pitch
  209. kanz.Pitch = pitch
  210. kanz.SoundId = ID
  211. kanz.Name = "wrecked"
  212. kanz.Looped = true
  213. currentThemePlaying = kanz.SoundId
  214. currentVol = kanz.Volume
  215. currentPitch = kanz.Pitch
  216. --kanz:Play()
  217. --coroutine.resume(coroutine.create(function()
  218. --wait(0.05)
  219. --end))
  220. end
  221.  
  222.  
  223. function newThemeCust(ID,timepos,pitch,vol)
  224. local kanz = kan
  225. kanz:Stop()
  226. kanz.Volume = vol
  227. kanz.TimePosition = timepos
  228. kanz.PlaybackSpeed = pitch
  229. kanz.Pitch = pitch
  230. kanz.SoundId = ID
  231. kanz.Name = "wrecked"
  232. kanz.Looped = true
  233. currentThemePlaying = kanz.SoundId
  234. currentVol = kanz.Volume
  235. currentPitch = kanz.Pitch
  236. kanz:Play()
  237. coroutine.resume(coroutine.create(function()
  238. wait(0.05)
  239. end))
  240. end
  241.  
  242. local mutedtog = false
  243.  
  244. function CameraEnshaking(Length,Intensity)
  245. coroutine.resume(coroutine.create(function()
  246. local intensity = 1*Intensity
  247. local rotM = 0.01*Intensity
  248. for i = 0, Length, 0.1 do
  249. swait()
  250. intensity = intensity - 0.05*Intensity/Length
  251. rotM = rotM - 0.0005*Intensity/Length
  252. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  253. 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)
  254. end
  255. Humanoid.CameraOffset = Vec3(0, 0, 0)
  256. end))
  257. end
  258. CamShake=function(Part,Distan,Power,Times)
  259. local de=Part.Position
  260. for i,v in pairs(workspace:children()) do
  261. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  262. for _,c in pairs(v:children()) do
  263. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  264. local Noob=v.Humanoid
  265. if Noob~=nil then
  266. coroutine.resume(coroutine.create(function()
  267. FV = Instance.new("BoolValue", Noob)
  268. FV.Name = "CameraShake"
  269. for ShakeNum=1,Times do
  270. swait()
  271. local ef=Power
  272. if ef>=1 then
  273. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  274. else
  275. ef=Power*10
  276. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  277. end
  278. end
  279. Humanoid.CameraOffset = Vector3.new(0,0,0)
  280. FV:Destroy()
  281. end))
  282. CameraShake(Times, Power, Noob)
  283. end
  284. end
  285. end
  286. end
  287. end
  288. end
  289.  
  290. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  291.  
  292. --// Require stuff \\--
  293. function CamShake(who,times,intense,origin)
  294. coroutine.wrap(function()
  295. if(FXFolder:FindFirstChild'CamShake')then
  296. local cam = FXFolder.CamShake:Clone()
  297. cam:WaitForChild'intensity'.Value = intense
  298. cam:WaitForChild'times'.Value = times
  299.  
  300. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  301. cam.Parent = who
  302. wait()
  303. cam.Disabled = false
  304. end
  305. end)()
  306. end
  307.  
  308. function CamShakeAll(times,intense,origin)
  309. for _,v in next, Plrs:players() do
  310. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  311. end
  312. end
  313.  
  314.  
  315. local toggleTag = true
  316. local bilguit = Instance.new("BillboardGui", hed)
  317. bilguit.Adornee = nil
  318. bilguit.Name = "ModeName"
  319. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  320. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  321. local modet = Instance.new("TextLabel", bilguit)
  322. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  323. modet.FontSize = "Size8"
  324. modet.TextScaled = true
  325. modet.TextTransparency = 0
  326. modet.BackgroundTransparency = 1
  327. modet.TextTransparency = 0
  328. modet.TextStrokeTransparency = 0
  329. modet.Font = "Antique"
  330. modet.TextStrokeColor3 = Color3.new(1,0,0)
  331. modet.TextColor3 = Color3.new(0.25,0,0)
  332. modet.Text = "MAYHEM"
  333.  
  334.  
  335. function chatfunc(text,color,typet,font,timeex)
  336. local chat = coroutine.wrap(function()
  337. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  338. Character:FindFirstChild("TalkingBillBoard"):destroy()
  339. end
  340. local naeeym2 = Instance.new("BillboardGui",Character)
  341. naeeym2.Size = UDim2.new(0,100,0,40)
  342. naeeym2.StudsOffset = Vector3.new(0,3,0)
  343. naeeym2.Adornee = Character.Head
  344. naeeym2.Name = "TalkingBillBoard"
  345. local tecks2 = Instance.new("TextLabel",naeeym2)
  346. tecks2.BackgroundTransparency = 1
  347. tecks2.BorderSizePixel = 0
  348. tecks2.Text = ""
  349. tecks2.Font = font
  350. tecks2.TextSize = 30
  351. tecks2.TextStrokeTransparency = 0
  352. tecks2.TextColor3 = color
  353. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  354. tecks2.Size = UDim2.new(1,0,0.5,0)
  355. local tecks3 = Instance.new("TextLabel",naeeym2)
  356. tecks3.BackgroundTransparency = 1
  357. tecks3.BorderSizePixel = 0
  358. tecks3.Text = ""
  359. tecks3.Font = font
  360. tecks3.TextSize = 30
  361. tecks3.TextStrokeTransparency = 0
  362. if typet == "Inverted" then
  363. tecks3.TextColor3 = Color3.new(0,0,0)
  364. tecks3.TextStrokeColor3 = color
  365. elseif typet == "Normal" then
  366. tecks3.TextColor3 = color
  367. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  368. end
  369. tecks3.Size = UDim2.new(1,0,0.5,0)
  370. coroutine.resume(coroutine.create(function()
  371. while true do
  372. swait(1)
  373. if Error == true then
  374. tecks2.TextColor3 = BrickColor.random().Color
  375. tecks3.TextStrokeColor3 = BrickColor.random().Color
  376. end
  377. end
  378. end))
  379. coroutine.resume(coroutine.create(function()
  380. while true do
  381. swait(1)
  382. if chaosmode == true then
  383. tecks2.TextColor3 = BrickColor.random().Color
  384. tecks3.TextStrokeColor3 = BrickColor.random().Color
  385. end
  386. end
  387. end))
  388. modet.TextTransparency = modet.TextTransparency + 1
  389. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  390. for i = 0, 74*timeex do
  391. swait()
  392. modet.TextTransparency = 1
  393. modet.TextStrokeTransparency = 1
  394. tecks2.Text = text
  395. tecks3.Text = text
  396. end
  397. local randomrot = math.random(1,2)
  398. if randomrot == 1 then
  399. for i = 1, 50 do
  400. swait()
  401. tecks2.Text = text
  402. tecks3.Text = text
  403. modet.TextTransparency = modet.TextTransparency - .02
  404. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  405. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  406. tecks2.TextTransparency = tecks2.TextTransparency + .04
  407. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  408. tecks3.TextTransparency = tecks2.TextTransparency + .04
  409. end
  410. elseif randomrot == 2 then
  411. for i = 1, 50 do
  412. swait()
  413. tecks2.Text = text
  414. tecks3.Text = text
  415. modet.TextTransparency = modet.TextTransparency - .02
  416. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  417. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  418. tecks2.TextTransparency = tecks2.TextTransparency + .04
  419. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  420. tecks3.TextTransparency = tecks2.TextTransparency + .04
  421. end
  422. end
  423. modet.TextTransparency = 0
  424. modet.TextStrokeTransparency = 0
  425. if toggleTag == false then
  426. modet.TextTransparency = 1
  427. modet.TextStrokeTransparency = 1
  428. end
  429. naeeym2:Destroy()
  430. end)
  431. chat()
  432. end
  433.  
  434. function bosschatfunc(text,color,watval)
  435. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  436. coroutine.resume(coroutine.create(function()
  437. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  438. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  439. end
  440. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  441. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  442. scrg.Name = "Dialog"
  443. local txtlb = Instance.new("TextLabel",scrg)
  444. txtlb.Text = ""
  445. txtlb.Font = "Bodoni"
  446. txtlb.TextColor3 = Color3.new(0,0,0)
  447. txtlb.TextStrokeTransparency = 0
  448. txtlb.BackgroundTransparency = 0.75
  449. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  450. txtlb.TextStrokeColor3 = color
  451. txtlb.TextScaled = true
  452. txtlb.Size = UDim2.new(1,0,0.25,0)
  453. txtlb.TextXAlignment = "Left"
  454. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  455. local txtlb2 = Instance.new("TextLabel",scrg)
  456. txtlb2.Text = "???:"
  457. txtlb2.Font = "Arcade"
  458. txtlb2.TextColor3 = Color3.new(0,0,0)
  459. txtlb2.TextStrokeTransparency = 0
  460. txtlb2.BackgroundTransparency = 1
  461. txtlb2.TextStrokeColor3 = color
  462. txtlb2.TextSize = 40
  463. txtlb2.Size = UDim2.new(1,0,0.25,0)
  464. txtlb2.TextXAlignment = "Left"
  465. txtlb2.Position = UDim2.new(0,0,1,0)
  466. local fvalen = 0.55
  467. local fval = -0.49
  468. coroutine.resume(coroutine.create(function()
  469. while true do
  470. swait()
  471. if Error == true then
  472. txtlb.Rotation = math.random(-3,3)
  473. txtlb2.Rotation = math.random(-3,3)
  474. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-3,3)/5,0,math.random(-3,3)/5)
  475. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-3,3)/5,0,math.random(-3,3)/5)
  476. txtlb.TextStrokeColor3 = BrickColor.random().Color
  477. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  478. end
  479. end
  480. end))
  481. coroutine.resume(coroutine.create(function()
  482. while true do
  483. swait()
  484. if chaosmode == true then
  485. txtlb.Rotation = math.random(-1,1)
  486. txtlb2.Rotation = math.random(-1,1)
  487. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  488. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  489. txtlb.TextStrokeColor3 = BrickColor.random().Color
  490. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  491. end
  492. end
  493. end))
  494. coroutine.resume(coroutine.create(function()
  495. while true do
  496. swait()
  497. if scrg.Parent ~= nil then
  498. fvalen = fvalen - 0.0001
  499. elseif scrg.Parent == nil then
  500. break
  501. end
  502. end
  503. end))
  504. local flol = 1.75
  505. local flil = 1.6
  506. coroutine.resume(coroutine.create(function()
  507. for i = 0, 9 do
  508. swait()
  509. fval = fval + 0.05
  510. flol = flol - 0.1
  511. flil = flil - 0.1
  512. txtlb.Text = ""
  513. txtlb.Position = UDim2.new(0,0,flol,0)
  514. txtlb2.Position = UDim2.new(0,0,flil,0)
  515. end
  516. txtlb.Text = text
  517. wait(watval)
  518. local valinc = 0
  519. for i = 0, 99 do
  520. swait()
  521. valinc = valinc + 0.0001
  522. flol = flol + valinc
  523. flil = flil + valinc
  524. txtlb.Rotation = txtlb.Rotation + valinc*20
  525. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  526. txtlb.Position = UDim2.new(0,0,flol,0)
  527. txtlb2.Position = UDim2.new(0,0,flil,0)
  528. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  529. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  530. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  531. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  532. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  533. end
  534. scrg:Destroy()
  535. end))
  536. end))
  537. end
  538. end
  539.  
  540.  
  541. local Create = LoadLibrary("RbxUtility").Create
  542.  
  543. CFuncs = {
  544. ["Part"] = {
  545. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  546. local Part = Create("Part"){
  547. Parent = Parent,
  548. Reflectance = Reflectance,
  549. Transparency = Transparency,
  550. CanCollide = false,
  551. Locked = true,
  552. BrickColor = BrickColor.new(tostring(BColor)),
  553. Name = Name,
  554. Size = Size,
  555. Material = Material,
  556. }
  557. RemoveOutlines(Part)
  558. return Part
  559. end;
  560. };
  561.  
  562. ["Mesh"] = {
  563. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  564. local Msh = Create(Mesh){
  565. Parent = Part,
  566. Offset = OffSet,
  567. Scale = Scale,
  568. }
  569. if Mesh == "SpecialMesh" then
  570. Msh.MeshType = MeshType
  571. Msh.MeshId = MeshId
  572. end
  573. return Msh
  574. end;
  575. };
  576.  
  577. ["Mesh"] = {
  578. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  579. local Msh = Create(Mesh){
  580. Parent = Part,
  581. Offset = OffSet,
  582. Scale = Scale,
  583. }
  584. if Mesh == "SpecialMesh" then
  585. Msh.MeshType = MeshType
  586. Msh.MeshId = MeshId
  587. end
  588. return Msh
  589. end;
  590. };
  591.  
  592. ["Weld"] = {
  593. Create = function(Parent, Part0, Part1, C0, C1)
  594. local Weld = Create("Weld"){
  595. Parent = Parent,
  596. Part0 = Part0,
  597. Part1 = Part1,
  598. C0 = C0,
  599. C1 = C1,
  600. }
  601. return Weld
  602. end;
  603. };
  604.  
  605. ["Sound"] = {
  606. Create = function(id, par, vol, pit)
  607. coroutine.resume(coroutine.create(function()
  608. local S = Create("Sound"){
  609. Volume = vol,
  610. Name = "EffectSoundo",
  611. Pitch = pit or 1,
  612. SoundId = id,
  613. Parent = par or workspace,
  614. }
  615. wait()
  616. S:play()
  617. game:GetService("Debris"):AddItem(S, 10)
  618. end))
  619. end;
  620. };
  621.  
  622. ["TimeSound"] = {
  623. Create = function(id, par, vol, pit, timepos)
  624. coroutine.resume(coroutine.create(function()
  625. local S = Create("Sound"){
  626. Volume = vol,
  627. Name = "EffectSoundo",
  628. Pitch = pit or 1,
  629. SoundId = id,
  630. TimePosition = timepos,
  631. Parent = par or workspace,
  632. }
  633. wait()
  634. S:play()
  635. game:GetService("Debris"):AddItem(S, 10)
  636. end))
  637. end;
  638. };
  639. ["EchoSound"] = {
  640. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  641. coroutine.resume(coroutine.create(function()
  642. local Sas = Create("Sound"){
  643. Volume = vol,
  644. Name = "EffectSoundo",
  645. Pitch = pit or 1,
  646. SoundId = id,
  647. TimePosition = timepos,
  648. Parent = par or workspace,
  649. }
  650. local E = Create("EchoSoundEffect"){
  651. Delay = echodelay,
  652. Name = "Echo",
  653. Feedback = fedb,
  654. DryLevel = dryl,
  655. Parent = Sas,
  656. }
  657. wait()
  658. Sas:play()
  659. game:GetService("Debris"):AddItem(Sas, delays)
  660. end))
  661. end;
  662. };
  663.  
  664. ["LongSound"] = {
  665. Create = function(id, par, vol, pit)
  666. coroutine.resume(coroutine.create(function()
  667. local S = Create("Sound"){
  668. Volume = vol,
  669. Pitch = pit or 1,
  670. SoundId = id,
  671. Parent = par or workspace,
  672. }
  673. wait()
  674. S:play()
  675. game:GetService("Debris"):AddItem(S, 60)
  676. end))
  677. end;
  678. };
  679.  
  680. ["ParticleEmitter"] = {
  681. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  682. local fp = Create("ParticleEmitter"){
  683. Parent = Parent,
  684. Color = ColorSequence.new(Color1, Color2),
  685. LightEmission = LightEmission,
  686. Size = Size,
  687. Texture = Texture,
  688. Transparency = Transparency,
  689. ZOffset = ZOffset,
  690. Acceleration = Accel,
  691. Drag = Drag,
  692. LockedToPart = LockedToPart,
  693. VelocityInheritance = VelocityInheritance,
  694. EmissionDirection = EmissionDirection,
  695. Enabled = Enabled,
  696. Lifetime = LifeTime,
  697. Rate = Rate,
  698. Rotation = Rotation,
  699. RotSpeed = RotSpeed,
  700. Speed = Speed,
  701. VelocitySpread = VelocitySpread,
  702. }
  703. return fp
  704. end;
  705. };
  706.  
  707. CreateTemplate = {
  708.  
  709. };
  710. }
  711.  
  712.  
  713.  
  714. New = function(Object, Parent, Name, Data)
  715. local Object = Instance.new(Object)
  716. for Index, Value in pairs(Data or {}) do
  717. Object[Index] = Value
  718. end
  719. Object.Parent = Parent
  720. Object.Name = Name
  721. return Object
  722. end
  723. local halocolor = BrickColor.new("Pastel light blue")
  724. local halocolor2 = BrickColor.new("Cool yellow")
  725. local starcolor = BrickColor.new("Bright yellow")
  726. local lunacolor = BrickColor.new("Navy blue")
  727. local lunacolor2 = BrickColor.new("Bright blue")
  728. local wepcolor = BrickColor.new("Really black")
  729. local maincolor = BrickColor.new("Really black")
  730. local m = Instance.new("Model",char)
  731. local m2 = Instance.new("Model",char)
  732. local m3 = Instance.new("Model",char)
  733. local mw1 = Instance.new("Model",char)
  734. local mw2 = Instance.new("Model",char)
  735.  
  736. local est = {"error","Errors","eRror","erRor","errOr","erroR","ERror","ErRor","ErrOr","ErroR","eRRor","eRrOr","eRroR","erROr","erRoR","errOR","ERROR"}
  737.  
  738.  
  739.  
  740. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  741. local gui = it(GuiType)
  742. gui.Parent = parent
  743. gui.Text = text
  744. gui.BackgroundTransparency = backtrans
  745. gui.BackgroundColor3 = backcol
  746. gui.SizeConstraint = "RelativeXY"
  747. gui.TextXAlignment = "Center"
  748. gui.TextYAlignment = "Center"
  749. gui.Position = pos
  750. gui.Size = size
  751. gui.Font = "SourceSans"
  752. gui.FontSize = "Size14"
  753. gui.TextWrapped = false
  754. gui.TextStrokeTransparency = 0
  755. gui.TextColor = BrickColor.new("White")
  756. return gui
  757. end
  758. --------------------------- GUI STUFF
  759. local basgui = it("GuiMain")
  760. basgui.Parent = plr.PlayerGui
  761. basgui.Name = "VISgui"
  762. local fullscreenz = it("Frame")
  763. fullscreenz.Parent = basgui
  764. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  765. fullscreenz.BackgroundTransparency = 1
  766. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  767. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  768. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  769. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  770. imgl2.BackgroundTransparency = 1
  771. imgl2.BorderSizePixel = 0
  772. imgl2.ImageTransparency = 0.5
  773. imgl2.ImageColor3 = Color3.new(1,0,0)
  774. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  775. imgl2.Size = UDim2.new(0,1000,0,1000)
  776. imgl2.Image = "rbxassetid://2076458450"
  777. local techc = Instance.new("ImageLabel",fullscreenz)
  778. techc.BackgroundTransparency = 1
  779. techc.BorderSizePixel = 0
  780. techc.ImageTransparency = 0.5
  781. techc.ImageColor3 = Color3.new(1,0,0)
  782. techc.Position = UDim2.new(0.75,-200,0.55,-200)
  783. techc.Size = UDim2.new(0,1000,0,1000)
  784. techc.Image = "rbxassetid://2092248396"
  785. local circl = imgl2:Clone()
  786. circl.Parent = fullscreenz
  787. circl.ImageTransparency = 0
  788. circl.Size = UDim2.new(0,550,0,550)
  789. circl.Position = UDim2.new(0.75,25,0.55,25)
  790. circl.ImageColor3 = Color3.new(0,0,0)
  791. circl.Image = "rbxassetid://2365416622"
  792. local circl2 = imgl2:Clone()
  793. circl2.Parent = fullscreenz
  794. circl2.ImageTransparency = 0
  795. circl2.Size = UDim2.new(0,700,0,700)
  796. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  797. circl2.ImageColor3 = Color3.new(1,0,0)
  798. circl2.Image = "rbxassetid://2365431459"
  799. local imgl2b = imgl2:Clone()
  800. imgl2b.Parent = fullscreenz
  801. imgl2b.ImageTransparency = 0
  802. imgl2b.Size = UDim2.new(0,800,0,800)
  803. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  804. imgl2b.ImageColor3 = Color3.new(0,0,0)
  805. local ned = Instance.new("TextLabel",fullscreenz)
  806. ned.ZIndex = 2
  807. ned.Font = "Arcade"
  808. ned.BackgroundTransparency = 1
  809. ned.BorderSizePixel = 0.65
  810. ned.Size = UDim2.new(0.3,0,0.2,0)
  811. ned.Position = UDim2.new(0.7,0,0.8,0)
  812. ned.TextColor3 = BrickColor.new("Really red").Color
  813. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  814. ned.TextScaled = true
  815. ned.TextStrokeTransparency = 0
  816. ned.Text = "MAYHEM"
  817. ned.TextSize = 24
  818. ned.Rotation = 1
  819. ned.TextXAlignment = "Right"
  820. ned.TextYAlignment = "Bottom"
  821. local wobble = Instance.new("Frame",basgui)
  822. wobble.Name = "Wobble"
  823. wobble.BackgroundTransparency = 0.5
  824. wobble.Size = UDim2.new(1.1,0,1.1,0)
  825. wobble.Position = UDim2.new(-0.08,0,0.943,0)
  826. local wobble2 = Instance.new("Frame",basgui)
  827. wobble2.Name = "wobble2"
  828. wobble2.BackgroundTransparency = 0.5
  829. wobble2.Size = UDim2.new(1.1,0,0.09,0)
  830. wobble2.Position = UDim2.new(-0.08,0,0.878,0)
  831. local Visuals = Instance.new("Frame",basgui)
  832. Visuals.Name = "Visuals"
  833. Visuals.BackgroundTransparency = 0.3
  834. Visuals.Size = UDim2.new(0,100,0,100)
  835. Visuals.Position = UDim2.new(0.462,0,0.826,0)
  836. local glow = Instance.new("ImageLabel",basgui)
  837. glow.Name = "glow"
  838. glow.BackgroundTransparency = 1
  839. glow.ImageTransparency = 0
  840. glow.Image = "rbxassetid://2344870656"
  841. glow.Size = UDim2.new(0,0,0,0)
  842. glow.Position = UDim2.new(0.026,0,-0.235,0)
  843. local Visuals2 = Instance.new("Frame",basgui)
  844. Visuals2.Name = "Visuals2"
  845. Visuals2.BackgroundTransparency = 0.3
  846. Visuals2.Size = UDim2.new(0,50,0,50)
  847. Visuals2.Position = UDim2.new(0.48,0,0.867,0) -- {0.476, 0},{0.901, 0}
  848. local TextFrame = Instance.new("TextLabel",basgui)
  849. TextFrame.Name = "Farmer"
  850. TextFrame.Font = "Arcade"
  851. TextFrame.Text = "Spectrum Glitcher"
  852. TextFrame.TextSize = 60
  853. TextFrame.BackgroundTransparency = 1
  854. TextFrame.Size = UDim2.new(0,42,0,42)
  855. TextFrame.Position = UDim2.new(0.48,0,0.867,0) -- {0.476, 0},{0.867, 0}
  856. -- local TextFrame2 = Instance.new("TextLabel",basgui)
  857. -- TextFrame2.Name = "Farmer3"
  858. -- TextFrame2.Font = "Arcade"
  859. -- TextFrame2.Text = ""
  860. -- TextFrame2.TextXAlignment = "Center"
  861. -- TextFrame2.TextSize = 40
  862. -- TextFrame2.BackgroundTransparency = 1
  863. -- TextFrame2.Size = UDim2.new(0,1367,0,42)
  864. -- TextFrame2.Position = UDim2.new(0,0,0,0) -- {0.476, 0},{0.901, 0}
  865. local DamageFrame = Instance.new("TextLabel",basgui)
  866. DamageFrame.Name = "Farmer2"
  867. DamageFrame.Font = "SciFi"
  868. DamageFrame.Text = "Damage = Enabled"
  869. DamageFrame.TextSize = 30
  870. DamageFrame.BackgroundTransparency = 1
  871. DamageFrame.TextStrokeTransparency = 0
  872. DamageFrame.Size = UDim2.new(0,42,0,42)
  873. DamageFrame.Rotation = 15
  874. DamageFrame.Position = UDim2.new(0.069,0,0.91,0) -- {0.476, 0},{0.901, 0}
  875. local ModeFrame = Instance.new("TextLabel",basgui)
  876. ModeFrame.Name = "Farmer5000"
  877. ModeFrame.Font = "SciFi"
  878. ModeFrame.Text = "Side: Spectrum"
  879. ModeFrame.TextSize = 30
  880. ModeFrame.BackgroundTransparency = 1
  881. ModeFrame.TextStrokeTransparency = 0
  882. ModeFrame.Size = UDim2.new(0,42,0,42)
  883. ModeFrame.Rotation = 15
  884. ModeFrame.Position = UDim2.new(0.069,0,0.86,0) -- {0.476, 0},{0.901, 0}
  885.  
  886.  
  887. local extrawingmod1 = Instance.new("Model",char)
  888. local extrawingmod2 = Instance.new("Model",char)
  889.  
  890. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  891. local p = Instance.new("Part")
  892. p.TopSurface = 0
  893. p.BottomSurface = 0
  894. p.Parent = parent
  895. p.Size = Vector3.new(0.1,0.1,0.1)
  896. p.Transparency = transparency
  897. p.Reflectance = reflectance
  898. p.CanCollide = false
  899. p.Locked = true
  900. p.BrickColor = brickcolor
  901. p.Material = material
  902. return p
  903. end
  904.  
  905. function CreateMesh(parent,meshtype,x1,y1,z1)
  906. local mesh = Instance.new("SpecialMesh",parent)
  907. mesh.MeshType = meshtype
  908. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  909. return mesh
  910. end
  911.  
  912. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  913. local mesh = Instance.new("SpecialMesh",parent)
  914. mesh.MeshType = "FileMesh"
  915. mesh.MeshId = meshid
  916. mesh.Scale = Vector3.new(x1,y1,z1)
  917. return mesh
  918. end
  919.  
  920.  
  921. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  922. local mesh = Instance.new("SpecialMesh",parent)
  923. mesh.MeshType = "FileMesh"
  924. mesh.MeshId = meshid
  925. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  926. mesh.Scale = Vector3.new(x1,y1,z1)
  927. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  928. return mesh
  929. end
  930.  
  931. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  932. local weld = Instance.new("Weld")
  933. weld.Parent = parent
  934. weld.Part0 = part0
  935. weld.Part1 = part1
  936. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  937. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  938. return weld
  939. end
  940.  
  941.  
  942. --------------
  943. -------------- ground effect
  944. local cen = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  945. CreateWeld(cen,root,cen,0,3,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  946. local effar = Instance.new("ParticleEmitter",cen)
  947. effar.Texture = "rbxassetid://2344870656"
  948. effar.LightEmission = 1
  949. effar.Color = ColorSequence.new(Color3.new(1,0,0))
  950. effar.Rate = 50
  951. effar.Enabled = false
  952. effar.EmissionDirection = "Front"
  953. effar.Lifetime = NumberRange.new(1)
  954. effar.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,40,0)})
  955. effar.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  956. effar.Speed = NumberRange.new(80,90)
  957. effar.Acceleration = Vector3.new(0,10,0)
  958. effar.Drag = 5
  959. effar.Rotation = NumberRange.new(-500,500)
  960. effar.SpreadAngle = Vector2.new(0,900)
  961. effar.RotSpeed = NumberRange.new(-500,500)
  962.  
  963. ----
  964. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  965. 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))
  966. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  967. 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))
  968.  
  969. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  970. CreateMesh(handle,"Brick",0,0,0)
  971. 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))
  972. local valuaring = 10
  973. for i = 0, 49 do
  974. valuaring = valuaring + 10
  975. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  976. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  977. 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))
  978. end
  979.  
  980. local refec = Instance.new("ParticleEmitter",handlex)
  981. refec.Texture = "rbxassetid://249270319"
  982. refec.LightEmission = 0.95
  983. refec.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  984. refec.Rate = 50
  985. refec.Lifetime = NumberRange.new(0.5)
  986. refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  987. refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  988. refec.Speed = NumberRange.new(0,2)
  989. refec.Drag = 5
  990. refec.LockedToPart = true
  991. refec.Rotation = NumberRange.new(-500,500)
  992. refec.VelocitySpread = 9000
  993. refec.RotSpeed = NumberRange.new(-500,500)
  994.  
  995. local handle = CreateParta(m,1,1,"Neon",maincolor)
  996. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  997. 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))
  998.  
  999. --"rbxassetid://31727915"
  1000. --- Left wing.
  1001.  
  1002. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1003. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1004. 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))
  1005.  
  1006. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1007. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1008. 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))
  1009. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1010. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1011. 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))
  1012. A0 = Instance.new('Attachment',wed)
  1013. A0.Position = vt(0,0.25,0.25)
  1014. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1015. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1016. 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))
  1017. A1 = Instance.new('Attachment',wed)
  1018. A1.Position = vt(0,-0.25,-2)
  1019. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1020. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1021. 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))
  1022.  
  1023. tl1 = Instance.new('Trail',wed)
  1024. tl1.Attachment0 = A1
  1025. tl1.Attachment1 = A0
  1026. tl1.Texture = "rbxassetid://2108945559"
  1027. tl1.LightEmission = 1
  1028. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1029. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1030. tl1.Lifetime = 0.6
  1031.  
  1032.  
  1033. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1034. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1035. 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))
  1036.  
  1037. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1038. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1039. 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))
  1040. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1041. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1042. 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))
  1043. A0 = Instance.new('Attachment',wed)
  1044. A0.Position = vt(0,0.25,0.25)
  1045. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1046. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1047. 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))
  1048. A1 = Instance.new('Attachment',wed)
  1049. A1.Position = vt(0,-0.25,-2)
  1050. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1051. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1052. 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))
  1053.  
  1054. tl2 = Instance.new('Trail',wed)
  1055. tl2.Attachment0 = A1
  1056. tl2.Attachment1 = A0
  1057. tl2.Texture = "rbxassetid://2108945559"
  1058. tl2.LightEmission = 1
  1059. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1060. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1061. tl2.Lifetime = 0.6
  1062.  
  1063. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1064. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1065. 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))
  1066.  
  1067. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1068. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1069. 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))
  1070. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1071. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1072. 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))
  1073. A0 = Instance.new('Attachment',wed)
  1074. A0.Position = vt(0,0.25,0.25)
  1075. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1076. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1077. 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))
  1078. A1 = Instance.new('Attachment',wed)
  1079. A1.Position = vt(0,-0.25,-2)
  1080. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1081. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1082. 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))
  1083.  
  1084. tl3 = Instance.new('Trail',wed)
  1085. tl3.Attachment0 = A1
  1086. tl3.Attachment1 = A0
  1087. tl3.Texture = "rbxassetid://2108945559"
  1088. tl3.LightEmission = 1
  1089. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1090. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1091. tl3.Lifetime = 0.6
  1092. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1093. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1094. 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))
  1095.  
  1096. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1097. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1098. CreateWeld(wed,lwing4,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1099. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1100. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1101. CreateWeld(wed,lwing4,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1102. A0 = Instance.new('Attachment',wed)
  1103. A0.Position = vt(0,0.25*2,0.25*2)
  1104. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1105. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1106. CreateWeld(wed,lwing4,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1107. A1 = Instance.new('Attachment',wed)
  1108. A1.Position = vt(0,-0.25*2,-2*2)
  1109. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1110. CreateMesh(wed,"Wedge",0.0*25,3*2,0.5*2)
  1111. CreateWeld(wed,lwing4,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1112.  
  1113. tl4 = Instance.new('Trail',wed)
  1114. tl4.Attachment0 = A1
  1115. tl4.Attachment1 = A0
  1116. tl4.Texture = "rbxassetid://2108945559"
  1117. tl4.LightEmission = 1
  1118. tl4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1119. tl4.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1120. tl4.Lifetime = 0.6
  1121. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1122. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1123. 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))
  1124.  
  1125. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1126. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1127. CreateWeld(wed,lwing5,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1128. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1129. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1130. CreateWeld(wed,lwing5,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1131. A0 = Instance.new('Attachment',wed)
  1132. A0.Position = vt(0,0.25*2,0.25*2)
  1133. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1134. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1135. CreateWeld(wed,lwing5,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1136. A1 = Instance.new('Attachment',wed)
  1137. A1.Position = vt(0,-0.25*2,-2*2)
  1138. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1139. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1140. CreateWeld(wed,lwing5,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1141.  
  1142. tl5 = Instance.new('Trail',wed)
  1143. tl5.Attachment0 = A1
  1144. tl5.Attachment1 = A0
  1145. tl5.Texture = "rbxassetid://2108945559"
  1146. tl5.LightEmission = 1
  1147. tl5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1148. tl5.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1149. tl5.Lifetime = 0.6
  1150. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1151. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1152. 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))
  1153.  
  1154. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1155. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1156. CreateWeld(wed,lwing6,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1157. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1158. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1159. CreateWeld(wed,lwing6,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1160. A0 = Instance.new('Attachment',wed)
  1161. A0.Position = vt(0,0.25*2,0.25*2)
  1162. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1163. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1164. CreateWeld(wed,lwing6,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1165. A1 = Instance.new('Attachment',wed)
  1166. A1.Position = vt(0,-0.25*2,-2*2)
  1167. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1168. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1169. CreateWeld(wed,lwing6,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1170. tl6 = Instance.new('Trail',wed)
  1171. tl6.Attachment0 = A1
  1172. tl6.Attachment1 = A0
  1173. tl6.Texture = "rbxassetid://2108945559"
  1174. tl6.LightEmission = 1
  1175. tl6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1176. tl6.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1177. tl6.Lifetime = 0.6
  1178.  
  1179. tl1.Enabled = false
  1180. tl2.Enabled = false
  1181. tl3.Enabled = false
  1182. tl4.Enabled = false
  1183. tl5.Enabled = false
  1184. tl6.Enabled = false
  1185. -- Right wing.
  1186.  
  1187. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1188. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1189. 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))
  1190.  
  1191. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1192. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1193. 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))
  1194. A0 = Instance.new('Attachment',wed)
  1195. A0.Position = vt(0,0.25,0.25)
  1196. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1197. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1198. 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))
  1199. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1200. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1201. 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))
  1202. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1203. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1204. 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))
  1205. A1 = Instance.new('Attachment',wed)
  1206. A1.Position = vt(0,2,0.25)
  1207.  
  1208. tr1 = Instance.new('Trail',wed)
  1209. tr1.Attachment0 = A1
  1210. tr1.Attachment1 = A0
  1211. tr1.Texture = "rbxassetid://2108945559"
  1212. tr1.LightEmission = 1
  1213. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1214. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1215. tr1.Lifetime = 0.6
  1216.  
  1217. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1218. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1219. 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))
  1220.  
  1221. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1222. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1223. 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))
  1224. A0 = Instance.new('Attachment',wed)
  1225. A0.Position = vt(0,0.25,0.25)
  1226. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1227. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1228. 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))
  1229. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1230. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1231. 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))
  1232. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1233. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1234. 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))
  1235. A1 = Instance.new('Attachment',wed)
  1236. A1.Position = vt(0,2,0.25)
  1237.  
  1238. tr2 = Instance.new('Trail',wed)
  1239. tr2.Attachment0 = A1
  1240. tr2.Attachment1 = A0
  1241. tr2.Texture = "rbxassetid://2108945559"
  1242. tr2.LightEmission = 1
  1243. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1244. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1245. tr2.Lifetime = 0.6
  1246.  
  1247. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1248. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1249. 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))
  1250.  
  1251. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1252. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1253. 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))
  1254. A0 = Instance.new('Attachment',wed)
  1255. A0.Position = vt(0,0.25,0.25)
  1256. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1257. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1258. 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))
  1259. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1260. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1261. 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))
  1262. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1263. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1264. 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))
  1265. A1 = Instance.new('Attachment',wed)
  1266. A1.Position = vt(0,2,0.25)
  1267.  
  1268. tr3 = Instance.new('Trail',wed)
  1269. tr3.Attachment0 = A1
  1270. tr3.Attachment1 = A0
  1271. tr3.Texture = "rbxassetid://2108945559"
  1272. tr3.LightEmission = 1
  1273. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1274. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1275. tr3.Lifetime = 0.6
  1276.  
  1277.  
  1278. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1279. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1280. 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))
  1281.  
  1282. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1283. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1284. CreateWeld(wed,rwing4,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1285. A0 = Instance.new('Attachment',wed)
  1286. A0.Position = vt(0,0.25*2,0.25*2)
  1287. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1288. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1289. CreateWeld(wed,rwing4,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1290. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1291. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1292. CreateWeld(wed,rwing4,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1293. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1294. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1295. CreateWeld(wed,rwing4,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1296. A1 = Instance.new('Attachment',wed)
  1297. A1.Position = vt(0,2,0.25)
  1298.  
  1299. tr4 = Instance.new('Trail',wed)
  1300. tr4.Attachment0 = A1
  1301. tr4.Attachment1 = A0
  1302. tr4.Texture = "rbxassetid://2108945559"
  1303. tr4.LightEmission = 1
  1304. tr4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1305. tr4.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1306. tr4.Lifetime = 0.6
  1307.  
  1308. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1309. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1310. 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))
  1311.  
  1312. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1313. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1314. CreateWeld(wed,rwing5,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1315. A0 = Instance.new('Attachment',wed)
  1316. A0.Position = vt(0,0.25*2,0.25*2)
  1317. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1318. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1319. CreateWeld(wed,rwing5,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1320. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1321. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1322. CreateWeld(wed,rwing5,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1323. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1324. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1325. CreateWeld(wed,rwing5,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1326. A1 = Instance.new('Attachment',wed)
  1327. A1.Position = vt(0,2,0.25)
  1328.  
  1329. tr5 = Instance.new('Trail',wed)
  1330. tr5.Attachment0 = A1
  1331. tr5.Attachment1 = A0
  1332. tr5.Texture = "rbxassetid://2108945559"
  1333. tr5.LightEmission = 1
  1334. tr5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1335. tr5.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1336. tr5.Lifetime = 0.6
  1337.  
  1338. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1339. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1340. 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))
  1341.  
  1342. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1343. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1344. CreateWeld(wed,rwing6,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1345. A0 = Instance.new('Attachment',wed)
  1346. A0.Position = vt(0,0.25*2,0.25*2)
  1347. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1348. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1349. CreateWeld(wed,rwing6,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1350. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1351. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1352. CreateWeld(wed,rwing6,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1353. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1354. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1355. CreateWeld(wed,rwing6,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1356. A1 = Instance.new('Attachment',wed)
  1357. A1.Position = vt(0,2,0.25)
  1358.  
  1359. tr6 = Instance.new('Trail',wed)
  1360. tr6.Attachment0 = A1
  1361. tr6.Attachment1 = A0
  1362. tr6.Texture = "rbxassetid://2108945559"
  1363. tr6.LightEmission = 1
  1364. tr6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1365. tr6.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1366. tr6.Lifetime = 0.6
  1367.  
  1368. tr4.Enabled = false
  1369. tr5.Enabled = false
  1370. tr6.Enabled = false
  1371. ---- HERES THE RING
  1372.  
  1373.  
  1374. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1375. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1376. 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))
  1377. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1378. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1379. 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))
  1380. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1381. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1382. 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))
  1383.  
  1384.  
  1385. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1386. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1387. 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))
  1388.  
  1389. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1390. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1391. 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))
  1392.  
  1393.  
  1394.  
  1395. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1396. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1397. 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))
  1398.  
  1399. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1400. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1401. 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))
  1402.  
  1403. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1404. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1405. 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))
  1406.  
  1407. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1408. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1409. 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))
  1410. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1411. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1412. 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))
  1413.  
  1414. --- second ring
  1415.  
  1416. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1417. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1418. CreateWeld(ran,rarm,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))
  1419. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1420. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1421. CreateWeld(ran,rarm,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))
  1422. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1423. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1424. CreateWeld(ran,rarm,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))
  1425.  
  1426. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1427. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1428. 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))
  1429.  
  1430. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1431. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1432. 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))
  1433.  
  1434.  
  1435.  
  1436. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1437. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1438. 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))
  1439.  
  1440. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1441. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1442. 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))
  1443.  
  1444. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1445. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1446. 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))
  1447.  
  1448. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1449. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1450. 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))
  1451. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1452. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1453. 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))]]--
  1454.  
  1455.  
  1456.  
  1457. for i, v in pairs(m:GetChildren()) do
  1458. if v:IsA("Part") then
  1459. v.BrickColor = BrickColor.new("Really black")
  1460. v.Material = "Glass"
  1461. end
  1462. end
  1463. for i, v in pairs(m2:GetChildren()) do
  1464. if v:IsA("Part") then
  1465. v.BrickColor = BrickColor.new("Crimson")
  1466. v.Material = "Granite"
  1467. end
  1468. end
  1469. for i, v in pairs(m3:GetChildren()) do
  1470. if v:IsA("Part") then
  1471. v.BrickColor = BrickColor.new("Really red")
  1472. v.Material = "Neon"
  1473. end
  1474. end
  1475. for i, v in pairs(mw2:GetChildren()) do
  1476. if v:IsA("Part") then
  1477. v.BrickColor = BrickColor.new("Really red")
  1478. v.Material = "Neon"
  1479. end
  1480. end
  1481. for i, v in pairs(mw1:GetChildren()) do
  1482. if v:IsA("Part") then
  1483. v.Transparency = 1
  1484. v.BrickColor = BrickColor.new("Really red")
  1485. v.Material = "Neon"
  1486. end
  1487. end
  1488. for i, v in pairs(extrawingmod1:GetChildren()) do
  1489. if v:IsA("Part") then
  1490. v.Transparency = 1
  1491. v.BrickColor = BrickColor.new("White")
  1492. v.Material = "Neon"
  1493. end
  1494. end
  1495. for i, v in pairs(extrawingmod2:GetChildren()) do
  1496. if v:IsA("Part") then
  1497. v.Transparency = 1
  1498. v.BrickColor = BrickColor.new("White")
  1499. v.Material = "Neon"
  1500. end
  1501. end
  1502. ------
  1503.  
  1504.  
  1505. function RemoveOutlines(part)
  1506. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1507. end
  1508. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1509. local Part = Create("Part")({
  1510. Parent = Parent,
  1511. Reflectance = Reflectance,
  1512. Transparency = Transparency,
  1513. CanCollide = false,
  1514. Locked = true,
  1515. BrickColor = BrickColor.new(tostring(BColor)),
  1516. Name = Name,
  1517. Size = Size,
  1518. Material = Material
  1519. })
  1520. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1521. RemoveOutlines(Part)
  1522. return Part
  1523. end
  1524. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1525. local Msh = Create(Mesh)({
  1526. Parent = Part,
  1527. Offset = OffSet,
  1528. Scale = Scale
  1529. })
  1530. if Mesh == "SpecialMesh" then
  1531. Msh.MeshType = MeshType
  1532. Msh.MeshId = MeshId
  1533. end
  1534. return Msh
  1535. end
  1536. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1537. local Weld = Create("Weld")({
  1538. Parent = Parent,
  1539. Part0 = Part0,
  1540. Part1 = Part1,
  1541. C0 = C0,
  1542. C1 = C1
  1543. })
  1544. return Weld
  1545. end
  1546.  
  1547. Character=Player.Character
  1548. PlayerGui=Player.PlayerGui
  1549. Backpack=Player.Backpack
  1550. Torso=Character.Torso
  1551. Head=Character.Head
  1552. Humanoid=Character.Humanoid
  1553. m=Instance.new('Model',Character)
  1554. LeftArm=Character["Left Arm"]
  1555. LeftLeg=Character["Left Leg"]
  1556. RightArm=Character["Right Arm"]
  1557. RightLeg=Character["Right Leg"]
  1558. LS=Torso["Left Shoulder"]
  1559. LH=Torso["Left Hip"]
  1560. RS=Torso["Right Shoulder"]
  1561. RH=Torso["Right Hip"]
  1562. Face = Head.face
  1563. Neck=Torso.Neck
  1564. it=Instance.new
  1565. attacktype=1
  1566. vt=Vector3.new
  1567. cf=CFrame.new
  1568. euler=CFrame.fromEulerAnglesXYZ
  1569. angles=CFrame.Angles
  1570. cloaked=false
  1571. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1572. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1573. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1574. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1575. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1576. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1577. RootPart=Character.HumanoidRootPart
  1578. RootJoint=RootPart.RootJoint
  1579. RootCF=euler(-1.57,0,3.14)
  1580. attack = false
  1581. attackdebounce = false
  1582. deb=false
  1583. equipped=true
  1584. hand=false
  1585. MMouse=nil
  1586. combo=0
  1587. mana=0
  1588. trispeed=.2
  1589. attackmode='none'
  1590. local idle=0
  1591. local Anim="Idle"
  1592. local Effects={}
  1593. local gun=false
  1594. local shoot=false
  1595. local sine = 0
  1596. local change = 1
  1597. local CRAZED = false
  1598.  
  1599.  
  1600. function RecolorTextAndRename(name,col1,col2,font)
  1601. modet.TextStrokeColor3 = col2
  1602. modet.TextColor3 = col1
  1603. modet.Font = font
  1604. modet.Text = name
  1605. techc.ImageColor3 = col2
  1606. circl.ImageColor3 = col2
  1607. circl2.ImageColor3 = col1
  1608. imgl2.ImageColor3 = col1
  1609. imgl2b.ImageColor3 = col2
  1610. ned.Text = name
  1611. ned.TextColor3 = col1
  1612. ned.TextStrokeColor3 = col2
  1613. end
  1614.  
  1615. local disably = false
  1616.  
  1617. local r = 255
  1618. local g = 0
  1619. local b = 0
  1620. coroutine.resume(coroutine.create(function()
  1621. while wait() do
  1622. for i = 0, 254/5 do
  1623. swait()
  1624. g = g + 5
  1625. end
  1626. for i = 0, 254/5 do
  1627. swait()
  1628. r = r - 5
  1629. end
  1630. for i = 0, 254/5 do
  1631. swait()
  1632. b = b + 5
  1633. end
  1634. for i = 0, 254/5 do
  1635. swait()
  1636. g = g - 5
  1637. end
  1638. for i = 0, 254/5 do
  1639. swait()
  1640. r = r + 5
  1641. end
  1642. for i = 0, 254/5 do
  1643. swait()
  1644. b = b - 5
  1645. end
  1646. end
  1647. end))
  1648.  
  1649. function warnedpeople(text,represfont,color,color2)
  1650. if disably ~= true then
  1651. CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
  1652. CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
  1653. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1654. coroutine.resume(coroutine.create(function()
  1655. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  1656. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  1657. end
  1658. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1659. scrg.Name = "Spinny"
  1660. local frm = Instance.new("Frame",scrg)
  1661. frm.BackgroundTransparency = 0.25
  1662. frm.BackgroundColor3 = color
  1663. frm.BorderSizePixel = 0
  1664. frm.Rotation = 45
  1665. frm.Size = UDim2.new(3,0,0,100)
  1666. frm.Position = UDim2.new(-4,0,0,0)
  1667. local frm2 = frm:Clone()
  1668. frm2.Parent = scrg
  1669. frm2.BackgroundColor3 = color2
  1670. frm2.Position = UDim2.new(-4.05,0,0,0)
  1671. local imlb = Instance.new("ImageLabel",scrg)
  1672. imlb.BackgroundTransparency = 1
  1673. imlb.BackgroundColor3 = Color3.new(0,0,0)
  1674. imlb.Image = "rbxassetid://2344851144"
  1675. imlb.Size = UDim2.new(0,750,0,750)
  1676. imlb.ImageColor3 = color2
  1677. imlb.ImageTransparency = 0.25
  1678. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  1679. local imlb2 = imlb:Clone()
  1680. imlb2.Image = "rbxassetid://2076458450"
  1681. imlb2.Size = UDim2.new(1,0,1,0)
  1682. imlb2.ImageColor3 = color
  1683. imlb2.ImageTransparency = 0
  1684. imlb2.Position = UDim2.new(0,0,0,0)
  1685. local imlb3 = imlb:Clone()
  1686. imlb3.Image = "rbxassetid://2312119891"
  1687. imlb3.Size = UDim2.new(1,0,1,0)
  1688. imlb3.ImageColor3 = color2
  1689. imlb3.ImageTransparency = 0
  1690. imlb3.Position = UDim2.new(0,0,0,0)
  1691. local imlb4 = imlb:Clone()
  1692. imlb4.Image = "rbxassetid://2092248396"
  1693. imlb4.Size = UDim2.new(3,0,3,0)
  1694. imlb3.ImageColor3 = color
  1695. imlb4.ImageTransparency = 0
  1696. imlb4.Position = UDim2.new(-1,0,-1,0)
  1697. local imlb5 = imlb:Clone()
  1698. imlb5.Image = "rbxassetid://2344870656"
  1699. imlb5.Size = UDim2.new(10,0,10,0)
  1700. imlb5.ImageColor3 = color2
  1701. imlb5.ImageTransparency = 0
  1702. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  1703. imlb2.Parent = imlb
  1704. imlb3.Parent = imlb
  1705. imlb4.Parent = imlb
  1706. imlb5.Parent = imlb
  1707. local txtlb2 = Instance.new("TextLabel",imlb)
  1708. coroutine.resume(coroutine.create(function()
  1709. while true do
  1710. swait()
  1711. if Error == false then
  1712. txtlb2.Text = text
  1713. elseif Error == true then
  1714. txtlb2.Text = est[math.random(1,17)]
  1715. end
  1716. end
  1717. end))
  1718. txtlb2.Font = represfont
  1719. txtlb2.TextColor3 = color
  1720. txtlb2.TextStrokeTransparency = 0
  1721. txtlb2.BackgroundTransparency = 1
  1722. txtlb2.TextStrokeColor3 = color2
  1723. txtlb2.TextScaled = true
  1724. txtlb2.Size = UDim2.new(1,0,1,0)
  1725. txtlb2.Position = UDim2.new(0,0,0,0)
  1726. local fvalen = 0.55
  1727. local fval = -0.49
  1728. coroutine.resume(coroutine.create(function()
  1729. while true do
  1730. swait()
  1731. if rainbowmode == true then
  1732. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1733. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1734. txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
  1735. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  1736. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  1737. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  1738. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  1739. txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
  1740. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  1741. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  1742. imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
  1743. imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
  1744. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  1745. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  1746. end
  1747. end
  1748. end))
  1749. coroutine.resume(coroutine.create(function()
  1750. while true do
  1751. swait()
  1752. if Error == true then
  1753. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1754. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1755. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1756. txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  1757. txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  1758. imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  1759. imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  1760. imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  1761. imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  1762. imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  1763. imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  1764. frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  1765. frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  1766. text = est[math.random(1,17)]
  1767. end
  1768. end
  1769. end))
  1770. coroutine.resume(coroutine.create(function()
  1771. while true do
  1772. swait()
  1773. if CRAZED == true then
  1774. txtlb2.Rotation = math.random(-1,1)
  1775. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1776. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1777. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1778. txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
  1779. txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
  1780. imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  1781. imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  1782. imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  1783. imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  1784. imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  1785. imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  1786. frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  1787. frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  1788. end
  1789. end
  1790. end))
  1791. coroutine.resume(coroutine.create(function()
  1792. while true do
  1793. swait()
  1794. if chaosmode == true then
  1795. txtlb2.Rotation = math.random(-1,1)
  1796. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1797. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1798. imlb.ImageColor3 = BrickColor.random().Color
  1799. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  1800. end
  1801. end
  1802. end))
  1803. coroutine.resume(coroutine.create(function()
  1804. while true do
  1805. swait()
  1806. if scrg.Parent ~= nil then
  1807. fvalen = fvalen - 0.0001
  1808. elseif scrg.Parent == nil then
  1809. break
  1810. end
  1811. end
  1812. end))
  1813. local flol = -5
  1814. local flil = 1.6
  1815. coroutine.resume(coroutine.create(function()
  1816. for i = 0, 49 do
  1817. swait()
  1818. flol = flol + 0.125
  1819. flil = flil - 0.1
  1820. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  1821. frm.Rotation = frm.Rotation - 0.25
  1822. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  1823. frm2.Rotation = frm.Rotation + 0.325
  1824. imlb3.Rotation = imlb3.Rotation - 10
  1825. imlb2.Rotation = imlb.Rotation + 7.5
  1826. imlb.Rotation = imlb.Rotation + 5
  1827. if Error == false then
  1828. txtlb2.Rotation = txtlb2.Rotation - 5.125
  1829. elseif Error == true then
  1830. txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6)
  1831. end
  1832. imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  1833. end
  1834. for i = 0, 99 do
  1835. swait()
  1836. fval = fval + 0.05
  1837. flol = flol + 0.005
  1838. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  1839. frm.Rotation = frm.Rotation - 0.075
  1840. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  1841. frm2.Rotation = frm2.Rotation + 0.125
  1842. imlb3.Rotation = imlb3.Rotation - 2
  1843. imlb2.Rotation = imlb.Rotation + 1.5
  1844. imlb.Rotation = imlb.Rotation + 1
  1845. if Error == false then
  1846. txtlb2.Rotation = txtlb2.Rotation - 1.125
  1847. elseif Error == true then
  1848. txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6)
  1849. end
  1850. imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  1851. end
  1852. local valinc = 0
  1853. local vinc2 = 1
  1854. for i = 0, 99 do
  1855. swait()
  1856. vinc2 = vinc2 + 0.25
  1857. valinc = valinc + 0.0001
  1858. flol = flol + valinc
  1859. flil = flil + valinc
  1860. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  1861. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  1862. imlb.Rotation = imlb.Rotation + 1*vinc2
  1863. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  1864. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  1865. frm.Rotation = frm.Rotation + 0.1*vinc2
  1866. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  1867. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  1868. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  1869. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  1870. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  1871. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  1872. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  1873. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  1874. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  1875. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  1876. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  1877. end
  1878. scrg:Destroy()
  1879. end))
  1880. end))
  1881. end
  1882. end
  1883. end
  1884.  
  1885. function TheoriesMSGfunc(text,color,C3)
  1886. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1887. coroutine.resume(coroutine.create(function()
  1888. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  1889. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  1890. end
  1891. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1892. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  1893. scrg.Name = "Dialog"
  1894. local txtlb = Instance.new("TextLabel",scrg)
  1895. txtlb.Text = ""
  1896. txtlb.Font = "Bodoni"
  1897. txtlb.TextColor3 = Color3.new(0,0,0)
  1898. txtlb.TextStrokeTransparency = 1
  1899. txtlb.BackgroundTransparency = 1
  1900. txtlb.BackgroundColor3 = color
  1901. txtlb.TextStrokeColor3 = C3
  1902. txtlb.TextColor3 = color
  1903. txtlb.TextScaled = true
  1904. txtlb.Size = UDim2.new(1,0,1,0)
  1905. txtlb.TextXAlignment = "Left"
  1906. txtlb.Position = UDim2.new(0,0,6.75 + 1,0)
  1907. local txtlb2 = Instance.new("TextLabel",scrg)
  1908. txtlb2.Text = ""
  1909. txtlb2.Font = "Bodoni"
  1910. txtlb2.TextColor3 = Color3.new(0,0,0)
  1911. txtlb2.TextStrokeTransparency = 0
  1912. txtlb2.BackgroundTransparency = 0.96
  1913. txtlb2.BackgroundColor3 = C3
  1914. txtlb2.TextStrokeColor3 = color
  1915. txtlb2.TextScaled = true
  1916. txtlb2.Size = UDim2.new(0, 999999, 0, 999)
  1917. txtlb2.TextXAlignment = "Center"
  1918. txtlb2.Position = UDim2.new(0,0,0,0)
  1919. local Iml = Instance.new("ImageLabel",scrg)
  1920. Iml.BackgroundTransparency = 1
  1921. Iml.BorderSizePixel = 0
  1922. Iml.ImageTransparency = 0
  1923. Iml.ImageColor3 = C3
  1924. Iml.Position = UDim2.new(0,0,0.75 + 1,0)
  1925. Iml.Size = UDim2.new(0, 638.82, 0, 591.5)
  1926. Iml.Image = "rbxassetid://0"
  1927. local Iml1 = Instance.new("ImageLabel",scrg)
  1928. Iml1.BackgroundTransparency = 1
  1929. Iml1.BorderSizePixel = 0
  1930. Iml1.ImageTransparency = 0
  1931. Iml1.ImageColor3 = C3
  1932. Iml1.Position = UDim2.new(0,0,0.75 + 1,0)
  1933. Iml1.Size = UDim2.new(0, 638.82, 0, 591.5)
  1934. Iml1.Image = "rbxassetid://2312119891"
  1935. local Iml2 = Instance.new("ImageLabel",scrg)
  1936. Iml2.BackgroundTransparency = 1
  1937. Iml2.BorderSizePixel = 0
  1938. Iml2.ImageTransparency = 0
  1939. Iml2.ImageColor3 = color
  1940. Iml2.Position = UDim2.new(0,0,0.75 + 1,0)
  1941. Iml2.Size = UDim2.new(0, 638.82, 0, 591.5)
  1942. Iml2.Image = "rbxassetid://2312119891"
  1943. local txtlb = Instance.new("TextLabel",Iml)
  1944. txtlb.Text = text
  1945. txtlb.Font = "SciFi"
  1946. txtlb.TextColor3 = color
  1947. txtlb.TextStrokeTransparency = 0
  1948. txtlb.BackgroundTransparency = 1
  1949. txtlb.TextStrokeColor3 = color
  1950. txtlb.TextScaled = true
  1951. txtlb.Size = UDim2.new(1,0,1,0)
  1952. txtlb.Position = UDim2.new(0,0,6.75 + 1,0)
  1953. local fvalen = 0.4
  1954. local fval = -0.49
  1955. coroutine.resume(coroutine.create(function()
  1956. while true do
  1957. swait()
  1958. if scrg.Parent ~= nil then
  1959. fvalen = fvalen - 0.0001
  1960. elseif scrg.Parent == nil then
  1961. break
  1962. end
  1963. end
  1964. end))
  1965. local flol = -0.625
  1966. local flil = -0.935
  1967. coroutine.resume(coroutine.create(function()
  1968. while true do
  1969. swait()
  1970. Iml1.Rotation = Iml1.Rotation + 2.5
  1971. Iml2.Rotation = Iml2.Rotation - 2.5
  1972. end
  1973. end))
  1974. coroutine.resume(coroutine.create(function()
  1975. for i = 0, 36 do
  1976. swait()
  1977. fval = fval + 0.0125
  1978. flol = flol + 0.025
  1979. flil = flil + 0.025
  1980. txtlb.Text = text
  1981. txtlb2.BackgroundTransparency = txtlb2.BackgroundTransparency - 0.008
  1982. txtlb.Position = UDim2.new(flil,0,0,0)
  1983. Iml.Position = UDim2.new(flol,0,-0.05,0)
  1984. Iml1.Position = UDim2.new(flol,0,-0.05,0)
  1985. Iml2.Position = UDim2.new(flol,0,-0.05,0)
  1986. end
  1987. coroutine.resume(coroutine.create(function()
  1988. for i = 0, 99 do
  1989. swait()
  1990. fval = fval + 0.00001
  1991. flol = flol + 0.0001
  1992. flil = flil + 0.0001
  1993. txtlb.Text = text
  1994. txtlb.Position = UDim2.new(flil,0,0,0)
  1995. Iml1.Position = UDim2.new(flol,0,-0.05,0)
  1996. Iml1.Position = UDim2.new(flol,0,-0.05,0)
  1997. Iml2.Position = UDim2.new(flol,0,-0.05,0)
  1998. end
  1999. end))
  2000. wait(1.6)
  2001. local valinc = 0
  2002. for i = 0, 99 do
  2003. swait()
  2004. valinc = valinc + 0.0001
  2005. flol = flol + valinc
  2006. flil = flil + valinc
  2007. Iml1.Rotation = Iml1.Rotation - valinc*50
  2008. Iml.Rotation = Iml1.Rotation - valinc*2
  2009. Iml2.Rotation = Iml2.Rotation - valinc*50
  2010. Iml.Position = UDim2.new(flol,0,0,0)
  2011. Iml1.Position = UDim2.new(flol,0,-0.05,0)
  2012. Iml2.Position = UDim2.new(flol,0,-0.05,0)
  2013. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  2014. txtlb2.BackgroundTransparency = txtlb2.BackgroundTransparency + 0.006
  2015. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  2016. Iml.ImageTransparency = Iml1.ImageTransparency + 0.01
  2017. Iml1.ImageTransparency = Iml1.ImageTransparency + 0.01
  2018. Iml2.ImageTransparency = Iml2.ImageTransparency + 0.01
  2019. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  2020. end
  2021. scrg:Destroy()
  2022. end))
  2023. end))
  2024. end
  2025. end
  2026.  
  2027. function IdolsWarn(text,represfont,color,color2)
  2028. if disably ~= true then
  2029. CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
  2030. CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
  2031. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2032. coroutine.resume(coroutine.create(function()
  2033. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  2034. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  2035. end
  2036. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  2037. scrg.Name = "Spinny"
  2038. local frm = Instance.new("Frame",scrg)
  2039. frm.BackgroundTransparency = 0.25
  2040. frm.BackgroundColor3 = color
  2041. frm.BorderSizePixel = 0
  2042. frm.Rotation = 45
  2043. frm.Size = UDim2.new(3,0,0,100)
  2044. frm.Position = UDim2.new(-4,0,0,0)
  2045. local frm2 = frm:Clone()
  2046. frm2.Parent = scrg
  2047. frm2.BackgroundColor3 = color2
  2048. frm2.Position = UDim2.new(-4.05,0,0,0)
  2049. local imlb = Instance.new("ImageLabel",scrg)
  2050. imlb.BackgroundTransparency = 1
  2051. imlb.BackgroundColor3 = color
  2052. imlb.Image = "rbxassetid://787198541"
  2053. imlb.Size = UDim2.new(0,750,0,750)
  2054. imlb.ImageColor3 = color2
  2055. imlb.ImageTransparency = 0.25
  2056. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  2057. local imlb2 = imlb:Clone()
  2058. imlb2.Image = "rbxassetid://197468643"
  2059. imlb2.Size = UDim2.new(1,0,1,0)
  2060. imlb2.ImageTransparency = 0
  2061. imlb2.Position = UDim2.new(0,0,0,0)
  2062. local imlb3 = imlb:Clone()
  2063. imlb3.Image = "rbxassetid://787191999"
  2064. imlb3.Size = UDim2.new(1,0,1,0)
  2065. imlb3.ImageColor3 = color2
  2066. imlb3.ImageTransparency = 0
  2067. imlb3.Position = UDim2.new(0,0,0,0)
  2068. local imlb4 = imlb:Clone()
  2069. imlb4.Image = "rbxassetid://2092248396"
  2070. imlb4.Size = UDim2.new(3,0,3,0)
  2071. imlb3.ImageColor3 = color
  2072. imlb4.ImageTransparency = 0
  2073. imlb4.Position = UDim2.new(-1,0,-1,0)
  2074. local imlb5 = imlb:Clone()
  2075. imlb5.Image = "rbxassetid://2344870656"
  2076. imlb5.Size = UDim2.new(10,0,10,0)
  2077. imlb5.ImageColor3 = color2
  2078. imlb5.ImageTransparency = 0
  2079. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  2080. imlb2.Parent = imlb
  2081. imlb3.Parent = imlb
  2082. imlb4.Parent = imlb
  2083. imlb5.Parent = imlb
  2084. local txtlb2 = Instance.new("TextLabel",imlb)
  2085. coroutine.resume(coroutine.create(function()
  2086. while true do
  2087. swait()
  2088. if Error == false then
  2089. txtlb2.Text = text
  2090. elseif Error == true then
  2091. txtlb2.Text = est[math.random(1,17)]
  2092. end
  2093. end
  2094. end))
  2095. txtlb2.Font = represfont
  2096. txtlb2.TextColor3 = color
  2097. txtlb2.TextStrokeTransparency = 0
  2098. txtlb2.BackgroundTransparency = 1
  2099. txtlb2.TextStrokeColor3 = color2
  2100. txtlb2.TextScaled = true
  2101. txtlb2.Size = UDim2.new(1,0,1,0)
  2102. txtlb2.Position = UDim2.new(0,0,0,0)
  2103. local fvalen = 0.55
  2104. local fval = -0.49
  2105. coroutine.resume(coroutine.create(function()
  2106. while true do
  2107. swait()
  2108. if rainbowmode == true then
  2109. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2110. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2111. txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
  2112. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  2113. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  2114. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  2115. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  2116. txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
  2117. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  2118. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  2119. imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
  2120. imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
  2121. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  2122. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  2123. end
  2124. end
  2125. end))
  2126. coroutine.resume(coroutine.create(function()
  2127. while true do
  2128. swait()
  2129. if Error == true then
  2130. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2131. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2132. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2133. txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2134. txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2135. imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2136. imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2137. imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2138. imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2139. imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2140. imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2141. frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2142. frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2143. text = est[math.random(1,17)]
  2144. end
  2145. end
  2146. end))
  2147. coroutine.resume(coroutine.create(function()
  2148. while true do
  2149. swait()
  2150. if CRAZED == true then
  2151. txtlb2.Rotation = math.random(-1,1)
  2152. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2153. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2154. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2155. txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
  2156. txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
  2157. imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  2158. imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  2159. imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  2160. imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  2161. imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  2162. imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  2163. frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  2164. frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  2165. end
  2166. end
  2167. end))
  2168. coroutine.resume(coroutine.create(function()
  2169. while true do
  2170. swait()
  2171. if chaosmode == true then
  2172. txtlb2.Rotation = math.random(-1,1)
  2173. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2174. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2175. imlb.ImageColor3 = BrickColor.random().Color
  2176. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  2177. end
  2178. end
  2179. end))
  2180. coroutine.resume(coroutine.create(function()
  2181. while true do
  2182. swait()
  2183. if scrg.Parent ~= nil then
  2184. fvalen = fvalen - 0.0001
  2185. elseif scrg.Parent == nil then
  2186. break
  2187. end
  2188. end
  2189. end))
  2190. local flol = -5
  2191. local flil = 1.6
  2192. coroutine.resume(coroutine.create(function()
  2193. for i = 0, 49 do
  2194. swait()
  2195. flol = flol + 0.125
  2196. flil = flil - 0.1
  2197. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  2198. frm.Rotation = frm.Rotation - 0.25
  2199. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  2200. frm2.Rotation = frm.Rotation + 0.325
  2201. imlb3.Rotation = imlb3.Rotation - 10
  2202. imlb2.Rotation = imlb.Rotation + 7.5
  2203. imlb.Rotation = imlb.Rotation + 5
  2204. if Error == false then
  2205. txtlb2.Rotation = txtlb2.Rotation - 5.125
  2206. elseif Error == true then
  2207. txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6)
  2208. end
  2209. imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  2210. end
  2211. for i = 0, 99 do
  2212. swait()
  2213. fval = fval + 0.05
  2214. flol = flol + 0.005
  2215. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  2216. frm.Rotation = frm.Rotation - 0.075
  2217. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  2218. frm2.Rotation = frm2.Rotation + 0.125
  2219. imlb3.Rotation = imlb3.Rotation - 2
  2220. imlb2.Rotation = imlb.Rotation + 1.5
  2221. imlb.Rotation = imlb.Rotation + 1
  2222. if Error == false then
  2223. txtlb2.Rotation = txtlb2.Rotation - 1.125
  2224. elseif Error == true then
  2225. txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6)
  2226. end
  2227. imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  2228. end
  2229. local valinc = 0
  2230. local vinc2 = 1
  2231. for i = 0, 99 do
  2232. swait()
  2233. vinc2 = vinc2 + 0.25
  2234. valinc = valinc + 0.0001
  2235. flol = flol + valinc
  2236. flil = flil + valinc
  2237. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  2238. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  2239. imlb.Rotation = imlb.Rotation + 1*vinc2
  2240. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  2241. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  2242. frm.Rotation = frm.Rotation + 0.1*vinc2
  2243. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  2244. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  2245. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  2246. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  2247. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  2248. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  2249. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  2250. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  2251. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  2252. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  2253. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  2254. end
  2255. scrg:Destroy()
  2256. end))
  2257. end))
  2258. end
  2259. end
  2260. end
  2261.  
  2262.  
  2263. --save shoulders
  2264. RSH, LSH=nil, nil
  2265. --welds
  2266. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  2267. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  2268. LH=Torso["Left Hip"]
  2269. RH=Torso["Right Hip"]
  2270. TorsoColor=Torso.BrickColor
  2271. function NoOutline(Part)
  2272. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2273. end
  2274. ch=Character
  2275. RSH=ch.Torso["Right Shoulder"]
  2276. LSH=ch.Torso["Left Shoulder"]
  2277. --
  2278. RSH.Parent=nil
  2279. LSH.Parent=nil
  2280. --
  2281. RW.Name="Right Shoulder"
  2282. RW.Part0=ch.Torso
  2283. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  2284. RW.C1=cf(0, 0.5, 0)
  2285. RW.Part1=ch["Right Arm"]
  2286. RW.Parent=ch.Torso
  2287. --
  2288. LW.Name="Left Shoulder"
  2289. LW.Part0=ch.Torso
  2290. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  2291. LW.C1=cf(0, 0.5, 0)
  2292. LW.Part1=ch["Left Arm"]
  2293. LW.Parent=ch.Torso
  2294.  
  2295. local Stats=Instance.new("BoolValue")
  2296. Stats.Name="Stats"
  2297. Stats.Parent=Character
  2298. local Atk=Instance.new("NumberValue")
  2299. Atk.Name="Damage"
  2300. Atk.Parent=Stats
  2301. Atk.Value=1
  2302. local Def=Instance.new("NumberValue")
  2303. Def.Name="Defense"
  2304. Def.Parent=Stats
  2305. Def.Value=1
  2306. local Speed=Instance.new("NumberValue")
  2307. Speed.Name="Speed"
  2308. Speed.Parent=Stats
  2309. Speed.Value=1
  2310. local Mvmt=Instance.new("NumberValue")
  2311. Mvmt.Name="Movement"
  2312. Mvmt.Parent=Stats
  2313. Mvmt.Value=1
  2314.  
  2315. local donum=0
  2316.  
  2317.  
  2318. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  2319. local fp=it("Part")
  2320. fp.formFactor=formfactor
  2321. fp.Parent=parent
  2322. fp.Reflectance=reflectance
  2323. fp.Transparency=transparency
  2324. fp.CanCollide=false
  2325. fp.Locked=true
  2326. fp.BrickColor=brickcolor
  2327. fp.Name=name
  2328. fp.Size=size
  2329. fp.Position=Torso.Position
  2330. NoOutline(fp)
  2331. fp.Material="SmoothPlastic"
  2332. fp:BreakJoints()
  2333. return fp
  2334. end
  2335.  
  2336. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2337. local mesh=it(Mesh)
  2338. mesh.Parent=part
  2339. if Mesh=="SpecialMesh" then
  2340. mesh.MeshType=meshtype
  2341. if meshid~="nil" then
  2342. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  2343. end
  2344. end
  2345. mesh.Offset=offset
  2346. mesh.Scale=scale
  2347. return mesh
  2348. end
  2349.  
  2350. function weld(parent,part0,part1,c0)
  2351. local weld=it("Weld")
  2352. weld.Parent=parent
  2353. weld.Part0=part0
  2354. weld.Part1=part1
  2355. weld.C0=c0
  2356. return weld
  2357. end
  2358.  
  2359. local Color1=Torso.BrickColor
  2360.  
  2361. local bodvel=Instance.new("BodyVelocity")
  2362. local bg=Instance.new("BodyGyro")
  2363.  
  2364. --------- SazEreno's Artificial HB --------------
  2365. ArtificialHB = Instance.new("BindableEvent", script)
  2366. ArtificialHB.Name = "ArtificialHB"
  2367.  
  2368. script:WaitForChild("ArtificialHB")
  2369. Frame_Speed = 1 / 60
  2370. frame = Frame_Speed
  2371. tf = 0
  2372. allowframeloss = false
  2373. tossremainder = false
  2374. lastframe = tick()
  2375. script.ArtificialHB:Fire()
  2376.  
  2377. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2378. tf = tf + s
  2379. if tf >= frame then
  2380. if allowframeloss then
  2381. script.ArtificialHB:Fire()
  2382. lastframe = tick()
  2383. else
  2384. for i = 1, math.floor(tf / frame) do
  2385. script.ArtificialHB:Fire()
  2386. end
  2387. lastframe = tick()
  2388. end
  2389. if tossremainder then
  2390. tf = 0
  2391. else
  2392. tf = tf - frame * math.floor(tf / frame)
  2393. end
  2394. end
  2395. end)
  2396.  
  2397. ------------------
  2398. function swait(num)
  2399. if num == 0 or num == nil then
  2400. ArtificialHB.Event:wait()
  2401. else
  2402. for i = 1, num do
  2403. ArtificialHB.Event:wait()
  2404. end
  2405. end
  2406. end
  2407. -------- RAINBOW LEAVE IT TO ME
  2408.  
  2409.  
  2410. so = function(id,par,vol,pit)
  2411. coroutine.resume(coroutine.create(function()
  2412. local sou = Instance.new("Sound",par or workspace)
  2413. sou.Volume=vol
  2414. sou.Pitch=pit or 1
  2415. sou.SoundId=id
  2416. swait()
  2417. sou:play()
  2418. game:GetService("Debris"):AddItem(sou,6)
  2419. end))
  2420. end
  2421.  
  2422. function clerp(a,b,t)
  2423. local qa = {QuaternionFromCFrame(a)}
  2424. local qb = {QuaternionFromCFrame(b)}
  2425. local ax, ay, az = a.x, a.y, a.z
  2426. local bx, by, bz = b.x, b.y, b.z
  2427. local _t = 1-t
  2428. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  2429. end
  2430.  
  2431. function aclerp(startCF,endCF,alpha)
  2432. return startCF:lerp(endCF, alpha)
  2433. end
  2434.  
  2435. function QuaternionFromCFrame(cf)
  2436. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2437. local trace = m00 + m11 + m22
  2438. if trace > 0 then
  2439. local s = math.sqrt(1 + trace)
  2440. local recip = 0.5/s
  2441. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  2442. else
  2443. local i = 0
  2444. if m11 > m00 then
  2445. i = 1
  2446. end
  2447. if m22 > (i == 0 and m00 or m11) then
  2448. i = 2
  2449. end
  2450. if i == 0 then
  2451. local s = math.sqrt(m00-m11-m22+1)
  2452. local recip = 0.5/s
  2453. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  2454. elseif i == 1 then
  2455. local s = math.sqrt(m11-m22-m00+1)
  2456. local recip = 0.5/s
  2457. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  2458. elseif i == 2 then
  2459. local s = math.sqrt(m22-m00-m11+1)
  2460. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  2461. end
  2462. end
  2463. end
  2464.  
  2465. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2466. local xs, ys, zs = x + x, y + y, z + z
  2467. local wx, wy, wz = w*xs, w*ys, w*zs
  2468. local xx = x*xs
  2469. local xy = x*ys
  2470. local xz = x*zs
  2471. local yy = y*ys
  2472. local yz = y*zs
  2473. local zz = z*zs
  2474. 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))
  2475. end
  2476.  
  2477. function QuaternionSlerp(a, b, t)
  2478. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  2479. local startInterp, finishInterp;
  2480. if cosTheta >= 0.0001 then
  2481. if (1 - cosTheta) > 0.0001 then
  2482. local theta = math.acos(cosTheta)
  2483. local invSinTheta = 1/math.sin(theta)
  2484. startInterp = math.sin((1-t)*theta)*invSinTheta
  2485. finishInterp = math.sin(t*theta)*invSinTheta
  2486. else
  2487. startInterp = 1-t
  2488. finishInterp = t
  2489. end
  2490. else
  2491. if (1+cosTheta) > 0.0001 then
  2492. local theta = math.acos(-cosTheta)
  2493. local invSinTheta = 1/math.sin(theta)
  2494. startInterp = math.sin((t-1)*theta)*invSinTheta
  2495. finishInterp = math.sin(t*theta)*invSinTheta
  2496. else
  2497. startInterp = t-1
  2498. finishInterp = t
  2499. end
  2500. end
  2501. 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
  2502. end
  2503.  
  2504. local function CFrameFromTopBack(at, top, back)
  2505. local right = top:Cross(back)
  2506. return CFrame.new(at.x, at.y, at.z,
  2507. right.x, top.x, back.x,
  2508. right.y, top.y, back.y,
  2509. right.z, top.z, back.z)
  2510. end
  2511.  
  2512. function Triangle(a, b, c)
  2513. local edg1 = (c-a):Dot((b-a).unit)
  2514. local edg2 = (a-b):Dot((c-b).unit)
  2515. local edg3 = (b-c):Dot((a-c).unit)
  2516. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  2517. a, b, c = a, b, c
  2518. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  2519. a, b, c = b, c, a
  2520. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  2521. a, b, c = c, a, b
  2522. else
  2523. assert(false, "unreachable")
  2524. end
  2525.  
  2526. local len1 = (c-a):Dot((b-a).unit)
  2527. local len2 = (b-a).magnitude - len1
  2528. local width = (a + (b-a).unit*len1 - c).magnitude
  2529.  
  2530. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  2531.  
  2532. local list = {}
  2533.  
  2534. if len1 > 0.01 then
  2535. local w1 = Instance.new('WedgePart', m)
  2536. game:GetService("Debris"):AddItem(w1,5)
  2537. w1.Material = "SmoothPlastic"
  2538. w1.FormFactor = 'Custom'
  2539. w1.BrickColor = BrickColor.new("Really red")
  2540. w1.Transparency = 0
  2541. w1.Reflectance = 0
  2542. w1.Material = "SmoothPlastic"
  2543. w1.CanCollide = false
  2544. local l1 = Instance.new("PointLight",w1)
  2545. l1.Color = Color3.new(170,0,0)
  2546. NoOutline(w1)
  2547. local sz = Vector3.new(0.2, width, len1)
  2548. w1.Size = sz
  2549. local sp = Instance.new("SpecialMesh",w1)
  2550. sp.MeshType = "Wedge"
  2551. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  2552. w1:BreakJoints()
  2553. w1.Anchored = true
  2554. w1.Parent = workspace
  2555. w1.Transparency = 0.7
  2556. table.insert(Effects,{w1,"Disappear",.01})
  2557. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  2558. table.insert(list,w1)
  2559. end
  2560.  
  2561. if len2 > 0.01 then
  2562. local w2 = Instance.new('WedgePart', m)
  2563. game:GetService("Debris"):AddItem(w2,5)
  2564. w2.Material = "SmoothPlastic"
  2565. w2.FormFactor = 'Custom'
  2566. w2.BrickColor = BrickColor.new("Really red")
  2567. w2.Transparency = 0
  2568. w2.Reflectance = 0
  2569. w2.Material = "SmoothPlastic"
  2570. w2.CanCollide = false
  2571. local l2 = Instance.new("PointLight",w2)
  2572. l2.Color = Color3.new(170,0,0)
  2573. NoOutline(w2)
  2574. local sz = Vector3.new(0.2, width, len2)
  2575. w2.Size = sz
  2576. local sp = Instance.new("SpecialMesh",w2)
  2577. sp.MeshType = "Wedge"
  2578. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  2579. w2:BreakJoints()
  2580. w2.Anchored = true
  2581. w2.Parent = workspace
  2582. w2.Transparency = 0.7
  2583. table.insert(Effects,{w2,"Disappear",.01})
  2584. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  2585. table.insert(list,w2)
  2586. end
  2587. return unpack(list)
  2588. end
  2589.  
  2590.  
  2591. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2592. if DoDamage == true then
  2593. if hit.Parent == nil then
  2594. return
  2595. end
  2596. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  2597. for _, v in pairs(hit.Parent:children()) do
  2598. if v:IsA("Humanoid") then
  2599. h = v
  2600. end
  2601. end
  2602. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  2603. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  2604. return
  2605. end
  2606. local c = Create("ObjectValue")({
  2607. Name = "creator",
  2608. Value = game:GetService("Players").LocalPlayer,
  2609. Parent = h
  2610. })
  2611. game:GetService("Debris"):AddItem(c, 0.5)
  2612. if HitSound ~= nil and HitPitch ~= nil then
  2613. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2614. end
  2615. local Damage = math.random(minim, maxim)
  2616. local blocked = false
  2617. local block = hit.Parent:findFirstChild("Block")
  2618. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  2619. blocked = true
  2620. block.Value = block.Value - 1
  2621. print(block.Value)
  2622. end
  2623. if blocked == false then
  2624. HitHealth = h.Health
  2625. h.MaxHealth = 100
  2626. h.Health = h.Health - Damage
  2627. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  2628. print("gained kill")
  2629. dmg(h.Parent)
  2630. end
  2631. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2632. else
  2633. h.Health = h.Health - Damage / 2
  2634. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2635. end
  2636. if Type == "Knockdown" then
  2637. local hum = hit.Parent.Humanoid
  2638. hum.PlatformStand = true
  2639. coroutine.resume(coroutine.create(function(HHumanoid)
  2640. swait(1)
  2641. HHumanoid.PlatformStand = false
  2642. end), hum)
  2643. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2644. local bodvol = Create("BodyVelocity")({
  2645. velocity = angle * knockback,
  2646. P = 5000,
  2647. maxForce = Vector3.new(8000, 8000, 8000),
  2648. Parent = hit
  2649. })
  2650. local rl = Create("BodyAngularVelocity")({
  2651. P = 3000,
  2652. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2653. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2654. Parent = hit
  2655. })
  2656. game:GetService("Debris"):AddItem(bodvol, 0.5)
  2657. game:GetService("Debris"):AddItem(rl, 0.5)
  2658. elseif Type == "Normal" then
  2659. local vp = Create("BodyVelocity")({
  2660. P = 500,
  2661. maxForce = Vector3.new(math.huge, 0, math.huge),
  2662. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2663. })
  2664. if knockback > 0 then
  2665. vp.Parent = hit.Parent.Head
  2666. end
  2667. game:GetService("Debris"):AddItem(vp, 0.5)
  2668. elseif Type == "Up" then
  2669. local bodyVelocity = Create("BodyVelocity")({
  2670. velocity = Vector3.new(0, 20, 0),
  2671. P = 5000,
  2672. maxForce = Vector3.new(8000, 8000, 8000),
  2673. Parent = hit
  2674. })
  2675. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2676. local bodyVelocity = Create("BodyVelocity")({
  2677. velocity = Vector3.new(0, 20, 0),
  2678. P = 5000,
  2679. maxForce = Vector3.new(8000, 8000, 8000),
  2680. Parent = hit
  2681. })
  2682. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2683. elseif Type == "Leech" then
  2684. local hum = hit.Parent.Humanoid
  2685. if hum ~= nil then
  2686. for i = 0, 2 do
  2687. 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)
  2688. end
  2689. Humanoid.Health = Humanoid.Health + 10
  2690. end
  2691. elseif Type == "UpKnock" then
  2692. local hum = hit.Parent.Humanoid
  2693. hum.PlatformStand = true
  2694. if hum ~= nil then
  2695. hitr = true
  2696. end
  2697. coroutine.resume(coroutine.create(function(HHumanoid)
  2698. swait(5)
  2699. HHumanoid.PlatformStand = false
  2700. hitr = false
  2701. end), hum)
  2702. local bodyVelocity = Create("BodyVelocity")({
  2703. velocity = Vector3.new(0, 20, 0),
  2704. P = 5000,
  2705. maxForce = Vector3.new(8000, 8000, 8000),
  2706. Parent = hit
  2707. })
  2708. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2709. local bodyVelocity = Create("BodyVelocity")({
  2710. velocity = Vector3.new(0, 20, 0),
  2711. P = 5000,
  2712. maxForce = Vector3.new(8000, 8000, 8000),
  2713. Parent = hit
  2714. })
  2715. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2716. elseif Type == "Snare" then
  2717. local bp = Create("BodyPosition")({
  2718. P = 2000,
  2719. D = 100,
  2720. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2721. position = hit.Parent.Torso.Position,
  2722. Parent = hit.Parent.Torso
  2723. })
  2724. game:GetService("Debris"):AddItem(bp, 1)
  2725. elseif Type == "Slashnare" then
  2726. 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)
  2727. for i = 1, math.random(4, 5) do
  2728. 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)
  2729. end
  2730. local bp = Create("BodyPosition")({
  2731. P = 2000,
  2732. D = 100,
  2733. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2734. position = hit.Parent.Torso.Position,
  2735. Parent = hit.Parent.Torso
  2736. })
  2737. game:GetService("Debris"):AddItem(bp, 1)
  2738. elseif Type == "Spike" then
  2739. CreateBigIceSword(hit.Parent.Torso.CFrame)
  2740. local bp = Create("BodyPosition")({
  2741. P = 2000,
  2742. D = 100,
  2743. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2744. position = hit.Parent.Torso.Position,
  2745. Parent = hit.Parent.Torso
  2746. })
  2747. game:GetService("Debris"):AddItem(bp, 1)
  2748. elseif Type == "Freeze" then
  2749. local BodPos = Create("BodyPosition")({
  2750. P = 50000,
  2751. D = 1000,
  2752. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2753. position = hit.Parent.Torso.Position,
  2754. Parent = hit.Parent.Torso
  2755. })
  2756. local BodGy = Create("BodyGyro")({
  2757. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  2758. P = 20000,
  2759. Parent = hit.Parent.Torso,
  2760. cframe = hit.Parent.Torso.CFrame
  2761. })
  2762. hit.Parent.Torso.Anchored = true
  2763. coroutine.resume(coroutine.create(function(Part)
  2764. swait(1.5)
  2765. Part.Anchored = false
  2766. end), hit.Parent.Torso)
  2767. game:GetService("Debris"):AddItem(BodPos, 3)
  2768. game:GetService("Debris"):AddItem(BodGy, 3)
  2769. end
  2770. local debounce = Create("BoolValue")({
  2771. Name = "DebounceHit",
  2772. Parent = hit.Parent,
  2773. Value = true
  2774. })
  2775. game:GetService("Debris"):AddItem(debounce, Delay)
  2776. c = Instance.new("ObjectValue")
  2777. c.Name = "creator"
  2778. c.Value = Player
  2779. c.Parent = h
  2780. game:GetService("Debris"):AddItem(c, 0.5)
  2781. end
  2782. elseif DoDamage == false then
  2783. print("Damage is disabled")
  2784. end
  2785.  
  2786. end
  2787. function ShowDamage(Pos, Text, Time, Color)
  2788. local Rate = 0.03333333333333333
  2789. local Pos = Pos or Vector3.new(0, 0, 0)
  2790. local Text = Text or ""
  2791. local Time = Time or 2
  2792. local Color = Color or Color3.new(1, 0, 1)
  2793. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2794. EffectPart.Anchored = true
  2795. local BillboardGui = Create("BillboardGui")({
  2796. Size = UDim2.new(3, 0, 3, 0),
  2797. Adornee = EffectPart,
  2798. Parent = EffectPart
  2799. })
  2800. local TextLabel = Create("TextLabel")({
  2801. BackgroundTransparency = 1,
  2802. Size = UDim2.new(1, 0, 1, 0),
  2803. Text = Text,
  2804. TextColor3 = Color,
  2805. TextScaled = true,
  2806. Font = Enum.Font.ArialBold,
  2807. Parent = BillboardGui
  2808. })
  2809. game.Debris:AddItem(EffectPart, Time + 0.1)
  2810. EffectPart.Parent = game:GetService("Workspace")
  2811. delay(0, function()
  2812. local Frames = Time / Rate
  2813. for Frame = 1, Frames do
  2814. wait(Rate)
  2815. local Percent = Frame / Frames
  2816. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2817. TextLabel.TextTransparency = Percent
  2818. end
  2819. if EffectPart and EffectPart.Parent then
  2820. EffectPart:Destroy()
  2821. end
  2822. end)
  2823. end
  2824. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2825. for _, c in pairs(workspace:children()) do
  2826. local hum = c:findFirstChildOfClass("Humanoid")
  2827. if hum ~= nil then
  2828. local head = c:findFirstChild("Head")
  2829. if head ~= nil then
  2830. local targ = head.Position - Part.Position
  2831. local mag = targ.magnitude
  2832. if magni >= mag and c.Name ~= Player.Name then
  2833. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2834. end
  2835. end
  2836. end
  2837. end
  2838. end
  2839.  
  2840. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2841. for _, c in pairs(workspace:children()) do
  2842. local hum = c:findFirstChild("Humanoid")
  2843. if hum ~= nil then
  2844. local head = c:findFirstChild("Torso")
  2845. if head ~= nil then
  2846. local targ = head.Position - Part.Position
  2847. local mag = targ.magnitude
  2848. if magni >= mag and c.Name ~= Player.Name then
  2849. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2850. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2851. end
  2852. end
  2853. end
  2854. end
  2855. end
  2856.  
  2857. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2858. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2859. end
  2860.  
  2861. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2862. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2863. prt.Anchored=true
  2864. prt.CFrame=cframe
  2865. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2866. --http://www.roblox.com/asset/?id=4770560
  2867. game:GetService("Debris"):AddItem(prt,2)
  2868. CF=prt.CFrame
  2869. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2870. for i=0,1,0.2 do
  2871. wait()
  2872. Part.CFrame=CF*cf(0,0,-0.4)
  2873. end
  2874. for i=0,1,delay do
  2875. wait()
  2876. --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)
  2877. Mesh.Scale=Mesh.Scale
  2878. end
  2879. for i=0,1,0.1 do
  2880. wait()
  2881. Part.Transparency=i
  2882. end
  2883. Part.Parent=nil
  2884. end),prt,msh,CF)
  2885. end
  2886.  
  2887. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2888. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2889. prt.Anchored=true
  2890. prt.Material = "Neon"
  2891. prt.CFrame=cframe
  2892. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2893. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2894. game:GetService("Debris"):AddItem(prt,5)
  2895. coroutine.resume(coroutine.create(function(Part,Mesh)
  2896. for i=0,1,delay do
  2897. swait()
  2898. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2899. Part.Transparency=i
  2900. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2901. end
  2902. Part.Parent=nil
  2903. end),prt,msh)
  2904. end
  2905.  
  2906. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2907. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2908. prt.Anchored=true
  2909. prt.Material = "Neon"
  2910. prt.CFrame=cframe
  2911. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2912. game:GetService("Debris"):AddItem(prt,5)
  2913. coroutine.resume(coroutine.create(function(Part,Mesh)
  2914. local rtype = rottype
  2915. for i=0,1,delay do
  2916. swait()
  2917. if rtype == 1 then
  2918. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2919. elseif rtype == 2 then
  2920. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2921. end
  2922. Part.Transparency=i
  2923. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2924. end
  2925. Part.Parent=nil
  2926. end),prt,msh)
  2927. end
  2928.  
  2929. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2930. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2931. prt.Anchored=true
  2932. prt.CFrame=cframe
  2933. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2934. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2935. game:GetService("Debris"):AddItem(prt,5)
  2936. coroutine.resume(coroutine.create(function(Part,Mesh)
  2937. for i=0,1,delay do
  2938. wait()
  2939. Part.Transparency=i
  2940. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2941. end
  2942. Part.Parent=nil
  2943. end),prt,msh)
  2944. end
  2945.  
  2946. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2947. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2948. prt.Anchored=true
  2949. prt.Material = "Neon"
  2950. prt.CFrame=cframe
  2951. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2952. game:GetService("Debris"):AddItem(prt,5)
  2953. coroutine.resume(coroutine.create(function(Part,Mesh)
  2954. local rtype = rottype
  2955. for i=0,1,delay do
  2956. swait()
  2957. if rtype == 1 then
  2958. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2959. elseif rtype == 2 then
  2960. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2961. end
  2962. Part.Transparency=i
  2963. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2964. end
  2965. Part.Parent=nil
  2966. end),prt,msh)
  2967. end
  2968.  
  2969. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2970. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2971. prt.Anchored=true
  2972. prt.Material = "Neon"
  2973. prt.CFrame=cframe
  2974. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2975. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2976. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2977. game:GetService("Debris"):AddItem(prt,5)
  2978. coroutine.resume(coroutine.create(function(Part,Mesh)
  2979. local rtype = rottype
  2980. for i=0,1,delay do
  2981. swait()
  2982. if rtype == 1 then
  2983. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2984. elseif rtype == 2 then
  2985. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2986. end
  2987. dec.Transparency=i
  2988. dec2.Transparency=i
  2989. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2990. end
  2991. Part.Parent=nil
  2992. end),prt,msh)
  2993. end
  2994.  
  2995. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2996. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2997. prt.Anchored=true
  2998. prt.Material = "Neon"
  2999. prt.CFrame=cframe
  3000. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  3001. game:GetService("Debris"):AddItem(prt,5)
  3002. coroutine.resume(coroutine.create(function(Part,Mesh)
  3003. local rtype = rottype
  3004. for i=0,1,delay do
  3005. swait()
  3006. if rtype == 1 then
  3007. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3008. elseif rtype == 2 then
  3009. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3010. end
  3011. prt.Transparency=i
  3012. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  3013. end
  3014. Part.Parent=nil
  3015. end),prt,msh)
  3016. end
  3017.  
  3018. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  3019. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3020. prt.Anchored=true
  3021. prt.Material = "Neon"
  3022. prt.CFrame=cframe
  3023. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  3024. game:GetService("Debris"):AddItem(prt,5)
  3025. coroutine.resume(coroutine.create(function(Part,Mesh)
  3026. local rtype = rottype
  3027. for i=0,1,delay do
  3028. swait()
  3029. if rtype == 1 then
  3030. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  3031. elseif rtype == 2 then
  3032. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  3033. end
  3034. prt.Transparency=i
  3035. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  3036. end
  3037. Part.Parent=nil
  3038. end),prt,msh)
  3039. end
  3040.  
  3041. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  3042. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3043. prt.Anchored=true
  3044. prt.Material = "Neon"
  3045. prt.CFrame=cframe
  3046. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3047. game:GetService("Debris"):AddItem(prt,5)
  3048. coroutine.resume(coroutine.create(function(Part,Mesh)
  3049. local rtype = rottype
  3050. for i=0,1,delay do
  3051. swait()
  3052. if rtype == 1 then
  3053. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3054. elseif rtype == 2 then
  3055. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3056. end
  3057. prt.Transparency=i
  3058. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  3059. end
  3060. Part.Parent=nil
  3061. end),prt,msh)
  3062. end
  3063.  
  3064. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  3065. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3066. prt.Anchored=true
  3067. prt.Material = "Neon"
  3068. prt.CFrame=cframe
  3069. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3070. game:GetService("Debris"):AddItem(prt,5)
  3071. coroutine.resume(coroutine.create(function(Part,Mesh)
  3072. local rtype = rottype
  3073. for i=0,1,delay do
  3074. swait()
  3075. if rtype == 1 then
  3076. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3077. elseif rtype == 2 then
  3078. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3079. end
  3080. prt.Transparency=i
  3081. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3082. end
  3083. Part.Parent=nil
  3084. end),prt,msh)
  3085. end
  3086.  
  3087. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  3088. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3089. prt.Anchored=false
  3090. prt.CFrame=cframe
  3091. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3092. local wld=weld(prt,prt,Parent,cframe)
  3093. game:GetService("Debris"):AddItem(prt,5)
  3094. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  3095. for i=0,1,delay do
  3096. wait()
  3097. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  3098. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3099. Part.Transparency=i
  3100. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3101. end
  3102. Part.Parent=nil
  3103. end),prt,msh,wld)
  3104. end
  3105.  
  3106. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  3107. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3108. prt.Anchored=false
  3109. prt.CFrame=cframe
  3110. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3111. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  3112. game:GetService("Debris"):AddItem(prt,5)
  3113. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  3114. for i=0,1,delay do
  3115. wait()
  3116. Weld.C0=euler(i*20,0,0)
  3117. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3118. Part.Transparency=i
  3119. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3120. end
  3121. Part.Parent=nil
  3122. end),prt,msh,wld)
  3123. end
  3124.  
  3125. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3126. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3127. prt.Anchored=true
  3128. prt.CFrame=cframe
  3129. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3130. game:GetService("Debris"):AddItem(prt,2)
  3131. coroutine.resume(coroutine.create(function(Part,Mesh)
  3132. for i=0,1,delay do
  3133. wait()
  3134. Part.CFrame=Part.CFrame
  3135. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3136. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3137. prt2.Anchored=true
  3138. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3139. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  3140. game:GetService("Debris"):AddItem(prt2,2)
  3141. coroutine.resume(coroutine.create(function(Part,Mesh)
  3142. for i=0,1,0.1 do
  3143. wait()
  3144. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  3145. end
  3146. Part.Parent=nil
  3147. end),prt2,msh2)
  3148. end
  3149. for i=0,1,delay*2 do
  3150. wait()
  3151. Part.CFrame=Part.CFrame
  3152. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  3153. end
  3154. Part.Parent=nil
  3155. end),prt,msh)
  3156. end
  3157.  
  3158. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3159. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3160. prt.Anchored=true
  3161. prt.CFrame=cframe
  3162. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3163. game:GetService("Debris"):AddItem(prt,2)
  3164. coroutine.resume(coroutine.create(function(Part,Mesh)
  3165. for i=0,1,delay do
  3166. wait()
  3167. Part.CFrame=Part.CFrame
  3168. Part.Transparency=i
  3169. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3170. end
  3171. Part.Parent=nil
  3172. end),prt,msh)
  3173. end
  3174.  
  3175. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  3176. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3177. prt.Anchored=true
  3178. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3179. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3180. game:GetService("Debris"):AddItem(prt,2)
  3181. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  3182. CF=Part.CFrame
  3183. Numbb=0
  3184. randnumb=math.random()/10
  3185. rand1=math.random()/10
  3186. for i=0,1,rand1 do
  3187. wait()
  3188. CF=CF*cf(0,math.random()/2,0)
  3189. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  3190. Part.CFrame=CF*euler(Numbb,0,0)
  3191. Part.Transparency=i
  3192. Numbb=Numbb+randnumb
  3193. end
  3194. Part.Parent=nil
  3195. end),prt,CF,Numbb,randnumb)
  3196. end
  3197.  
  3198. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3199. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3200. prt.Anchored=true
  3201. prt.CFrame=cframe
  3202. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  3203. game:GetService("Debris"):AddItem(prt,5)
  3204. coroutine.resume(coroutine.create(function(Part,Mesh)
  3205. for i=0,1,delay do
  3206. wait()
  3207. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  3208. Part.Transparency=i
  3209. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3210. end
  3211. Part.Parent=nil
  3212. end),prt,msh)
  3213. end
  3214.  
  3215. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3216. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3217. prt.Anchored=true
  3218. prt.CFrame=cframe
  3219. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  3220. game:GetService("Debris"):AddItem(prt,2)
  3221. coroutine.resume(coroutine.create(function(Part,Mesh)
  3222. for i=0,1,delay do
  3223. wait()
  3224. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  3225. Part.Transparency=i
  3226. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3227. end
  3228. Part.Parent=nil
  3229. end),prt,msh)
  3230. end
  3231.  
  3232. function waveEff(bonuspeed,type,typeoftrans,pos,scale,value,value2,color)
  3233. local type = type
  3234. local rng = Instance.new("Part", char)
  3235. rng.Anchored = true
  3236. rng.BrickColor = color
  3237. rng.CanCollide = false
  3238. rng.FormFactor = 3
  3239. rng.Name = "Ring"
  3240. rng.Material = "Neon"
  3241. rng.Size = Vector3.new(1, 1, 1)
  3242. rng.Transparency = 0
  3243. if typeoftrans == "In" then
  3244. rng.Transparency = 1
  3245. end
  3246. rng.TopSurface = 0
  3247. rng.BottomSurface = 0
  3248. rng.CFrame = pos
  3249. local rngm = Instance.new("SpecialMesh", rng)
  3250. rngm.MeshType = "FileMesh"
  3251. rngm.MeshId = "rbxassetid://20329976"
  3252. rngm.Scale = scale
  3253. local scaler2 = 1
  3254. local scaler2b = 1
  3255. if type == "Add" then
  3256. scaler2 = 1*value
  3257. scaler2b = 1*value2
  3258. elseif type == "Divide" then
  3259. scaler2 = 1/value
  3260. scaler2b = 1/value2
  3261. end
  3262. local randomrot = math.random(1,2)
  3263. coroutine.resume(coroutine.create(function()
  3264. for i = 0,10/bonuspeed,0.1 do
  3265. swait()
  3266. if type == "Add" then
  3267. scaler2 = scaler2 - 0.01*value/bonuspeed
  3268. scaler2b = scaler2b - 0.01*value/bonuspeed
  3269. elseif type == "Divide" then
  3270. scaler2 = scaler2 - 0.01/value*bonuspeed
  3271. scaler2b = scaler2b - 0.01/value*bonuspeed
  3272. end
  3273. if randomrot == 1 then
  3274. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(5*bonuspeed/2),0)
  3275. elseif randomrot == 2 then
  3276. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-5*bonuspeed/2),0)
  3277. end
  3278. if typeoftrans == "Out" then
  3279. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3280. elseif typeoftrans == "In" then
  3281. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3282. end
  3283. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2*bonuspeed)
  3284. end
  3285. rng:Destroy()
  3286. end))
  3287. end
  3288.  
  3289. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  3290. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3291. prt.Anchored=true
  3292. prt.CFrame=cframe*cf(x,y,z)
  3293. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  3294. game:GetService("Debris"):AddItem(prt,5)
  3295. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  3296. local num=math.random()
  3297. local num2=math.random(-3,2)+math.random()
  3298. local numm=0
  3299. for i=0,1,delay*2 do
  3300. swait()
  3301. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  3302. Part.Transparency=i
  3303. numm=numm+0.01
  3304. end
  3305. Part.Parent=nil
  3306. Mesh.Parent=nil
  3307. end),prt,msh,x,y,z)
  3308. end
  3309.  
  3310. function dmgstart(dmg,what)
  3311. hitcon = what.Touched:connect(function(hit)
  3312. local hum = hit.Parent:FindFirstChild("Humanoid")
  3313. if hum and not hum:IsDescendantOf(Character) then
  3314. hum:TakeDamage(dmg)
  3315. end
  3316. end)
  3317. end
  3318.  
  3319. function dmgstop()
  3320. hitcon:disconnect()
  3321. end
  3322.  
  3323. function Cloak()
  3324. Face.Parent=nil
  3325. cloaked=true
  3326. for _,v in pairs(Torso.Parent:children()) do
  3327. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  3328. coroutine.resume(coroutine.create(function()
  3329. for i=0,1,0.2 do
  3330. wait()
  3331. v.Transparency=i
  3332. end
  3333. v.Transparency=1
  3334. end))
  3335. end
  3336. if v.className=="Hat" then
  3337. hatp=v.Handle
  3338. coroutine.resume(coroutine.create(function(derp)
  3339. for i=0,1,0.2 do
  3340. wait()
  3341. derp.Transparency=i
  3342. end
  3343. derp.Transparency=1
  3344. end),hatp)
  3345. end
  3346. end
  3347. for _,v in pairs(m:children()) do
  3348. if v.className=="Part" then
  3349. coroutine.resume(coroutine.create(function()
  3350. for i=0,1,0.2 do
  3351. wait()
  3352. v.Transparency=i
  3353. end
  3354. v.Transparency=1
  3355. end))
  3356. end
  3357. end
  3358. end
  3359.  
  3360. function UnCloak()
  3361. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  3362. Face.Parent=Head
  3363. cloaked=false
  3364. for _,v in pairs(Torso.Parent:children()) do
  3365. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  3366. coroutine.resume(coroutine.create(function()
  3367. for i=0,1,0.1 do
  3368. wait()
  3369. v.Transparency=v.Transparency-0.1
  3370. end
  3371. v.Transparency=0
  3372. end))
  3373. end
  3374. if v.className=="Hat" then
  3375. hatp=v.Handle
  3376. coroutine.resume(coroutine.create(function(derp)
  3377. for i=0,1,0.1 do
  3378. wait()
  3379. derp.Transparency=derp.Transparency-0.1
  3380. end
  3381. derp.Transparency=0
  3382. end),hatp)
  3383. end
  3384. end
  3385. for _,v in pairs(m:children()) do
  3386. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  3387. coroutine.resume(coroutine.create(function()
  3388. for i=0,1,0.1 do
  3389. wait()
  3390. v.Transparency=v.Transparency-0.1
  3391. end
  3392. v.Transparency=0
  3393. end))
  3394. v.Transparency=0
  3395. end
  3396. end
  3397. end
  3398.  
  3399. local origcolor = BrickColor.new("Pastel light blue")
  3400. ---- This section of explosions.
  3401.  
  3402. ----
  3403.  
  3404.  
  3405. function ring(type,pos,scale,value)
  3406. local type = type
  3407. local rng = Instance.new("Part", char)
  3408. rng.Anchored = true
  3409. rng.BrickColor = origcolor
  3410. rng.CanCollide = false
  3411. rng.FormFactor = 3
  3412. rng.Name = "Ring"
  3413. rng.Size = Vector3.new(1, 1, 1)
  3414. rng.Transparency = 0
  3415. rng.TopSurface = 0
  3416. rng.BottomSurface = 0
  3417. rng.CFrame = pos
  3418. local rngm = Instance.new("SpecialMesh", rng)
  3419. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3420. rngm.Scale = scale
  3421. local scaler2 = 1
  3422. if type == "Add" then
  3423. scaler2 = 1*value
  3424. elseif type == "Divide" then
  3425. scaler2 = 1/value
  3426. end
  3427. coroutine.resume(coroutine.create(function()
  3428. for i = 0,10,0.1 do
  3429. swait()
  3430. if type == "Add" then
  3431. scaler2 = scaler2 - 0.01*value
  3432. elseif type == "Divide" then
  3433. scaler2 = scaler2 - 0.01/value
  3434. end
  3435. rng.Transparency = rng.Transparency + 0.01
  3436. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  3437. end
  3438. rng:Destroy()
  3439. end))
  3440. end
  3441.  
  3442.  
  3443. function wave(type,pos,scale,value)
  3444. local type = type
  3445. local rng = Instance.new("Part", char)
  3446. rng.Anchored = true
  3447. rng.BrickColor = origcolor
  3448. rng.CanCollide = false
  3449. rng.FormFactor = 3
  3450. rng.Name = "Ring"
  3451. rng.Size = Vector3.new(1, 1, 1)
  3452. rng.Transparency = 0
  3453. rng.TopSurface = 0
  3454. rng.BottomSurface = 0
  3455. rng.CFrame = pos
  3456. local rngm = Instance.new("SpecialMesh", rng)
  3457. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3458. rngm.Scale = scale
  3459. local scaler2 = 1
  3460. if type == "Add" then
  3461. scaler2 = 1*value
  3462. elseif type == "Divide" then
  3463. scaler2 = 1/value
  3464. end
  3465. coroutine.resume(coroutine.create(function()
  3466. for i = 0,10,0.1 do
  3467. swait()
  3468. if type == "Add" then
  3469. scaler2 = scaler2 - 0.01*value
  3470. elseif type == "Divide" then
  3471. scaler2 = scaler2 - 0.01/value
  3472. end
  3473. rng.Transparency = rng.Transparency + 0.01
  3474. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3475. end
  3476. rng:Destroy()
  3477. end))
  3478. end
  3479.  
  3480. function wind(type,pos,scale,value,speed)
  3481. local type = type
  3482. local rng = Instance.new("Part", char)
  3483. rng.Anchored = true
  3484. rng.BrickColor = origcolor
  3485. rng.CanCollide = false
  3486. rng.FormFactor = 3
  3487. rng.Name = "Ring"
  3488. rng.Size = Vector3.new(1, 1, 1)
  3489. rng.Transparency = 0
  3490. rng.TopSurface = 0
  3491. rng.BottomSurface = 0
  3492. rng.CFrame = pos
  3493. local rngm = Instance.new("SpecialMesh", rng)
  3494. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3495. rngm.Scale = scale
  3496. local scaler2 = 1
  3497. if type == "Add" then
  3498. scaler2 = 1*value
  3499. elseif type == "Divide" then
  3500. scaler2 = 1/value
  3501. end
  3502. coroutine.resume(coroutine.create(function()
  3503. for i = 0,10,0.1 do
  3504. swait()
  3505. if type == "Add" then
  3506. scaler2 = scaler2 - 0.01*value
  3507. elseif type == "Divide" then
  3508. scaler2 = scaler2 - 0.01/value
  3509. end
  3510. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  3511. rng.Transparency = rng.Transparency + 0.01
  3512. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3513. end
  3514. rng:Destroy()
  3515. end))
  3516. end
  3517.  
  3518. function groundwind(type,pos,scale,value,speed)
  3519. local type = type
  3520. local rng = Instance.new("Part", char)
  3521. rng.Anchored = true
  3522. rng.BrickColor = origcolor
  3523. rng.CanCollide = false
  3524. rng.FormFactor = 3
  3525. rng.Name = "Ring"
  3526. rng.Size = Vector3.new(1, 1, 1)
  3527. rng.Transparency = 0
  3528. rng.TopSurface = 0
  3529. rng.BottomSurface = 0
  3530. rng.CFrame = pos
  3531. local rngm = Instance.new("SpecialMesh", rng)
  3532. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3533. rngm.Scale = scale
  3534. local scaler2 = 1
  3535. if type == "Add" then
  3536. scaler2 = 1*value
  3537. elseif type == "Divide" then
  3538. scaler2 = 1/value
  3539. end
  3540. coroutine.resume(coroutine.create(function()
  3541. for i = 0,10,0.1 do
  3542. swait()
  3543. if type == "Add" then
  3544. scaler2 = scaler2 - 0.01*value
  3545. elseif type == "Divide" then
  3546. scaler2 = scaler2 - 0.01/value
  3547. end
  3548. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  3549. rng.Transparency = rng.Transparency + 0.01
  3550. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  3551. end
  3552. rng:Destroy()
  3553. end))
  3554. end
  3555.  
  3556. function CameraManager()
  3557. if TwoD and not CamInterrupt then
  3558. if Humanoid.Health > 0 then
  3559. Camera.CameraSubject = Humanoid
  3560. Camera.CameraType = "Scriptable"
  3561. Humanoid.AutoRotate = false
  3562. if Booleans.GyroUse then
  3563. Directer.MaxTorque = Vec3(0, huge, 0)
  3564. else
  3565. Directer.MaxTorque = Vec3(0, 0, 0)
  3566. end
  3567. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  3568. if Booleans.CamFollow then
  3569. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  3570. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  3571. else
  3572. CPart.Position = RootPart.Position
  3573. end
  3574. else
  3575. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  3576. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  3577. end
  3578. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  3579. else
  3580. Camera.CameraSubject = Humanoid
  3581. Camera.CameraType = "Custom"
  3582. Controller.Disabled = false
  3583. end
  3584. end
  3585. end
  3586.  
  3587. function ring(type,pos,scale,value)
  3588. local type = type
  3589. local rng = Instance.new("Part", char)
  3590. rng.Anchored = true
  3591. rng.BrickColor = origcolor
  3592. rng.CanCollide = false
  3593. rng.FormFactor = 3
  3594. rng.Name = "Ring"
  3595. rng.Size = Vector3.new(1, 1, 1)
  3596. rng.Transparency = 0
  3597. rng.TopSurface = 0
  3598. rng.BottomSurface = 0
  3599. rng.CFrame = pos
  3600. local rngm = Instance.new("SpecialMesh", rng)
  3601. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3602. rngm.Scale = scale
  3603. local scaler2 = 1
  3604. if type == "Add" then
  3605. scaler2 = 1*value
  3606. elseif type == "Divide" then
  3607. scaler2 = 1/value
  3608. end
  3609. coroutine.resume(coroutine.create(function()
  3610. for i = 0,10,0.1 do
  3611. swait()
  3612. if type == "Add" then
  3613. scaler2 = scaler2 - 0.01*value
  3614. elseif type == "Divide" then
  3615. scaler2 = scaler2 - 0.01/value
  3616. end
  3617. rng.Transparency = rng.Transparency + 0.01
  3618. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  3619. end
  3620. rng:Destroy()
  3621. end))
  3622. end
  3623.  
  3624.  
  3625. function wave(type,pos,scale,value)
  3626. local type = type
  3627. local rng = Instance.new("Part", char)
  3628. rng.Anchored = true
  3629. rng.BrickColor = origcolor
  3630. rng.CanCollide = false
  3631. rng.FormFactor = 3
  3632. rng.Name = "Ring"
  3633. rng.Size = Vector3.new(1, 1, 1)
  3634. rng.Transparency = 0
  3635. rng.TopSurface = 0
  3636. rng.BottomSurface = 0
  3637. rng.CFrame = pos
  3638. local rngm = Instance.new("SpecialMesh", rng)
  3639. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3640. rngm.Scale = scale
  3641. local scaler2 = 1
  3642. if type == "Add" then
  3643. scaler2 = 1*value
  3644. elseif type == "Divide" then
  3645. scaler2 = 1/value
  3646. end
  3647. coroutine.resume(coroutine.create(function()
  3648. for i = 0,10,0.1 do
  3649. swait()
  3650. if type == "Add" then
  3651. scaler2 = scaler2 - 0.01*value
  3652. elseif type == "Divide" then
  3653. scaler2 = scaler2 - 0.01/value
  3654. end
  3655. rng.Transparency = rng.Transparency + 0.01
  3656. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3657. end
  3658. rng:Destroy()
  3659. end))
  3660. end
  3661.  
  3662. function sphere(bonuspeed,type,pos,scale,value,color)
  3663. local type = type
  3664. local rng = Instance.new("Part", char)
  3665. rng.Anchored = true
  3666. if ModeOfGlitch ~= 9 then
  3667. rng.BrickColor = color
  3668. elseif ModeOfGlitch == 9 then
  3669. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3670. end
  3671. rng.CanCollide = false
  3672. rng.FormFactor = 3
  3673. rng.Name = "Ring"
  3674. rng.Material = "Neon"
  3675. rng.Size = Vector3.new(1, 1, 1)
  3676. rng.Transparency = 0
  3677. rng.TopSurface = 0
  3678. rng.BottomSurface = 0
  3679. rng.CFrame = pos
  3680. local rngm = Instance.new("SpecialMesh", rng)
  3681. rngm.MeshType = "Sphere"
  3682. rngm.Scale = scale
  3683. if rainbowmode == true then
  3684. rng.Color = Color3.new(r/255,g/255,b/255)
  3685. end
  3686. if ModeOfGlitch == 9 then
  3687. coroutine.resume(coroutine.create(function()
  3688. while true do
  3689. swait()
  3690. if rng.Parent ~= nil then
  3691. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3692. else
  3693. break
  3694. end
  3695. end
  3696. end))
  3697. end
  3698. local scaler2 = 1
  3699. if type == "Add" then
  3700. scaler2 = 1*value
  3701. elseif type == "Divide" then
  3702. scaler2 = 1/value
  3703. end
  3704. coroutine.resume(coroutine.create(function()
  3705. for i = 0,10/bonuspeed,0.1 do
  3706. swait()
  3707. if rainbowmode == true then
  3708. rng.Color = Color3.new(r/255,g/255,b/255)
  3709. end
  3710. if type == "Add" then
  3711. scaler2 = scaler2 - 0.01*value/bonuspeed
  3712. elseif type == "Divide" then
  3713. scaler2 = scaler2 - 0.01/value*bonuspeed
  3714. end
  3715. if chaosmode == true then
  3716. rng.BrickColor = BrickColor.random()
  3717. end
  3718. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3719. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3720. end
  3721. rng:Destroy()
  3722. end))
  3723. end
  3724.  
  3725. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  3726. local type = type
  3727. local rng = Instance.new("Part", char)
  3728. rng.Anchored = true
  3729. if ModeOfGlitch ~= 9 then
  3730. rng.BrickColor = color
  3731. elseif ModeOfGlitch == 9 then
  3732. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3733. end
  3734. rng.CanCollide = false
  3735. rng.FormFactor = 3
  3736. rng.Name = "Ring"
  3737. rng.Material = "Neon"
  3738. rng.Size = Vector3.new(1, 1, 1)
  3739. rng.Transparency = 0
  3740. rng.TopSurface = 0
  3741. rng.BottomSurface = 0
  3742. rng.CFrame = pos
  3743. local rngm = Instance.new("SpecialMesh", rng)
  3744. rngm.MeshType = "Sphere"
  3745. rngm.Scale = scale
  3746. local scaler2 = 1
  3747. local scaler2b = 1
  3748. local scaler2c = 1
  3749. if type == "Add" then
  3750. scaler2 = 1*value
  3751. scaler2b = 1*value2
  3752. scaler2c = 1*value3
  3753. elseif type == "Divide" then
  3754. scaler2 = 1/value
  3755. scaler2b = 1/value2
  3756. scaler2c = 1/value3
  3757. end
  3758. if ModeOfGlitch == 9 then
  3759. coroutine.resume(coroutine.create(function()
  3760. while true do
  3761. swait()
  3762. if rng.Parent ~= nil then
  3763. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3764. else
  3765. break
  3766. end
  3767. end
  3768. end))
  3769. end
  3770. coroutine.resume(coroutine.create(function()
  3771. for i = 0,10/bonuspeed,0.1 do
  3772. swait()
  3773. if type == "Add" then
  3774. scaler2 = scaler2 - 0.01*value/bonuspeed
  3775. scaler2b = scaler2b - 0.01*value/bonuspeed
  3776. scaler2c = scaler2c - 0.01*value/bonuspeed
  3777. elseif type == "Divide" then
  3778. scaler2 = scaler2 - 0.01/value*bonuspeed
  3779. scaler2b = scaler2b - 0.01/value*bonuspeed
  3780. scaler2c = scaler2c - 0.01/value*bonuspeed
  3781. end
  3782. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3783. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3784. end
  3785. rng:Destroy()
  3786. end))
  3787. end
  3788.  
  3789. function ragdoll(who)
  3790. pcall(function()
  3791. local ded = who
  3792. local h1 = ded:FindFirstChild("Head")
  3793. local t1 = ded:FindFirstChild("Torso") or ded:FindFirstChild("UpperTorso")
  3794. if t1.Name == "UpperTorso" then
  3795. r15r(ded)
  3796. return ragdoll
  3797. end
  3798. local ff = ded:FindFirstChildOfClass("ForceField")
  3799. if ff ~= nil then
  3800. ff:Destroy()
  3801. end
  3802. local ra1 = ded:FindFirstChild("Right Arm")
  3803. local la1 = ded:FindFirstChild("Left Arm")
  3804. local rl1 = ded:FindFirstChild("Right Leg")
  3805. local ll1 = ded:FindFirstChild("Left Leg")
  3806. local hum1 = ded:FindFirstChildOfClass("Humanoid")
  3807. local acc = ded:FindFirstChild("xdded")
  3808. if acc == nil then
  3809. local ac = Instance.new("Glue",ded) ac.Name = "xdded"
  3810. local rut1 = ded:FindFirstChild("HumanoidRootPart")
  3811. hum1.PlatformStand = true
  3812. if rut1 ~= nil then
  3813. rut1.Parent = nil
  3814. end
  3815. pcall(function()
  3816. for i,v in pairs(who:GetChildren()) do
  3817. if v:IsA("Accessory") or v:IsA("Hat") then
  3818. local gl = Instance.new("WeldConstraint",v.Handle)
  3819. gl.Part0 = h1 gl.Part1 = v.Handle
  3820. end
  3821. end
  3822. for i,v in pairs(who:GetChildren()) do
  3823. if v:IsA("Script") or v:IsA("LocalScript") then
  3824. if v.Name == "Health" then
  3825. v.Parent = nil
  3826. end
  3827. end
  3828. end
  3829. for i,v in pairs(who:GetChildren()) do
  3830. if v:IsA("BasePart") then
  3831. v.Anchored = false
  3832. end
  3833. if v:IsA("Accessory") or v:IsA("Hat") then
  3834. v.Handle.Anchored = false
  3835. end
  3836. end
  3837. end)
  3838. hum1.MaxHealth = 100
  3839. hum1.Health = math.random(10,50)
  3840. t1:BreakJoints()
  3841. ra1:BreakJoints()
  3842. la1:BreakJoints()
  3843. rl1:BreakJoints()
  3844. ll1:BreakJoints()
  3845. --//Joints~//--
  3846. --Neck--
  3847. if h1 ~= nil then
  3848. local neca = Instance.new("Glue",t1) neca.Part0 = t1 neca.Part1 = h1 neca.C0 = CFrame.new(0,t1.Size.y/2,0) neca.C1 = CFrame.new(0,-h1.Size.y/2,0) neca.Name = "yo"
  3849. local ch = Instance.new("Part",t1) ch.Name = "yo" ch.Size = Vector3.new(h1.Size.x/2,h1.Size.y/2,h1.Size.z/2 + h1.Size.z/4) ch.TopSurface = "Smooth" ch.BottomSurface = "Smooth" ch.Transparency = 1
  3850. local wh = Instance.new("Weld",ch) wh.Part0 = h1 wh.Part1 = ch
  3851. end
  3852. --Right Arm--
  3853. if ra1 ~= nil then
  3854. local rsa = Instance.new("Glue",t1) rsa.Part0 = t1 rsa.Part1 = ra1 rsa.C0 = CFrame.new(t1.Size.x/2 + t1.Size.x/4,t1.Size.y/4,0) rsa.C1 = CFrame.new(0,ra1.Size.y/4,0) rsa.Name = "yo"
  3855. local cra = Instance.new("Part",t1) cra.Name = "yo" cra.Size = Vector3.new(ra1.Size.y/2 + ra1.Size.y/4,ra1.Size.y/2,ra1.Size.z) cra.TopSurface = "Smooth" cra.BottomSurface = "Smooth" cra.Transparency = 1
  3856. local wra = Instance.new("Weld",cra) wra.Part0 = ra1 wra.Part1 = cra wra.C0 = CFrame.new(0,-ra1.Size.y/8,0) * CFrame.Angles(rad(0),rad(0),rad(90))
  3857. end
  3858. --Left Arm--
  3859. if la1 ~= nil then
  3860. local lsa = Instance.new("Glue",t1) lsa.Part0 = t1 lsa.Part1 = la1 lsa.C0 = CFrame.new(-t1.Size.x/2 - t1.Size.x/4,t1.Size.y/4,0) lsa.C1 = CFrame.new(0,la1.Size.y/4,0) lsa.Name = "yo"
  3861. local cla = Instance.new("Part",t1) cla.Name = "yo" cla.Size = Vector3.new(la1.Size.y/2 + la1.Size.y/4,la1.Size.y/2,la1.Size.z) cla.TopSurface = "Smooth" cla.BottomSurface = "Smooth" cla.Transparency = 1
  3862. local wla = Instance.new("Weld",cla) wla.Part0 = la1 wla.Part1 = cla wla.C0 = CFrame.new(0,-la1.Size.y/8,0) * CFrame.Angles(rad(0),rad(0),rad(90))
  3863. end
  3864. --Right Leg--
  3865. if rl1 ~= nil then
  3866. local rha = Instance.new("Glue",t1) rha.Part0 = t1 rha.Part1 = rl1 rha.C0 = CFrame.new(t1.Size.x/4,-t1.Size.y/2,0) rha.C1 = CFrame.new(0,rl1.Size.y/2,0) rha.Name = "yo"
  3867. local crl = Instance.new("Part",t1) crl.Name = "yo" crl.Size = Vector3.new(rl1.Size.y/2 + rl1.Size.y/4,rl1.Size.y/2,rl1.Size.z) crl.TopSurface = "Smooth" crl.BottomSurface = "Smooth" crl.Transparency = 1
  3868. local wrl = Instance.new("Weld",crl) wrl.Part0 = rl1 wrl.Part1 = crl wrl.C0 = CFrame.new(0,-rl1.Size.y/8,0) * CFrame.Angles(rad(0),rad(0),rad(90))
  3869. end
  3870. --Left Leg--
  3871. if ll1 ~= nil then
  3872. local lha = Instance.new("Glue",t1) lha.Part0 = t1 lha.Part1 = ll1 lha.C0 = CFrame.new(-t1.Size.x/4,-t1.Size.y/2,0) lha.C1 = CFrame.new(0,ll1.Size.y/2,0) lha.Name = "yo"
  3873. local cll = Instance.new("Part",t1) cll.Name = "yo" cll.Size = Vector3.new(ll1.Size.y/2 + ll1.Size.y/4,ll1.Size.y/2,ll1.Size.z) cll.TopSurface = "Smooth" cll.BottomSurface = "Smooth" cll.Transparency = 1
  3874. local wll = Instance.new("Weld",cll) wll.Part0 = ll1 wll.Part1 = cll wll.C0 = CFrame.new(0,-ll1.Size.y/8,0) * CFrame.Angles(rad(0),rad(0),rad(90))
  3875. end
  3876. --//End of Joints~//--
  3877. end
  3878. end)
  3879. end
  3880. function r15r(who)
  3881. local ded = who
  3882. local ac = ded:FindFirstChild("xdded")
  3883. if ac == nil then
  3884. Instance.new("Glue",ded).Name = "xdded"
  3885. local h2 = ded:FindFirstChild("Head")
  3886. local t2 = ded:FindFirstChild("UpperTorso")
  3887. local lt2 = ded:FindFirstChild("LowerTorso")
  3888. local rua2 = ded:FindFirstChild("RightUpperArm")
  3889. local lua2 = ded:FindFirstChild("LeftUpperArm")
  3890. local rla2 = ded:FindFirstChild("RightLowerArm")
  3891. local lla2 = ded:FindFirstChild("LeftLowerArm")
  3892. local rh2 = ded:FindFirstChild("RightHand")
  3893. local lh2 = ded:FindFirstChild("LeftHand")
  3894. local rul2 = ded:FindFirstChild("RightUpperLeg")
  3895. local lul2 = ded:FindFirstChild("LeftUpperLeg")
  3896. local rll2 = ded:FindFirstChild("RightLowerLeg")
  3897. local lll2 = ded:FindFirstChild("LeftLowerLeg")
  3898. local rf2 = ded:FindFirstChild("RightFoot")
  3899. local lf2 = ded:FindFirstChild("LeftFoot")
  3900. local rut1 = ded:FindFirstChild("HumanoidRootPart")
  3901. if rut1 ~= nil then
  3902. rut1:Destroy()
  3903. end
  3904. for i,v in pairs(who:GetChildren()) do
  3905. if v:IsA("Script") or v:IsA("LocalScript") then
  3906. if v.Name == "Health" then
  3907. v.Parent = nil
  3908. end
  3909. end
  3910. end
  3911. local hum1 = ded:FindFirstChildOfClass("Humanoid")
  3912. hum1.PlatformStand = true
  3913. hum1.MaxHealth = 100
  3914. hum1.Health = math.random(10,50)
  3915. local trans = 1
  3916. if h2 ~= nil then
  3917. h2:BreakJoints()
  3918. local nc = Instance.new("Glue",t2) nc.Name = "yo" nc.C0 = CFrame.new(0,t2.Size.y/2,0) nc.C1 = CFrame.new(0,-h2.Size.y/2,0) nc.Part0 = t2 nc.Part1 = h2
  3919. local ncc = Instance.new("Part",t2) ncc.Name = "yo" ncc.Transparency = trans ncc.Size = Vector3.new(h2.Size.x/2 + h2.Size.x/4,h2.Size.y/2,h2.Size.z)
  3920. local ncw = Instance.new("Weld",t2) ncw.Name = "yo" ncw.Part0 = h2 ncw.Part1 = ncc
  3921. end
  3922. for i,v in pairs(who:GetChildren()) do
  3923. if v:IsA("BasePart") then
  3924. v.Anchored = false
  3925. end
  3926. if v:IsA("Accessory") or v:IsA("Hat") then
  3927. v.Handle.Anchored = false
  3928. local aw = Instance.new("WeldConstraint",v) aw.Part0 = h2 aw.Part1 = v.Handle
  3929. end
  3930. end
  3931. hum1.PlatformStand = true
  3932. if lt2 ~= nil then
  3933. lt2:BreakJoints()
  3934. local tc = Instance.new("Glue",t2) tc.Name = "yo" tc.C0 = CFrame.new(0,-t2.Size.y/2,0) tc.C1 = CFrame.new(0,lt2.Size.y/2,0) tc.Part0 = t2 tc.Part1 = lt2
  3935. local tcc = Instance.new("Part",t2) tcc.Name = "yo" tcc.Transparency = trans tcc.Size = Vector3.new(lt2.Size.x/2,lt2.Size.y/2,lt2.Size.z)
  3936. local tcw = Instance.new("Weld",t2) tcw.Name = "yo" tcw.Part0 = lt2 tcw.Part1 = tcc
  3937. end
  3938. if rua2 ~= nil then
  3939. rua2:BreakJoints()
  3940. local ruac = Instance.new("Glue",t2) ruac.Name = "yo" ruac.C0 = CFrame.new(t2.Size.x/2 + t2.Size.y/4,t2.Size.y/4,0) ruac.C1 = CFrame.new(0,rua2.Size.y/4.6666,0) ruac.Part0 = t2 ruac.Part1 = rua2
  3941. local ruacc = Instance.new("Part",t2) ruacc.Name = "yo" ruacc.Transparency = trans ruacc.Size = Vector3.new(rua2.Size.x/1.2,rua2.Size.y/4,rua2.Size.z/1.2)
  3942. local ruacw = Instance.new("Weld",t2) ruacw.Name = "yo" ruacw.Part0 = rua2 ruacw.Part1 = ruacc ruacw.C0 = CFrame.new(0,rua2.Size.y/7,0)
  3943. end
  3944. if lua2 ~= nil then
  3945. lua2:BreakJoints()
  3946. local luac = Instance.new("Glue",t2) luac.Name = "yo" luac.C0 = CFrame.new(-t2.Size.x/2 + -t2.Size.y/4,t2.Size.y/4,0) luac.C1 = CFrame.new(0,lua2.Size.y/4.6666,0) luac.Part0 = t2 luac.Part1 = lua2
  3947. local luacc = Instance.new("Part",t2) luacc.Name = "yo" luacc.Transparency = trans luacc.Size = Vector3.new(lua2.Size.x/1.2,lua2.Size.y/4,lua2.Size.z/1.2)
  3948. local luacw = Instance.new("Weld",t2) luacw.Name = "yo" luacw.Part0 = lua2 luacw.Part1 = luacc luacw.C0 = CFrame.new(0,lua2.Size.y/7,0)
  3949. end
  3950. if rla2 ~= nil then
  3951. rla2:BreakJoints()
  3952. local rlac = Instance.new("Glue",t2) rlac.Name = "yo" rlac.C0 = CFrame.new(0,-rua2.Size.y/4.6666,0) rlac.C1 = CFrame.new(0,rla2.Size.y/8,0) rlac.Part0 = rua2 rlac.Part1 = rla2
  3953. local rlacc = Instance.new("Part",t2) rlacc.Name = "yo" rlacc.Transparency = trans rlacc.Size = Vector3.new(rla2.Size.x/1.2,rla2.Size.y/4,rla2.Size.z/1.2)
  3954. local rlacw = Instance.new("Weld",t2) rlacw.Name = "yo" rlacw.Part0 = rla2 rlacw.Part1 = rlacc rlacw.C0 = CFrame.new(0,-rla2.Size.y/7,0)
  3955. end
  3956. if lla2 ~= nil then
  3957. lla2:BreakJoints()
  3958. local llac = Instance.new("Glue",t2) llac.Name = "yo" llac.C0 = CFrame.new(0,-lua2.Size.y/4.6666,0) llac.C1 = CFrame.new(0,lla2.Size.y/8,0) llac.Part0 = lua2 llac.Part1 = lla2
  3959. local llacc = Instance.new("Part",t2) llacc.Name = "yo" llacc.Transparency = trans llacc.Size = Vector3.new(lla2.Size.x/1.2,lla2.Size.y/4,lla2.Size.z/1.2)
  3960. local llacw = Instance.new("Weld",t2) llacw.Name = "yo" llacw.Part0 = lla2 llacw.Part1 = llacc llacw.C0 = CFrame.new(0,-lla2.Size.y/7,0)
  3961. end
  3962. if rh2 ~= nil then
  3963. rh2:BreakJoints()
  3964. local rhc = Instance.new("Glue",t2) rhc.Name = "yo" rhc.C0 = CFrame.new(0,-rla2.Size.y/2,0) rhc.C1 = CFrame.new(0,rh2.Size.y/3,0) rhc.Part0 = rla2 rhc.Part1 = rh2
  3965. local rhcc = Instance.new("Part",t2) rhcc.Name = "yo" rhcc.Transparency = trans rhcc.Size = Vector3.new(rh2.Size.x/1.2,rh2.Size.y,rh2.Size.z/1.2)
  3966. local rhcw = Instance.new("Weld",t2) rhcw.Name = "yo" rhcw.Part0 = rh2 rhcw.Part1 = rhcc rhcw.C0 = CFrame.new(0,0,0)
  3967. end
  3968. if lh2 ~= nil then
  3969. lh2:BreakJoints()
  3970. local lhc = Instance.new("Glue",t2) lhc.Name = "yo" lhc.C0 = CFrame.new(0,-lla2.Size.y/2,0) lhc.C1 = CFrame.new(0,lh2.Size.y/3,0) lhc.Part0 = lla2 lhc.Part1 = lh2
  3971. local lhcc = Instance.new("Part",t2) lhcc.Name = "yo" lhcc.Transparency = trans lhcc.Size = Vector3.new(lh2.Size.x/1.2,lh2.Size.y,lh2.Size.z/1.2)
  3972. local lhcw = Instance.new("Weld",t2) lhcw.Name = "yo" lhcw.Part0 = lh2 lhcw.Part1 = lhcc lhcw.C0 = CFrame.new(0,0,0)
  3973. end
  3974. if rul2 ~= nil then
  3975. rul2:BreakJoints()
  3976. local rulc = Instance.new("Glue",t2) rulc.Name = "yo" rulc.C0 = CFrame.new(lt2.Size.x/4,-lt2.Size.y/2,0) rulc.C1 = CFrame.new(0,rul2.Size.y/3,0) rulc.Part0 = lt2 rulc.Part1 = rul2
  3977. local rulcc = Instance.new("Part",t2) rulcc.Name = "yo" rulcc.Transparency = trans rulcc.Size = Vector3.new(rul2.Size.x/1.2,rul2.Size.y/4,rul2.Size.z/1.2)
  3978. local rulcw = Instance.new("Weld",t2) rulcw.Name = "yo" rulcw.Part0 = rul2 rulcw.Part1 = rulcc rulcw.C0 = CFrame.new(0,rul2.Size.y/7,0)
  3979. end
  3980. if lul2 ~= nil then
  3981. lul2:BreakJoints()
  3982. local lulc = Instance.new("Glue",t2) lulc.Name = "yo" lulc.C0 = CFrame.new(-lt2.Size.x/4,-lt2.Size.y/2,0) lulc.C1 = CFrame.new(0,lul2.Size.y/3,0) lulc.Part0 = lt2 lulc.Part1 = lul2
  3983. local lulcc = Instance.new("Part",t2) lulcc.Name = "yo" lulcc.Transparency = trans lulcc.Size = Vector3.new(lul2.Size.x/1.2,lul2.Size.y/4,lul2.Size.z/1.2)
  3984. local lulcw = Instance.new("Weld",t2) lulcw.Name = "yo" lulcw.Part0 = lul2 lulcw.Part1 = lulcc lulcw.C0 = CFrame.new(0,lul2.Size.y/7,0)
  3985. end
  3986. if rll2 ~= nil then
  3987. rll2:BreakJoints()
  3988. local rllc = Instance.new("Glue",t2) rllc.Name = "yo" rllc.C0 = CFrame.new(0,-rll2.Size.y/6,0) rllc.C1 = CFrame.new(0,rll2.Size.y/5,0) rllc.Part0 = rul2 rllc.Part1 = rll2
  3989. local rllcc = Instance.new("Part",t2) rllcc.Name = "yo" rllcc.Transparency = trans rllcc.Size = Vector3.new(rll2.Size.x/1.2,rll2.Size.y/3.5,rll2.Size.z/1.2)
  3990. local rllcw = Instance.new("Weld",t2) rllcw.Name = "yo" rllcw.Part0 = rll2 rllcw.Part1 = rllcc rllcw.C0 = CFrame.new(0,-rll2.Size.y/7,0)
  3991. end
  3992. if lll2 ~= nil then
  3993. lll2:BreakJoints()
  3994. local lllc = Instance.new("Glue",t2) lllc.Name = "yo" lllc.C0 = CFrame.new(0,-lll2.Size.y/6,0) lllc.C1 = CFrame.new(0,lll2.Size.y/5,0) lllc.Part0 = lul2 lllc.Part1 = lll2
  3995. local lllcc = Instance.new("Part",t2) lllcc.Name = "yo" lllcc.Transparency = trans lllcc.Size = Vector3.new(lll2.Size.x/1.2,lll2.Size.y/3.5,lll2.Size.z/1.2)
  3996. local lllcw = Instance.new("Weld",t2) lllcw.Name = "yo" lllcw.Part0 = lll2 lllcw.Part1 = lllcc lllcw.C0 = CFrame.new(0,-lll2.Size.y/7,0)
  3997. end
  3998. if rf2 ~= nil then
  3999. rf2:BreakJoints()
  4000. local rfc = Instance.new("Glue",t2) rfc.Name = "yo" rfc.C0 = CFrame.new(0,-rul2.Size.y/2.7,0) rfc.C1 = CFrame.new(0,rll2.Size.y/6,0) rfc.Part0 = rll2 rfc.Part1 = rf2
  4001. local rfcc = Instance.new("Part",t2) rfcc.Name = "yo" rfcc.Transparency = trans rfcc.Size = Vector3.new(rf2.Size.x/1,rf2.Size.y,rf2.Size.z/1)
  4002. local rfcw = Instance.new("Weld",t2) rfcw.Name = "yo" rfcw.Part0 = rf2 rfcw.Part1 = rfcc
  4003. end
  4004. if lf2 ~= nil then
  4005. lf2:BreakJoints()
  4006. local lfc = Instance.new("Glue",t2) lfc.Name = "yo" lfc.C0 = CFrame.new(0,-lul2.Size.y/2.7,0) lfc.C1 = CFrame.new(0,lll2.Size.y/6,0) lfc.Part0 = lll2 lfc.Part1 = lf2
  4007. local lfcc = Instance.new("Part",t2) lfcc.Name = "yo" lfcc.Transparency = trans lfcc.Size = Vector3.new(lf2.Size.x/1,lf2.Size.y,lf2.Size.z/1)
  4008. local lfcw = Instance.new("Weld",t2) lfcw.Name = "yo" lfcw.Part0 = lf2 lfcw.Part1 = lfcc
  4009. end
  4010. end
  4011. end
  4012.  
  4013. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  4014. local type = type
  4015. local rotenable = rotatingop
  4016. local rng = Instance.new("Part", char)
  4017. rng.Anchored = true
  4018. rng.BrickColor = color
  4019. rng.CanCollide = false
  4020. rng.FormFactor = 3
  4021. rng.Name = "Ring"
  4022. rng.Material = "Neon"
  4023. rng.Size = Vector3.new(1, 1, 1)
  4024. rng.Transparency = 0
  4025. if typeoftrans == "In" then
  4026. rng.Transparency = 1
  4027. end
  4028. rng.TopSurface = 0
  4029. rng.BottomSurface = 0
  4030. rng.CFrame = pos
  4031. local rngm = Instance.new("SpecialMesh", rng)
  4032. rngm.MeshType = "FileMesh"
  4033. if typeofshape == "Normal" then
  4034. rngm.MeshId = "rbxassetid://662586858"
  4035. elseif typeofshape == "Round" then
  4036. rngm.MeshId = "rbxassetid://662585058"
  4037. end
  4038. rngm.Scale = scale
  4039. local scaler2 = 1/10
  4040. if type == "Add" then
  4041. scaler2 = 1*value/10
  4042. elseif type == "Divide" then
  4043. scaler2 = 1/value/10
  4044. end
  4045. local randomrot = math.random(1,2)
  4046. coroutine.resume(coroutine.create(function()
  4047. for i = 0,10/bonuspeed,0.1 do
  4048. swait()
  4049. if type == "Add" then
  4050. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  4051. elseif type == "Divide" then
  4052. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  4053. end
  4054. if rotenable == true then
  4055. if randomrot == 1 then
  4056. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  4057. elseif randomrot == 2 then
  4058. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  4059. end
  4060. end
  4061. if typeoftrans == "Out" then
  4062. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4063. elseif typeoftrans == "In" then
  4064. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  4065. end
  4066. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  4067. end
  4068. rng:Destroy()
  4069. end))
  4070. end
  4071.  
  4072. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  4073. local type = type
  4074. local rng = Instance.new("Part", char)
  4075. rng.Anchored = true
  4076. rng.BrickColor = color
  4077. rng.CanCollide = false
  4078. rng.FormFactor = 3
  4079. rng.Name = "Ring"
  4080. rng.Material = "Neon"
  4081. rng.Size = Vector3.new(1, 1, 1)
  4082. rng.Transparency = 0
  4083. rng.TopSurface = 0
  4084. rng.BottomSurface = 0
  4085. rng.CFrame = pos
  4086. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4087. local rngm = Instance.new("SpecialMesh", rng)
  4088. rngm.MeshType = "Brick"
  4089. rngm.Scale = vt(x1,y1,z1)
  4090. if rainbowmode == true then
  4091. rng.Color = Color3.new(r/255,g/255,b/255)
  4092. end
  4093. local scaler2 = 1
  4094. local speeder = FastSpeed/10
  4095. if type == "Add" then
  4096. scaler2 = 1*value
  4097. elseif type == "Divide" then
  4098. scaler2 = 1/value
  4099. end
  4100. coroutine.resume(coroutine.create(function()
  4101. for i = 0,10/bonuspeed,0.1 do
  4102. swait()
  4103. if rainbowmode == true then
  4104. rng.Color = Color3.new(r/255,g/255,b/255)
  4105. end
  4106. if type == "Add" then
  4107. scaler2 = scaler2 - 0.01*value/bonuspeed
  4108. elseif type == "Divide" then
  4109. scaler2 = scaler2 - 0.01/value*bonuspeed
  4110. end
  4111. if chaosmode == true then
  4112. rng.BrickColor = BrickColor.random()
  4113. end
  4114. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  4115. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  4116. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4117. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  4118. end
  4119. rng:Destroy()
  4120. end))
  4121. end
  4122.  
  4123. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  4124. local type = type
  4125. local rng = Instance.new("Part", char)
  4126. rng.Anchored = true
  4127. rng.BrickColor = color
  4128. rng.CanCollide = false
  4129. rng.FormFactor = 3
  4130. rng.Name = "Ring"
  4131. rng.Material = "Neon"
  4132. rng.Size = Vector3.new(1, 1, 1)
  4133. rng.Transparency = 0
  4134. rng.TopSurface = 0
  4135. rng.BottomSurface = 0
  4136. rng.CFrame = pos
  4137. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4138. local rngm = Instance.new("SpecialMesh", rng)
  4139. rngm.MeshType = "Brick"
  4140. rngm.Scale = vt(x1,y1,z1)
  4141. if rainbowmode == true then
  4142. rng.Color = Color3.new(r/255,g/255,b/255)
  4143. end
  4144. local scaler2 = 1
  4145. local speeder = FastSpeed/10
  4146. if type == "Add" then
  4147. scaler2 = 1*value
  4148. elseif type == "Divide" then
  4149. scaler2 = 1/value
  4150. end
  4151. coroutine.resume(coroutine.create(function()
  4152. for i = 0,10/bonuspeed,0.1 do
  4153. swait()
  4154. if rainbowmode == true then
  4155. rng.Color = Color3.new(r/255,g/255,b/255)
  4156. end
  4157. if type == "Add" then
  4158. scaler2 = scaler2 - 0.01*value/bonuspeed
  4159. elseif type == "Divide" then
  4160. scaler2 = scaler2 - 0.01/value*bonuspeed
  4161. end
  4162. if chaosmode == true then
  4163. rng.BrickColor = BrickColor.random()
  4164. end
  4165. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  4166. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  4167. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4168. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  4169. end
  4170. rng:Destroy()
  4171. end))
  4172. end
  4173.  
  4174. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  4175. local type = type
  4176. local rng = Instance.new("Part", char)
  4177. rng.Anchored = true
  4178. rng.BrickColor = color
  4179. rng.CanCollide = false
  4180. rng.FormFactor = 3
  4181. rng.Name = "Ring"
  4182. rng.Material = "Neon"
  4183. rng.Size = Vector3.new(1, 1, 1)
  4184. rng.Transparency = 0
  4185. rng.TopSurface = 0
  4186. rng.BottomSurface = 0
  4187. rng.CFrame = pos
  4188. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4189. local rngm = Instance.new("SpecialMesh", rng)
  4190. rngm.MeshType = "Brick"
  4191. rngm.Scale = vt(x1,y1,z1)
  4192. if rainbowmode == true then
  4193. rng.Color = Color3.new(r/255,g/255,b/255)
  4194. end
  4195. local scaler2 = 0
  4196. local speeder = FastSpeed/10
  4197. if type == "Add" then
  4198. scaler2 = 1*value
  4199. elseif type == "Divide" then
  4200. scaler2 = 1/value
  4201. end
  4202. coroutine.resume(coroutine.create(function()
  4203. for i = 0,10/bonuspeed,0.1 do
  4204. swait()
  4205. if rainbowmode == true then
  4206. rng.Color = Color3.new(r/255,g/255,b/255)
  4207. end
  4208. if type == "Add" then
  4209. scaler2 = scaler2 - 0.01*value/bonuspeed
  4210. elseif type == "Divide" then
  4211. scaler2 = scaler2 - 0.01/value*bonuspeed
  4212. end
  4213. if chaosmode == true then
  4214. rng.BrickColor = BrickColor.random()
  4215. end
  4216. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  4217. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  4218. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4219. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  4220. end
  4221. rng:Destroy()
  4222. end))
  4223. end
  4224.  
  4225. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  4226. local type = type
  4227. local rng = Instance.new("Part", char)
  4228. rng.Anchored = true
  4229. rng.BrickColor = color
  4230. rng.Color = color3
  4231. rng.CanCollide = false
  4232. rng.FormFactor = 3
  4233. rng.Name = "Ring"
  4234. rng.Material = "Neon"
  4235. rng.Size = Vector3.new(1, 1, 1)
  4236. rng.Transparency = 0
  4237. rng.TopSurface = 0
  4238. rng.BottomSurface = 0
  4239. rng.CFrame = pos
  4240. local rngm = Instance.new("SpecialMesh", rng)
  4241. rngm.MeshType = "Brick"
  4242. rngm.Scale = scale
  4243. local scaler2 = 1
  4244. local scaler2b = 1
  4245. local scaler2c = 1
  4246. if type == "Add" then
  4247. scaler2 = 1*value
  4248. scaler2b = 1*value2
  4249. scaler2c = 1*value3
  4250. elseif type == "Divide" then
  4251. scaler2 = 1/value
  4252. scaler2b = 1/value2
  4253. scaler2c = 1/value3
  4254. end
  4255. coroutine.resume(coroutine.create(function()
  4256. for i = 0,10/bonuspeed,0.1 do
  4257. swait()
  4258. if type == "Add" then
  4259. scaler2 = scaler2 - 0.01*value/bonuspeed
  4260. scaler2b = scaler2b - 0.01*value/bonuspeed
  4261. scaler2c = scaler2c - 0.01*value/bonuspeed
  4262. elseif type == "Divide" then
  4263. scaler2 = scaler2 - 0.01/value*bonuspeed
  4264. scaler2b = scaler2b - 0.01/value*bonuspeed
  4265. scaler2c = scaler2c - 0.01/value*bonuspeed
  4266. end
  4267. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4268. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4269. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  4270. end
  4271. rng:Destroy()
  4272. end))
  4273. end
  4274.  
  4275. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  4276. local type = type
  4277. local rng = Instance.new("Part", char)
  4278. rng.Anchored = true
  4279. if ModeOfGlitch ~= 9 then
  4280. rng.BrickColor = color
  4281. elseif ModeOfGlitch == 9 then
  4282. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4283. end
  4284. rng.CanCollide = false
  4285. rng.FormFactor = 3
  4286. rng.Name = "Ring"
  4287. rng.Material = "Neon"
  4288. rng.Size = Vector3.new(1, 1, 1)
  4289. rng.Transparency = 0
  4290. rng.TopSurface = 0
  4291. rng.BottomSurface = 0
  4292. rng.CFrame = pos
  4293. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4294. local rngm = Instance.new("SpecialMesh", rng)
  4295. rngm.MeshType = "Sphere"
  4296. rngm.Scale = vt(x1,y1,z1)
  4297. if rainbowmode == true then
  4298. rng.Color = Color3.new(r/255,g/255,b/255)
  4299. end
  4300. if ModeOfGlitch == 9 then
  4301. coroutine.resume(coroutine.create(function()
  4302. while true do
  4303. swait()
  4304. if rng.Parent ~= nil then
  4305. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4306. else
  4307. break
  4308. end
  4309. end
  4310. end))
  4311. end
  4312. local scaler2 = 1
  4313. local speeder = FastSpeed
  4314. if type == "Add" then
  4315. scaler2 = 1*value
  4316. elseif type == "Divide" then
  4317. scaler2 = 1/value
  4318. end
  4319. coroutine.resume(coroutine.create(function()
  4320. for i = 0,10/bonuspeed,0.1 do
  4321. swait()
  4322. if rainbowmode == true then
  4323. rng.Color = Color3.new(r/255,g/255,b/255)
  4324. end
  4325. if type == "Add" then
  4326. scaler2 = scaler2 - 0.01*value/bonuspeed
  4327. elseif type == "Divide" then
  4328. scaler2 = scaler2 - 0.01/value*bonuspeed
  4329. end
  4330. if chaosmode == true then
  4331. rng.BrickColor = BrickColor.random()
  4332. end
  4333. speeder = speeder - 0.01*FastSpeed*bonuspeed
  4334. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  4335. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4336. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  4337. end
  4338. rng:Destroy()
  4339. end))
  4340. end
  4341.  
  4342.  
  4343. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  4344. local type = type
  4345. local rng = Instance.new("Part", char)
  4346. rng.Anchored = true
  4347. if ModeOfGlitch ~= 9 then
  4348. rng.BrickColor = color
  4349. elseif ModeOfGlitch == 9 then
  4350. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4351. end
  4352. rng.CanCollide = false
  4353. rng.FormFactor = 3
  4354. rng.Name = "Ring"
  4355. rng.Material = "Neon"
  4356. rng.Size = Vector3.new(1, 1, 1)
  4357. rng.Transparency = 1
  4358. rng.TopSurface = 0
  4359. rng.BottomSurface = 0
  4360. rng.CFrame = pos
  4361. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4362. local rngm = Instance.new("SpecialMesh", rng)
  4363. rngm.MeshType = "Sphere"
  4364. rngm.Scale = vt(x1,y1,z1)
  4365. if rainbowmode == true then
  4366. rng.Color = Color3.new(r/255,g/255,b/255)
  4367. end
  4368. if ModeOfGlitch == 9 then
  4369. coroutine.resume(coroutine.create(function()
  4370. while true do
  4371. swait()
  4372. if rng.Parent ~= nil then
  4373. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4374. else
  4375. break
  4376. end
  4377. end
  4378. end))
  4379. end
  4380. local scaler2 = 1
  4381. local speeder = FastSpeed
  4382. if type == "Add" then
  4383. scaler2 = 1*value
  4384. elseif type == "Divide" then
  4385. scaler2 = 1/value
  4386. end
  4387. coroutine.resume(coroutine.create(function()
  4388. for i = 0,10/bonuspeed,0.1 do
  4389. swait()
  4390. if rainbowmode == true then
  4391. rng.Color = Color3.new(r/255,g/255,b/255)
  4392. end
  4393. if type == "Add" then
  4394. scaler2 = scaler2 - 0.01*value/bonuspeed
  4395. elseif type == "Divide" then
  4396. scaler2 = scaler2 - 0.01/value*bonuspeed
  4397. end
  4398. if chaosmode == true then
  4399. rng.BrickColor = BrickColor.random()
  4400. end
  4401. speeder = speeder - 0.01*FastSpeed*bonuspeed
  4402. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  4403. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  4404. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  4405. end
  4406. rng:Destroy()
  4407. end))
  4408. end
  4409.  
  4410. function dmg(dude)
  4411. if dude.Name ~= Character then
  4412. local keptcolor = MAINRUINCOLOR
  4413. local bgf = Instance.new("BodyGyro",dude.Head)
  4414. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  4415. --[[local val = Instance.new("BoolValue",dude)
  4416. val.Name = "IsHit"]]--
  4417. local ds = coroutine.wrap(function()
  4418. dude:WaitForChild("Head"):BreakJoints()
  4419. for i, v in pairs(dude:GetChildren()) do
  4420. if v:IsA("Part") or v:IsA("MeshPart") then
  4421. v.Name = "DEMINISHED"
  4422. end
  4423. end
  4424. wait(0.5)
  4425. targetted = nil
  4426. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  4427. coroutine.resume(coroutine.create(function()
  4428. for i, v in pairs(dude:GetChildren()) do
  4429. if v:IsA("Accessory") then
  4430. v:Destroy()
  4431. end
  4432. if v:IsA("Humanoid") then
  4433. v:Destroy()
  4434. end
  4435. if v:IsA("CharacterMesh") then
  4436. v:Destroy()
  4437. end
  4438. if v:IsA("Model") then
  4439. v:Destroy()
  4440. end
  4441. if v:IsA("Part") or v:IsA("MeshPart") then
  4442. for x, o in pairs(v:GetChildren()) do
  4443. if o:IsA("Decal") then
  4444. o:Destroy()
  4445. end
  4446. end
  4447. coroutine.resume(coroutine.create(function()
  4448. v.Material = "Neon"
  4449. v.CanCollide = false
  4450. v.Anchored = false
  4451. local bld = Instance.new("ParticleEmitter",v)
  4452. bld.LightEmission = 0.75
  4453. bld.Texture = "rbxassetid://363275192" ---284205403
  4454. bld.Color = ColorSequence.new(keptcolor.Color)
  4455. bld.Rate = 500
  4456. bld.Lifetime = NumberRange.new(1)
  4457. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  4458. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  4459. bld.Speed = NumberRange.new(2,5)
  4460. bld.VelocitySpread = 50000
  4461. bld.Rotation = NumberRange.new(-500,500)
  4462. bld.RotSpeed = NumberRange.new(-500,500)
  4463. local sbs = Instance.new("BodyPosition", v)
  4464. sbs.P = 3000
  4465. sbs.D = 1000
  4466. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  4467. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  4468. v.Color = keptcolor.Color
  4469. coroutine.resume(coroutine.create(function()
  4470. for i = 0, 49 do
  4471. swait(1)
  4472. v:BreakJoints()
  4473. v.Transparency = v.Transparency + 0.02
  4474. end
  4475. v:BreakJoints()
  4476. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  4477. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  4478. bld.Speed = NumberRange.new(10,25)
  4479. bld.Drag = 5
  4480. bld.Acceleration = vt(0,2,0)
  4481. wait(0.5)
  4482. bld.Enabled = false
  4483. wait(8)
  4484. v:Destroy()
  4485. dude:Destroy()
  4486. end))
  4487. end))
  4488. end
  4489. end
  4490. end))
  4491. end)
  4492. ds()
  4493. end
  4494. end
  4495.  
  4496.  
  4497. function FindNearestHead(Position, Distance, SinglePlayer)
  4498. if SinglePlayer then
  4499. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  4500. end
  4501. local List = {}
  4502. for i, v in pairs(workspace:GetChildren()) do
  4503. if v:IsA("Model") then
  4504. if v:findFirstChild("Head") then
  4505. if v ~= Character then
  4506. if (v.Head.Position - Position).magnitude <= Distance then
  4507. table.insert(List, v)
  4508. end
  4509. end
  4510. end
  4511. end
  4512. end
  4513. return List
  4514. end
  4515. --[[
  4516. function FaceMouse()
  4517. Cam = workspace.CurrentCamera
  4518. return {
  4519. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  4520. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  4521. }
  4522. end
  4523.  
  4524. function FaceMouse2()
  4525. Cam = workspace.CurrentCamera
  4526. return {
  4527. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  4528. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  4529. }
  4530. end
  4531. ]]
  4532. local ModeOfGlitch = 1
  4533. -- Functions are ready.
  4534. local storehumanoidWS = 16
  4535.  
  4536. function createBGCircle(size,parent,color)
  4537. local bgui = Instance.new("BillboardGui",parent)
  4538. bgui.Size = UDim2.new(size, 0, size, 0)
  4539. local imgc = Instance.new("ImageLabel",bgui)
  4540. imgc.BackgroundTransparency = 1
  4541. imgc.ImageTransparency = 0
  4542. imgc.Size = UDim2.new(1,0,1,0)
  4543. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  4544. imgc.ImageColor3 = color
  4545. return bgui,imgc
  4546. end
  4547.  
  4548. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  4549. local bgui,imgc = createBGCircle(size,guipar,color)
  4550. bgui.AlwaysOnTop = true
  4551. imgc.Image = "rbxassetid://" ..img
  4552. local rrot = math.random(1,2)
  4553. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  4554. coroutine.resume(coroutine.create(function()
  4555. for i = 0, 24*delay do
  4556. swait()
  4557. if rotationenabled == true then
  4558. if rrot == 1 then
  4559. imgc.Rotation = imgc.Rotation + rotsp
  4560. elseif rrot == 2 then
  4561. imgc.Rotation = imgc.Rotation - rotsp
  4562. end
  4563. end
  4564. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  4565. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  4566. end
  4567. bgui:Destroy()
  4568. end))
  4569. end
  4570. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled,sectrailenabled)
  4571. for i, v in pairs(mw2:GetChildren()) do
  4572. if v:IsA("Part") then
  4573. v.BrickColor = one
  4574. v.Material = "Neon"
  4575. end
  4576. end
  4577. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  4578. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  4579. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  4580. tr1.Color = ColorSequence.new(one.Color)
  4581. tr2.Color = ColorSequence.new(one.Color)
  4582. tr3.Color = ColorSequence.new(one.Color)
  4583. for i, v in pairs(mw1:GetChildren()) do
  4584. if v:IsA("Part") then
  4585. if secondaryenabled == false then
  4586. v.Transparency = 1
  4587. elseif secondaryenabled == true then
  4588. v.Transparency = 0
  4589. end
  4590. v.BrickColor = two
  4591. v.Material = "Neon"
  4592. end
  4593. end
  4594. if secondaryenabled == false then
  4595. tl1.Enabled = false
  4596. tl2.Enabled = false
  4597. tl3.Enabled = false
  4598. elseif secondaryenabled == true then
  4599. tl1.Enabled = true
  4600. tl2.Enabled = true
  4601. tl3.Enabled = true
  4602. end
  4603. refec.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4604. tl1.Color = ColorSequence.new(two.Color)
  4605. tl2.Color = ColorSequence.new(two.Color)
  4606. tl3.Color = ColorSequence.new(two.Color)
  4607. for i, v in pairs(m:GetChildren()) do
  4608. if v:IsA("Part") then
  4609. v.BrickColor = three
  4610. v.Material = "Ice"
  4611. end
  4612. end
  4613. for i, v in pairs(m2:GetChildren()) do
  4614. if v:IsA("Part") then
  4615. v.BrickColor = four
  4616. v.Material = "Ice"
  4617. end
  4618. end
  4619. for i, v in pairs(m3:GetChildren()) do
  4620. if v:IsA("Part") then
  4621. v.BrickColor = five
  4622. v.Material = "Neon"
  4623. end
  4624. end
  4625. for i, v in pairs(extrawingmod1:GetChildren()) do
  4626. if v:IsA("Part") then
  4627. v.Transparency = exonetran
  4628. v.BrickColor = exone
  4629. v.Material = "Neon"
  4630. end
  4631. end
  4632. if sectrailenabled == true then
  4633. tl4.Enabled = true
  4634. tl5.Enabled = true
  4635. tl6.Enabled = true
  4636. tr4.Enabled = true
  4637. tr5.Enabled = true
  4638. tr6.Enabled = true
  4639. tl4.Color = ColorSequence.new(exone.Color)
  4640. tl5.Color = ColorSequence.new(exone.Color)
  4641. tl6.Color = ColorSequence.new(exone.Color)
  4642. tr4.Color = ColorSequence.new(extwo.Color)
  4643. tr5.Color = ColorSequence.new(extwo.Color)
  4644. tr6.Color = ColorSequence.new(extwo.Color)
  4645. elseif sectrailenabled == false then
  4646. tl4.Enabled = false
  4647. tl5.Enabled = false
  4648. tl6.Enabled = false
  4649. tr4.Enabled = false
  4650. tr5.Enabled = false
  4651. tr6.Enabled = false
  4652. end
  4653. for i, v in pairs(extrawingmod2:GetChildren()) do
  4654. if v:IsA("Part") then
  4655. v.Transparency = extwotran
  4656. v.BrickColor = extwo
  4657. v.Material = "Neon"
  4658. end
  4659. end
  4660. end
  4661.  
  4662. function RecolorThing2(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled,sectrailenabled)
  4663. local keptcolor = one
  4664. local locat = Instance.new("Part", char)
  4665. locat.CanCollide = false
  4666. locat.FormFactor = 3
  4667. locat.Name = "Ring"
  4668. locat.Material = "Neon"
  4669. locat.Size = Vector3.new(1, 1, 1)
  4670. locat.Transparency = 1
  4671. locat.TopSurface = 0
  4672. locat.BottomSurface = 0
  4673. locat.Anchored = true
  4674. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  4675. local poste = 0
  4676. local rotation = 0
  4677. local upperpos = 0
  4678. local rate = 0
  4679. local x = locat
  4680.  
  4681. for i, v in pairs(mw2:GetChildren()) do
  4682. if v:IsA("Part") then
  4683. v.BrickColor = one
  4684. v.Material = "Neon"
  4685. end
  4686. end
  4687.  
  4688. CFuncs["Sound"].Create("rbxassetid://763717897", char, 1.2, 1)
  4689. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 0.5, 0.75)
  4690. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 1.2, 0.95)
  4691. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,two)
  4692. sphere2(2,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,one)
  4693. sphere2(4,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,keptcolor)
  4694. for i = 0, 99 do
  4695. local dis = CreateParta(char,1,1,"Neon",one)
  4696. 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)))
  4697. local at1 = Instance.new("Attachment",dis)
  4698. at1.Position = vt(-25000,0,0)
  4699. local at2 = Instance.new("Attachment",dis)
  4700. at2.Position = vt(25000,0,0)
  4701. local bv = Instance.new("BodyVelocity")
  4702. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4703. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  4704. bv.Parent = dis
  4705. game:GetService("Debris"):AddItem(dis, 10)
  4706. end
  4707. coroutine.resume(coroutine.create(function()
  4708. coroutine.resume(coroutine.create(function()
  4709. local eff = Instance.new("ParticleEmitter",x)
  4710. eff.Texture = "rbxassetid://2273224484"
  4711. eff.LightEmission = 1
  4712. eff.Color = ColorSequence.new(one.Color)
  4713. eff.Rate = 90000
  4714. eff.Lifetime = NumberRange.new(3,8)
  4715. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.2,25,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4716. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4717. eff.Speed = NumberRange.new(250,1500)
  4718. eff.Drag = 5
  4719. eff.Rotation = NumberRange.new(-500,500)
  4720. eff.VelocitySpread = 9000
  4721. eff.RotSpeed = NumberRange.new(-100,100)
  4722. wait(0.7)
  4723. eff.Enabled = false
  4724. end))
  4725.  
  4726. for i = 0, 154 do
  4727. swait()
  4728. rotation = rotation + 5
  4729. poste = poste + 1
  4730. upperpos = upperpos + rate
  4731. rate = rate + 0.2
  4732. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,upperpos,poste),vt(2.5+upperpos/5,2.5+upperpos/5,2.5+upperpos/5),-0.05,-0.05,-0.05,two)
  4733. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90+rotation),0)*CFrame.new(0,upperpos,poste),vt(2.5+upperpos/5,2.5+upperpos/5,2.5+upperpos/5),-0.05,-0.05,-0.05,two)
  4734. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180+rotation),0)*CFrame.new(0,upperpos,poste),vt(2.5+upperpos/5,2.5+upperpos/5,2.5+upperpos/5),-0.05,-0.05,-0.05,two)
  4735. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270+rotation),0)*CFrame.new(0,upperpos,poste),vt(2.5+upperpos/5,2.5+upperpos/5,2.5+upperpos/5),-0.05,-0.05,-0.05,two)
  4736. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(2.5+upperpos/10,2.5+upperpos/10,2.5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
  4737. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(3.5+upperpos/10,3.5+upperpos/10,3.5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
  4738. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(3.5+upperpos/10,3.5+upperpos/10,3.5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
  4739. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(3.5+upperpos/10,3.5+upperpos/10,3.5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
  4740. end
  4741. wait(6)
  4742. x:Destroy()
  4743. end))
  4744. tr1.Color = ColorSequence.new(one.Color)
  4745. tr2.Color = ColorSequence.new(one.Color)
  4746. tr3.Color = ColorSequence.new(one.Color)
  4747. for i, v in pairs(mw1:GetChildren()) do
  4748. if v:IsA("Part") then
  4749. if secondaryenabled == false then
  4750. v.Transparency = 1
  4751. elseif secondaryenabled == true then
  4752. v.Transparency = 0
  4753. end
  4754. v.BrickColor = two
  4755. v.Material = "Neon"
  4756. end
  4757. end
  4758. if secondaryenabled == false then
  4759. tl1.Enabled = false
  4760. tl2.Enabled = false
  4761. tl3.Enabled = false
  4762. elseif secondaryenabled == true then
  4763. tl1.Enabled = true
  4764. tl2.Enabled = true
  4765. tl3.Enabled = true
  4766. end
  4767. refec.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4768. tl1.Color = ColorSequence.new(two.Color)
  4769. tl2.Color = ColorSequence.new(two.Color)
  4770. tl3.Color = ColorSequence.new(two.Color)
  4771. for i, v in pairs(m:GetChildren()) do
  4772. if v:IsA("Part") then
  4773. v.BrickColor = three
  4774. v.Material = "Ice"
  4775. end
  4776. end
  4777. for i, v in pairs(m2:GetChildren()) do
  4778. if v:IsA("Part") then
  4779. v.BrickColor = four
  4780. v.Material = "Ice"
  4781. end
  4782. end
  4783. for i, v in pairs(m3:GetChildren()) do
  4784. if v:IsA("Part") then
  4785. v.BrickColor = five
  4786. v.Material = "Neon"
  4787. end
  4788. end
  4789. for i, v in pairs(extrawingmod1:GetChildren()) do
  4790. if v:IsA("Part") then
  4791. v.Transparency = exonetran
  4792. v.BrickColor = exone
  4793. v.Material = "Neon"
  4794. end
  4795. end
  4796. if sectrailenabled == true then
  4797. tl4.Enabled = true
  4798. tl5.Enabled = true
  4799. tl6.Enabled = true
  4800. tr4.Enabled = true
  4801. tr5.Enabled = true
  4802. tr6.Enabled = true
  4803. tl4.Color = ColorSequence.new(exone.Color)
  4804. tl5.Color = ColorSequence.new(exone.Color)
  4805. tl6.Color = ColorSequence.new(exone.Color)
  4806. tr4.Color = ColorSequence.new(extwo.Color)
  4807. tr5.Color = ColorSequence.new(extwo.Color)
  4808. tr6.Color = ColorSequence.new(extwo.Color)
  4809. elseif sectrailenabled == false then
  4810. tl4.Enabled = false
  4811. tl5.Enabled = false
  4812. tl6.Enabled = false
  4813. tr4.Enabled = false
  4814. tr5.Enabled = false
  4815. tr6.Enabled = false
  4816. end
  4817. for i, v in pairs(extrawingmod2:GetChildren()) do
  4818. if v:IsA("Part") then
  4819. v.Transparency = extwotran
  4820. v.BrickColor = extwo
  4821. v.Material = "Neon"
  4822. end
  4823. end
  4824. end
  4825.  
  4826. function normalmog()
  4827. attack = true
  4828. hum.WalkSpeed = 0
  4829. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  4830. for i = 0,6,0.1 do
  4831. swait()
  4832. 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)
  4833. 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)
  4834. 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)
  4835. 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)
  4836. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  4837. 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)
  4838. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  4839. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  4840. end
  4841. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  4842. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  4843. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  4844. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  4845. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  4846. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  4847. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  4848. rainbowmode = false
  4849. chaosmode = false
  4850. ModeOfGlitch = 1
  4851. storehumanoidWS = 16
  4852. newTheme("rbxassetid://614032233",48.6,1,1.25)
  4853. RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  4854. CameraEnshaking(5,2.5)
  4855. MAINRUINCOLOR = BrickColor.new("Really red")
  4856. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4857. for i = 0, 49 do
  4858. 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)
  4859. end
  4860. for i = 0, 24 do
  4861. 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)
  4862. 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"))
  4863. end
  4864. for i = 0,3,0.1 do
  4865. 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)
  4866. end
  4867. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  4868. for i = 0,2,0.1 do
  4869. swait()
  4870. 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)
  4871. 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)
  4872. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  4873. 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)
  4874. 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)
  4875. 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)
  4876. end
  4877. hum.WalkSpeed = storehumanoidWS
  4878. attack = false
  4879. end
  4880.  
  4881. function attackone()
  4882. attack = true
  4883. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.5)
  4884. for i = 0,2,0.1 do
  4885. swait()
  4886. 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)
  4887. 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)
  4888. 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)
  4889. 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)
  4890. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  4891. 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)
  4892. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  4893. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  4894. end
  4895. for i = 0, 24 do
  4896. 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)
  4897. 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"))
  4898. end
  4899. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  4900. if v:FindFirstChild('Torso') then
  4901. dmg(v)
  4902. end
  4903. end
  4904. for i = 0, 24 do
  4905. 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)
  4906. 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"))
  4907. end
  4908. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  4909. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  4910. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  4911. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  4912. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  4913. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  4914. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  4915. for i = 0,2,0.1 do
  4916. swait()
  4917. 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)
  4918. 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)
  4919. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  4920. 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)
  4921. 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)
  4922. 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)
  4923. end
  4924. attack = false
  4925. end
  4926.  
  4927. function attacktwo()
  4928. attack = true
  4929. hum.WalkSpeed = 2
  4930. local keptcolor = MAINRUINCOLOR
  4931. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  4932. 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)
  4933. 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)
  4934. for i = 0, 14 do
  4935. 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)
  4936. end
  4937. for i = 0,1,0.1 do
  4938. swait()
  4939. 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)
  4940. 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)
  4941. 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)
  4942. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  4943. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  4944. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  4945. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  4946. end
  4947. for i = 0, 1 do
  4948. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  4949. for i = 0,1,0.6 do
  4950. swait()
  4951. 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)
  4952. 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"))
  4953. 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)
  4954. 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)
  4955. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  4956. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  4957. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  4958. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  4959. end
  4960. for i = 0,1,0.6 do
  4961. swait()
  4962. 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)
  4963. 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"))
  4964. 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)
  4965. 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)
  4966. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  4967. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  4968. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  4969. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  4970. end
  4971. for i = 0,1,0.6 do
  4972. swait()
  4973. 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)
  4974. 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"))
  4975. 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)
  4976. 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)
  4977. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  4978. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  4979. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  4980. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  4981. end
  4982. for i = 0,1,0.6 do
  4983. swait()
  4984. 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)
  4985. 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"))
  4986. 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)
  4987. 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)
  4988. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  4989. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  4990. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  4991. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  4992. end
  4993. local rot = 0
  4994. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  4995. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  4996. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  4997. CreateMesh(dis,"Sphere",10,1,10)
  4998. local at1 = Instance.new("Attachment",dis)
  4999. at1.Position = vt(-5,0,0)
  5000. local at2 = Instance.new("Attachment",dis)
  5001. at2.Position = vt(5,0,0)
  5002. local trl = Instance.new('Trail',wed)
  5003. trl.Attachment0 = at1
  5004. trl.Attachment1 = at2
  5005. trl.Texture = "rbxassetid://1049219073"
  5006. trl.LightEmission = 1
  5007. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5008. trl.Color = ColorSequence.new(dis.Color)
  5009. trl.Lifetime = 0.6
  5010. local a = Instance.new("Part",workspace)
  5011. a.Name = "Direction"
  5012. a.Anchored = true
  5013. a.BrickColor = bc("Bright red")
  5014. a.Material = "Neon"
  5015. a.Transparency = 1
  5016. a.CanCollide = false
  5017. RequestHit()
  5018. local ray = Ray.new(
  5019. dis.CFrame.p, -- origin
  5020. (Hit.p - dis.CFrame.p).unit * 500 -- direction
  5021. )
  5022. local ignore = dis
  5023. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5024. a.BottomSurface = 10
  5025. a.TopSurface = 10
  5026. local distance = (dis.CFrame.p - position).magnitude
  5027. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5028. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5029. dis.CFrame = a.CFrame
  5030. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5031. a:Destroy()
  5032. local bv = Instance.new("BodyVelocity")
  5033. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5034. bv.velocity = dis.CFrame.lookVector*250
  5035. bv.Parent = dis
  5036. game:GetService("Debris"):AddItem(dis, 5)
  5037. local hitted = false
  5038. coroutine.resume(coroutine.create(function()
  5039. dis.Touched:connect(function(hit)
  5040. if hitted == false and hit.Parent ~= char then
  5041. hitted = true
  5042. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5043. MagniDamage(dis, 30, 33,56, 0, "Normal")
  5044. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5045. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5046. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5047. coroutine.resume(coroutine.create(function()
  5048. local eff = Instance.new("ParticleEmitter",dis)
  5049. eff.Texture = "rbxassetid://2344870656"
  5050. eff.LightEmission = 1
  5051. eff.Color = ColorSequence.new(dis.Color)
  5052. eff.Rate = 10000000
  5053. eff.Enabled = true
  5054. eff.EmissionDirection = "Front"
  5055. eff.Lifetime = NumberRange.new(1)
  5056. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  5057. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5058. eff.Speed = NumberRange.new(150)
  5059. eff.Drag = 5
  5060. eff.Rotation = NumberRange.new(-500,500)
  5061. eff.SpreadAngle = Vector2.new(0,900)
  5062. eff.RotSpeed = NumberRange.new(-500,500)
  5063. wait(0.2)
  5064. eff.Enabled = false
  5065. end))
  5066. coroutine.resume(coroutine.create(function()
  5067. for i = 0, 9 do
  5068. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5069. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5070. local at1 = Instance.new("Attachment",disr)
  5071. at1.Position = vt(-5,0,0)
  5072. local at2 = Instance.new("Attachment",disr)
  5073. at2.Position = vt(5,0,0)
  5074. local trl = Instance.new('Trail',disr)
  5075. trl.Attachment0 = at1
  5076. trl.FaceCamera = true
  5077. trl.Attachment1 = at2
  5078. trl.Texture = "rbxassetid://2342682798"
  5079. trl.LightEmission = 1
  5080. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5081. trl.Color = ColorSequence.new(keptcolor.Color)
  5082. trl.Lifetime = 0.5
  5083. local bv = Instance.new("BodyVelocity")
  5084. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5085. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5086. bv.Parent = disr
  5087. local val = 0
  5088. coroutine.resume(coroutine.create(function()
  5089. swait(30)
  5090. for i = 0, 9 do
  5091. swait()
  5092. val = val + 0.1
  5093. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5094. end
  5095. game:GetService("Debris"):AddItem(disr, 3)
  5096. end))
  5097. end
  5098. local eff = Instance.new("ParticleEmitter",dis)
  5099. eff.Texture = "rbxassetid://2273224484"
  5100. eff.LightEmission = 1
  5101. eff.Color = ColorSequence.new(keptcolor.Color)
  5102. eff.Rate = 500000
  5103. eff.Lifetime = NumberRange.new(0.5,2)
  5104. 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)})
  5105. 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)})
  5106. eff.Speed = NumberRange.new(20,250)
  5107. eff.Drag = 5
  5108. eff.Rotation = NumberRange.new(-500,500)
  5109. eff.VelocitySpread = 9000
  5110. eff.RotSpeed = NumberRange.new(-50,50)
  5111. wait(0.25)
  5112. eff.Enabled = false
  5113. end))
  5114. for i = 0, 9 do
  5115. 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"))
  5116. end
  5117. for i = 0, 19 do
  5118. 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)
  5119. end
  5120. coroutine.resume(coroutine.create(function()
  5121. for i = 0, 19 do
  5122. swait()
  5123. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5124. end
  5125. hum.CameraOffset = vt(0,0,0)
  5126. end))
  5127. dis.Anchored = true
  5128. dis.Transparency = 1
  5129. wait(8)
  5130. dis:Destroy()
  5131. end
  5132. end)
  5133. end))
  5134. rot = rot - 15
  5135. end
  5136. for i = 0,2,0.1 do
  5137. swait()
  5138. 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)
  5139. 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)
  5140. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5141. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  5142. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5143. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5144. end
  5145. attack = false
  5146. hum.WalkSpeed = storehumanoidWS
  5147. end
  5148.  
  5149. function attackthree()
  5150. attack = true
  5151. local keptcolor = MAINRUINCOLOR
  5152. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  5153. for i = 0,2,0.1 do
  5154. swait()
  5155. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5156. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  5157. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  5158. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  5159. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  5160. 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)
  5161. 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)
  5162. end
  5163. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  5164. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  5165. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  5166. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  5167. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5168. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  5169. for i = 0, 24 do
  5170. 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"))
  5171. end
  5172. for i = 0,4,0.1 do
  5173. swait()
  5174. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  5175. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5176. CreateMesh(dis,"Sphere",1,1,1)
  5177. dis.Anchored = true
  5178. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5179. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5180. coroutine.resume(coroutine.create(function()
  5181. swait(30)
  5182. dis.Transparency = 1
  5183. coroutine.resume(coroutine.create(function()
  5184. for i = 0, 19 do
  5185. swait()
  5186. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5187. end
  5188. hum.CameraOffset = vt(0,0,0)
  5189. end))
  5190. coroutine.resume(coroutine.create(function()
  5191. local eff = Instance.new("ParticleEmitter",dis)
  5192. eff.Texture = "rbxassetid://2273224484"
  5193. eff.LightEmission = 1
  5194. eff.Color = ColorSequence.new(dis.Color)
  5195. eff.Rate = 500000
  5196. eff.Lifetime = NumberRange.new(0.5,2)
  5197. 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)})
  5198. 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)})
  5199. eff.Speed = NumberRange.new(50,450)
  5200. eff.Drag = 5
  5201. eff.Rotation = NumberRange.new(-500,500)
  5202. eff.VelocitySpread = 9000
  5203. eff.RotSpeed = NumberRange.new(-50,50)
  5204. wait(0.125)
  5205. eff.Enabled = false
  5206. end))
  5207. MagniDamage(dis, 30, 45,50, 0, "Normal")
  5208. for i = 0, 2 do
  5209. 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)
  5210. end
  5211. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  5212. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  5213. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  5214. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  5215. end))
  5216. game:GetService("Debris"):AddItem(dis, 5)
  5217. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  5218. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  5219. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  5220. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  5221. 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)
  5222. 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)
  5223. end
  5224. attack = false
  5225. end
  5226.  
  5227.  
  5228. local blush = Instance.new("Decal",hed)
  5229. blush.Texture = "rbxassetid://898404027"
  5230. blush.Face = "Front"
  5231. blush.Parent = nil
  5232. blush.Transparency = 1
  5233. ----------------------------------- Abilities
  5234. --[[
  5235. function ExtinctiveHeartbreak()
  5236. local targetted = nil
  5237. if Target.Parent ~= Character and Target.Parent.Parent ~= Character and Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5238. targetted = Target.Parent
  5239. end
  5240. if targetted ~= nil then
  5241. attack = true
  5242. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5243. for i = 0, 9 do
  5244. 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)
  5245. end
  5246. for i = 0, 24 do
  5247. 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)
  5248. end
  5249. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5250. local originalpos = root.CFrame
  5251. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5252. for i = 0, 9 do
  5253. 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)
  5254. end
  5255. for i = 0, 24 do
  5256. 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)
  5257. end
  5258. hum.WalkSpeed = 0
  5259. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5260. local radm = math.random(1,3)
  5261. if radm == 1 then
  5262. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  5263. elseif radm == 2 then
  5264. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  5265. elseif radm == 3 then
  5266. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  5267. end
  5268. for i = 0,2,0.1 do
  5269. swait()
  5270. 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)
  5271. 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)
  5272. 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)
  5273. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5274. 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)
  5275. 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)
  5276. end
  5277. CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
  5278. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
  5279. for i = 0,2,0.1 do
  5280. swait()
  5281. coroutine.resume(coroutine.create(function()
  5282. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5283. for i,v in pairs(targetted:GetChildren()) do
  5284. if v:IsA("Part") or v:IsA("MeshPart") then
  5285. v.Velocity = vt(0,0,0)
  5286. end
  5287. end
  5288. end))
  5289. 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)
  5290. 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)
  5291. 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)
  5292. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5293. 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)
  5294. 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)
  5295. end
  5296. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
  5297. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
  5298. for i = 0, 1 do
  5299. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
  5300. end
  5301. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
  5302. chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  5303. for i = 0,4,0.1 do
  5304. swait()
  5305. coroutine.resume(coroutine.create(function()
  5306. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5307. 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)))
  5308. local at1 = Instance.new("Attachment",dis)
  5309. at1.Position = vt(-25000,0,0)
  5310. local at2 = Instance.new("Attachment",dis)
  5311. at2.Position = vt(25000,0,0)
  5312. local trl = Instance.new('Trail',dis)
  5313. trl.Attachment0 = at1
  5314. trl.FaceCamera = true
  5315. trl.Attachment1 = at2
  5316. trl.Texture = "rbxassetid://1049219073"
  5317. trl.LightEmission = 1
  5318. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5319. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  5320. trl.Lifetime = 5
  5321. local bv = Instance.new("BodyVelocity")
  5322. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5323. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5324. bv.Parent = dis
  5325. game:GetService("Debris"):AddItem(dis, 5)
  5326. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5327. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  5328. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  5329. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  5330. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  5331. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  5332. 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)
  5333. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  5334. for i = 0, 2 do
  5335. 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"))
  5336. end
  5337. 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)
  5338. for i,v in pairs(targetted:GetChildren()) do
  5339. if v:IsA("Part") or v:IsA("MeshPart") then
  5340. v.Velocity = vt(0,0,0)
  5341. end
  5342. end
  5343. end))
  5344. CamShakeAll(10,90,Character)
  5345. 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)
  5346. 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)
  5347. 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)
  5348. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  5349. 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)
  5350. 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)
  5351. end
  5352. for i = 0, 49 do
  5353. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5354. 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)))
  5355. local at1 = Instance.new("Attachment",dis)
  5356. at1.Position = vt(-50000,0,0)
  5357. local at2 = Instance.new("Attachment",dis)
  5358. at2.Position = vt(50000,0,0)
  5359. local trl = Instance.new('Trail',dis)
  5360. trl.Attachment0 = at1
  5361. trl.FaceCamera = true
  5362. trl.Attachment1 = at2
  5363. trl.Texture = "rbxassetid://1049219073"
  5364. trl.LightEmission = 1
  5365. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5366. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  5367. trl.Lifetime = 5
  5368. local bv = Instance.new("BodyVelocity")
  5369. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5370. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5371. bv.Parent = dis
  5372. game:GetService("Debris"):AddItem(dis, 5)
  5373. end
  5374. for i = 0, 49 do
  5375. 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)
  5376. 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"))
  5377. end
  5378. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  5379. for i = 0, 1 do
  5380. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  5381. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  5382. end
  5383. for i = 0, 4 do
  5384. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  5385. end
  5386. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  5387. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  5388. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  5389. dmg(targetted)
  5390. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5391. for i = 0, 9 do
  5392. 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)
  5393. end
  5394. for i = 0, 24 do
  5395. 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)
  5396. end
  5397. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5398. root.CFrame = originalpos
  5399. for i = 0, 9 do
  5400. 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)
  5401. end
  5402. for i = 0, 24 do
  5403. 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)
  5404. end
  5405. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5406. attack = false
  5407. hum.WalkSpeed = storehumanoidWS
  5408. end
  5409. end
  5410. ]]
  5411. function ColorEnbelived()
  5412. attack = true
  5413. hum.WalkSpeed = 0
  5414. chatfunc("Well color me convinced...",Color3.new(0,0,0),"Inverted","Antique",0.75)
  5415. for i = 0,50 do
  5416. swait()
  5417. 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 - 9 * math.cos(sine / 51))),.1)
  5418. 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 + 7 * math.cos(sine / 44))),.1)
  5419. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 47),0 + 0.25 * math.cos(sine / 35),3 + 1 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(13)),.1)
  5420. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(24 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-13 + 2 * math.cos(sine / 53))),.1)
  5421. 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)
  5422. 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)
  5423. end
  5424. attack = false
  5425. hum.WalkSpeed = storehumanoidWS
  5426. end
  5427.  
  5428. function PlaguedJump()
  5429. attack = true
  5430. local keptcolor = BrickColor.new("Forest green")
  5431. CFuncs["Sound"].Create("rbxassetid://1295446488", root, 10, 1)
  5432. CFuncs["EchoSound"].Create("rbxassetid://1657242236", char, 4, 1,0,10,0.15,0.5,1)
  5433. CFuncs["EchoSound"].Create("rbxassetid://1657242236", root, 10, 1,0,10,0.15,0.5,1)
  5434. for i = 0, 5 do
  5435. swait()
  5436. waveEff(math.random(10,100)/10,"Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,math.rad(math.random(-360,360)),0),vt(15,0.25,15),math.random(25,250)/250,0.25,BrickColor.new("White"))
  5437. slash(math.random(10,100)/10,3,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,500)/250,BrickColor.new("White"))
  5438. end
  5439. CamShakeAll(20,100,char)
  5440. root.Velocity = vt(0,250,0) + root.CFrame.lookVector*250
  5441. wait(0.3)
  5442. repeat
  5443. swait()
  5444. for i = 0, 1, 0.6 do
  5445. swait()
  5446. RH.C0=clerp(RH.C0,cf(1,-0.45,-0.45)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-20)),.6)
  5447. 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(30)),.6)
  5448. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.2,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5449. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.6)
  5450. RW.C0=clerp(RW.C0,cf(1.05,1.25,0)*angles(math.rad(190),math.rad(0),math.rad(-30)),.6)
  5451. LW.C0=clerp(LW.C0,cf(-1.05,1.25,0)*angles(math.rad(190),math.rad(0),math.rad(30)),.6)
  5452. end
  5453. for i = 0, 1, 0.6 do
  5454. swait()
  5455. RH.C0=clerp(RH.C0,cf(1,-0.45,-0.45)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-20)),.6)
  5456. 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(30)),.6)
  5457. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.2,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.6)
  5458. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.6)
  5459. RW.C0=clerp(RW.C0,cf(1.05,1.25,0)*angles(math.rad(190),math.rad(0),math.rad(-30)),.6)
  5460. LW.C0=clerp(LW.C0,cf(-1.05,1.25,0)*angles(math.rad(190),math.rad(0),math.rad(30)),.6)
  5461. end
  5462. for i = 0, 1, 0.6 do
  5463. swait()
  5464. RH.C0=clerp(RH.C0,cf(1,-0.45,-0.45)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-20)),.6)
  5465. 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(30)),.6)
  5466. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.2,0)*angles(math.rad(180),math.rad(0),math.rad(0)),.6)
  5467. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.6)
  5468. RW.C0=clerp(RW.C0,cf(1.05,1.25,0)*angles(math.rad(190),math.rad(0),math.rad(-30)),.6)
  5469. LW.C0=clerp(LW.C0,cf(-1.05,1.25,0)*angles(math.rad(190),math.rad(0),math.rad(30)),.6)
  5470. end
  5471. for i = 0, 1, 0.6 do
  5472. swait()
  5473. RH.C0=clerp(RH.C0,cf(1,-0.45,-0.45)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-20)),.6)
  5474. 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(30)),.6)
  5475. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.2,0)*angles(math.rad(270),math.rad(0),math.rad(0)),.6)
  5476. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.6)
  5477. RW.C0=clerp(RW.C0,cf(1.05,1.25,0)*angles(math.rad(190),math.rad(0),math.rad(-30)),.6)
  5478. LW.C0=clerp(LW.C0,cf(-1.05,1.25,0)*angles(math.rad(190),math.rad(0),math.rad(30)),.6)
  5479. end
  5480. hfr,pfr=rayCast(root.Position,(CFrame.new(root.Position,root.Position - vt(0,1,0))).lookVector,4,char)
  5481. until hfr ~= nil
  5482. if hfr ~= nil then
  5483. local locat = Instance.new("Part", char)
  5484. locat.CanCollide = false
  5485. locat.FormFactor = 3
  5486. locat.Name = "Ring"
  5487. locat.Material = "Neon"
  5488. locat.Size = Vector3.new(1, 1, 1)
  5489. locat.Transparency = 1
  5490. locat.TopSurface = 0
  5491. locat.BottomSurface = 0
  5492. locat.Anchored = true
  5493. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  5494. local poste = 0
  5495. local rotation = 0
  5496. local upperpos = 0
  5497. local rate = 0
  5498. local x = locat
  5499. CamShakeAll(50,100,char)
  5500. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  5501. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  5502. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  5503. sphere(1.25,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  5504. sphere(0.85,"Add",root.CFrame,vt(0,0,0),19,MAINRUINCOLOR)
  5505. for i = 0, 49 do
  5506. slash(math.random(10,13)/10,2,false,"Round","Add","Out",root.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(0.05,0.01,0.05),math.random(9,14),MAINRUINCOLOR)
  5507. end
  5508. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 280)) do
  5509. if v:FindFirstChild('Torso') then
  5510. dmg(v)
  5511. end
  5512. end
  5513. coroutine.resume(coroutine.create(function()
  5514. coroutine.resume(coroutine.create(function()
  5515. for i = 0, 119 do
  5516. sphere2(math.random(1,2),"Add",x.CFrame*CFrame.new(math.random(-350,350),0,math.random(-350,350)),vt(5,1,5),-0.05,math.random(50,250)/50,-0.05,keptcolor)
  5517. end
  5518. end))
  5519. for i = 0, 158 do
  5520. swait()
  5521. rotation = rotation + 5
  5522. poste = poste + 1
  5523. upperpos = upperpos + rate
  5524. rate = rate + 0.1
  5525. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
  5526. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
  5527. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.025,-0.025,-0.025,keptcolor)
  5528. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.025,-0.025,-0.025,keptcolor)
  5529. end
  5530. x:Destroy()
  5531. end))
  5532. end
  5533. attack = false
  5534. end
  5535.  
  5536. function CrazedInsanity()
  5537. attack = true
  5538. for i = 0,30 do
  5539. swait()
  5540. sphere2(8,"Add",rleg.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("Navy blue"),BrickColor.new("Navy blue").Color)
  5541. sphere2(8,"Add",lleg.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("Really black"),BrickColor.new("Really black").Color)
  5542. 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 + MRANDOM(-3,3)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 6 * math.cos(sine / 39) + MRANDOM(-5,5))),.1)
  5543. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + MRANDOM(-3,3)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 45) + MRANDOM(-5,5))),.1)
  5544. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.25 * math.cos(sine / 47),0 - 0.25 * math.cos(sine / 40),7 + 1 * math.cos(sine / 32))*angles(math.rad(-15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(45)),.1)
  5545. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(45)),.5)
  5546. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(50)),.5)
  5547. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(20),math.rad(10),math.rad(-30)),.5)
  5548. end
  5549. coroutine.resume(coroutine.create(function()
  5550. for i = 0,60,0.1 do
  5551. swait()
  5552. sphere2(8,"Add",rleg.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("Navy blue"),BrickColor.new("Navy blue").Color)
  5553. sphere2(8,"Add",lleg.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("Really black"),BrickColor.new("Really black").Color)
  5554. 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 + MRANDOM(-3,3)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 6 * math.cos(sine / 39) + MRANDOM(-5,5))),.1)
  5555. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + MRANDOM(-3,3)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 45) + MRANDOM(-5,5))),.1)
  5556. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.25 * math.cos(sine / 47),0 - 0.25 * math.cos(sine / 40),7 + 1 * math.cos(sine / 32))*angles(math.rad(7.5 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-15)),.1)
  5557. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(-15)),.5)
  5558. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(85),math.rad(0),math.rad(-20)),.5)
  5559. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(20),math.rad(10),math.rad(-30)),.5)
  5560. end
  5561. end))
  5562. for i = 0, 2 do
  5563. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 10,1)
  5564. CFuncs["LongSound"].Create("rbxassetid://763717897", char, 10, 0.5)
  5565. CFuncs["LongSound"].Create("rbxassetid://763717897", char, 7.5, 0.25)
  5566. CFuncs["Sound"].Create("rbxassetid://763718160", char, 10, 0.9)
  5567. CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 0.5)
  5568. CFuncs["Sound"].Create("rbxassetid://335657174", char, 5, 0.75)
  5569. CFuncs["LongSound"].Create("rbxassetid://335657174", char, 10, 0.25)
  5570. CFuncs["Sound"].Create("rbxassetid://167115397", char, 10, 1)
  5571. CFuncs["LongSound"].Create("rbxassetid://167115397", char, 10, 0.75)
  5572. CFuncs["LongSound"].Create("rbxassetid://167115397", char, 10, 0.5)
  5573. end
  5574. for i = 0, 2 do
  5575. block(3,"Add",root.CFrame,vt(1,1,1),6.5*2,6.5*2,6.5*2,BrickColor.new("Dark blue"),BrickColor.new("Dark blue").Color)
  5576. block(2,"Add",root.CFrame,vt(1,1,1),6*2,6*2,6*2,BrickColor.new("Really Black"),BrickColor.new("Really Black").Color)
  5577. block(1,"Add",root.CFrame,vt(1,1,1),4.5*2,4.5*2,4.5*2,BrickColor.new("Dark blue"),BrickColor.new("Dark blue").Color)
  5578. end
  5579. for i = 0, 49 do
  5580. 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,2500)/250,BrickColor.new("Really black"))
  5581. end
  5582. CamShakeAll(20,120,char)
  5583. for i = 0, 199 do
  5584. swait()
  5585. coroutine.resume(coroutine.create(function()
  5586. for i, v in pairs(FindNearestHead(root.CFrame.p, 250)) do
  5587. if v:FindFirstChild('Head') then
  5588. dmg(v)
  5589. end
  5590. end
  5591. end))
  5592. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5593. 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)))
  5594. local at1 = Instance.new("Attachment",dis)
  5595. at1.Position = vt(-25000,0,0)
  5596. local at2 = Instance.new("Attachment",dis)
  5597. at2.Position = vt(25000,0,0)
  5598. local trl = Instance.new('Trail',dis)
  5599. trl.Attachment0 = at1
  5600. trl.FaceCamera = true
  5601. trl.Attachment1 = at2
  5602. trl.Texture = "rbxassetid://1049219073"
  5603. trl.LightEmission = 1
  5604. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5605. trl.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5606. trl.Lifetime = 5
  5607. local bv = Instance.new("BodyVelocity")
  5608. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5609. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5610. bv.Parent = dis
  5611. game:GetService("Debris"):AddItem(dis, 5)
  5612. sphere2(15,"Add",root.CFrame,vt(1.25,1.25,1.25),2.5,2.5,2.5,BrickColor.new("Dark blue"))
  5613. for i = 0, 2 do
  5614. CamShakeAll(20,120,char)
  5615. slash(15,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),25,BrickColor.new("Dark blue"))
  5616. slash(15,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),50,BrickColor.new("Really black"))
  5617. end
  5618. end
  5619. attack = false
  5620. hum.WalkSpeed = storehumanoidWS
  5621. end
  5622.  
  5623. function RainbowBeam()
  5624. attack = true
  5625. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.7)
  5626. local rngb = Instance.new("Part", char)
  5627. rngb.Anchored = true
  5628. rngb.BrickColor = origcolor
  5629. rngb.CanCollide = false
  5630. rngb.FormFactor = 3
  5631. rngb.Name = "Ring"
  5632. rngb.Material = "Neon"
  5633. rngb.Size = Vector3.new(1, 0.05, 1)
  5634. rngb.Transparency = 1
  5635. rngb.TopSurface = 0
  5636. rngb.BottomSurface = 0
  5637. local rngmb = Instance.new("SpecialMesh", rngb)
  5638. rngmb.MeshType = "Brick"
  5639. rngmb.Name = "SizeMesh"
  5640. rngmb.Scale = vt(0,1,0)
  5641. local obj1 = script.chring2:Clone()
  5642. obj1.Parent = char
  5643. obj1.Transparency = 1
  5644. obj1.Size = vt(1,1,1)
  5645. obj1.Color = BrickColor.new("White").Color
  5646. if rainbowmode == true then
  5647. obj1.Color = Color3.new(r/255,g/255,b/255)
  5648. end
  5649. local orb = rngb:Clone()
  5650. orb.Parent = char
  5651. orb.Transparency = 0
  5652. orb.BrickColor = BrickColor.new("White")
  5653. orb.Size = vt(1,1,1)
  5654. local orbmish = orb.SizeMesh
  5655. orbmish.Scale = vt(0,0,0)
  5656. orbmish.MeshType = "Sphere"
  5657.  
  5658. local orbe = rngb:Clone()
  5659. orbe.Parent = char
  5660. orbe.Transparency = 0.5
  5661. orbe.BrickColor = BrickColor.new("New Yeller")
  5662. orbe.Size = vt(1,1,1)
  5663. local orbmish2 = orbe.SizeMesh
  5664. orbmish2.Scale = vt(0,0,0)
  5665. orbmish2.MeshType = "Sphere"
  5666. orbe.Color = Color3.new(r/255,g/255,b/255)
  5667.  
  5668. rngb:Destroy()
  5669. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  5670. local rval = 0
  5671. local eval = 1
  5672. coroutine.resume(coroutine.create(function()
  5673. for i = 0,7,0.1 do
  5674. swait()
  5675. rval = rval + math.random(30,40)
  5676. eval = eval + 0.45
  5677. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  5678. end
  5679. end))
  5680. for i = 0,5,0.1 do
  5681. swait()
  5682. if rainbowmode == true then
  5683. orbe.Color = Color3.new(r/255,g/255,b/255)
  5684. end
  5685. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5686. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5687. rval = rval + math.random(30,40)
  5688. eval = eval + 0.45
  5689. obj1.Transparency = obj1.Transparency - 0.005
  5690. obj1.Size = obj1.Size + vt(0.7,0.7,0.1)
  5691. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  5692.  
  5693. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  5694. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  5695. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  5696. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5697. 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(0)),.3)
  5698. 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(10),math.rad(0)),.3)
  5699.  
  5700. end
  5701. coroutine.resume(coroutine.create(function()
  5702. local eff = Instance.new("ParticleEmitter",obj1)
  5703. eff.Texture = "rbxassetid://2273224484"
  5704. eff.LightEmission = 1
  5705. coroutine.resume(coroutine.create(function()
  5706. while true do
  5707. swait()
  5708. eff.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  5709. end
  5710. end))
  5711. eff.Rate = 27500
  5712. eff.Lifetime = NumberRange.new(1,2)
  5713. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,60,0),NumberSequenceKeypoint.new(0.2,3,0),NumberSequenceKeypoint.new(0.8,24,0),NumberSequenceKeypoint.new(1,0,0)})
  5714. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5715. eff.Speed = NumberRange.new(100,650)
  5716. eff.Drag = 5
  5717. eff.Rotation = NumberRange.new(-500,500)
  5718. eff.VelocitySpread = 9000
  5719. eff.RotSpeed = NumberRange.new(-50,50)
  5720. wait(0.35)
  5721. eff.Enabled = false
  5722. end))
  5723. orbe.Transparency = 1
  5724. orb.Transparency = 1
  5725. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  5726. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  5727. local a = Instance.new("Part",Character)
  5728. a.Name = "Direction"
  5729. a.Anchored = true
  5730. a.BrickColor = bc("White")
  5731. a.Material = "Neon"
  5732. a.Transparency = 0
  5733. a.Shape = "Cylinder"
  5734. a.CanCollide = false
  5735. local a2 = Instance.new("Part",Character)
  5736. a2.Name = "Direction"
  5737. a2.Anchored = true
  5738. a2.BrickColor = bc("New Yeller")
  5739. a2.Color = Color3.new(r/255,g/255,b/255)
  5740. a2.Material = "Neon"
  5741. a2.Transparency = 0.5
  5742. a2.Shape = "Cylinder"
  5743. a2.CanCollide = false
  5744. local ba = Instance.new("Part",Character)
  5745. ba.Name = "HitDirect"
  5746. ba.Anchored = true
  5747. ba.BrickColor = bc("Cool yellow")
  5748. ba.Material = "Neon"
  5749. ba.Transparency = 1
  5750. ba.CanCollide = false
  5751. RequestHit()
  5752. local ray = Ray.new(
  5753. orb.CFrame.p, -- origin
  5754. (Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5755. )
  5756. local ignore = Character
  5757. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5758. a.BottomSurface = 10
  5759. a.TopSurface = 10
  5760. a2.BottomSurface = 10
  5761. a2.TopSurface = 10
  5762. local distance = (orb.CFrame.p - position).magnitude
  5763. a.Size = Vector3.new(distance, 1, 1)
  5764. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5765. a2.Size = Vector3.new(distance, 1, 1)
  5766. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5767. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5768. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5769. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5770. game:GetService("Debris"):AddItem(a, 20)
  5771. game:GetService("Debris"):AddItem(a2, 20)
  5772. game:GetService("Debris"):AddItem(ba, 20)
  5773. local msh = Instance.new("SpecialMesh",a)
  5774. msh.MeshType = "Cylinder"
  5775. msh.Scale = vt(1,5*5,5*5)
  5776. local msh2 = Instance.new("SpecialMesh",a2)
  5777. msh2.MeshType = "Cylinder"
  5778. msh2.Scale = vt(1,6*5,6*5)
  5779. coroutine.resume(coroutine.create(function()
  5780. for i = 0,10,0.1 do
  5781. swait()
  5782. CamShakeAll(20,35,char)
  5783. rval = rval + math.random(30,40)
  5784. eval = eval + 0.45
  5785. obj1.Transparency = obj1.Transparency - 0.005
  5786. obj1.Size = obj1.Size + vt(0,0,0.075)
  5787. obj1.Size = obj1.Size - vt(0.125,0.125,0)
  5788. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  5789. a2.Color = Color3.new(r/255,g/255,b/255)
  5790. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5791. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5792. RequestHit()
  5793. ray = Ray.new(
  5794. orb.CFrame.p, -- origin
  5795. (Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5796. )
  5797. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5798. distance = (orb.CFrame.p - position).magnitude
  5799. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  5800. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5801. a.Size = Vector3.new(distance, 1, 1)
  5802. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5803. a2.Size = Vector3.new(distance, 1, 1)
  5804. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5805. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5806. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5807. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5808. msh.Scale = msh.Scale - vt(0,0.025*5,0.025*5)
  5809. msh2.Scale = msh2.Scale - vt(0,0.03*5,0.03*5)
  5810. coroutine.resume(coroutine.create(function()
  5811. local eff = Instance.new("ParticleEmitter",ba)
  5812. eff.Texture = "rbxassetid://2273224484"
  5813. eff.LightEmission = 1
  5814. eff.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  5815. eff.Rate = 50
  5816. eff.Lifetime = NumberRange.new(0.5,2)
  5817. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,60,0),NumberSequenceKeypoint.new(0.2,3,0),NumberSequenceKeypoint.new(0.8,24,0),NumberSequenceKeypoint.new(1,0,0)})
  5818. 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)})
  5819. eff.Speed = NumberRange.new(50,450)
  5820. eff.Drag = 5
  5821. eff.Rotation = NumberRange.new(-500,500)
  5822. eff.VelocitySpread = 9000
  5823. eff.RotSpeed = NumberRange.new(-50,50)
  5824. wait(0.25)
  5825. eff.Enabled = false
  5826. end))
  5827. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15*2,15*2,25*2,-0.15,MAINRUINCOLOR,0)
  5828. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15*2,15*2,25*2,-0.15,MAINRUINCOLOR,0)
  5829. MagniDamage(ba, 30*2, 10,20, 0, "Normal")
  5830. end
  5831. attack = false
  5832. for i = 0,49 do
  5833. swait()
  5834. msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5)
  5835. msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5)
  5836. orbe.Transparency = obj1.Transparency + 0.02
  5837. orb.Transparency = obj1.Transparency + 0.02
  5838. obj1.Transparency = obj1.Transparency + 0.02
  5839. obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  5840. end
  5841. a:Destroy()
  5842. a2:Destroy()
  5843. orb:Destroy()
  5844. orbe:Destroy()
  5845. wait(3)
  5846. obj1:Destroy()
  5847. ba:Destroy()
  5848. end))
  5849. end
  5850.  
  5851.  
  5852. function CorruptionEvent()
  5853. attack = true
  5854. hum.WalkSpeed = 0
  5855. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5856. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5857. local keptcolor = MAINRUINCOLOR
  5858. for i = 0,4,0.1 do
  5859. swait()
  5860. CamShakeAll(10,45,Character)
  5861. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5862. 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)
  5863. 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)
  5864. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  5865. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  5866. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  5867. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5868. end
  5869. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5870. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  5871. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  5872. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5873. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5874. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5875. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5876. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  5877. coroutine.resume(coroutine.create(function()
  5878. local eff = Instance.new("ParticleEmitter",cen)
  5879. eff.Texture = "rbxassetid://2344870656"
  5880. eff.LightEmission = 1
  5881. eff.Color = ColorSequence.new(keptcolor.Color)
  5882. eff.Rate = 10000000
  5883. eff.Enabled = true
  5884. eff.EmissionDirection = "Front"
  5885. eff.Lifetime = NumberRange.new(2)
  5886. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,80,0),NumberSequenceKeypoint.new(1,140,0)})
  5887. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5888. eff.Speed = NumberRange.new(500)
  5889. eff.Drag = 5
  5890. eff.Rotation = NumberRange.new(-500,500)
  5891. eff.SpreadAngle = Vector2.new(0,900)
  5892. eff.RotSpeed = NumberRange.new(-500,500)
  5893. wait(0.2)
  5894. eff.Enabled = false
  5895. wait(5)
  5896. eff:Destroy()
  5897. end))
  5898. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5899. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5900. for i = 0, 24 do
  5901. 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"))
  5902. end
  5903. local rrot = 0
  5904. coroutine.resume(coroutine.create(function()
  5905. for i = 0, 4 do
  5906. rrot = rrot + 45
  5907. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5908. xa.Anchored = true
  5909. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5910. xb.Anchored = true
  5911. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5912. xc.Anchored = true
  5913. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5914. xd.Anchored = true
  5915. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  5916. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  5917. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  5918. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  5919. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  5920. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  5921. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  5922. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  5923. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  5924. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  5925. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  5926. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  5927. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  5928. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  5929. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  5930. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  5931. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5932. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5933. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5934. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5935. for i = 0, 9 do
  5936. 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"))
  5937. 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"))
  5938. 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"))
  5939. 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"))
  5940. end
  5941. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5942. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5943. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5944. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5945. 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)
  5946. 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)
  5947. 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)
  5948. 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)
  5949. 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))
  5950. 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))
  5951. 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))
  5952. 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))
  5953. game:GetService("Debris"):AddItem(xa, 5)
  5954. game:GetService("Debris"):AddItem(xb, 5)
  5955. game:GetService("Debris"):AddItem(xc, 5)
  5956. game:GetService("Debris"):AddItem(xd, 5)
  5957. coroutine.resume(coroutine.create(function()
  5958. for i = 0, 19 do
  5959. swait()
  5960. CamShakeAll(10,75,Character)
  5961. end
  5962. end))
  5963. swait(9)
  5964. end
  5965. end))
  5966. for i = 0,2,0.1 do
  5967. swait()
  5968. 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)
  5969. 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)
  5970. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  5971. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  5972. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  5973. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5974. end
  5975. attack = false
  5976. hum.WalkSpeed = storehumanoidWS
  5977. end
  5978.  
  5979. function HolyBarrier()
  5980. attack = true
  5981. shielding = true
  5982. CFuncs["Sound"].Create("rbxassetid://1368583274", root, 7.5, 1)
  5983. for i = 0, 2, 0.1 do
  5984. swait()
  5985. slash(math.random(30,100)/10,5,true,"Round","Add","Out",Torso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-1, 1)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))),vt(0.05,0.01,0.05),math.random(50,60)/250,MAINRUINCOLOR)
  5986. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  5987. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  5988. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  5989. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.4)
  5990. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(-230),math.rad(-40)),.1)
  5991. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(120),math.rad(230),math.rad(40)),.1)
  5992. end
  5993. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7, 1)
  5994. stash = Instance.new("Model",workspace)
  5995. local barrier = Instance.new("Part",stash)
  5996. barrier.Anchored = true
  5997. barrier.CanCollide = false
  5998. barrier.Size = Vector3.new(20,20,20)
  5999. barrier.CFrame = root.CFrame
  6000. barrier.Transparency = 0.4
  6001. barrier.BrickColor = MAINRUINCOLOR
  6002. barrier.Material = Enum.Material.Neon
  6003. barrier.Shape = Enum.PartType.Ball
  6004. barrier.CFrame = root.CFrame
  6005. sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  6006. Torso.Anchored = true
  6007. for i=1,50 do
  6008. local p = Instance.new("Part",stash)
  6009. p.Anchored = true
  6010. p.Transparency = 1
  6011. p.Size = Vector3.new(11,11,11)
  6012. p.CFrame = root.CFrame * CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360))
  6013. end
  6014. repeat
  6015. swait(5)
  6016. CamShakeAll(10,7,Character)
  6017. waveEff(5,"Add","In",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,math.rad(math.random(-360,360)),0),vt(15,0.25,15),-0.075,0.05,BrickColor.new("Deep orange"))
  6018. slash(math.random(30,100)/10,1,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-1,1)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(1,50)/250,MAINRUINCOLOR)
  6019. slash(math.random(30,100)/10,1,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-1,1)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(1,50)/250,MAINRUINCOLOR)
  6020. slash(math.random(30,100)/10,1,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-1,1)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(1,50)/250,MAINRUINCOLOR)
  6021. sphereMK(3,0.5,"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("White"),0)
  6022. until shielding == false
  6023. stash:Remove()
  6024. Torso.Anchored = false
  6025. shielding = false
  6026. sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  6027. attack = false
  6028. end
  6029.  
  6030. function EndGROUND()
  6031. attack = true
  6032. hum.WalkSpeed = 0
  6033. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  6034. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  6035. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  6036. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  6037. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  6038. local keptcolor = MAINRUINCOLOR
  6039. for i = 0,4,0.1 do
  6040. swait()
  6041. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6042. 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"))
  6043. 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)
  6044. 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)
  6045. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  6046. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  6047. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  6048. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  6049. end
  6050. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  6051. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  6052. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  6053. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  6054. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  6055. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  6056. coroutine.resume(coroutine.create(function()
  6057. CamShakeAll(40,100,Character)
  6058. local eff = Instance.new("ParticleEmitter",cen)
  6059. eff.Texture = "rbxassetid://2344870656"
  6060. eff.LightEmission = 1
  6061. eff.Color = ColorSequence.new(keptcolor.Color)
  6062. eff.Rate = 10000000
  6063. eff.Enabled = true
  6064. eff.EmissionDirection = "Front"
  6065. eff.Lifetime = NumberRange.new(2)
  6066. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,80,0),NumberSequenceKeypoint.new(1,140,0)})
  6067. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6068. eff.Speed = NumberRange.new(500)
  6069. eff.Drag = 5
  6070. eff.Rotation = NumberRange.new(-500,500)
  6071. eff.SpreadAngle = Vector2.new(0,900)
  6072. eff.RotSpeed = NumberRange.new(-500,500)
  6073. wait(0.2)
  6074. eff.Enabled = false
  6075. wait(5)
  6076. eff:Destroy()
  6077. end))
  6078. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6079. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6080. for i = 0, 24 do
  6081. 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"))
  6082. end
  6083. local rrot = 0
  6084. local xam = 1
  6085. coroutine.resume(coroutine.create(function()
  6086. for i = 0, 14 do
  6087. swait()
  6088. rrot = rrot + 40*xam
  6089. xam = xam + 0.25
  6090. local bonus = xam
  6091. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  6092. xa.Anchored = true
  6093. xa.Color = Color3.new(0,0,0)
  6094. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  6095. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  6096. local xc = 0
  6097. coroutine.resume(coroutine.create(function()
  6098. for i = 0, 99 do
  6099. swait()
  6100. xc = xc + 0.01
  6101. xa.Color = Color3.new(xc,0,0)
  6102. end
  6103. xa.Transparency = 1
  6104. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  6105. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  6106. for i = 0, 9 do
  6107. 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"))
  6108. end
  6109. CamShakeAll(20,100,xa)
  6110. 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)
  6111. 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)
  6112. 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))
  6113. game:GetService("Debris"):AddItem(xa, 5)
  6114. end))
  6115. end
  6116. end))
  6117. for i = 0,2,0.1 do
  6118. swait()
  6119. 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)
  6120. 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)
  6121. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  6122. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  6123. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  6124. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  6125. end
  6126. attack = false
  6127. hum.WalkSpeed = storehumanoidWS
  6128. end
  6129.  
  6130. function ClearDisk()
  6131. attack = true
  6132. hum.WalkSpeed = 2
  6133. local keptcolor = MAINRUINCOLOR
  6134. local radm = math.random(1,3)
  6135. if radm == 1 then
  6136. bosschatfunc("Clear Disks!",MAINRUINCOLOR.Color,1)
  6137. elseif radm == 2 then
  6138. bosschatfunc("TAKE THAT!!!",MAINRUINCOLOR.Color,1)
  6139. elseif radm == 3 then
  6140. bosschatfunc("Hey!",MAINRUINCOLOR.Color,1)
  6141. end
  6142. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  6143. CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
  6144. 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)
  6145. 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)
  6146. for i = 0, 14 do
  6147. 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("Pastel Blue"),0)
  6148. end
  6149. for i = 0,2,0.1 do
  6150. swait()
  6151. 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)
  6152. 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)
  6153. 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)
  6154. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  6155. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  6156. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6157. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  6158. end
  6159. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  6160. for i = 0,1,0.6 do
  6161. swait()
  6162. 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)
  6163. 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"))
  6164. 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)
  6165. 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)
  6166. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  6167. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6168. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6169. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6170. end
  6171. for i = 0,1,0.6 do
  6172. swait()
  6173. 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)
  6174. 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"))
  6175. 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)
  6176. 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)
  6177. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  6178. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6179. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6180. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6181. end
  6182. for i = 0,1,0.6 do
  6183. swait()
  6184. 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)
  6185. 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"))
  6186. 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)
  6187. 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)
  6188. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  6189. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6190. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6191. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6192. end
  6193. for i = 0,1,0.6 do
  6194. swait()
  6195. 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)
  6196. 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"))
  6197. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  6198. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  6199. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  6200. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6201. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6202. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6203. end
  6204. local rot = 25
  6205. for i = 0, 3 do
  6206. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Pastel Blue"))
  6207. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  6208. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  6209. dis.Transparency = 0.5
  6210. CreateMesh(dis,"Sphere",10,1,10)
  6211. local at1 = Instance.new("Attachment",dis)
  6212. at1.Position = vt(-5,0,0)
  6213. local at2 = Instance.new("Attachment",dis)
  6214. at2.Position = vt(5,0,0)
  6215. local trl = Instance.new('Trail',wed)
  6216. trl.Attachment0 = at1
  6217. trl.Attachment1 = at2
  6218. trl.Texture = "rbxassetid://1049219073"
  6219. trl.LightEmission = 1
  6220. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6221. trl.Color = ColorSequence.new(dis.Color)
  6222. trl.Lifetime = 0.6
  6223. local a = Instance.new("Part",workspace)
  6224. a.Name = "Direction"
  6225. a.Anchored = true
  6226. a.BrickColor = bc("Bright red")
  6227. a.Material = "Neon"
  6228. a.Transparency = 1
  6229. a.CanCollide = false
  6230. RequestHit()
  6231. local ray = Ray.new(
  6232. dis.CFrame.p, -- origin
  6233. (Hit.p - dis.CFrame.p).unit * 500 -- direction
  6234. )
  6235. local ignore = dis
  6236. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6237. a.BottomSurface = 10
  6238. a.TopSurface = 10
  6239. local distance = (dis.CFrame.p - position).magnitude
  6240. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6241. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6242. dis.CFrame = a.CFrame
  6243. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6244. a:Destroy()
  6245. local bv = Instance.new("BodyVelocity")
  6246. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6247. bv.velocity = dis.CFrame.lookVector*250
  6248. bv.Parent = dis
  6249. game:GetService("Debris"):AddItem(dis, 5)
  6250. local hitted = false
  6251. coroutine.resume(coroutine.create(function()
  6252. dis.Touched:connect(function(hit)
  6253. if hitted == false and hit.Parent ~= char then
  6254. hitted = true
  6255. CamShakeAll(20,35,Character)
  6256. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  6257. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  6258. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  6259. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  6260. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  6261. coroutine.resume(coroutine.create(function()
  6262. local eff = Instance.new("ParticleEmitter",dis)
  6263. eff.Texture = "rbxassetid://2344870656"
  6264. eff.LightEmission = 1
  6265. eff.Color = ColorSequence.new(dis.Color)
  6266. eff.Rate = 10000000
  6267. eff.Enabled = true
  6268. eff.EmissionDirection = "Front"
  6269. eff.Lifetime = NumberRange.new(1)
  6270. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  6271. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6272. eff.Speed = NumberRange.new(150)
  6273. eff.Drag = 5
  6274. eff.Rotation = NumberRange.new(-500,500)
  6275. eff.SpreadAngle = Vector2.new(0,900)
  6276. eff.RotSpeed = NumberRange.new(-500,500)
  6277. wait(0.2)
  6278. eff.Enabled = false
  6279. end))
  6280. coroutine.resume(coroutine.create(function()
  6281. for i = 0, 9 do
  6282. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6283. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6284. local at1 = Instance.new("Attachment",disr)
  6285. at1.Position = vt(-2,0,0)
  6286. local at2 = Instance.new("Attachment",disr)
  6287. at2.Position = vt(2,0,0)
  6288. local trl = Instance.new('Trail',disr)
  6289. trl.Attachment0 = at1
  6290. trl.FaceCamera = true
  6291. trl.Attachment1 = at2
  6292. trl.Texture = "rbxassetid://2342682798"
  6293. trl.LightEmission = 1
  6294. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6295. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6296. trl.Lifetime = 0.5
  6297. local bv = Instance.new("BodyVelocity")
  6298. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6299. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6300. bv.Parent = disr
  6301. local val = 0
  6302. coroutine.resume(coroutine.create(function()
  6303. swait(30)
  6304. for i = 0, 9 do
  6305. swait()
  6306. val = val + 0.1
  6307. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6308. end
  6309. game:GetService("Debris"):AddItem(disr, 3)
  6310. end))
  6311. end
  6312. local eff = Instance.new("ParticleEmitter",dis)
  6313. eff.Texture = "rbxassetid://2273224484"
  6314. eff.LightEmission = 1
  6315. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6316. eff.Rate = 500000
  6317. eff.Lifetime = NumberRange.new(0.5,2)
  6318. 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)})
  6319. 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)})
  6320. eff.Speed = NumberRange.new(20,250)
  6321. eff.Drag = 5
  6322. eff.Rotation = NumberRange.new(-500,500)
  6323. eff.VelocitySpread = 9000
  6324. eff.RotSpeed = NumberRange.new(-50,50)
  6325. wait(0.25)
  6326. eff.Enabled = false
  6327. end))
  6328. for i = 0, 9 do
  6329. 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"))
  6330. end
  6331. for i = 0, 19 do
  6332. 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("Pastel Blue"),0)
  6333. end
  6334. dis.Anchored = true
  6335. dis.Transparency = 1
  6336. wait(8)
  6337. dis:Destroy()
  6338. end
  6339. end)
  6340. end))
  6341. rot = rot - 15
  6342. end
  6343. for i = 0,2,0.1 do
  6344. swait()
  6345. 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)
  6346. 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)
  6347. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6348. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  6349. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6350. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6351. end
  6352. attack = false
  6353. hum.WalkSpeed = storehumanoidWS
  6354. end
  6355.  
  6356. function HeavenlyDisk()
  6357. attack = true
  6358. hum.WalkSpeed = 2
  6359. local keptcolor = MAINRUINCOLOR
  6360. local radm = math.random(1,3)
  6361. if radm == 1 then
  6362. bosschatfunc("Dont make this too easy for you.",MAINRUINCOLOR.Color,1)
  6363. elseif radm == 2 then
  6364. bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
  6365. elseif radm == 3 then
  6366. bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  6367. end
  6368. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  6369. CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
  6370. 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)
  6371. 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)
  6372. for i = 0, 14 do
  6373. 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)
  6374. end
  6375. for i = 0,2,0.1 do
  6376. swait()
  6377. 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)
  6378. 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)
  6379. 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)
  6380. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  6381. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  6382. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6383. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  6384. end
  6385. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  6386. for i = 0,1,0.6 do
  6387. swait()
  6388. 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)
  6389. 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"))
  6390. 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)
  6391. 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)
  6392. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  6393. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6394. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6395. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6396. end
  6397. for i = 0,1,0.6 do
  6398. swait()
  6399. 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)
  6400. 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"))
  6401. 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)
  6402. 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)
  6403. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  6404. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6405. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6406. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6407. end
  6408. for i = 0,1,0.6 do
  6409. swait()
  6410. 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)
  6411. 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"))
  6412. 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)
  6413. 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)
  6414. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  6415. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6416. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6417. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6418. end
  6419. for i = 0,1,0.6 do
  6420. swait()
  6421. 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)
  6422. 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"))
  6423. 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)
  6424. 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)
  6425. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  6426. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6427. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6428. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6429. end
  6430. local rot = 15
  6431. for i = 0, 2 do
  6432. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  6433. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  6434. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  6435. CreateMesh(dis,"Sphere",10,1,10)
  6436. local at1 = Instance.new("Attachment",dis)
  6437. at1.Position = vt(-5,0,0)
  6438. local at2 = Instance.new("Attachment",dis)
  6439. at2.Position = vt(5,0,0)
  6440. local trl = Instance.new('Trail',wed)
  6441. trl.Attachment0 = at1
  6442. trl.Attachment1 = at2
  6443. trl.Texture = "rbxassetid://1049219073"
  6444. trl.LightEmission = 1
  6445. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6446. trl.Color = ColorSequence.new(dis.Color)
  6447. trl.Lifetime = 0.6
  6448. local a = Instance.new("Part",workspace)
  6449. a.Name = "Direction"
  6450. a.Anchored = true
  6451. a.BrickColor = bc("Bright red")
  6452. a.Material = "Neon"
  6453. a.Transparency = 1
  6454. a.CanCollide = false
  6455. RequestHit()
  6456. local ray = Ray.new(
  6457. dis.CFrame.p, -- origin
  6458. (Hit.p - dis.CFrame.p).unit * 500 -- direction
  6459. )
  6460. local ignore = dis
  6461. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6462. a.BottomSurface = 10
  6463. a.TopSurface = 10
  6464. local distance = (dis.CFrame.p - position).magnitude
  6465. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6466. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6467. dis.CFrame = a.CFrame
  6468. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6469. a:Destroy()
  6470. local bv = Instance.new("BodyVelocity")
  6471. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6472. bv.velocity = dis.CFrame.lookVector*250
  6473. bv.Parent = dis
  6474. game:GetService("Debris"):AddItem(dis, 5)
  6475. local hitted = false
  6476. coroutine.resume(coroutine.create(function()
  6477. dis.Touched:connect(function(hit)
  6478. if hitted == false and hit.Parent ~= char then
  6479. hitted = true
  6480. CamShakeAll(20,35,Character)
  6481. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  6482. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  6483. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  6484. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  6485. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  6486. coroutine.resume(coroutine.create(function()
  6487. local eff = Instance.new("ParticleEmitter",dis)
  6488. eff.Texture = "rbxassetid://2344870656"
  6489. eff.LightEmission = 1
  6490. eff.Color = ColorSequence.new(dis.Color)
  6491. eff.Rate = 10000000
  6492. eff.Enabled = true
  6493. eff.EmissionDirection = "Front"
  6494. eff.Lifetime = NumberRange.new(1)
  6495. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  6496. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6497. eff.Speed = NumberRange.new(150)
  6498. eff.Drag = 5
  6499. eff.Rotation = NumberRange.new(-500,500)
  6500. eff.SpreadAngle = Vector2.new(0,900)
  6501. eff.RotSpeed = NumberRange.new(-500,500)
  6502. wait(0.2)
  6503. eff.Enabled = false
  6504. end))
  6505. coroutine.resume(coroutine.create(function()
  6506. for i = 0, 9 do
  6507. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6508. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6509. local at1 = Instance.new("Attachment",disr)
  6510. at1.Position = vt(-2,0,0)
  6511. local at2 = Instance.new("Attachment",disr)
  6512. at2.Position = vt(2,0,0)
  6513. local trl = Instance.new('Trail',disr)
  6514. trl.Attachment0 = at1
  6515. trl.FaceCamera = true
  6516. trl.Attachment1 = at2
  6517. trl.Texture = "rbxassetid://2342682798"
  6518. trl.LightEmission = 1
  6519. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6520. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6521. trl.Lifetime = 0.5
  6522. local bv = Instance.new("BodyVelocity")
  6523. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6524. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6525. bv.Parent = disr
  6526. local val = 0
  6527. coroutine.resume(coroutine.create(function()
  6528. swait(30)
  6529. for i = 0, 9 do
  6530. swait()
  6531. val = val + 0.1
  6532. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6533. end
  6534. game:GetService("Debris"):AddItem(disr, 3)
  6535. end))
  6536. end
  6537. local eff = Instance.new("ParticleEmitter",dis)
  6538. eff.Texture = "rbxassetid://2273224484"
  6539. eff.LightEmission = 1
  6540. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6541. eff.Rate = 500000
  6542. eff.Lifetime = NumberRange.new(0.5,2)
  6543. 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)})
  6544. 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)})
  6545. eff.Speed = NumberRange.new(20,250)
  6546. eff.Drag = 5
  6547. eff.Rotation = NumberRange.new(-500,500)
  6548. eff.VelocitySpread = 9000
  6549. eff.RotSpeed = NumberRange.new(-50,50)
  6550. wait(0.25)
  6551. eff.Enabled = false
  6552. end))
  6553. for i = 0, 9 do
  6554. 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"))
  6555. end
  6556. for i = 0, 19 do
  6557. 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)
  6558. end
  6559. dis.Anchored = true
  6560. dis.Transparency = 1
  6561. wait(8)
  6562. dis:Destroy()
  6563. end
  6564. end)
  6565. end))
  6566. rot = rot - 15
  6567. end
  6568. for i = 0,2,0.1 do
  6569. swait()
  6570. 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)
  6571. 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)
  6572. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6573. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  6574. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6575. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6576. end
  6577. attack = false
  6578. hum.WalkSpeed = storehumanoidWS
  6579. end
  6580.  
  6581. function RapidBurst()
  6582. attack = true
  6583. hum.WalkSpeed = 0
  6584. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6585. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  6586. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  6587. bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2)
  6588. local keptcolor = MAINRUINCOLOR
  6589. for i = 0,8,0.1 do
  6590. swait()
  6591. CamShakeAll(15,30,Character)
  6592. 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())
  6593. 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)
  6594. 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)
  6595. 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)
  6596. 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)
  6597. 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)
  6598. 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)
  6599. 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)
  6600. end
  6601. CamShakeAll(30,300,Character)
  6602. for i = 0, 99 do
  6603. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6604. 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)))
  6605. local at1 = Instance.new("Attachment",dis)
  6606. at1.Position = vt(-25000,0,0)
  6607. local at2 = Instance.new("Attachment",dis)
  6608. at2.Position = vt(25000,0,0)
  6609. local trl = Instance.new('Trail',dis)
  6610. trl.Attachment0 = at1
  6611. trl.FaceCamera = true
  6612. trl.Attachment1 = at2
  6613. trl.Texture = "rbxassetid://1049219073"
  6614. trl.LightEmission = 1
  6615. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6616. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6617. trl.Lifetime = 5
  6618. local bv = Instance.new("BodyVelocity")
  6619. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6620. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6621. bv.Parent = dis
  6622. game:GetService("Debris"):AddItem(dis, 5)
  6623. end
  6624. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6625. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6626. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6627. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6628. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6629. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6630. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6631. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6632. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6633. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6634. for i = 0, 24 do
  6635. 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())
  6636. end
  6637. local distam = 0
  6638. coroutine.resume(coroutine.create(function()
  6639. for i = 0, 99 do
  6640. wait()
  6641. CamShakeAll(15,100,Character)
  6642. distam = distam + 1
  6643. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6644. xa.Anchored = true
  6645. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6646. game:GetService("Debris"):AddItem(xa, 5)
  6647. for i = 0, 4 do
  6648. 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())
  6649. end
  6650. coroutine.resume(coroutine.create(function()
  6651. local eff = Instance.new("ParticleEmitter",xa)
  6652. eff.Texture = "rbxassetid://2344870656"
  6653. eff.LightEmission = 1
  6654. eff.Color = ColorSequence.new(xa.Color)
  6655. eff.Rate = 10000000
  6656. eff.Enabled = true
  6657. eff.Lifetime = NumberRange.new(2.5)
  6658. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  6659. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6660. eff.Speed = NumberRange.new(200)
  6661. eff.Drag = 5
  6662. eff.Rotation = NumberRange.new(-500,500)
  6663. eff.SpreadAngle = Vector2.new(0,900)
  6664. eff.RotSpeed = NumberRange.new(-500,500)
  6665. wait(0.2)
  6666. eff.Enabled = false
  6667. end))
  6668. coroutine.resume(coroutine.create(function()
  6669. local eff = Instance.new("ParticleEmitter",xa)
  6670. eff.Texture = "rbxassetid://2273224484"
  6671. eff.LightEmission = 1
  6672. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6673. eff.Rate = 500000
  6674. eff.Lifetime = NumberRange.new(1,3)
  6675. 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)})
  6676. 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)})
  6677. eff.Speed = NumberRange.new(50,500)
  6678. eff.Drag = 5
  6679. eff.Rotation = NumberRange.new(-500,500)
  6680. eff.VelocitySpread = 9000
  6681. eff.RotSpeed = NumberRange.new(-50,50)
  6682. wait(0.25)
  6683. eff.Enabled = false
  6684. end))
  6685. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6686. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6687. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6688. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6689. end
  6690. end))
  6691. attack = false
  6692. hum.WalkSpeed = storehumanoidWS
  6693. end
  6694.  
  6695.  
  6696. function FallenOrbs()
  6697. attack = true
  6698. hum.WalkSpeed = 2
  6699. local keptcolor = MAINRUINCOLOR
  6700. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1)
  6701. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1)
  6702. local radm = math.random(1,3)
  6703. if radm == 1 then
  6704. bosschatfunc("This wont be easy to you.",MAINRUINCOLOR.Color,1)
  6705. elseif radm == 2 then
  6706. bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
  6707. elseif radm == 3 then
  6708. bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
  6709. end
  6710. local obj1 = script.chring:Clone()
  6711. obj1.Parent = char
  6712. obj1.Transparency = 1
  6713. obj1.Color = BrickColor.new("Toothpaste").Color
  6714. local obj2 = script.spball:Clone()
  6715. obj2.Parent = char
  6716. obj2.Transparency = 1
  6717. obj2.Color = MAINRUINCOLOR.Color
  6718. local cfor = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6719. cfor.Anchored = true
  6720. cfor.CFrame = obj2.CFrame
  6721. local cef = Instance.new("ParticleEmitter",cfor)
  6722. cef.Texture = "rbxassetid://2344870656"
  6723. cef.LightEmission = 1
  6724. cef.Color = ColorSequence.new(obj2.Color)
  6725. cef.Rate = 150
  6726. cef.Lifetime = NumberRange.new(0.25)
  6727. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
  6728. cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  6729. cef.Speed = NumberRange.new(0)
  6730. local rval = 0
  6731. local eval = 1
  6732. CFuncs["Sound"].Create("rbxassetid://136007472", root, 10,0.7)
  6733. for i = 0,10,0.1 do
  6734. swait()
  6735. rval = rval + math.random(30,40)
  6736. eval = eval + 1.5
  6737. obj1.Transparency = obj1.Transparency - 0.003
  6738. obj1.Size = obj1.Size + vt(0,1,1)
  6739. obj1.CFrame = root.CFrame*CFrame.new(0,16,0)*CFrame.Angles(math.rad(0),math.rad(rval),math.rad(-90))
  6740. obj2.Transparency = obj2.Transparency - 0.005
  6741. obj2.Size = obj2.Size + vt(0.5,0.5,0.5)
  6742. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
  6743. obj2.CFrame = root.CFrame*CFrame.new(0,36,0)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  6744. cfor.CFrame = obj2.CFrame
  6745. slash(math.random(50,90)/10,5,true,"Round","Add","In",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,0.01,1),math.random(-400,-200)/250,BrickColor.new("Deep orange"))
  6746. slash(math.random(50,90)/10,5,true,"Round","Add","In",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,0.01,1),math.random(-400,-200)/250,BrickColor.new("Toothpaste"))
  6747. 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)
  6748. 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)
  6749. 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)
  6750. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),6 + 0.15 * math.cos(sine / 32))*angles(math.rad(-20 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(70)),.3)
  6751. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5 - 2 * math.cos(sine / 37)),math.rad(5 + 1 * math.cos(sine / 58)),math.rad(-70 + 2 * math.cos(sine / 53))),.3)
  6752. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(170 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 45))),.3)
  6753. 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)
  6754. end
  6755. CamShakeAll(40,120,Character)
  6756. cef.Enabled = false
  6757. coroutine.resume(coroutine.create(function()
  6758. for i = 0,49 do
  6759. swait()
  6760. rval = rval + 100
  6761. obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  6762. obj2.Transparency = obj2.Transparency + 0.02
  6763. obj2.Size = obj2.Size + vt(5,5,5)
  6764. obj1.Transparency = obj1.Transparency + 0.02
  6765. obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  6766. end
  6767. obj1:Destroy()
  6768. obj2:Destroy()
  6769. cfor:Destroy()
  6770. end))
  6771. for i = 0, 9 do
  6772. slash(math.random(10,40)/10,5,true,"Round","Add","Out",obj2.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,450)/250,BrickColor.new("Deep orange"))
  6773. slash(math.random(10,40)/10,5,true,"Round","Add","Out",obj2.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,450)/250,BrickColor.new("Toothpaste"))
  6774. end
  6775. sphere2(3,"Add",obj2.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),1,1,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6776. sphere2(3,"Add",obj2.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),2,2,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6777. CFuncs["EchoSound"].Create("rbxassetid://675172759", root, 10, 0.8,0,10,0.15,0.5,1)
  6778. CFuncs["EchoSound"].Create("rbxassetid://763717897", root, 7.5, 1.1,0,10,0.15,0.5,1)
  6779. CFuncs["EchoSound"].Create("rbxassetid://675172759", root, 5, 0.7,0,10,0.15,0.5,1)
  6780. CamShakeAll(40,100,Character)
  6781. coroutine.resume(coroutine.create(function()
  6782. for i = 0, 19 do
  6783. swait()
  6784. local custcol = math.random(1,3)
  6785. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  6786. if custcol == 1 then
  6787. dis.BrickColor = MAINRUINCOLOR
  6788. elseif custcol == 2 then
  6789. dis.BrickColor = BrickColor.new("Toothpaste")
  6790. elseif custcol == 3 then
  6791. dis.BrickColor = BrickColor.new("Deep orange")
  6792. end
  6793. dis.Anchored = true
  6794. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  6795. dis.CFrame = root.CFrame*CFrame.new(math.random(-30,30),math.random(11,51),math.random(-30,30))
  6796. CreateMesh(dis,"Sphere",2,2,2)
  6797. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6798. 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"))
  6799. coroutine.resume(coroutine.create(function()
  6800. wait(0.5)
  6801. dis.Anchored = false
  6802. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
  6803. local at1 = Instance.new("Attachment",dis)
  6804. at1.Position = vt(-1,0,0)
  6805. local at2 = Instance.new("Attachment",dis)
  6806. at2.Position = vt(1,0,0)
  6807. local trl = Instance.new('Trail',dis)
  6808. trl.Attachment0 = at1
  6809. trl.FaceCamera = true
  6810. trl.Attachment1 = at2
  6811. trl.Texture = "rbxassetid://1049219073"
  6812. trl.LightEmission = 1
  6813. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6814. trl.Color = ColorSequence.new(dis.Color)
  6815. trl.Lifetime = 0.6
  6816. local a = Instance.new("Part",workspace)
  6817. a.Name = "Direction"
  6818. a.Anchored = true
  6819. a.BrickColor = bc("Bright red")
  6820. a.Material = "Neon"
  6821. a.Transparency = 1
  6822. a.CanCollide = false
  6823. RequestHit()
  6824. local ray = Ray.new(
  6825. dis.CFrame.p, -- origin
  6826. (Hit.p - dis.CFrame.p).unit * 500 -- direction
  6827. )
  6828. local ignore = dis
  6829. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6830. a.BottomSurface = 10
  6831. a.TopSurface = 10
  6832. local distance = (dis.CFrame.p - position).magnitude
  6833. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6834. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6835. dis.CFrame = a.CFrame
  6836. a:Destroy()
  6837. local bv = Instance.new("BodyVelocity")
  6838. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6839. bv.velocity = dis.CFrame.lookVector*500
  6840. bv.Parent = dis
  6841. game:GetService("Debris"):AddItem(dis, 5)
  6842. local hitted = false
  6843. coroutine.resume(coroutine.create(function()
  6844. dis.Touched:connect(function(hit)
  6845. if hitted == false and hit.Parent ~= char then
  6846. hitted = true
  6847. CamShakeAll(20,50,Character)
  6848. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
  6849. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  6850. sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,dis.BrickColor,dis.Color)
  6851. sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  6852. coroutine.resume(coroutine.create(function()
  6853. local eff = Instance.new("ParticleEmitter",dis)
  6854. eff.Texture = "rbxassetid://2344870656"
  6855. eff.LightEmission = 1
  6856. eff.Color = ColorSequence.new(dis.Color)
  6857. eff.Rate = 10000000
  6858. eff.Enabled = true
  6859. eff.EmissionDirection = "Front"
  6860. eff.Lifetime = NumberRange.new(3)
  6861. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  6862. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6863. eff.Speed = NumberRange.new(250)
  6864. eff.Drag = 5
  6865. eff.Rotation = NumberRange.new(-500,500)
  6866. eff.SpreadAngle = Vector2.new(0,900)
  6867. eff.RotSpeed = NumberRange.new(-500,500)
  6868. wait(0.2)
  6869. eff.Enabled = false
  6870. end))
  6871. coroutine.resume(coroutine.create(function()
  6872. for i = 0, 4 do
  6873. local disr = CreateParta(char,1,1,"Neon",dis.BrickColor)
  6874. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6875. local at1 = Instance.new("Attachment",disr)
  6876. at1.Position = vt(-10,0,0)
  6877. local at2 = Instance.new("Attachment",disr)
  6878. at2.Position = vt(10,0,0)
  6879. local trl = Instance.new('Trail',disr)
  6880. trl.Attachment0 = at1
  6881. trl.FaceCamera = true
  6882. trl.Attachment1 = at2
  6883. trl.Texture = "rbxassetid://2342682798"
  6884. trl.LightEmission = 1
  6885. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6886. trl.Color = ColorSequence.new(disr.Color)
  6887. trl.Lifetime = 0.5
  6888. local bv = Instance.new("BodyVelocity")
  6889. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6890. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  6891. bv.Parent = disr
  6892. local val = 0
  6893. coroutine.resume(coroutine.create(function()
  6894. swait(30)
  6895. for i = 0, 9 do
  6896. swait()
  6897. val = val + 0.1
  6898. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6899. end
  6900. game:GetService("Debris"):AddItem(disr, 3)
  6901. end))
  6902. end
  6903. local eff = Instance.new("ParticleEmitter",dis)
  6904. eff.Texture = "rbxassetid://2273224484"
  6905. eff.LightEmission = 1
  6906. eff.Color = ColorSequence.new(dis.Color)
  6907. eff.Rate = 500000
  6908. eff.Lifetime = NumberRange.new(0.5,2)
  6909. 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)})
  6910. 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)})
  6911. eff.Speed = NumberRange.new(20,250)
  6912. eff.Drag = 5
  6913. eff.Rotation = NumberRange.new(-500,500)
  6914. eff.VelocitySpread = 9000
  6915. eff.RotSpeed = NumberRange.new(-50,50)
  6916. wait(0.5)
  6917. eff.Enabled = false
  6918. end))
  6919. for i = 0, 4 do
  6920. 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"))
  6921. end
  6922. dis.Anchored = true
  6923. dis.Transparency = 1
  6924. wait(8)
  6925. dis:Destroy()
  6926. end
  6927. end)
  6928. end))
  6929. end))
  6930. end
  6931. end))
  6932. for i = 0,9,0.1 do
  6933. swait()
  6934. 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)
  6935. 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)
  6936. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),6 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(90)),.3)
  6937. 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)
  6938. 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)
  6939. 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)
  6940. end
  6941. attack = false
  6942. hum.WalkSpeed = storehumanoidWS
  6943. end
  6944.  
  6945. function EquinoxOrbs()
  6946. hum.WalkSpeed = 0
  6947. attack = true
  6948. for i = 0,1,0.1 do
  6949. swait()
  6950. 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)
  6951. 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)
  6952. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6953. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6954. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6955. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6956. end
  6957. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6958. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6959. for i = 0, 24 do
  6960. 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"))
  6961. end
  6962. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6963. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6964. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6965. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6966. for i = 0,4,0.1 do
  6967. swait()
  6968. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  6969. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  6970. CreateMesh(dis,"Sphere",1,1,1)
  6971. dis.Anchored = true
  6972. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  6973. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("White"))
  6974. CreateMesh(dis2,"Sphere",1,1,1)
  6975. dis2.Anchored = true
  6976. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  6977. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6978. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  6979. coroutine.resume(coroutine.create(function()
  6980. swait(60)
  6981. dis.Transparency = 1
  6982. dis2.Transparency = 1
  6983. coroutine.resume(coroutine.create(function()
  6984. for i = 0, 19 do
  6985. swait()
  6986. CamShakeAll(10,30,Character)
  6987. end
  6988. end))
  6989. coroutine.resume(coroutine.create(function()
  6990. local eff = Instance.new("ParticleEmitter",dis)
  6991. eff.Texture = "rbxassetid://2273224484"
  6992. eff.LightEmission = 1
  6993. eff.Color = ColorSequence.new(dis.Color)
  6994. eff.Rate = 500000
  6995. eff.Lifetime = NumberRange.new(0.5,2)
  6996. 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)})
  6997. 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)})
  6998. eff.Speed = NumberRange.new(50,450)
  6999. eff.Drag = 5
  7000. eff.Rotation = NumberRange.new(-500,500)
  7001. eff.VelocitySpread = 9000
  7002. eff.RotSpeed = NumberRange.new(-50,50)
  7003. local eff2 = eff:Clone()
  7004. eff2.Parent = dis2
  7005. eff2.LightEmission = 0
  7006. eff2.Color = ColorSequence.new(dis2.Color)
  7007. wait(0.25)
  7008. eff.Enabled = false
  7009. eff2.Enabled = false
  7010. end))
  7011. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  7012. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  7013. for i = 0, 2 do
  7014. 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)
  7015. 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)
  7016. end
  7017. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  7018. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  7019. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  7020. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  7021. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  7022. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  7023. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  7024. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  7025. end))
  7026. game:GetService("Debris"):AddItem(dis, 5)
  7027. game:GetService("Debris"):AddItem(dis2, 5)
  7028. 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)
  7029. 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)
  7030. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  7031. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  7032. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  7033. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  7034. end
  7035. attack = false
  7036. hum.WalkSpeed = storehumanoidWS
  7037. end
  7038. function FallenDEMISE()
  7039. attack = true
  7040. hum.WalkSpeed = 0
  7041. local keptcolor = MAINRUINCOLOR
  7042. bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
  7043. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  7044. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  7045. for i = 0, 15, 0.1 do
  7046. swait()
  7047. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7048. 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)))
  7049. local at1 = Instance.new("Attachment",dis)
  7050. at1.Position = vt(-25000,0,0)
  7051. local at2 = Instance.new("Attachment",dis)
  7052. at2.Position = vt(25000,0,0)
  7053. local trl = Instance.new('Trail',dis)
  7054. trl.Attachment0 = at1
  7055. trl.FaceCamera = true
  7056. trl.Attachment1 = at2
  7057. trl.Texture = "rbxassetid://1049219073"
  7058. trl.LightEmission = 1
  7059. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7060. trl.Color = ColorSequence.new(dis.Color)
  7061. trl.Lifetime = 5
  7062. local bv = Instance.new("BodyVelocity")
  7063. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7064. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  7065. bv.Parent = dis
  7066. game:GetService("Debris"):AddItem(dis, 1)
  7067. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  7068. 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"))
  7069. 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"))
  7070. 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)
  7071. 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)
  7072. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  7073. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  7074. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  7075. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  7076. end
  7077. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  7078. for i = 0, 30, 0.1 do
  7079. swait()
  7080. CamShakeAll(10,350,Character)
  7081. coroutine.resume(coroutine.create(function()
  7082. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  7083. if v:FindFirstChild('Head') then
  7084. dmg(v)
  7085. end
  7086. end
  7087. end))
  7088. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7089. 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)))
  7090. local at1 = Instance.new("Attachment",dis)
  7091. at1.Position = vt(-50000,0,0)
  7092. local at2 = Instance.new("Attachment",dis)
  7093. at2.Position = vt(50000,0,0)
  7094. local trl = Instance.new('Trail',dis)
  7095. trl.Attachment0 = at1
  7096. trl.FaceCamera = true
  7097. trl.Attachment1 = at2
  7098. trl.Texture = "rbxassetid://1049219073"
  7099. trl.LightEmission = 1
  7100. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7101. trl.Color = ColorSequence.new(dis.Color)
  7102. trl.Lifetime = 10
  7103. local bv = Instance.new("BodyVelocity")
  7104. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7105. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  7106. bv.Parent = dis
  7107. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  7108. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  7109. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  7110. 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"))
  7111. 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"))
  7112. 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"))
  7113. 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"))
  7114. for i = 0, 2 do
  7115. 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)
  7116. end
  7117. 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)
  7118. 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)
  7119. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  7120. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  7121. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  7122. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  7123. end
  7124. attack = false
  7125. hum.WalkSpeed = storehumanoidWS
  7126. end
  7127.  
  7128. function SHDTwist()
  7129. attack = true
  7130. hum.WalkSpeed = 2
  7131. local radm = math.random(1,3)
  7132. if radm == 1 then
  7133. bosschatfunc("Plasmatic Burst!",MAINRUINCOLOR.Color,1)
  7134. elseif radm == 2 then
  7135. bosschatfunc("How cute.",MAINRUINCOLOR.Color,1)
  7136. elseif radm == 3 then
  7137. bosschatfunc("Suffer to the brightness.",MAINRUINCOLOR.Color,1)
  7138. end
  7139. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1.5,1.25)
  7140. local obj1 = script.chring2:Clone()
  7141. obj1.Parent = char
  7142. obj1.Transparency = 1
  7143. obj1.Size = vt(1,1,1)
  7144. obj1.Color = BrickColor.new("Pink").Color
  7145. local obj2 = script.spball:Clone()
  7146. obj2.Parent = char
  7147. obj2.Transparency = 1
  7148. obj2.Size = vt(1,1,1)
  7149. obj2.Color = MAINRUINCOLOR.Color
  7150. local cfor = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7151. cfor.Anchored = true
  7152. cfor.CFrame = obj2.CFrame
  7153. local cef = Instance.new("ParticleEmitter",cfor)
  7154. cef.Texture = "rbxassetid://2344870656"
  7155. cef.LightEmission = 1
  7156. cef.Color = ColorSequence.new(obj2.Color)
  7157. cef.Rate = 150
  7158. cef.Lifetime = NumberRange.new(0.25)
  7159. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
  7160. cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  7161. cef.Speed = NumberRange.new(0)
  7162. local rval = 0
  7163. local eval = 1
  7164. for i = 0,7,0.1 do
  7165. swait()
  7166. rval = rval + math.random(30,40)
  7167. eval = eval + 0.45
  7168. obj1.Transparency = obj1.Transparency - 0.005
  7169. obj1.Size = obj1.Size + vt(0.3,0.3,0.1)
  7170. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  7171. obj2.Transparency = obj2.Transparency - 0.007
  7172. obj2.Size = obj2.Size + vt(0.15,0.15,0.15)
  7173. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
  7174. obj2.CFrame = root.CFrame*CFrame.new(0,1,-7)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  7175. cfor.CFrame = obj2.CFrame
  7176. 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("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  7177. sphere2(10,"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.15,-0.01,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  7178. 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)
  7179. 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)
  7180. 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(-50)),.3)
  7181. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2 * math.cos(sine / 37)),math.rad(10 + 1 * math.cos(sine / 58)),math.rad(50 + 2 * math.cos(sine / 53))),.3)
  7182. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(10 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(5 + 2 * math.cos(sine / 45))),.3)
  7183. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(90 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-50 - 4 * math.cos(sine / 45))),.3)
  7184. end
  7185. cef.Enabled = false
  7186. coroutine.resume(coroutine.create(function()
  7187. for i = 0,49 do
  7188. swait()
  7189. rval = rval + 100
  7190. obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  7191. obj2.Transparency = obj2.Transparency + 0.02
  7192. obj2.Size = obj2.Size + vt(5,5,5)
  7193. obj1.Transparency = obj1.Transparency + 0.02
  7194. obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  7195. end
  7196. obj1:Destroy()
  7197. obj2:Destroy()
  7198. cfor:Destroy()
  7199. end))
  7200. local lva = 1
  7201. local ica = 0
  7202. local cent = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7203. CFuncs["Sound"].Create("rbxassetid://1177785010", cent, 10, 1)
  7204. cent.CFrame = root.CFrame*CFrame.Angles(0,0,0) + root.CFrame.lookVector*5
  7205. sphere2(2,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  7206. sphere2(3,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  7207.  
  7208. local a = Instance.new("Part",workspace)
  7209. a.Name = "Direction"
  7210. a.Anchored = true
  7211. a.BrickColor = bc("Bright red")
  7212. a.Material = "Neon"
  7213. a.Transparency = 1
  7214. a.CanCollide = false
  7215. RequestHit()
  7216. local ray = Ray.new(
  7217. cent.CFrame.p, -- origin
  7218. (Hit.p - cent.CFrame.p).unit * 500 -- direction
  7219. )
  7220. local ignore = cent
  7221. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7222. a.BottomSurface = 10
  7223. a.TopSurface = 10
  7224. local distance = (cent.CFrame.p - position).magnitude
  7225. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7226. a.CFrame = CFrame.new(cent.CFrame.p, position) * CFrame.new(0, 0, 0)
  7227. cent.CFrame = a.CFrame
  7228. a:Destroy()
  7229. local bv = Instance.new("BodyVelocity")
  7230. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7231. bv.velocity = cent.CFrame.lookVector*0
  7232. bv.Parent = cent
  7233. game:GetService("Debris"):AddItem(cent, 20)
  7234. local hitted = false
  7235. coroutine.resume(coroutine.create(function()
  7236. while true do
  7237. swait(1)
  7238. if hitted == false and cent.Parent ~= nil then
  7239. ica = ica + 4*lva
  7240. lva = lva + 0.1
  7241. bv.velocity = cent.CFrame.lookVector*ica
  7242. sphere2(3,"Add",cent.CFrame,vt(5,5,5),-0.05,-0.05,-0.05,BrickColor.new("Pastel light blue"))
  7243. sphere2(5,"Add",cent.CFrame*CFrame.Angles(0,0,math.rad(ica))*CFrame.new(0,-5,0),vt(4,4,4),-0.04,-0.04,-0.04,BrickColor.new("Pink"))
  7244. sphere2(5,"Add",cent.CFrame*CFrame.Angles(0,0,math.rad(ica))*CFrame.new(0,5,0),vt(4,4,4),-0.04,-0.04,-0.04,BrickColor.new("Pastel light blue"))
  7245. elseif hitted == true or cent.Parent == nil then
  7246. break
  7247. end
  7248. end
  7249. end))
  7250. coroutine.resume(coroutine.create(function()
  7251. cent.Touched:connect(function(hit)
  7252. if hitted == false and hit.Parent ~= char then
  7253. hitted = true
  7254. cent.Anchored = true
  7255. CFuncs["Sound"].Create("rbxassetid://782353443", cent, 10, 1)
  7256. CFuncs["Sound"].Create("rbxassetid://1368637781", cent, 8, 1)
  7257. CFuncs["Sound"].Create("rbxassetid://763717897", cent, 5, 1)
  7258. CFuncs["EchoSound"].Create("rbxassetid://1177785010", cent, 8, 1.1,0,10,0.15,0.5,1)
  7259. MagniDamage(cent, 50, 50,99999, 0, "Normal")
  7260. sphere2(2,"Add",cent.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  7261. sphere2(3,"Add",cent.CFrame,vt(1,1,1),1.2,1.2,1.2,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  7262. for i = 0, 19 do
  7263. slash(math.random(10,50)/10,5,true,"Round","Add","Out",cent.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,400)/250,BrickColor.new("Pink"))
  7264. slash(math.random(10,50)/10,5,true,"Round","Add","Out",cent.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,300)/250,BrickColor.new("Pastel light blue"))
  7265. end
  7266. coroutine.resume(coroutine.create(function()
  7267. local eff = Instance.new("ParticleEmitter",cent)
  7268. eff.Texture = "rbxassetid://2344870656"
  7269. eff.LightEmission = 1
  7270. eff.Color = ColorSequence.new(BrickColor.new("Pastel light blue").Color)
  7271. eff.Rate = 10000000
  7272. eff.Enabled = true
  7273. eff.EmissionDirection = "Front"
  7274. eff.Lifetime = NumberRange.new(5)
  7275. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,60,0),NumberSequenceKeypoint.new(1,80,0)})
  7276. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7277. eff.Speed = NumberRange.new(350)
  7278. eff.Drag = 5
  7279. eff.Rotation = NumberRange.new(-500,500)
  7280. eff.SpreadAngle = Vector2.new(0,900)
  7281. eff.RotSpeed = NumberRange.new(-500,500)
  7282. local eff2 = eff:Clone()
  7283. eff2.Parent = cent
  7284. eff2.Speed = NumberRange.new(250)
  7285. eff2.Color = ColorSequence.new(BrickColor.new("Pink").Color)
  7286. wait(0.2)
  7287. eff.Enabled = false
  7288. eff2.Enabled = false
  7289. end))
  7290. end
  7291. end)
  7292. end))
  7293. attack = false
  7294. hum.WalkSpeed = storehumanoidWS
  7295. end
  7296.  
  7297. function CardStorm()
  7298. attack = true
  7299. hum.WalkSpeed = 0
  7300. local keptcolor = MAINRUINCOLOR
  7301. for i = 0,2,0.1 do
  7302. swait()
  7303. sphere2(8,"Add",LeftArm.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("White"),BrickColor.new("Deep orange").Color)
  7304. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 47),0 + 0.25 * math.cos(sine / 35),7 + 1 * math.cos(sine / 32))* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  7305. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-40)),.3)
  7306. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  7307. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(40), math.rad(-40)), 0.3)
  7308. 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 - 9 * math.cos(sine / 51))),.1)
  7309. 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 + 7 * math.cos(sine / 44))),.1)
  7310. end
  7311. local RCARD = {83485107,83486447,83485303,83483451,83486567,83484022,83486756}
  7312.  
  7313. local orb = Instance.new("Part", char)
  7314. orb.BrickColor = keptcolor
  7315. orb.CanCollide = false
  7316. orb.FormFactor = 3
  7317. orb.Name = "Ring"
  7318. orb.Material = "Neon"
  7319. orb.Size = Vector3.new(1, 0.75, 1.25)
  7320. orb.Transparency = 0
  7321. orb.TopSurface = 0
  7322. orb.BottomSurface = 0
  7323. local orbm = Instance.new("SpecialMesh", orb)
  7324. orbm.MeshType = "Brick"
  7325. orbm.Name = "SizeMesh"
  7326. orbm.Scale = vt(4,4,4)
  7327. orb.CFrame = root.CFrame*CFrame.new(0,8,-3) + root.CFrame.lookVector*3
  7328. local eff = Instance.new("ParticleEmitter",orb)
  7329. coroutine.resume(coroutine.create(function()
  7330. while true do
  7331. swait()
  7332. eff.Texture = "rbxassetid://"..RCARD[math.random(1,7)]
  7333. end
  7334. end))
  7335. eff.LightEmission = 0.95
  7336. eff.Color = ColorSequence.new(Color3.new(1,1,1))
  7337. eff.Rate = 10000
  7338. eff.Lifetime = NumberRange.new(1.5)
  7339. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.75,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  7340. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.75,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7341. eff.Speed = NumberRange.new(20,85)
  7342. eff.Drag = 5
  7343. eff.Rotation = NumberRange.new(-250,250)
  7344. eff.VelocitySpread = 9000
  7345. eff.RotSpeed = NumberRange.new(-50,50)
  7346. local a = Instance.new("Part",workspace)
  7347. a.Name = "Direction"
  7348. a.Anchored = true
  7349. a.BrickColor = bc("Bright red")
  7350. a.Material = "Neon"
  7351. a.Transparency = 1
  7352. a.CanCollide = false
  7353. RequestHit()
  7354. local ray = Ray.new(
  7355. orb.CFrame.p, -- origin
  7356. (Hit.p - orb.CFrame.p).unit * 500 -- direction
  7357. )
  7358. local ignore = orb
  7359. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7360. a.BottomSurface = 10
  7361. a.TopSurface = 10
  7362. local distance = (orb.CFrame.p - position).magnitude
  7363. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7364. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  7365. orb.CFrame = a.CFrame
  7366. a:Destroy()
  7367. CFuncs["Sound"].Create("rbxassetid://304448425", orb, 1.5, 0.9)
  7368. local bv = Instance.new("BodyVelocity")
  7369. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7370. bv.velocity = orb.CFrame.lookVector*300
  7371. bv.Parent = orb
  7372. game:GetService("Debris"):AddItem(orb, 10)
  7373. local hitted = false
  7374. coroutine.resume(coroutine.create(function()
  7375. while true do
  7376. swait()
  7377. if orb.Parent ~= nil and hitted == false then
  7378. sphere2(4,"Add",orb.CFrame*CFrame.new(math.random(-1,1),math.random(-1,1),0) - orb.CFrame.lookVector*1.5,vt(3,3,3),-0.03,-0.03,-0.03,keptcolor)
  7379. elseif orb.Parent == nil and hitted == true then
  7380. break
  7381. end
  7382. end
  7383. end))
  7384. local hit =orb.Touched:connect(function(hit)
  7385. if hitted == false and hit.Parent ~= char then
  7386. hitted = true
  7387. eff.Enabled = false
  7388. CamShakeAll(30,50,Character)
  7389. CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 4.5, 0.7)
  7390. CFuncs["Sound"].Create("rbxassetid://178452221", orb, 2.5, 0.4)
  7391. MagniDamage(orb, 25*2, 20,30, 0, "Normal")
  7392. sphere2(4,"Add",orb.CFrame,vt(4*2,4*2,4*2),0.5*2,0.5*2,0.5*2,keptcolor)
  7393. sphere2(3,"Add",orb.CFrame,vt(4*2,4*2,4*2),0.5*2,0.5*2,0.5*2,keptcolor)
  7394. sphere2(2,"Add",orb.CFrame,vt(4*2,4*2,4*2),0.5*2,0.5*2,0.5*2,keptcolor)
  7395. for i = 0, 9 do
  7396. sphere2(4,"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.5,1,1.5),-0.005,4,-0.005,keptcolor)
  7397. end
  7398. for i = 0, 49 do
  7399. local rsiz = math.random(10,30)
  7400. sphereMK(math.random(1,3),1,"Add",orb.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)
  7401. end
  7402. local eff = Instance.new("ParticleEmitter",orb)
  7403. coroutine.resume(coroutine.create(function()
  7404. while true do
  7405. swait()
  7406. eff.Texture = "rbxassetid://"..RCARD[math.random(1,7)]
  7407. end
  7408. end))
  7409. eff.LightEmission = 0.95
  7410. eff.Color = ColorSequence.new(Color3.new(1,1,1))
  7411. eff.Rate = 10000
  7412. eff.Lifetime = NumberRange.new(1.5)
  7413. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  7414. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7415. eff.Speed = NumberRange.new(150,350)
  7416. eff.Drag = 5
  7417. eff.Rotation = NumberRange.new(-500,500)
  7418. eff.VelocitySpread = 9000
  7419. eff.RotSpeed = NumberRange.new(-500,500)
  7420. coroutine.resume(coroutine.create(function()
  7421. wait(0.25)
  7422. eff.Enabled = false
  7423. end))
  7424. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  7425. orb.Anchored = true
  7426. orb.Transparency = 1
  7427. coroutine.resume(coroutine.create(function()
  7428. if hfr ~= nil then
  7429. orb.Size = vt(50,1,50)
  7430. orb.Orientation = vt(0,0,0)
  7431. orb.CFrame = orb.CFrame*CFrame.new(0,-5,0)
  7432. orbm:Destroy()
  7433. local firef = eff:Clone()
  7434. coroutine.resume(coroutine.create(function()
  7435. while true do
  7436. swait()
  7437. firef.Texture = "rbxassetid://"..RCARD[math.random(1,7)]
  7438. end
  7439. end))
  7440. firef.Parent = orb
  7441. firef.VelocitySpread = 50
  7442. firef.Rate = 500
  7443. firef.Drag = 3
  7444. firef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7445. firef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(0.05,2.5,0),NumberSequenceKeypoint.new(0.4,1,0),NumberSequenceKeypoint.new(1,0,0)})
  7446. firef.Speed = NumberRange.new(10,30)
  7447. for i = 0, 24 do
  7448. wait(0.25)
  7449. MagniDamage(orb, 25, 3,6, 0, "Normal")
  7450. end
  7451. firef.Enabled = false
  7452. end
  7453. end))
  7454. wait(10)
  7455. orb:Destroy()
  7456. end
  7457. end)
  7458. for i = 0,1,0.1 do
  7459. swait()
  7460. sphere2(8,"Add",LeftArm.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("White"),BrickColor.new("Deep orange").Color)
  7461. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 47),0 + 0.25 * math.cos(sine / 35),7 + 1 * math.cos(sine / 32))* angles(math.rad(-15),math.rad(0),math.rad(-50)),0.5)
  7462. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  7463. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5)
  7464. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.5)
  7465. 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 - 9 * math.cos(sine / 51))),.1)
  7466. 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 + 7 * math.cos(sine / 44))),.1)
  7467. end
  7468. hum.WalkSpeed = storehumanoidWS
  7469. attack = false
  7470. end
  7471.  
  7472. function hugg()
  7473. attack = true
  7474. hum.WalkSpeed = 5
  7475. local rsiz = math.random(5,15)
  7476. for i = 0, 2, 0.1 do
  7477. swait()
  7478. 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)
  7479. 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)
  7480. 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(0)),.3)
  7481. 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)
  7482. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3)
  7483. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3)
  7484. end
  7485. CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
  7486. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7487. hb.Anchored = true
  7488. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  7489. local huggedperson = nil
  7490. local act = false
  7491. local alreadydid = false
  7492. for i = 0, 3, 0.1 do
  7493. swait()
  7494. if act == false then
  7495. for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do
  7496. if v:FindFirstChild('Head') then
  7497. if alreadydid == false then
  7498. huggedperson = v
  7499. hum.WalkSpeed = 0
  7500. CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
  7501. CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
  7502. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
  7503. CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
  7504. local radm = math.random(1,3)
  7505. if radm == 1 then
  7506. bosschatfunc("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1)
  7507. elseif radm == 2 then
  7508. bosschatfunc("I..I'm interested in you",MAINRUINCOLOR.Color,1)
  7509. elseif radm == 3 then
  7510. bosschatfunc("Don't worry.. I'm with you",MAINRUINCOLOR.Color,1)
  7511. end
  7512. root.Anchored = true
  7513. coroutine.resume(coroutine.create(function()
  7514. huggedperson.Humanoid.WalkSpeed = 0
  7515. huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
  7516. end))
  7517. chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
  7518. alreadydid = true
  7519. act = true
  7520. print(huggedperson.Name)
  7521. end
  7522. end
  7523. end
  7524. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  7525. 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)
  7526. elseif act == true then
  7527. coroutine.resume(coroutine.create(function()
  7528. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  7529. end))
  7530. rsiz = math.random(5,15)
  7531. 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)
  7532. 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)
  7533. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  7534. end
  7535. 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)
  7536. 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)
  7537. 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(0)),.3)
  7538. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  7539. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  7540. end
  7541. hb:Destroy()
  7542. if act == true then
  7543. for x = 0, 2 do
  7544. for i = 0, 2, 0.1 do
  7545. swait()
  7546. coroutine.resume(coroutine.create(function()
  7547. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  7548. end))
  7549. rsiz = math.random(5,15)
  7550. 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)
  7551. 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)
  7552. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  7553. 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)
  7554. 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)
  7555. 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(0)),.3)
  7556. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  7557. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  7558. end
  7559. for i = 0, 2, 0.1 do
  7560. swait()
  7561. coroutine.resume(coroutine.create(function()
  7562. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  7563. end))
  7564. rsiz = math.random(5,15)
  7565. 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)
  7566. 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)
  7567. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  7568. 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)
  7569. 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)
  7570. 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(0)),.3)
  7571. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  7572. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  7573. end
  7574. end
  7575. end
  7576. hum.WalkSpeed = storehumanoidWS
  7577. root.Anchored = false
  7578. if act == true then
  7579. coroutine.resume(coroutine.create(function()
  7580. huggedperson.Humanoid.WalkSpeed = 16
  7581. huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
  7582. end))
  7583. end
  7584. hum.WalkSpeed = storehumanoidWS
  7585. attack = false
  7586. end
  7587.  
  7588. function TheoriesTran()
  7589. attack = true
  7590. hum.WalkSpeed = 0
  7591. newThemeCust("rbxassetid://1485663990",0,1.01,1.25)
  7592.  
  7593. local vel = Instance.new("BodyPosition", root)
  7594. vel.P = 10000
  7595. vel.D = 1000
  7596. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7597. vel.position = root.CFrame.p + vt(0,150,0)
  7598. wait(1)
  7599. sphere(1,"Divide",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  7600. for i = 0, 80, 0.1 do
  7601. swait()
  7602. slash(math.random(10,13)/10,2,false,"Round","Add","Out",root.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(0.05,0.01,0.05),math.random(3,5),BrickColor.new("Black"))
  7603. 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)
  7604. sphereMKCharge(1,-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,BrickColor.new("Black"),0)
  7605. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  7606. RH.C0=clerp(RH.C0,cf(1,-0.4 - 0.05 * math.cos(sine / 32),-0.4)*angles(math.rad(5),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)
  7607. LH.C0=clerp(LH.C0,cf(-1,-0.4 - 0.05 * math.cos(sine / 32),-0.4)*angles(math.rad(5),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)
  7608. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),1 + 0.05 * math.cos(sine / 32))*angles(math.rad(15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  7609. 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)
  7610. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),-0.1)*angles(math.rad(160 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
  7611. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),-0.1)*angles(math.rad(160 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  7612. end
  7613. TheoriesMSGfunc("THEORIES",BrickColor.new("Cyan").Color,BrickColor.new("New Yeller").Color)
  7614. ModeOfGlitch = 102341
  7615. storehumanoidWS = 125
  7616. hum.WalkSpeed = 125
  7617. rainbowmode = false
  7618. chaosmode = false
  7619. RecolorTextAndRename("THEORIES",BrickColor.new("New Yeller").Color,BrickColor.new("Cyan").Color,"Code")
  7620. MAINRUINCOLOR = BrickColor.new("New Yeller")
  7621. RecolorThing(MAINRUINCOLOR,BrickColor.new("Cyan"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Cyan"),0,MAINRUINCOLOR,true)
  7622. sphere(2.5,"Add",root.CFrame,vt(1,1,1),1,MAINRUINCOLOR)
  7623. for i = 0, 49 do
  7624. 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)
  7625. end
  7626. for i = 0, 19 do
  7627. 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)
  7628. end
  7629. vel:Destroy()
  7630. local vel2 = Instance.new("BodyPosition", root)
  7631. vel2.P = 20000
  7632. vel2.D = 1000
  7633. vel2.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7634. vel2.position = root.CFrame.p - vt(0,148,0)
  7635. wait(0.5)
  7636. sphere(2.5,"Add",root.CFrame,vt(1,1,1),3,MAINRUINCOLOR)
  7637. for i = 0, 49 do
  7638. 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)
  7639. end
  7640. for i = 0, 19 do
  7641. 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))),5.5,5.5,55,-0.055,MAINRUINCOLOR,0)
  7642. end
  7643. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  7644. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  7645. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  7646. coroutine.resume(coroutine.create(function()
  7647. wait(0.2)
  7648. vel2:Destroy()
  7649. end))
  7650. hum.WalkSpeed = storehumanoidWS
  7651. attack = false
  7652. end
  7653.  
  7654. function ViolentStrike()
  7655. attack = true
  7656. hum.WalkSpeed = 0
  7657. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  7658. bosschatfunc("SHOULD I TAKE THAT EASIER?!",MAINRUINCOLOR.Color,0.7)
  7659. CFuncs["EchoSound"].Create("rbxassetid://1535994137", char, 4, 1,0,10,0.15,0.5,1)
  7660. CFuncs["EchoSound"].Create("rbxassetid://1535994137", root, 7, 1,0,10,0.15,0.5,1)
  7661. local orb = Instance.new("Part", char)
  7662. orb.BrickColor = MAINRUINCOLOR
  7663. orb.CanCollide = false
  7664. orb.FormFactor = 3
  7665. orb.Name = "Ring"
  7666. orb.Material = "Neon"
  7667. orb.Size = Vector3.new(1, 1, 1)
  7668. orb.Transparency = 0
  7669. orb.TopSurface = 0
  7670. orb.BottomSurface = 0
  7671. local orbm = Instance.new("SpecialMesh", orb)
  7672. orbm.MeshType = "Sphere"
  7673. orbm.Name = "SizeMesh"
  7674. orbm.Scale = vt(2,2,2)
  7675. orb.CFrame = Hit
  7676. local bv = Instance.new("BodyVelocity")
  7677. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7678. bv.velocity = orb.CFrame.lookVector*100
  7679. bv.Parent = orb
  7680. local hitted = false
  7681. coroutine.resume(coroutine.create(function()
  7682. game:GetService("Debris"):AddItem(orb, 5)
  7683. orb.Transparency = 1
  7684. orb.Anchored = true
  7685. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  7686. elocacenter.Anchored = true
  7687. elocacenter.CFrame = orb.CFrame
  7688. elocacenter.Orientation = vt(0,0,0)
  7689. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  7690. eloca1.Anchored = true
  7691. eloca1.CFrame = elocacenter.CFrame
  7692. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  7693. eloca2.Anchored = true
  7694. eloca2.CFrame = elocacenter.CFrame
  7695. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  7696. eloca3.Anchored = true
  7697. eloca3.CFrame = elocacenter.CFrame
  7698. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  7699. eloca4.Anchored = true
  7700. eloca4.CFrame = elocacenter.CFrame
  7701. local lookavec = 0
  7702. local speeds = 0
  7703. CamShakeAll(27.5,30,char)
  7704. coroutine.resume(coroutine.create(function()
  7705. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  7706. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7707. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7708. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7709. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7710. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7711. for i = 0, 24 do
  7712. swait()
  7713. lookavec = lookavec + 2
  7714. speeds = speeds + 1
  7715. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7716. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7717. 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)
  7718.  
  7719. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7720. 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)
  7721.  
  7722. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7723. 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)
  7724.  
  7725. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7726. 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)
  7727. end
  7728.  
  7729. local risen = 0
  7730. for i = 0, 176 do
  7731. swait()
  7732. lookavec = lookavec + 0.25
  7733. risen = risen + 0.05
  7734. speeds = speeds + 0.1
  7735. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7736. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7737. 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)
  7738.  
  7739. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7740. 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)
  7741.  
  7742. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7743. 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)
  7744.  
  7745. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7746. 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)
  7747. end
  7748.  
  7749. for i = 0, 176 do
  7750. swait()
  7751. lookavec = lookavec + 0.5
  7752. risen = risen + 0.05
  7753. speeds = speeds + 0.1
  7754. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7755. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7756. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),5,5,5,0.05,MAINRUINCOLOR,-2)
  7757.  
  7758. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7759. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),5,5,5,0.05,MAINRUINCOLOR,-2)
  7760.  
  7761. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7762. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),5,5,5,0.05,MAINRUINCOLOR,-2)
  7763.  
  7764. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7765. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),5,5,5,0.05,MAINRUINCOLOR,-2)
  7766. end
  7767. end))
  7768. for i = 0, 12, 0.1 do
  7769. swait()
  7770. 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)
  7771. 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)
  7772. PixelBlockX(5,0.5,"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))),1,1,1,0.01,MAINRUINCOLOR,0)
  7773. PixelBlockNeg(5,0.5,"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))),1,1,1,0.01,MAINRUINCOLOR,0)
  7774. 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)
  7775. 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)
  7776. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25 + 0.02 * math.cos(sine / 32),1 + 0.1 * math.cos(sine / 32))*angles(math.rad(-40 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  7777. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  7778. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(140 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(10 + 3 * math.cos(sine / 45))),.1)
  7779. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-10 + 3 * math.cos(sine / 45))),.1)
  7780. end
  7781. coroutine.resume(coroutine.create(function()
  7782. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  7783. if v:FindFirstChild('Head') then
  7784. dmg(v)
  7785. end
  7786. end
  7787. CamShakeAll(65,90,Character)
  7788. MagniDamage(elocacenter, 150, 20,50, 0, "Normal")
  7789. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  7790. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  7791. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  7792. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  7793. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  7794. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  7795. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  7796. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  7797. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  7798. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  7799. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  7800. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  7801. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  7802. for i = 0, 24 do
  7803. 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)
  7804. 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)
  7805. 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)
  7806. 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)
  7807. end
  7808. coroutine.resume(coroutine.create(function()
  7809. local eff = Instance.new("ParticleEmitter",elocacenter)
  7810. eff.Texture = "rbxassetid://2092248396"
  7811. eff.LightEmission = 1
  7812. eff.Color = ColorSequence.new(BrickColor.new("Maroon").Color)
  7813. eff.Rate = 50000
  7814. eff.Lifetime = NumberRange.new(6,12)
  7815. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,60,0),NumberSequenceKeypoint.new(0.2,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7816. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7817. eff.Speed = NumberRange.new(100,1000)
  7818. eff.Drag = 5
  7819. eff.Rotation = NumberRange.new(-500,500)
  7820. eff.VelocitySpread = 9000
  7821. eff.RotSpeed = NumberRange.new(-100,100)
  7822. wait(0.6)
  7823. eff.Enabled = false
  7824. end))
  7825. wait(1.25)
  7826. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100*2)) do
  7827. if v:FindFirstChild('Head') then
  7828. dmg(v)
  7829. end
  7830. end
  7831. CamShakeAll(65,90,Character)
  7832. MagniDamage(elocacenter, 150*2, 20,50, 0, "Normal")
  7833. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  7834. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  7835. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  7836. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  7837. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  7838. sphere(1,"Add",elocacenter.CFrame,vt(150,90000,150),-0.5,MAINRUINCOLOR)
  7839. sphere(1,"Add",elocacenter.CFrame,vt(150,90000,150),1,MAINRUINCOLOR)
  7840. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5*2,MAINRUINCOLOR)
  7841. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5*2,MAINRUINCOLOR)
  7842. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5*2,MAINRUINCOLOR)
  7843. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5*2,MAINRUINCOLOR)
  7844. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5*2,MAINRUINCOLOR)
  7845. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500*2,MAINRUINCOLOR)
  7846. for i = 0, 24 do
  7847. 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*2,MAINRUINCOLOR,0)
  7848. 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*2,MAINRUINCOLOR,0)
  7849. 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*2,MAINRUINCOLOR,0)
  7850. 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*2,MAINRUINCOLOR,0)
  7851. end
  7852. coroutine.resume(coroutine.create(function()
  7853. local eff = Instance.new("ParticleEmitter",elocacenter)
  7854. eff.Texture = "rbxassetid://2092248396"
  7855. eff.LightEmission = 1
  7856. eff.Color = ColorSequence.new(BrickColor.new("Maroon").Color)
  7857. eff.Rate = 50000
  7858. eff.Lifetime = NumberRange.new(6,12)
  7859. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,90,0),NumberSequenceKeypoint.new(0.2,1.25,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7860. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7861. eff.Speed = NumberRange.new(125,1250)
  7862. eff.Drag = 5
  7863. eff.Rotation = NumberRange.new(-500,500)
  7864. eff.VelocitySpread = 9000
  7865. eff.RotSpeed = NumberRange.new(-100,100)
  7866. wait(1.25)
  7867. eff.Enabled = false
  7868. end))
  7869. wait(1.25)
  7870. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100*3)) do
  7871. if v:FindFirstChild('Head') then
  7872. dmg(v)
  7873. end
  7874. end
  7875. CamShakeAll(65,90,Character)
  7876. MagniDamage(elocacenter, 150*3, 20,50, 0, "Normal")
  7877. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  7878. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  7879. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  7880. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  7881. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  7882. sphere(1,"Add",elocacenter.CFrame,vt(225,90000,225),-0.25*3,MAINRUINCOLOR)
  7883. sphere(1,"Add",elocacenter.CFrame,vt(225,90000,225),0.5*3,MAINRUINCOLOR)
  7884. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5*3,MAINRUINCOLOR)
  7885. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5*3,MAINRUINCOLOR)
  7886. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5*3,MAINRUINCOLOR)
  7887. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5*3,MAINRUINCOLOR)
  7888. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5*3,MAINRUINCOLOR)
  7889. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500*3,MAINRUINCOLOR)
  7890. for i = 0, 24 do
  7891. 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*3,MAINRUINCOLOR,0)
  7892. 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*3,MAINRUINCOLOR,0)
  7893. 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*3,MAINRUINCOLOR,0)
  7894. 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*3,MAINRUINCOLOR,0)
  7895. end
  7896. coroutine.resume(coroutine.create(function()
  7897. local eff = Instance.new("ParticleEmitter",elocacenter)
  7898. eff.Texture = "rbxassetid://2092248396"
  7899. eff.LightEmission = 1
  7900. eff.Color = ColorSequence.new(BrickColor.new("Maroon").Color)
  7901. eff.Rate = 50000
  7902. eff.Lifetime = NumberRange.new(6,12)
  7903. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7904. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7905. eff.Speed = NumberRange.new(150,1500)
  7906. eff.Drag = 5
  7907. eff.Rotation = NumberRange.new(-500,500)
  7908. eff.VelocitySpread = 9000
  7909. eff.RotSpeed = NumberRange.new(-100,100)
  7910. wait(1.25)
  7911. eff.Enabled = false
  7912. end))
  7913. end))
  7914. for i = 0, 4, 0.1 do
  7915. swait()
  7916. 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)
  7917. 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)
  7918. PixelBlockX(5,0.5,"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))),1,1,1,0.01,MAINRUINCOLOR,0)
  7919. PixelBlockNeg(5,0.5,"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))),1,1,1,0.01,MAINRUINCOLOR,0)
  7920. 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))),.2)
  7921. 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))),.2)
  7922. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25 + 0.02 * math.cos(sine / 32),1 + 0.1 * math.cos(sine / 32))*angles(math.rad(30 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.2)
  7923. 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))),.2)
  7924. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(80 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(10 + 3 * math.cos(sine / 45))),.2)
  7925. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(80 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-10 + 3 * math.cos(sine / 45))),.2)
  7926. end
  7927. attack = false
  7928. coroutine.resume(coroutine.create(function()
  7929. wait(10)
  7930. elocacenter:Destroy()
  7931. eloca1:Destroy()
  7932. eloca2:Destroy()
  7933. eloca3:Destroy()
  7934. eloca4:Destroy()
  7935. end))
  7936. end))
  7937. end
  7938.  
  7939. local ast = {187744332,1426044282}
  7940. local CardT = {"LET'S PLAY SOME CARD SHALL WE?","WANNA SEE SOME MAGIC?","YOU'RE GETTING TRICKY!!","NOW MY TURN.."}
  7941. local IDTECC = {"MEAN WHILE...","DO YOU REMEMBER ME?","COME OUT..","ROCK 'N ROLL!"}
  7942. -------------------------------------
  7943.  
  7944. Humanoid.Animator.Parent = nil
  7945.  
  7946. -------------------------------------
  7947.  
  7948. local NewInstance = function(instance,parent,properties)
  7949. local inst = Instance.new(instance,parent)
  7950. if(properties)then
  7951. for i,v in next, properties do
  7952. pcall(function() inst[i] = v end)
  7953. end
  7954. end
  7955. return inst;
  7956. end
  7957.  
  7958. if script.MeshValue.Value == "true" then
  7959.  
  7960. local Core = script.newCORE
  7961. Core.Parent = Character
  7962. coroutine.resume(coroutine.create(function()
  7963. while true do
  7964. swait()
  7965. if rainbowmode == false and Error == false and CRAZED == false then
  7966. for i,v in pairs(Core:GetChildren())do
  7967. if v.Name ~= "CORE2" then
  7968. v.BrickColor = MAINRUINCOLOR
  7969. end
  7970. end
  7971. elseif Error == true then
  7972. for i,v in pairs(Core:GetChildren())do
  7973. if v.Name ~= "CORE2" then
  7974. v.BrickColor = BrickColor.Random()
  7975. end
  7976. end
  7977. elseif CRAZED == true then
  7978. for i,v in pairs(Core:GetChildren())do
  7979. if v.Name ~= "CORE2" then
  7980. v.BrickColor = BrickColor.new(0,0,1)
  7981. end
  7982. end
  7983. swait(5)
  7984. for i,v in pairs(Core:GetChildren())do
  7985. if v.Name ~= "CORE2" then
  7986. v.BrickColor = BrickColor.new(0,0,0)
  7987. end
  7988. end
  7989. elseif rainbowmode == true then
  7990. for i,v in pairs(Core:GetChildren())do
  7991. if v.Name ~= "CORE2" then
  7992. v.Color = Color3.new(r/255,g/255,b/255)
  7993. end
  7994. end
  7995. end
  7996. end
  7997. end))
  7998. for i,v in pairs(Core:GetChildren())do
  7999. if v.Name ~= "Weld" then
  8000. v.Transparency = 0
  8001. end
  8002. end
  8003. local HWz = NewInstance('Weld',Character,{Part0 = tors, Part1 = Core.Weld, C0 = CFrame.new(0,0,-0.35) * CFrame.Angles(-99,-100,0)})
  8004. end
  8005.  
  8006.  
  8007. local attacktype = 1
  8008. mouse.OnServerEvent:connect(function(play,ty,k,hit)
  8009. Hit = hit
  8010. if ty == "mb1c" then
  8011. if attack == false and attacktype == 1 then
  8012. attacktype = 2
  8013. attackone()
  8014. elseif attack == false and attacktype == 2 then
  8015. attacktype = 3
  8016. attacktwo()
  8017. elseif attack == false and attacktype == 3 then
  8018. attacktype = 1
  8019. attackthree()
  8020. elseif attack == false and attacktype == 4 then
  8021. attacktype = 1
  8022. --attackfour()
  8023. end
  8024. end
  8025. end)
  8026. mouse.OnServerEvent:connect(function(play,ty,k,hit)
  8027. if ty == "keydown" then
  8028. Hit = hit
  8029. if Diversial == false then
  8030. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  8031. --normalmog() ---Disabled due to crashing... only in VSB
  8032. ModeOfGlitch = 1
  8033. storehumanoidWS = 16
  8034. hum.WalkSpeed = 16
  8035. rainbowmode = false
  8036. chaosmode = false
  8037. CRAZED = false
  8038. newTheme("rbxassetid://614032233",48.6,1,1.25)
  8039. RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  8040. MAINRUINCOLOR = BrickColor.new("Really red")
  8041. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  8042. end
  8043. if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 453453484635345 then
  8044. ModeOfGlitch = 453453484635345
  8045. storehumanoidWS = 25
  8046. hum.WalkSpeed = 25
  8047. rainbowmode = false
  8048. chaosmode = false
  8049. CRAZED = false
  8050. RecolorTextAndRename("DEATH",Color3.new(0.2,0.2,0.2),Color3.new(0,0,0),"Bodoni")
  8051. newTheme("rbxassetid://318062766",0,1.01,0.85)
  8052. MAINRUINCOLOR = BrickColor.new("Really black")
  8053. chatfunc("Death is not an escape..",MAINRUINCOLOR.Color,"Inverted","Arcade",1.2)
  8054. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark stone grey"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8055. end
  8056. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  8057. ModeOfGlitch = 2
  8058. storehumanoidWS = 16
  8059. hum.WalkSpeed = 16
  8060. rainbowmode = false
  8061. chaosmode = false
  8062. CRAZED = false
  8063. RecolorTextAndRename("PURITY",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  8064. newTheme("rbxassetid://1539245059",0,1,1.25)
  8065. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  8066. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8067. end
  8068. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  8069. ModeOfGlitch = 3
  8070. storehumanoidWS = 16
  8071. hum.WalkSpeed = 16
  8072. rainbowmode = false
  8073. chaosmode = false
  8074. CRAZED = false
  8075. RecolorTextAndRename("CORRUPTION",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  8076. newTheme("rbxassetid://1283869370",58.15,0.98,1.25)
  8077. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8078. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8079. end
  8080. if k == "b" and attack == false and ModeOfGlitch == 3 then
  8081. ModeOfGlitch = 3434
  8082. storehumanoidWS = 100
  8083. hum.WalkSpeed = 100
  8084. rainbowmode = false
  8085. chaosmode = false
  8086. CRAZED = false
  8087. RecolorTextAndRename("UNKNOWN",Color3.new(1,1,1),BrickColor.new("New Yeller").Color,"Code")
  8088. newTheme("rbxassetid://1861780345",0,1,1.25)
  8089. MAINRUINCOLOR = BrickColor.new("New Yeller")
  8090. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.8,MAINRUINCOLOR,0.8,MAINRUINCOLOR,true,true)
  8091. end
  8092. if k == "m" and attack == false and ModeOfGlitch == 3 then
  8093. attack = true
  8094. ModeOfGlitch = 259394695439876
  8095. hum.WalkSpeed = 0
  8096. newThemeCust("rbxassetid://190845741",9,1,1.25)
  8097. wait(2)
  8098. for i = 0, 15, 0.1 do
  8099. swait()
  8100. RH.C0=clerp(RH.C0,cf(1, -1 - 0.025 * math.cos(sine/12), -0.01)*angles(math.rad(0),math.rad(83),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  8101. LH.C0=clerp(LH.C0,cf(-1, -1 - 0.05 * math.cos(sine/12), -0.01)*angles(math.rad(0),math.rad(-83),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  8102. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0, 0, 0 + 0.05 * math.cos(sine / 12))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  8103. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(15 - 2.5 * math.sin(sine / 12)),math.rad(0),math.rad(0)),0.1)
  8104. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.125 * math.cos(sine / 12),-0.45)*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)
  8105. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.125 * math.cos(sine / 12),-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)
  8106. end
  8107. CamShakeAll(25,90,char)
  8108. sphere(2,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  8109. sphere(3,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  8110. sphere(1,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  8111. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  8112. sphere(3,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  8113. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  8114. ModeOfGlitch = 146536
  8115. storehumanoidWS = 12
  8116. hum.WalkSpeed = 12
  8117. rainbowmode = false
  8118. chaosmode = false
  8119. CRAZED = false
  8120. RecolorTextAndRename("VANTA-X",Color3.new(0.15,0.15,0.15),Color3.new(0.35,0,1),"Fantasy")
  8121. MAINRUINCOLOR = BrickColor.new("Bright violet")
  8122. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark indigo"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8123. attack = false
  8124. end
  8125. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  8126. ModeOfGlitch = 4
  8127. storehumanoidWS = 16
  8128. hum.WalkSpeed = 16
  8129. rainbowmode = false
  8130. chaosmode = true
  8131. CRAZED = false
  8132. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
  8133. newTheme("rbxassetid://1369263130",0,1.01,1.25)
  8134. MAINRUINCOLOR = BrickColor.new("Black")
  8135. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8136. end
  8137. if k == "m" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 102341 then
  8138. TheoriesTran()
  8139. end
  8140. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  8141. ModeOfGlitch = 5
  8142. storehumanoidWS = 16
  8143. hum.WalkSpeed = 16
  8144. rainbowmode = false
  8145. chaosmode = false
  8146. CRAZED = false
  8147. RecolorTextAndRename("DIVINITY",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  8148. newTheme("rbxassetid://661079869",0,1.02,1.25)
  8149. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  8150. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8151. end
  8152. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  8153. ModeOfGlitch = 6
  8154. storehumanoidWS = 100
  8155. hum.WalkSpeed = 100
  8156. rainbowmode = false
  8157. chaosmode = false
  8158. CRAZED = false
  8159. RecolorTextAndRename("EQUALITY",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  8160. newTheme("rbxassetid://1347011178",0,1.01,1.25)
  8161. MAINRUINCOLOR = BrickColor.new("White")
  8162. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8163. end
  8164. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  8165. ModeOfGlitch = 8
  8166. storehumanoidWS = 140
  8167. hum.WalkSpeed = 140
  8168. rainbowmode = false
  8169. chaosmode = false
  8170. CRAZED = false
  8171. RecolorTextAndRename("DESTINY",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  8172. newTheme("rbxassetid://1495032271",0,1.01,1.25)
  8173. MAINRUINCOLOR = BrickColor.new("Alder")
  8174. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8175. end
  8176. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  8177. ModeOfGlitch = 9
  8178. storehumanoidWS = 150
  8179. hum.WalkSpeed = 150
  8180. rainbowmode = false
  8181. chaosmode = false
  8182. CRAZED = false
  8183. RecolorTextAndRename("INFECTION X",Color3.new(0,1,0),Color3.new(0,0.7,0),"Bodoni")
  8184. newTheme("rbxassetid://798163149",0,1,1.4)
  8185. MAINRUINCOLOR = BrickColor.new("Camo")
  8186. RecolorThing(MAINRUINCOLOR,BrickColor.new("Camo"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8187. end
  8188. if k == "n" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 103 then
  8189. ModeOfGlitch = 103
  8190. storehumanoidWS = 200
  8191. hum.WalkSpeed = 200
  8192. rainbowmode = false
  8193. chaosmode = false
  8194. CRAZED = false
  8195. blush.Transparency = 0
  8196. RecolorTextAndRename("ACE-OF-SPADES",BrickColor.new("Really black").Color,BrickColor.new("New Yeller").Color,"SciFi")
  8197. newTheme("rbxassetid://1986375341",0,1.02,1.2)
  8198. MAINRUINCOLOR = BrickColor.new("New Yeller")
  8199. disably = false
  8200. warnedpeople(CardT[math.random(1,4)],"SciFi",BrickColor.new("Really black").Color,BrickColor.new("New Yeller").Color)
  8201. disably = true
  8202. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Deep orange"),0,BrickColor.new("White"),true,true)
  8203. end
  8204. if k == "m" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 6518594185 then
  8205. ModeOfGlitch = 6518594185
  8206. storehumanoidWS = 200
  8207. hum.WalkSpeed = 200
  8208. rainbowmode = false
  8209. chaosmode = false
  8210. CRAZED = false
  8211. blush.Transparency = 0
  8212. RecolorTextAndRename("IDOLS",BrickColor.new("Hot pink").Color,BrickColor.new("New Yeller").Color,"SciFi")
  8213. newTheme("rbxassetid://2415462372",0,1.02,1.2)
  8214. MAINRUINCOLOR = BrickColor.new("New Yeller")
  8215. disably = false
  8216. IdolsWarn(IDTECC[math.random(1,4)],"SciFi",BrickColor.new("Hot pink").Color,BrickColor.new("New Yeller").Color)
  8217. disably = true
  8218. RecolorThing(MAINRUINCOLOR,BrickColor.new("Deep orange"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Really blue"),0,BrickColor.new("Hot pink"),true,true)
  8219. end
  8220. if k == "m" and attack == false and ModeOfGlitch == 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then
  8221. ModeOfGlitch = 808080808080808080808080
  8222. storehumanoidWS = 250
  8223. hum.WalkSpeed = 250
  8224. rainbowmode = false
  8225. chaosmode = false
  8226. CRAZED = false
  8227. CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 0.75)
  8228. CFuncs["Sound"].Create("rbxassetid://763717897", char, 8, 0.5)
  8229. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 10, 0.5)
  8230. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 0.5)
  8231. RecolorTextAndRename("MYTHICAL",BrickColor.new("Dark indigo").Color,BrickColor.new("Really blue").Color,"Bodoni")
  8232. newThemeCust("rbxassetid://398455752",0,1.01,2)
  8233. MAINRUINCOLOR = BrickColor.new("Really blue")
  8234. bosschatfunc("Are you gonna stop now or what?",MAINRUINCOLOR.Color,1)
  8235. disably = false
  8236. warnedpeople("SYNTH ONBOUND!","Arcade",BrickColor.new("Alder").Color,BrickColor.new("Pastel light blue").Color)
  8237. disably = true
  8238. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark indigo"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Alder"),0,BrickColor.new("Pastel light blue"),true,true)
  8239. end
  8240. if k == "m" and attack == false and ModeOfGlitch == 8889 and ModeOfGlitch ~= 88893333388 then
  8241. ModeOfGlitch = 88893333388
  8242. storehumanoidWS = 200
  8243. hum.WalkSpeed = 200
  8244. rainbowmode = false
  8245. chaosmode = false
  8246. CRAZED = false
  8247. RecolorTextAndRename("CATASTROPHE",BrickColor.new("Royal purple").Color,BrickColor.new("Really blue").Color,"Bodoni")
  8248. newThemeCust("rbxassetid://1504604335",0,1.01,1.5)
  8249. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8250. bosschatfunc("Evenly with your rejections.",MAINRUINCOLOR.Color,1)
  8251. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8252. end
  8253. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  8254. ModeOfGlitch = 8889
  8255. storehumanoidWS = 180
  8256. hum.WalkSpeed = 180
  8257. rainbowmode = false
  8258. chaosmode = false
  8259. CRAZED = false
  8260. RecolorTextAndRename("CALAMITY",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique")
  8261. newThemeCust("rbxassetid://1359036559",0,1.01,1.5)
  8262. MAINRUINCOLOR = BrickColor.new("Lilac")
  8263. RecolorThing(MAINRUINCOLOR,BrickColor.new("Alder"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8264. end
  8265. if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 664663666 then
  8266. newThemeCust("rbxassetid://723652641",0,1,1.25)
  8267. attack = true
  8268. hum.WalkSpeed = 0
  8269. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  8270. chatfunc("I'm really done with you..",MAINRUINCOLOR.Color,"Inverted","Arcade",3)
  8271. MAINRUINCOLOR = BrickColor.new("Maroon")
  8272. local keptcolor = MAINRUINCOLOR
  8273. local locat = Instance.new("Part", char)
  8274. locat.CanCollide = false
  8275. locat.FormFactor = 3
  8276. locat.Name = "Ring"
  8277. locat.Material = "Neon"
  8278. locat.Size = Vector3.new(1, 1, 1)
  8279. locat.Transparency = 1
  8280. locat.TopSurface = 0
  8281. locat.BottomSurface = 0
  8282. locat.Anchored = true
  8283. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  8284. local poste = 0
  8285. local rotation = 0
  8286. local upperpos = 0
  8287. local rate = 0
  8288. local x = locat
  8289. for i = 0, 24, 0.1 do
  8290. swait()
  8291. 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"))
  8292. sphereMK(1,-2,"Add",tors.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,MAINRUINCOLOR,100)
  8293. 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)
  8294. 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)
  8295. 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)
  8296. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  8297. 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)
  8298. 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)
  8299. end
  8300. coroutine.resume(coroutine.create(function()
  8301. CamShakeAll(25,30,char)
  8302. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  8303. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  8304. wait(0.55)
  8305. CamShakeAll(25,60,char)
  8306. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  8307. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  8308. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  8309. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  8310. wait(0.55)
  8311. CamShakeAll(25,90,char)
  8312. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  8313. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  8314. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  8315. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  8316. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  8317. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  8318. wait(0.55)
  8319. CamShakeAll(60,120,char)
  8320. CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 1)
  8321. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  8322. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 4, 0.95)
  8323. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(15,0,15),5,0,5,BrickColor.new("Really black"))
  8324. sphere2(2,"Add",x.CFrame*CFrame.new(0,0,0),vt(15,0,15),5,0,5,keptcolor)
  8325. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Maroon"))
  8326. sphere2(2,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Really black"))
  8327. sphere2(4,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,keptcolor)
  8328. coroutine.resume(coroutine.create(function()
  8329. for i = 0, 99 do
  8330. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  8331. 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)))
  8332. local at1 = Instance.new("Attachment",dis)
  8333. at1.Position = vt(-25000,0,0)
  8334. local at2 = Instance.new("Attachment",dis)
  8335. at2.Position = vt(25000,0,0)
  8336. local bv = Instance.new("BodyVelocity")
  8337. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  8338. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  8339. bv.Parent = dis
  8340. game:GetService("Debris"):AddItem(dis, 10)
  8341. end
  8342. attack = false
  8343. hum.WalkSpeed = storehumanoidWS
  8344. for i = 0, 99 do
  8345. 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(250,2500)/250,BrickColor.new("Maroon"))
  8346. end
  8347. for i = 0, 49 do
  8348. local rsiz = math.random(150,450)
  8349. sphere2(math.random(1,4),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(25,500)/25,-0.05,BrickColor.new("Really black"))
  8350. sphere2(math.random(1,2),"Add",x.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*CFrame.new(math.random(-350,350),math.random(-350,350),math.random(-350,350)),vt(1,1,1),-0.01,math.random(50,250)/10,-0.01,BrickColor.new("Really black"))
  8351. sphereMK(math.random(1,2),math.random(2,4),"Add",x.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,BrickColor.new("Maroon"),0)
  8352. end
  8353. coroutine.resume(coroutine.create(function()
  8354. local eff = Instance.new("ParticleEmitter",x)
  8355. eff.Texture = "rbxassetid://2092248396"
  8356. eff.LightEmission = 1
  8357. eff.Color = ColorSequence.new(BrickColor.new("Maroon").Color)
  8358. eff.Rate = 50000
  8359. eff.Lifetime = NumberRange.new(6,12)
  8360. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.2,25,0),NumberSequenceKeypoint.new(1,0.1,0)})
  8361. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(1,1,0)})
  8362. eff.Speed = NumberRange.new(250,1500)
  8363. eff.Drag = 5
  8364. eff.Rotation = NumberRange.new(-500,500)
  8365. eff.VelocitySpread = 9000
  8366. eff.RotSpeed = NumberRange.new(-100,100)
  8367. wait(1.25)
  8368. eff.Enabled = false
  8369. end))
  8370. sphere2(3,"Add",tors.CFrame,vt(1,1,1),10,10,10,keptcolor)
  8371. sphere2(2,"Add",tors.CFrame,vt(1,1,1),10,10,10,BrickColor.new("Really black"))
  8372. sphere2(1,"Add",tors.CFrame,vt(1,1,1),10,10,10,BrickColor.new("Maroon"))
  8373. end))
  8374. end))
  8375. for i = 0, 12.5, 0.1 do
  8376. swait()
  8377. 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"))
  8378. sphereMK(1,-2,"Add",tors.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,MAINRUINCOLOR,100)
  8379. 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)
  8380. 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)
  8381. 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)
  8382. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  8383. 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)
  8384. 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)
  8385. end
  8386. ModeOfGlitch = 664663666
  8387. storehumanoidWS = 175
  8388. hum.WalkSpeed = 175
  8389. rainbowmode = false
  8390. chaosmode = false
  8391. CRAZED = false
  8392. RecolorTextAndRename("STRESSED",Color3.new(0.1,0,0),Color3.new(0.25,0,0),"Antique")
  8393. MAINRUINCOLOR = BrickColor.new("Maroon")
  8394. chatfunc("YOU'RE EXISTING IS WASTED!!",MAINRUINCOLOR.Color,"Inverted","Arcade",3)
  8395. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8396. attack = false
  8397. hum.WalkSpeed = storehumanoidWS
  8398. end
  8399. if k == "m" and attack == false and ModeOfGlitch == 6 then
  8400. ModeOfGlitch = 3444
  8401. storehumanoidWS = 100
  8402. hum.WalkSpeed = 100
  8403. rainbowmode = false
  8404. chaosmode = false
  8405. CRAZED = false
  8406. RecolorTextAndRename("TWISTED",Color3.new(1,1,1),BrickColor.new("Storm blue").Color,"Code")
  8407. newTheme("rbxassetid://919231299",0,1,1)
  8408. MAINRUINCOLOR = BrickColor.new("Storm blue")
  8409. RecolorThing(MAINRUINCOLOR,BrickColor.new("Storm blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8410. end
  8411. if k == "n" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 765688533321 then
  8412. ModeOfGlitch = 765688533321
  8413. storehumanoidWS = 260
  8414. hum.WalkSpeed = 260
  8415. rainbowmode = false
  8416. chaosmode = false
  8417. CRAZED = false
  8418. RecolorTextAndRename("UNSTABLE",Color3.new(1,1,1),Color3.new(1,0,0),"Arcade")
  8419. disably = false
  8420. warnedpeople("UNSTABLE POWER!!","Arcade",BrickColor.new("Really red").Color,BrickColor.new("White").Color)
  8421. disably = true
  8422. newTheme("rbxassetid://899090278",0,1.005,1.75)
  8423. MAINRUINCOLOR = BrickColor.new("Really black")
  8424. RecolorThing(BrickColor.new("Institutional white"),BrickColor.new("Really red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Crimson"),0,BrickColor.new("Really black"),true,true)
  8425. end
  8426. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  8427. ModeOfGlitch = 55469696922
  8428. storehumanoidWS = 275
  8429. hum.WalkSpeed = 275
  8430. rainbowmode = false
  8431. chaosmode = false
  8432. CRAZED = false
  8433. RecolorTextAndRename("NATURE",Color3.new(1,1,1),BrickColor.new("Forest green").Color,"Code")
  8434. newTheme("rbxassetid://181761264",0,1,1.4)
  8435. MAINRUINCOLOR = BrickColor.new("Forest green")
  8436. RecolorThing(MAINRUINCOLOR,BrickColor.new("Forest green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8437. end
  8438. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  8439. ModeOfGlitch = 4367677813
  8440. storehumanoidWS = 225
  8441. hum.WalkSpeed = 225
  8442. rainbowmode = false
  8443. chaosmode = false
  8444. CRAZED = false
  8445. RecolorTextAndRename("SHD",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  8446. newTheme("rbxassetid://363284685",0,1.01,1.25)
  8447. MAINRUINCOLOR = BrickColor.new("Baby blue")
  8448. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8449. end
  8450. if k == "n" and attack == false and ModeOfGlitch == 9999999921111 and ModeOfGlitch ~= 101 then
  8451. ModeOfGlitch = 101
  8452. storehumanoidWS = 350
  8453. hum.WalkSpeed = 350
  8454. rainbowmode = false
  8455. chaosmode = false
  8456. CRAZED = false
  8457. RecolorTextAndRename("ALPHA",BrickColor.new("Black").Color,BrickColor.new("Storm blue").Color,"SciFi")
  8458. disably = false
  8459. warnedpeople("A L P H A.","Arcade",BrickColor.new("Black").Color,BrickColor.new("Storm blue").Color)
  8460. disably = true
  8461. newTheme("rbxassetid://1280010741",0,1.01,1.8)
  8462. MAINRUINCOLOR = BrickColor.new("Storm blue")
  8463. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Bright bluish green"),0,BrickColor.new("Really black"),true,true)
  8464. end
  8465. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  8466. ModeOfGlitch = 9999999921111
  8467. storehumanoidWS = 300
  8468. hum.WalkSpeed = 300
  8469. rainbowmode = false
  8470. chaosmode = false
  8471. CRAZED = false
  8472. RecolorTextAndRename("OMEGA",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  8473. newTheme("rbxassetid://643309199",0,1.01,1.5)
  8474. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  8475. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8476. end
  8477. if k == "h" and attack == false and ModeOfGlitch ~= 102 then
  8478. ModeOfGlitch = 102
  8479. storehumanoidWS = 18
  8480. hum.WalkSpeed = 18
  8481. rainbowmode = false
  8482. chaosmode = false
  8483. CRAZED = false
  8484. RecolorTextAndRename("Love",BrickColor.new("White").Color,BrickColor.new("Bright violet").Color,"Code")
  8485. newTheme("rbxassetid://1426044282",0,1,1.15)
  8486. MAINRUINCOLOR = BrickColor.new("Bright violet")
  8487. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright violet"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  8488. end
  8489. if k == "n" and attack == false and ModeOfGlitch == 999 then
  8490. ModeOfGlitch = 1055
  8491. storehumanoidWS = 50
  8492. hum.WalkSpeed = 50
  8493. rainbowmode = false
  8494. chaosmode = false
  8495. CRAZED = false
  8496. RecolorTextAndRename("Pandora",BrickColor.new("White").Color,BrickColor.new("Lavender").Color,"Code")
  8497. newTheme("rbxassetid://1382488262",0,1,1.25)
  8498. MAINRUINCOLOR = BrickColor.new("Lavender")
  8499. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  8500. end
  8501. if k == "k" and attack == false and ModeOfGlitch ~= 999 then
  8502. ModeOfGlitch = 999
  8503. storehumanoidWS = 34
  8504. hum.WalkSpeed = 34
  8505. rainbowmode = false
  8506. chaosmode = false
  8507. CRAZED = false
  8508. RecolorTextAndRename("ENBELEIVED",Color3.new(1,1,1),Color3.new(1,1,1),"SciFi")
  8509. newTheme("rbxassetid://286050652",0,1,1)
  8510. MAINRUINCOLOR = BrickColor.new("Cloudy grey")
  8511. RecolorThing(MAINRUINCOLOR,BrickColor.new("Cloudy grey"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8512. end
  8513. if k == "j" and attack == false and ModeOfGlitch ~= 090 then
  8514. ModeOfGlitch = 090
  8515. storehumanoidWS = 250
  8516. hum.WalkSpeed = 250
  8517. rainbowmode = true
  8518. chaosmode = false
  8519. CRAZED = false
  8520. RecolorTextAndRename("RAINBOW",Color3.new(0.5,1,1),BrickColor.new("Really red").Color,"Antique")
  8521. disably = false
  8522. warnedpeople("RAINBOW","Highway",Color3.new(1,1,1),Color3.new(1,1,1))
  8523. disably = true
  8524. newTheme("rbxassetid://1747430851",0,1,1.15)
  8525. MAINRUINCOLOR = BrickColor.new("Pastel green")
  8526. RecolorThing(BrickColor.new("Deep orange"),BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,BrickColor.new("Deep orange"),true,false)
  8527. end
  8528. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  8529. ModeOfGlitch = 999999999556
  8530. storehumanoidWS = 500
  8531. hum.WalkSpeed = 500
  8532. rainbowmode = false
  8533. chaosmode = false
  8534. CRAZED = true
  8535. RecolorTextAndRename("CRAZED",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
  8536. disably = false
  8537. warnedpeople("HAHAHAHAHA.","Code",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color)
  8538. disably = true
  8539. newTheme("rbxassetid://719008519",0,1.02,1.25)
  8540. MAINRUINCOLOR = BrickColor.new("Navy blue")
  8541. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Navy blue"),0,BrickColor.new("Really blue"),true,true)
  8542. end
  8543. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  8544. ModeOfGlitch = 1264532489
  8545. storehumanoidWS = 250
  8546. hum.WalkSpeed = 250
  8547. rainbowmode = false
  8548. chaosmode = false
  8549. CRAZED = false
  8550. RecolorTextAndRename("FALLENX",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  8551. disably = false
  8552. warnedpeople("WHO DARE TO CHALLENGE ME?!","Antique",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color)
  8553. disably = true
  8554. newTheme("rbxassetid://1505487022",0,1.01,1.5)
  8555. MAINRUINCOLOR = BrickColor.new("Pastel green")
  8556. RecolorThing(BrickColor.new("Deep orange"),BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,0,BrickColor.new("Deep orange"),true,true)
  8557. end
  8558. elseif Diversial == true then
  8559. -- Diversial Glitcher Started
  8560.  
  8561. if k == "q" and attack == false and ModeOfGlitch ~= 676767 then
  8562. ModeOfGlitch = 676767
  8563. storehumanoidWS = 250
  8564. hum.WalkSpeed = 250
  8565. rainbowmode = false
  8566. chaosmode = false
  8567. CRAZED = false
  8568. Error = false
  8569. RecolorTextAndRename("MULTI-DIVERSIAL",Color3.new(1,1,1),BrickColor.new("Royal purple").Color,"SciFi")
  8570. newTheme("rbxassetid://603567552",0,1.02,1.25)
  8571. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8572. RecolorThing2(BrickColor.new("Royal purple"),BrickColor.new("Royal purple"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,0,BrickColor.new("Royal purple"),true,true)
  8573. end
  8574. if k == "g" and attack == false and ModeOfGlitch ~= 71 then
  8575. ModeOfGlitch = 71
  8576. storehumanoidWS = 12
  8577. hum.WalkSpeed = 12
  8578. rainbowmode = false
  8579. chaosmode = false
  8580. Error = false
  8581. CRAZED = false
  8582. RecolorTextAndRename("PLAGUES",Color3.new(0,0.3,0),BrickColor.new("Lime green").Color,"Code")
  8583. newTheme("rbxassetid://577543579",0,1,1.25)
  8584. MAINRUINCOLOR = BrickColor.new("Lime green")
  8585. chatfunc("The plague is already inside..",MAINRUINCOLOR.Color,"Inverted","Arcade",1.7)
  8586. RecolorThing2(MAINRUINCOLOR,BrickColor.new("Earth green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8587. end
  8588. if k == "e" and attack == false and ModeOfGlitch ~= 2332 then
  8589. ModeOfGlitch = 2332
  8590. storehumanoidWS = 12
  8591. hum.WalkSpeed = 12
  8592. rainbowmode = false
  8593. chaosmode = false
  8594. Error = false
  8595. CRAZED = false
  8596. RecolorTextAndRename("CLARITY",Color3.new(1,1,1),BrickColor.new("Pastel Blue").Color,"Fantasy")
  8597. newTheme("rbxassetid://2482117221",0,1,1.25)
  8598. MAINRUINCOLOR = BrickColor.new("Pastel Blue")
  8599. RecolorThing2(MAINRUINCOLOR,BrickColor.new("Pastel Blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  8600. end
  8601. if k == "r" and attack == false and ModeOfGlitch ~= 2334 then
  8602. ModeOfGlitch = 2334
  8603. storehumanoidWS = 12
  8604. hum.WalkSpeed = 12
  8605. rainbowmode = false
  8606. chaosmode = false
  8607. Error = false
  8608. CRAZED = false
  8609. RecolorTextAndRename("Memer",BrickColor.new'Toothpaste'.Color,BrickColor.new'Dark blue'.Color,"Fantasy")
  8610. newTheme("rbxassetid://1702473314",0,1,0.3)
  8611. MAINRUINCOLOR = BrickColor.new("Dark blue")
  8612. RecolorThing2(MAINRUINCOLOR,BrickColor.new("Pastel Blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  8613. end
  8614. if k == "t" and attack == false and ModeOfGlitch ~= 61 then
  8615. ModeOfGlitch = 61
  8616. storehumanoidWS = 850
  8617. hum.WalkSpeed = 850
  8618. rainbowmode = false
  8619. chaosmode = false
  8620. CRAZED = false
  8621. Error = true
  8622. RecolorTextAndRename("error",Color3.new(0,0,0),Color3.new(1,1,1),"Bodoni")
  8623. disably = false
  8624. warnedpeople("ERROR","Arcade",MAINRUINCOLOR.Color,MAINRUINCOLOR.Color)
  8625. disably = true
  8626. chatfunc("AGHHEUHUF#H(HHGDCVHH*I%H#$@($UF*GD",MAINRUINCOLOR.Color,"Inverted","Arcade",2)
  8627. newTheme("rbxassetid://1138145518",0,1,1.25)
  8628. MAINRUINCOLOR = BrickColor.new("Black")
  8629. RecolorThing2(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,true)
  8630. end
  8631. end
  8632. if k == "l" and mutedtog == false then
  8633. mutedtog = true
  8634. kan.Volume = 0
  8635. elseif k == "l" and mutedtog == true then
  8636. mutedtog = false
  8637. kan.Volume = 1.25
  8638. end
  8639. if k == "p" and Diversial == false and attack == false then
  8640. Diversial = true
  8641. ModeFrame.Text = "Side: Diversial"
  8642. TextFrame.Text = "Diversial Glitcher"
  8643. ModeOfGlitch = 676767
  8644. storehumanoidWS = 250
  8645. hum.WalkSpeed = 250
  8646. rainbowmode = false
  8647. chaosmode = false
  8648. CRAZED = false
  8649. RecolorTextAndRename("MULTI-DIVERSIAL",Color3.new(1,1,1),BrickColor.new("Royal purple").Color,"SciFi")
  8650. newTheme("rbxassetid://603567552",0,1.02,1.25)
  8651. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8652. RecolorThing2(BrickColor.new("Royal purple"),BrickColor.new("Royal purple"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,0,BrickColor.new("Royal purple"),true,true)
  8653. elseif k == "p" and Diversial == true and attack == false then
  8654. Error = false
  8655. Diversial = false
  8656. TextFrame.Text = "Spectrum Glitcher"
  8657. ModeFrame.Text = "Side: Spectrum"
  8658. --normalmog() ---Disabled due to crashing... only in VSB
  8659. ModeOfGlitch = 1
  8660. storehumanoidWS = 16
  8661. hum.WalkSpeed = 16
  8662. rainbowmode = false
  8663. chaosmode = false
  8664. CRAZED = false
  8665. newTheme("rbxassetid://614032233",48.6,1,1.25)
  8666. RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  8667. MAINRUINCOLOR = BrickColor.new("Really red")
  8668. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  8669. end
  8670. if k == "o" and DoDamage == true then
  8671. DoDamage = false
  8672. DamageFrame.Text = "Damage = Disabled"
  8673. elseif k == "o" and DoDamage == false then
  8674. DoDamage = true
  8675. DamageFrame.Text = "Damage = Enabled"
  8676. end
  8677. if k == "z" and attack == false and ModeOfGlitch == 1 then
  8678. --ExtinctiveHeartbreak()
  8679. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  8680. HeavenlyDisk()
  8681. elseif k == "z" and attack == false and ModeOfGlitch == 71 then
  8682. PlaguedJump()
  8683. elseif k == "z" and attack == false and ModeOfGlitch == 2332 then
  8684. ClearDisk()
  8685. elseif k == "b" and attack == false and ModeOfGlitch == 999 then
  8686. ColorEnbelived()
  8687. elseif k == "z" and attack == false and ModeOfGlitch == 102 then
  8688. hugg()
  8689. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  8690. CorruptionEvent()
  8691. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  8692. RapidBurst()
  8693. elseif k == "z" and attack == false and ModeOfGlitch == 103 then
  8694. CardStorm()
  8695. elseif k == "z" and attack == false and ModeOfGlitch == 664663666 then
  8696. ViolentStrike()
  8697. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  8698. --DivineLights()
  8699. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  8700. EquinoxOrbs()
  8701. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  8702. FallenOrbs()
  8703. elseif k == "x" and attack == false and ModeOfGlitch == 5 then
  8704. HolyBarrier()
  8705. elseif k == "z" and attack == false and ModeOfGlitch == 090 then
  8706. RainbowBeam()
  8707. elseif k == "v" and attack == false and ModeOfGlitch == 999999999556 then
  8708. CrazedInsanity()
  8709. elseif k == "z" and attack == false and ModeOfGlitch == 4367677813 then
  8710. SHDTwist()
  8711. end
  8712. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  8713. FallenDEMISE()
  8714. end
  8715. if k == "x" and attack == false and ModeOfGlitch == 1 then
  8716. EndGROUND()
  8717. end
  8718. end
  8719. end)
  8720.  
  8721. mouse.OnServerEvent:connect(function(play,ty,k,hit)
  8722. if ty == "keyup" then
  8723. if k == "x" and ModeOfGlitch == 5 then
  8724. shielding = false
  8725. end
  8726. end
  8727. end)
  8728.  
  8729. coroutine.resume(coroutine.create(function()
  8730. while true do
  8731. swait()
  8732. if ModeOfGlitch ~= 102 then
  8733. blush.Parent = nil
  8734. blush.Transparency = 1
  8735. elseif ModeOfGlitch == 102 then
  8736. blush.Parent = hed
  8737. blush.Transparency = 0
  8738. end
  8739. end
  8740. end))
  8741.  
  8742. coroutine.resume(coroutine.create(function()
  8743. while true do
  8744. swait()
  8745. if ModeOfGlitch == 102 then
  8746. sphereMK(7.5,math.random(-50,-15)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),50,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,BrickColor.new("Bright violet"),0)
  8747. end
  8748. end
  8749. end))
  8750.  
  8751. coroutine.resume(coroutine.create(function()
  8752. while true do
  8753. swait()
  8754. if ModeOfGlitch == 6 or ModeOfGlitch == 999 or ModeOfGlitch == 1055 or ModeOfGlitch == 453453484635345 or ModeOfGlitch == 3444 or ModeOfGlitch == 71 or ModeOfGlitch == 103 or ModeOfGlitch == 101 or ModeOfGlitch == 8 or ModeOfGlitch == 9 or ModeOfGlitch == 8889 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 664663666 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 808080808080808080808080 then
  8755. 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)
  8756. if ModeOfGlitch == 765688533321 then
  8757. sphereMK(7.5,math.random(-50,-15)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),50,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,BrickColor.new("Really red"),0)
  8758. elseif ModeOfGlitch == 71 then
  8759. sphereMK(7.5,math.random(-50,-15)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),50,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,BrickColor.new("Earth green"),0)
  8760. elseif ModeOfGlitch == 88893333388 then
  8761. sphereMK(7.5,math.random(-50,-15)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),50,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,BrickColor.new("Really blue"),0)
  8762. elseif ModeOfGlitch == 101 then
  8763. sphereMK(7.5,math.random(-50,-15)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),50,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,BrickColor.new("Black"),0)
  8764. elseif ModeOfGlitch == 103 then
  8765. sphereMK(7.5,math.random(15,50)/45,"Add",root.CFrame*CFrame.new(math.random(-125,125),-10,math.random(-125,125))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),3,3,50,-0.03,BrickColor.new("Deep orange"),0)
  8766. elseif ModeOfGlitch == 808080808080808080808080 then
  8767. sphereMK(7.5,math.random(15,50)/45,"Add",root.CFrame*CFrame.new(math.random(-125,125),-10,math.random(-125,125))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),3,3,50,-0.03,BrickColor.new("Alder"),0)
  8768. end
  8769. end
  8770. end
  8771. end))
  8772.  
  8773. local rotperm = 0
  8774. coroutine.resume(coroutine.create(function()
  8775. while true do
  8776. swait()
  8777. if ModeOfGlitch == 2 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 090 or ModeOfGlitch == 3 then
  8778. swait(0.5)
  8779. sphereMK(6,math.random(5,15)/45,"Add",root.CFrame*CFrame.new(math.random(-10,10),-5,math.random(-10,10))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),0.2,0.2,3,0,MAINRUINCOLOR,0)
  8780. elseif ModeOfGlitch == 676767 or ModeOfGlitch == 146536 or ModeOfGlitch == 2332 then
  8781. swait(0.5)
  8782. sphereMK(5,math.random(8,14)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,MAINRUINCOLOR,0)
  8783. elseif ModeOfGlitch == 6518594185 then
  8784. sphereMK(5,math.random(8,14)/45,"Add",root.CFrame*CFrame.new(math.random(-85,85),-10,math.random(-85,85))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,MAINRUINCOLOR,0)
  8785. elseif ModeOfGlitch == 5 then
  8786. swait(0.5)
  8787. local rsiz = math.random(1,3)
  8788. sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.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)
  8789. sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0)
  8790. elseif ModeOfGlitch == 9600000000 then
  8791. swait(0.25)
  8792. sphereMK(5,math.random(-14,-8)/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)
  8793. elseif ModeOfGlitch == 6000000000 then
  8794. coroutine.resume(coroutine.create(function()
  8795. swait(5)
  8796. sphereMK(10,math.random(15,45)/45,"Add",root.CFrame*CFrame.new(math.random(-50,50),-40,math.random(-50,50))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,60,-0.01,MAINRUINCOLOR,0)
  8797. end))
  8798. swait(1)
  8799. rotperm = rotperm + 12
  8800. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotperm),0)*CFrame.new(0,0,10),vt(3,3,3),-0.03,-0.03,-0.03,MAINRUINCOLOR)
  8801. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotperm),0)*CFrame.new(0,0,10),vt(3,3,3),-0.03,-0.03,-0.03,BrickColor.new("Cool yellow"))
  8802. elseif ModeOfGlitch == 102 then
  8803. swait(25)
  8804. sphere2(4,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.25,0,0.25,MAINRUINCOLOR)
  8805. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.5,0,0.5,MAINRUINCOLOR)
  8806. local notsp = Instance.new("Part", char)
  8807. notsp.CanCollide = false
  8808. notsp.FormFactor = 3
  8809. notsp.Name = "Ring"
  8810. notsp.Material = "Neon"
  8811. notsp.Size = Vector3.new(10, 1, 10)
  8812. if math.random(1,6) == 1 then
  8813. notsp.Size = Vector3.new(25, 1, 25)
  8814. end
  8815. notsp.Transparency = 1
  8816. notsp.TopSurface = 0
  8817. notsp.BottomSurface = 0
  8818. notsp.Anchored = true
  8819. notsp.CFrame = root.CFrame*CFrame.new(0,-3,0)
  8820. coroutine.resume(coroutine.create(function()
  8821. local eff = Instance.new("ParticleEmitter",notsp)
  8822. eff.Texture = "rbxassetid://749327003"
  8823. eff.LightEmission = 1
  8824. eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000))
  8825. eff.Rate = 300
  8826. eff.Lifetime = NumberRange.new(1)
  8827. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,0,0)})
  8828. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8829. eff.Speed = NumberRange.new(20,40)
  8830. eff.Acceleration = vt(0,-75,0)
  8831. eff.Drag = 1
  8832. eff.Rotation = NumberRange.new(-10,10)
  8833. eff.VelocitySpread = 20
  8834. eff.RotSpeed = NumberRange.new(-1,1)
  8835. coroutine.resume(coroutine.create(function()
  8836. while true do
  8837. swait()
  8838. if eff.Parent ~= nil then
  8839. if ModeOfGlitch == 102 then
  8840. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8841. elseif ModeOfGlitch ~= 102 then
  8842. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8843. end
  8844. else
  8845. break
  8846. end
  8847. end
  8848. end))
  8849. wait(0.1)
  8850. eff.Enabled = false
  8851. end))
  8852. game:GetService("Debris"):AddItem(notsp, 5)
  8853. end
  8854. end
  8855. end))
  8856.  
  8857. --[[coroutine.resume(coroutine.create(function()
  8858. while true do
  8859. swait(2)
  8860. if chaosmode == true then
  8861. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  8862. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  8863. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  8864. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
  8865. for i, v in pairs(mw1:GetChildren()) do
  8866. if v:IsA("Part") then
  8867. v.Transparency = 0.75
  8868. v.BrickColor = BrickColor.random()
  8869. v.Material = "Neon"
  8870. end
  8871. end
  8872. for i, v in pairs(m2:GetChildren()) do
  8873. if v:IsA("Part") then
  8874. v.BrickColor = BrickColor.random()
  8875. v.Material = "Neon"
  8876. end
  8877. end
  8878. end
  8879. end
  8880. end))]]--
  8881. Humanoid.Name = "SPECTRUMGLITCHER"
  8882. Humanoid.MaxHealth = math.huge
  8883. Humanoid.Health = math.huge
  8884. Instance.new("ForceField",char).Visible = false
  8885.  
  8886. local bguis = Instance.new("BillboardGui",tors)
  8887. bguis.Size = UDim2.new(25, 0, 25, 0)
  8888. local bguis2 = Instance.new("BillboardGui",tors)
  8889. bguis2.Size = UDim2.new(25, 0, 25, 0)
  8890. local bguis3 = Instance.new("BillboardGui",tors)
  8891. bguis3.Size = UDim2.new(25, 0, 25, 0)
  8892. local bguis4 = Instance.new("BillboardGui",tors)
  8893. bguis4.Size = UDim2.new(25, 0, 25, 0)
  8894. local imgca = Instance.new("ImageLabel",bguis)
  8895. imgca.BackgroundTransparency = 1
  8896. imgca.ImageTransparency = 1
  8897. imgca.Size = UDim2.new(1,0,1,0)
  8898. imgca.Image = "rbxassetid://2344830904" --997291547,521073910,2312119891,2344830904
  8899. imgca.ImageColor3 = Color3.new(0,0,0)
  8900. local imgca2 = Instance.new("ImageLabel",bguis2)
  8901. imgca2.BackgroundTransparency = 1
  8902. imgca2.ImageTransparency = 1
  8903. imgca2.Size = UDim2.new(1,0,1,0)
  8904. imgca2.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891,2344830904
  8905. imgca2.ImageColor3 = Color3.new(0,0,0)
  8906. local imgca3 = Instance.new("ImageLabel",bguis3)
  8907. imgca3.BackgroundTransparency = 1
  8908. imgca3.ImageTransparency = 1
  8909. imgca3.Size = UDim2.new(1,0,1,0)
  8910. imgca3.Image = "rbxassetid://2076519836" --997291547,521073910,2312119891,2344830904
  8911. imgca3.ImageColor3 = Color3.new(0,0,0)
  8912. local imgca4 = Instance.new("ImageLabel",bguis4)
  8913. imgca4.BackgroundTransparency = 1
  8914. imgca4.ImageTransparency = 1
  8915. imgca4.Size = UDim2.new(1,0,1,0)
  8916. imgca4.Image = "rbxassetid://2076458450" --997291547,521073910,2312119891,2344830904
  8917. imgca4.ImageColor3 = Color3.new(0,0,0)
  8918.  
  8919. idleanim=.4
  8920. while true do
  8921. if mutedtog == false then
  8922. kan.Volume = currentVol
  8923. elseif mutedtog == true then
  8924. kan.Volume = 0
  8925. end
  8926. kan.PlaybackSpeed = currentPitch
  8927. kan.Pitch = currentPitch
  8928. kan.SoundId = currentThemePlaying
  8929. kan.Looped = true
  8930. kan.Parent = char
  8931. kan:Resume()
  8932. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 101 and ModeOfGlitch ~= 090 and ModeOfGlitch ~= 103 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then
  8933. imgca.ImageTransparency = 1
  8934. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 101 or ModeOfGlitch == 103 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 808080808080808080808080 then
  8935. imgca.ImageColor3 = MAINRUINCOLOR.Color
  8936. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  8937. elseif ModeOfGlitch == 090 then
  8938. imgca.ImageColor3 = Color3.new(r/255,g/255,b/255)
  8939. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  8940. end
  8941. if ModeOfGlitch ~= 71 and ModeOfGlitch ~= 61 then
  8942. imgca2.ImageTransparency = 1
  8943. elseif ModeOfGlitch == 61 then
  8944. imgca2.ImageColor3 = MAINRUINCOLOR.Color
  8945. imgca2.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  8946. elseif ModeOfGlitch == 71 then
  8947. imgca2.ImageColor3 = Color3.new(0,0.4,0)
  8948. imgca2.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  8949. end
  8950. if ModeOfGlitch ~= 676767 and ModeOfGlitch ~= 6518594185 and ModeOfGlitch ~= 999 then
  8951. imgca3.ImageTransparency = 1
  8952. elseif ModeOfGlitch == 676767 or ModeOfGlitch == 6518594185 or ModeOfGlitch == 999 then
  8953. imgca3.ImageColor3 = MAINRUINCOLOR.Color
  8954. imgca3.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  8955. end
  8956. if ModeOfGlitch ~= 664663666 and ModeOfGlitch ~= 6518594185 and ModeOfGlitch ~= 146536 then
  8957. imgca4.ImageTransparency = 1
  8958. elseif ModeOfGlitch == 664663666 or ModeOfGlitch == 6518594185 or ModeOfGlitch == 146536 then
  8959. imgca4.ImageColor3 = MAINRUINCOLOR.Color
  8960. imgca4.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  8961. end
  8962. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/100
  8963. imgca2.Rotation = imgca.Rotation - 5 - kan.PlaybackLoudness/100
  8964. imgca3.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/100
  8965. imgca4.Rotation = imgca.Rotation - 1 - kan.PlaybackLoudness/100
  8966. bguis.Size = UDim2.new(15 + 3 * math.cos(sine / 30),0, 15 + 3 * math.cos(sine / 30),0)
  8967. bguis3.Size = UDim2.new(10 + 3 * math.cos(sine / 40),0, 10 + 3 * math.cos(sine / 40),0)
  8968. bguis4.Size = UDim2.new(15 + 3 * math.cos(sine / 40),0, 15 + 3 * math.cos(sine / 40),0)
  8969. if Error == false and ModeOfGlitch ~= 61 then
  8970. bguis2.Size = UDim2.new(12.5 + 3 * math.cos(sine / 60),0, 12.5 + 3 * math.cos(sine / 60),0)
  8971. elseif Error == true and ModeOfGlitch == 61 then
  8972. bguis2.Size = UDim2.new(17.5 + 4.5 * math.cos(sine / 12),0, 17.5 + 4.5 * math.cos(sine / 12),0)
  8973. end
  8974.  
  8975. coroutine.resume(coroutine.create(function()
  8976. if Error == true then
  8977. MAINRUINCOLOR = BrickColor.random()
  8978. for i, v in pairs(extrawingmod1:GetChildren()) do
  8979. if v:IsA("Part") then
  8980. v.Transparency = 0
  8981. v.BrickColor = BrickColor.random()
  8982. v.Material = "Neon"
  8983. end
  8984. end
  8985. for i, v in pairs(extrawingmod2:GetChildren()) do
  8986. if v:IsA("Part") then
  8987. v.Transparency = 0
  8988. v.BrickColor = BrickColor.random()
  8989. v.Material = "Neon"
  8990. end
  8991. end
  8992. tl4.Color = ColorSequence.new(BrickColor.random().Color)
  8993. tl5.Color = ColorSequence.new(BrickColor.random().Color)
  8994. tl6.Color = ColorSequence.new(BrickColor.random().Color)
  8995. tr4.Color = ColorSequence.new(BrickColor.random().Color)
  8996. tr5.Color = ColorSequence.new(BrickColor.random().Color)
  8997. tr6.Color = ColorSequence.new(BrickColor.random().Color)
  8998. refec.Color = ColorSequence.new(BrickColor.Random().Color)
  8999. RecolorTextAndRename(est[math.random(1,17)],Color3.new(0,0,0),Color3.new(MRANDOM(0,1),MRANDOM(0,1),MRANDOM(0,1)),"Bodoni")
  9000. end
  9001. end))
  9002. coroutine.resume(coroutine.create(function()
  9003. if CRAZED == true then
  9004. MAINRUINCOLOR = BrickColor.new("Navy blue")
  9005. refec.Color = ColorSequence.new(BrickColor.new("Really blue").Color)
  9006. for i, v in pairs(extrawingmod1:GetChildren()) do
  9007. if v:IsA("Part") then
  9008. v.Transparency = 0
  9009. v.BrickColor = BrickColor.new("Navy blue")
  9010. v.Material = "Neon"
  9011. end
  9012. end
  9013. for i, v in pairs(extrawingmod2:GetChildren()) do
  9014. if v:IsA("Part") then
  9015. v.Transparency = 0
  9016. v.BrickColor = BrickColor.new("Really black")
  9017. v.Material = "Neon"
  9018. end
  9019. end
  9020. RecolorTextAndRename("CRAZED",Color3.new(0,0,math.random(0,0.6)),Color3.new(0,0,math.random(0.2,1)),"Code")
  9021. if math.random(1,2) == 1 then
  9022. MAINRUINCOLOR = BrickColor.new("Really black")
  9023. refec.Color = ColorSequence.new(BrickColor.new("Really black").Color)
  9024. for i, v in pairs(extrawingmod2:GetChildren()) do
  9025. if v:IsA("Part") then
  9026. v.Transparency = 0
  9027. v.BrickColor = BrickColor.new("Navy blue")
  9028. v.Material = "Neon"
  9029. end
  9030. end
  9031. for i, v in pairs(extrawingmod1:GetChildren()) do
  9032. if v:IsA("Part") then
  9033. v.Transparency = 0
  9034. v.BrickColor = BrickColor.new("Really black")
  9035. v.Material = "Neon"
  9036. end
  9037. end
  9038. end
  9039. end
  9040. end))
  9041. coroutine.resume(coroutine.create(function()
  9042. if chaosmode == true then
  9043. for i, v in pairs(mw1:GetChildren()) do
  9044. if v:IsA("Part") then
  9045. v.Transparency = 0
  9046. v.BrickColor = BrickColor.random()
  9047. v.Material = "Neon"
  9048. end
  9049. end
  9050. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9051. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9052. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9053. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  9054. end
  9055. end))
  9056.  
  9057. if chaosmode == false and CRAZED == false and Error == false then
  9058. modet.Position = UDim2.new(0,0,0,0)
  9059. modet.Rotation = -5 * math.cos(sine / 32)
  9060. techc.Rotation = techc.Rotation + 1
  9061. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/100 - 1
  9062. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/75 + 1
  9063. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/75 + 1
  9064. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/50 - 1
  9065. wobble.Rotation = 0 - 1 * math.cos(sine / 24)
  9066. wobble.BackgroundColor3 = modet.TextColor3
  9067. wobble.BorderColor3 = modet.TextStrokeColor3
  9068. wobble.BorderSizePixel = 2
  9069. wobble2.Rotation = 0 - 1 * math.cos(sine / 30)
  9070. wobble2.BackgroundColor3 = modet.TextStrokeColor3
  9071. wobble2.BorderColor3 = modet.TextColor3
  9072. wobble2.BorderSizePixel = 2
  9073. TextFrame.TextColor3 = modet.TextColor3
  9074. TextFrame.TextStrokeColor3 = modet.TextStrokeColor3
  9075. TextFrame.TextStrokeTransparency = 0
  9076. TextFrame.Rotation = 0 - 2 * math.cos(sine / 30)
  9077. TextFrame.Position = UDim2.new(0.48,0 - 10 * math.cos(sine / 50),0.867,0 - 10 * math.cos(sine / 50))
  9078. DamageFrame.Rotation = 6 - 2 * math.cos(sine / 35)
  9079. DamageFrame.TextColor3 = modet.TextColor3
  9080. DamageFrame.TextStrokeColor3 = modet.TextStrokeColor3
  9081. DamageFrame.TextStrokeTransparency = 0
  9082. ModeFrame.Rotation = 6 - 2 * math.cos(sine / 35)
  9083. ModeFrame.TextColor3 = modet.TextColor3
  9084. ModeFrame.TextStrokeColor3 = modet.TextStrokeColor3
  9085. ModeFrame.TextStrokeTransparency = 0
  9086. Visuals.Rotation = Visuals.Rotation + 1
  9087. Visuals.BackgroundColor3 = modet.TextStrokeColor3
  9088. Visuals.BorderColor3 = modet.TextColor3
  9089. Visuals.BorderSizePixel = 4
  9090. glow.ImageColor3 = modet.TextStrokeColor3
  9091. Visuals2.Rotation = Visuals2.Rotation - 1
  9092. Visuals2.BackgroundColor3 = modet.TextStrokeColor3
  9093. Visuals2.BorderColor3 = modet.TextColor3
  9094. Visuals2.BorderSizePixel = 4
  9095. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  9096. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  9097. elseif chaosmode == true then
  9098. techc.Rotation = techc.Rotation + 1
  9099. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  9100. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  9101. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  9102. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  9103. TextFrame.TextColor3 = modet.TextColor3
  9104. TextFrame.TextStrokeColor3 = modet.TextStrokeColor3
  9105. TextFrame.TextStrokeTransparency = 0
  9106. TextFrame.Rotation = 0 + math.random(-3,3)
  9107. TextFrame.Position = UDim2.new(0.48,0 + math.random(-3,3),0.867,0 + math.random(-3,3)) -- backori
  9108. DamageFrame.Rotation = 6 + math.random(-2,2)
  9109. DamageFrame.TextColor3 = modet.TextColor3
  9110. DamageFrame.TextStrokeColor3 = modet.TextStrokeColor3
  9111. DamageFrame.TextStrokeTransparency = 0
  9112. ModeFrame.Rotation = 6 + math.random(-2,2)
  9113. ModeFrame.TextColor3 = modet.TextColor3
  9114. ModeFrame.TextStrokeColor3 = modet.TextStrokeColor3
  9115. ModeFrame.TextStrokeTransparency = 0
  9116. glow.ImageColor3 = modet.TextStrokeColor3
  9117. wobble.Rotation = 0 - 2 * math.cos(sine / 24)
  9118. wobble2.Rotation = 0 - 2 * math.cos(sine / 30)
  9119. wobble2.BackgroundColor3 = modet.TextStrokeColor3
  9120. wobble2.BorderColor3 = modet.TextColor3
  9121. wobble2.BorderSizePixel = 2
  9122. Visuals.Rotation = Visuals.Rotation + math.random(-5,5)
  9123. Visuals2.Rotation = Visuals2.Rotation + math.random(-10,10)
  9124. Visuals.BackgroundColor3 = modet.TextStrokeColor3
  9125. Visuals.BorderColor3 = modet.TextColor3
  9126. Visuals2.BackgroundColor3 = modet.TextStrokeColor3
  9127. Visuals2.BorderColor3 = modet.TextColor3
  9128. wobble.BackgroundColor3 = modet.TextColor3
  9129. wobble.BorderColor3 = modet.TextStrokeColor3
  9130. wobble.BorderSizePixel = 2
  9131. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  9132. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  9133. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  9134. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  9135. elseif Error == true then
  9136. techc.Rotation = techc.Rotation + 15
  9137. circl.Rotation = circl.Rotation - 15 - kan.PlaybackLoudness/50 + math.random(-11,11)
  9138. circl2.Rotation = circl2.Rotation + 15 + kan.PlaybackLoudness/25 + math.random(-11,11)
  9139. imgl2.Rotation = imgl2.Rotation - 15 - kan.PlaybackLoudness/25 + math.random(-11,11)
  9140. imgl2b.Rotation = imgl2b.Rotation + 15 + kan.PlaybackLoudness/12.5 + math.random(-11,11)
  9141. TextFrame.TextColor3 = modet.TextColor3
  9142. TextFrame.TextStrokeColor3 = modet.TextStrokeColor3
  9143. TextFrame.TextStrokeTransparency = 0
  9144. TextFrame.Rotation = 0 + math.random(-11,11)
  9145. TextFrame.Position = UDim2.new(0.48,0 + math.random(-9,9),0.867,0 + math.random(-9,9)) -- backori
  9146. DamageFrame.Rotation = 18 + math.random(-9,9)
  9147. DamageFrame.TextColor3 = modet.TextColor3
  9148. DamageFrame.TextStrokeColor3 = modet.TextStrokeColor3
  9149. DamageFrame.TextStrokeTransparency = 0
  9150. ModeFrame.Rotation = 18 + math.random(-9,9)
  9151. ModeFrame.TextColor3 = modet.TextColor3
  9152. ModeFrame.TextStrokeColor3 = modet.TextStrokeColor3
  9153. ModeFrame.TextStrokeTransparency = 0
  9154. glow.ImageColor3 = modet.TextStrokeColor3
  9155. wobble.Rotation = 0 - 7.5 * math.cos(sine / 24)
  9156. wobble2.Rotation = 0 - 8 * math.cos(sine / 30)
  9157. wobble2.BackgroundColor3 = modet.TextStrokeColor3
  9158. wobble2.BorderColor3 = modet.TextColor3
  9159. wobble2.BorderSizePixel = 2
  9160. Visuals.Rotation = math.random(-35,35)
  9161. Visuals2.Rotation = math.random(-45,45)
  9162. Visuals.BackgroundColor3 = modet.TextStrokeColor3
  9163. Visuals.BorderColor3 = modet.TextColor3
  9164. Visuals2.BackgroundColor3 = modet.TextStrokeColor3
  9165. Visuals2.BorderColor3 = modet.TextColor3
  9166. wobble.BackgroundColor3 = modet.TextColor3
  9167. wobble.BorderColor3 = modet.TextStrokeColor3
  9168. wobble.BorderSizePixel = 2
  9169. ned.Rotation = 0 -6 * math.cos(sine / 1) + math.random(-9,9)
  9170. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-9,9))
  9171. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-4,4))
  9172. modet.Rotation = -6 * math.cos(sine / 1) + math.random(-9,9)
  9173. elseif CRAZED == true then
  9174. techc.Rotation = techc.Rotation + 3
  9175. circl.Rotation = circl.Rotation - 5 - kan.PlaybackLoudness/125 + math.random(-2,2)
  9176. circl2.Rotation = circl2.Rotation + 5 + kan.PlaybackLoudness/100 + math.random(-2,2)
  9177. imgl2.Rotation = imgl2.Rotation - 5 - kan.PlaybackLoudness/100 + math.random(-2,2)
  9178. imgl2b.Rotation = imgl2b.Rotation + 5 + kan.PlaybackLoudness/75 + math.random(-2,2)
  9179. TextFrame.TextColor3 = modet.TextColor3
  9180. TextFrame.TextStrokeColor3 = modet.TextStrokeColor3
  9181. TextFrame.TextStrokeTransparency = 0
  9182. TextFrame.Rotation = 0 + math.random(-4,4)
  9183. TextFrame.Position = UDim2.new(0.48,0 + math.random(-4,4),0.867,0 + math.random(-4,4)) -- backori
  9184. DamageFrame.Rotation = 6 + math.random(-4,4)
  9185. DamageFrame.TextColor3 = modet.TextColor3
  9186. DamageFrame.TextStrokeColor3 = modet.TextStrokeColor3
  9187. DamageFrame.TextStrokeTransparency = 0
  9188. ModeFrame.Rotation = 6 + math.random(-4,4)
  9189. ModeFrame.TextColor3 = modet.TextColor3
  9190. ModeFrame.TextStrokeColor3 = modet.TextStrokeColor3
  9191. ModeFrame.TextStrokeTransparency = 0
  9192. glow.ImageColor3 = modet.TextStrokeColor3
  9193. wobble.Rotation = 0 - 4 * math.cos(sine / 24)
  9194. wobble2.Rotation = 0 - 4 * math.cos(sine / 30)
  9195. wobble2.BackgroundColor3 = modet.TextStrokeColor3
  9196. wobble2.BorderColor3 = modet.TextColor3
  9197. wobble2.BorderSizePixel = 2
  9198. Visuals.Rotation = Visuals.Rotation + math.random(-7,7)
  9199. Visuals2.Rotation = Visuals2.Rotation + math.random(-12,12)
  9200. Visuals.BackgroundColor3 = modet.TextStrokeColor3
  9201. Visuals.BorderColor3 = modet.TextColor3
  9202. Visuals2.BackgroundColor3 = modet.TextStrokeColor3
  9203. Visuals2.BorderColor3 = modet.TextColor3
  9204. wobble.BackgroundColor3 = modet.TextColor3
  9205. wobble.BorderColor3 = modet.TextStrokeColor3
  9206. wobble.BorderSizePixel = 2
  9207. ned.Rotation = 0 -4 * math.cos(sine / 1) + math.random(-4,4)
  9208. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-4,4))
  9209. modet.Position = UDim2.new(0,math.random(-2,2),0,math.random(-2,2))
  9210. modet.Rotation = -4 * math.cos(sine / 1) + math.random(-4,4)
  9211. end
  9212. if rainbowmode == true then
  9213. RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(1,1,1),"Highway")
  9214. MAINRUINCOLOR = BrickColor.new("White")
  9215. modet.TextColor3 = Color3.new(r/255,g/255,b/255)
  9216. refec.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  9217. tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  9218. tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  9219. tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  9220. tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  9221. tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  9222. tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  9223. for i, v in pairs(m:GetChildren()) do
  9224. if v:IsA("Part") then
  9225. v.Color = Color3.new(r/255,g/255,b/255)
  9226. end
  9227. end
  9228. for i, v in pairs(m2:GetChildren()) do
  9229. if v:IsA("Part") then
  9230. v.Color = Color3.new(r/255,g/255,b/255)
  9231. end
  9232. end
  9233. for i, v in pairs(m3:GetChildren()) do
  9234. if v:IsA("Part") then
  9235. v.Color = Color3.new(r/255,g/255,b/255)
  9236. end
  9237. end
  9238. for i, v in pairs(mw1:GetChildren()) do
  9239. if v:IsA("Part") then
  9240. v.Color = Color3.new(r/255,g/255,b/255)
  9241. v.Material = "Neon"
  9242. end
  9243. end
  9244. for i, v in pairs(mw2:GetChildren()) do
  9245. if v:IsA("Part") then
  9246. v.Color = Color3.new(r/255,g/255,b/255)
  9247. v.Material = "Neon"
  9248. end
  9249. end
  9250. end
  9251.  
  9252. CameraManager()
  9253.  
  9254. swait()
  9255. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 146536 and ModeOfGlitch ~= 6518594185 and ModeOfGlitch ~= 71 and ModeOfGlitch ~= 676767 and ModeOfGlitch ~= 102341 and ModeOfGlitch ~= 61 and ModeOfGlitch ~= 999 and ModeOfGlitch ~= 3434 and ModeOfGlitch ~= 453453484635345 and ModeOfGlitch ~= 3444 and ModeOfGlitch ~= 103 and ModeOfGlitch ~= 102 and ModeOfGlitch ~= 101 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 8889 and ModeOfGlitch ~= 664663666 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then
  9256. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9257. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9258. 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)
  9259. 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)
  9260. 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)
  9261. 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)
  9262. 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)
  9263. 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)
  9264. elseif ModeOfGlitch == 676767 then
  9265. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9266. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9267. lwing1weld.C1=clerp(lwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3)
  9268. lwing2weld.C1=clerp(lwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3)
  9269. lwing3weld.C1=clerp(lwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3)
  9270. rwing1weld.C1=clerp(rwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3)
  9271. rwing2weld.C1=clerp(rwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3)
  9272. rwing3weld.C1=clerp(rwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3)
  9273. lwing4weld.C1=clerp(lwing4weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 - 3600 * math.cos(sine / 360))),.3)
  9274. lwing5weld.C1=clerp(lwing5weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 - 3600 * math.cos(sine / 360))),.3)
  9275. lwing6weld.C1=clerp(lwing6weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 - 3600 * math.cos(sine / 360))),.3)
  9276. rwing4weld.C1=clerp(rwing4weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3)
  9277. rwing5weld.C1=clerp(rwing5weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3)
  9278. rwing6weld.C1=clerp(rwing6weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3)
  9279. elseif ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999 then
  9280. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9281. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9282. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3)
  9283. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3)
  9284. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3)
  9285. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3)
  9286. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3)
  9287. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3)
  9288. elseif ModeOfGlitch == 3434 then
  9289. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9290. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9291. 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)
  9292. 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)
  9293. 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)
  9294. 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)
  9295. 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)
  9296. 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)
  9297. lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 - 3600 * math.cos(sine / 360))),.3)
  9298. lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 - 3600 * math.cos(sine / 360))),.3)
  9299. lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 - 3600 * math.cos(sine / 360))),.3)
  9300. rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3)
  9301. rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3)
  9302. rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3)
  9303. elseif ModeOfGlitch == 453453484635345 then
  9304. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9305. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9306. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
  9307. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
  9308. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
  9309. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 - 3600 * math.cos(sine / 720))),.3)
  9310. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 - 3600 * math.cos(sine / 720))),.3)
  9311. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 - 3600 * math.cos(sine / 720))),.3)
  9312. lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 - 3600 * math.cos(sine / 360))),.3)
  9313. lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 - 3600 * math.cos(sine / 360))),.3)
  9314. lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 - 3600 * math.cos(sine / 360))),.3)
  9315. rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3)
  9316. rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3)
  9317. rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3)
  9318. elseif ModeOfGlitch == 8889 or ModeOfGlitch == 71 or ModeOfGlitch == 664663666 or ModeOfGlitch == 88893333388 then
  9319. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9320. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9321. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
  9322. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
  9323. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
  9324. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 - 3600 * math.cos(sine / 720))),.3)
  9325. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 - 3600 * math.cos(sine / 720))),.3)
  9326. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 - 3600 * math.cos(sine / 720))),.3)
  9327. elseif ModeOfGlitch == 3444 then
  9328. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0.25)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9329. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50) - math.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3)
  9330. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70) - math.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3)
  9331. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60) - math.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3)
  9332. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50) - math.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3)
  9333. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70) - math.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3)
  9334. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60) - math.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3)
  9335. elseif ModeOfGlitch == 102 then
  9336. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9337. handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.25 * math.cos(sine / 63),0 + 0.25 * math.cos(sine / 70),0 + 0.05 * math.cos(sine / 57))*angles(math.rad(0 + 2 * math.cos(sine / 55)),math.rad(0 + 2 * math.cos(sine / 46)),math.rad(0 + 2 * math.cos(sine / 32))),.3)
  9338. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 42)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 5 * math.cos(sine / 56))),.3)
  9339. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(130 + 5 * math.cos(sine / 56))),.3)
  9340. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 48)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(50 + 5 * math.cos(sine / 56))),.3)
  9341. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 46)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 5 * math.cos(sine / 56))),.3)
  9342. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-130 - 5 * math.cos(sine / 56))),.3)
  9343. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 40)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-50 - 5 * math.cos(sine / 56))),.3)
  9344. lwing4weld.C1=clerp(lwing4weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
  9345. lwing5weld.C1=clerp(lwing5weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
  9346. lwing6weld.C1=clerp(lwing6weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
  9347. elseif ModeOfGlitch == 103 then
  9348. handleweld.C0=clerp(handleweld.C0,cf(0,-1.5,-1.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.3)
  9349. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
  9350. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
  9351. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
  9352. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 - 3600 * math.cos(sine / 720))),.3)
  9353. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 - 3600 * math.cos(sine / 720))),.3)
  9354. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 - 3600 * math.cos(sine / 720))),.3)
  9355. lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 - 3600 * math.cos(sine / 360))),.3)
  9356. lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 - 3600 * math.cos(sine / 360))),.3)
  9357. lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 - 3600 * math.cos(sine / 360))),.3)
  9358. rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3)
  9359. rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3)
  9360. rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3)
  9361. elseif ModeOfGlitch == 102341 then
  9362. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,-0.4)*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)
  9363. lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,-0.4)*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)
  9364. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,-0.4)*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)
  9365. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,-0.4)*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)
  9366. rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,-0.4)*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)
  9367. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,-0.3)*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)
  9368. lwing4weld.C1=clerp(lwing4weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(360 + 720 * math.cos(sine / 65))),.3)
  9369. lwing5weld.C1=clerp(lwing5weld.C1,cf(0,0 - 1 * math.cos(sine / 32.5),-0.8)*angles(math.rad(0 + 5 * math.cos(sine / 32.5)),math.rad(0),math.rad(360)),.3)
  9370. lwing6weld.C1=clerp(lwing6weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(180 + 720 * math.cos(sine / 65))),.3)
  9371. rwing4weld.C1=clerp(rwing4weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(-90 + 720 * math.cos(sine / 65))),.3)
  9372. rwing5weld.C1=clerp(rwing5weld.C1,cf(0,-1 + 1 * math.cos(sine / 32.5),-0.9)*angles(math.rad(0 + 5 * math.cos(sine / 32.5)),math.rad(0),math.rad(180)),.3)
  9373. rwing6weld.C1=clerp(rwing6weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),-0.9)*angles(math.rad(0),math.rad(0),math.rad(90 + 720 * math.cos(sine / 65))),.3)
  9374. elseif ModeOfGlitch == 101 then
  9375. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9376. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9377. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
  9378. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
  9379. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
  9380. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 - 3600 * math.cos(sine / 720))),.3)
  9381. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 - 3600 * math.cos(sine / 720))),.3)
  9382. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 - 3600 * math.cos(sine / 720))),.3)
  9383. lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 - 3600 * math.cos(sine / 360))),.3)
  9384. lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 - 3600 * math.cos(sine / 360))),.3)
  9385. lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 - 3600 * math.cos(sine / 360))),.3)
  9386. rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3)
  9387. rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3)
  9388. rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3)
  9389. elseif ModeOfGlitch == 61 then
  9390. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9391. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9392. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 160))),.3)
  9393. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 160))),.3)
  9394. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 160))),.3)
  9395. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 1.5 * math.cos(sine / 230),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 - 3600 * math.cos(sine / 550))),.3)
  9396. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 1.5 * math.cos(sine / 230),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 - 3600 * math.cos(sine / 550))),.3)
  9397. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 1.5 * math.cos(sine / 230),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 - 3600 * math.cos(sine / 550))),.3)
  9398. lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 - 3600 * math.cos(sine / 160))),.3)
  9399. lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 - 3600 * math.cos(sine / 160))),.3)
  9400. lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 - 3600 * math.cos(sine / 160))),.3)
  9401. rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 160))),.3)
  9402. rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 160))),.3)
  9403. rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 160))),.3)
  9404. elseif ModeOfGlitch == 999999999556 then
  9405. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9406. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9407. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 4500 * math.cos(sine / 280))),.3)
  9408. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 4500 * math.cos(sine / 280))),.3)
  9409. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 4500 * math.cos(sine / 280))),.3)
  9410. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 4500 * math.cos(sine / 280))),.3)
  9411. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 4500 * math.cos(sine / 280))),.3)
  9412. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 4500 * math.cos(sine / 280))),.3)
  9413. lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 - 4500 * math.cos(sine / 280))),.3)
  9414. lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 - 4500 * math.cos(sine / 280))),.3)
  9415. lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 - 4500 * math.cos(sine / 280))),.3)
  9416. rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 4500 * math.cos(sine / 280))),.3)
  9417. rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 4500 * math.cos(sine / 280))),.3)
  9418. rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 4500 * math.cos(sine / 280))),.3)
  9419. elseif ModeOfGlitch == 146536 then
  9420. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9421. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9422. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 + 1 * math.cos(sine / 1)),math.rad(0 - 1),1 + 1),.3)
  9423. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 2),1 + 2),.3)
  9424. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 3),1 + 3),.3)
  9425. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 4),1 + 4),.3)
  9426. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 5),1 + 5),.3)
  9427. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 6),1 + 6),.3)
  9428. lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 27),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 7),1 + 7),.3)
  9429. lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 28),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 8),1 + 8),.3)
  9430. lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 29),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 9),1 + 9),.3)
  9431. rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 30),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 10),1 + 10),.3)
  9432. rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 31),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 11),1 + 11),.3)
  9433. rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 32),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 12),1 + 12),.3)
  9434. elseif ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 6518594185 then
  9435. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9436. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9437. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3)
  9438. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3)
  9439. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3)
  9440. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3)
  9441. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3)
  9442. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3)
  9443. lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 - 3600 * math.cos(sine / 360))),.3)
  9444. lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 - 3600 * math.cos(sine / 360))),.3)
  9445. lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 - 3600 * math.cos(sine / 360))),.3)
  9446. rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3)
  9447. rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3)
  9448. rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3)
  9449. end
  9450. sine = sine + change
  9451. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  9452. local velderp=RootPart.Velocity.y
  9453. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  9454. coroutine.resume(coroutine.create(function()
  9455. if ModeOfGlitch == 71 then
  9456. if hitfloor ~= nil then
  9457. sphere2(3,"Add",root.CFrame*CFrame.new(0,-3,0),vt(3,0.55,3),0.025,-0.01,0.025,MAINRUINCOLOR)
  9458. end
  9459. end
  9460. end))
  9461. coroutine.resume(coroutine.create(function()
  9462. if ModeOfGlitch == 6 or ModeOfGlitch == 102341 or ModeOfGlitch == 6518594185 or ModeOfGlitch == 999 or ModeOfGlitch == 453453484635345 or ModeOfGlitch == 3434 or ModeOfGlitch == 1055 or ModeOfGlitch == 103 or ModeOfGlitch == 61 or ModeOfGlitch == 3444 or ModeOfGlitch == 101 or ModeOfGlitch == 8 or ModeOfGlitch == 664663666 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 808080808080808080808080 then
  9463. if hitfloor ~= nil then
  9464. effar.Enabled = true
  9465. effar.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  9466. 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"))
  9467. if ModeOfGlitch == 1264532489 or ModeOfGlitch == 999 or ModeOfGlitch == 103 or ModeOfGlitch == 61 or ModeOfGlitch == 101 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 808080808080808080808080 then
  9468. 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)
  9469. end
  9470. if ModeOfGlitch == 808080808080808080808080 then
  9471. 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,350)/250,BrickColor.new("Alder"))
  9472. elseif ModeOfGlitch == 765688533321 then
  9473. 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,350)/250,BrickColor.new("Really red"))
  9474. elseif ModeOfGlitch == 103 then
  9475. 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,350)/250,BrickColor.new("Really black"))
  9476. elseif ModeOfGlitch == 61 then
  9477. 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,350)/250,MAINRUINCOLOR)
  9478. elseif ModeOfGlitch == 1264532489 then
  9479. 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,350)/250,BrickColor.new("Deep orange"))
  9480. elseif ModeOfGlitch == 102341 then
  9481. 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,350)/250,BrickColor.new("New Yeller"))
  9482. elseif ModeOfGlitch == 6518594185 then
  9483. 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,350)/250,BrickColor.new("Hot pink"))
  9484. elseif ModeOfGlitch == 999999999556 then
  9485. 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,350)/250,BrickColor.new("Really black"))
  9486. 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,350)/250,BrickColor.new("Really black")
  9487.  
  9488. )end
  9489. elseif hitfloor == nil then
  9490. effar.Enabled = false
  9491. end
  9492. elseif ModeOfGlitch ~= 6 and ModeOfGlitch ~= 3444 and ModeOfGlitch ~= 103 and ModeOfGlitch ~= 101 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 664663666 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 8889 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 808080808080808080808080 then
  9493. effar.Enabled = false
  9494. end
  9495. end))
  9496. if equipped==true or equipped==false then
  9497. if attack==false then
  9498. idle=idle+1
  9499. else
  9500. idle=0
  9501. end
  9502. if idle>=500 then
  9503. if attack==false then
  9504. --Sheath()
  9505. end
  9506. end
  9507. if RootPart.Velocity.y > 1 and hitfloor==nil then
  9508. Anim="Jump"
  9509. if attack==false then
  9510. 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)
  9511. 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)
  9512. 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)
  9513. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  9514. 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)
  9515. 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)
  9516. end
  9517. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  9518. Anim="Fall"
  9519. if attack==false then
  9520. 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)
  9521. 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)
  9522. 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)
  9523. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  9524. 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)
  9525. 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)
  9526. end
  9527. elseif torvel<1 and hitfloor~=nil then
  9528. Anim="Idle"
  9529. if attack==false then
  9530. if ModeOfGlitch == 1 then
  9531. local snap = math.random(1,10)
  9532. if snap == 1 then
  9533. 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)
  9534. end
  9535. 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)
  9536. 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)
  9537. 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)
  9538. 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)
  9539. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1)
  9540. 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)
  9541. elseif ModeOfGlitch == 676767 then
  9542. local snap = math.random(1,10)
  9543. if snap == 1 then
  9544. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
  9545. end
  9546. sphere2(8,"Add",rleg.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)
  9547. sphere2(8,"Add",lleg.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)
  9548. 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)
  9549. 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("Alder"),Color3.new(0.7,0.7,1))
  9550. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-14 - 5 * math.cos(sine / 48))),.1)
  9551. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 7 * math.cos(sine / 51))),.1)
  9552. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6 + 0.5 * math.cos(sine / 24))*angles(math.rad(10 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9553. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 1 * math.cos(sine / 0.5265)),math.rad(0 - 1 * math.cos(sine / 0.25)),math.rad(0 - 1 * math.cos(sine / 0.465))),.1)
  9554. 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)
  9555. LW.C0=clerp(LW.C0,cf(-1.3,0.7,0)*angles(math.rad(0 + 1 * math.cos(sine / 0.568)),math.rad(15 - 5 * math.cos(sine / 24)),math.rad(-145 - 15 * math.cos(sine / 24))),.1)
  9556. elseif ModeOfGlitch == 2 then
  9557. 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)
  9558. 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)
  9559. 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)
  9560. 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)
  9561. 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)
  9562. 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)
  9563. elseif ModeOfGlitch == 453453484635345 then
  9564. 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,BrickColor.new("Institutional white"),BrickColor.new("Dark stone grey").Color)
  9565. 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)
  9566. 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)
  9567. 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)
  9568. 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)
  9569. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1)
  9570. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(90 - 4 * math.cos(sine / 45))),.1)
  9571. elseif ModeOfGlitch == 3 then
  9572. local snap = math.random(1,32)
  9573. if snap == 1 then
  9574. 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)
  9575. end
  9576. 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)
  9577. 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)
  9578. 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)
  9579. 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)
  9580. 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)
  9581. 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)
  9582. elseif ModeOfGlitch == 146536 then
  9583. RH.C0=clerp(RH.C0,cf(1, -1 - 0.025 * math.cos(sine/12), -0.01)*angles(math.rad(0),math.rad(83),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  9584. LH.C0=clerp(LH.C0,cf(-1, -1 - 0.05 * math.cos(sine/12), -0.01)*angles(math.rad(0),math.rad(-83),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  9585. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0, 0, 0 + 0.05 * math.cos(sine / 12))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  9586. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(15 - 2.5 * math.sin(sine / 12)),math.rad(0),math.rad(0)),0.1)
  9587. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.125 * math.cos(sine / 12),-0.45)*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)
  9588. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.125 * math.cos(sine / 12),-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)
  9589. elseif ModeOfGlitch == 3434 then -- bacc
  9590. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(2 + Cos(sine / 70) * Cos(sine / 28) - 2, 0 , 5 + 1* Player_Size * Cos(sine / 24)) * angles(Rad(0 + 0.5 * Cos(sine / 20)), Rad(0), Rad(0)), 0.1)
  9591. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(3 - 3 * Cos(sine / 16))), 0.1)
  9592. 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)
  9593. 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)
  9594. 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)
  9595. 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)
  9596.  
  9597. elseif ModeOfGlitch == 102 then
  9598. 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(0),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  9599. LH.C0=clerp(LH.C0,cf(-1,-1.1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-7),math.rad(-90),math.rad(0))*angles(math.rad(5 + 2 * math.cos(sine / 32)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  9600. 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)
  9601. 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 + 7 * math.cos(sine / 53))),.1)
  9602. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*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)
  9603. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*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)
  9604. elseif ModeOfGlitch == 4 then
  9605. local snap = math.random(1,5)
  9606. if snap == 1 then
  9607. 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)
  9608. 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)
  9609. 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)
  9610. end
  9611. 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)
  9612. 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)
  9613. 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)
  9614. 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)
  9615. 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)
  9616. 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)
  9617. elseif ModeOfGlitch == 5 then
  9618. 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)
  9619. 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)
  9620. 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)
  9621. 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)
  9622. 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)
  9623. 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)
  9624. elseif ModeOfGlitch == 3444 then
  9625. 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) - 5 * math.cos(sine / 1)),math.rad(0 - 1 * math.cos(sine / 56) - 5 * math.cos(sine / 1)),math.rad(-18 - 5 * math.cos(sine / 32) - 5 * math.cos(sine / 1))),.1)
  9626. 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) - 5 * math.cos(sine / 1)),math.rad(0 - 1 * math.cos(sine / 56) - 5 * math.cos(sine / 1)),math.rad(31 + 8 * math.cos(sine / 38) - 5 * math.cos(sine / 1))),.1)
  9627. 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) - 5 * math.cos(sine / 1)),math.rad(8 - 5 * math.cos(sine / 1)),math.rad(0 - 5 * math.cos(sine / 1))),.1)
  9628. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(15 - 2.5 * math.cos(sine / 30) - 5 * math.cos(sine / 1)), math.rad(20 - 5 * math.cos(sine / 1)), math.rad(0 - 5 * math.cos(sine / 1))), 0.08)
  9629. 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) - 5 * math.cos(sine / 1)),math.rad(1 - 3 * math.cos(sine / 53) - 5 * math.cos(sine / 1)),math.rad(33 + 10 * math.cos(sine / 73) - 5 * math.cos(sine / 1))),.1)
  9630. 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) - 5 * math.cos(sine / 1)),math.rad(2 - 1 * math.cos(sine / 55) - 5 * math.cos(sine / 1)),math.rad(-27 - 6 * math.cos(sine / 33) - 5 * math.cos(sine / 1))),.1)
  9631. elseif ModeOfGlitch == 090 then --RAINBOW Idle
  9632. 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(0 + 1 * math.cos(sine / 34))),.1)
  9633. 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)
  9634. 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)
  9635. 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)
  9636. 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)
  9637. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(172 - 7 * math.cos(sine / 58)),math.rad(1 - 5 * math.cos(sine / 55)),math.rad(19 - 3 * math.cos(sine / 45))),.2)
  9638. elseif ModeOfGlitch == 102341 then -- Theories --
  9639. 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,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  9640. 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("Cyan"),BrickColor.new("Cyan").Color)
  9641. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-10,5),8)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),0.5,0.5,20,-0.0075,MAINRUINCOLOR,0)
  9642. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.65)*angles(math.rad(-15),math.rad(84),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
  9643. LH.C0=clerp(LH.C0,cf(-1,-1,-0.2)*angles(math.rad(-10),math.rad(-84),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
  9644. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),2 + 0.15 * math.cos(sine / 32))*angles(math.rad(-5 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9645. 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)
  9646. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-15 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(20 + 2 * math.cos(sine / 45))),.1)
  9647. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-15 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-24.5 - 4 * math.cos(sine / 45))),.1)
  9648. elseif ModeOfGlitch == 664663666 then --verybio
  9649. local snap = math.random(1,5)
  9650. if snap == 1 then
  9651. 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)
  9652. 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)
  9653. end
  9654. 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)
  9655. 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)
  9656. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25 + 0.02 * math.cos(sine / 32),1 + 0.1 * math.cos(sine / 32))*angles(math.rad(25 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9657. 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)
  9658. 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)
  9659. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  9660. elseif ModeOfGlitch == 6 then
  9661. 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)
  9662. 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)
  9663. 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)
  9664. 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)
  9665. 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)
  9666. 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)
  9667. elseif ModeOfGlitch == 8 then
  9668. 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)
  9669. 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)
  9670. 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)
  9671. 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)
  9672. 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)
  9673. 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)
  9674. elseif ModeOfGlitch == 9 then
  9675. 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)
  9676. 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))
  9677. 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)
  9678. 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)
  9679. 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)
  9680. 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)
  9681. 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)
  9682. 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)
  9683. elseif ModeOfGlitch == 71 then
  9684. 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)
  9685. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  9686. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  9687. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(18)),.1)
  9688. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(-18)),.1)
  9689. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(36 - 7 * math.cos(sine / 34)),math.rad(0 - 6 * math.cos(sine / 45)),math.rad(-80 + 2 * math.cos(sine / 28))),.1)
  9690. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(0 + 3 * math.cos(sine / 49)),math.rad(10 + 2 * math.cos(sine / 52)),math.rad(-5 - 3 * math.cos(sine / 39))),.1)
  9691. elseif ModeOfGlitch == 8889 then
  9692. 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)
  9693. 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)
  9694. 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)
  9695. 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)
  9696. 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)
  9697. 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)
  9698. elseif ModeOfGlitch == 88893333388 then
  9699. 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 - 9 * math.cos(sine / 51))),.1)
  9700. 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 + 7 * math.cos(sine / 44))),.1)
  9701. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1.5 + 0.25 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(13)),.1)
  9702. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(24 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-13 + 2 * math.cos(sine / 53))),.1)
  9703. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(68 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  9704. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(82 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  9705. elseif ModeOfGlitch == 103 then
  9706. sphere2(8,"Add",LeftArm.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("Really black"),BrickColor.new("Deep orange").Color)
  9707. 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 - 9 * math.cos(sine / 51))),.1)
  9708. 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 + 7 * math.cos(sine / 44))),.1)
  9709. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 47),0 + 0.25 * math.cos(sine / 35),7 + 1 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(13)),.1)
  9710. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(24 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-13 + 2 * math.cos(sine / 53))),.1)
  9711. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(68 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  9712. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(149 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-17 - 4 * math.cos(sine / 45))),.1)
  9713. elseif ModeOfGlitch == 808080808080808080808080 then
  9714. sphere2(8,"Add",rleg.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("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  9715. sphere2(8,"Add",lleg.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("Alder"),BrickColor.new("Alder").Color)
  9716. 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 - 9 * math.cos(sine / 51))),.1)
  9717. 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 + 7 * math.cos(sine / 44))),.1)
  9718. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 47),0 + 0.25 * math.cos(sine / 35),7 + 1 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(13)),.1)
  9719. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(24 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-13 + 2 * math.cos(sine / 53))),.1)
  9720. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(68 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  9721. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(82 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  9722. elseif ModeOfGlitch == 6518594185 then
  9723. sphere2(8,"Add",rleg.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("Hot pink"),BrickColor.new("Light blue").Color)
  9724. sphere2(8,"Add",lleg.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("New Yeller"),BrickColor.new("Really blue").Color)
  9725. 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 - 9 * math.cos(sine / 51))),.1)
  9726. 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 + 7 * math.cos(sine / 44))),.1)
  9727. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 47),0 + 0.25 * math.cos(sine / 35),7 + 1 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(13)),.1)
  9728. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(24 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-13 + 2 * math.cos(sine / 53))),.1)
  9729. 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)
  9730. 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)
  9731. elseif ModeOfGlitch == 1264532489 then
  9732. sphere2(8,"Add",rleg.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("Deep orange"),BrickColor.new("Deep orange").Color)
  9733. sphere2(8,"Add",lleg.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("Toothpaste"),BrickColor.new("Toothpaste").Color)
  9734. 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)
  9735. 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)
  9736. 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)
  9737. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 43),0 - 0.25 * math.cos(sine / 53),6 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9738. 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)
  9739. 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)
  9740. 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)
  9741. elseif ModeOfGlitch == 101 then
  9742. sphere2(8,"Add",rleg.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("Bright bluish green"),BrickColor.new("Bright bluish green").Color)
  9743. sphere2(8,"Add",lleg.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("Really black"),BrickColor.new("Black").Color)
  9744. 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,BrickColor.new("Black"),BrickColor.new("Black").Color)
  9745. 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,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  9746. 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)
  9747. 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)
  9748. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 43),0 - 0.25 * math.cos(sine / 53),6 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9749. 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)
  9750. 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)
  9751. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(13 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-23 - 4 * math.cos(sine / 45))),.1)
  9752. elseif ModeOfGlitch == 61 then
  9753. local snap = math.random(1,4)
  9754. if snap == 1 then
  9755. 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)
  9756. end
  9757. sphere2(8,"Add",rleg.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)
  9758. sphere2(8,"Add",lleg.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)
  9759. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(20),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)
  9760. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(20),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)
  9761. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 43),0 - 0.25 * math.cos(sine / 53),6 + 1 * math.cos(sine / 32))*angles(math.rad(20 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9762. 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)
  9763. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(130 + 6 * math.cos(sine / 72) + MRANDOM(-20,20)),math.rad(3 - 2 * math.cos(sine / 58) + MRANDOM(-20,20)),math.rad(-38 + 2 * math.cos(sine / 45) + MRANDOM(-20,20))),.1)
  9764. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(130 - 7 * math.cos(sine / 66) + MRANDOM(-20,20)),math.rad(4 - 3 * math.cos(sine / 59) + MRANDOM(-20,20)),math.rad(33 - 4 * math.cos(sine / 45) + MRANDOM(-20,20))),.1)
  9765. elseif ModeOfGlitch == 1055 then
  9766. 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)
  9767. 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)
  9768. 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)
  9769. 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)
  9770. 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)
  9771. 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)
  9772.  
  9773. elseif ModeOfGlitch == 9999999921111 then
  9774. 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)
  9775. 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)
  9776. 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)
  9777. 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)
  9778. 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)
  9779. 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)
  9780. elseif ModeOfGlitch == 4367677813 then
  9781. 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)
  9782. 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)
  9783. 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)
  9784. 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)
  9785. 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)
  9786. 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)
  9787. elseif ModeOfGlitch == 2332 then
  9788. 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)
  9789. 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)
  9790. 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)
  9791. 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)
  9792. LW.C0 = aclerp(LW.C0,CFrame.new(-0.787155986, 0.248306945, -0.683226228, 0.0398273654, -0.999169707, 0.00859495346, 0.554963291, 0.0149663882, -0.831740201, 0.830920994, 0.0378959104, 0.555098593)*angles(math.rad(0+5*math.cos(sine/32)),0,0),Alpha)
  9793. RW.C0 = aclerp(RW.C0,CFrame.new(0.787632346, 0.574486911, -0.794373989, 0.0789790228, 0.995851278, 0.0451963581, 0.631366551, -0.0148838377, -0.775341749, -0.771452367, 0.0897712111, -0.629922688)*angles(math.rad(0+5*math.cos(sine/32)),0,0),Alpha)
  9794. elseif ModeOfGlitch == 2334 then
  9795. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  9796. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  9797. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  9798. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  9799. 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)
  9800. LW.C0=clerp(LW.C0,cf(-0.95,0.65 + 0.075 * math.cos(sine / 28),-0.65)*angles(math.rad(90 + 2 * math.cos(sine / 73)),math.rad(25 + 5 * math.cos(sine / 24)),math.rad(73 - 3 * math.cos(sine / 65))),.1)
  9801. elseif ModeOfGlitch == 765688533321 then
  9802. local snap = math.random(1,32)
  9803. if snap == 1 then
  9804. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
  9805. end
  9806. sphere2(8,"Add",rleg.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("Really red"),BrickColor.new("Really red").Color)
  9807. sphere2(8,"Add",lleg.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("Really black"),BrickColor.new("Really black").Color)
  9808. 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)
  9809. 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)
  9810. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.25 * math.cos(sine / 50),0 + 0.25 * math.cos(sine / 43),6 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9811. 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)
  9812. 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(2 - 4 * math.cos(sine / 58)),math.rad(-65 + 1 * math.cos(sine / 45))),.1)
  9813. 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(6 - 5 * math.cos(sine / 59)),math.rad(73 - 3 * math.cos(sine / 45))),.1)
  9814. elseif ModeOfGlitch == 55469696922 then
  9815. 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)
  9816. 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)
  9817. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.25 * math.cos(sine / 50),0 + 0.25 * math.cos(sine / 43),6 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9818. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9819. 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)
  9820. 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)
  9821. elseif ModeOfGlitch == 999 then
  9822. 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 - 9 * math.cos(sine / 51))),.1)
  9823. 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 + 7 * math.cos(sine / 44))),.1)
  9824. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 47),0 + 0.25 * math.cos(sine / 35),3 + 1 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(13)),.1)
  9825. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(24 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-13 + 2 * math.cos(sine / 53))),.1)
  9826. 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)
  9827. 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)
  9828. elseif ModeOfGlitch == 664663666 then
  9829. local snap = math.random(1,32)
  9830. if snap == 1 then
  9831. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(32 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
  9832. end
  9833. 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(-4 - 7 * math.cos(sine / 39))),.1)
  9834. 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 + 8 * math.cos(sine / 31))),.1)
  9835. 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(32 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9836. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9837. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(32 + 6 * math.cos(sine / 72)),math.rad(2 - 4 * math.cos(sine / 58)),math.rad(14 + 1 * math.cos(sine / 45))),.1)
  9838. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(32 - 7 * math.cos(sine / 66)),math.rad(6 - 5 * math.cos(sine / 59)),math.rad(-9 - 3 * math.cos(sine / 45))),.1)
  9839. elseif ModeOfGlitch == 999999999556 then
  9840. local snap = math.random(1,8)
  9841. if snap == 1 then
  9842. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(32 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),1)
  9843. end
  9844. sphere2(8,"Add",rleg.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("Navy blue"),BrickColor.new("Navy blue").Color)
  9845. sphere2(8,"Add",lleg.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("Really black"),BrickColor.new("Really black").Color)
  9846. 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 + MRANDOM(-3,3)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 6 * math.cos(sine / 39) + MRANDOM(-5,5))),.1)
  9847. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + MRANDOM(-3,3)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 45) + MRANDOM(-5,5))),.1)
  9848. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.25 * math.cos(sine / 47),0 - 0.25 * math.cos(sine / 40),7 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(17)),.1)
  9849. 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)
  9850. 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) + MRANDOM(-10,10)),math.rad(3 - 2 * math.cos(sine / 58) + MRANDOM(-20,20)),math.rad(-82 + 2 * math.cos(sine / 45) + MRANDOM(-20,20))),.1)
  9851. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(99 - 7 * math.cos(sine / 66) + MRANDOM(-20,20)),math.rad(4 - 3 * math.cos(sine / 59) + MRANDOM(-20,20)),math.rad(67 - 4 * math.cos(sine / 45) + MRANDOM(-20,20))),.1)
  9852. end
  9853. end
  9854. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  9855. Anim="Walk"
  9856. if attack==false then
  9857. if ModeOfGlitch ~= 102 and ModeOfGlitch ~= 2334 then
  9858. 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)
  9859. 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)
  9860. 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)
  9861. 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)
  9862. 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)
  9863. 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)
  9864. if ModeOfGlitch == 71 then
  9865. 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)
  9866. end
  9867. elseif ModeOfGlitch == 2334 then
  9868. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(9-2.5 * Cos(sine / 3.5)), Rad(0), Rad(10 * Cos(sine / 7))), 0.15)
  9869. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  9870. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 35 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 2 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  9871. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 35 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 2 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  9872. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(70) * Cos(sine / 7) , Rad(0), Rad(5)), 0.1)
  9873. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-70) * Cos(sine / 7) , Rad(0), Rad(-5)), 0.1)
  9874. elseif ModeOfGlitch == 102 then
  9875. 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)
  9876. 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)
  9877. 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)
  9878. 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)
  9879. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*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)
  9880. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*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)
  9881. end
  9882. end
  9883. elseif torvel>=22 and hitfloor~=nil then
  9884. Anim="Run"
  9885. if attack==false then
  9886. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 102341 and ModeOfGlitch ~= 1055 and ModeOfGlitch ~= 6518594185 and ModeOfGlitch ~= 61 and ModeOfGlitch ~= 676767 and ModeOfGlitch ~= 3434 and ModeOfGlitch ~= 453453484635345 and ModeOfGlitch ~= 103 and ModeOfGlitch ~= 999 and ModeOfGlitch ~= 3444 and ModeOfGlitch ~= 101 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 8889 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 664663666 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then
  9887. 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)
  9888. 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)
  9889. 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)
  9890. 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)
  9891. 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)
  9892. 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)
  9893. if ModeOfGlitch == 9 then
  9894. 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)
  9895. 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))
  9896. 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)
  9897. end
  9898. elseif ModeOfGlitch == 102341 then -- theories
  9899. 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)
  9900. 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)
  9901. 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)
  9902. 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)
  9903. 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)
  9904. 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)
  9905. 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,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  9906. 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("Cyan"),BrickColor.new("Cyan").Color)
  9907. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),8)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),0.5,0.5,20,-0.0075,MAINRUINCOLOR,0)
  9908.  
  9909. elseif ModeOfGlitch == 6518594185 then
  9910. sphere2(8,"Add",rleg.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("Hot pink"),BrickColor.new("Light blue").Color)
  9911. sphere2(8,"Add",lleg.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("New Yeller"),BrickColor.new("Really blue").Color)
  9912. 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 - 9 * math.cos(sine / 51))),.1)
  9913. 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 + 7 * math.cos(sine / 44))),.1)
  9914. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 47),0 + 0.25 * math.cos(sine / 35),7 + 1 * math.cos(sine / 32))*angles(math.rad(28 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9915. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-24 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9916. 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)
  9917. 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)
  9918. elseif ModeOfGlitch == 999 then
  9919. 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 - 9 * math.cos(sine / 51))),.1)
  9920. 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 + 7 * math.cos(sine / 44))),.1)
  9921. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 47),0 + 0.25 * math.cos(sine / 35),3 + 1 * math.cos(sine / 32))*angles(math.rad(34 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9922. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-13 + 2 * math.cos(sine / 53))),.1)
  9923. 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)
  9924. 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)
  9925. elseif ModeOfGlitch == 6 or ModeOfGlitch == 3444 or ModeOfGlitch == 8 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 8889 or ModeOfGlitch == 664663666 or ModeOfGlitch == 88893333388 then
  9926. 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)
  9927. 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)
  9928. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,1 + 0.25 * 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))),.05)
  9929. 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)
  9930. 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)
  9931. 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)
  9932. elseif ModeOfGlitch == 453453484635345 then
  9933. 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,BrickColor.new("Institutional white"),BrickColor.new("Medium stone grey").Color)
  9934. 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)
  9935. 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)
  9936. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,1 + 0.25 * 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))),.05)
  9937. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-50 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
  9938. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-20 - 20 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(110 + 5 * math.cos(sine / 50))),.2)
  9939. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(90 - 4 * math.cos(sine / 45))),.1)
  9940. elseif ModeOfGlitch == 103 then
  9941. 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)
  9942. 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)
  9943. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,6.5 + 0.25 * 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))),.05)
  9944. 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)
  9945. 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)
  9946. 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)
  9947. elseif ModeOfGlitch == 1055 then
  9948. 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)
  9949. 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)
  9950. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,1 + 0.25 * 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))),.05)
  9951. 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)
  9952. 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)
  9953. 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)
  9954.  
  9955. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 61 or ModeOfGlitch == 3434 or ModeOfGlitch == 676767 or ModeOfGlitch == 101 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 808080808080808080808080 then
  9956. 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)
  9957. 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)
  9958. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,6.5 + 0.25 * 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))),.05)
  9959. 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)
  9960. 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)
  9961. 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)
  9962. if ModeOfGlitch == 765688533321 or ModeOfGlitch == 101 or ModeOfGlitch == 090 then
  9963. 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)
  9964. end
  9965. end
  9966. end
  9967. end
  9968. end
  9969. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement