Advertisement
lundofett

Untitled

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