Advertisement
Guest User

Untitled

a guest
Dec 9th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 355.83 KB | None | 0 0
  1. local Player = game:GetService("Players").bluebloxguy35
  2. local Mouse,mouse,UserInputService,ContextActionService
  3. do
  4. script.Parent = Player.Character
  5. local CAS = {Actions={}}
  6. local Event = Instance.new("RemoteEvent")
  7. Event.Name = "UserInput_Event"
  8. Event.Parent = Player.Character
  9. local fakeEvent = function()
  10. local t = {_fakeEvent=true}
  11. t.Connect = function(self,f)self.Function=f end
  12. t.connect = t.Connect
  13. return t
  14. end
  15. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  16. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  17. function CAS:BindAction(name,fun,touch,...)
  18. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  19. end
  20. function CAS:UnbindAction(name)
  21. CAS.Actions[name] = nil
  22. end
  23. local function te(self,ev,...)
  24. local t = m[ev]
  25. if t and t._fakeEvent and t.Function then
  26. t.Function(...)
  27. end
  28. end
  29. m.TrigEvent = te
  30. UIS.TrigEvent = te
  31. Event.OnServerEvent:Connect(function(plr,io)
  32. if plr~=Player then return end
  33. if io.isMouse then
  34. m.Target = io.Target
  35. m.Hit = io.Hit
  36. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  37. if io.UserInputState == Enum.UserInputState.Begin then
  38. m:TrigEvent("Button1Down")
  39. else
  40. m:TrigEvent("Button1Up")
  41. end
  42. else
  43. for n,t in pairs(CAS.Actions) do
  44. for _,k in pairs(t.Keys) do
  45. if k==io.KeyCode then
  46. t.Function(t.Name,io.UserInputState,io)
  47. end
  48. end
  49. end
  50. if io.UserInputState == Enum.UserInputState.Begin then
  51. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  52. UIS:TrigEvent("InputBegan",io,false)
  53. else
  54. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent("InputEnded",io,false)
  56. end
  57. end
  58. end)
  59. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  60. end
  61.  
  62. --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
  63.  
  64. wait(0.1)
  65. --nebula stuff
  66. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  67. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  68. 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}
  69. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  70. 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}
  71. local R3 = {N=Region3.new}
  72. local De = S.Debris
  73. local WS = workspace
  74. local Lght = S.Lighting
  75. local RepS = S.ReplicatedStorage
  76. local IN = Instance.new
  77. local Plrs = S.Players
  78. local FXFolder = script:FindFirstChild'Effects'
  79. FXFolder.Parent = nil
  80. local Alpha = .3
  81.  
  82. NewInstance = function(instance,parent,properties)
  83. local inst = Instance.new(instance)
  84. inst.Parent = parent
  85. if(properties)then
  86. for i,v in next, properties do
  87. pcall(function() inst[i] = v end)
  88. end
  89. end
  90. return inst;
  91. end
  92.  
  93.  
  94. --script
  95. plr = game:GetService("Players").bluebloxguy35
  96. char = plr.Character
  97. hum = char.Humanoid
  98. local cam = game.Workspace.CurrentCamera
  99. Camera = cam
  100. local CamInterrupt = false
  101. local TwoD = false
  102. local TargetInfo = {nil, nil}
  103. cam.CameraType = "Custom"
  104. t = char.Torso
  105. h = char.Head
  106. ra = char["Right Arm"]
  107. la = char["Left Arm"]
  108. rl = char["Right Leg"]
  109. ll = char["Left Leg"]
  110. tors = char.Torso
  111. lleg = char["Left Leg"]
  112. MRANDOM = math.random
  113. root = char.HumanoidRootPart
  114. hed = char.Head
  115. rleg = char["Right Leg"]
  116. rarm = char["Right Arm"]
  117. larm = char["Left Arm"]
  118. radian = math.rad
  119. random = math.random
  120. Vec3 = Vector3.new
  121. Inst = Instance.new
  122. cFrame = CFrame.new
  123. Euler = CFrame.fromEulerAnglesXYZ
  124. vt = Vector3.new
  125. bc = BrickColor.new
  126. br = BrickColor.random
  127. it = Instance.new
  128. cf = CFrame.new
  129.  
  130. local Booleans = {
  131. CamFollow = true,
  132. GyroUse = true
  133. }
  134.  
  135. function lerp(object, newCFrame, alpha)
  136. return object:lerp(newCFrame, alpha)
  137. end
  138.  
  139. local Directer = Inst("BodyGyro", root)
  140. Directer.MaxTorque = Vec3(0, 0, 0)
  141. Directer.P = 600000
  142. local CPart = Inst("Part")
  143. CPart.Anchored = true
  144. CPart.CanCollide = false
  145. CPart.Locked = true
  146. CPart.Transparency = 1
  147.  
  148. local rainbowmode = false
  149. local chaosmode = false
  150. local crappymode = false
  151.  
  152. local kan = Instance.new("Sound",char)
  153. kan.Volume = 1.25
  154. kan.TimePosition = 0
  155. kan.PlaybackSpeed = 1
  156. kan.Pitch = 1
  157. kan.SoundId = "rbxassetid://614032233"
  158. kan.Name = "wrecked"
  159. kan.Looped = true
  160. kan:Play()
  161.  
  162. local currentThemePlaying = kan.SoundId
  163. local currentPitch = kan.Pitch
  164. local currentVol = kan.Volume
  165. function newTheme(ID,timepos,pitch,vol)
  166. local kanz = kan
  167. --kanz:Stop()
  168. kanz.Volume = vol
  169. --kanz.TimePosition = timepos
  170. kanz.PlaybackSpeed = pitch
  171. kanz.Pitch = pitch
  172. kanz.SoundId = ID
  173. kanz.Name = "wrecked"
  174. kanz.Looped = true
  175. currentThemePlaying = kanz.SoundId
  176. currentVol = kanz.Volume
  177. currentPitch = kanz.Pitch
  178. --kanz:Play()
  179. --coroutine.resume(coroutine.create(function()
  180. --wait(0.05)
  181. --end))
  182. end
  183.  
  184.  
  185. function newThemeCust(ID,timepos,pitch,vol)
  186. local kanz = kan
  187. kanz:Stop()
  188. kanz.Volume = vol
  189. kanz.TimePosition = timepos
  190. kanz.PlaybackSpeed = pitch
  191. kanz.Pitch = pitch
  192. kanz.SoundId = ID
  193. kanz.Name = "wrecked"
  194. kanz.Looped = true
  195. currentThemePlaying = kanz.SoundId
  196. currentVol = kanz.Volume
  197. currentPitch = kanz.Pitch
  198. kanz:Play()
  199. coroutine.resume(coroutine.create(function()
  200. wait(0.05)
  201. end))
  202. end
  203.  
  204. local mutedtog = false
  205.  
  206. function CameraEnshaking(Length,Intensity)
  207. coroutine.resume(coroutine.create(function()
  208. local intensity = 1*Intensity
  209. local rotM = 0.01*Intensity
  210. for i = 0, Length, 0.1 do
  211. swait()
  212. intensity = intensity - 0.05*Intensity/Length
  213. rotM = rotM - 0.0005*Intensity/Length
  214. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  215. 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)
  216. end
  217. Humanoid.CameraOffset = Vec3(0, 0, 0)
  218. end))
  219. end
  220. CamShake=function(Part,Distan,Power,Times)
  221. local de=Part.Position
  222. for i,v in pairs(workspace:children()) do
  223. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  224. for _,c in pairs(v:children()) do
  225. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  226. local Noob=v.Humanoid
  227. if Noob~=nil then
  228. coroutine.resume(coroutine.create(function()
  229. FV = Instance.new("BoolValue", Noob)
  230. FV.Name = "CameraShake"
  231. for ShakeNum=1,Times do
  232. swait()
  233. local ef=Power
  234. if ef>=1 then
  235. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  236. else
  237. ef=Power*10
  238. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  239. end
  240. end
  241. Humanoid.CameraOffset = Vector3.new(0,0,0)
  242. FV:Destroy()
  243. end))
  244. CameraShake(Times, Power, Noob)
  245. end
  246. end
  247. end
  248. end
  249. end
  250. end
  251.  
  252. function CamShake(who,times,intense,origin)
  253. coroutine.wrap(function()
  254. if(FXFolder:FindFirstChild'CamShake')then
  255. local cam = FXFolder.CamShake:Clone()
  256. cam:WaitForChild'intensity'.Value = intense
  257. cam:WaitForChild'times'.Value = times
  258.  
  259. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  260. cam.Parent = who
  261. wait()
  262. cam.Disabled = false
  263. end
  264. end)()
  265. end
  266.  
  267. function CamShakeAll(times,intense,origin)
  268. for _,v in next, Plrs:players() do
  269. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  270. end
  271. end
  272.  
  273. local toggleTag = true
  274. local bilguit = Instance.new("BillboardGui", hed)
  275. bilguit.Adornee = nil
  276. bilguit.Name = "ModeName"
  277. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  278. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  279. local modet = Instance.new("TextLabel", bilguit)
  280. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  281. modet.FontSize = "Size8"
  282. modet.TextScaled = true
  283. modet.TextTransparency = 0
  284. modet.BackgroundTransparency = 1
  285. modet.TextTransparency = 0
  286. modet.TextStrokeTransparency = 0
  287. modet.Font = "Antique"
  288. modet.TextStrokeColor3 = Color3.new(1,0,0)
  289. modet.TextColor3 = Color3.new(0.25,0,0)
  290. modet.Text = "MAYHEM"
  291.  
  292.  
  293. function chatfunc(text,color,typet,font,timeex)
  294. local chat = coroutine.wrap(function()
  295. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  296. Character:FindFirstChild("TalkingBillBoard"):destroy()
  297. end
  298. local naeeym2 = Instance.new("BillboardGui",Character)
  299. naeeym2.Size = UDim2.new(0,100,0,40)
  300. naeeym2.StudsOffset = Vector3.new(0,3,0)
  301. naeeym2.Adornee = Character.Head
  302. naeeym2.Name = "TalkingBillBoard"
  303. local tecks2 = Instance.new("TextLabel",naeeym2)
  304. tecks2.BackgroundTransparency = 1
  305. tecks2.BorderSizePixel = 0
  306. tecks2.Text = ""
  307. tecks2.Font = font
  308. tecks2.TextSize = 30
  309. tecks2.TextStrokeTransparency = 0
  310. tecks2.TextColor3 = color
  311. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  312. tecks2.Size = UDim2.new(1,0,0.5,0)
  313. local tecks3 = Instance.new("TextLabel",naeeym2)
  314. tecks3.BackgroundTransparency = 1
  315. tecks3.BorderSizePixel = 0
  316. tecks3.Text = ""
  317. tecks3.Font = font
  318. tecks3.TextSize = 30
  319. tecks3.TextStrokeTransparency = 0
  320. if typet == "Inverted" then
  321. tecks3.TextColor3 = Color3.new(0,0,0)
  322. tecks3.TextStrokeColor3 = color
  323. elseif typet == "Normal" then
  324. tecks3.TextColor3 = color
  325. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  326. end
  327. tecks3.Size = UDim2.new(1,0,0.5,0)
  328. coroutine.resume(coroutine.create(function()
  329. while true do
  330. swait(1)
  331. if chaosmode == true then
  332. tecks2.TextColor3 = BrickColor.random().Color
  333. tecks3.TextStrokeColor3 = BrickColor.random().Color
  334. end
  335. end
  336. end))
  337. modet.TextTransparency = modet.TextTransparency + 1
  338. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  339. for i = 0, 74*timeex do
  340. swait()
  341. modet.TextTransparency = 1
  342. modet.TextStrokeTransparency = 1
  343. tecks2.Text = text
  344. tecks3.Text = text
  345. end
  346. local randomrot = math.random(1,2)
  347. if randomrot == 1 then
  348. for i = 1, 50 do
  349. swait()
  350. tecks2.Text = text
  351. tecks3.Text = text
  352. modet.TextTransparency = modet.TextTransparency - .02
  353. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  354. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  355. tecks2.TextTransparency = tecks2.TextTransparency + .04
  356. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  357. tecks3.TextTransparency = tecks2.TextTransparency + .04
  358. end
  359. elseif randomrot == 2 then
  360. for i = 1, 50 do
  361. swait()
  362. tecks2.Text = text
  363. tecks3.Text = text
  364. modet.TextTransparency = modet.TextTransparency - .02
  365. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  366. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  367. tecks2.TextTransparency = tecks2.TextTransparency + .04
  368. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  369. tecks3.TextTransparency = tecks2.TextTransparency + .04
  370. end
  371. end
  372. modet.TextTransparency = 0
  373. modet.TextStrokeTransparency = 0
  374. if toggleTag == false then
  375. modet.TextTransparency = 1
  376. modet.TextStrokeTransparency = 1
  377. end
  378. naeeym2:Destroy()
  379. end)
  380. chat()
  381. end
  382.  
  383. function bosschatfunc(text,color,watval)
  384. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  385. coroutine.resume(coroutine.create(function()
  386. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  387. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  388. end
  389. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  390. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  391. scrg.Name = "Dialog"
  392. local txtlb = Instance.new("TextLabel",scrg)
  393. txtlb.Text = ""
  394. txtlb.Font = "Bodoni"
  395. txtlb.TextColor3 = Color3.new(0,0,0)
  396. txtlb.TextStrokeTransparency = 0
  397. txtlb.BackgroundTransparency = 0.75
  398. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  399. txtlb.TextStrokeColor3 = color
  400. txtlb.TextScaled = true
  401. txtlb.Size = UDim2.new(1,0,0.25,0)
  402. txtlb.TextXAlignment = "Left"
  403. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  404. local txtlb2 = Instance.new("TextLabel",scrg)
  405. txtlb2.Text = "Rework Remastered:"
  406. txtlb2.Font = "Arcade"
  407. txtlb2.TextColor3 = Color3.new(0,0,0)
  408. txtlb2.TextStrokeTransparency = 0
  409. txtlb2.BackgroundTransparency = 1
  410. txtlb2.TextStrokeColor3 = color
  411. txtlb2.TextSize = 40
  412. txtlb2.Size = UDim2.new(1,0,0.25,0)
  413. txtlb2.TextXAlignment = "Left"
  414. txtlb2.Position = UDim2.new(0,0,1,0)
  415. local fvalen = 0.55
  416. local fval = -0.49
  417. coroutine.resume(coroutine.create(function()
  418. while true do
  419. swait()
  420. if chaosmode == true then
  421. txtlb.Rotation = math.random(-1,1)
  422. txtlb2.Rotation = math.random(-1,1)
  423. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  424. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  425. txtlb.TextStrokeColor3 = BrickColor.random().Color
  426. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  427. end
  428. end
  429. end))
  430. coroutine.resume(coroutine.create(function()
  431. while true do
  432. swait()
  433. if scrg.Parent ~= nil then
  434. fvalen = fvalen - 0.0001
  435. elseif scrg.Parent == nil then
  436. break
  437. end
  438. end
  439. end))
  440. local flol = 1.75
  441. local flil = 1.6
  442. coroutine.resume(coroutine.create(function()
  443. for i = 0, 9 do
  444. swait()
  445. fval = fval + 0.05
  446. flol = flol - 0.1
  447. flil = flil - 0.1
  448. txtlb.Text = ""
  449. txtlb.Position = UDim2.new(0,0,flol,0)
  450. txtlb2.Position = UDim2.new(0,0,flil,0)
  451. end
  452. txtlb.Text = text
  453. wait(watval)
  454. local valinc = 0
  455. for i = 0, 99 do
  456. swait()
  457. valinc = valinc + 0.0001
  458. flol = flol + valinc
  459. flil = flil + valinc
  460. txtlb.Rotation = txtlb.Rotation + valinc*20
  461. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  462. txtlb.Position = UDim2.new(0,0,flol,0)
  463. txtlb2.Position = UDim2.new(0,0,flil,0)
  464. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  465. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  466. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  467. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  468. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  469. end
  470. scrg:Destroy()
  471. end))
  472. end))
  473. end
  474. end
  475.  
  476.  
  477. local Create = LoadLibrary("RbxUtility").Create
  478.  
  479. CFuncs = {
  480. ["Part"] = {
  481. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  482. local Part = Create("Part"){
  483. Parent = Parent,
  484. Reflectance = Reflectance,
  485. Transparency = Transparency,
  486. CanCollide = false,
  487. Locked = true,
  488. BrickColor = BrickColor.new(tostring(BColor)),
  489. Name = Name,
  490. Size = Size,
  491. Material = Material,
  492. }
  493. RemoveOutlines(Part)
  494. return Part
  495. end;
  496. };
  497.  
  498. ["Mesh"] = {
  499. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  500. local Msh = Create(Mesh){
  501. Parent = Part,
  502. Offset = OffSet,
  503. Scale = Scale,
  504. }
  505. if Mesh == "SpecialMesh" then
  506. Msh.MeshType = MeshType
  507. Msh.MeshId = MeshId
  508. end
  509. return Msh
  510. end;
  511. };
  512.  
  513. ["Mesh"] = {
  514. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  515. local Msh = Create(Mesh){
  516. Parent = Part,
  517. Offset = OffSet,
  518. Scale = Scale,
  519. }
  520. if Mesh == "SpecialMesh" then
  521. Msh.MeshType = MeshType
  522. Msh.MeshId = MeshId
  523. end
  524. return Msh
  525. end;
  526. };
  527.  
  528. ["Weld"] = {
  529. Create = function(Parent, Part0, Part1, C0, C1)
  530. local Weld = Create("Weld"){
  531. Parent = Parent,
  532. Part0 = Part0,
  533. Part1 = Part1,
  534. C0 = C0,
  535. C1 = C1,
  536. }
  537. return Weld
  538. end;
  539. };
  540.  
  541. ["Sound"] = {
  542. Create = function(id, par, vol, pit)
  543. coroutine.resume(coroutine.create(function()
  544. local S = Create("Sound"){
  545. Volume = vol,
  546. Name = "EffectSoundo",
  547. Pitch = pit or 1,
  548. SoundId = id,
  549. Parent = par or workspace,
  550. }
  551. wait()
  552. S:play()
  553. game:GetService("Debris"):AddItem(S, 10)
  554. end))
  555. end;
  556. };
  557.  
  558. ["TimeSound"] = {
  559. Create = function(id, par, vol, pit, timepos)
  560. coroutine.resume(coroutine.create(function()
  561. local S = Create("Sound"){
  562. Volume = vol,
  563. Name = "EffectSoundo",
  564. Pitch = pit or 1,
  565. SoundId = id,
  566. TimePosition = timepos,
  567. Parent = par or workspace,
  568. }
  569. wait()
  570. S:play()
  571. game:GetService("Debris"):AddItem(S, 10)
  572. end))
  573. end;
  574. };
  575. ["EchoSound"] = {
  576. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  577. coroutine.resume(coroutine.create(function()
  578. local Sas = Create("Sound"){
  579. Volume = vol,
  580. Name = "EffectSoundo",
  581. Pitch = pit or 1,
  582. SoundId = id,
  583. TimePosition = timepos,
  584. Parent = par or workspace,
  585. }
  586. local E = Create("EchoSoundEffect"){
  587. Delay = echodelay,
  588. Name = "Echo",
  589. Feedback = fedb,
  590. DryLevel = dryl,
  591. Parent = Sas,
  592. }
  593. wait()
  594. Sas:play()
  595. game:GetService("Debris"):AddItem(Sas, delays)
  596. end))
  597. end;
  598. };
  599.  
  600. ["LongSound"] = {
  601. Create = function(id, par, vol, pit)
  602. coroutine.resume(coroutine.create(function()
  603. local S = Create("Sound"){
  604. Volume = vol,
  605. Pitch = pit or 1,
  606. SoundId = id,
  607. Parent = par or workspace,
  608. }
  609. wait()
  610. S:play()
  611. game:GetService("Debris"):AddItem(S, 60)
  612. end))
  613. end;
  614. };
  615.  
  616. ["ParticleEmitter"] = {
  617. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  618. local fp = Create("ParticleEmitter"){
  619. Parent = Parent,
  620. Color = ColorSequence.new(Color1, Color2),
  621. LightEmission = LightEmission,
  622. Size = Size,
  623. Texture = Texture,
  624. Transparency = Transparency,
  625. ZOffset = ZOffset,
  626. Acceleration = Accel,
  627. Drag = Drag,
  628. LockedToPart = LockedToPart,
  629. VelocityInheritance = VelocityInheritance,
  630. EmissionDirection = EmissionDirection,
  631. Enabled = Enabled,
  632. Lifetime = LifeTime,
  633. Rate = Rate,
  634. Rotation = Rotation,
  635. RotSpeed = RotSpeed,
  636. Speed = Speed,
  637. VelocitySpread = VelocitySpread,
  638. }
  639. return fp
  640. end;
  641. };
  642.  
  643. CreateTemplate = {
  644.  
  645. };
  646. }
  647.  
  648.  
  649.  
  650. New = function(Object, Parent, Name, Data)
  651. local Object = Instance.new(Object)
  652. for Index, Value in pairs(Data or {}) do
  653. Object[Index] = Value
  654. end
  655. Object.Parent = Parent
  656. Object.Name = Name
  657. return Object
  658. end
  659. local halocolor = BrickColor.new("Pastel light blue")
  660. local halocolor2 = BrickColor.new("Cool yellow")
  661. local starcolor = BrickColor.new("Bright yellow")
  662. local lunacolor = BrickColor.new("Navy blue")
  663. local lunacolor2 = BrickColor.new("Bright blue")
  664. local wepcolor = BrickColor.new("Really black")
  665. local maincolor = BrickColor.new("Really black")
  666. local m = Instance.new("Model",char)
  667. local m2 = Instance.new("Model",char)
  668. local m3 = Instance.new("Model",char)
  669. local mw1 = Instance.new("Model",char)
  670. local mw2 = Instance.new("Model",char)
  671.  
  672.  
  673. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  674. local gui = it(GuiType)
  675. gui.Parent = parent
  676. gui.Text = text
  677. gui.BackgroundTransparency = backtrans
  678. gui.BackgroundColor3 = backcol
  679. gui.SizeConstraint = "RelativeXY"
  680. gui.TextXAlignment = "Center"
  681. gui.TextYAlignment = "Center"
  682. gui.Position = pos
  683. gui.Size = size
  684. gui.Font = "SourceSans"
  685. gui.FontSize = "Size14"
  686. gui.TextWrapped = false
  687. gui.TextStrokeTransparency = 0
  688. gui.TextColor = BrickColor.new("White")
  689. return gui
  690. end
  691. --------------------------- GUI STUFF
  692. local basgui = it("GuiMain")
  693. basgui.Parent = plr.PlayerGui
  694. basgui.Name = "VISgui"
  695. local fullscreenz = it("Frame")
  696. fullscreenz.Parent = basgui
  697. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  698. fullscreenz.BackgroundTransparency = 1
  699. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  700. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  701. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  702. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  703. imgl2.BackgroundTransparency = 1
  704. imgl2.BorderSizePixel = 0
  705. imgl2.ImageTransparency = 0.5
  706. imgl2.ImageColor3 = Color3.new(1,0,0)
  707. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  708. imgl2.Size = UDim2.new(0,1000,0,1000)
  709. imgl2.Image = "rbxassetid://2325939897"
  710. local techc = imgl2:Clone()
  711. techc.Parent = fullscreenz
  712. techc.ImageTransparency = 0
  713. techc.Size = UDim2.new(0,900,0,900)
  714. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  715. techc.ImageColor3 = Color3.new(1,0,0)
  716. techc.Image = "rbxassetid://2273224484"
  717. local circl = imgl2:Clone()
  718. circl.Parent = fullscreenz
  719. circl.ImageTransparency = 0
  720. circl.Size = UDim2.new(0,550,0,550)
  721. circl.Position = UDim2.new(0.75,25,0.55,25)
  722. circl.ImageColor3 = Color3.new(0,0,0)
  723. circl.Image = "rbxassetid://2312119891"
  724. local circl2 = imgl2:Clone()
  725. circl2.Parent = fullscreenz
  726. circl2.ImageTransparency = 0
  727. circl2.Size = UDim2.new(0,700,0,700)
  728. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  729. circl2.ImageColor3 = Color3.new(1,0,0)
  730. circl2.Image = "rbxassetid://2312119891"
  731. local imgl2b = imgl2:Clone()
  732. imgl2b.Parent = fullscreenz
  733. imgl2b.ImageTransparency = 0
  734. imgl2b.Size = UDim2.new(0,800,0,800)
  735. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  736. imgl2b.ImageColor3 = Color3.new(0,0,0)
  737. local ned = Instance.new("TextLabel",fullscreenz)
  738. ned.ZIndex = 2
  739. ned.Font = "Arcade"
  740. ned.BackgroundTransparency = 1
  741. ned.BorderSizePixel = 0.65
  742. ned.Size = UDim2.new(0.3,0,0.2,0)
  743. ned.Position = UDim2.new(0.7,0,0.8,0)
  744. ned.TextColor3 = BrickColor.new("Really red").Color
  745. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  746. ned.TextScaled = true
  747. ned.TextStrokeTransparency = 0
  748. ned.Text = "MAYHEM"
  749. ned.TextSize = 24
  750. ned.Rotation = 1
  751. ned.TextXAlignment = "Right"
  752. ned.TextYAlignment = "Bottom"
  753.  
  754. local extrawingmod1 = Instance.new("Model",char)
  755. local extrawingmod2 = Instance.new("Model",char)
  756.  
  757. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  758. local p = Instance.new("Part")
  759. p.TopSurface = 0
  760. p.BottomSurface = 0
  761. p.Parent = parent
  762. p.Size = Vector3.new(0.1,0.1,0.1)
  763. p.Transparency = transparency
  764. p.Reflectance = reflectance
  765. p.CanCollide = false
  766. p.Locked = true
  767. p.BrickColor = brickcolor
  768. p.Material = material
  769. return p
  770. end
  771.  
  772. function CreateMesh(parent,meshtype,x1,y1,z1)
  773. local mesh = Instance.new("SpecialMesh",parent)
  774. mesh.MeshType = meshtype
  775. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  776. return mesh
  777. end
  778.  
  779. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  780. local mesh = Instance.new("SpecialMesh",parent)
  781. mesh.MeshType = "FileMesh"
  782. mesh.MeshId = meshid
  783. mesh.Scale = Vector3.new(x1,y1,z1)
  784. return mesh
  785. end
  786.  
  787.  
  788. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  789. local mesh = Instance.new("SpecialMesh",parent)
  790. mesh.MeshType = "FileMesh"
  791. mesh.MeshId = meshid
  792. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  793. mesh.Scale = Vector3.new(x1,y1,z1)
  794. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  795. return mesh
  796. end
  797.  
  798. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  799. local weld = Instance.new("Weld")
  800. weld.Parent = parent
  801. weld.Part0 = part0
  802. weld.Part1 = part1
  803. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  804. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  805. return weld
  806. end
  807.  
  808.  
  809. --------------
  810. -------------- ground effect
  811. local cen = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  812. 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))
  813. local effar = Instance.new("ParticleEmitter",cen)
  814. effar.Texture = "rbxassetid://2344870656"
  815. effar.LightEmission = 1
  816. effar.Color = ColorSequence.new(Color3.new(1,0,0))
  817. effar.Rate = 50
  818. effar.Enabled = false
  819. effar.EmissionDirection = "Front"
  820. effar.Lifetime = NumberRange.new(1)
  821. 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)})
  822. effar.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  823. effar.Speed = NumberRange.new(80,90)
  824. effar.Acceleration = Vector3.new(0,10,0)
  825. effar.Drag = 5
  826. effar.Rotation = NumberRange.new(-500,500)
  827. effar.SpreadAngle = Vector2.new(0,900)
  828. effar.RotSpeed = NumberRange.new(-500,500)
  829.  
  830. ----
  831. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  832. 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))
  833. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  834. 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))
  835.  
  836. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  837. CreateMesh(handle,"Brick",0,0,0)
  838. 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))
  839. local valuaring = 10
  840. for i = 0, 49 do
  841. valuaring = valuaring + 10
  842. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  843. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  844. 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))
  845. end
  846.  
  847. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  848. CreateMesh(handle,"Brick",0,0,0)
  849. CreateWeld(handlex,tors,handlex,0,-1.5,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  850. local valuaring = 10
  851. for i = 0, 49 do
  852. valuaring = valuaring + 10
  853. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  854. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  855. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  856. end
  857.  
  858.  
  859. local handle = CreateParta(m,1,1,"Neon",maincolor)
  860. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  861. 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))
  862.  
  863. --- Left wing.
  864.  
  865. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  866. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  867. 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))
  868.  
  869. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  870. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  871. 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))
  872. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  873. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  874. 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))
  875. A0 = Instance.new('Attachment',wed)
  876. A0.Position = vt(0,0.25,0.25)
  877. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  878. CreateMesh(wed,"Wedge",0.05,0.5,3)
  879. 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))
  880. A1 = Instance.new('Attachment',wed)
  881. A1.Position = vt(0,-0.25,-2)
  882. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  883. CreateMesh(wed,"Wedge",0.05,3,0.5)
  884. 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))
  885.  
  886. tl1 = Instance.new('Trail',wed)
  887. tl1.Attachment0 = A1
  888. tl1.Attachment1 = A0
  889. tl1.Texture = "rbxassetid://2108945559"
  890. tl1.LightEmission = 1
  891. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  892. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  893. tl1.Lifetime = 0.6
  894.  
  895.  
  896. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  897. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  898. 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))
  899.  
  900. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  901. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  902. 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))
  903. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  904. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  905. 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))
  906. A0 = Instance.new('Attachment',wed)
  907. A0.Position = vt(0,0.25,0.25)
  908. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  909. CreateMesh(wed,"Wedge",0.05,0.5,3)
  910. 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))
  911. A1 = Instance.new('Attachment',wed)
  912. A1.Position = vt(0,-0.25,-2)
  913. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  914. CreateMesh(wed,"Wedge",0.05,3,0.5)
  915. 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))
  916.  
  917. tl2 = Instance.new('Trail',wed)
  918. tl2.Attachment0 = A1
  919. tl2.Attachment1 = A0
  920. tl2.Texture = "rbxassetid://2108945559"
  921. tl2.LightEmission = 1
  922. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  923. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  924. tl2.Lifetime = 0.6
  925.  
  926. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  927. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  928. 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))
  929.  
  930. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  931. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  932. 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))
  933. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  934. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  935. 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))
  936. A0 = Instance.new('Attachment',wed)
  937. A0.Position = vt(0,0.25,0.25)
  938. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  939. CreateMesh(wed,"Wedge",0.05,0.5,3)
  940. 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))
  941. A1 = Instance.new('Attachment',wed)
  942. A1.Position = vt(0,-0.25,-2)
  943. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  944. CreateMesh(wed,"Wedge",0.05,3,0.5)
  945. 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))
  946.  
  947. tl3 = Instance.new('Trail',wed)
  948. tl3.Attachment0 = A1
  949. tl3.Attachment1 = A0
  950. tl3.Texture = "rbxassetid://2108945559"
  951. tl3.LightEmission = 1
  952. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  953. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  954. tl3.Lifetime = 0.6
  955. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  956. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  957. 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))
  958.  
  959. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  960. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  961. 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))
  962. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  963. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  964. 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))
  965. A0 = Instance.new('Attachment',wed)
  966. A0.Position = vt(0,0.25*2,0.25*2)
  967. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  968. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  969. 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))
  970. A1 = Instance.new('Attachment',wed)
  971. A1.Position = vt(0,-0.25*2,-2*2)
  972. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  973. CreateMesh(wed,"Wedge",0.0*25,3*2,0.5*2)
  974. 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))
  975.  
  976. tl4 = Instance.new('Trail',wed)
  977. tl4.Attachment0 = A1
  978. tl4.Attachment1 = A0
  979. tl4.Texture = "rbxassetid://2108945559"
  980. tl4.LightEmission = 1
  981. tl4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  982. tl4.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  983. tl4.Lifetime = 0.6
  984. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  985. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  986. 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))
  987.  
  988. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  989. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  990. 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))
  991. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  992. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  993. 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))
  994. A0 = Instance.new('Attachment',wed)
  995. A0.Position = vt(0,0.25*2,0.25*2)
  996. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  997. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  998. 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))
  999. A1 = Instance.new('Attachment',wed)
  1000. A1.Position = vt(0,-0.25*2,-2*2)
  1001. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1002. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1003. 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))
  1004.  
  1005. tl5 = Instance.new('Trail',wed)
  1006. tl5.Attachment0 = A1
  1007. tl5.Attachment1 = A0
  1008. tl5.Texture = "rbxassetid://2108945559"
  1009. tl5.LightEmission = 1
  1010. tl5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1011. tl5.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1012. tl5.Lifetime = 0.6
  1013. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1014. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1015. 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))
  1016.  
  1017. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1018. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1019. 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))
  1020. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1021. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1022. 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))
  1023. A0 = Instance.new('Attachment',wed)
  1024. A0.Position = vt(0,0.25*2,0.25*2)
  1025. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1026. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1027. 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))
  1028. A1 = Instance.new('Attachment',wed)
  1029. A1.Position = vt(0,-0.25*2,-2*2)
  1030. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1031. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1032. 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))
  1033. tl6 = Instance.new('Trail',wed)
  1034. tl6.Attachment0 = A1
  1035. tl6.Attachment1 = A0
  1036. tl6.Texture = "rbxassetid://2108945559"
  1037. tl6.LightEmission = 1
  1038. tl6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1039. tl6.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1040. tl6.Lifetime = 0.6
  1041.  
  1042. tl1.Enabled = false
  1043. tl2.Enabled = false
  1044. tl3.Enabled = false
  1045. tl4.Enabled = false
  1046. tl5.Enabled = false
  1047. tl6.Enabled = false
  1048. -- Right wing.
  1049.  
  1050. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1051. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1052. 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))
  1053.  
  1054. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1055. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1056. 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))
  1057. A0 = Instance.new('Attachment',wed)
  1058. A0.Position = vt(0,0.25,0.25)
  1059. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1060. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1061. 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))
  1062. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1063. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1064. 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))
  1065. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1066. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1067. 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))
  1068. A1 = Instance.new('Attachment',wed)
  1069. A1.Position = vt(0,2,0.25)
  1070.  
  1071. tr1 = Instance.new('Trail',wed)
  1072. tr1.Attachment0 = A1
  1073. tr1.Attachment1 = A0
  1074. tr1.Texture = "rbxassetid://2108945559"
  1075. tr1.LightEmission = 1
  1076. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1077. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1078. tr1.Lifetime = 0.6
  1079.  
  1080. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1081. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1082. 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))
  1083.  
  1084. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1085. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1086. 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))
  1087. A0 = Instance.new('Attachment',wed)
  1088. A0.Position = vt(0,0.25,0.25)
  1089. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1090. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1091. 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))
  1092. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1093. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1094. 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))
  1095. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1096. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1097. 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))
  1098. A1 = Instance.new('Attachment',wed)
  1099. A1.Position = vt(0,2,0.25)
  1100.  
  1101. tr2 = Instance.new('Trail',wed)
  1102. tr2.Attachment0 = A1
  1103. tr2.Attachment1 = A0
  1104. tr2.Texture = "rbxassetid://2108945559"
  1105. tr2.LightEmission = 1
  1106. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1107. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1108. tr2.Lifetime = 0.6
  1109.  
  1110. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1111. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1112. 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))
  1113.  
  1114. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1115. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1116. 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))
  1117. A0 = Instance.new('Attachment',wed)
  1118. A0.Position = vt(0,0.25,0.25)
  1119. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1120. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1121. 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))
  1122. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1123. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1124. 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))
  1125. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1126. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1127. 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))
  1128. A1 = Instance.new('Attachment',wed)
  1129. A1.Position = vt(0,2,0.25)
  1130.  
  1131. tr3 = Instance.new('Trail',wed)
  1132. tr3.Attachment0 = A1
  1133. tr3.Attachment1 = A0
  1134. tr3.Texture = "rbxassetid://2108945559"
  1135. tr3.LightEmission = 1
  1136. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1137. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1138. tr3.Lifetime = 0.6
  1139.  
  1140.  
  1141. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1142. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1143. 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))
  1144.  
  1145. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1146. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1147. 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))
  1148. A0 = Instance.new('Attachment',wed)
  1149. A0.Position = vt(0,0.25*2,0.25*2)
  1150. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1151. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1152. 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))
  1153. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1154. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1155. 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))
  1156. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1157. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1158. 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))
  1159. A1 = Instance.new('Attachment',wed)
  1160. A1.Position = vt(0,2,0.25)
  1161.  
  1162. tr4 = Instance.new('Trail',wed)
  1163. tr4.Attachment0 = A1
  1164. tr4.Attachment1 = A0
  1165. tr4.Texture = "rbxassetid://2108945559"
  1166. tr4.LightEmission = 1
  1167. tr4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1168. tr4.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1169. tr4.Lifetime = 0.6
  1170.  
  1171. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1172. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1173. 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))
  1174.  
  1175. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1176. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1177. 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))
  1178. A0 = Instance.new('Attachment',wed)
  1179. A0.Position = vt(0,0.25*2,0.25*2)
  1180. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1181. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1182. 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))
  1183. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1184. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1185. 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))
  1186. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1187. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1188. 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))
  1189. A1 = Instance.new('Attachment',wed)
  1190. A1.Position = vt(0,2,0.25)
  1191.  
  1192. tr5 = Instance.new('Trail',wed)
  1193. tr5.Attachment0 = A1
  1194. tr5.Attachment1 = A0
  1195. tr5.Texture = "rbxassetid://2108945559"
  1196. tr5.LightEmission = 1
  1197. tr5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1198. tr5.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1199. tr5.Lifetime = 0.6
  1200.  
  1201. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1202. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1203. 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))
  1204.  
  1205. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1206. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1207. 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))
  1208. A0 = Instance.new('Attachment',wed)
  1209. A0.Position = vt(0,0.25*2,0.25*2)
  1210. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1211. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1212. 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))
  1213. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1214. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1215. 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))
  1216. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1217. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1218. 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))
  1219. A1 = Instance.new('Attachment',wed)
  1220. A1.Position = vt(0,2,0.25)
  1221.  
  1222. tr6 = Instance.new('Trail',wed)
  1223. tr6.Attachment0 = A1
  1224. tr6.Attachment1 = A0
  1225. tr6.Texture = "rbxassetid://2108945559"
  1226. tr6.LightEmission = 1
  1227. tr6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1228. tr6.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1229. tr6.Lifetime = 0.6
  1230.  
  1231. tr4.Enabled = false
  1232. tr5.Enabled = false
  1233. tr6.Enabled = false
  1234. ---- HERES THE RING
  1235.  
  1236.  
  1237. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1238. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1239. 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))
  1240. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1241. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1242. 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))
  1243. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1244. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1245. 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))
  1246.  
  1247.  
  1248. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1249. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1250. 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))
  1251.  
  1252. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1253. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1254. 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))
  1255.  
  1256.  
  1257.  
  1258. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1259. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1260. 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))
  1261.  
  1262. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1263. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1264. 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))
  1265.  
  1266. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1267. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1268. 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))
  1269.  
  1270. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1271. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1272. 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))
  1273. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1274. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1275. 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))
  1276.  
  1277. --- second ring
  1278.  
  1279. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1280. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1281. 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))
  1282. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1283. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1284. 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))
  1285. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1286. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1287. 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))
  1288.  
  1289. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1290. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1291. 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))
  1292.  
  1293. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1294. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1295. 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))
  1296.  
  1297.  
  1298.  
  1299. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1300. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1301. 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))
  1302.  
  1303. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1304. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1305. 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))
  1306.  
  1307. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1308. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1309. 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))
  1310.  
  1311. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1312. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1313. 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))
  1314. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1315. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1316. 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))]]--
  1317.  
  1318.  
  1319.  
  1320. for i, v in pairs(m:GetChildren()) do
  1321. if v:IsA("Part") then
  1322. v.BrickColor = BrickColor.new("Really black")
  1323. v.Material = "Glass"
  1324. end
  1325. end
  1326. for i, v in pairs(m2:GetChildren()) do
  1327. if v:IsA("Part") then
  1328. v.BrickColor = BrickColor.new("Crimson")
  1329. v.Material = "Granite"
  1330. end
  1331. end
  1332. for i, v in pairs(m3:GetChildren()) do
  1333. if v:IsA("Part") then
  1334. v.BrickColor = BrickColor.new("Really red")
  1335. v.Material = "Neon"
  1336. end
  1337. end
  1338. for i, v in pairs(mw2:GetChildren()) do
  1339. if v:IsA("Part") then
  1340. v.BrickColor = BrickColor.new("Really red")
  1341. v.Material = "Neon"
  1342. end
  1343. end
  1344. for i, v in pairs(mw1:GetChildren()) do
  1345. if v:IsA("Part") then
  1346. v.Transparency = 1
  1347. v.BrickColor = BrickColor.new("Really red")
  1348. v.Material = "Neon"
  1349. end
  1350. end
  1351. for i, v in pairs(extrawingmod1:GetChildren()) do
  1352. if v:IsA("Part") then
  1353. v.Transparency = 1
  1354. v.BrickColor = BrickColor.new("White")
  1355. v.Material = "Neon"
  1356. end
  1357. end
  1358. for i, v in pairs(extrawingmod2:GetChildren()) do
  1359. if v:IsA("Part") then
  1360. v.Transparency = 1
  1361. v.BrickColor = BrickColor.new("White")
  1362. v.Material = "Neon"
  1363. end
  1364. end
  1365. local MAINRUINCOLOR = BrickColor.new("Really red")
  1366. ------
  1367.  
  1368.  
  1369. function RemoveOutlines(part)
  1370. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1371. end
  1372. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1373. local Part = Create("Part")({
  1374. Parent = Parent,
  1375. Reflectance = Reflectance,
  1376. Transparency = Transparency,
  1377. CanCollide = false,
  1378. Locked = true,
  1379. BrickColor = BrickColor.new(tostring(BColor)),
  1380. Name = Name,
  1381. Size = Size,
  1382. Material = Material
  1383. })
  1384. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1385. RemoveOutlines(Part)
  1386. return Part
  1387. end
  1388. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1389. local Msh = Create(Mesh)({
  1390. Parent = Part,
  1391. Offset = OffSet,
  1392. Scale = Scale
  1393. })
  1394. if Mesh == "SpecialMesh" then
  1395. Msh.MeshType = MeshType
  1396. Msh.MeshId = MeshId
  1397. end
  1398. return Msh
  1399. end
  1400. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1401. local Weld = Create("Weld")({
  1402. Parent = Parent,
  1403. Part0 = Part0,
  1404. Part1 = Part1,
  1405. C0 = C0,
  1406. C1 = C1
  1407. })
  1408. return Weld
  1409. end
  1410.  
  1411. Character=Player.Character
  1412. PlayerGui=Player.PlayerGui
  1413. Backpack=Player.Backpack
  1414. Torso=Character.Torso
  1415. Head=Character.Head
  1416. Humanoid=Character.Humanoid
  1417. m=Instance.new('Model',Character)
  1418. LeftArm=Character["Left Arm"]
  1419. LeftLeg=Character["Left Leg"]
  1420. RightArm=Character["Right Arm"]
  1421. RightLeg=Character["Right Leg"]
  1422. LS=Torso["Left Shoulder"]
  1423. LH=Torso["Left Hip"]
  1424. RS=Torso["Right Shoulder"]
  1425. RH=Torso["Right Hip"]
  1426. Face = Head.face
  1427. Neck=Torso.Neck
  1428. it=Instance.new
  1429. attacktype=1
  1430. vt=Vector3.new
  1431. cf=CFrame.new
  1432. euler=CFrame.fromEulerAnglesXYZ
  1433. angles=CFrame.Angles
  1434. cloaked=false
  1435. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1436. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1437. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1438. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1439. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1440. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1441. RootPart=Character.HumanoidRootPart
  1442. RootJoint=RootPart.RootJoint
  1443. RootCF=euler(-1.57,0,3.14)
  1444. attack = false
  1445. attackdebounce = false
  1446. deb=false
  1447. equipped=true
  1448. hand=false
  1449. MMouse=nil
  1450. combo=0
  1451. mana=0
  1452. trispeed=.2
  1453. attackmode='none'
  1454. local idle=0
  1455. local Anim="Idle"
  1456. local Effects={}
  1457. local gun=false
  1458. local shoot=false
  1459. local sine = 0
  1460. local change = 1
  1461.  
  1462. function RecolorTextAndRename(name,col1,col2,font)
  1463. modet.TextStrokeColor3 = col2
  1464. modet.TextColor3 = col1
  1465. modet.Font = font
  1466. modet.Text = name
  1467. techc.ImageColor3 = col2
  1468. circl.ImageColor3 = col2
  1469. circl2.ImageColor3 = col1
  1470. imgl2.ImageColor3 = col1
  1471. imgl2b.ImageColor3 = col2
  1472. ned.Text = name
  1473. ned.TextColor3 = col1
  1474. ned.TextStrokeColor3 = col2
  1475. end
  1476.  
  1477. local disably = false
  1478.  
  1479. function warnedpeople(text,represfont,color,color2)
  1480. if disably ~= true then
  1481. CFuncs["Sound"].Create("rbxassetid://534859368", char, 2.5,1)
  1482. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  1483. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1484. coroutine.resume(coroutine.create(function()
  1485. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  1486. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  1487. end
  1488. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1489. scrg.Name = "Spinny"
  1490. local frm = Instance.new("Frame",scrg)
  1491. frm.BackgroundTransparency = 0.25
  1492. frm.BackgroundColor3 = color
  1493. frm.BorderSizePixel = 0
  1494. frm.Rotation = 45
  1495. frm.Size = UDim2.new(3,0,0,100)
  1496. frm.Position = UDim2.new(-4,0,0,0)
  1497. local frm2 = frm:Clone()
  1498. frm2.Parent = scrg
  1499. frm2.BackgroundColor3 = color2
  1500. frm2.Position = UDim2.new(-4.05,0,0,0)
  1501. local imlb = Instance.new("ImageLabel",scrg)
  1502. imlb.BackgroundTransparency = 1
  1503. imlb.BackgroundColor3 = Color3.new(0,0,0)
  1504. imlb.Image = "rbxassetid://2344851144"
  1505. imlb.Size = UDim2.new(0,750,0,750)
  1506. imlb.ImageColor3 = color2
  1507. imlb.ImageTransparency = 0.25
  1508. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  1509. local imlb2 = imlb:Clone()
  1510. imlb2.Image = "rbxassetid://2325939897"
  1511. imlb2.Size = UDim2.new(1,0,1,0)
  1512. imlb2.ImageColor3 = color
  1513. imlb2.ImageTransparency = 0
  1514. imlb2.Position = UDim2.new(0,0,0,0)
  1515. local imlb3 = imlb:Clone()
  1516. imlb3.Image = "rbxassetid://2344830904"
  1517. imlb3.Size = UDim2.new(1,0,1,0)
  1518. imlb3.ImageColor3 = color2
  1519. imlb3.ImageTransparency = 0
  1520. imlb3.Position = UDim2.new(0,0,0,0)
  1521. local imlb4 = imlb:Clone()
  1522. imlb4.Image = "rbxassetid://2344870656"
  1523. imlb4.Size = UDim2.new(3,0,3,0)
  1524. imlb4.ImageColor3 = Color3.new(1,1,1)
  1525. imlb4.ImageTransparency = 0
  1526. imlb4.Position = UDim2.new(-1,0,-1,0)
  1527. local imlb5 = imlb:Clone()
  1528. imlb5.Image = "rbxassetid://2344870656"
  1529. imlb5.Size = UDim2.new(10,0,10,0)
  1530. imlb5.ImageColor3 = color2
  1531. imlb5.ImageTransparency = 0
  1532. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  1533. imlb2.Parent = imlb
  1534. imlb3.Parent = imlb
  1535. imlb4.Parent = imlb
  1536. imlb5.Parent = imlb
  1537. local txtlb2 = Instance.new("TextLabel",imlb)
  1538. txtlb2.Text = text
  1539. txtlb2.Font = represfont
  1540. txtlb2.TextColor3 = color
  1541. txtlb2.TextStrokeTransparency = 0
  1542. txtlb2.BackgroundTransparency = 1
  1543. txtlb2.TextStrokeColor3 = color2
  1544. txtlb2.TextScaled = true
  1545. txtlb2.Size = UDim2.new(1,0,1,0)
  1546. txtlb2.Position = UDim2.new(0,0,0,0)
  1547. local fvalen = 0.55
  1548. local fval = -0.49
  1549. coroutine.resume(coroutine.create(function()
  1550. while true do
  1551. swait()
  1552. if chaosmode == true then
  1553. txtlb2.Rotation = math.random(-1,1)
  1554. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1555. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1556. imlb.ImageColor3 = BrickColor.random().Color
  1557. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  1558. end
  1559. end
  1560. end))
  1561. coroutine.resume(coroutine.create(function()
  1562. while true do
  1563. swait()
  1564. if scrg.Parent ~= nil then
  1565. fvalen = fvalen - 0.0001
  1566. elseif scrg.Parent == nil then
  1567. break
  1568. end
  1569. end
  1570. end))
  1571. local flol = -5
  1572. local flil = 1.6
  1573. coroutine.resume(coroutine.create(function()
  1574. for i = 0, 49 do
  1575. swait()
  1576. flol = flol + 0.125
  1577. flil = flil - 0.1
  1578. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  1579. frm.Rotation = frm.Rotation - 0.25
  1580. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  1581. frm2.Rotation = frm.Rotation + 0.325
  1582. imlb3.Rotation = imlb3.Rotation - 10
  1583. imlb2.Rotation = imlb.Rotation + 7.5
  1584. imlb.Rotation = imlb.Rotation + 5
  1585. txtlb2.Rotation = txtlb2.Rotation - 5.125
  1586. imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  1587. end
  1588. for i = 0, 99 do
  1589. swait()
  1590. fval = fval + 0.05
  1591. flol = flol + 0.005
  1592. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  1593. frm.Rotation = frm.Rotation - 0.075
  1594. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  1595. frm2.Rotation = frm2.Rotation + 0.125
  1596. imlb3.Rotation = imlb3.Rotation - 2
  1597. imlb2.Rotation = imlb.Rotation + 1.5
  1598. imlb.Rotation = imlb.Rotation + 1
  1599. txtlb2.Rotation = txtlb2.Rotation - 1.125
  1600. imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  1601. end
  1602. local valinc = 0
  1603. local vinc2 = 1
  1604. for i = 0, 99 do
  1605. swait()
  1606. vinc2 = vinc2 + 0.25
  1607. valinc = valinc + 0.0001
  1608. flol = flol + valinc
  1609. flil = flil + valinc
  1610. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  1611. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  1612. imlb.Rotation = imlb.Rotation + 1*vinc2
  1613. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  1614. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  1615. frm.Rotation = frm.Rotation + 0.1*vinc2
  1616. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  1617. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  1618. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  1619. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  1620. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  1621. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  1622. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  1623. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  1624. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  1625. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  1626. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  1627. end
  1628. scrg:Destroy()
  1629. end))
  1630. end))
  1631. end
  1632. end
  1633. end
  1634.  
  1635.  
  1636. --save shoulders
  1637. RSH, LSH=nil, nil
  1638. --welds
  1639. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1640. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1641. LH=Torso["Left Hip"]
  1642. RH=Torso["Right Hip"]
  1643. TorsoColor=Torso.BrickColor
  1644. function NoOutline(Part)
  1645. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1646. end
  1647. ch=Character
  1648. RSH=ch.Torso["Right Shoulder"]
  1649. LSH=ch.Torso["Left Shoulder"]
  1650. --
  1651. RSH.Parent=nil
  1652. LSH.Parent=nil
  1653. --
  1654. RW.Name="Right Shoulder"
  1655. RW.Part0=ch.Torso
  1656. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1657. RW.C1=cf(0, 0.5, 0)
  1658. RW.Part1=ch["Right Arm"]
  1659. RW.Parent=ch.Torso
  1660. --
  1661. LW.Name="Left Shoulder"
  1662. LW.Part0=ch.Torso
  1663. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1664. LW.C1=cf(0, 0.5, 0)
  1665. LW.Part1=ch["Left Arm"]
  1666. LW.Parent=ch.Torso
  1667.  
  1668. local Stats=Instance.new("BoolValue")
  1669. Stats.Name="Stats"
  1670. Stats.Parent=Character
  1671. local Atk=Instance.new("NumberValue")
  1672. Atk.Name="Damage"
  1673. Atk.Parent=Stats
  1674. Atk.Value=1
  1675. local Def=Instance.new("NumberValue")
  1676. Def.Name="Defense"
  1677. Def.Parent=Stats
  1678. Def.Value=1
  1679. local Speed=Instance.new("NumberValue")
  1680. Speed.Name="Speed"
  1681. Speed.Parent=Stats
  1682. Speed.Value=1
  1683. local Mvmt=Instance.new("NumberValue")
  1684. Mvmt.Name="Movement"
  1685. Mvmt.Parent=Stats
  1686. Mvmt.Value=1
  1687.  
  1688. local donum=0
  1689.  
  1690.  
  1691. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1692. local fp=it("Part")
  1693. fp.formFactor=formfactor
  1694. fp.Parent=parent
  1695. fp.Reflectance=reflectance
  1696. fp.Transparency=transparency
  1697. fp.CanCollide=false
  1698. fp.Locked=true
  1699. fp.BrickColor=brickcolor
  1700. fp.Name=name
  1701. fp.Size=size
  1702. fp.Position=Torso.Position
  1703. NoOutline(fp)
  1704. fp.Material="SmoothPlastic"
  1705. fp:BreakJoints()
  1706. return fp
  1707. end
  1708.  
  1709. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1710. local mesh=it(Mesh)
  1711. mesh.Parent=part
  1712. if Mesh=="SpecialMesh" then
  1713. mesh.MeshType=meshtype
  1714. if meshid~="nil" then
  1715. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1716. end
  1717. end
  1718. mesh.Offset=offset
  1719. mesh.Scale=scale
  1720. return mesh
  1721. end
  1722.  
  1723. function weld(parent,part0,part1,c0)
  1724. local weld=it("Weld")
  1725. weld.Parent=parent
  1726. weld.Part0=part0
  1727. weld.Part1=part1
  1728. weld.C0=c0
  1729. return weld
  1730. end
  1731.  
  1732. local Color1=Torso.BrickColor
  1733.  
  1734. local bodvel=Instance.new("BodyVelocity")
  1735. local bg=Instance.new("BodyGyro")
  1736.  
  1737. --------- SazEreno's Artificial HB --------------
  1738. ArtificialHB = Instance.new("BindableEvent", script)
  1739. ArtificialHB.Name = "ArtificialHB"
  1740.  
  1741. script:WaitForChild("ArtificialHB")
  1742. Frame_Speed = 1 / 60
  1743. frame = Frame_Speed
  1744. tf = 0
  1745. allowframeloss = false
  1746. tossremainder = false
  1747. lastframe = tick()
  1748. script.ArtificialHB:Fire()
  1749.  
  1750. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1751. tf = tf + s
  1752. if tf >= frame then
  1753. if allowframeloss then
  1754. script.ArtificialHB:Fire()
  1755. lastframe = tick()
  1756. else
  1757. for i = 1, math.floor(tf / frame) do
  1758. script.ArtificialHB:Fire()
  1759. end
  1760. lastframe = tick()
  1761. end
  1762. if tossremainder then
  1763. tf = 0
  1764. else
  1765. tf = tf - frame * math.floor(tf / frame)
  1766. end
  1767. end
  1768. end)
  1769.  
  1770. ------------------
  1771. function swait(num)
  1772. if num == 0 or num == nil then
  1773. ArtificialHB.Event:wait()
  1774. else
  1775. for i = 1, num do
  1776. ArtificialHB.Event:wait()
  1777. end
  1778. end
  1779. end
  1780. -------- RAINBOW LEAVE IT TO ME
  1781. local r = 255
  1782. local g = 0
  1783. local b = 0
  1784. coroutine.resume(coroutine.create(function()
  1785. while wait() do
  1786. for i = 0, 254/5 do
  1787. swait()
  1788. g = g + 5
  1789. end
  1790. for i = 0, 254/5 do
  1791. swait()
  1792. r = r - 5
  1793. end
  1794. for i = 0, 254/5 do
  1795. swait()
  1796. b = b + 5
  1797. end
  1798. for i = 0, 254/5 do
  1799. swait()
  1800. g = g - 5
  1801. end
  1802. for i = 0, 254/5 do
  1803. swait()
  1804. r = r + 5
  1805. end
  1806. for i = 0, 254/5 do
  1807. swait()
  1808. b = b - 5
  1809. end
  1810. end
  1811. end))
  1812.  
  1813.  
  1814. so = function(id,par,vol,pit)
  1815. coroutine.resume(coroutine.create(function()
  1816. local sou = Instance.new("Sound",par or workspace)
  1817. sou.Volume=vol
  1818. sou.Pitch=pit or 1
  1819. sou.SoundId=id
  1820. swait()
  1821. sou:play()
  1822. game:GetService("Debris"):AddItem(sou,6)
  1823. end))
  1824. end
  1825.  
  1826. function clerp(a,b,t)
  1827. local qa = {QuaternionFromCFrame(a)}
  1828. local qb = {QuaternionFromCFrame(b)}
  1829. local ax, ay, az = a.x, a.y, a.z
  1830. local bx, by, bz = b.x, b.y, b.z
  1831. local _t = 1-t
  1832. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1833. end
  1834.  
  1835. function QuaternionFromCFrame(cf)
  1836. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1837. local trace = m00 + m11 + m22
  1838. if trace > 0 then
  1839. local s = math.sqrt(1 + trace)
  1840. local recip = 0.5/s
  1841. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1842. else
  1843. local i = 0
  1844. if m11 > m00 then
  1845. i = 1
  1846. end
  1847. if m22 > (i == 0 and m00 or m11) then
  1848. i = 2
  1849. end
  1850. if i == 0 then
  1851. local s = math.sqrt(m00-m11-m22+1)
  1852. local recip = 0.5/s
  1853. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1854. elseif i == 1 then
  1855. local s = math.sqrt(m11-m22-m00+1)
  1856. local recip = 0.5/s
  1857. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1858. elseif i == 2 then
  1859. local s = math.sqrt(m22-m00-m11+1)
  1860. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1861. end
  1862. end
  1863. end
  1864.  
  1865. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1866. local xs, ys, zs = x + x, y + y, z + z
  1867. local wx, wy, wz = w*xs, w*ys, w*zs
  1868. local xx = x*xs
  1869. local xy = x*ys
  1870. local xz = x*zs
  1871. local yy = y*ys
  1872. local yz = y*zs
  1873. local zz = z*zs
  1874. 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))
  1875. end
  1876.  
  1877. function QuaternionSlerp(a, b, t)
  1878. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1879. local startInterp, finishInterp;
  1880. if cosTheta >= 0.0001 then
  1881. if (1 - cosTheta) > 0.0001 then
  1882. local theta = math.acos(cosTheta)
  1883. local invSinTheta = 1/math.sin(theta)
  1884. startInterp = math.sin((1-t)*theta)*invSinTheta
  1885. finishInterp = math.sin(t*theta)*invSinTheta
  1886. else
  1887. startInterp = 1-t
  1888. finishInterp = t
  1889. end
  1890. else
  1891. if (1+cosTheta) > 0.0001 then
  1892. local theta = math.acos(-cosTheta)
  1893. local invSinTheta = 1/math.sin(theta)
  1894. startInterp = math.sin((t-1)*theta)*invSinTheta
  1895. finishInterp = math.sin(t*theta)*invSinTheta
  1896. else
  1897. startInterp = t-1
  1898. finishInterp = t
  1899. end
  1900. end
  1901. 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
  1902. end
  1903.  
  1904. local function CFrameFromTopBack(at, top, back)
  1905. local right = top:Cross(back)
  1906. return CFrame.new(at.x, at.y, at.z,
  1907. right.x, top.x, back.x,
  1908. right.y, top.y, back.y,
  1909. right.z, top.z, back.z)
  1910. end
  1911.  
  1912. function Triangle(a, b, c)
  1913. local edg1 = (c-a):Dot((b-a).unit)
  1914. local edg2 = (a-b):Dot((c-b).unit)
  1915. local edg3 = (b-c):Dot((a-c).unit)
  1916. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1917. a, b, c = a, b, c
  1918. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1919. a, b, c = b, c, a
  1920. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1921. a, b, c = c, a, b
  1922. else
  1923. assert(false, "unreachable")
  1924. end
  1925.  
  1926. local len1 = (c-a):Dot((b-a).unit)
  1927. local len2 = (b-a).magnitude - len1
  1928. local width = (a + (b-a).unit*len1 - c).magnitude
  1929.  
  1930. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1931.  
  1932. local list = {}
  1933.  
  1934. if len1 > 0.01 then
  1935. local w1 = Instance.new('WedgePart', m)
  1936. game:GetService("Debris"):AddItem(w1,5)
  1937. w1.Material = "SmoothPlastic"
  1938. w1.FormFactor = 'Custom'
  1939. w1.BrickColor = BrickColor.new("Really red")
  1940. w1.Transparency = 0
  1941. w1.Reflectance = 0
  1942. w1.Material = "SmoothPlastic"
  1943. w1.CanCollide = false
  1944. local l1 = Instance.new("PointLight",w1)
  1945. l1.Color = Color3.new(170,0,0)
  1946. NoOutline(w1)
  1947. local sz = Vector3.new(0.2, width, len1)
  1948. w1.Size = sz
  1949. local sp = Instance.new("SpecialMesh",w1)
  1950. sp.MeshType = "Wedge"
  1951. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1952. w1:BreakJoints()
  1953. w1.Anchored = true
  1954. w1.Parent = workspace
  1955. w1.Transparency = 0.7
  1956. table.insert(Effects,{w1,"Disappear",.01})
  1957. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1958. table.insert(list,w1)
  1959. end
  1960.  
  1961. if len2 > 0.01 then
  1962. local w2 = Instance.new('WedgePart', m)
  1963. game:GetService("Debris"):AddItem(w2,5)
  1964. w2.Material = "SmoothPlastic"
  1965. w2.FormFactor = 'Custom'
  1966. w2.BrickColor = BrickColor.new("Really red")
  1967. w2.Transparency = 0
  1968. w2.Reflectance = 0
  1969. w2.Material = "SmoothPlastic"
  1970. w2.CanCollide = false
  1971. local l2 = Instance.new("PointLight",w2)
  1972. l2.Color = Color3.new(170,0,0)
  1973. NoOutline(w2)
  1974. local sz = Vector3.new(0.2, width, len2)
  1975. w2.Size = sz
  1976. local sp = Instance.new("SpecialMesh",w2)
  1977. sp.MeshType = "Wedge"
  1978. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1979. w2:BreakJoints()
  1980. w2.Anchored = true
  1981. w2.Parent = workspace
  1982. w2.Transparency = 0.7
  1983. table.insert(Effects,{w2,"Disappear",.01})
  1984. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1985. table.insert(list,w2)
  1986. end
  1987. return unpack(list)
  1988. end
  1989.  
  1990.  
  1991. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1992. if hit.Parent == nil then
  1993. return
  1994. end
  1995. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1996. for _, v in pairs(hit.Parent:children()) do
  1997. if v:IsA("Humanoid") then
  1998. h = v
  1999. end
  2000. end
  2001. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  2002. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  2003. return
  2004. end
  2005. local c = Create("ObjectValue")({
  2006. Name = "creator",
  2007. Value = game:GetService("Players").bluebloxguy35,
  2008. Parent = h
  2009. })
  2010. game:GetService("Debris"):AddItem(c, 0.5)
  2011. if HitSound ~= nil and HitPitch ~= nil then
  2012. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2013. end
  2014. local Damage = math.random(minim, maxim)
  2015. local blocked = false
  2016. local block = hit.Parent:findFirstChild("Block")
  2017. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  2018. blocked = true
  2019. block.Value = block.Value - 1
  2020. print(block.Value)
  2021. end
  2022. if blocked == false then
  2023. HitHealth = h.Health
  2024. h.MaxHealth = 100
  2025. h.Health = h.Health - Damage
  2026. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  2027. print("gained kill")
  2028. dmg(h.Parent)
  2029. end
  2030. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2031. else
  2032. h.Health = h.Health - Damage / 2
  2033. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2034. end
  2035. if Type == "Knockdown" then
  2036. local hum = hit.Parent.Humanoid
  2037. hum.PlatformStand = true
  2038. coroutine.resume(coroutine.create(function(HHumanoid)
  2039. swait(1)
  2040. HHumanoid.PlatformStand = false
  2041. end), hum)
  2042. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2043. local bodvol = Create("BodyVelocity")({
  2044. velocity = angle * knockback,
  2045. P = 5000,
  2046. maxForce = Vector3.new(8000, 8000, 8000),
  2047. Parent = hit
  2048. })
  2049. local rl = Create("BodyAngularVelocity")({
  2050. P = 3000,
  2051. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2052. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2053. Parent = hit
  2054. })
  2055. game:GetService("Debris"):AddItem(bodvol, 0.5)
  2056. game:GetService("Debris"):AddItem(rl, 0.5)
  2057. elseif Type == "Normal" then
  2058. local vp = Create("BodyVelocity")({
  2059. P = 500,
  2060. maxForce = Vector3.new(math.huge, 0, math.huge),
  2061. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2062. })
  2063. if knockback > 0 then
  2064. vp.Parent = hit.Parent.Head
  2065. end
  2066. game:GetService("Debris"):AddItem(vp, 0.5)
  2067. elseif Type == "Up" then
  2068. local bodyVelocity = Create("BodyVelocity")({
  2069. velocity = Vector3.new(0, 20, 0),
  2070. P = 5000,
  2071. maxForce = Vector3.new(8000, 8000, 8000),
  2072. Parent = hit
  2073. })
  2074. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2075. local bodyVelocity = Create("BodyVelocity")({
  2076. velocity = Vector3.new(0, 20, 0),
  2077. P = 5000,
  2078. maxForce = Vector3.new(8000, 8000, 8000),
  2079. Parent = hit
  2080. })
  2081. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2082. elseif Type == "Leech" then
  2083. local hum = hit.Parent.Humanoid
  2084. if hum ~= nil then
  2085. for i = 0, 2 do
  2086. 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)
  2087. end
  2088. Humanoid.Health = Humanoid.Health + 10
  2089. end
  2090. elseif Type == "UpKnock" then
  2091. local hum = hit.Parent.Humanoid
  2092. hum.PlatformStand = true
  2093. if hum ~= nil then
  2094. hitr = true
  2095. end
  2096. coroutine.resume(coroutine.create(function(HHumanoid)
  2097. swait(5)
  2098. HHumanoid.PlatformStand = false
  2099. hitr = false
  2100. end), hum)
  2101. local bodyVelocity = Create("BodyVelocity")({
  2102. velocity = Vector3.new(0, 20, 0),
  2103. P = 5000,
  2104. maxForce = Vector3.new(8000, 8000, 8000),
  2105. Parent = hit
  2106. })
  2107. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2108. local bodyVelocity = Create("BodyVelocity")({
  2109. velocity = Vector3.new(0, 20, 0),
  2110. P = 5000,
  2111. maxForce = Vector3.new(8000, 8000, 8000),
  2112. Parent = hit
  2113. })
  2114. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2115. elseif Type == "Snare" then
  2116. local bp = Create("BodyPosition")({
  2117. P = 2000,
  2118. D = 100,
  2119. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2120. position = hit.Parent.Torso.Position,
  2121. Parent = hit.Parent.Torso
  2122. })
  2123. game:GetService("Debris"):AddItem(bp, 1)
  2124. elseif Type == "Slashnare" then
  2125. 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)
  2126. for i = 1, math.random(4, 5) do
  2127. 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)
  2128. end
  2129. local bp = Create("BodyPosition")({
  2130. P = 2000,
  2131. D = 100,
  2132. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2133. position = hit.Parent.Torso.Position,
  2134. Parent = hit.Parent.Torso
  2135. })
  2136. game:GetService("Debris"):AddItem(bp, 1)
  2137. elseif Type == "Spike" then
  2138. CreateBigIceSword(hit.Parent.Torso.CFrame)
  2139. local bp = Create("BodyPosition")({
  2140. P = 2000,
  2141. D = 100,
  2142. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2143. position = hit.Parent.Torso.Position,
  2144. Parent = hit.Parent.Torso
  2145. })
  2146. game:GetService("Debris"):AddItem(bp, 1)
  2147. elseif Type == "Freeze" then
  2148. local BodPos = Create("BodyPosition")({
  2149. P = 50000,
  2150. D = 1000,
  2151. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2152. position = hit.Parent.Torso.Position,
  2153. Parent = hit.Parent.Torso
  2154. })
  2155. local BodGy = Create("BodyGyro")({
  2156. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  2157. P = 20000,
  2158. Parent = hit.Parent.Torso,
  2159. cframe = hit.Parent.Torso.CFrame
  2160. })
  2161. hit.Parent.Torso.Anchored = true
  2162. coroutine.resume(coroutine.create(function(Part)
  2163. swait(1.5)
  2164. Part.Anchored = false
  2165. end), hit.Parent.Torso)
  2166. game:GetService("Debris"):AddItem(BodPos, 3)
  2167. game:GetService("Debris"):AddItem(BodGy, 3)
  2168. end
  2169. local debounce = Create("BoolValue")({
  2170. Name = "DebounceHit",
  2171. Parent = hit.Parent,
  2172. Value = true
  2173. })
  2174. game:GetService("Debris"):AddItem(debounce, Delay)
  2175. c = Instance.new("ObjectValue")
  2176. c.Name = "creator"
  2177. c.Value = Player
  2178. c.Parent = h
  2179. game:GetService("Debris"):AddItem(c, 0.5)
  2180. end
  2181. end
  2182. function ShowDamage(Pos, Text, Time, Color)
  2183. local Rate = 0.03333333333333333
  2184. local Pos = Pos or Vector3.new(0, 0, 0)
  2185. local Text = Text or ""
  2186. local Time = Time or 2
  2187. local Color = Color or Color3.new(1, 0, 1)
  2188. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2189. EffectPart.Anchored = true
  2190. local BillboardGui = Create("BillboardGui")({
  2191. Size = UDim2.new(3, 0, 3, 0),
  2192. Adornee = EffectPart,
  2193. Parent = EffectPart
  2194. })
  2195. local TextLabel = Create("TextLabel")({
  2196. BackgroundTransparency = 1,
  2197. Size = UDim2.new(1, 0, 1, 0),
  2198. Text = Text,
  2199. TextColor3 = Color,
  2200. TextScaled = true,
  2201. Font = Enum.Font.ArialBold,
  2202. Parent = BillboardGui
  2203. })
  2204. game.Debris:AddItem(EffectPart, Time + 0.1)
  2205. EffectPart.Parent = game:GetService("Workspace")
  2206. delay(0, function()
  2207. local Frames = Time / Rate
  2208. for Frame = 1, Frames do
  2209. wait(Rate)
  2210. local Percent = Frame / Frames
  2211. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2212. TextLabel.TextTransparency = Percent
  2213. end
  2214. if EffectPart and EffectPart.Parent then
  2215. EffectPart:Destroy()
  2216. end
  2217. end)
  2218. end
  2219. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2220. for _, c in pairs(workspace:children()) do
  2221. local hum = c:findFirstChildOfClass("Humanoid")
  2222. if hum ~= nil then
  2223. local head = c:findFirstChild("Head")
  2224. if head ~= nil then
  2225. local targ = head.Position - Part.Position
  2226. local mag = targ.magnitude
  2227. if magni >= mag and c.Name ~= Player.Name then
  2228. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2229. end
  2230. end
  2231. end
  2232. end
  2233. end
  2234.  
  2235. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2236. for _, c in pairs(workspace:children()) do
  2237. local hum = c:findFirstChild("Humanoid")
  2238. if hum ~= nil then
  2239. local head = c:findFirstChild("Torso")
  2240. if head ~= nil then
  2241. local targ = head.Position - Part.Position
  2242. local mag = targ.magnitude
  2243. if magni >= mag and c.Name ~= Player.Name then
  2244. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2245. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2246. end
  2247. end
  2248. end
  2249. end
  2250. end
  2251.  
  2252. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2253. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2254. end
  2255.  
  2256. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2257. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2258. prt.Anchored=true
  2259. prt.CFrame=cframe
  2260. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2261. --http://www.roblox.com/asset/?id=4770560
  2262. game:GetService("Debris"):AddItem(prt,2)
  2263. CF=prt.CFrame
  2264. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2265. for i=0,1,0.2 do
  2266. wait()
  2267. Part.CFrame=CF*cf(0,0,-0.4)
  2268. end
  2269. for i=0,1,delay do
  2270. wait()
  2271. --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)
  2272. Mesh.Scale=Mesh.Scale
  2273. end
  2274. for i=0,1,0.1 do
  2275. wait()
  2276. Part.Transparency=i
  2277. end
  2278. Part.Parent=nil
  2279. end),prt,msh,CF)
  2280. end
  2281.  
  2282. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2283. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2284. prt.Anchored=true
  2285. prt.Material = "Neon"
  2286. prt.CFrame=cframe
  2287. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2288. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2289. game:GetService("Debris"):AddItem(prt,5)
  2290. coroutine.resume(coroutine.create(function(Part,Mesh)
  2291. for i=0,1,delay do
  2292. swait()
  2293. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2294. Part.Transparency=i
  2295. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2296. end
  2297. Part.Parent=nil
  2298. end),prt,msh)
  2299. end
  2300.  
  2301. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2302. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2303. prt.Anchored=true
  2304. prt.Material = "Neon"
  2305. prt.CFrame=cframe
  2306. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2307. game:GetService("Debris"):AddItem(prt,5)
  2308. coroutine.resume(coroutine.create(function(Part,Mesh)
  2309. local rtype = rottype
  2310. for i=0,1,delay do
  2311. swait()
  2312. if rtype == 1 then
  2313. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2314. elseif rtype == 2 then
  2315. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2316. end
  2317. Part.Transparency=i
  2318. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2319. end
  2320. Part.Parent=nil
  2321. end),prt,msh)
  2322. end
  2323.  
  2324. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2325. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2326. prt.Anchored=true
  2327. prt.CFrame=cframe
  2328. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2329. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2330. game:GetService("Debris"):AddItem(prt,5)
  2331. coroutine.resume(coroutine.create(function(Part,Mesh)
  2332. for i=0,1,delay do
  2333. wait()
  2334. Part.Transparency=i
  2335. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2336. end
  2337. Part.Parent=nil
  2338. end),prt,msh)
  2339. end
  2340.  
  2341. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2342. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2343. prt.Anchored=true
  2344. prt.Material = "Neon"
  2345. prt.CFrame=cframe
  2346. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2347. game:GetService("Debris"):AddItem(prt,5)
  2348. coroutine.resume(coroutine.create(function(Part,Mesh)
  2349. local rtype = rottype
  2350. for i=0,1,delay do
  2351. swait()
  2352. if rtype == 1 then
  2353. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2354. elseif rtype == 2 then
  2355. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2356. end
  2357. Part.Transparency=i
  2358. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2359. end
  2360. Part.Parent=nil
  2361. end),prt,msh)
  2362. end
  2363.  
  2364. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2365. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2366. prt.Anchored=true
  2367. prt.Material = "Neon"
  2368. prt.CFrame=cframe
  2369. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2370. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2371. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2372. game:GetService("Debris"):AddItem(prt,5)
  2373. coroutine.resume(coroutine.create(function(Part,Mesh)
  2374. local rtype = rottype
  2375. for i=0,1,delay do
  2376. swait()
  2377. if rtype == 1 then
  2378. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2379. elseif rtype == 2 then
  2380. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2381. end
  2382. dec.Transparency=i
  2383. dec2.Transparency=i
  2384. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2385. end
  2386. Part.Parent=nil
  2387. end),prt,msh)
  2388. end
  2389.  
  2390. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2391. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2392. prt.Anchored=true
  2393. prt.Material = "Neon"
  2394. prt.CFrame=cframe
  2395. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2396. game:GetService("Debris"):AddItem(prt,5)
  2397. coroutine.resume(coroutine.create(function(Part,Mesh)
  2398. local rtype = rottype
  2399. for i=0,1,delay do
  2400. swait()
  2401. if rtype == 1 then
  2402. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2403. elseif rtype == 2 then
  2404. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2405. end
  2406. prt.Transparency=i
  2407. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2408. end
  2409. Part.Parent=nil
  2410. end),prt,msh)
  2411. end
  2412.  
  2413. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2414. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2415. prt.Anchored=true
  2416. prt.Material = "Neon"
  2417. prt.CFrame=cframe
  2418. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2419. game:GetService("Debris"):AddItem(prt,5)
  2420. coroutine.resume(coroutine.create(function(Part,Mesh)
  2421. local rtype = rottype
  2422. for i=0,1,delay do
  2423. swait()
  2424. if rtype == 1 then
  2425. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2426. elseif rtype == 2 then
  2427. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2428. end
  2429. prt.Transparency=i
  2430. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2431. end
  2432. Part.Parent=nil
  2433. end),prt,msh)
  2434. end
  2435.  
  2436. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2437. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2438. prt.Anchored=true
  2439. prt.Material = "Neon"
  2440. prt.CFrame=cframe
  2441. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2442. game:GetService("Debris"):AddItem(prt,5)
  2443. coroutine.resume(coroutine.create(function(Part,Mesh)
  2444. local rtype = rottype
  2445. for i=0,1,delay do
  2446. swait()
  2447. if rtype == 1 then
  2448. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2449. elseif rtype == 2 then
  2450. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2451. end
  2452. prt.Transparency=i
  2453. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2454. end
  2455. Part.Parent=nil
  2456. end),prt,msh)
  2457. end
  2458.  
  2459. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2460. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2461. prt.Anchored=true
  2462. prt.Material = "Neon"
  2463. prt.CFrame=cframe
  2464. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2465. game:GetService("Debris"):AddItem(prt,5)
  2466. coroutine.resume(coroutine.create(function(Part,Mesh)
  2467. local rtype = rottype
  2468. for i=0,1,delay do
  2469. swait()
  2470. if rtype == 1 then
  2471. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2472. elseif rtype == 2 then
  2473. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2474. end
  2475. prt.Transparency=i
  2476. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2477. end
  2478. Part.Parent=nil
  2479. end),prt,msh)
  2480. end
  2481.  
  2482. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2483. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2484. prt.Anchored=false
  2485. prt.CFrame=cframe
  2486. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2487. local wld=weld(prt,prt,Parent,cframe)
  2488. game:GetService("Debris"):AddItem(prt,5)
  2489. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2490. for i=0,1,delay do
  2491. wait()
  2492. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2493. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2494. Part.Transparency=i
  2495. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2496. end
  2497. Part.Parent=nil
  2498. end),prt,msh,wld)
  2499. end
  2500.  
  2501. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2502. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2503. prt.Anchored=false
  2504. prt.CFrame=cframe
  2505. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2506. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2507. game:GetService("Debris"):AddItem(prt,5)
  2508. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2509. for i=0,1,delay do
  2510. wait()
  2511. Weld.C0=euler(i*20,0,0)
  2512. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2513. Part.Transparency=i
  2514. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2515. end
  2516. Part.Parent=nil
  2517. end),prt,msh,wld)
  2518. end
  2519.  
  2520. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2521. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2522. prt.Anchored=true
  2523. prt.CFrame=cframe
  2524. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2525. game:GetService("Debris"):AddItem(prt,2)
  2526. coroutine.resume(coroutine.create(function(Part,Mesh)
  2527. for i=0,1,delay do
  2528. wait()
  2529. Part.CFrame=Part.CFrame
  2530. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2531. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2532. prt2.Anchored=true
  2533. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2534. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2535. game:GetService("Debris"):AddItem(prt2,2)
  2536. coroutine.resume(coroutine.create(function(Part,Mesh)
  2537. for i=0,1,0.1 do
  2538. wait()
  2539. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2540. end
  2541. Part.Parent=nil
  2542. end),prt2,msh2)
  2543. end
  2544. for i=0,1,delay*2 do
  2545. wait()
  2546. Part.CFrame=Part.CFrame
  2547. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2548. end
  2549. Part.Parent=nil
  2550. end),prt,msh)
  2551. end
  2552.  
  2553. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2554. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2555. prt.Anchored=true
  2556. prt.CFrame=cframe
  2557. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2558. game:GetService("Debris"):AddItem(prt,2)
  2559. coroutine.resume(coroutine.create(function(Part,Mesh)
  2560. for i=0,1,delay do
  2561. wait()
  2562. Part.CFrame=Part.CFrame
  2563. Part.Transparency=i
  2564. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2565. end
  2566. Part.Parent=nil
  2567. end),prt,msh)
  2568. end
  2569.  
  2570. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2571. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2572. prt.Anchored=true
  2573. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2574. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2575. game:GetService("Debris"):AddItem(prt,2)
  2576. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2577. CF=Part.CFrame
  2578. Numbb=0
  2579. randnumb=math.random()/10
  2580. rand1=math.random()/10
  2581. for i=0,1,rand1 do
  2582. wait()
  2583. CF=CF*cf(0,math.random()/2,0)
  2584. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2585. Part.CFrame=CF*euler(Numbb,0,0)
  2586. Part.Transparency=i
  2587. Numbb=Numbb+randnumb
  2588. end
  2589. Part.Parent=nil
  2590. end),prt,CF,Numbb,randnumb)
  2591. end
  2592.  
  2593. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2594. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2595. prt.Anchored=true
  2596. prt.CFrame=cframe
  2597. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2598. game:GetService("Debris"):AddItem(prt,5)
  2599. coroutine.resume(coroutine.create(function(Part,Mesh)
  2600. for i=0,1,delay do
  2601. wait()
  2602. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2603. Part.Transparency=i
  2604. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2605. end
  2606. Part.Parent=nil
  2607. end),prt,msh)
  2608. end
  2609.  
  2610. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2611. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2612. prt.Anchored=true
  2613. prt.CFrame=cframe
  2614. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2615. game:GetService("Debris"):AddItem(prt,2)
  2616. coroutine.resume(coroutine.create(function(Part,Mesh)
  2617. for i=0,1,delay do
  2618. wait()
  2619. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2620. Part.Transparency=i
  2621. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2622. end
  2623. Part.Parent=nil
  2624. end),prt,msh)
  2625. end
  2626.  
  2627. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2628. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2629. prt.Anchored=true
  2630. prt.CFrame=cframe*cf(x,y,z)
  2631. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2632. game:GetService("Debris"):AddItem(prt,5)
  2633. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2634. local num=math.random()
  2635. local num2=math.random(-3,2)+math.random()
  2636. local numm=0
  2637. for i=0,1,delay*2 do
  2638. swait()
  2639. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2640. Part.Transparency=i
  2641. numm=numm+0.01
  2642. end
  2643. Part.Parent=nil
  2644. Mesh.Parent=nil
  2645. end),prt,msh,x,y,z)
  2646. end
  2647.  
  2648. function dmgstart(dmg,what)
  2649. hitcon = what.Touched:connect(function(hit)
  2650. local hum = hit.Parent:FindFirstChild("Humanoid")
  2651. if hum and not hum:IsDescendantOf(Character) then
  2652. hum:TakeDamage(dmg)
  2653. end
  2654. end)
  2655. end
  2656.  
  2657. function dmgstop()
  2658. hitcon:disconnect()
  2659. end
  2660.  
  2661. function Cloak()
  2662. Face.Parent=nil
  2663. cloaked=true
  2664. for _,v in pairs(Torso.Parent:children()) do
  2665. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2666. coroutine.resume(coroutine.create(function()
  2667. for i=0,1,0.2 do
  2668. wait()
  2669. v.Transparency=i
  2670. end
  2671. v.Transparency=1
  2672. end))
  2673. end
  2674. if v.className=="Hat" then
  2675. hatp=v.Handle
  2676. coroutine.resume(coroutine.create(function(derp)
  2677. for i=0,1,0.2 do
  2678. wait()
  2679. derp.Transparency=i
  2680. end
  2681. derp.Transparency=1
  2682. end),hatp)
  2683. end
  2684. end
  2685. for _,v in pairs(m:children()) do
  2686. if v.className=="Part" then
  2687. coroutine.resume(coroutine.create(function()
  2688. for i=0,1,0.2 do
  2689. wait()
  2690. v.Transparency=i
  2691. end
  2692. v.Transparency=1
  2693. end))
  2694. end
  2695. end
  2696. end
  2697.  
  2698. function UnCloak()
  2699. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2700. Face.Parent=Head
  2701. cloaked=false
  2702. for _,v in pairs(Torso.Parent:children()) do
  2703. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2704. coroutine.resume(coroutine.create(function()
  2705. for i=0,1,0.1 do
  2706. wait()
  2707. v.Transparency=v.Transparency-0.1
  2708. end
  2709. v.Transparency=0
  2710. end))
  2711. end
  2712. if v.className=="Hat" then
  2713. hatp=v.Handle
  2714. coroutine.resume(coroutine.create(function(derp)
  2715. for i=0,1,0.1 do
  2716. wait()
  2717. derp.Transparency=derp.Transparency-0.1
  2718. end
  2719. derp.Transparency=0
  2720. end),hatp)
  2721. end
  2722. end
  2723. for _,v in pairs(m:children()) do
  2724. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2725. coroutine.resume(coroutine.create(function()
  2726. for i=0,1,0.1 do
  2727. wait()
  2728. v.Transparency=v.Transparency-0.1
  2729. end
  2730. v.Transparency=0
  2731. end))
  2732. v.Transparency=0
  2733. end
  2734. end
  2735. end
  2736.  
  2737. local origcolor = BrickColor.new("Pastel light blue")
  2738. ---- This section of explosions.
  2739.  
  2740. ----
  2741.  
  2742.  
  2743. function ring(type,pos,scale,value)
  2744. local type = type
  2745. local rng = Instance.new("Part", char)
  2746. rng.Anchored = true
  2747. rng.BrickColor = origcolor
  2748. rng.CanCollide = false
  2749. rng.FormFactor = 3
  2750. rng.Name = "Ring"
  2751. rng.Size = Vector3.new(1, 1, 1)
  2752. rng.Transparency = 0
  2753. rng.TopSurface = 0
  2754. rng.BottomSurface = 0
  2755. rng.CFrame = pos
  2756. local rngm = Instance.new("SpecialMesh", rng)
  2757. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2758. rngm.Scale = scale
  2759. local scaler2 = 1
  2760. if type == "Add" then
  2761. scaler2 = 1*value
  2762. elseif type == "Divide" then
  2763. scaler2 = 1/value
  2764. end
  2765. coroutine.resume(coroutine.create(function()
  2766. for i = 0,10,0.1 do
  2767. swait()
  2768. if type == "Add" then
  2769. scaler2 = scaler2 - 0.01*value
  2770. elseif type == "Divide" then
  2771. scaler2 = scaler2 - 0.01/value
  2772. end
  2773. rng.Transparency = rng.Transparency + 0.01
  2774. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2775. end
  2776. rng:Destroy()
  2777. end))
  2778. end
  2779.  
  2780.  
  2781. function wave(type,pos,scale,value)
  2782. local type = type
  2783. local rng = Instance.new("Part", char)
  2784. rng.Anchored = true
  2785. rng.BrickColor = origcolor
  2786. rng.CanCollide = false
  2787. rng.FormFactor = 3
  2788. rng.Name = "Ring"
  2789. rng.Size = Vector3.new(1, 1, 1)
  2790. rng.Transparency = 0
  2791. rng.TopSurface = 0
  2792. rng.BottomSurface = 0
  2793. rng.CFrame = pos
  2794. local rngm = Instance.new("SpecialMesh", rng)
  2795. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2796. rngm.Scale = scale
  2797. local scaler2 = 1
  2798. if type == "Add" then
  2799. scaler2 = 1*value
  2800. elseif type == "Divide" then
  2801. scaler2 = 1/value
  2802. end
  2803. coroutine.resume(coroutine.create(function()
  2804. for i = 0,10,0.1 do
  2805. swait()
  2806. if type == "Add" then
  2807. scaler2 = scaler2 - 0.01*value
  2808. elseif type == "Divide" then
  2809. scaler2 = scaler2 - 0.01/value
  2810. end
  2811. rng.Transparency = rng.Transparency + 0.01
  2812. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2813. end
  2814. rng:Destroy()
  2815. end))
  2816. end
  2817.  
  2818. function wind(type,pos,scale,value,speed)
  2819. local type = type
  2820. local rng = Instance.new("Part", char)
  2821. rng.Anchored = true
  2822. rng.BrickColor = origcolor
  2823. rng.CanCollide = false
  2824. rng.FormFactor = 3
  2825. rng.Name = "Ring"
  2826. rng.Size = Vector3.new(1, 1, 1)
  2827. rng.Transparency = 0
  2828. rng.TopSurface = 0
  2829. rng.BottomSurface = 0
  2830. rng.CFrame = pos
  2831. local rngm = Instance.new("SpecialMesh", rng)
  2832. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2833. rngm.Scale = scale
  2834. local scaler2 = 1
  2835. if type == "Add" then
  2836. scaler2 = 1*value
  2837. elseif type == "Divide" then
  2838. scaler2 = 1/value
  2839. end
  2840. coroutine.resume(coroutine.create(function()
  2841. for i = 0,10,0.1 do
  2842. swait()
  2843. if type == "Add" then
  2844. scaler2 = scaler2 - 0.01*value
  2845. elseif type == "Divide" then
  2846. scaler2 = scaler2 - 0.01/value
  2847. end
  2848. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2849. rng.Transparency = rng.Transparency + 0.01
  2850. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2851. end
  2852. rng:Destroy()
  2853. end))
  2854. end
  2855.  
  2856. function groundwind(type,pos,scale,value,speed)
  2857. local type = type
  2858. local rng = Instance.new("Part", char)
  2859. rng.Anchored = true
  2860. rng.BrickColor = origcolor
  2861. rng.CanCollide = false
  2862. rng.FormFactor = 3
  2863. rng.Name = "Ring"
  2864. rng.Size = Vector3.new(1, 1, 1)
  2865. rng.Transparency = 0
  2866. rng.TopSurface = 0
  2867. rng.BottomSurface = 0
  2868. rng.CFrame = pos
  2869. local rngm = Instance.new("SpecialMesh", rng)
  2870. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2871. rngm.Scale = scale
  2872. local scaler2 = 1
  2873. if type == "Add" then
  2874. scaler2 = 1*value
  2875. elseif type == "Divide" then
  2876. scaler2 = 1/value
  2877. end
  2878. coroutine.resume(coroutine.create(function()
  2879. for i = 0,10,0.1 do
  2880. swait()
  2881. if type == "Add" then
  2882. scaler2 = scaler2 - 0.01*value
  2883. elseif type == "Divide" then
  2884. scaler2 = scaler2 - 0.01/value
  2885. end
  2886. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2887. rng.Transparency = rng.Transparency + 0.01
  2888. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2889. end
  2890. rng:Destroy()
  2891. end))
  2892. end
  2893.  
  2894. function CameraManager()
  2895. if TwoD and not CamInterrupt then
  2896. if Humanoid.Health > 0 then
  2897. Camera.CameraSubject = Humanoid
  2898. Camera.CameraType = "Scriptable"
  2899. Humanoid.AutoRotate = false
  2900. if Booleans.GyroUse then
  2901. Directer.MaxTorque = Vec3(0, huge, 0)
  2902. else
  2903. Directer.MaxTorque = Vec3(0, 0, 0)
  2904. end
  2905. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2906. if Booleans.CamFollow then
  2907. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2908. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2909. else
  2910. CPart.Position = RootPart.Position
  2911. end
  2912. else
  2913. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2914. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2915. end
  2916. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2917. else
  2918. Camera.CameraSubject = Humanoid
  2919. Camera.CameraType = "Custom"
  2920. Controller.Disabled = false
  2921. end
  2922. end
  2923. end
  2924.  
  2925. function ring(type,pos,scale,value)
  2926. local type = type
  2927. local rng = Instance.new("Part", char)
  2928. rng.Anchored = true
  2929. rng.BrickColor = origcolor
  2930. rng.CanCollide = false
  2931. rng.FormFactor = 3
  2932. rng.Name = "Ring"
  2933. rng.Size = Vector3.new(1, 1, 1)
  2934. rng.Transparency = 0
  2935. rng.TopSurface = 0
  2936. rng.BottomSurface = 0
  2937. rng.CFrame = pos
  2938. local rngm = Instance.new("SpecialMesh", rng)
  2939. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2940. rngm.Scale = scale
  2941. local scaler2 = 1
  2942. if type == "Add" then
  2943. scaler2 = 1*value
  2944. elseif type == "Divide" then
  2945. scaler2 = 1/value
  2946. end
  2947. coroutine.resume(coroutine.create(function()
  2948. for i = 0,10,0.1 do
  2949. swait()
  2950. if type == "Add" then
  2951. scaler2 = scaler2 - 0.01*value
  2952. elseif type == "Divide" then
  2953. scaler2 = scaler2 - 0.01/value
  2954. end
  2955. rng.Transparency = rng.Transparency + 0.01
  2956. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2957. end
  2958. rng:Destroy()
  2959. end))
  2960. end
  2961.  
  2962.  
  2963. function wave(type,pos,scale,value)
  2964. local type = type
  2965. local rng = Instance.new("Part", char)
  2966. rng.Anchored = true
  2967. rng.BrickColor = origcolor
  2968. rng.CanCollide = false
  2969. rng.FormFactor = 3
  2970. rng.Name = "Ring"
  2971. rng.Size = Vector3.new(1, 1, 1)
  2972. rng.Transparency = 0
  2973. rng.TopSurface = 0
  2974. rng.BottomSurface = 0
  2975. rng.CFrame = pos
  2976. local rngm = Instance.new("SpecialMesh", rng)
  2977. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2978. rngm.Scale = scale
  2979. local scaler2 = 1
  2980. if type == "Add" then
  2981. scaler2 = 1*value
  2982. elseif type == "Divide" then
  2983. scaler2 = 1/value
  2984. end
  2985. coroutine.resume(coroutine.create(function()
  2986. for i = 0,10,0.1 do
  2987. swait()
  2988. if type == "Add" then
  2989. scaler2 = scaler2 - 0.01*value
  2990. elseif type == "Divide" then
  2991. scaler2 = scaler2 - 0.01/value
  2992. end
  2993. rng.Transparency = rng.Transparency + 0.01
  2994. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2995. end
  2996. rng:Destroy()
  2997. end))
  2998. end
  2999.  
  3000. function sphere(bonuspeed,type,pos,scale,value,color)
  3001. local type = type
  3002. local rng = Instance.new("Part", char)
  3003. rng.Anchored = true
  3004. if ModeOfGlitch ~= 9 then
  3005. rng.BrickColor = color
  3006. elseif ModeOfGlitch == 9 then
  3007. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3008. end
  3009. rng.CanCollide = false
  3010. rng.FormFactor = 3
  3011. rng.Name = "Ring"
  3012. rng.Material = "Neon"
  3013. rng.Size = Vector3.new(1, 1, 1)
  3014. rng.Transparency = 0
  3015. rng.TopSurface = 0
  3016. rng.BottomSurface = 0
  3017. rng.CFrame = pos
  3018. local rngm = Instance.new("SpecialMesh", rng)
  3019. rngm.MeshType = "Sphere"
  3020. rngm.Scale = scale
  3021. if rainbowmode == true then
  3022. rng.Color = Color3.new(r/255,g/255,b/255)
  3023. end
  3024. if ModeOfGlitch == 9 then
  3025. coroutine.resume(coroutine.create(function()
  3026. while true do
  3027. swait()
  3028. if rng.Parent ~= nil then
  3029. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3030. else
  3031. break
  3032. end
  3033. end
  3034. end))
  3035. end
  3036. local scaler2 = 1
  3037. if type == "Add" then
  3038. scaler2 = 1*value
  3039. elseif type == "Divide" then
  3040. scaler2 = 1/value
  3041. end
  3042. coroutine.resume(coroutine.create(function()
  3043. for i = 0,10/bonuspeed,0.1 do
  3044. swait()
  3045. if rainbowmode == true then
  3046. rng.Color = Color3.new(r/255,g/255,b/255)
  3047. end
  3048. if type == "Add" then
  3049. scaler2 = scaler2 - 0.01*value/bonuspeed
  3050. elseif type == "Divide" then
  3051. scaler2 = scaler2 - 0.01/value*bonuspeed
  3052. end
  3053. if chaosmode == true then
  3054. rng.BrickColor = BrickColor.random()
  3055. end
  3056. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3057. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3058. end
  3059. rng:Destroy()
  3060. end))
  3061. end
  3062.  
  3063. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  3064. local type = type
  3065. local rng = Instance.new("Part", char)
  3066. rng.Anchored = true
  3067. if ModeOfGlitch ~= 9 then
  3068. rng.BrickColor = color
  3069. elseif ModeOfGlitch == 9 then
  3070. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3071. end
  3072. rng.CanCollide = false
  3073. rng.FormFactor = 3
  3074. rng.Name = "Ring"
  3075. rng.Material = "Neon"
  3076. rng.Size = Vector3.new(1, 1, 1)
  3077. rng.Transparency = 0
  3078. rng.TopSurface = 0
  3079. rng.BottomSurface = 0
  3080. rng.CFrame = pos
  3081. local rngm = Instance.new("SpecialMesh", rng)
  3082. rngm.MeshType = "Sphere"
  3083. rngm.Scale = scale
  3084. local scaler2 = 1
  3085. local scaler2b = 1
  3086. local scaler2c = 1
  3087. if type == "Add" then
  3088. scaler2 = 1*value
  3089. scaler2b = 1*value2
  3090. scaler2c = 1*value3
  3091. elseif type == "Divide" then
  3092. scaler2 = 1/value
  3093. scaler2b = 1/value2
  3094. scaler2c = 1/value3
  3095. end
  3096. if ModeOfGlitch == 9 then
  3097. coroutine.resume(coroutine.create(function()
  3098. while true do
  3099. swait()
  3100. if rng.Parent ~= nil then
  3101. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3102. else
  3103. break
  3104. end
  3105. end
  3106. end))
  3107. end
  3108. coroutine.resume(coroutine.create(function()
  3109. for i = 0,10/bonuspeed,0.1 do
  3110. swait()
  3111. if type == "Add" then
  3112. scaler2 = scaler2 - 0.01*value/bonuspeed
  3113. scaler2b = scaler2b - 0.01*value/bonuspeed
  3114. scaler2c = scaler2c - 0.01*value/bonuspeed
  3115. elseif type == "Divide" then
  3116. scaler2 = scaler2 - 0.01/value*bonuspeed
  3117. scaler2b = scaler2b - 0.01/value*bonuspeed
  3118. scaler2c = scaler2c - 0.01/value*bonuspeed
  3119. end
  3120. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3121. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3122. end
  3123. rng:Destroy()
  3124. end))
  3125. end
  3126.  
  3127. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  3128. local type = type
  3129. local rotenable = rotatingop
  3130. local rng = Instance.new("Part", char)
  3131. rng.Anchored = true
  3132. rng.BrickColor = color
  3133. rng.CanCollide = false
  3134. rng.FormFactor = 3
  3135. rng.Name = "Ring"
  3136. rng.Material = "Neon"
  3137. rng.Size = Vector3.new(1, 1, 1)
  3138. rng.Transparency = 0
  3139. if typeoftrans == "In" then
  3140. rng.Transparency = 1
  3141. end
  3142. rng.TopSurface = 0
  3143. rng.BottomSurface = 0
  3144. rng.CFrame = pos
  3145. local rngm = Instance.new("SpecialMesh", rng)
  3146. rngm.MeshType = "FileMesh"
  3147. if typeofshape == "Normal" then
  3148. rngm.MeshId = "rbxassetid://662586858"
  3149. elseif typeofshape == "Round" then
  3150. rngm.MeshId = "rbxassetid://662585058"
  3151. end
  3152. rngm.Scale = scale
  3153. local scaler2 = 1/10
  3154. if type == "Add" then
  3155. scaler2 = 1*value/10
  3156. elseif type == "Divide" then
  3157. scaler2 = 1/value/10
  3158. end
  3159. local randomrot = math.random(1,2)
  3160. coroutine.resume(coroutine.create(function()
  3161. for i = 0,10/bonuspeed,0.1 do
  3162. swait()
  3163. if type == "Add" then
  3164. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  3165. elseif type == "Divide" then
  3166. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  3167. end
  3168. if rotenable == true then
  3169. if randomrot == 1 then
  3170. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  3171. elseif randomrot == 2 then
  3172. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  3173. end
  3174. end
  3175. if typeoftrans == "Out" then
  3176. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3177. elseif typeoftrans == "In" then
  3178. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3179. end
  3180. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  3181. end
  3182. rng:Destroy()
  3183. end))
  3184. end
  3185.  
  3186. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3187. local type = type
  3188. local rng = Instance.new("Part", char)
  3189. rng.Anchored = true
  3190. rng.BrickColor = color
  3191. rng.CanCollide = false
  3192. rng.FormFactor = 3
  3193. rng.Name = "Ring"
  3194. rng.Material = "Neon"
  3195. rng.Size = Vector3.new(1, 1, 1)
  3196. rng.Transparency = 0
  3197. rng.TopSurface = 0
  3198. rng.BottomSurface = 0
  3199. rng.CFrame = pos
  3200. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3201. local rngm = Instance.new("SpecialMesh", rng)
  3202. rngm.MeshType = "Brick"
  3203. rngm.Scale = vt(x1,y1,z1)
  3204. if rainbowmode == true then
  3205. rng.Color = Color3.new(r/255,g/255,b/255)
  3206. end
  3207. local scaler2 = 1
  3208. local speeder = FastSpeed/10
  3209. if type == "Add" then
  3210. scaler2 = 1*value
  3211. elseif type == "Divide" then
  3212. scaler2 = 1/value
  3213. end
  3214. coroutine.resume(coroutine.create(function()
  3215. for i = 0,10/bonuspeed,0.1 do
  3216. swait()
  3217. if rainbowmode == true then
  3218. rng.Color = Color3.new(r/255,g/255,b/255)
  3219. end
  3220. if type == "Add" then
  3221. scaler2 = scaler2 - 0.01*value/bonuspeed
  3222. elseif type == "Divide" then
  3223. scaler2 = scaler2 - 0.01/value*bonuspeed
  3224. end
  3225. if chaosmode == true then
  3226. rng.BrickColor = BrickColor.random()
  3227. end
  3228. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3229. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3230. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3231. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3232. end
  3233. rng:Destroy()
  3234. end))
  3235. end
  3236.  
  3237. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3238. local type = type
  3239. local rng = Instance.new("Part", char)
  3240. rng.Anchored = true
  3241. rng.BrickColor = color
  3242. rng.CanCollide = false
  3243. rng.FormFactor = 3
  3244. rng.Name = "Ring"
  3245. rng.Material = "Neon"
  3246. rng.Size = Vector3.new(1, 1, 1)
  3247. rng.Transparency = 0
  3248. rng.TopSurface = 0
  3249. rng.BottomSurface = 0
  3250. rng.CFrame = pos
  3251. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3252. local rngm = Instance.new("SpecialMesh", rng)
  3253. rngm.MeshType = "Brick"
  3254. rngm.Scale = vt(x1,y1,z1)
  3255. if rainbowmode == true then
  3256. rng.Color = Color3.new(r/255,g/255,b/255)
  3257. end
  3258. local scaler2 = 1
  3259. local speeder = FastSpeed/10
  3260. if type == "Add" then
  3261. scaler2 = 1*value
  3262. elseif type == "Divide" then
  3263. scaler2 = 1/value
  3264. end
  3265. coroutine.resume(coroutine.create(function()
  3266. for i = 0,10/bonuspeed,0.1 do
  3267. swait()
  3268. if rainbowmode == true then
  3269. rng.Color = Color3.new(r/255,g/255,b/255)
  3270. end
  3271. if type == "Add" then
  3272. scaler2 = scaler2 - 0.01*value/bonuspeed
  3273. elseif type == "Divide" then
  3274. scaler2 = scaler2 - 0.01/value*bonuspeed
  3275. end
  3276. if chaosmode == true then
  3277. rng.BrickColor = BrickColor.random()
  3278. end
  3279. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3280. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3281. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3282. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3283. end
  3284. rng:Destroy()
  3285. end))
  3286. end
  3287.  
  3288. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3289. local type = type
  3290. local rng = Instance.new("Part", char)
  3291. rng.Anchored = true
  3292. rng.BrickColor = color
  3293. rng.CanCollide = false
  3294. rng.FormFactor = 3
  3295. rng.Name = "Ring"
  3296. rng.Material = "Neon"
  3297. rng.Size = Vector3.new(1, 1, 1)
  3298. rng.Transparency = 0
  3299. rng.TopSurface = 0
  3300. rng.BottomSurface = 0
  3301. rng.CFrame = pos
  3302. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3303. local rngm = Instance.new("SpecialMesh", rng)
  3304. rngm.MeshType = "Brick"
  3305. rngm.Scale = vt(x1,y1,z1)
  3306. if rainbowmode == true then
  3307. rng.Color = Color3.new(r/255,g/255,b/255)
  3308. end
  3309. local scaler2 = 0
  3310. local speeder = FastSpeed/10
  3311. if type == "Add" then
  3312. scaler2 = 1*value
  3313. elseif type == "Divide" then
  3314. scaler2 = 1/value
  3315. end
  3316. coroutine.resume(coroutine.create(function()
  3317. for i = 0,10/bonuspeed,0.1 do
  3318. swait()
  3319. if rainbowmode == true then
  3320. rng.Color = Color3.new(r/255,g/255,b/255)
  3321. end
  3322. if type == "Add" then
  3323. scaler2 = scaler2 - 0.01*value/bonuspeed
  3324. elseif type == "Divide" then
  3325. scaler2 = scaler2 - 0.01/value*bonuspeed
  3326. end
  3327. if chaosmode == true then
  3328. rng.BrickColor = BrickColor.random()
  3329. end
  3330. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3331. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3332. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3333. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3334. end
  3335. rng:Destroy()
  3336. end))
  3337. end
  3338.  
  3339. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3340. local type = type
  3341. local rng = Instance.new("Part", char)
  3342. rng.Anchored = true
  3343. rng.BrickColor = color
  3344. rng.Color = color3
  3345. rng.CanCollide = false
  3346. rng.FormFactor = 3
  3347. rng.Name = "Ring"
  3348. rng.Material = "Neon"
  3349. rng.Size = Vector3.new(1, 1, 1)
  3350. rng.Transparency = 0
  3351. rng.TopSurface = 0
  3352. rng.BottomSurface = 0
  3353. rng.CFrame = pos
  3354. local rngm = Instance.new("SpecialMesh", rng)
  3355. rngm.MeshType = "Brick"
  3356. rngm.Scale = scale
  3357. local scaler2 = 1
  3358. local scaler2b = 1
  3359. local scaler2c = 1
  3360. if type == "Add" then
  3361. scaler2 = 1*value
  3362. scaler2b = 1*value2
  3363. scaler2c = 1*value3
  3364. elseif type == "Divide" then
  3365. scaler2 = 1/value
  3366. scaler2b = 1/value2
  3367. scaler2c = 1/value3
  3368. end
  3369. coroutine.resume(coroutine.create(function()
  3370. for i = 0,10/bonuspeed,0.1 do
  3371. swait()
  3372. if type == "Add" then
  3373. scaler2 = scaler2 - 0.01*value/bonuspeed
  3374. scaler2b = scaler2b - 0.01*value/bonuspeed
  3375. scaler2c = scaler2c - 0.01*value/bonuspeed
  3376. elseif type == "Divide" then
  3377. scaler2 = scaler2 - 0.01/value*bonuspeed
  3378. scaler2b = scaler2b - 0.01/value*bonuspeed
  3379. scaler2c = scaler2c - 0.01/value*bonuspeed
  3380. end
  3381. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3382. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3383. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3384. end
  3385. rng:Destroy()
  3386. end))
  3387. end
  3388.  
  3389. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3390. local type = type
  3391. local rng = Instance.new("Part", char)
  3392. rng.Anchored = true
  3393. if ModeOfGlitch ~= 9 then
  3394. rng.BrickColor = color
  3395. elseif ModeOfGlitch == 9 then
  3396. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3397. end
  3398. rng.CanCollide = false
  3399. rng.FormFactor = 3
  3400. rng.Name = "Ring"
  3401. rng.Material = "Neon"
  3402. rng.Size = Vector3.new(1, 1, 1)
  3403. rng.Transparency = 0
  3404. rng.TopSurface = 0
  3405. rng.BottomSurface = 0
  3406. rng.CFrame = pos
  3407. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3408. local rngm = Instance.new("SpecialMesh", rng)
  3409. rngm.MeshType = "Sphere"
  3410. rngm.Scale = vt(x1,y1,z1)
  3411. if rainbowmode == true then
  3412. rng.Color = Color3.new(r/255,g/255,b/255)
  3413. end
  3414. if ModeOfGlitch == 9 then
  3415. coroutine.resume(coroutine.create(function()
  3416. while true do
  3417. swait()
  3418. if rng.Parent ~= nil then
  3419. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3420. else
  3421. break
  3422. end
  3423. end
  3424. end))
  3425. end
  3426. local scaler2 = 1
  3427. local speeder = FastSpeed
  3428. if type == "Add" then
  3429. scaler2 = 1*value
  3430. elseif type == "Divide" then
  3431. scaler2 = 1/value
  3432. end
  3433. coroutine.resume(coroutine.create(function()
  3434. for i = 0,10/bonuspeed,0.1 do
  3435. swait()
  3436. if rainbowmode == true then
  3437. rng.Color = Color3.new(r/255,g/255,b/255)
  3438. end
  3439. if type == "Add" then
  3440. scaler2 = scaler2 - 0.01*value/bonuspeed
  3441. elseif type == "Divide" then
  3442. scaler2 = scaler2 - 0.01/value*bonuspeed
  3443. end
  3444. if chaosmode == true then
  3445. rng.BrickColor = BrickColor.random()
  3446. end
  3447. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3448. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3449. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3450. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3451. end
  3452. rng:Destroy()
  3453. end))
  3454. end
  3455.  
  3456.  
  3457. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3458. local type = type
  3459. local rng = Instance.new("Part", char)
  3460. rng.Anchored = true
  3461. if ModeOfGlitch ~= 9 then
  3462. rng.BrickColor = color
  3463. elseif ModeOfGlitch == 9 then
  3464. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3465. end
  3466. rng.CanCollide = false
  3467. rng.FormFactor = 3
  3468. rng.Name = "Ring"
  3469. rng.Material = "Neon"
  3470. rng.Size = Vector3.new(1, 1, 1)
  3471. rng.Transparency = 1
  3472. rng.TopSurface = 0
  3473. rng.BottomSurface = 0
  3474. rng.CFrame = pos
  3475. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3476. local rngm = Instance.new("SpecialMesh", rng)
  3477. rngm.MeshType = "Sphere"
  3478. rngm.Scale = vt(x1,y1,z1)
  3479. if rainbowmode == true then
  3480. rng.Color = Color3.new(r/255,g/255,b/255)
  3481. end
  3482. if ModeOfGlitch == 9 then
  3483. coroutine.resume(coroutine.create(function()
  3484. while true do
  3485. swait()
  3486. if rng.Parent ~= nil then
  3487. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3488. else
  3489. break
  3490. end
  3491. end
  3492. end))
  3493. end
  3494. local scaler2 = 1
  3495. local speeder = FastSpeed
  3496. if type == "Add" then
  3497. scaler2 = 1*value
  3498. elseif type == "Divide" then
  3499. scaler2 = 1/value
  3500. end
  3501. coroutine.resume(coroutine.create(function()
  3502. for i = 0,10/bonuspeed,0.1 do
  3503. swait()
  3504. if rainbowmode == true then
  3505. rng.Color = Color3.new(r/255,g/255,b/255)
  3506. end
  3507. if type == "Add" then
  3508. scaler2 = scaler2 - 0.01*value/bonuspeed
  3509. elseif type == "Divide" then
  3510. scaler2 = scaler2 - 0.01/value*bonuspeed
  3511. end
  3512. if chaosmode == true then
  3513. rng.BrickColor = BrickColor.random()
  3514. end
  3515. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3516. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3517. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3518. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3519. end
  3520. rng:Destroy()
  3521. end))
  3522. end
  3523.  
  3524. function dmg(dude)
  3525. if dude.Name ~= Character then
  3526. local keptcolor = MAINRUINCOLOR
  3527. local bgf = Instance.new("BodyGyro",dude.Head)
  3528. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3529. --[[local val = Instance.new("BoolValue",dude)
  3530. val.Name = "IsHit"]]--
  3531. local ds = coroutine.wrap(function()
  3532. dude:WaitForChild("Head"):BreakJoints()
  3533. for i, v in pairs(dude:GetChildren()) do
  3534. if v:IsA("Part") or v:IsA("MeshPart") then
  3535. v.Name = "DEMINISHED"
  3536. end
  3537. end
  3538. wait(0.5)
  3539. targetted = nil
  3540. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3541. coroutine.resume(coroutine.create(function()
  3542. for i, v in pairs(dude:GetChildren()) do
  3543. if v:IsA("Accessory") then
  3544. v:Destroy()
  3545. end
  3546. if v:IsA("Humanoid") then
  3547. v:Destroy()
  3548. end
  3549. if v:IsA("CharacterMesh") then
  3550. v:Destroy()
  3551. end
  3552. if v:IsA("Model") then
  3553. v:Destroy()
  3554. end
  3555. if v:IsA("Part") or v:IsA("MeshPart") then
  3556. for x, o in pairs(v:GetChildren()) do
  3557. if o:IsA("Decal") then
  3558. o:Destroy()
  3559. end
  3560. end
  3561. coroutine.resume(coroutine.create(function()
  3562. v.Material = "Neon"
  3563. v.CanCollide = false
  3564. v.Anchored = false
  3565. local bld = Instance.new("ParticleEmitter",v)
  3566. bld.LightEmission = 0.75
  3567. bld.Texture = "rbxassetid://363275192" ---284205403
  3568. bld.Color = ColorSequence.new(keptcolor.Color)
  3569. bld.Rate = 500
  3570. bld.Lifetime = NumberRange.new(1)
  3571. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3572. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3573. bld.Speed = NumberRange.new(2,5)
  3574. bld.VelocitySpread = 50000
  3575. bld.Rotation = NumberRange.new(-500,500)
  3576. bld.RotSpeed = NumberRange.new(-500,500)
  3577. local sbs = Instance.new("BodyPosition", v)
  3578. sbs.P = 3000
  3579. sbs.D = 1000
  3580. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3581. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3582. v.Color = keptcolor.Color
  3583. coroutine.resume(coroutine.create(function()
  3584. for i = 0, 49 do
  3585. swait(1)
  3586. v:BreakJoints()
  3587. v.Transparency = v.Transparency + 0.02
  3588. end
  3589. v:BreakJoints()
  3590. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3591. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3592. bld.Speed = NumberRange.new(10,25)
  3593. bld.Drag = 5
  3594. bld.Acceleration = vt(0,2,0)
  3595. wait(0.5)
  3596. bld.Enabled = false
  3597. wait(8)
  3598. v:Destroy()
  3599. dude:Destroy()
  3600. end))
  3601. end))
  3602. end
  3603. end
  3604. end))
  3605. end)
  3606. ds()
  3607. end
  3608. end
  3609.  
  3610.  
  3611. function FindNearestHead(Position, Distance, SinglePlayer)
  3612. if SinglePlayer then
  3613. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3614. end
  3615. local List = {}
  3616. for i, v in pairs(workspace:GetChildren()) do
  3617. if v:IsA("Model") then
  3618. if v:findFirstChild("Head") then
  3619. if v ~= Character then
  3620. if (v.Head.Position - Position).magnitude <= Distance then
  3621. table.insert(List, v)
  3622. end
  3623. end
  3624. end
  3625. end
  3626. end
  3627. return List
  3628. end
  3629.  
  3630. function FaceMouse()
  3631. Cam = workspace.CurrentCamera
  3632. return {
  3633. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3634. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3635. }
  3636. end
  3637.  
  3638. function FaceMouse2()
  3639. Cam = workspace.CurrentCamera
  3640. return {
  3641. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3642. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3643. }
  3644. end
  3645.  
  3646. local ModeOfGlitch = 1
  3647. -- Functions are ready.
  3648. local storehumanoidWS = 16
  3649.  
  3650. function createBGCircle(size,parent,color)
  3651. local bgui = Instance.new("BillboardGui",parent)
  3652. bgui.Size = UDim2.new(size, 0, size, 0)
  3653. local imgc = Instance.new("ImageLabel",bgui)
  3654. imgc.BackgroundTransparency = 1
  3655. imgc.ImageTransparency = 0
  3656. imgc.Size = UDim2.new(1,0,1,0)
  3657. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  3658. imgc.ImageColor3 = color
  3659. return bgui,imgc
  3660. end
  3661.  
  3662. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  3663. local bgui,imgc = createBGCircle(size,guipar,color)
  3664. bgui.AlwaysOnTop = true
  3665. imgc.Image = "rbxassetid://" ..img
  3666. local rrot = math.random(1,2)
  3667. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  3668. coroutine.resume(coroutine.create(function()
  3669. for i = 0, 24*delay do
  3670. swait()
  3671. if rotationenabled == true then
  3672. if rrot == 1 then
  3673. imgc.Rotation = imgc.Rotation + rotsp
  3674. elseif rrot == 2 then
  3675. imgc.Rotation = imgc.Rotation - rotsp
  3676. end
  3677. end
  3678. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  3679. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  3680. end
  3681. bgui:Destroy()
  3682. end))
  3683. end
  3684. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled,sectrailenabled)
  3685. for i, v in pairs(mw2:GetChildren()) do
  3686. if v:IsA("Part") then
  3687. v.BrickColor = one
  3688. v.Material = "Neon"
  3689. end
  3690. end
  3691. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  3692. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  3693. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  3694. tr1.Color = ColorSequence.new(one.Color)
  3695. tr2.Color = ColorSequence.new(one.Color)
  3696. tr3.Color = ColorSequence.new(one.Color)
  3697. for i, v in pairs(mw1:GetChildren()) do
  3698. if v:IsA("Part") then
  3699. if secondaryenabled == false then
  3700. v.Transparency = 1
  3701. elseif secondaryenabled == true then
  3702. v.Transparency = 0
  3703. end
  3704. v.BrickColor = two
  3705. v.Material = "Neon"
  3706. end
  3707. end
  3708. if secondaryenabled == false then
  3709. tl1.Enabled = false
  3710. tl2.Enabled = false
  3711. tl3.Enabled = false
  3712. elseif secondaryenabled == true then
  3713. tl1.Enabled = true
  3714. tl2.Enabled = true
  3715. tl3.Enabled = true
  3716. end
  3717. tl1.Color = ColorSequence.new(two.Color)
  3718. tl2.Color = ColorSequence.new(two.Color)
  3719. tl3.Color = ColorSequence.new(two.Color)
  3720. for i, v in pairs(m:GetChildren()) do
  3721. if v:IsA("Part") then
  3722. v.BrickColor = three
  3723. v.Material = "Ice"
  3724. end
  3725. end
  3726. for i, v in pairs(m2:GetChildren()) do
  3727. if v:IsA("Part") then
  3728. v.BrickColor = four
  3729. v.Material = "Ice"
  3730. end
  3731. end
  3732. for i, v in pairs(m3:GetChildren()) do
  3733. if v:IsA("Part") then
  3734. v.BrickColor = five
  3735. v.Material = "Neon"
  3736. end
  3737. end
  3738. for i, v in pairs(extrawingmod1:GetChildren()) do
  3739. if v:IsA("Part") then
  3740. v.Transparency = exonetran
  3741. v.BrickColor = exone
  3742. v.Material = "Neon"
  3743. end
  3744. end
  3745. if sectrailenabled == true then
  3746. tl4.Enabled = true
  3747. tl5.Enabled = true
  3748. tl6.Enabled = true
  3749. tr4.Enabled = true
  3750. tr5.Enabled = true
  3751. tr6.Enabled = true
  3752. tl4.Color = ColorSequence.new(exone.Color)
  3753. tl5.Color = ColorSequence.new(exone.Color)
  3754. tl6.Color = ColorSequence.new(exone.Color)
  3755. tr4.Color = ColorSequence.new(extwo.Color)
  3756. tr5.Color = ColorSequence.new(extwo.Color)
  3757. tr6.Color = ColorSequence.new(extwo.Color)
  3758. elseif sectrailenabled == false then
  3759. tl4.Enabled = false
  3760. tl5.Enabled = false
  3761. tl6.Enabled = false
  3762. tr4.Enabled = false
  3763. tr5.Enabled = false
  3764. tr6.Enabled = false
  3765. end
  3766. for i, v in pairs(extrawingmod2:GetChildren()) do
  3767. if v:IsA("Part") then
  3768. v.Transparency = extwotran
  3769. v.BrickColor = extwo
  3770. v.Material = "Neon"
  3771. end
  3772. end
  3773. end
  3774.  
  3775.  
  3776. function normalmog()
  3777. attack = true
  3778. hum.WalkSpeed = 0
  3779. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  3780. for i = 0,6,0.1 do
  3781. swait()
  3782. 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)
  3783. 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)
  3784. 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)
  3785. 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)
  3786. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  3787. 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)
  3788. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  3789. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  3790. end
  3791. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  3792. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  3793. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  3794. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  3795. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  3796. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  3797. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  3798. rainbowmode = false
  3799. chaosmode = false
  3800. ModeOfGlitch = 1
  3801. storehumanoidWS = 16
  3802. newTheme("rbxassetid://614032233",48.6,1,1.25)
  3803. RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  3804. CameraEnshaking(5,2.5)
  3805. MAINRUINCOLOR = BrickColor.new("Really red")
  3806. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3807. for i = 0, 49 do
  3808. 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)
  3809. end
  3810. for i = 0, 24 do
  3811. 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)
  3812. 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"))
  3813. end
  3814. for i = 0,3,0.1 do
  3815. 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)
  3816. end
  3817. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  3818. for i = 0,2,0.1 do
  3819. swait()
  3820. 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)
  3821. 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)
  3822. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  3823. 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)
  3824. 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)
  3825. 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)
  3826. end
  3827. hum.WalkSpeed = storehumanoidWS
  3828. attack = false
  3829. end
  3830.  
  3831. function attackone()
  3832. attack = true
  3833. local keptcolor = MAINRUINCOLOR
  3834. for i = 0,1,0.1 do
  3835. swait()
  3836. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  3837. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  3838. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  3839. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  3840. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  3841. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
  3842. end
  3843. local distlook = 5
  3844. coroutine.resume(coroutine.create(function()
  3845. for i = 0, 4 do
  3846. swait(2)
  3847. CameraEnshaking(2,3)
  3848. local hite = Instance.new("Part", char)
  3849. hite.Anchored = true
  3850. hite.CanCollide = false
  3851. hite.FormFactor = 3
  3852. hite.Name = "Ring"
  3853. hite.Material = "Neon"
  3854. hite.Size = Vector3.new(1, 1, 1)
  3855. hite.Transparency = 1
  3856. hite.TopSurface = 0
  3857. hite.BottomSurface = 0
  3858. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  3859. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0,1,0),0.2,0.001,0.2,keptcolor)
  3860. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(8,1,8),-0.045,0.15,-0.045,keptcolor)
  3861. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(4,1,4),-0.025,0.25,-0.025,keptcolor)
  3862. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(2,1,2),-0.015,0.35,-0.015,keptcolor)
  3863. MagniDamage(hite, 9, 10,25, 0, "Normal")
  3864. for i = 0, 14 do
  3865. local rsiz = math.random(5,20)
  3866. sphereMK(math.random(1,3),0.25,"Add",hite.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  3867. end
  3868. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  3869. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  3870. game:GetService("Debris"):AddItem(hite, 5)
  3871. distlook = distlook + 10
  3872. end
  3873. end))
  3874. for i = 0,1,0.1 do
  3875. swait()
  3876. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  3877. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  3878. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  3879. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  3880. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-10)),.5)
  3881. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.5)
  3882. end
  3883. attack = false
  3884. end
  3885.  
  3886. function attacktwo()
  3887. attack = true
  3888. hum.WalkSpeed = 2
  3889. local keptcolor = MAINRUINCOLOR
  3890. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  3891. 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)
  3892. 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)
  3893. for i = 0, 14 do
  3894. 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)
  3895. end
  3896. for i = 0,1,0.1 do
  3897. swait()
  3898. 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)
  3899. 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)
  3900. 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)
  3901. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  3902. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  3903. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  3904. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  3905. end
  3906. for i = 0, 1 do
  3907. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  3908. for i = 0,1,0.6 do
  3909. swait()
  3910. 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)
  3911. 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"))
  3912. 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)
  3913. 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)
  3914. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  3915. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3916. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3917. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3918. end
  3919. for i = 0,1,0.6 do
  3920. swait()
  3921. 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)
  3922. 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"))
  3923. 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)
  3924. 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)
  3925. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  3926. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3927. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3928. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3929. end
  3930. for i = 0,1,0.6 do
  3931. swait()
  3932. 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)
  3933. 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"))
  3934. 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)
  3935. 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)
  3936. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  3937. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3938. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3939. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3940. end
  3941. for i = 0,1,0.6 do
  3942. swait()
  3943. 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)
  3944. 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"))
  3945. 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)
  3946. 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)
  3947. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  3948. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3949. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3950. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3951. end
  3952. local rot = 0
  3953. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  3954. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  3955. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  3956. CreateMesh(dis,"Sphere",10,1,10)
  3957. local at1 = Instance.new("Attachment",dis)
  3958. at1.Position = vt(-5,0,0)
  3959. local at2 = Instance.new("Attachment",dis)
  3960. at2.Position = vt(5,0,0)
  3961. local trl = Instance.new('Trail',wed)
  3962. trl.Attachment0 = at1
  3963. trl.Attachment1 = at2
  3964. trl.Texture = "rbxassetid://1049219073"
  3965. trl.LightEmission = 1
  3966. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3967. trl.Color = ColorSequence.new(dis.Color)
  3968. trl.Lifetime = 0.6
  3969. local a = Instance.new("Part",workspace)
  3970. a.Name = "Direction"
  3971. a.Anchored = true
  3972. a.BrickColor = bc("Bright red")
  3973. a.Material = "Neon"
  3974. a.Transparency = 1
  3975. a.CanCollide = false
  3976. local ray = Ray.new(
  3977. dis.CFrame.p, -- origin
  3978. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  3979. )
  3980. local ignore = dis
  3981. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3982. a.BottomSurface = 10
  3983. a.TopSurface = 10
  3984. local distance = (dis.CFrame.p - position).magnitude
  3985. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3986. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  3987. dis.CFrame = a.CFrame
  3988. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  3989. a:Destroy()
  3990. local bv = Instance.new("BodyVelocity")
  3991. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3992. bv.velocity = dis.CFrame.lookVector*250
  3993. bv.Parent = dis
  3994. game:GetService("Debris"):AddItem(dis, 5)
  3995. local hitted = false
  3996. coroutine.resume(coroutine.create(function()
  3997. dis.Touched:connect(function(hit)
  3998. if hitted == false and hit.Parent ~= char then
  3999. hitted = true
  4000. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  4001. MagniDamage(dis, 30, 33,56, 0, "Normal")
  4002. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  4003. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  4004. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  4005. coroutine.resume(coroutine.create(function()
  4006. local eff = Instance.new("ParticleEmitter",dis)
  4007. eff.Texture = "rbxassetid://2344870656"
  4008. eff.LightEmission = 1
  4009. eff.Color = ColorSequence.new(dis.Color)
  4010. eff.Rate = 10000000
  4011. eff.Enabled = true
  4012. eff.EmissionDirection = "Front"
  4013. eff.Lifetime = NumberRange.new(1)
  4014. 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)})
  4015. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4016. eff.Speed = NumberRange.new(150)
  4017. eff.Drag = 5
  4018. eff.Rotation = NumberRange.new(-500,500)
  4019. eff.SpreadAngle = Vector2.new(0,900)
  4020. eff.RotSpeed = NumberRange.new(-500,500)
  4021. wait(0.2)
  4022. eff.Enabled = false
  4023. end))
  4024. coroutine.resume(coroutine.create(function()
  4025. for i = 0, 9 do
  4026. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  4027. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4028. local at1 = Instance.new("Attachment",disr)
  4029. at1.Position = vt(-5,0,0)
  4030. local at2 = Instance.new("Attachment",disr)
  4031. at2.Position = vt(5,0,0)
  4032. local trl = Instance.new('Trail',disr)
  4033. trl.Attachment0 = at1
  4034. trl.FaceCamera = true
  4035. trl.Attachment1 = at2
  4036. trl.Texture = "rbxassetid://2342682798"
  4037. trl.LightEmission = 1
  4038. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4039. trl.Color = ColorSequence.new(keptcolor.Color)
  4040. trl.Lifetime = 0.5
  4041. local bv = Instance.new("BodyVelocity")
  4042. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4043. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  4044. bv.Parent = disr
  4045. local val = 0
  4046. coroutine.resume(coroutine.create(function()
  4047. swait(30)
  4048. for i = 0, 9 do
  4049. swait()
  4050. val = val + 0.1
  4051. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  4052. end
  4053. game:GetService("Debris"):AddItem(disr, 3)
  4054. end))
  4055. end
  4056. local eff = Instance.new("ParticleEmitter",dis)
  4057. eff.Texture = "rbxassetid://2273224484"
  4058. eff.LightEmission = 1
  4059. eff.Color = ColorSequence.new(keptcolor.Color)
  4060. eff.Rate = 500000
  4061. eff.Lifetime = NumberRange.new(0.5,2)
  4062. 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)})
  4063. 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)})
  4064. eff.Speed = NumberRange.new(20,250)
  4065. eff.Drag = 5
  4066. eff.Rotation = NumberRange.new(-500,500)
  4067. eff.VelocitySpread = 9000
  4068. eff.RotSpeed = NumberRange.new(-50,50)
  4069. wait(0.25)
  4070. eff.Enabled = false
  4071. end))
  4072. for i = 0, 9 do
  4073. 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"))
  4074. end
  4075. for i = 0, 19 do
  4076. 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)
  4077. end
  4078. coroutine.resume(coroutine.create(function()
  4079. for i = 0, 19 do
  4080. swait()
  4081. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  4082. end
  4083. hum.CameraOffset = vt(0,0,0)
  4084. end))
  4085. dis.Anchored = true
  4086. dis.Transparency = 1
  4087. wait(8)
  4088. dis:Destroy()
  4089. end
  4090. end)
  4091. end))
  4092. rot = rot - 15
  4093. end
  4094. for i = 0,2,0.1 do
  4095. swait()
  4096. 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)
  4097. 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)
  4098. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  4099. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  4100. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  4101. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  4102. end
  4103. attack = false
  4104. hum.WalkSpeed = storehumanoidWS
  4105. end
  4106.  
  4107. function attackthree()
  4108. attack = true
  4109. local keptcolor = MAINRUINCOLOR
  4110. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4111. for i = 0,2,0.1 do
  4112. swait()
  4113. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4114. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  4115. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  4116. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  4117. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  4118. 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)
  4119. 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)
  4120. end
  4121. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  4122. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  4123. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  4124. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  4125. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  4126. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  4127. for i = 0, 24 do
  4128. 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"))
  4129. end
  4130. for i = 0,4,0.1 do
  4131. swait()
  4132. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  4133. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  4134. CreateMesh(dis,"Sphere",1,1,1)
  4135. dis.Anchored = true
  4136. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  4137. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  4138. coroutine.resume(coroutine.create(function()
  4139. swait(30)
  4140. dis.Transparency = 1
  4141. coroutine.resume(coroutine.create(function()
  4142. for i = 0, 19 do
  4143. swait()
  4144. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  4145. end
  4146. hum.CameraOffset = vt(0,0,0)
  4147. end))
  4148. coroutine.resume(coroutine.create(function()
  4149. local eff = Instance.new("ParticleEmitter",dis)
  4150. eff.Texture = "rbxassetid://2273224484"
  4151. eff.LightEmission = 1
  4152. eff.Color = ColorSequence.new(dis.Color)
  4153. eff.Rate = 500000
  4154. eff.Lifetime = NumberRange.new(0.5,2)
  4155. 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)})
  4156. 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)})
  4157. eff.Speed = NumberRange.new(50,450)
  4158. eff.Drag = 5
  4159. eff.Rotation = NumberRange.new(-500,500)
  4160. eff.VelocitySpread = 9000
  4161. eff.RotSpeed = NumberRange.new(-50,50)
  4162. wait(0.125)
  4163. eff.Enabled = false
  4164. end))
  4165. MagniDamage(dis, 30, 45,50, 0, "Normal")
  4166. for i = 0, 2 do
  4167. 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)
  4168. end
  4169. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  4170. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  4171. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  4172. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  4173. end))
  4174. game:GetService("Debris"):AddItem(dis, 5)
  4175. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  4176. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  4177. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  4178. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  4179. 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)
  4180. 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)
  4181. end
  4182. attack = false
  4183. end
  4184. ----------------------------------- Abilities
  4185.  
  4186. function ExtinctiveHeartbreak()
  4187. local targetted = nil
  4188. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4189. targetted = mouse.Target.Parent
  4190. end
  4191. if targetted ~= nil then
  4192. attack = true
  4193. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  4194. for i = 0, 9 do
  4195. 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)
  4196. end
  4197. for i = 0, 24 do
  4198. 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)
  4199. end
  4200. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  4201. local originalpos = root.CFrame
  4202. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  4203. for i = 0, 9 do
  4204. 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)
  4205. end
  4206. for i = 0, 24 do
  4207. 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)
  4208. end
  4209. hum.WalkSpeed = 0
  4210. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  4211. local radm = math.random(1,3)
  4212. if radm == 1 then
  4213. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  4214. elseif radm == 2 then
  4215. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  4216. elseif radm == 3 then
  4217. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  4218. end
  4219. for i = 0,2,0.1 do
  4220. swait()
  4221. 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)
  4222. 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)
  4223. 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)
  4224. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  4225. 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)
  4226. 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)
  4227. end
  4228. CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
  4229. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
  4230. for i = 0,2,0.1 do
  4231. swait()
  4232. coroutine.resume(coroutine.create(function()
  4233. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  4234. for i,v in pairs(targetted:GetChildren()) do
  4235. if v:IsA("Part") or v:IsA("MeshPart") then
  4236. v.Velocity = vt(0,0,0)
  4237. end
  4238. end
  4239. end))
  4240. 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)
  4241. 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)
  4242. 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)
  4243. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  4244. 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)
  4245. 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)
  4246. end
  4247. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
  4248. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
  4249. for i = 0, 1 do
  4250. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
  4251. end
  4252. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
  4253. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  4254. for i = 0,4,0.1 do
  4255. swait()
  4256. coroutine.resume(coroutine.create(function()
  4257. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  4258. 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)))
  4259. local at1 = Instance.new("Attachment",dis)
  4260. at1.Position = vt(-25000,0,0)
  4261. local at2 = Instance.new("Attachment",dis)
  4262. at2.Position = vt(25000,0,0)
  4263. local trl = Instance.new('Trail',dis)
  4264. trl.Attachment0 = at1
  4265. trl.FaceCamera = true
  4266. trl.Attachment1 = at2
  4267. trl.Texture = "rbxassetid://1049219073"
  4268. trl.LightEmission = 1
  4269. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4270. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  4271. trl.Lifetime = 5
  4272. local bv = Instance.new("BodyVelocity")
  4273. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4274. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  4275. bv.Parent = dis
  4276. game:GetService("Debris"):AddItem(dis, 5)
  4277. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  4278. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  4279. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  4280. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  4281. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  4282. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  4283. 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)
  4284. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  4285. for i = 0, 2 do
  4286. 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"))
  4287. end
  4288. 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)
  4289. for i,v in pairs(targetted:GetChildren()) do
  4290. if v:IsA("Part") or v:IsA("MeshPart") then
  4291. v.Velocity = vt(0,0,0)
  4292. end
  4293. end
  4294. end))
  4295. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  4296. 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)
  4297. 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)
  4298. 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)
  4299. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  4300. 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)
  4301. 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)
  4302. end
  4303. hum.CameraOffset = vt(0,0,0)
  4304. for i = 0, 49 do
  4305. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  4306. 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)))
  4307. local at1 = Instance.new("Attachment",dis)
  4308. at1.Position = vt(-50000,0,0)
  4309. local at2 = Instance.new("Attachment",dis)
  4310. at2.Position = vt(50000,0,0)
  4311. local trl = Instance.new('Trail',dis)
  4312. trl.Attachment0 = at1
  4313. trl.FaceCamera = true
  4314. trl.Attachment1 = at2
  4315. trl.Texture = "rbxassetid://1049219073"
  4316. trl.LightEmission = 1
  4317. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4318. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  4319. trl.Lifetime = 5
  4320. local bv = Instance.new("BodyVelocity")
  4321. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4322. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  4323. bv.Parent = dis
  4324. game:GetService("Debris"):AddItem(dis, 5)
  4325. end
  4326. for i = 0, 49 do
  4327. 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)
  4328. 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"))
  4329. end
  4330. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  4331. for i = 0, 1 do
  4332. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  4333. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  4334. end
  4335. for i = 0, 4 do
  4336. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  4337. end
  4338. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  4339. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  4340. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  4341. dmg(targetted)
  4342. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  4343. for i = 0, 9 do
  4344. 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)
  4345. end
  4346. for i = 0, 24 do
  4347. 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)
  4348. end
  4349. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  4350. root.CFrame = originalpos
  4351. for i = 0, 9 do
  4352. 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)
  4353. end
  4354. for i = 0, 24 do
  4355. 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)
  4356. end
  4357. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  4358. attack = false
  4359. hum.WalkSpeed = storehumanoidWS
  4360. end
  4361. end
  4362.  
  4363. function CorruptionEvent()
  4364. attack = true
  4365. hum.WalkSpeed = 0
  4366. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  4367. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  4368. local keptcolor = MAINRUINCOLOR
  4369. for i = 0,4,0.1 do
  4370. swait()
  4371. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  4372. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4373. 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)
  4374. 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)
  4375. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  4376. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  4377. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  4378. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  4379. end
  4380. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  4381. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  4382. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  4383. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  4384. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  4385. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  4386. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  4387. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  4388. coroutine.resume(coroutine.create(function()
  4389. local eff = Instance.new("ParticleEmitter",cen)
  4390. eff.Texture = "rbxassetid://2344870656"
  4391. eff.LightEmission = 1
  4392. eff.Color = ColorSequence.new(keptcolor.Color)
  4393. eff.Rate = 10000000
  4394. eff.Enabled = true
  4395. eff.EmissionDirection = "Front"
  4396. eff.Lifetime = NumberRange.new(2)
  4397. 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)})
  4398. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4399. eff.Speed = NumberRange.new(500)
  4400. eff.Drag = 5
  4401. eff.Rotation = NumberRange.new(-500,500)
  4402. eff.SpreadAngle = Vector2.new(0,900)
  4403. eff.RotSpeed = NumberRange.new(-500,500)
  4404. wait(0.2)
  4405. eff.Enabled = false
  4406. wait(5)
  4407. eff:Destroy()
  4408. end))
  4409. hum.CameraOffset = vt(0,0,0)
  4410. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4411. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4412. for i = 0, 24 do
  4413. 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"))
  4414. end
  4415. local rrot = 0
  4416. coroutine.resume(coroutine.create(function()
  4417. for i = 0, 4 do
  4418. rrot = rrot + 45
  4419. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  4420. xa.Anchored = true
  4421. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  4422. xb.Anchored = true
  4423. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  4424. xc.Anchored = true
  4425. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  4426. xd.Anchored = true
  4427. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  4428. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  4429. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  4430. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  4431. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  4432. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  4433. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  4434. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  4435. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  4436. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  4437. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  4438. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  4439. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  4440. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  4441. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  4442. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  4443. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  4444. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  4445. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  4446. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  4447. for i = 0, 9 do
  4448. 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"))
  4449. 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"))
  4450. 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"))
  4451. 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"))
  4452. end
  4453. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  4454. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  4455. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  4456. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  4457. 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)
  4458. 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)
  4459. 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)
  4460. 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)
  4461. 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))
  4462. 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))
  4463. 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))
  4464. 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))
  4465. game:GetService("Debris"):AddItem(xa, 5)
  4466. game:GetService("Debris"):AddItem(xb, 5)
  4467. game:GetService("Debris"):AddItem(xc, 5)
  4468. game:GetService("Debris"):AddItem(xd, 5)
  4469. coroutine.resume(coroutine.create(function()
  4470. for i = 0, 19 do
  4471. swait()
  4472. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  4473. end
  4474. hum.CameraOffset = vt(0,0,0)
  4475. end))
  4476. swait(9)
  4477. end
  4478. end))
  4479. for i = 0,2,0.1 do
  4480. swait()
  4481. 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)
  4482. 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)
  4483. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  4484. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  4485. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  4486. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  4487. end
  4488. attack = false
  4489. hum.WalkSpeed = storehumanoidWS
  4490. end
  4491.  
  4492. function EndGROUND()
  4493. attack = true
  4494. hum.WalkSpeed = 0
  4495. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  4496. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  4497. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  4498. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  4499. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  4500. local keptcolor = MAINRUINCOLOR
  4501. for i = 0,4,0.1 do
  4502. swait()
  4503. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  4504. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4505. 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"))
  4506. 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)
  4507. 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)
  4508. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  4509. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  4510. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  4511. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  4512. end
  4513. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  4514. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  4515. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  4516. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  4517. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  4518. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  4519. coroutine.resume(coroutine.create(function()
  4520. local eff = Instance.new("ParticleEmitter",cen)
  4521. eff.Texture = "rbxassetid://2344870656"
  4522. eff.LightEmission = 1
  4523. eff.Color = ColorSequence.new(keptcolor.Color)
  4524. eff.Rate = 10000000
  4525. eff.Enabled = true
  4526. eff.EmissionDirection = "Front"
  4527. eff.Lifetime = NumberRange.new(2)
  4528. 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)})
  4529. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4530. eff.Speed = NumberRange.new(500)
  4531. eff.Drag = 5
  4532. eff.Rotation = NumberRange.new(-500,500)
  4533. eff.SpreadAngle = Vector2.new(0,900)
  4534. eff.RotSpeed = NumberRange.new(-500,500)
  4535. wait(0.2)
  4536. eff.Enabled = false
  4537. wait(5)
  4538. eff:Destroy()
  4539. end))
  4540. coroutine.resume(coroutine.create(function()
  4541. local shval = 10
  4542. for i = 0, 99 do
  4543. swait()
  4544. shval = shval - 0.1
  4545. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  4546. end
  4547. hum.CameraOffset = vt(0,0,0)
  4548. end))
  4549. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4550. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4551. for i = 0, 24 do
  4552. 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"))
  4553. end
  4554. local rrot = 0
  4555. local xam = 1
  4556. coroutine.resume(coroutine.create(function()
  4557. for i = 0, 14 do
  4558. --swait()
  4559. rrot = rrot + 40*xam
  4560. xam = xam + 0.25
  4561. local bonus = xam
  4562. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  4563. xa.Anchored = true
  4564. xa.Color = Color3.new(0,0,0)
  4565. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  4566. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  4567. local xc = 0
  4568. coroutine.resume(coroutine.create(function()
  4569. for i = 0, 99 do
  4570. swait()
  4571. xc = xc + 0.01
  4572. xa.Color = Color3.new(xc,0,0)
  4573. end
  4574. xa.Transparency = 1
  4575. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  4576. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  4577. for i = 0, 9 do
  4578. 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"))
  4579. end
  4580. 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)
  4581. 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)
  4582. 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))
  4583. game:GetService("Debris"):AddItem(xa, 5)
  4584. coroutine.resume(coroutine.create(function()
  4585. for i = 0, 19 do
  4586. swait()
  4587. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  4588. end
  4589. hum.CameraOffset = vt(0,0,0)
  4590. end))
  4591. end))
  4592. end
  4593. end))
  4594. for i = 0,2,0.1 do
  4595. swait()
  4596. 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)
  4597. 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)
  4598. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  4599. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  4600. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  4601. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  4602. end
  4603. attack = false
  4604. hum.WalkSpeed = storehumanoidWS
  4605. end
  4606.  
  4607. function HeavenlyDisk()
  4608. attack = true
  4609. hum.WalkSpeed = 2
  4610. local keptcolor = MAINRUINCOLOR
  4611. local radm = math.random(1,3)
  4612. if radm == 1 then
  4613. bosschatfunc("Dont make this too easy for you.",MAINRUINCOLOR.Color,1)
  4614. elseif radm == 2 then
  4615. bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
  4616. elseif radm == 3 then
  4617. bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  4618. end
  4619. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  4620. CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
  4621. 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)
  4622. 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)
  4623. for i = 0, 14 do
  4624. 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)
  4625. end
  4626. for i = 0,2,0.1 do
  4627. swait()
  4628. 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)
  4629. 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)
  4630. 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)
  4631. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  4632. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  4633. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  4634. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  4635. end
  4636. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  4637. for i = 0,1,0.6 do
  4638. swait()
  4639. 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)
  4640. 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"))
  4641. 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)
  4642. 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)
  4643. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  4644. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  4645. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  4646. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  4647. end
  4648. for i = 0,1,0.6 do
  4649. swait()
  4650. 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)
  4651. 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"))
  4652. 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)
  4653. 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)
  4654. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  4655. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  4656. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  4657. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  4658. end
  4659. for i = 0,1,0.6 do
  4660. swait()
  4661. 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)
  4662. 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"))
  4663. 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)
  4664. 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)
  4665. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  4666. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  4667. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  4668. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  4669. end
  4670. for i = 0,1,0.6 do
  4671. swait()
  4672. 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)
  4673. 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"))
  4674. 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)
  4675. 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)
  4676. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  4677. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  4678. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  4679. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  4680. end
  4681. local rot = 15
  4682. for i = 0, 2 do
  4683. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  4684. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  4685. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  4686. CreateMesh(dis,"Sphere",10,1,10)
  4687. local at1 = Instance.new("Attachment",dis)
  4688. at1.Position = vt(-5,0,0)
  4689. local at2 = Instance.new("Attachment",dis)
  4690. at2.Position = vt(5,0,0)
  4691. local trl = Instance.new('Trail',wed)
  4692. trl.Attachment0 = at1
  4693. trl.Attachment1 = at2
  4694. trl.Texture = "rbxassetid://1049219073"
  4695. trl.LightEmission = 1
  4696. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4697. trl.Color = ColorSequence.new(dis.Color)
  4698. trl.Lifetime = 0.6
  4699. local a = Instance.new("Part",workspace)
  4700. a.Name = "Direction"
  4701. a.Anchored = true
  4702. a.BrickColor = bc("Bright red")
  4703. a.Material = "Neon"
  4704. a.Transparency = 1
  4705. a.CanCollide = false
  4706. local ray = Ray.new(
  4707. dis.CFrame.p, -- origin
  4708. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  4709. )
  4710. local ignore = dis
  4711. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4712. a.BottomSurface = 10
  4713. a.TopSurface = 10
  4714. local distance = (dis.CFrame.p - position).magnitude
  4715. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4716. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  4717. dis.CFrame = a.CFrame
  4718. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4719. a:Destroy()
  4720. local bv = Instance.new("BodyVelocity")
  4721. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4722. bv.velocity = dis.CFrame.lookVector*250
  4723. bv.Parent = dis
  4724. game:GetService("Debris"):AddItem(dis, 5)
  4725. local hitted = false
  4726. coroutine.resume(coroutine.create(function()
  4727. dis.Touched:connect(function(hit)
  4728. if hitted == false and hit.Parent ~= char then
  4729. hitted = true
  4730. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  4731. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  4732. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  4733. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  4734. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  4735. coroutine.resume(coroutine.create(function()
  4736. local eff = Instance.new("ParticleEmitter",dis)
  4737. eff.Texture = "rbxassetid://2344870656"
  4738. eff.LightEmission = 1
  4739. eff.Color = ColorSequence.new(dis.Color)
  4740. eff.Rate = 10000000
  4741. eff.Enabled = true
  4742. eff.EmissionDirection = "Front"
  4743. eff.Lifetime = NumberRange.new(1)
  4744. 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)})
  4745. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4746. eff.Speed = NumberRange.new(150)
  4747. eff.Drag = 5
  4748. eff.Rotation = NumberRange.new(-500,500)
  4749. eff.SpreadAngle = Vector2.new(0,900)
  4750. eff.RotSpeed = NumberRange.new(-500,500)
  4751. wait(0.2)
  4752. eff.Enabled = false
  4753. end))
  4754. coroutine.resume(coroutine.create(function()
  4755. for i = 0, 9 do
  4756. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  4757. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4758. local at1 = Instance.new("Attachment",disr)
  4759. at1.Position = vt(-2,0,0)
  4760. local at2 = Instance.new("Attachment",disr)
  4761. at2.Position = vt(2,0,0)
  4762. local trl = Instance.new('Trail',disr)
  4763. trl.Attachment0 = at1
  4764. trl.FaceCamera = true
  4765. trl.Attachment1 = at2
  4766. trl.Texture = "rbxassetid://2342682798"
  4767. trl.LightEmission = 1
  4768. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4769. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  4770. trl.Lifetime = 0.5
  4771. local bv = Instance.new("BodyVelocity")
  4772. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4773. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  4774. bv.Parent = disr
  4775. local val = 0
  4776. coroutine.resume(coroutine.create(function()
  4777. swait(30)
  4778. for i = 0, 9 do
  4779. swait()
  4780. val = val + 0.1
  4781. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  4782. end
  4783. game:GetService("Debris"):AddItem(disr, 3)
  4784. end))
  4785. end
  4786. local eff = Instance.new("ParticleEmitter",dis)
  4787. eff.Texture = "rbxassetid://2273224484"
  4788. eff.LightEmission = 1
  4789. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  4790. eff.Rate = 500000
  4791. eff.Lifetime = NumberRange.new(0.5,2)
  4792. 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)})
  4793. 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)})
  4794. eff.Speed = NumberRange.new(20,250)
  4795. eff.Drag = 5
  4796. eff.Rotation = NumberRange.new(-500,500)
  4797. eff.VelocitySpread = 9000
  4798. eff.RotSpeed = NumberRange.new(-50,50)
  4799. wait(0.25)
  4800. eff.Enabled = false
  4801. end))
  4802. for i = 0, 9 do
  4803. 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"))
  4804. end
  4805. for i = 0, 19 do
  4806. 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)
  4807. end
  4808. coroutine.resume(coroutine.create(function()
  4809. for i = 0, 19 do
  4810. swait()
  4811. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  4812. end
  4813. hum.CameraOffset = vt(0,0,0)
  4814. end))
  4815. dis.Anchored = true
  4816. dis.Transparency = 1
  4817. wait(8)
  4818. dis:Destroy()
  4819. end
  4820. end)
  4821. end))
  4822. rot = rot - 15
  4823. end
  4824. for i = 0,2,0.1 do
  4825. swait()
  4826. 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)
  4827. 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)
  4828. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  4829. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  4830. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  4831. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  4832. end
  4833. attack = false
  4834. hum.WalkSpeed = storehumanoidWS
  4835. end
  4836.  
  4837. function RapidBurst()
  4838. attack = true
  4839. hum.WalkSpeed = 0
  4840. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  4841. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  4842. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  4843. bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2)
  4844. local keptcolor = MAINRUINCOLOR
  4845. for i = 0,8,0.1 do
  4846. swait()
  4847. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  4848. 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())
  4849. 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)
  4850. 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)
  4851. 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)
  4852. 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)
  4853. 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)
  4854. 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)
  4855. 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)
  4856. end
  4857. for i = 0, 99 do
  4858. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  4859. 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)))
  4860. local at1 = Instance.new("Attachment",dis)
  4861. at1.Position = vt(-25000,0,0)
  4862. local at2 = Instance.new("Attachment",dis)
  4863. at2.Position = vt(25000,0,0)
  4864. local trl = Instance.new('Trail',dis)
  4865. trl.Attachment0 = at1
  4866. trl.FaceCamera = true
  4867. trl.Attachment1 = at2
  4868. trl.Texture = "rbxassetid://1049219073"
  4869. trl.LightEmission = 1
  4870. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4871. trl.Color = ColorSequence.new(BrickColor.random().Color)
  4872. trl.Lifetime = 5
  4873. local bv = Instance.new("BodyVelocity")
  4874. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4875. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  4876. bv.Parent = dis
  4877. game:GetService("Debris"):AddItem(dis, 5)
  4878. end
  4879. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  4880. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  4881. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  4882. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  4883. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  4884. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  4885. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  4886. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  4887. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  4888. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  4889. hum.CameraOffset = vt(0,0,0)
  4890. for i = 0, 24 do
  4891. 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())
  4892. end
  4893. local distam = 0
  4894. coroutine.resume(coroutine.create(function()
  4895. for i = 0, 99 do
  4896. wait()
  4897. distam = distam + 1
  4898. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  4899. xa.Anchored = true
  4900. 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)))
  4901. game:GetService("Debris"):AddItem(xa, 5)
  4902. for i = 0, 4 do
  4903. 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())
  4904. end
  4905. coroutine.resume(coroutine.create(function()
  4906. local eff = Instance.new("ParticleEmitter",xa)
  4907. eff.Texture = "rbxassetid://2344870656"
  4908. eff.LightEmission = 1
  4909. eff.Color = ColorSequence.new(xa.Color)
  4910. eff.Rate = 10000000
  4911. eff.Enabled = true
  4912. eff.Lifetime = NumberRange.new(2.5)
  4913. 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)})
  4914. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4915. eff.Speed = NumberRange.new(200)
  4916. eff.Drag = 5
  4917. eff.Rotation = NumberRange.new(-500,500)
  4918. eff.SpreadAngle = Vector2.new(0,900)
  4919. eff.RotSpeed = NumberRange.new(-500,500)
  4920. wait(0.2)
  4921. eff.Enabled = false
  4922. end))
  4923. coroutine.resume(coroutine.create(function()
  4924. local eff = Instance.new("ParticleEmitter",xa)
  4925. eff.Texture = "rbxassetid://2273224484"
  4926. eff.LightEmission = 1
  4927. eff.Color = ColorSequence.new(BrickColor.random().Color)
  4928. eff.Rate = 500000
  4929. eff.Lifetime = NumberRange.new(1,3)
  4930. 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)})
  4931. 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)})
  4932. eff.Speed = NumberRange.new(50,500)
  4933. eff.Drag = 5
  4934. eff.Rotation = NumberRange.new(-500,500)
  4935. eff.VelocitySpread = 9000
  4936. eff.RotSpeed = NumberRange.new(-50,50)
  4937. wait(0.25)
  4938. eff.Enabled = false
  4939. end))
  4940. coroutine.resume(coroutine.create(function()
  4941. for i = 0, 19 do
  4942. swait()
  4943. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  4944. end
  4945. hum.CameraOffset = vt(0,0,0)
  4946. end))
  4947. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  4948. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  4949. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  4950. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  4951. end
  4952. end))
  4953. attack = false
  4954. hum.WalkSpeed = storehumanoidWS
  4955. end
  4956.  
  4957.  
  4958. function FallenOrbs()
  4959. attack = true
  4960. hum.WalkSpeed = 2
  4961. local keptcolor = MAINRUINCOLOR
  4962. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1)
  4963. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1)
  4964. local radm = math.random(1,3)
  4965. if radm == 1 then
  4966. bosschatfunc("This wont be easy to you.",MAINRUINCOLOR.Color,1)
  4967. elseif radm == 2 then
  4968. bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
  4969. elseif radm == 3 then
  4970. bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
  4971. end
  4972. local obj1 = script.chring:Clone()
  4973. obj1.Parent = char
  4974. obj1.Transparency = 1
  4975. obj1.Color = BrickColor.new("Toothpaste").Color
  4976. local obj2 = script.spball:Clone()
  4977. obj2.Parent = char
  4978. obj2.Transparency = 1
  4979. obj2.Color = MAINRUINCOLOR.Color
  4980. local cfor = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  4981. cfor.Anchored = true
  4982. cfor.CFrame = obj2.CFrame
  4983. local cef = Instance.new("ParticleEmitter",cfor)
  4984. cef.Texture = "rbxassetid://2344870656"
  4985. cef.LightEmission = 1
  4986. cef.Color = ColorSequence.new(obj2.Color)
  4987. cef.Rate = 150
  4988. cef.Lifetime = NumberRange.new(0.25)
  4989. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
  4990. cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  4991. cef.Speed = NumberRange.new(0)
  4992. local rval = 0
  4993. local eval = 1
  4994. CFuncs["Sound"].Create("rbxassetid://136007472", root, 10,0.7)
  4995. for i = 0,10,0.1 do
  4996. swait()
  4997. rval = rval + math.random(30,40)
  4998. eval = eval + 1.5
  4999. obj1.Transparency = obj1.Transparency - 0.003
  5000. obj1.Size = obj1.Size + vt(0,1,1)
  5001. obj1.CFrame = root.CFrame*CFrame.new(0,16,0)*CFrame.Angles(math.rad(0),math.rad(rval),math.rad(-90))
  5002. obj2.Transparency = obj2.Transparency - 0.005
  5003. obj2.Size = obj2.Size + vt(0.5,0.5,0.5)
  5004. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
  5005. obj2.CFrame = root.CFrame*CFrame.new(0,36,0)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  5006. cfor.CFrame = obj2.CFrame
  5007. 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"))
  5008. 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"))
  5009. 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)
  5010. 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)
  5011. 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)
  5012. 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)
  5013. 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)
  5014. 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)
  5015. 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)
  5016. end
  5017. cef.Enabled = false
  5018. coroutine.resume(coroutine.create(function()
  5019. for i = 0,49 do
  5020. swait()
  5021. rval = rval + 100
  5022. obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  5023. obj2.Transparency = obj2.Transparency + 0.02
  5024. obj2.Size = obj2.Size + vt(5,5,5)
  5025. obj1.Transparency = obj1.Transparency + 0.02
  5026. obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  5027. end
  5028. obj1:Destroy()
  5029. obj2:Destroy()
  5030. cfor:Destroy()
  5031. end))
  5032. for i = 0, 9 do
  5033. 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"))
  5034. 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"))
  5035. end
  5036. 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)
  5037. 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)
  5038. CFuncs["EchoSound"].Create("rbxassetid://675172759", root, 10, 0.8,0,10,0.15,0.5,1)
  5039. CFuncs["EchoSound"].Create("rbxassetid://763717897", root, 7.5, 1.1,0,10,0.15,0.5,1)
  5040. CFuncs["EchoSound"].Create("rbxassetid://675172759", root, 5, 0.7,0,10,0.15,0.5,1)
  5041. coroutine.resume(coroutine.create(function()
  5042. for i = 0, 19 do
  5043. swait()
  5044. local custcol = math.random(1,3)
  5045. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  5046. if custcol == 1 then
  5047. dis.BrickColor = MAINRUINCOLOR
  5048. elseif custcol == 2 then
  5049. dis.BrickColor = BrickColor.new("Toothpaste")
  5050. elseif custcol == 3 then
  5051. dis.BrickColor = BrickColor.new("Deep orange")
  5052. end
  5053. dis.Anchored = true
  5054. --CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  5055. dis.CFrame = root.CFrame*CFrame.new(math.random(-30,30),math.random(11,51),math.random(-30,30))
  5056. CreateMesh(dis,"Sphere",2,2,2)
  5057. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5058. 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"))
  5059. coroutine.resume(coroutine.create(function()
  5060. wait(0.5)
  5061. dis.Anchored = false
  5062. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
  5063. local at1 = Instance.new("Attachment",dis)
  5064. at1.Position = vt(-1,0,0)
  5065. local at2 = Instance.new("Attachment",dis)
  5066. at2.Position = vt(1,0,0)
  5067. local trl = Instance.new('Trail',dis)
  5068. trl.Attachment0 = at1
  5069. trl.FaceCamera = true
  5070. trl.Attachment1 = at2
  5071. trl.Texture = "rbxassetid://1049219073"
  5072. trl.LightEmission = 1
  5073. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5074. trl.Color = ColorSequence.new(dis.Color)
  5075. trl.Lifetime = 0.6
  5076. local a = Instance.new("Part",workspace)
  5077. a.Name = "Direction"
  5078. a.Anchored = true
  5079. a.BrickColor = bc("Bright red")
  5080. a.Material = "Neon"
  5081. a.Transparency = 1
  5082. a.CanCollide = false
  5083. local ray = Ray.new(
  5084. dis.CFrame.p, -- origin
  5085. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5086. )
  5087. local ignore = dis
  5088. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5089. a.BottomSurface = 10
  5090. a.TopSurface = 10
  5091. local distance = (dis.CFrame.p - position).magnitude
  5092. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5093. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5094. dis.CFrame = a.CFrame
  5095. a:Destroy()
  5096. local bv = Instance.new("BodyVelocity")
  5097. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5098. bv.velocity = dis.CFrame.lookVector*500
  5099. bv.Parent = dis
  5100. game:GetService("Debris"):AddItem(dis, 5)
  5101. local hitted = false
  5102. coroutine.resume(coroutine.create(function()
  5103. dis.Touched:connect(function(hit)
  5104. if hitted == false and hit.Parent ~= char then
  5105. hitted = true
  5106. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
  5107. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  5108. sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,dis.BrickColor,dis.Color)
  5109. sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  5110. coroutine.resume(coroutine.create(function()
  5111. local eff = Instance.new("ParticleEmitter",dis)
  5112. eff.Texture = "rbxassetid://2344870656"
  5113. eff.LightEmission = 1
  5114. eff.Color = ColorSequence.new(dis.Color)
  5115. eff.Rate = 10000000
  5116. eff.Enabled = true
  5117. --eff.EmissionDirection = "Front"
  5118. eff.Lifetime = NumberRange.new(3)
  5119. 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)})
  5120. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5121. eff.Speed = NumberRange.new(250)
  5122. eff.Drag = 5
  5123. eff.Rotation = NumberRange.new(-500,500)
  5124. eff.SpreadAngle = Vector2.new(0,900)
  5125. eff.RotSpeed = NumberRange.new(-500,500)
  5126. wait(0.2)
  5127. eff.Enabled = false
  5128. end))
  5129. coroutine.resume(coroutine.create(function()
  5130. for i = 0, 4 do
  5131. local disr = CreateParta(char,1,1,"Neon",dis.BrickColor)
  5132. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5133. local at1 = Instance.new("Attachment",disr)
  5134. at1.Position = vt(-10,0,0)
  5135. local at2 = Instance.new("Attachment",disr)
  5136. at2.Position = vt(10,0,0)
  5137. local trl = Instance.new('Trail',disr)
  5138. trl.Attachment0 = at1
  5139. trl.FaceCamera = true
  5140. trl.Attachment1 = at2
  5141. trl.Texture = "rbxassetid://2342682798"
  5142. trl.LightEmission = 1
  5143. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5144. trl.Color = ColorSequence.new(disr.Color)
  5145. trl.Lifetime = 0.5
  5146. local bv = Instance.new("BodyVelocity")
  5147. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5148. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  5149. bv.Parent = disr
  5150. local val = 0
  5151. coroutine.resume(coroutine.create(function()
  5152. swait(30)
  5153. for i = 0, 9 do
  5154. swait()
  5155. val = val + 0.1
  5156. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5157. end
  5158. game:GetService("Debris"):AddItem(disr, 3)
  5159. end))
  5160. end
  5161. local eff = Instance.new("ParticleEmitter",dis)
  5162. eff.Texture = "rbxassetid://2273224484"
  5163. eff.LightEmission = 1
  5164. eff.Color = ColorSequence.new(dis.Color)
  5165. eff.Rate = 500000
  5166. eff.Lifetime = NumberRange.new(0.5,2)
  5167. 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)})
  5168. 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)})
  5169. eff.Speed = NumberRange.new(20,250)
  5170. eff.Drag = 5
  5171. eff.Rotation = NumberRange.new(-500,500)
  5172. eff.VelocitySpread = 9000
  5173. eff.RotSpeed = NumberRange.new(-50,50)
  5174. wait(0.5)
  5175. eff.Enabled = false
  5176. end))
  5177. for i = 0, 4 do
  5178. 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"))
  5179. end
  5180. coroutine.resume(coroutine.create(function()
  5181. for i = 0, 19 do
  5182. swait()
  5183. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5184. end
  5185. hum.CameraOffset = vt(0,0,0)
  5186. end))
  5187. dis.Anchored = true
  5188. dis.Transparency = 1
  5189. wait(8)
  5190. dis:Destroy()
  5191. end
  5192. end)
  5193. end))
  5194. end))
  5195. end
  5196. end))
  5197. for i = 0,9,0.1 do
  5198. swait()
  5199. 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)
  5200. 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)
  5201. 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)
  5202. 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)
  5203. 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)
  5204. 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)
  5205. end
  5206. attack = false
  5207. hum.WalkSpeed = storehumanoidWS
  5208. end
  5209.  
  5210. function EquinoxOrbs()
  5211. hum.WalkSpeed = 0
  5212. attack = true
  5213. for i = 0,1,0.1 do
  5214. swait()
  5215. 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)
  5216. 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)
  5217. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  5218. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  5219. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  5220. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  5221. end
  5222. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  5223. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5224. for i = 0, 24 do
  5225. 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"))
  5226. end
  5227. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  5228. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  5229. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  5230. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  5231. for i = 0,4,0.1 do
  5232. swait()
  5233. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  5234. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5235. CreateMesh(dis,"Sphere",1,1,1)
  5236. dis.Anchored = true
  5237. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5238. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  5239. CreateMesh(dis2,"Sphere",1,1,1)
  5240. dis2.Anchored = true
  5241. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  5242. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5243. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  5244. coroutine.resume(coroutine.create(function()
  5245. swait(60)
  5246. dis.Transparency = 1
  5247. dis2.Transparency = 1
  5248. coroutine.resume(coroutine.create(function()
  5249. for i = 0, 19 do
  5250. swait()
  5251. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5252. end
  5253. hum.CameraOffset = vt(0,0,0)
  5254. end))
  5255. coroutine.resume(coroutine.create(function()
  5256. local eff = Instance.new("ParticleEmitter",dis)
  5257. eff.Texture = "rbxassetid://2273224484"
  5258. eff.LightEmission = 1
  5259. eff.Color = ColorSequence.new(dis.Color)
  5260. eff.Rate = 500000
  5261. eff.Lifetime = NumberRange.new(0.5,2)
  5262. 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)})
  5263. 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)})
  5264. eff.Speed = NumberRange.new(50,450)
  5265. eff.Drag = 5
  5266. eff.Rotation = NumberRange.new(-500,500)
  5267. eff.VelocitySpread = 9000
  5268. eff.RotSpeed = NumberRange.new(-50,50)
  5269. local eff2 = eff:Clone()
  5270. eff2.Parent = dis2
  5271. eff2.LightEmission = 0
  5272. eff2.Color = ColorSequence.new(dis2.Color)
  5273. wait(0.25)
  5274. eff.Enabled = false
  5275. eff2.Enabled = false
  5276. end))
  5277. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  5278. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  5279. for i = 0, 2 do
  5280. 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)
  5281. 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)
  5282. end
  5283. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  5284. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  5285. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  5286. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  5287. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  5288. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  5289. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  5290. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  5291. end))
  5292. game:GetService("Debris"):AddItem(dis, 5)
  5293. game:GetService("Debris"):AddItem(dis2, 5)
  5294. 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)
  5295. 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)
  5296. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  5297. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  5298. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  5299. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  5300. end
  5301. attack = false
  5302. hum.WalkSpeed = storehumanoidWS
  5303. end
  5304.  
  5305. function talk()
  5306. attack = true
  5307. bosschatfunc("When will you learn?",MAINRUINCOLOR.Color,3)
  5308. local obj1 = script.chring2:Clone()
  5309. obj1.Parent = char
  5310. obj1.Transparency = 1
  5311. obj1.Size = vt(1,1,1)
  5312. obj1.Color = BrickColor.new("Pink").Color
  5313. local obj2 = script.spball:Clone()
  5314. obj2.Parent = char
  5315. obj2.Transparency = 1
  5316. obj2.Size = vt(1,1,1)
  5317. obj2.Color = MAINRUINCOLOR.Color
  5318. local cfor = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5319. cfor.Anchored = true
  5320. cfor.CFrame = obj2.CFrame
  5321. local cef = Instance.new("ParticleEmitter",cfor)
  5322. cef.Texture = "rbxassetid://2344870656"
  5323. cef.LightEmission = 1
  5324. cef.Color = ColorSequence.new(obj2.Color)
  5325. cef.Rate = 150
  5326. cef.Lifetime = NumberRange.new(0.25)
  5327. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
  5328. cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  5329. cef.Speed = NumberRange.new(0)
  5330. local rval = 0
  5331. local eval = 1
  5332. for i = 0,7,0.1 do
  5333. swait()
  5334. rval = rval + math.random(30,40)
  5335. eval = eval + 0.45
  5336. obj1.Transparency = obj1.Transparency - 0.005
  5337. obj1.Size = obj1.Size + vt(0.3,0.3,0.1)
  5338. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  5339. obj2.Transparency = obj2.Transparency - 0.007
  5340. obj2.Size = obj2.Size + vt(0.15,0.15,0.15)
  5341. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
  5342. obj2.CFrame = root.CFrame*CFrame.new(0,1,-7)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  5343. cfor.CFrame = obj2.CFrame
  5344. 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)
  5345. 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)
  5346. 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)
  5347. 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)
  5348. 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)
  5349. 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)
  5350. 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)
  5351. 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)
  5352. end
  5353. cef.Enabled = false
  5354. coroutine.resume(coroutine.create(function()
  5355. for i = 0,49 do
  5356. swait()
  5357. rval = rval + 100
  5358. obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  5359. obj2.Transparency = obj2.Transparency + 0.02
  5360. obj2.Size = obj2.Size + vt(5,5,5)
  5361. obj1.Transparency = obj1.Transparency + 0.02
  5362. obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  5363. end
  5364. obj1:Destroy()
  5365. obj2:Destroy()
  5366. cfor:Destroy()
  5367. end))
  5368. local lva = 1
  5369. local ica = 0
  5370. local cent = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5371. CFuncs["Sound"].Create("rbxassetid://1177785010", cent, 10, 1)
  5372. cent.CFrame = root.CFrame*CFrame.Angles(0,0,0) + root.CFrame.lookVector*5
  5373. 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)
  5374. sphere2(3,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  5375.  
  5376. local a = Instance.new("Part",workspace)
  5377. a.Name = "Direction"
  5378. a.Anchored = true
  5379. a.BrickColor = bc("Bright red")
  5380. a.Material = "Neon"
  5381. a.Transparency = 1
  5382. a.CanCollide = false
  5383. local ray = Ray.new(
  5384. cent.CFrame.p, -- origin
  5385. (mouse.Hit.p - cent.CFrame.p).unit * 500 -- direction
  5386. )
  5387. local ignore = cent
  5388. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5389. a.BottomSurface = 10
  5390. a.TopSurface = 10
  5391. local distance = (cent.CFrame.p - position).magnitude
  5392. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5393. a.CFrame = CFrame.new(cent.CFrame.p, position) * CFrame.new(0, 0, 0)
  5394. cent.CFrame = a.CFrame
  5395. a:Destroy()
  5396. local bv = Instance.new("BodyVelocity")
  5397. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5398. bv.velocity = cent.CFrame.lookVector*0
  5399. bv.Parent = cent
  5400. game:GetService("Debris"):AddItem(cent, 20)
  5401. local hitted = false
  5402. coroutine.resume(coroutine.create(function()
  5403. while true do
  5404. swait(1)
  5405. if hitted == false and cent.Parent ~= nil then
  5406. ica = ica + 4*lva
  5407. lva = lva + 0.1
  5408. bv.velocity = cent.CFrame.lookVector*ica
  5409. sphere2(3,"Add",cent.CFrame,vt(5,5,5),-0.05,-0.05,-0.05,BrickColor.new("Pastel light blue"))
  5410. 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"))
  5411. 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"))
  5412. elseif hitted == true or cent.Parent == nil then
  5413. break
  5414. end
  5415. end
  5416. end))
  5417. coroutine.resume(coroutine.create(function()
  5418. cent.Touched:connect(function(hit)
  5419. if hitted == false and hit.Parent ~= char then
  5420. hitted = true
  5421. cent.Anchored = true
  5422. CFuncs["Sound"].Create("rbxassetid://782353443", cent, 10, 1)
  5423. CFuncs["Sound"].Create("rbxassetid://1368637781", cent, 8, 1)
  5424. CFuncs["Sound"].Create("rbxassetid://763717897", cent, 5, 1)
  5425. CFuncs["EchoSound"].Create("rbxassetid://1177785010", cent, 8, 1.1,0,10,0.15,0.5,1)
  5426. MagniDamage(cent, 50, 50,99999, 0, "Normal")
  5427. sphere2(2,"Add",cent.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  5428. sphere2(3,"Add",cent.CFrame,vt(1,1,1),1.2,1.2,1.2,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  5429. for i = 0, 19 do
  5430. 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"))
  5431. 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"))
  5432. end
  5433. coroutine.resume(coroutine.create(function()
  5434. local eff = Instance.new("ParticleEmitter",cent)
  5435. eff.Texture = "rbxassetid://2344870656"
  5436. eff.LightEmission = 1
  5437. eff.Color = ColorSequence.new(BrickColor.new("Pastel light blue").Color)
  5438. eff.Rate = 10000000
  5439. eff.Enabled = true
  5440. --eff.EmissionDirection = "Front"
  5441. eff.Lifetime = NumberRange.new(5)
  5442. 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)})
  5443. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5444. eff.Speed = NumberRange.new(350)
  5445. eff.Drag = 5
  5446. eff.Rotation = NumberRange.new(-500,500)
  5447. eff.SpreadAngle = Vector2.new(0,900)
  5448. eff.RotSpeed = NumberRange.new(-500,500)
  5449. local eff2 = eff:Clone()
  5450. eff2.Parent = cent
  5451. eff2.Speed = NumberRange.new(250)
  5452. eff2.Color = ColorSequence.new(BrickColor.new("Pink").Color)
  5453. wait(0.2)
  5454. eff.Enabled = false
  5455. eff2.Enabled = false
  5456. end))
  5457. end
  5458. end)
  5459. end))
  5460. attack = false
  5461. hum.WalkSpeed = storehumanoidWS
  5462. end
  5463.  
  5464. function FallenDEMISE()
  5465. attack = true
  5466. hum.WalkSpeed = 0
  5467. local keptcolor = MAINRUINCOLOR
  5468. bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
  5469. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  5470. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  5471. for i = 0, 15, 0.1 do
  5472. swait()
  5473. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5474. 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)))
  5475. local at1 = Instance.new("Attachment",dis)
  5476. at1.Position = vt(-25000,0,0)
  5477. local at2 = Instance.new("Attachment",dis)
  5478. at2.Position = vt(25000,0,0)
  5479. local trl = Instance.new('Trail',dis)
  5480. trl.Attachment0 = at1
  5481. trl.FaceCamera = true
  5482. trl.Attachment1 = at2
  5483. trl.Texture = "rbxassetid://1049219073"
  5484. trl.LightEmission = 1
  5485. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5486. trl.Color = ColorSequence.new(dis.Color)
  5487. trl.Lifetime = 5
  5488. local bv = Instance.new("BodyVelocity")
  5489. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5490. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5491. bv.Parent = dis
  5492. game:GetService("Debris"):AddItem(dis, 1)
  5493. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  5494. 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"))
  5495. 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"))
  5496. 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)
  5497. 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)
  5498. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  5499. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5500. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  5501. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  5502. end
  5503. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  5504. for i = 0, 30, 0.1 do
  5505. swait()
  5506. coroutine.resume(coroutine.create(function()
  5507. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  5508. if v:FindFirstChild('Head') then
  5509. dmg(v)
  5510. end
  5511. end
  5512. end))
  5513. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5514. 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)))
  5515. local at1 = Instance.new("Attachment",dis)
  5516. at1.Position = vt(-50000,0,0)
  5517. local at2 = Instance.new("Attachment",dis)
  5518. at2.Position = vt(50000,0,0)
  5519. local trl = Instance.new('Trail',dis)
  5520. trl.Attachment0 = at1
  5521. trl.FaceCamera = true
  5522. trl.Attachment1 = at2
  5523. trl.Texture = "rbxassetid://1049219073"
  5524. trl.LightEmission = 1
  5525. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5526. trl.Color = ColorSequence.new(dis.Color)
  5527. trl.Lifetime = 10
  5528. local bv = Instance.new("BodyVelocity")
  5529. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5530. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  5531. bv.Parent = dis
  5532. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  5533. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  5534. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  5535. 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"))
  5536. 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"))
  5537. 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"))
  5538. 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"))
  5539. for i = 0, 2 do
  5540. 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)
  5541. end
  5542. 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)
  5543. 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)
  5544. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  5545. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5546. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  5547. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  5548. end
  5549. attack = false
  5550. hum.WalkSpeed = storehumanoidWS
  5551. end
  5552.  
  5553. function SHDTwist()
  5554. attack = true
  5555. hum.WalkSpeed = 2
  5556. local radm = math.random(1,3)
  5557. if radm == 1 then
  5558. bosschatfunc("Plasmatic Burst!",MAINRUINCOLOR.Color,1)
  5559. elseif radm == 2 then
  5560. bosschatfunc("How cute.",MAINRUINCOLOR.Color,1)
  5561. elseif radm == 3 then
  5562. bosschatfunc("Suffer to the brightness.",MAINRUINCOLOR.Color,1)
  5563. end
  5564. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1.5,1.25)
  5565. local obj1 = script.chring2:Clone()
  5566. obj1.Parent = char
  5567. obj1.Transparency = 1
  5568. obj1.Size = vt(1,1,1)
  5569. obj1.Color = BrickColor.new("Pink").Color
  5570. local obj2 = script.spball:Clone()
  5571. obj2.Parent = char
  5572. obj2.Transparency = 1
  5573. obj2.Size = vt(1,1,1)
  5574. obj2.Color = MAINRUINCOLOR.Color
  5575. local cfor = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5576. cfor.Anchored = true
  5577. cfor.CFrame = obj2.CFrame
  5578. local cef = Instance.new("ParticleEmitter",cfor)
  5579. cef.Texture = "rbxassetid://2344870656"
  5580. cef.LightEmission = 1
  5581. cef.Color = ColorSequence.new(obj2.Color)
  5582. cef.Rate = 150
  5583. cef.Lifetime = NumberRange.new(0.25)
  5584. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
  5585. cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  5586. cef.Speed = NumberRange.new(0)
  5587. local rval = 0
  5588. local eval = 1
  5589. for i = 0,7,0.1 do
  5590. swait()
  5591. rval = rval + math.random(30,40)
  5592. eval = eval + 0.45
  5593. obj1.Transparency = obj1.Transparency - 0.005
  5594. obj1.Size = obj1.Size + vt(0.3,0.3,0.1)
  5595. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  5596. obj2.Transparency = obj2.Transparency - 0.007
  5597. obj2.Size = obj2.Size + vt(0.15,0.15,0.15)
  5598. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
  5599. obj2.CFrame = root.CFrame*CFrame.new(0,1,-7)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  5600. cfor.CFrame = obj2.CFrame
  5601. 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)
  5602. 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)
  5603. 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)
  5604. 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)
  5605. 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)
  5606. 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)
  5607. 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)
  5608. 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)
  5609. end
  5610. cef.Enabled = false
  5611. coroutine.resume(coroutine.create(function()
  5612. for i = 0,49 do
  5613. swait()
  5614. rval = rval + 100
  5615. obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  5616. obj2.Transparency = obj2.Transparency + 0.02
  5617. obj2.Size = obj2.Size + vt(5,5,5)
  5618. obj1.Transparency = obj1.Transparency + 0.02
  5619. obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  5620. end
  5621. obj1:Destroy()
  5622. obj2:Destroy()
  5623. cfor:Destroy()
  5624. end))
  5625. local lva = 1
  5626. local ica = 0
  5627. local cent = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5628. CFuncs["Sound"].Create("rbxassetid://1177785010", cent, 10, 1)
  5629. cent.CFrame = root.CFrame*CFrame.Angles(0,0,0) + root.CFrame.lookVector*5
  5630. 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)
  5631. sphere2(3,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  5632.  
  5633. local a = Instance.new("Part",workspace)
  5634. a.Name = "Direction"
  5635. a.Anchored = true
  5636. a.BrickColor = bc("Bright red")
  5637. a.Material = "Neon"
  5638. a.Transparency = 1
  5639. a.CanCollide = false
  5640. local ray = Ray.new(
  5641. cent.CFrame.p, -- origin
  5642. (mouse.Hit.p - cent.CFrame.p).unit * 500 -- direction
  5643. )
  5644. local ignore = cent
  5645. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5646. a.BottomSurface = 10
  5647. a.TopSurface = 10
  5648. local distance = (cent.CFrame.p - position).magnitude
  5649. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5650. a.CFrame = CFrame.new(cent.CFrame.p, position) * CFrame.new(0, 0, 0)
  5651. cent.CFrame = a.CFrame
  5652. a:Destroy()
  5653. local bv = Instance.new("BodyVelocity")
  5654. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5655. bv.velocity = cent.CFrame.lookVector*0
  5656. bv.Parent = cent
  5657. game:GetService("Debris"):AddItem(cent, 20)
  5658. local hitted = false
  5659. coroutine.resume(coroutine.create(function()
  5660. while true do
  5661. swait(1)
  5662. if hitted == false and cent.Parent ~= nil then
  5663. ica = ica + 4*lva
  5664. lva = lva + 0.1
  5665. bv.velocity = cent.CFrame.lookVector*ica
  5666. sphere2(3,"Add",cent.CFrame,vt(5,5,5),-0.05,-0.05,-0.05,BrickColor.new("Pastel light blue"))
  5667. 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"))
  5668. 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"))
  5669. elseif hitted == true or cent.Parent == nil then
  5670. break
  5671. end
  5672. end
  5673. end))
  5674. coroutine.resume(coroutine.create(function()
  5675. cent.Touched:connect(function(hit)
  5676. if hitted == false and hit.Parent ~= char then
  5677. hitted = true
  5678. cent.Anchored = true
  5679. CFuncs["Sound"].Create("rbxassetid://782353443", cent, 10, 1)
  5680. CFuncs["Sound"].Create("rbxassetid://1368637781", cent, 8, 1)
  5681. CFuncs["Sound"].Create("rbxassetid://763717897", cent, 5, 1)
  5682. CFuncs["EchoSound"].Create("rbxassetid://1177785010", cent, 8, 1.1,0,10,0.15,0.5,1)
  5683. MagniDamage(cent, 50, 50,99999, 0, "Normal")
  5684. sphere2(2,"Add",cent.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  5685. sphere2(3,"Add",cent.CFrame,vt(1,1,1),1.2,1.2,1.2,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  5686. for i = 0, 19 do
  5687. 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"))
  5688. 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"))
  5689. end
  5690. coroutine.resume(coroutine.create(function()
  5691. local eff = Instance.new("ParticleEmitter",cent)
  5692. eff.Texture = "rbxassetid://2344870656"
  5693. eff.LightEmission = 1
  5694. eff.Color = ColorSequence.new(BrickColor.new("Pastel light blue").Color)
  5695. eff.Rate = 10000000
  5696. eff.Enabled = true
  5697. --eff.EmissionDirection = "Front"
  5698. eff.Lifetime = NumberRange.new(5)
  5699. 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)})
  5700. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5701. eff.Speed = NumberRange.new(350)
  5702. eff.Drag = 5
  5703. eff.Rotation = NumberRange.new(-500,500)
  5704. eff.SpreadAngle = Vector2.new(0,900)
  5705. eff.RotSpeed = NumberRange.new(-500,500)
  5706. local eff2 = eff:Clone()
  5707. eff2.Parent = cent
  5708. eff2.Speed = NumberRange.new(250)
  5709. eff2.Color = ColorSequence.new(BrickColor.new("Pink").Color)
  5710. wait(0.2)
  5711. eff.Enabled = false
  5712. eff2.Enabled = false
  5713. end))
  5714. end
  5715. end)
  5716. end))
  5717. attack = false
  5718. hum.WalkSpeed = storehumanoidWS
  5719. end
  5720. -------------------------------------
  5721.  
  5722. Humanoid.Animator.Parent = nil
  5723.  
  5724. -------------------------------------
  5725.  
  5726. local attacktype = 1
  5727. mouse.Button1Down:connect(function()
  5728. if attack == false and attacktype == 1 then
  5729. attacktype = 2
  5730. attackone()
  5731. elseif attack == false and attacktype == 2 then
  5732. attacktype = 3
  5733. attacktwo()
  5734. elseif attack == false and attacktype == 3 then
  5735. attacktype = 1
  5736. attackthree()
  5737. elseif attack == false and attacktype == 4 then
  5738. attacktype = 1
  5739. --attackfour()
  5740. end
  5741. end)
  5742. mouse.KeyDown:connect(function(k)
  5743. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  5744. --normalmog() ---Disabled due to crashing... only in VSB
  5745. ModeOfGlitch = 1
  5746. storehumanoidWS = 16
  5747. hum.WalkSpeed = 16
  5748. rainbowmode = false
  5749. chaosmode = false
  5750. crappymode = false
  5751. newTheme("rbxassetid://614032233",48.6,1,1.25)
  5752. RecolorTextAndRename("Mayhem",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  5753. MAINRUINCOLOR = BrickColor.new("Really red")
  5754. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5755. end
  5756. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  5757. ModeOfGlitch = 2
  5758. storehumanoidWS = 16
  5759. hum.WalkSpeed = 16
  5760. rainbowmode = false
  5761. chaosmode = false
  5762. crappymode = false
  5763. RecolorTextAndRename("Purity",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  5764. newTheme("rbxassetid://1539245059",0,1,1.25)
  5765. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  5766. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5767. end
  5768. if k == "u" and attack == false and ModeOfGlitch == 99 then
  5769. ModeOfGlitch = 6
  5770. bosschatfunc("Justice recieved.",MAINRUINCOLOR.Color,3)
  5771. storehumanoidWS = 100
  5772. hum.WalkSpeed = 100
  5773. rainbowmode = false
  5774. chaosmode = false
  5775. crappymode = false
  5776. RecolorTextAndRename("Justice",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  5777. newTheme("rbxassetid://1347011178",0,1.01,1.25)
  5778. MAINRUINCOLOR = BrickColor.new("White")
  5779. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5780. end
  5781. if k == "t" and attack == false and ModeOfGlitch == 124 and ModeOfGlitch ~= 127 then
  5782. ModeOfGlitch = 127
  5783. storehumanoidWS = 16
  5784. hum.WalkSpeed = 16
  5785. rainbowmode = false
  5786. chaosmode = false
  5787. crappymode = false
  5788. RecolorTextAndRename("Gaster",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  5789. newTheme("rbxassetid://366168126",0,1,2.25)
  5790. MAINRUINCOLOR = BrickColor.new("Really black")
  5791. --warnedpeople("G̶̢̛̪̜̠̘̙̓͆́̒́a̸͇͓̞̲̜̟̿͆̐̉̌̕s̷̙̹̭͍̿̐̌̃͋̕͜ͅt̷͙͉͚̞̤̰̽̋̇̉̅̏e̴̢̜͈̝͈͇͐͂̅͌̎̕r̷̨̫̲͓̞͚͊̾̿̑̓͝","Arcade",BrickColor.new("Really black").Color,BrickColor.new("Really black").Color)
  5792. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,true)
  5793. end
  5794. if k == "v" and attack == false and ModeOfGlitch == 123 and ModeOfGlitch ~= 124 then
  5795. ModeOfGlitch = 124
  5796. storehumanoidWS = 16
  5797. hum.WalkSpeed = 16
  5798. rainbowmode = false
  5799. chaosmode = false
  5800. crappymode = false
  5801. RecolorTextAndRename("Sans",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  5802. newTheme("rbxassetid://317775091",0,1,1.25)
  5803. MAINRUINCOLOR = BrickColor.new("White")
  5804. --warnedpeople("ADOOWAT","Arcade",BrickColor.new("Really blue").Color,BrickColor.new("White").Color)
  5805. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,true)
  5806. end
  5807. if k == "c" and attack == false and ModeOfGlitch ~= 123 then
  5808. ModeOfGlitch = 123
  5809. storehumanoidWS = 16
  5810. hum.WalkSpeed = 16
  5811. rainbowmode = false
  5812. chaosmode = false
  5813. crappymode = false
  5814. RecolorTextAndRename("The hand that draws...",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  5815. newTheme("rbxassetid://492070484 ",0,1,1.25)
  5816. MAINRUINCOLOR = BrickColor.new("Really black")
  5817. --warnedpeople("The hand that draws.. The almighty..","Arcade",BrickColor.new("Really black").Color,BrickColor.new("White").Color)
  5818. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,true)
  5819. end
  5820. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  5821. ModeOfGlitch = 3
  5822. storehumanoidWS = 16
  5823. hum.WalkSpeed = 16
  5824. rainbowmode = false
  5825. chaosmode = false
  5826. crappymode = false
  5827. RecolorTextAndRename("Royality",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  5828. newTheme("rbxassetid://1283869370",58.15,0.98,1.25)
  5829. MAINRUINCOLOR = BrickColor.new("Royal purple")
  5830. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5831. end
  5832. if k == "2" and attack == false and ModeOfGlitch ~= 4 then
  5833. ModeOfGlitch = 4
  5834. storehumanoidWS = 6
  5835. hum.WalkSpeed = 6
  5836. rainbowmode = false
  5837. chaosmode = true
  5838. crappymode = false
  5839. RecolorTextAndRename("TRUE MEANING OF INSANITY",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
  5840. newTheme("rbxassetid://1369263130",0,1.01,1.25)
  5841. MAINRUINCOLOR = BrickColor.new("Black")
  5842. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5843. end
  5844. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  5845. ModeOfGlitch = 5
  5846. storehumanoidWS = 16
  5847. hum.WalkSpeed = 16
  5848. rainbowmode = false
  5849. chaosmode = false
  5850. crappymode = false
  5851. RecolorTextAndRename("Divinity",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  5852. newTheme("rbxassetid://661079869",0,1.02,1.25)
  5853. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  5854. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5855. end
  5856. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  5857. ModeOfGlitch = 6
  5858. storehumanoidWS = 100
  5859. hum.WalkSpeed = 100
  5860. rainbowmode = false
  5861. chaosmode = false
  5862. crappymode = false
  5863. RecolorTextAndRename("Justice",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  5864. newTheme("rbxassetid://1347011178",0,1.01,1.25)
  5865. MAINRUINCOLOR = BrickColor.new("White")
  5866. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5867. end
  5868. if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 99 then
  5869. ModeOfGlitch = 99
  5870. storehumanoidWS = 100
  5871. hum.WalkSpeed = 100
  5872. rainbowmode = false
  5873. chaosmode = false
  5874. crappymode = false
  5875. RecolorTextAndRename("Injustice",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  5876. newTheme("rbxassetid://1092048938",0,1.01,1.25)
  5877. MAINRUINCOLOR = BrickColor.new("New Yeller")
  5878. RecolorThing(MAINRUINCOLOR,BrickColor.new("Brick yellow"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5879. end
  5880. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 12345679345678 then
  5881. ModeOfGlitch = 12345679345678
  5882. storehumanoidWS = 100
  5883. hum.WalkSpeed = 100
  5884. rainbowmode = false
  5885. chaosmode = false
  5886. crappymode = false
  5887. RecolorTextAndRename("BOI THIS AN EASTER EGG DONT USE IT",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  5888. newTheme("rbxassetid://2451782182",0,1.01,1.25)
  5889. wait(3)
  5890. RecolorTextAndRename("Pewdiepie",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  5891. MAINRUINCOLOR = BrickColor.new("Carnation pink")
  5892. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5893. end
  5894. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  5895. ModeOfGlitch = 8
  5896. storehumanoidWS = 140
  5897. hum.WalkSpeed = 140
  5898. rainbowmode = false
  5899. chaosmode = false
  5900. crappymode = false
  5901. RecolorTextAndRename("Universal",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  5902. newTheme("rbxassetid://1495032271",0,1.01,1.25)
  5903. MAINRUINCOLOR = BrickColor.new("Alder")
  5904. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5905. end
  5906. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  5907. ModeOfGlitch = 9
  5908. storehumanoidWS = 150
  5909. hum.WalkSpeed = 150
  5910. rainbowmode = false
  5911. chaosmode = false
  5912. crappymode = false
  5913. RecolorTextAndRename("Infected",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  5914. newTheme("rbxassetid://1296208488",0,1.01,1.25)
  5915. MAINRUINCOLOR = BrickColor.new("Br. yellowish green")
  5916. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5917. end
  5918. if k == "n" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 10 then
  5919. ModeOfGlitch = 10
  5920. storehumanoidWS = 150
  5921. hum.WalkSpeed = 150
  5922. rainbowmode = false
  5923. chaosmode = false
  5924. crappymode = false
  5925. RecolorTextAndRename("Super Natural",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  5926. newTheme("rbxassetid://2349449807",0,1.01,1.25)
  5927. MAINRUINCOLOR = BrickColor.new("Forest green")
  5928. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5929. end
  5930. if k == "g" and attack == false and ModeOfGlitch == 10 then
  5931. ModeOfGlitch = 9
  5932. bosschatfunc("We're going back!",MAINRUINCOLOR.Color,1)
  5933. end
  5934. if k == "m" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 11 then
  5935. ModeOfGlitch = 11
  5936. storehumanoidWS = 10
  5937. hum.WalkSpeed = 10
  5938. rainbowmode = false
  5939. chaosmode = false
  5940. crappymode = false
  5941. RecolorTextAndRename("C O R R U P T I O N",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  5942. newTheme("rbxassetid://1166635630",0,1.01,1.25)
  5943. MAINRUINCOLOR = BrickColor.new("Royal purple")
  5944. RecolorThing(MAINRUINCOLOR,BrickColor.new("Royal purple"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5945. end
  5946. if k == "n" and attack == false and ModeOfGlitch == 11 and ModeOfGlitch ~= 12 then
  5947. ModeOfGlitch = 12
  5948. storehumanoidWS = 10
  5949. hum.WalkSpeed = 10
  5950. rainbowmode = false
  5951. chaosmode = false
  5952. crappymode = false
  5953. RecolorTextAndRename("fUlLy cOrrrUPPPPTED",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  5954. newTheme("rbxassetid://1166635630",0,2.01,3)
  5955. MAINRUINCOLOR = BrickColor.new("Royal purple")
  5956. RecolorThing(MAINRUINCOLOR,BrickColor.new("Royal purple"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5957. end
  5958. --[[if k == "b" and attack == false and ModeOfGlitch == 12 and ModeOfGlitch ~= 451 then
  5959. ModeOfGlitch = 451
  5960. storehumanoidWS = 45
  5961. hum.WalkSpeed = 45
  5962. rainbowmode = false
  5963. chaosmode = false
  5964. crappymode = false
  5965. RecolorTextAndRename("Oh",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  5966. newTheme("rbxassetid://210779207",0,3.01,5)
  5967. MAINRUINCOLOR = BrickColor.new("Hot pink")
  5968. bosschatfunc("Dont tell my mommy",MAINRUINCOLOR.Color,3)
  5969. RecolorThing(MAINRUINCOLOR,BrickColor.new("Hot pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,true)
  5970. end
  5971. if k == "m" and attack == false and ModeOfGlitch == 451 and ModeOfGlitch ~= 451 then
  5972. ModeOfGlitch = 451
  5973. storehumanoidWS = 45
  5974. hum.WalkSpeed = 45
  5975. rainbowmode = false
  5976. chaosmode = false
  5977. crappymode = false
  5978. RecolorTextAndRename("tRue oH",Color3.new(r/255,g/1,b/191),Color3.new(r/255,g/255,b/255),"Bodoni")
  5979. newTheme("rbxassetid://916843842",0,3.01,5)
  5980. MAINRUINCOLOR = BrickColor.new("Hot pink")
  5981. bosschatfunc("Dont tell my mommy",MAINRUINCOLOR.Color,3)
  5982. RecolorThing(MAINRUINCOLOR,BrickColor.new("Hot pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,true)
  5983. end]]
  5984. if k == "h" and attack == false and ModeOfGlitch ~= 17 then
  5985. ModeOfGlitch = 17
  5986. storehumanoidWS = 66
  5987. hum.WalkSpeed = 66
  5988. rainbowmode = false
  5989. chaosmode = false
  5990. crappymode = false
  5991. RecolorTextAndRename("Bendy",Color3.new(r/0,g/0,b/1),Color3.new(r/1,g/1,b/1),"Bodoni")
  5992. newTheme("rbxassetid://752581929",0,1.01,5)
  5993. MAINRUINCOLOR = BrickColor.new("Really black")
  5994. bosschatfunc("Ink. Ink... INK?",MAINRUINCOLOR.Color,3)
  5995. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5996. end
  5997. if k == "k" and attack == false and ModeOfGlitch ~= 175 then
  5998. ModeOfGlitch = 175
  5999. storehumanoidWS = 66
  6000. hum.WalkSpeed = 66
  6001. rainbowmode = false
  6002. chaosmode = false
  6003. crappymode = false
  6004. RecolorTextAndRename("Destroy",Color3.new(255,0,0),Color3.new(255,0,0),"SciFi")
  6005. newTheme("rbxassetid://1255569288",0,1.01,3)
  6006. MAINRUINCOLOR = BrickColor.new("Really red")
  6007. bosschatfunc("Annihilate",MAINRUINCOLOR.Color,3)
  6008. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6009. end
  6010. if k == "n" and attack == false and ModeOfGlitch == 23 and ModeOfGlitch ~= 18 then
  6011. ModeOfGlitch = 18
  6012. storehumanoidWS = 66
  6013. hum.WalkSpeed = 66
  6014. rainbowmode = false
  6015. chaosmode = false
  6016. crappymode = false
  6017. RecolorTextAndRename("Somewhat Blue",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  6018. newTheme("rbxassetid://1138145518",0,1.01,2)
  6019. MAINRUINCOLOR = BrickColor.new("Navy blue")
  6020. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6021. end
  6022. if k == "j" and attack == false and ModeOfGlitch ~= 23 then
  6023. ModeOfGlitch = 23
  6024. storehumanoidWS = 66
  6025. hum.WalkSpeed = 66
  6026. rainbowmode = false
  6027. chaosmode = false
  6028. RecolorTextAndRename("Normal blue..",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  6029. newTheme("rbxassetid://2246300352",0,1.01,4)
  6030. MAINRUINCOLOR = BrickColor.new("Baby blue")
  6031. bosschatfunc("Nothing here...",MAINRUINCOLOR.Color,3)
  6032. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,true)
  6033. end
  6034. if k == "m" and attack == false and ModeOfGlitch == 18 and ModeOfGlitch ~= 19 then
  6035. ModeOfGlitch = 19
  6036. storehumanoidWS = 66
  6037. hum.WalkSpeed = 66
  6038. rainbowmode = false
  6039. chaosmode = false
  6040. RecolorTextAndRename("DEADLY BLUE",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  6041. newTheme("rbxassetid://193889412",0,1.01,5)
  6042. MAINRUINCOLOR = BrickColor.new("Really red")
  6043. bosschatfunc("HAHAHAHAH",MAINRUINCOLOR.Color,3)
  6044. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,true)
  6045. end
  6046. if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 1234 then
  6047. attack = true
  6048. ModeOfGlitch = 1234
  6049. storehumanoidWS = 250
  6050. hum.WalkSpeed = 0
  6051. rainbowmode = false
  6052. chaosmode = false
  6053. crappymode = false
  6054. --[[CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 0.75)
  6055. CFuncs["Sound"].Create("rbxassetid://763717897", char, 8, 0.5)
  6056. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 10, 0.5)
  6057. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 0.5)]]--
  6058. RecolorTextAndRename("Sanes..",BrickColor.new("Bright blue").Color,BrickColor.new("Really blue").Color,"Bodoni")
  6059. newThemeCust("rbxassetid://345006573",0,1.01,2)
  6060. MAINRUINCOLOR = BrickColor.new("Really blue")
  6061. bosschatfunc("Mhm",MAINRUINCOLOR.Color,1)
  6062. 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)
  6063. 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)
  6064. wait(1)
  6065. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(1 + 99 * math.cos(sine / 79)),math.rad(7 - 5 * math.cos(sine / 53)),math.rad(41 + 5231 * math.cos(sine / 73))),.1)
  6066. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-55 - 666 * math.cos(sine / 73)),math.rad(4 - 23 * math.cos(sine / 55)),math.rad(12 - 431 * math.cos(sine / 51))),.1)
  6067. wait(2)
  6068. bosschatfunc("You really are a fool..",MAINRUINCOLOR.Color,1)
  6069. 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)
  6070. 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)
  6071. bosschatfunc("Why would you think you can win?",MAINRUINCOLOR.Color,1)
  6072. wait(3)
  6073. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 1 * math.cos(sine / 32),2 + 0.2 * math.cos(sine / 32))*angles(math.rad(-55 - 7 * math.cos(sine / 32)),math.rad(15),math.rad(0)),.1)
  6074. bosschatfunc("Anyway, the answer is.. No.",MAINRUINCOLOR.Color,3)
  6075. wait(2)
  6076. bosschatfunc("Heh you're in the genocide route.",MAINRUINCOLOR.Color,3)
  6077. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 1 * math.cos(sine / 32),2 + 0.2 * math.cos(sine / 32))*angles(math.rad(-45 - 7 * math.cos(sine / 32)),math.rad(15),math.rad(0)),.1)
  6078. wait(2)
  6079. bosschatfunc("Kids like you should be burning in hell..",MAINRUINCOLOR.Color,3)
  6080. wait(2)
  6081. bosschatfunc("Tell tori i said sorry...",MAINRUINCOLOR.Color,.3)
  6082. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 1 * math.cos(sine / 32),2 + 0.2 * math.cos(sine / 32))*angles(math.rad(-95 - 7 * math.cos(sine / 32)),math.rad(15),math.rad(0)),.1)
  6083. wait(1)
  6084. hum.WalkSpeed = 250
  6085. RecolorTextAndRename("Bold sans",BrickColor.random().Color,BrickColor.random().Color,"SciFi")
  6086. --[[disably = false
  6087. warnedpeople("very bold","Arcade",BrickColor.Random().Color,BrickColor.random().Color)
  6088. disably = true]]--
  6089. attack = false
  6090. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,true)
  6091. end
  6092. if k == "b" and attack == false and ModeOfGlitch == 124 and ModeOfGlitch ~= 808080808080808080808080 then
  6093. ModeOfGlitch = 808080808080808080808080
  6094. storehumanoidWS = 250
  6095. hum.WalkSpeed = 250
  6096. rainbowmode = false
  6097. chaosmode = false
  6098. crappymode = true
  6099. --[[CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 0.75)
  6100. CFuncs["Sound"].Create("rbxassetid://763717897", char, 8, 0.5)
  6101. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 10, 0.5)
  6102. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 0.5)]]--
  6103. RecolorTextAndRename("Normal..",BrickColor.new("Bright blue").Color,BrickColor.new("Really blue").Color,"Bodoni")
  6104. newThemeCust("rbxassetid://398455752",0,1.01,2)
  6105. MAINRUINCOLOR = BrickColor.new("Really blue")
  6106. bosschatfunc("Mhm",MAINRUINCOLOR.Color,1)
  6107. 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)
  6108. 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)
  6109. wait(1)
  6110. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 1 * math.cos(sine / 32),2 + 0.2 * math.cos(sine / 32))*angles(math.rad(-25 - 7 * math.cos(sine / 32)),math.rad(15),math.rad(0)),.1)
  6111. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(1 + 99 * math.cos(sine / 79)),math.rad(7 - 5 * math.cos(sine / 53)),math.rad(41 + 5231 * math.cos(sine / 73))),.1)
  6112. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-55 - 666 * math.cos(sine / 73)),math.rad(4 - 23 * math.cos(sine / 55)),math.rad(12 - 431 * math.cos(sine / 51))),.1)
  6113. wait(1)
  6114. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 1 * math.cos(sine / 32),2 + 0.2 * math.cos(sine / 32))*angles(math.rad(-65 - 7 * math.cos(sine / 32)),math.rad(15),math.rad(0)),.1)
  6115. bosschatfunc("You really are a fool..",MAINRUINCOLOR.Color,1)
  6116. 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)
  6117. 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)
  6118. bosschatfunc("Why would you think you can win?",MAINRUINCOLOR.Color,1)
  6119. wait(1)
  6120. bosschatfunc("Anyway, the answer is.. No.",MAINRUINCOLOR.Color,3)
  6121. wait(1)
  6122. RecolorTextAndRename("C R A P P Y",BrickColor.random().Color,BrickColor.random().Color,"SciFi")
  6123. disably = false
  6124. --warnedpeople("C R A P","Arcade",BrickColor.Randm().Color,BrickColor.random().Color)
  6125. attack = false
  6126. disably = true
  6127. RecolorThing(MAINRUINCOLOR,BrickColor.new("Navy blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Baby blue"),0,BrickColor.new("Pastel light blue"),true,true)
  6128. end
  6129. if k == "m" and attack == false and ModeOfGlitch == 8889 and ModeOfGlitch ~= 88893333388 then
  6130. ModeOfGlitch = 88893333388
  6131. storehumanoidWS = 200
  6132. hum.WalkSpeed = 200
  6133. rainbowmode = false
  6134. chaosmode = false
  6135. crappymode = false
  6136. RecolorTextAndRename("Cake",BrickColor.new("Royal purple").Color,BrickColor.new("Really blue").Color,"Bodoni")
  6137. newThemeCust("rbxassetid://472231729",0,1.25,5)
  6138. MAINRUINCOLOR = BrickColor.new("Royal purple")
  6139. bosschatfunc("The Cake is a lie",MAINRUINCOLOR.Color,1)
  6140. --warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  6141. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6142. end
  6143. if k == "n" and attack == false and ModeOfGlitch == 88893333388 and ModeOfGlitch ~= 999 then
  6144. ModeOfGlitch = 999
  6145. storehumanoidWS = 200
  6146. hum.WalkSpeed = 200
  6147. rainbowmode = false
  6148. chaosmode = false
  6149. crappymode = false
  6150. RecolorTextAndRename("Fire",BrickColor.new("Neon orange").Color,BrickColor.new("Medium red").Color,"Bodoni")
  6151. newThemeCust("rbxassetid://1902490439",0,1.25,2)
  6152. MAINRUINCOLOR = BrickColor.new("Really red")
  6153. chatfunc("I've Always liked to play with fire..",Color3.new(1,0,0),"Inverted","Antique",0.75)
  6154. --warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  6155. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6156. end
  6157. if k == "v" and attack == false and ModeOfGlitch == 12 and ModeOfGlitch ~= 134 then
  6158. ModeOfGlitch = 134
  6159. storehumanoidWS = 200
  6160. hum.WalkSpeed = 200
  6161. rainbowmode = false
  6162. chaosmode = false
  6163. crappymode = false
  6164. RecolorTextAndRename("h",BrickColor.new("Royal purple").Color,BrickColor.new("Really blue").Color,"Bodoni")
  6165. newThemeCust("rbxassetid://492070484",0,1.25,5)
  6166. MAINRUINCOLOR = BrickColor.new("Royal purple")
  6167. bosschatfunc("u kidding?",MAINRUINCOLOR.Color,1)
  6168. --warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  6169. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6170. end
  6171. if k == "m" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 8889 then
  6172. ModeOfGlitch = 8889
  6173. storehumanoidWS = 180
  6174. hum.WalkSpeed = 180
  6175. rainbowmode = false
  6176. chaosmode = false
  6177. crappymode = false
  6178. RecolorTextAndRename("Unlimited",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique")
  6179. newTheme("rbxassetid://1359036559",0,1.01,1.5)
  6180. MAINRUINCOLOR = BrickColor.new("Lilac")
  6181. --warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  6182. RecolorThing(MAINRUINCOLOR,BrickColor.new("Alder"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6183. end
  6184. if k == "n" and attack == false and ModeOfGlitch == 664663666 and ModeOfGlitch ~= 666 then
  6185. ModeOfGlitch = 666
  6186. storehumanoidWS = 12
  6187. hum.WalkSpeed = 12
  6188. rainbowmode = false
  6189. chaosmode = false
  6190. crappymode = false
  6191. RecolorTextAndRename("Chara",Color3.new(0.1,0,0),Color3.new(0.25,0,0),"Antique")
  6192. newTheme("rbxassetid://1873219898 ",0,1.10,5)
  6193. MAINRUINCOLOR = BrickColor.new("Maroon")
  6194. bosschatfunc("Hehe...",MAINRUINCOLOR.Color,1)
  6195. --warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  6196. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6197. end
  6198. if k == "n" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 765688533321 then
  6199. ModeOfGlitch = 765688533321
  6200. storehumanoidWS = 260
  6201. hum.WalkSpeed = 260
  6202. rainbowmode = false
  6203. chaosmode = false
  6204. crappymode = false
  6205. RecolorTextAndRename("Digital",Color3.new(1,1,1),Color3.new(1,0,0),"Arcade")
  6206. newTheme("rbxassetid://899090278",0,1.005,1.75)
  6207. MAINRUINCOLOR = BrickColor.new("Really black")
  6208. --warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  6209. RecolorThing(BrickColor.new("Institutional white"),BrickColor.new("Really red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Really red"),0,BrickColor.new("Really black"),true,true)
  6210. end
  6211. if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 664663666 then
  6212. newThemeCust("rbxassetid://723652641",0,1,1.25)
  6213. attack = true
  6214. hum.WalkSpeed = 0
  6215. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  6216. chatfunc("its time to stop",MAINRUINCOLOR.Color,"Inverted","Arcade",3)
  6217. MAINRUINCOLOR = BrickColor.new("Maroon")
  6218. local keptcolor = MAINRUINCOLOR
  6219. local locat = Instance.new("Part", char)
  6220. locat.CanCollide = false
  6221. locat.FormFactor = 3
  6222. locat.Name = "Ring"
  6223. locat.Material = "Neon"
  6224. locat.Size = Vector3.new(1, 1, 1)
  6225. locat.Transparency = 1
  6226. locat.TopSurface = 0
  6227. locat.BottomSurface = 0
  6228. locat.Anchored = true
  6229. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  6230. local poste = 0
  6231. local rotation = 0
  6232. local upperpos = 0
  6233. local rate = 0
  6234. local x = locat
  6235. for i = 0, 24, 0.1 do
  6236. swait()
  6237. 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"))
  6238. 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)
  6239. 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)
  6240. 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)
  6241. 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)
  6242. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6243. 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)
  6244. 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)
  6245. end
  6246. coroutine.resume(coroutine.create(function()
  6247. CamShakeAll(25,30,char)
  6248. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6249. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  6250. wait(0.55)
  6251. CamShakeAll(25,60,char)
  6252. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6253. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6254. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6255. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  6256. wait(0.55)
  6257. CamShakeAll(25,90,char)
  6258. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  6259. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6260. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6261. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6262. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6263. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  6264. wait(0.55)
  6265. CamShakeAll(60,120,char)
  6266. CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 1)
  6267. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  6268. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 4, 0.95)
  6269. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(15,0,15),5,0,5,BrickColor.new("Really black"))
  6270. sphere2(2,"Add",x.CFrame*CFrame.new(0,0,0),vt(15,0,15),5,0,5,keptcolor)
  6271. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Maroon"))
  6272. sphere2(2,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Really black"))
  6273. sphere2(4,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,keptcolor)
  6274. coroutine.resume(coroutine.create(function()
  6275. for i = 0, 99 do
  6276. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6277. 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)))
  6278. local at1 = Instance.new("Attachment",dis)
  6279. at1.Position = vt(-25000,0,0)
  6280. local at2 = Instance.new("Attachment",dis)
  6281. at2.Position = vt(25000,0,0)
  6282. local bv = Instance.new("BodyVelocity")
  6283. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6284. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6285. bv.Parent = dis
  6286. game:GetService("Debris"):AddItem(dis, 10)
  6287. end
  6288. attack = false
  6289. hum.WalkSpeed = storehumanoidWS
  6290. for i = 0, 99 do
  6291. 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"))
  6292. end
  6293. for i = 0, 49 do
  6294. local rsiz = math.random(150,450)
  6295. 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"))
  6296. 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"))
  6297. 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)
  6298. end
  6299. coroutine.resume(coroutine.create(function()
  6300. local eff = Instance.new("ParticleEmitter",x)
  6301. eff.Texture = "rbxassetid://2092248396"
  6302. eff.LightEmission = 1
  6303. eff.Color = ColorSequence.new(BrickColor.new("Maroon").Color)
  6304. eff.Rate = 50000
  6305. eff.Lifetime = NumberRange.new(6,12)
  6306. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.2,25,0),NumberSequenceKeypoint.new(1,0.1,0)})
  6307. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6308. eff.Speed = NumberRange.new(250,1500)
  6309. eff.Drag = 5
  6310. eff.Rotation = NumberRange.new(-500,500)
  6311. eff.VelocitySpread = 9000
  6312. eff.RotSpeed = NumberRange.new(-100,100)
  6313. wait(1.25)
  6314. eff.Enabled = false
  6315. end))
  6316. sphere2(3,"Add",tors.CFrame,vt(1,1,1),10,10,10,keptcolor)
  6317. sphere2(2,"Add",tors.CFrame,vt(1,1,1),10,10,10,BrickColor.new("Really black"))
  6318. sphere2(1,"Add",tors.CFrame,vt(1,1,1),10,10,10,BrickColor.new("Maroon"))
  6319. end))
  6320. end))
  6321. for i = 0, 12.5, 0.1 do
  6322. swait()
  6323. 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"))
  6324. 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)
  6325. 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)
  6326. 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)
  6327. 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)
  6328. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6329. 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)
  6330. 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)
  6331. end
  6332. ModeOfGlitch = 664663666
  6333. storehumanoidWS = 175
  6334. hum.WalkSpeed = 175
  6335. rainbowmode = false
  6336. chaosmode = false
  6337. RecolorTextAndRename("DEADLY",Color3.new(r/255,g/0,b/0),Color3.new(r/255,g/0,b/0),"Antique")
  6338. MAINRUINCOLOR = BrickColor.new("Maroon")
  6339. chatfunc("HAHAHAHA!!",MAINRUINCOLOR.Color,"Inverted","Arcade",3)
  6340. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6341. attack = false
  6342. hum.WalkSpeed = storehumanoidWS
  6343. end
  6344. --[[if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  6345. ModeOfGlitch = 55469696922
  6346. storehumanoidWS = 275
  6347. hum.WalkSpeed = 275
  6348. rainbowmode = false
  6349. chaosmode = false
  6350. crappymode = false
  6351. RecolorTextAndRename("Le big anime",Color3.new(0.25,0,0.1),BrickColor.new("Hot pink").Color,"Antique")
  6352. newTheme("rbxassetid://582020393",0,1.005,1.25)
  6353. MAINRUINCOLOR = BrickColor.new("Hot pink")
  6354. chatfunc("a n i m e!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  6355. --warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  6356. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6357. end]]
  6358. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  6359. ModeOfGlitch = 4367677813
  6360. storehumanoidWS = 225
  6361. hum.WalkSpeed = 225
  6362. rainbowmode = true
  6363. chaosmode = false
  6364. crappymode = false
  6365. RecolorTextAndRename("LIFE IS FUN",Color3.new(0.75,0.9,1),BrickColor.new("Bright blue").Color,"Arcade")
  6366. newTheme("rbxassetid://2136805152",0,1.01,1.25)
  6367. MAINRUINCOLOR = BrickColor.new("Baby blue")
  6368. --warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  6369. RecolorThing(MAINRUINCOLOR,BrickColor.new("Navy blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6370. end
  6371. if k == "b" and attack == false and ModeOfGlitch == 887 and ModeOfGlitch ~= 997 then
  6372. ModeOfGlitch = 997
  6373. storehumanoidWS = 225
  6374. hum.WalkSpeed = 225
  6375. rainbowmode = true
  6376. chaosmode = false
  6377. crappymode = false
  6378. RecolorTextAndRename("i feel sorry for your ears",Color3.new(0.75,0.9,1),BrickColor.new("Bright blue").Color,"Arcade")
  6379. newTheme("rbxassetid://293485677 ",0,1.50,30)
  6380. MAINRUINCOLOR = BrickColor.new("Baby blue")
  6381. --warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  6382. RecolorThing(MAINRUINCOLOR,BrickColor.new("Navy blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6383. end
  6384. if k == "m" and attack == false and ModeOfGlitch == 4367677813 and ModeOfGlitch ~= 887 then
  6385. ModeOfGlitch = 887
  6386. storehumanoidWS = 225
  6387. hum.WalkSpeed = 225
  6388. rainbowmode = true
  6389. chaosmode = false
  6390. crappymode = false
  6391. RecolorTextAndRename("LIFE IS H3LL",Color3.new(0.75,0.9,1),BrickColor.new("Bright blue").Color,"Arcade")
  6392. newTheme("rbxassetid://2136805152",0,1.01,9999999999)
  6393. MAINRUINCOLOR = BrickColor.new("Baby blue")
  6394. --warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  6395. RecolorThing(MAINRUINCOLOR,BrickColor.new("Navy blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6396. end
  6397. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  6398. ModeOfGlitch = 9999999921111
  6399. storehumanoidWS = 300
  6400. hum.WalkSpeed = 300
  6401. rainbowmode = false
  6402. chaosmode = false
  6403. crappymode = false
  6404. RecolorTextAndRename("Extreme",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  6405. newTheme("rbxassetid://643309199",0,1.01,1.5)
  6406. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  6407. --warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  6408. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6409. end
  6410. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  6411. ModeOfGlitch = 999999999556
  6412. storehumanoidWS = 500
  6413. hum.WalkSpeed = 500
  6414. rainbowmode = false
  6415. chaosmode = false
  6416. crappymode = false
  6417. RecolorTextAndRename("Just. DEATH.",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
  6418. newTheme("rbxassetid://719008519",0,1.02,1.25)
  6419. MAINRUINCOLOR = BrickColor.new("Really red")
  6420. --warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  6421. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Bright green"),0,BrickColor.new("Baby blue"),true,true)
  6422. end
  6423. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  6424. ModeOfGlitch = 1264532489
  6425. storehumanoidWS = 250
  6426. hum.WalkSpeed = 250
  6427. rainbowmode = false
  6428. chaosmode = false
  6429. crappymode = false
  6430. RecolorTextAndRename("Fallen",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  6431. newTheme("rbxassetid://1505487022",0,1.01,1.5)
  6432. MAINRUINCOLOR = BrickColor.new("Pastel green")
  6433. --warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  6434. RecolorThing(BrickColor.new("Deep orange"),BrickColor.new("Really red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,0,BrickColor.new("Really black"),true,true)
  6435. end
  6436. if k == "l" and mutedtog == false then
  6437. mutedtog = true
  6438. kan.Volume = 0
  6439. elseif k == "l" and mutedtog == true then
  6440. mutedtog = false
  6441. kan.Volume = 1.25
  6442. end
  6443. if k == "p" and toggleTag == false then
  6444. toggleTag = true
  6445. modet.TextTransparency = 0
  6446. modet.TextStrokeTransparency = 0
  6447. elseif k == "p" and toggleTag == true then
  6448. toggleTag = false
  6449. modet.TextTransparency = 1
  6450. modet.TextStrokeTransparency = 1
  6451. end
  6452. if k == "z" and attack == false and ModeOfGlitch == 1 then
  6453. ExtinctiveHeartbreak()
  6454. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  6455. HeavenlyDisk()
  6456. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  6457. HeavenlyDisk()
  6458. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  6459. RapidBurst()
  6460. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  6461. --DivineLights()
  6462. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  6463. EquinoxOrbs()
  6464. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  6465. FallenOrbs()
  6466. elseif k == "z" and attack == false and ModeOfGlitch == 4367677813 then
  6467. SHDTwist()
  6468. end
  6469. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  6470. FallenDEMISE()
  6471. end
  6472. if k == "c" and attack == false and ModeOfGlitch == 10 then
  6473. FallenOrbs()
  6474. end
  6475. if k == "c" and attack == false and ModeOfGlitch == 664663666 then
  6476. ExtinctiveHeartbreak()
  6477. end
  6478. if k == "x" and attack == false and ModeOfGlitch == 10 then
  6479. EndGROUND()
  6480. end
  6481. if k == "z" and attack == false and ModeOfGlitch == 10 then
  6482. ExtinctiveHeartbreak()
  6483. end
  6484. --[[if k == "x" and attack == false and ModeOfGlitch == 451 then
  6485. banme()
  6486. end
  6487. if k == "v" and attack == false and ModeOfGlitch == 808080808080808080808080 then
  6488. reanimate()
  6489. end]]
  6490. if k == "z" and attack == false and ModeOfGlitch == 11 then
  6491. talk()
  6492. end
  6493. if k == "x" and attack == false and ModeOfGlitch == 1 then
  6494. EndGROUND()
  6495. end
  6496. end)
  6497.  
  6498. coroutine.resume(coroutine.create(function()
  6499. while true do
  6500. swait()
  6501. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 9 or ModeOfGlitch == 8889 or ModeOfGlitch == 10 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 664663666 or ModeOfGlitch == 1 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 10 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 808080808080808080808080 then
  6502. 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)
  6503. if ModeOfGlitch == 765688533321 or ModeOfGlitch == 1 then
  6504. 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)
  6505. elseif ModeOfGlitch == 88893333388 or ModeOfGlitch == 1 or ModeOfGlitch == 10 then
  6506. 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)
  6507. elseif ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 1 then
  6508. 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)
  6509. end
  6510. end
  6511. end
  6512. end))
  6513. --[[coroutine.resume(coroutine.create(function()
  6514. while true do
  6515. swait(2)
  6516. if chaosmode == true then
  6517. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  6518. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  6519. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  6520. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
  6521. for i, v in pairs(mw1:GetChildren()) do
  6522. if v:IsA("Part") then
  6523. v.Transparency = 0.75
  6524. v.BrickColor = BrickColor.random()
  6525. v.Material = "Neon"
  6526. end
  6527. end
  6528. for i, v in pairs(m2:GetChildren()) do
  6529. if v:IsA("Part") then
  6530. v.BrickColor = BrickColor.random()
  6531. v.Material = "Neon"
  6532. end
  6533. end
  6534. end
  6535. end
  6536. end))]]--
  6537. Humanoid.Name = "STARGLITCHER"
  6538. Humanoid.MaxHealth = math.huge
  6539. Humanoid.Health = math.huge
  6540. Instance.new("ForceField",char).Visible = false
  6541.  
  6542. local bguis = Instance.new("BillboardGui",tors)
  6543. bguis.Size = UDim2.new(25, 0, 25, 0)
  6544. local imgca = Instance.new("ImageLabel",bguis)
  6545. imgca.BackgroundTransparency = 1
  6546. imgca.ImageTransparency = 1
  6547. imgca.Size = UDim2.new(1,0,1,0)
  6548. imgca.Image = "rbxassetid://521073910" --997291547,521073910,2312119891
  6549. imgca.ImageColor3 = Color3.new(0,0,0)
  6550.  
  6551. local bguis2 = Instance.new("BillboardGui",tors)
  6552. bguis2.Size = UDim2.new(25, 0, 25, 0)
  6553. local imgca2 = Instance.new("ImageLabel",bguis)
  6554. imgca2.BackgroundTransparency = 1
  6555. imgca2.ImageTransparency = 1
  6556. imgca2.Size = UDim2.new(1,0,1,0)
  6557. imgca2.Image = "rbxassetid://2406462507" --997291547,521073910,2312119891
  6558. imgca2.ImageColor3 = Color3.new(0,0,0)
  6559.  
  6560. idleanim=.4
  6561. while true do
  6562. if mutedtog == false then
  6563. kan.Volume = currentVol
  6564. elseif mutedtog == true then
  6565. kan.Volume = 0
  6566. end
  6567. kan.PlaybackSpeed = currentPitch
  6568. kan.Pitch = currentPitch
  6569. kan.SoundId = currentThemePlaying
  6570. kan.Looped = true
  6571. kan.Parent = char
  6572. kan:Resume()
  6573. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 666 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 999 and ModeOfGlitch ~= 1234 and ModeOfGlitch ~= 10 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 and ModeOfGlitch ~= 666 then
  6574. imgca.ImageTransparency = 1
  6575. imgca2.ImageTransparency = 1
  6576. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 666 or ModeOfGlitch == 10 or ModeOfGlitch == 1 or ModeOfGlitch == 1234 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 1 or ModeOfGlitch == 664663666 then
  6577. imgca.ImageColor3 = MAINRUINCOLOR.Color
  6578. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  6579. elseif ModeOfGlitch == 999 then
  6580. imgca2.ImageColor3 = MAINRUINCOLOR.Color
  6581. imgca2.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  6582. if ModeOfGlitch ~= 999 then
  6583. imgca.ImageTransparency = 1
  6584. elseif ModeOfGlitch == 999 then
  6585. imgca.ImageColor3 = MAINRUINCOLOR.Color
  6586. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  6587. end
  6588. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  6589. bguis.Size = UDim2.new(55 + 3 * math.cos(sine / 30),0, 55 + 3 * math.cos(sine / 30),0)
  6590. end
  6591. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  6592. bguis.Size = UDim2.new(55 + 3 * math.cos(sine / 30),0, 55 + 3 * math.cos(sine / 30),0)
  6593. imgca2.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/60
  6594. bguis2.Size = UDim2.new(55 + 3 * math.cos(sine / 30),0, 55 + 3 * math.cos(sine / 30),0)
  6595. coroutine.resume(coroutine.create(function()
  6596. if chaosmode == true then
  6597. for i, v in pairs(mw1:GetChildren()) do
  6598. if v:IsA("Part") then
  6599. v.Transparency = 0
  6600. v.BrickColor = BrickColor.random()
  6601. v.Material = "Neon"
  6602. end
  6603. end
  6604. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  6605. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  6606. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  6607. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  6608. end
  6609. end))
  6610. coroutine.resume(coroutine.create(function()
  6611. if crappymode == true then
  6612. for i, v in pairs(mw1:GetChildren()) do
  6613. if v:IsA("Part") then
  6614. v.Transparency = 0
  6615. v.BrickColor = BrickColor.random()
  6616. v.Material = "Neon"
  6617. end
  6618. end
  6619. for i, v in pairs(mw2:GetChildren()) do
  6620. if v:IsA("Part") then
  6621. v.Transparency = 0
  6622. v.BrickColor = BrickColor.random()
  6623. v.Material = "Neon"
  6624. end
  6625. end
  6626. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  6627. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  6628. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  6629. RecolorTextAndRename("C R A P P Y",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  6630. end
  6631. end))
  6632. if chaosmode == false then
  6633. modet.Position = UDim2.new(0,0,0,0)
  6634. modet.Rotation = -5 * math.cos(sine / 32)
  6635. techc.Rotation = techc.Rotation + 1
  6636. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
  6637. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
  6638. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
  6639. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1
  6640. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  6641. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  6642. else
  6643. techc.Rotation = techc.Rotation + 1
  6644. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  6645. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  6646. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  6647. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  6648. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  6649. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  6650. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  6651. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  6652. end
  6653. CameraManager()
  6654.  
  6655. swait()
  6656. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 451 and ModeOfGlitch ~= 17 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 19 and ModeOfGlitch ~= 1234 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 12 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 1 and ModeOfGlitch ~= 664663666 and ModeOfGlitch ~= 10 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 8889 and ModeOfGlitch ~= 664663666 and ModeOfGlitch and ModeOfGlitch ~= 2 and ModeOfGlitch ~= 3 and ModeOfGlitch ~= 4 and ModeOfGlitch ~= 5 and ModeOfGlitch ~= 6 and ModeOfGlitch ~= 7 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 9 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then
  6657. 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)
  6658. 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)
  6659. 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)
  6660. 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)
  6661. 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)
  6662. 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)
  6663. elseif ModeOfGlitch == 1 or ModeOfGlitch == 10 or ModeOfGlitch == 12 or ModeOfGlitch == 17 or ModeOfGlitch == 19 or ModeOfGlitch == 1234 then
  6664. 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)
  6665. 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)
  6666. 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)
  6667. 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)
  6668. 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)
  6669. 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)
  6670. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 360),1.5 + 0.75 * math.cos(sine / 50),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 1000 * math.cos(sine / 360))),.6)
  6671. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 360),1.5 + 0.75 * math.cos(sine / 50),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 1000 * math.cos(sine / 360))),.6)
  6672. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 360),1.5 + 0.75 * math.cos(sine / 50),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 1000 * math.cos(sine / 360))),.6)
  6673. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 360),1.5 + 0.75 * math.cos(sine / 50),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 1000 * math.cos(sine / 360))),.6)
  6674. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 360),1.5 + 0.75 * math.cos(sine / 50),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 1000 * math.cos(sine / 360))),.6)
  6675. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 360),1.5 + 0.75 * math.cos(sine / 50),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 1000 * math.cos(sine / 360))),.6)
  6676. elseif ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 10 or ModeOfGlitch == 999 or ModeOfGlitch == 17 or ModeOfGlitch == 19 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 12 or ModeOfGlitch == 664663666 then
  6677. 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)
  6678. 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)
  6679. 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)
  6680. 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)
  6681. 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)
  6682. 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)
  6683. elseif ModeOfGlitch == 1234 then
  6684. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 2 * 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)
  6685. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 2 * 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)
  6686. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 2 * 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)
  6687. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 2 * 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)
  6688. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 2 * 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)
  6689. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 2 * 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)
  6690. elseif ModeOfGlitch == 8889 or ModeOfGlitch == 664663666 or ModeOfGlitch == 99 or ModeOfGlitch == 12 or ModeOfGlitch == 999 or ModeOfGlitch == 1234 or ModeOfGlitch == 19 or ModeOfGlitch == 17 or ModeOfGlitch == 2 or ModeOfGlitch == 3 or ModeOfGlitch == 4 or ModeOfGlitch == 5 or ModeOfGlitch == 6 or ModeOfGlitch == 7 or ModeOfGlitch == 8 or ModeOfGlitch == 9 or ModeOfGlitch == 1 or ModeOfGlitch == 88893333388 then
  6691. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2 * math.cos(sine / 180),1 + 8 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(300 + 2000 * math.cos(sine / 360))),.4)
  6692. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2 * math.cos(sine / 180),1 + 8 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(300 + 2000 * math.cos(sine / 360))),.4)
  6693. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2 * math.cos(sine / 180),1 + 8 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-300 + 2000 * math.cos(sine / 360))),.4)
  6694. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 1000),-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(2000 - 3600 * math.cos(sine / 2000))),.7)
  6695. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 1000),-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(2000 - 3600 * math.cos(sine / 2000))),.7)
  6696. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 1000),-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(-2000 - 3600 * math.cos(sine / 2000))),.7)
  6697. elseif ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 1234 or ModeOfGlitch == 999 or ModeOfGlitch == 451 or ModeOfGlitch == 123 or ModeOfGlitch == 17 or ModeOfGlitch == 19 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 10 or ModeOfGlitch == 1 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 12 then
  6698. 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)
  6699. 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)
  6700. 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)
  6701. 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)
  6702. 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)
  6703. 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)
  6704. 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)
  6705. 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)
  6706. 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)
  6707. 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)
  6708. 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)
  6709. 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)
  6710. end
  6711. sine = sine + change
  6712. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  6713. local velderp=RootPart.Velocity.y
  6714. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  6715. coroutine.resume(coroutine.create(function()
  6716. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch or ModeOfGlitch == 1 == 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 == 664663666 or ModeOfGlitch == 808080808080808080808080 then
  6717. if hitfloor ~= nil then
  6718. effar.Enabled = true
  6719. effar.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6720. 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"))
  6721. if ModeOfGlitch == 1264532489 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 808080808080808080808080 then
  6722. 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)
  6723. end
  6724. if ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 1 then
  6725. 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"))
  6726. elseif ModeOfGlitch == 765688533321 or ModeOfGlitch == 1 then
  6727. 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"))
  6728. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 1 then
  6729. 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"))
  6730. elseif ModeOfGlitch == 999999999556 or ModeOfGlitch == 1 then
  6731. 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 blue"))
  6732. end
  6733. elseif hitfloor == nil then
  6734. effar.Enabled = false
  6735. end
  6736. elseif ModeOfGlitch ~= 6 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
  6737. effar.Enabled = false
  6738. end
  6739. end))
  6740. if equipped==true or equipped==false then
  6741. if attack==false then
  6742. idle=idle+1
  6743. else
  6744. idle=0
  6745. end
  6746. if idle>=500 then
  6747. if attack==false then
  6748. --Sheath()
  6749. end
  6750. end
  6751. if RootPart.Velocity.y > 1 and hitfloor==nil then
  6752. Anim="Jump"
  6753. if attack==false then
  6754. 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)
  6755. 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)
  6756. 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)
  6757. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  6758. 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)
  6759. 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)
  6760. end
  6761. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  6762. Anim="Fall"
  6763. if attack==false then
  6764. 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)
  6765. 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)
  6766. 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)
  6767. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  6768. 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)
  6769. 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)
  6770. end
  6771. elseif torvel<1 and hitfloor~=nil then
  6772. Anim="Idle"
  6773. if attack==false then
  6774. if ModeOfGlitch == 1 then
  6775. local snap = math.random(1,10)
  6776. if snap == 1 then
  6777. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-35,45)),math.rad(math.random(-55,65)),math.rad(22 + math.random(-20,20))),1)
  6778. end
  6779. 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)
  6780. 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)
  6781. 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)
  6782. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(21 - 2 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  6783. 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)
  6784. 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)
  6785. elseif ModeOfGlitch == 1234 then
  6786. 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.25,1.25,1.25),-0.01,0.05,-0.01,BrickColor.new("White"),BrickColor.new("Really blue").Color)
  6787. 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.25,1.25,1.25),-0.01,0.05,-0.01,BrickColor.new("Really blue"),BrickColor.new("White").Color)
  6788. if MRANDOM(1,5) == 1 then
  6789. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 2 * math.cos(sine / 32),2 + 0.2 * math.cos(sine / 32))*angles(math.rad(-95 - 7 * math.cos(sine / 32)),math.rad(15),math.rad(0)),.1)
  6790. elseif MRANDOM(1,5) == 2 then
  6791. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 3 * math.cos(sine / 32),2 + 0.2 * math.cos(sine / 32))*angles(math.rad(-95 - 7 * math.cos(sine / 32)),math.rad(15),math.rad(0)),.1)
  6792. end
  6793. 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)
  6794. 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)
  6795. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 1 * math.cos(sine / 32),2 + 0.2 * math.cos(sine / 32))*angles(math.rad(-95 - 7 * math.cos(sine / 32)),math.rad(15),math.rad(0)),.1)
  6796. 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)
  6797. 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)
  6798. 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)
  6799. elseif ModeOfGlitch == 12345679345678 then
  6800. local snap = math.random(1,10)
  6801. if snap == 1 then
  6802. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-1,2)),math.rad(math.random(-3,4)),math.rad(22 + math.random(-5,6))),1)
  6803. end
  6804. 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 blue"),BrickColor.new("Pink").Color)
  6805. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-1500,1500)),math.rad(math.random(-1500,1500)),math.rad(math.random(-1500,1500))),vt(3,0.5,0.5),-0.01,0.05,-0.01,BrickColor.Random(),BrickColor.new("Hot Pink").Color)
  6806. 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)
  6807. 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)
  6808. 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)
  6809. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 43),0 - 0.25 * math.cos(sine / 53),3 + 2 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6810. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(21 - 2 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  6811. 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)
  6812. 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)
  6813. elseif ModeOfGlitch == 175 then
  6814. local snap = math.random(1,10)
  6815. if snap == 1 then
  6816. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-1,2)),math.rad(math.random(-3,4)),math.rad(22 + math.random(-5,6))),1)
  6817. end
  6818. 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 red"),BrickColor.new("Bright red").Color)
  6819. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-1500,1500)),math.rad(math.random(-1500,1500)),math.rad(math.random(-1500,1500))),vt(3,0.5,0.5),-0.01,0.05,-0.01,BrickColor.new("Light reddish violet"),BrickColor.new("Medium red").Color)
  6820. 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)
  6821. 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)
  6822. 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)
  6823. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 43),0 - 0.25 * math.cos(sine / 53),4 + 2 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6824. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(21 - 2 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  6825. 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)
  6826. 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)
  6827. elseif ModeOfGlitch == 666 then
  6828. local snap = math.random(1,32)
  6829. if snap == 1 then
  6830. 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)
  6831. end
  6832. 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)
  6833. 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)
  6834. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),4 + 0.15 * math.cos(sine / 32))*angles(math.rad(32 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6835. 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)
  6836. 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)
  6837. 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)
  6838. elseif ModeOfGlitch == 17 then
  6839. local snap = math.random(1,10)
  6840. if snap == 1 then
  6841. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-1,2)),math.rad(math.random(-3,4)),math.rad(22 + math.random(-5,6))),1)
  6842. end
  6843. 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)
  6844. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-1500,1500)),math.rad(math.random(-1500,1500)),math.rad(math.random(-1500,1500))),vt(3,0.5,0.5),-0.01,0.05,-0.01,BrickColor.new("White"),BrickColor.new("Really black").Color)
  6845. 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)
  6846. 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)
  6847. 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)
  6848. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 43),0 - 0.25 * math.cos(sine / 53),3 + 2 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6849. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(21 - 2 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  6850. 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)
  6851. 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)
  6852. elseif ModeOfGlitch == 23 then
  6853. 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)
  6854. 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)
  6855. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),1 + 0.05 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 42))),.1)
  6856. 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)
  6857. 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)
  6858. 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)
  6859. elseif ModeOfGlitch == 2 then
  6860. 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)
  6861. 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)
  6862. 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)
  6863. 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)
  6864. 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)
  6865. 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)
  6866. elseif ModeOfGlitch== 18 then
  6867. 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)
  6868. 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)
  6869. 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)
  6870. 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)
  6871. 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)
  6872. 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)
  6873. elseif ModeOfGlitch == 12 then
  6874. local snap = math.random(1,5)
  6875. if snap == 1 then
  6876. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.6)
  6877. 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(-9,9)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-9,9)),math.rad(1 + 3 * math.cos(sine / 45) + math.random(-9,9))),.6)
  6878. 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(-9,9)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-9,9)),math.rad(-4 - 4 * math.cos(sine / 45) + math.random(-9,9))),.6)
  6879. end
  6880. 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)
  6881. 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)
  6882. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 63),0 - 0.25 * math.cos(sine / 73),2 + 1 * math.cos(sine / 52))*angles(math.rad(0 - 2 * math.cos(sine / 52)),math.rad(0),math.rad(0)),.1)
  6883. 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)
  6884. 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)
  6885. 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)
  6886. elseif ModeOfGlitch == 451 then
  6887. local snap = math.random(1,5)
  6888. if snap == 1 then
  6889. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(100),math.rad(0))*angles(math.rad(-7),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-20 - 7 * math.cos(sine / 62))),.1)
  6890. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-99),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 3 * math.cos(sine / 68))),.1)
  6891. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 2 * math.cos(sine / 32),4 + 0.2 * math.cos(sine / 32))*angles(math.rad(-50 - 7 * math.cos(sine / 32)),math.rad(15),math.rad(0)),.1)
  6892. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-36,45)),math.rad(math.random(-1,75)),math.rad(math.random(-45,64))),0.6)
  6893. 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(-68,75)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-67,34)),math.rad(1 + 3 * math.cos(sine / 45) + math.random(-28,31))),.6)
  6894. 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(-12,54)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-23,34)),math.rad(-4 - 4 * math.cos(sine / 45) + math.random(-30,32))),.6)
  6895. end
  6896. 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)
  6897. 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)
  6898. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 63),0 - 0.25 * math.cos(sine / 73),2 + 2 * math.cos(sine / 52))*angles(math.rad(0 - 2 * math.cos(sine / 52)),math.rad(0),math.rad(0)),.1)
  6899. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(1 + 1 * math.cos(sine / 58)),math.rad(1 + 2 * math.cos(sine / 53))),.1)
  6900. 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)
  6901. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 6 * math.cos(sine / 33))),.1)
  6902. elseif ModeOfGlitch == 134 then
  6903. local snap = math.random(1,2)
  6904. if snap == 1 then
  6905. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-12,12)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.6)
  6906. 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(-9,9)),math.rad(3 - 3 * math.cos(sine / 53) + math.random(-9,9)),math.rad(1 + 3 * math.cos(sine / 45) + math.random(-9,9))),.6)
  6907. 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(-9,9)),math.rad(3 - 5 * math.cos(sine / 55) + math.random(-9,9)),math.rad(-4 - 4 * math.cos(sine / 45) + math.random(-9,9))),.6)
  6908. end
  6909. 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)
  6910. 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)
  6911. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 63),0 - 0.25 * math.cos(sine / 73),5 + 3 * math.cos(sine / 52))*angles(math.rad(0 - 2 * math.cos(sine / 52)),math.rad(0),math.rad(0)),.1)
  6912. 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)
  6913. 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)
  6914. 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)
  6915. elseif ModeOfGlitch == 11 then
  6916. local snap = math.random(1,5)
  6917. if snap == 1 then
  6918. 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)
  6919. 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,2)),math.rad(1 + 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  6920. 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(-4 - 4 * math.cos(sine / 45) + math.random(-1,1))),.6)
  6921. end
  6922. 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)
  6923. 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)
  6924. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 63),0 - 0.25 * math.cos(sine / 73),2 + 1 * math.cos(sine / 52))*angles(math.rad(0 - 2 * math.cos(sine / 52)),math.rad(0),math.rad(0)),.1)
  6925. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(45 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  6926. 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)
  6927. 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)
  6928. elseif ModeOfGlitch == 10 then
  6929. local snap = math.random(1,5)
  6930. if snap == 1 then
  6931. 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)
  6932. 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(-7,7)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-6,6)),math.rad(1 + 3 * math.cos(sine / 45) + math.random(-6,6))),.6)
  6933. 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(-7,7)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-6,6)),math.rad(-4 - 4 * math.cos(sine / 45) + math.random(-7,6))),.6)
  6934. end
  6935. 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 black").Color)
  6936. 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 blue"),BrickColor.new("Earth green").Color)
  6937. 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)
  6938. 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)
  6939. 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)
  6940. 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)
  6941. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 63),0 - 0.25 * math.cos(sine / 73),20 + 1 * math.cos(sine / 52))*angles(math.rad(0 - 2 * math.cos(sine / 52)),math.rad(0),math.rad(0)),.1)
  6942. 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)
  6943. 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)
  6944. 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)
  6945. elseif ModeOfGlitch == 3 then
  6946. local snap = math.random(1,32)
  6947. if snap == 1 then
  6948. 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)
  6949. end
  6950. 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)
  6951. 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)
  6952. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 38),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)
  6953. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(45 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  6954. 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)
  6955. 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)
  6956. elseif ModeOfGlitch == 127 then
  6957. 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)
  6958. 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)
  6959. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 38),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)
  6960. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(45 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  6961. 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)
  6962. 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)
  6963. elseif ModeOfGlitch == 4 then
  6964. local snap = math.random(1,5)
  6965. if snap == 1 then
  6966. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-100,100)),math.rad(math.random(-100,100)),math.rad(math.random(-100,100))),0.6)
  6967. 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)
  6968. 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)
  6969. end
  6970. 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)
  6971. 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)
  6972. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 63),0 - 0.25 * math.cos(sine / 73),10 + 1 * math.cos(sine / 52))*angles(math.rad(0 - 2 * math.cos(sine / 52)),math.rad(0),math.rad(0)),.1)
  6973. 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)
  6974. 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)
  6975. 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)
  6976. elseif ModeOfGlitch == 5 then
  6977. 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)
  6978. 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)
  6979. 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)
  6980. 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)
  6981. 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)
  6982. 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)
  6983. elseif ModeOfGlitch == 6 then
  6984. 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)
  6985. 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)
  6986. 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)
  6987. 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)
  6988. 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)
  6989. 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)
  6990. elseif ModeOfGlitch == 99 then
  6991. 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)
  6992. 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)
  6993. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.2 * math.cos(sine / 32),0.2 + 0.30 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6994. 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)
  6995. 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)
  6996. 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)
  6997. elseif ModeOfGlitch == 19 then
  6998. 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)
  6999. 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)
  7000. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),2 + 0.35 * math.cos(sine / 32))*angles(math.rad(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
  7001. 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)
  7002. 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)
  7003. 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)
  7004. elseif ModeOfGlitch == 124 then
  7005. 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,0.75),-0.01,0.05,-0.01,BrickColor.new("White"),Color3.new(0,1,0))
  7006. 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(0.1,0.1,0.1),-0.01,0.05,-0.01,BrickColor.new("Really blue"),Color3.new(0,1,0))
  7007. 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)
  7008. 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)
  7009. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),1 + 0.50 * 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)
  7010. 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)
  7011. 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)
  7012. 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)
  7013. elseif ModeOfGlitch == 123 then
  7014. 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(0.5,0.5,0.5),-0.01,0.05,-0.01,BrickColor.Random(),Color3.new(0,1,0))
  7015. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  7016. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
  7017. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),6 + 2 * math.cos(sine / 32))*angles(math.rad(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
  7018. 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)
  7019. 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(5 - 6 * math.cos(sine / 58)),math.rad(38 + 7 * math.cos(sine / 45))),.1)
  7020. 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)
  7021. elseif ModeOfGlitch == 8 then
  7022. 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)
  7023. 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)
  7024. 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)
  7025. 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)
  7026. 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)
  7027. 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)
  7028. elseif ModeOfGlitch == 9 then
  7029. 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)
  7030. 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))
  7031. 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)
  7032. 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)
  7033. 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)
  7034. 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)
  7035. 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)
  7036. 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)
  7037. elseif ModeOfGlitch == 9999999921111 then
  7038. 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)
  7039. 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)
  7040. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1 + 0.5 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-25 - 0.15 * math.cos(sine / 32)),math.rad(0),math.rad(-36)),.1)
  7041. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(1 + 3 * math.cos(sine / 58)),math.rad(36 + 2 * math.cos(sine / 53))),.1)
  7042. 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)
  7043. 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)
  7044. elseif ModeOfGlitch == 999 then
  7045. 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)
  7046. 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)
  7047. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3 + 0.5 * math.cos(sine / 32),4 + 0.15 * math.cos(sine / 32))*angles(math.rad(-14 - 0.15 * math.cos(sine / 32)),math.rad(0),math.rad(-36)),.1)
  7048. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(1 + 3 * math.cos(sine / 58)),math.rad(36 + 2 * math.cos(sine / 53))),.1)
  7049. 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)
  7050. 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)
  7051. elseif ModeOfGlitch == 88893333388 then
  7052. 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)
  7053. 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)
  7054. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),4 + -2 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(13)),.1)
  7055. 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)
  7056. 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)
  7057. 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)
  7058. elseif ModeOfGlitch == 808080808080808080808080 then
  7059. 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 blue"),BrickColor.new("Pastel light blue").Color)
  7060. 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("Navy blue"),BrickColor.new("Alder").Color)
  7061. 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)
  7062. 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)
  7063. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 47),0 + 0.25 * math.cos(sine / 35),4 + 1.25 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(13)),.1)
  7064. 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)
  7065. elseif ModeOfGlitch == 1264532489 then
  7066. 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)
  7067. 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)
  7068. 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)
  7069. 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)
  7070. 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)
  7071. 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)
  7072. 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)
  7073. 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)
  7074. 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)
  7075. elseif ModeOfGlitch == 8889 then
  7076. 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)
  7077. 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)
  7078. 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)
  7079. 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)
  7080. 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)
  7081. 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)
  7082. elseif ModeOfGlitch == 125 then
  7083. 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)
  7084. 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)
  7085. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),5 + 1 * math.cos(sine / 32))*angles(math.rad(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
  7086. 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)
  7087. 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)
  7088. 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)
  7089. elseif ModeOfGlitch == 4367677813 then
  7090. 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)
  7091. 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)
  7092. 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)
  7093. 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)
  7094. 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)
  7095. 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)
  7096. elseif ModeOfGlitch == 887 then
  7097. 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)
  7098. 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)
  7099. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),2.5555 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(10)),.1)
  7100. 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)
  7101. 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)
  7102. 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)
  7103. elseif ModeOfGlitch == 997 then
  7104. 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)
  7105. 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)
  7106. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),20.5555 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(10)),.1)
  7107. 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)
  7108. 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)
  7109. 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)
  7110. elseif ModeOfGlitch == 765688533321 or ModeOfGlitch == 1 then
  7111. local snap = math.random(1,32)
  7112. if snap == 1 then
  7113. 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)
  7114. end
  7115. 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)
  7116. 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)
  7117. 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)
  7118. 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)
  7119. 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)
  7120. 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)
  7121. 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)
  7122. 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)
  7123. elseif ModeOfGlitch == 55469696922 then
  7124. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(19 + 8 * math.cos(sine / 62)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-20 - 3 * math.cos(sine / 34))),.1)
  7125. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 - 1 * math.cos(sine / 55)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(26 + 5 * math.cos(sine / 41))),.1)
  7126. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.25 * math.cos(sine / 47),0 - 0.25 * math.cos(sine / 40),4 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(17)),.1)
  7127. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  7128. 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)
  7129. 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)
  7130. elseif ModeOfGlitch == 664663666 then
  7131. local snap = math.random(1,10)
  7132. if snap == 1 then
  7133. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(75 - 2 * math.cos(sine / 37)),math.rad(50 + -50 * math.cos(sine / 58)),math.rad(50 + -50 * math.cos(sine / 75))),.1)
  7134. end
  7135. 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)
  7136. 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)
  7137. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.25 * math.cos(sine / 47),0 - 0.25 * math.cos(sine / 40),2 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(17)),.1)
  7138. 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)
  7139. 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)
  7140. 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)
  7141. elseif ModeOfGlitch == 999999999556 then
  7142. 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)
  7143. 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)
  7144. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 6 * math.cos(sine / 39))),.1)
  7145. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 45))),.1)
  7146. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.25 * math.cos(sine / 47),0 - 0.25 * math.cos(sine / 40),70 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(17)),.1)
  7147. 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)
  7148. 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)
  7149. 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)
  7150. end
  7151. end
  7152. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  7153. Anim="Walk"
  7154. if attack==false then
  7155. 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)
  7156. 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)
  7157. 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)
  7158. 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)
  7159. 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)
  7160. 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)
  7161. end
  7162. elseif torvel>=22 and hitfloor~=nil then
  7163. Anim="Run"
  7164. if attack==false then
  7165. if ModeOfGlitch ~= 6 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
  7166. 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)
  7167. 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)
  7168. 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)
  7169. 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)
  7170. 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)
  7171. 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)
  7172. if ModeOfGlitch == 9 then
  7173. 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)
  7174. 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))
  7175. 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)
  7176. end
  7177. elseif ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 664663666 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 808080808080808080808080 then
  7178. 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)
  7179. 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)
  7180. 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)
  7181. 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)
  7182. 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)
  7183. 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)
  7184. if ModeOfGlitch == 765688533321 then
  7185. 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)
  7186. end
  7187. end
  7188. end
  7189. end
  7190. end
  7191. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement