Advertisement
Black_Magic

Untitled

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