Advertisement
com_ww

reseted link

Nov 13th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 308.62 KB | None | 0 0
  1. --TODO: add something???idk
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player = owner
  4. local Mouse,mouse,UserInputService,ContextActionService
  5. do
  6. script.Parent = Player.Character
  7. local CAS = {Actions={}}
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10. Event.Parent = Player.Character
  11. local fakeEvent = function()
  12. local t = {_fakeEvent=true}
  13. t.Connect = function(self,f)self.Function=f end
  14. t.connect = t.Connect
  15. return t
  16. end
  17. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  18. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  19. function CAS:BindAction(name,fun,touch,...)
  20. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  21. end
  22. function CAS:UnbindAction(name)
  23. CAS.Actions[name] = nil
  24. end
  25. local function te(self,ev,...)
  26. local t = m[ev]
  27. if t and t._fakeEvent and t.Function then
  28. t.Function(...)
  29. end
  30. end
  31. m.TrigEvent = te
  32. UIS.TrigEvent = te
  33. Event.OnServerEvent:Connect(function(plr,io)
  34. if plr~=Player then return end
  35. if io.isMouse then
  36. m.Target = io.Target
  37. m.Hit = io.Hit
  38. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  39. if io.UserInputState == Enum.UserInputState.Begin then
  40. m:TrigEvent("Button1Down")
  41. else
  42. m:TrigEvent("Button1Up")
  43. end
  44. else
  45. for n,t in pairs(CAS.Actions) do
  46. for _,k in pairs(t.Keys) do
  47. if k==io.KeyCode then
  48. t.Function(t.Name,io.UserInputState,io)
  49. end
  50. end
  51. end
  52. if io.UserInputState == Enum.UserInputState.Begin then
  53. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  54. UIS:TrigEvent("InputBegan",io,false)
  55. else
  56. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  57. UIS:TrigEvent("InputEnded",io,false)
  58. end
  59. end
  60. end)
  61. NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63.  
  64. local Char = Player.Character
  65. local Event = Char:WaitForChild("UserInput_Event")
  66.  
  67. local UIS = game:GetService("UserInputService")
  68.  
  69. local input = function(io,a)
  70. if a then return end
  71. local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  72. Event:FireServer(io)
  73. end
  74. UIS.InputBegan:Connect(input)
  75. UIS.InputEnded:Connect(input)
  76. local Changed = false
  77. local Mouse = Player:GetMouse()
  78. local h,t = Mouse.Hit,Mouse.Target
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  82. h,t=Mouse.Hit,Mouse.Target
  83. end
  84. end
  85. ]==],Player.Character)
  86. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  87. end
  88.  
  89.  
  90. wait(0.5)
  91.  
  92.  
  93. ------------- ORIGINAL WIELDER OC: Velnorum
  94.  
  95.  
  96.  
  97. ---- Sources and functions might be taken from others
  98.  
  99. plr = owner
  100. char = plr.Character
  101. hum = char.Humanoid
  102. local cam = game.Workspace.CurrentCamera
  103. Camera = cam
  104. local CamInterrupt = false
  105. local TwoD = false
  106. local TargetInfo = {nil, nil}
  107. cam.CameraType = "Custom"
  108. t = char.Torso
  109. h = char.Head
  110. ra = char["Right Arm"]
  111. la = char["Left Arm"]
  112. rl = char["Right Leg"]
  113. ll = char["Left Leg"]
  114. tors = char.Torso
  115. lleg = char["Left Leg"]
  116. root = char.HumanoidRootPart
  117. hed = char.Head
  118. rleg = char["Right Leg"]
  119. rarm = char["Right Arm"]
  120. larm = char["Left Arm"]
  121. radian = math.rad
  122. random = math.random
  123. Vec3 = Vector3.new
  124. Inst = Instance.new
  125. cFrame = CFrame.new
  126. Euler = CFrame.fromEulerAnglesXYZ
  127. vt = Vector3.new
  128. bc = BrickColor.new
  129. br = BrickColor.random
  130. it = Instance.new
  131. cf = CFrame.new
  132.  
  133. local Booleans = {
  134. CamFollow = true,
  135. GyroUse = true
  136. }
  137.  
  138. function lerp(object, newCFrame, alpha)
  139. return object:lerp(newCFrame, alpha)
  140. end
  141.  
  142. local Directer = Inst("BodyGyro", root)
  143. Directer.MaxTorque = Vec3(0, 0, 0)
  144. Directer.P = 600000
  145. local CPart = Inst("Part")
  146. CPart.Anchored = true
  147. CPart.CanCollide = false
  148. CPart.Locked = true
  149. CPart.Transparency = 1
  150.  
  151. local rainbowmode = false
  152. local chaosmode = false
  153.  
  154. local kan = Instance.new("Sound",char)
  155. kan.Volume = 1.25
  156. kan.TimePosition = 0
  157. kan.PlaybackSpeed = 1
  158. kan.Pitch = 1
  159. kan.SoundId = "rbxassetid://614032233"
  160. kan.Name = "wrecked"
  161. kan.Looped = true
  162. kan:Play()
  163.  
  164. local currentThemePlaying = kan.SoundId
  165. local currentPitch = kan.Pitch
  166. local currentVol = kan.Volume
  167. function newTheme(ID,timepos,pitch,vol)
  168. local kanz = kan
  169. --kanz:Stop()
  170. kanz.Volume = vol
  171. --kanz.TimePosition = timepos
  172. kanz.PlaybackSpeed = pitch
  173. kanz.Pitch = pitch
  174. kanz.SoundId = ID
  175. kanz.Name = "wrecked"
  176. kanz.Looped = true
  177. currentThemePlaying = kanz.SoundId
  178. currentVol = kanz.Volume
  179. currentPitch = kanz.Pitch
  180. --kanz:Play()
  181. --coroutine.resume(coroutine.create(function()
  182. --wait(0.05)
  183. --end))
  184. end
  185.  
  186.  
  187. function newThemeCust(ID,timepos,pitch,vol)
  188. local kanz = kan
  189. kanz:Stop()
  190. kanz.Volume = vol
  191. kanz.TimePosition = timepos
  192. kanz.PlaybackSpeed = pitch
  193. kanz.Pitch = pitch
  194. kanz.SoundId = ID
  195. kanz.Name = "wrecked"
  196. kanz.Looped = true
  197. currentThemePlaying = kanz.SoundId
  198. currentVol = kanz.Volume
  199. currentPitch = kanz.Pitch
  200. kanz:Play()
  201. coroutine.resume(coroutine.create(function()
  202. wait(0.05)
  203. end))
  204. end
  205.  
  206. local mutedtog = false
  207.  
  208. function CameraEnshaking(Length,Intensity)
  209. coroutine.resume(coroutine.create(function()
  210. local intensity = 1*Intensity
  211. local rotM = 0.01*Intensity
  212. for i = 0, Length, 0.1 do
  213. swait()
  214. intensity = intensity - 0.05*Intensity/Length
  215. rotM = rotM - 0.0005*Intensity/Length
  216. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  217. 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)
  218. end
  219. Humanoid.CameraOffset = Vec3(0, 0, 0)
  220. end))
  221. end
  222. CamShake=function(Part,Distan,Power,Times)
  223. local de=Part.Position
  224. for i,v in pairs(workspace:children()) do
  225. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  226. for _,c in pairs(v:children()) do
  227. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  228. local Noob=v.Humanoid
  229. if Noob~=nil then
  230. coroutine.resume(coroutine.create(function()
  231. FV = Instance.new("BoolValue", Noob)
  232. FV.Name = "CameraShake"
  233. for ShakeNum=1,Times do
  234. swait()
  235. local ef=Power
  236. if ef>=1 then
  237. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  238. else
  239. ef=Power*10
  240. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  241. end
  242. end
  243. Humanoid.CameraOffset = Vector3.new(0,0,0)
  244. FV:Destroy()
  245. end))
  246. CameraShake(Times, Power, Noob)
  247. end
  248. end
  249. end
  250. end
  251. end
  252. end
  253.  
  254. local toggleTag = true
  255. local bilguit = Instance.new("BillboardGui", hed)
  256. bilguit.Adornee = nil
  257. bilguit.Name = "ModeName"
  258. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  259. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  260. local modet = Instance.new("TextLabel", bilguit)
  261. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  262. modet.FontSize = "Size8"
  263. modet.TextScaled = true
  264. modet.TextTransparency = 0
  265. modet.BackgroundTransparency = 1
  266. modet.TextTransparency = 0
  267. modet.TextStrokeTransparency = 0
  268. modet.Font = "Antique"
  269. modet.TextStrokeColor3 = Color3.new(1,0,0)
  270. modet.TextColor3 = Color3.new(0.25,0,0)
  271. modet.Text = "com_ww's glitcher"
  272.  
  273.  
  274. function chatfunc(text,color,typet,font,timeex)
  275. local chat = coroutine.wrap(function()
  276. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  277. Character:FindFirstChild("TalkingBillBoard"):destroy()
  278. end
  279. local naeeym2 = Instance.new("BillboardGui",Character)
  280. naeeym2.Size = UDim2.new(0,100,0,40)
  281. naeeym2.StudsOffset = Vector3.new(0,3,0)
  282. naeeym2.Adornee = Character.Head
  283. naeeym2.Name = "TalkingBillBoard"
  284. local tecks2 = Instance.new("TextLabel",naeeym2)
  285. tecks2.BackgroundTransparency = 1
  286. tecks2.BorderSizePixel = 0
  287. tecks2.Text = ""
  288. tecks2.Font = font
  289. tecks2.TextSize = 30
  290. tecks2.TextStrokeTransparency = 0
  291. tecks2.TextColor3 = color
  292. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  293. tecks2.Size = UDim2.new(1,0,0.5,0)
  294. local tecks3 = Instance.new("TextLabel",naeeym2)
  295. tecks3.BackgroundTransparency = 1
  296. tecks3.BorderSizePixel = 0
  297. tecks3.Text = ""
  298. tecks3.Font = font
  299. tecks3.TextSize = 30
  300. tecks3.TextStrokeTransparency = 0
  301. if typet == "Inverted" then
  302. tecks3.TextColor3 = Color3.new(0,0,0)
  303. tecks3.TextStrokeColor3 = color
  304. elseif typet == "Normal" then
  305. tecks3.TextColor3 = color
  306. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  307. end
  308. tecks3.Size = UDim2.new(1,0,0.5,0)
  309. coroutine.resume(coroutine.create(function()
  310. while true do
  311. swait(1)
  312. if chaosmode == true then
  313. tecks2.TextColor3 = BrickColor.random().Color
  314. tecks3.TextStrokeColor3 = BrickColor.random().Color
  315. end
  316. end
  317. end))
  318. modet.TextTransparency = modet.TextTransparency + 3
  319. modet.TextStrokeTransparency = modet.TextStrokeTransparency +
  320. for i = 0, 74*timeex do
  321. swait()
  322. modet.TextTransparency = 1
  323. modet.TextStrokeTransparency = 1
  324. tecks2.Text = text
  325. tecks3.Text = text
  326. end
  327. local randomrot = math.random(1,2)
  328. if randomrot == 1 then
  329. for i = 1, 50 do
  330. swait()
  331. tecks2.Text = text
  332. tecks3.Text = text
  333. modet.TextTransparency = modet.TextTransparency - .02
  334. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  335. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  336. tecks2.TextTransparency = tecks2.TextTransparency + .04
  337. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  338. tecks3.TextTransparency = tecks2.TextTransparency + .04
  339. end
  340. elseif randomrot == 2 then
  341. for i = 1, 50 do
  342. swait()
  343. tecks2.Text = text
  344. tecks3.Text = text
  345. modet.TextTransparency = modet.TextTransparency - .02
  346. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  347. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  348. tecks2.TextTransparency = tecks2.TextTransparency + .04
  349. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  350. tecks3.TextTransparency = tecks2.TextTransparency + .04
  351. end
  352. end
  353. modet.TextTransparency = 0
  354. modet.TextStrokeTransparency = 0
  355. if toggleTag == false then
  356. modet.TextTransparency = 1
  357. modet.TextStrokeTransparency = 1
  358. end
  359. naeeym2:Destroy()
  360. end)
  361. chat()
  362. end
  363.  
  364. function bosschatfunc(text,color,watval)
  365. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  366. coroutine.resume(coroutine.create(function()
  367. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  368. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  369. end
  370. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  371. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  372. scrg.Name = "Dialog"
  373. local txtlb = Instance.new("TextLabel",scrg)
  374. txtlb.Text = ""
  375. txtlb.Font = "Bodoni"
  376. txtlb.TextColor3 = Color3.new(0,0,0)
  377. txtlb.TextStrokeTransparency = 0
  378. txtlb.BackgroundTransparency = 0.75
  379. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  380. txtlb.TextStrokeColor3 = color
  381. txtlb.TextScaled = true
  382. txtlb.Size = UDim2.new(1,0,0.25,0)
  383. txtlb.TextXAlignment = "Left"
  384. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  385. local txtlb2 = Instance.new("TextLabel",scrg)
  386. txtlb2.Text = "?:"
  387. txtlb2.Font = "Arcade"
  388. txtlb2.TextColor3 = Color3.new(0,0,0)
  389. txtlb2.TextStrokeTransparency = 0
  390. txtlb2.BackgroundTransparency = 1
  391. txtlb2.TextStrokeColor3 = color
  392. txtlb2.TextSize = 40
  393. txtlb2.Size = UDim2.new(1,0,0.25,0)
  394. txtlb2.TextXAlignment = "Left"
  395. txtlb2.Position = UDim2.new(0,0,1,0)
  396. local fvalen = 0.55
  397. local fval = -0.49
  398. coroutine.resume(coroutine.create(function()
  399. while true do
  400. swait()
  401. if chaosmode == true then
  402. txtlb.Rotation = math.random(-1,1)
  403. txtlb2.Rotation = math.random(-1,1)
  404. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  405. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  406. txtlb.TextStrokeColor3 = BrickColor.random().Color
  407. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  408. end
  409. end
  410. end))
  411. coroutine.resume(coroutine.create(function()
  412. while true do
  413. swait()
  414. if scrg.Parent ~= nil then
  415. fvalen = fvalen - 0.0001
  416. elseif scrg.Parent == nil then
  417. break
  418. end
  419. end
  420. end))
  421. local flol = 1.75
  422. local flil = 1.6
  423. coroutine.resume(coroutine.create(function()
  424. for i = 0, 9 do
  425. swait()
  426. fval = fval + 0.05
  427. flol = flol - 0.1
  428. flil = flil - 0.1
  429. txtlb.Text = ""
  430. txtlb.Position = UDim2.new(0,0,flol,0)
  431. txtlb2.Position = UDim2.new(0,0,flil,0)
  432. end
  433. txtlb.Text = text
  434. wait(watval)
  435. local valinc = 0
  436. for i = 0, 99 do
  437. swait()
  438. valinc = valinc + 0.0001
  439. flol = flol + valinc
  440. flil = flil + valinc
  441. txtlb.Rotation = txtlb.Rotation + valinc*20
  442. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  443. txtlb.Position = UDim2.new(0,0,flol,0)
  444. txtlb2.Position = UDim2.new(0,0,flil,0)
  445. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  446. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  447. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  448. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  449. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  450. end
  451. scrg:Destroy()
  452. end))
  453. end))
  454. end
  455. end
  456.  
  457.  
  458. local Create = LoadLibrary("RbxUtility").Create
  459.  
  460. CFuncs = {
  461. ["Part"] = {
  462. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  463. local Part = Create("Part"){
  464. Parent = Parent,
  465. Reflectance = Reflectance,
  466. Transparency = Transparency,
  467. CanCollide = false,
  468. Locked = true,
  469. BrickColor = BrickColor.new(tostring(BColor)),
  470. Name = Name,
  471. Size = Size,
  472. Material = Material,
  473. }
  474. RemoveOutlines(Part)
  475. return Part
  476. end;
  477. };
  478.  
  479. ["Mesh"] = {
  480. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  481. local Msh = Create(Mesh){
  482. Parent = Part,
  483. Offset = OffSet,
  484. Scale = Scale,
  485. }
  486. if Mesh == "SpecialMesh" then
  487. Msh.MeshType = MeshType
  488. Msh.MeshId = MeshId
  489. end
  490. return Msh
  491. end;
  492. };
  493.  
  494. ["Mesh"] = {
  495. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  496. local Msh = Create(Mesh){
  497. Parent = Part,
  498. Offset = OffSet,
  499. Scale = Scale,
  500. }
  501. if Mesh == "SpecialMesh" then
  502. Msh.MeshType = MeshType
  503. Msh.MeshId = MeshId
  504. end
  505. return Msh
  506. end;
  507. };
  508.  
  509. ["Weld"] = {
  510. Create = function(Parent, Part0, Part1, C0, C1)
  511. local Weld = Create("Weld"){
  512. Parent = Parent,
  513. Part0 = Part0,
  514. Part1 = Part1,
  515. C0 = C0,
  516. C1 = C1,
  517. }
  518. return Weld
  519. end;
  520. };
  521.  
  522. ["Sound"] = {
  523. Create = function(id, par, vol, pit)
  524. coroutine.resume(coroutine.create(function()
  525. local S = Create("Sound"){
  526. Volume = vol,
  527. Name = "EffectSoundo",
  528. Pitch = pit or 1,
  529. SoundId = id,
  530. Parent = par or workspace,
  531. }
  532. wait()
  533. S:play()
  534. game:GetService("Debris"):AddItem(S, 10)
  535. end))
  536. end;
  537. };
  538.  
  539. ["TimeSound"] = {
  540. Create = function(id, par, vol, pit, timepos)
  541. coroutine.resume(coroutine.create(function()
  542. local S = Create("Sound"){
  543. Volume = vol,
  544. Name = "EffectSoundo",
  545. Pitch = pit or 1,
  546. SoundId = id,
  547. TimePosition = timepos,
  548. Parent = par or workspace,
  549. }
  550. wait()
  551. S:play()
  552. game:GetService("Debris"):AddItem(S, 10)
  553. end))
  554. end;
  555. };
  556. ["EchoSound"] = {
  557. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  558. coroutine.resume(coroutine.create(function()
  559. local Sas = Create("Sound"){
  560. Volume = vol,
  561. Name = "EffectSoundo",
  562. Pitch = pit or 1,
  563. SoundId = id,
  564. TimePosition = timepos,
  565. Parent = par or workspace,
  566. }
  567. local E = Create("EchoSoundEffect"){
  568. Delay = echodelay,
  569. Name = "Echo",
  570. Feedback = fedb,
  571. DryLevel = dryl,
  572. Parent = Sas,
  573. }
  574. wait()
  575. Sas:play()
  576. game:GetService("Debris"):AddItem(Sas, delays)
  577. end))
  578. end;
  579. };
  580.  
  581. ["LongSound"] = {
  582. Create = function(id, par, vol, pit)
  583. coroutine.resume(coroutine.create(function()
  584. local S = Create("Sound"){
  585. Volume = vol,
  586. Pitch = pit or 1,
  587. SoundId = id,
  588. Parent = par or workspace,
  589. }
  590. wait()
  591. S:play()
  592. game:GetService("Debris"):AddItem(S, 60)
  593. end))
  594. end;
  595. };
  596.  
  597. ["ParticleEmitter"] = {
  598. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  599. local fp = Create("ParticleEmitter"){
  600. Parent = Parent,
  601. Color = ColorSequence.new(Color1, Color2),
  602. LightEmission = LightEmission,
  603. Size = Size,
  604. Texture = Texture,
  605. Transparency = Transparency,
  606. ZOffset = ZOffset,
  607. Acceleration = Accel,
  608. Drag = Drag,
  609. LockedToPart = LockedToPart,
  610. VelocityInheritance = VelocityInheritance,
  611. EmissionDirection = EmissionDirection,
  612. Enabled = Enabled,
  613. Lifetime = LifeTime,
  614. Rate = Rate,
  615. Rotation = Rotation,
  616. RotSpeed = RotSpeed,
  617. Speed = Speed,
  618. VelocitySpread = VelocitySpread,
  619. }
  620. return fp
  621. end;
  622. };
  623.  
  624. CreateTemplate = {
  625.  
  626. };
  627. }
  628.  
  629.  
  630.  
  631. New = function(Object, Parent, Name, Data)
  632. local Object = Instance.new(Object)
  633. for Index, Value in pairs(Data or {}) do
  634. Object[Index] = Value
  635. end
  636. Object.Parent = Parent
  637. Object.Name = Name
  638. return Object
  639. end
  640. local halocolor = BrickColor.new("Pastel light blue")
  641. local halocolor2 = BrickColor.new("Cool yellow")
  642. local starcolor = BrickColor.new("Bright yellow")
  643. local lunacolor = BrickColor.new("Navy blue")
  644. local lunacolor2 = BrickColor.new("Bright blue")
  645. local wepcolor = BrickColor.new("Really black")
  646. local maincolor = BrickColor.new("Really black")
  647. local m = Instance.new("Model",char)
  648. local m2 = Instance.new("Model",char)
  649. local m3 = Instance.new("Model",char)
  650. local mw1 = Instance.new("Model",char)
  651. local mw2 = Instance.new("Model",char)
  652.  
  653.  
  654. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  655. local gui = it(GuiType)
  656. gui.Parent = parent
  657. gui.Text = text
  658. gui.BackgroundTransparency = backtrans
  659. gui.BackgroundColor3 = backcol
  660. gui.SizeConstraint = "RelativeXY"
  661. gui.TextXAlignment = "Center"
  662. gui.TextYAlignment = "Center"
  663. gui.Position = pos
  664. gui.Size = size
  665. gui.Font = "SourceSans"
  666. gui.FontSize = "Size14"
  667. gui.TextWrapped = false
  668. gui.TextStrokeTransparency = 0
  669. gui.TextColor = BrickColor.new("White")
  670. return gui
  671. end
  672. --------------------------- GUI STUFF
  673. local basgui = it("GuiMain")
  674. basgui.Parent = plr.PlayerGui
  675. basgui.Name = "VISgui"
  676. local fullscreenz = it("Frame")
  677. fullscreenz.Parent = basgui
  678. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  679. fullscreenz.BackgroundTransparency = 1
  680. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  681. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  682. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  683. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  684. imgl2.BackgroundTransparency = 1
  685. imgl2.BorderSizePixel = 0
  686. imgl2.ImageTransparency = 0.5
  687. imgl2.ImageColor3 = Color3.new(1,0,0)
  688. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  689. imgl2.Size = UDim2.new(0,1000,0,1000)
  690. imgl2.Image = "rbxassetid://219337247"
  691. local techc = imgl2:Clone()
  692. techc.Parent = fullscreenz
  693. techc.ImageTransparency = 0
  694. techc.Size = UDim2.new(0,900,0,900)
  695. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  696. techc.ImageColor3 = Color3.new(1,0,0)
  697. techc.Image = "rbxassetid://2273224484"
  698. local circl = imgl2:Clone()
  699. circl.Parent = fullscreenz
  700. circl.ImageTransparency = 0
  701. circl.Size = UDim2.new(0,550,0,550)
  702. circl.Position = UDim2.new(0.75,25,0.55,25)
  703. circl.ImageColor3 = Color3.new(0,0,0)
  704. circl.Image = "rbxassetid://3013797904"
  705. local circl2 = imgl2:Clone()
  706. circl2.Parent = fullscreenz
  707. circl2.ImageTransparency = 0
  708. circl2.Size = UDim2.new(0,700,0,700)
  709. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  710. circl2.ImageColor3 = Color3.new(1,0,0)
  711. circl2.Image = "rbxassetid://2312119891"
  712. local imgl2b = imgl2:Clone()
  713. imgl2b.Parent = fullscreenz
  714. imgl2b.ImageTransparency = 0
  715. imgl2b.Size = UDim2.new(0,800,0,800)
  716. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  717. imgl2b.ImageColor3 = Color3.new(0,0,0)
  718. local ned = Instance.new("TextLabel",fullscreenz)
  719. ned.ZIndex = 2
  720. ned.Font = "Arcade"
  721. ned.BackgroundTransparency = 1
  722. ned.BorderSizePixel = 0.65
  723. ned.Size = UDim2.new(0.3,0,0.2,0)
  724. ned.Position = UDim2.new(0.7,0,0.8,0)
  725. ned.TextColor3 = BrickColor.new("Really red").Color
  726. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  727. ned.TextScaled = true
  728. ned.TextStrokeTransparency = 0
  729. ned.Text = "b100d"
  730. ned.TextSize = 24
  731. ned.Rotation = 1
  732. ned.TextXAlignment = "Right"
  733. ned.TextYAlignment = "Bottom"
  734.  
  735. local extrawingmod1 = Instance.new("Model",char)
  736. local extrawingmod2 = Instance.new("Model",char)
  737.  
  738. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  739. local p = Instance.new("Part")
  740. p.TopSurface = 0
  741. p.BottomSurface = 0
  742. p.Parent = parent
  743. p.Size = Vector3.new(0.1,0.1,0.1)
  744. p.Transparency = transparency
  745. p.Reflectance = reflectance
  746. p.CanCollide = false
  747. p.Locked = true
  748. p.BrickColor = brickcolor
  749. p.Material = material
  750. return p
  751. end
  752.  
  753. function CreateMesh(parent,meshtype,x1,y1,z1)
  754. local mesh = Instance.new("SpecialMesh",parent)
  755. mesh.MeshType = meshtype
  756. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  757. return mesh
  758. end
  759.  
  760. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  761. local mesh = Instance.new("SpecialMesh",parent)
  762. mesh.MeshType = "FileMesh"
  763. mesh.MeshId = meshid
  764. mesh.Scale = Vector3.new(x1,y1,z1)
  765. return mesh
  766. end
  767.  
  768.  
  769. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  770. local mesh = Instance.new("SpecialMesh",parent)
  771. mesh.MeshType = "FileMesh"
  772. mesh.MeshId = meshid
  773. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  774. mesh.Scale = Vector3.new(x1,y1,z1)
  775. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  776. return mesh
  777. end
  778.  
  779. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  780. local weld = Instance.new("Weld")
  781. weld.Parent = parent
  782. weld.Part0 = part0
  783. weld.Part1 = part1
  784. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  785. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  786. return weld
  787. end
  788.  
  789.  
  790. --------------
  791. --------------
  792. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  793. 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))
  794. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  795. 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))
  796.  
  797. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  798. CreateMesh(handle,"Brick",0,0,0)
  799. 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))
  800. local valuaring = 10
  801. for i = 0, 49 do
  802. valuaring = valuaring + 10
  803. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  804. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  805. 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))
  806. end
  807.  
  808. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  809. CreateMesh(handle,"Brick",0,0,0)
  810. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  811. local valuaring = 10
  812. for i = 0, 49 do
  813. valuaring = valuaring + 10
  814. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  815. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  816. 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))
  817. end
  818.  
  819.  
  820. local handle = CreateParta(m,1,1,"Neon",maincolor)
  821. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  822. 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))
  823.  
  824. --- Left wing.
  825.  
  826. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  827. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  828. 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))
  829.  
  830. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  831. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  832. 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))
  833. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  834. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  835. 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))
  836. A0 = Instance.new('Attachment',wed)
  837. A0.Position = vt(0,0.25,0.25)
  838. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  839. CreateMesh(wed,"Wedge",0.05,0.5,3)
  840. 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))
  841. A1 = Instance.new('Attachment',wed)
  842. A1.Position = vt(0,-0.25,-2)
  843. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  844. CreateMesh(wed,"Wedge",0.05,3,0.5)
  845. 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))
  846.  
  847. tl1 = Instance.new('Trail',wed)
  848. tl1.Attachment0 = A1
  849. tl1.Attachment1 = A0
  850. tl1.Texture = "rbxassetid://2108945559"
  851. tl1.LightEmission = 1
  852. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  853. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  854. tl1.Lifetime = 0.6
  855.  
  856.  
  857. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  858. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  859. 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))
  860.  
  861. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  862. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  863. 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))
  864. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  865. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  866. 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))
  867. A0 = Instance.new('Attachment',wed)
  868. A0.Position = vt(0,0.25,0.25)
  869. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  870. CreateMesh(wed,"Wedge",0.05,0.5,3)
  871. 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))
  872. A1 = Instance.new('Attachment',wed)
  873. A1.Position = vt(0,-0.25,-2)
  874. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  875. CreateMesh(wed,"Wedge",0.05,3,0.5)
  876. 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))
  877.  
  878. tl2 = Instance.new('Trail',wed)
  879. tl2.Attachment0 = A1
  880. tl2.Attachment1 = A0
  881. tl2.Texture = "rbxassetid://2108945559"
  882. tl2.LightEmission = 1
  883. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  884. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  885. tl2.Lifetime = 0.6
  886.  
  887. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  888. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  889. 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))
  890.  
  891. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  892. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  893. 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))
  894. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  895. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  896. 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))
  897. A0 = Instance.new('Attachment',wed)
  898. A0.Position = vt(0,0.25,0.25)
  899. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  900. CreateMesh(wed,"Wedge",0.05,0.5,3)
  901. 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))
  902. A1 = Instance.new('Attachment',wed)
  903. A1.Position = vt(0,-0.25,-2)
  904. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  905. CreateMesh(wed,"Wedge",0.05,3,0.5)
  906. 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))
  907.  
  908. tl3 = Instance.new('Trail',wed)
  909. tl3.Attachment0 = A1
  910. tl3.Attachment1 = A0
  911. tl3.Texture = "rbxassetid://2108945559"
  912. tl3.LightEmission = 1
  913. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  914. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  915. tl3.Lifetime = 0.6
  916.  
  917. tl1.Enabled = false
  918. tl2.Enabled = false
  919. tl3.Enabled = false
  920. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  921. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  922. 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))
  923.  
  924. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  925. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  926. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  927. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  928. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  929. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  930. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  931. CreateMesh(wed,"Wedge",0.05,0.5,3)
  932. CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  933. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  934. CreateMesh(wed,"Wedge",0.05,3,0.5)
  935. CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  936.  
  937. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  938. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  939. 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))
  940.  
  941. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  942. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  943. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  944. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  945. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  946. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  947. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  948. CreateMesh(wed,"Wedge",0.05,0.5,3)
  949. CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  950. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  951. CreateMesh(wed,"Wedge",0.05,3,0.5)
  952. CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  953.  
  954. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  955. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  956. 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))
  957.  
  958. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  959. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  960. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  961. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  962. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  963. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  964. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  965. CreateMesh(wed,"Wedge",0.05,0.5,3)
  966. CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  967. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  968. CreateMesh(wed,"Wedge",0.05,3,0.5)
  969. CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  970.  
  971. -- Right wing.
  972.  
  973. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  974. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  975. 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))
  976.  
  977. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  978. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  979. 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))
  980. A0 = Instance.new('Attachment',wed)
  981. A0.Position = vt(0,0.25,0.25)
  982. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  983. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  984. 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))
  985. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  986. CreateMesh(wed,"Wedge",0.05,0.5,3)
  987. 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))
  988. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  989. CreateMesh(wed,"Wedge",0.05,3,0.5)
  990. 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))
  991. A1 = Instance.new('Attachment',wed)
  992. A1.Position = vt(0,2,0.25)
  993.  
  994. tr1 = Instance.new('Trail',wed)
  995. tr1.Attachment0 = A1
  996. tr1.Attachment1 = A0
  997. tr1.Texture = "rbxassetid://2108945559"
  998. tr1.LightEmission = 1
  999. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1000. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1001. tr1.Lifetime = 0.6
  1002.  
  1003. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1004. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1005. 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))
  1006.  
  1007. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1008. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1009. 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))
  1010. A0 = Instance.new('Attachment',wed)
  1011. A0.Position = vt(0,0.25,0.25)
  1012. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1013. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1014. 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))
  1015. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1016. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1017. 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))
  1018. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1019. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1020. 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))
  1021. A1 = Instance.new('Attachment',wed)
  1022. A1.Position = vt(0,2,0.25)
  1023.  
  1024. tr2 = Instance.new('Trail',wed)
  1025. tr2.Attachment0 = A1
  1026. tr2.Attachment1 = A0
  1027. tr2.Texture = "rbxassetid://2108945559"
  1028. tr2.LightEmission = 1
  1029. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1030. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1031. tr2.Lifetime = 0.6
  1032.  
  1033. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1034. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1035. 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))
  1036.  
  1037. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1038. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1039. 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))
  1040. A0 = Instance.new('Attachment',wed)
  1041. A0.Position = vt(0,0.25,0.25)
  1042. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1043. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1044. 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))
  1045. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1046. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1047. 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))
  1048. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1049. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1050. 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))
  1051. A1 = Instance.new('Attachment',wed)
  1052. A1.Position = vt(0,2,0.25)
  1053.  
  1054. tr3 = Instance.new('Trail',wed)
  1055. tr3.Attachment0 = A1
  1056. tr3.Attachment1 = A0
  1057. tr3.Texture = "rbxassetid://2108945559"
  1058. tr3.LightEmission = 1
  1059. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1060. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1061. tr3.Lifetime = 0.6
  1062.  
  1063.  
  1064. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1065. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1066. 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))
  1067.  
  1068. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1069. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1070. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1071. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1072. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1073. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1074. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1075. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1076. CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1077. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1078. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1079. CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1080.  
  1081. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1082. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1083. 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))
  1084.  
  1085. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1086. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1087. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1088. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1089. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1090. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1091. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1092. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1093. CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1094. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1095. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1096. CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1097.  
  1098. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1099. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1100. 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))
  1101.  
  1102. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1103. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1104. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1105. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1106. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1107. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1108. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1109. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1110. CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1111. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1112. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1113. CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1114.  
  1115. ---- HERES THE RING
  1116.  
  1117.  
  1118. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1119. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1120. 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))
  1121. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1122. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1123. 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))
  1124. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1125. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1126. 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))
  1127.  
  1128.  
  1129. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1130. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1131. 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))
  1132.  
  1133. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1134. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1135. 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))
  1136.  
  1137.  
  1138.  
  1139. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1140. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1141. 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))
  1142.  
  1143. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1144. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1145. 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))
  1146.  
  1147. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1148. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1149. 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))
  1150.  
  1151. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1152. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1153. 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))
  1154. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1155. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1156. 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))
  1157.  
  1158. --- second ring
  1159.  
  1160. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1161. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1162. 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))
  1163. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1164. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1165. 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))
  1166. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1167. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1168. 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))
  1169.  
  1170. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1171. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1172. 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))
  1173.  
  1174. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1175. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1176. 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))
  1177.  
  1178.  
  1179.  
  1180. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1181. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1182. 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))
  1183.  
  1184. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1185. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1186. 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))
  1187.  
  1188. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1189. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1190. 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))
  1191.  
  1192. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1193. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1194. 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))
  1195. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1196. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1197. 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))]]--
  1198.  
  1199.  
  1200.  
  1201. for i, v in pairs(m:GetChildren()) do
  1202. if v:IsA("Part") then
  1203. v.BrickColor = BrickColor.new("Really black")
  1204. v.Material = "Glass"
  1205. end
  1206. end
  1207. for i, v in pairs(m2:GetChildren()) do
  1208. if v:IsA("Part") then
  1209. v.BrickColor = BrickColor.new("Crimson")
  1210. v.Material = "Granite"
  1211. end
  1212. end
  1213. for i, v in pairs(m3:GetChildren()) do
  1214. if v:IsA("Part") then
  1215. v.BrickColor = BrickColor.new("Really red")
  1216. v.Material = "Neon"
  1217. end
  1218. end
  1219. for i, v in pairs(mw2:GetChildren()) do
  1220. if v:IsA("Part") then
  1221. v.BrickColor = BrickColor.new("Really red")
  1222. v.Material = "Neon"
  1223. end
  1224. end
  1225. for i, v in pairs(mw1:GetChildren()) do
  1226. if v:IsA("Part") then
  1227. v.Transparency = 1
  1228. v.BrickColor = BrickColor.new("Really red")
  1229. v.Material = "Neon"
  1230. end
  1231. end
  1232. for i, v in pairs(extrawingmod1:GetChildren()) do
  1233. if v:IsA("Part") then
  1234. v.Transparency = 1
  1235. v.BrickColor = BrickColor.new("White")
  1236. v.Material = "Neon"
  1237. end
  1238. end
  1239. for i, v in pairs(extrawingmod2:GetChildren()) do
  1240. if v:IsA("Part") then
  1241. v.Transparency = 1
  1242. v.BrickColor = BrickColor.new("White")
  1243. v.Material = "Neon"
  1244. end
  1245. end
  1246. local MAINRUINCOLOR = BrickColor.new("Really red")
  1247. ------
  1248.  
  1249.  
  1250. function RemoveOutlines(part)
  1251. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1252. end
  1253. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1254. local Part = Create("Part")({
  1255. Parent = Parent,
  1256. Reflectance = Reflectance,
  1257. Transparency = Transparency,
  1258. CanCollide = false,
  1259. Locked = true,
  1260. BrickColor = BrickColor.new(tostring(BColor)),
  1261. Name = Name,
  1262. Size = Size,
  1263. Material = Material
  1264. })
  1265. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1266. RemoveOutlines(Part)
  1267. return Part
  1268. end
  1269. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1270. local Msh = Create(Mesh)({
  1271. Parent = Part,
  1272. Offset = OffSet,
  1273. Scale = Scale
  1274. })
  1275. if Mesh == "SpecialMesh" then
  1276. Msh.MeshType = MeshType
  1277. Msh.MeshId = MeshId
  1278. end
  1279. return Msh
  1280. end
  1281. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1282. local Weld = Create("Weld")({
  1283. Parent = Parent,
  1284. Part0 = Part0,
  1285. Part1 = Part1,
  1286. C0 = C0,
  1287. C1 = C1
  1288. })
  1289. return Weld
  1290. end
  1291.  
  1292. Character=Player.Character
  1293. PlayerGui=Player.PlayerGui
  1294. Backpack=Player.Backpack
  1295. Torso=Character.Torso
  1296. Head=Character.Head
  1297. Humanoid=Character.Humanoid
  1298. m=Instance.new('Model',Character)
  1299. LeftArm=Character["Left Arm"]
  1300. LeftLeg=Character["Left Leg"]
  1301. RightArm=Character["Right Arm"]
  1302. RightLeg=Character["Right Leg"]
  1303. LS=Torso["Left Shoulder"]
  1304. LH=Torso["Left Hip"]
  1305. RS=Torso["Right Shoulder"]
  1306. RH=Torso["Right Hip"]
  1307. Face = Head.face
  1308. Neck=Torso.Neck
  1309. it=Instance.new
  1310. attacktype=1
  1311. vt=Vector3.new
  1312. cf=CFrame.new
  1313. euler=CFrame.fromEulerAnglesXYZ
  1314. angles=CFrame.Angles
  1315. cloaked=false
  1316. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1317. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1318. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1319. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1320. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1321. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1322. RootPart=Character.HumanoidRootPart
  1323. RootJoint=RootPart.RootJoint
  1324. RootCF=euler(-1.57,0,3.14)
  1325. attack = false
  1326. attackdebounce = false
  1327. deb=false
  1328. equipped=true
  1329. hand=false
  1330. combo=0
  1331. mana=0
  1332. trispeed=.2
  1333. attackmode='none'
  1334. local idle=0
  1335. local Anim="Idle"
  1336. local Effects={}
  1337. local gun=false
  1338. local shoot=false
  1339. local sine = 0
  1340. local change = 1
  1341.  
  1342. function RecolorTextAndRename(name,col1,col2,font)
  1343. modet.TextStrokeColor3 = col2
  1344. modet.TextColor3 = col1
  1345. modet.Font = font
  1346. modet.Text = name
  1347. techc.ImageColor3 = col2
  1348. circl.ImageColor3 = col2
  1349. circl2.ImageColor3 = col1
  1350. imgl2.ImageColor3 = col1
  1351. imgl2b.ImageColor3 = col2
  1352. ned.Text = name
  1353. ned.TextColor3 = col1
  1354. ned.TextStrokeColor3 = col2
  1355. end
  1356. --save shoulders
  1357. RSH, LSH=nil, nil
  1358. --welds
  1359. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1360. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1361. LH=Torso["Left Hip"]
  1362. RH=Torso["Right Hip"]
  1363. TorsoColor=Torso.BrickColor
  1364. function NoOutline(Part)
  1365. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1366. end
  1367. ch=Character
  1368. RSH=ch.Torso["Right Shoulder"]
  1369. LSH=ch.Torso["Left Shoulder"]
  1370. --
  1371. RSH.Parent=nil
  1372. LSH.Parent=nil
  1373. --
  1374. RW.Name="Right Shoulder"
  1375. RW.Part0=ch.Torso
  1376. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1377. RW.C1=cf(0, 0.5, 0)
  1378. RW.Part1=ch["Right Arm"]
  1379. RW.Parent=ch.Torso
  1380. --
  1381. LW.Name="Left Shoulder"
  1382. LW.Part0=ch.Torso
  1383. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1384. LW.C1=cf(0, 0.5, 0)
  1385. LW.Part1=ch["Left Arm"]
  1386. LW.Parent=ch.Torso
  1387.  
  1388. local Stats=Instance.new("BoolValue")
  1389. Stats.Name="Stats"
  1390. Stats.Parent=Character
  1391. local Atk=Instance.new("NumberValue")
  1392. Atk.Name="Damage"
  1393. Atk.Parent=Stats
  1394. Atk.Value=1
  1395. local Def=Instance.new("NumberValue")
  1396. Def.Name="Defense"
  1397. Def.Parent=Stats
  1398. Def.Value=1
  1399. local Speed=Instance.new("NumberValue")
  1400. Speed.Name="Speed"
  1401. Speed.Parent=Stats
  1402. Speed.Value=1
  1403. local Mvmt=Instance.new("NumberValue")
  1404. Mvmt.Name="Movement"
  1405. Mvmt.Parent=Stats
  1406. Mvmt.Value=1
  1407.  
  1408. local donum=0
  1409.  
  1410.  
  1411. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1412. local fp=it("Part")
  1413. fp.formFactor=formfactor
  1414. fp.Parent=parent
  1415. fp.Reflectance=reflectance
  1416. fp.Transparency=transparency
  1417. fp.CanCollide=false
  1418. fp.Locked=true
  1419. fp.BrickColor=brickcolor
  1420. fp.Name=name
  1421. fp.Size=size
  1422. fp.Position=Torso.Position
  1423. NoOutline(fp)
  1424. fp.Material="SmoothPlastic"
  1425. fp:BreakJoints()
  1426. return fp
  1427. end
  1428.  
  1429. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1430. local mesh=it(Mesh)
  1431. mesh.Parent=part
  1432. if Mesh=="SpecialMesh" then
  1433. mesh.MeshType=meshtype
  1434. if meshid~="nil" then
  1435. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1436. end
  1437. end
  1438. mesh.Offset=offset
  1439. mesh.Scale=scale
  1440. return mesh
  1441. end
  1442.  
  1443. function weld(parent,part0,part1,c0)
  1444. local weld=it("Weld")
  1445. weld.Parent=parent
  1446. weld.Part0=part0
  1447. weld.Part1=part1
  1448. weld.C0=c0
  1449. return weld
  1450. end
  1451.  
  1452. local Color1=Torso.BrickColor
  1453.  
  1454. local bodvel=Instance.new("BodyVelocity")
  1455. local bg=Instance.new("BodyGyro")
  1456.  
  1457. --------- SazEreno's Artificial HB --------------
  1458. ArtificialHB = Instance.new("BindableEvent", script)
  1459. ArtificialHB.Name = "ArtificialHB"
  1460.  
  1461. script:WaitForChild("ArtificialHB")
  1462. Frame_Speed = 1 / 60
  1463. frame = Frame_Speed
  1464. tf = 0
  1465. allowframeloss = false
  1466. tossremainder = false
  1467. lastframe = tick()
  1468. script.ArtificialHB:Fire()
  1469.  
  1470. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1471. tf = tf + s
  1472. if tf >= frame then
  1473. if allowframeloss then
  1474. script.ArtificialHB:Fire()
  1475. lastframe = tick()
  1476. else
  1477. for i = 1, math.floor(tf / frame) do
  1478. script.ArtificialHB:Fire()
  1479. end
  1480. lastframe = tick()
  1481. end
  1482. if tossremainder then
  1483. tf = 0
  1484. else
  1485. tf = tf - frame * math.floor(tf / frame)
  1486. end
  1487. end
  1488. end)
  1489.  
  1490. ------------------
  1491. function swait(num)
  1492. function swait(num)
  1493. if num==0 or num==nil then
  1494. game:service'RunService'.Stepped:wait(0)
  1495. else
  1496. for i=0,num do
  1497. game:service'RunService'.Stepped:wait(0)
  1498. end
  1499. end
  1500. end
  1501. end
  1502.  
  1503. -------- RAINBOW LEAVE IT TO ME
  1504. local r = 255
  1505. local g = 0
  1506. local b = 0
  1507. coroutine.resume(coroutine.create(function()
  1508. while wait() do
  1509. for i = 0, 254/5 do
  1510. swait()
  1511. g = g + 5
  1512. end
  1513. for i = 0, 254/5 do
  1514. swait()
  1515. r = r - 5
  1516. end
  1517. for i = 0, 254/5 do
  1518. swait()
  1519. b = b + 5
  1520. end
  1521. for i = 0, 254/5 do
  1522. swait()
  1523. g = g - 5
  1524. end
  1525. for i = 0, 254/5 do
  1526. swait()
  1527. r = r + 5
  1528. end
  1529. for i = 0, 254/5 do
  1530. swait()
  1531. b = b - 5
  1532. end
  1533. end
  1534. end))
  1535.  
  1536.  
  1537. so = function(id,par,vol,pit)
  1538. coroutine.resume(coroutine.create(function()
  1539. local sou = Instance.new("Sound",par or workspace)
  1540. sou.Volume=vol
  1541. sou.Pitch=pit or 1
  1542. sou.SoundId=id
  1543. swait()
  1544. sou:play()
  1545. game:GetService("Debris"):AddItem(sou,6)
  1546. end))
  1547. end
  1548.  
  1549. function clerp(a,b,t)
  1550. local qa = {QuaternionFromCFrame(a)}
  1551. local qb = {QuaternionFromCFrame(b)}
  1552. local ax, ay, az = a.x, a.y, a.z
  1553. local bx, by, bz = b.x, b.y, b.z
  1554. local _t = 1-t
  1555. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1556. end
  1557.  
  1558. function QuaternionFromCFrame(cf)
  1559. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1560. local trace = m00 + m11 + m22
  1561. if trace > 0 then
  1562. local s = math.sqrt(1 + trace)
  1563. local recip = 0.5/s
  1564. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1565. else
  1566. local i = 0
  1567. if m11 > m00 then
  1568. i = 1
  1569. end
  1570. if m22 > (i == 0 and m00 or m11) then
  1571. i = 2
  1572. end
  1573. if i == 0 then
  1574. local s = math.sqrt(m00-m11-m22+1)
  1575. local recip = 0.5/s
  1576. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1577. elseif i == 1 then
  1578. local s = math.sqrt(m11-m22-m00+1)
  1579. local recip = 0.5/s
  1580. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1581. elseif i == 2 then
  1582. local s = math.sqrt(m22-m00-m11+1)
  1583. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1584. end
  1585. end
  1586. end
  1587.  
  1588. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1589. local xs, ys, zs = x + x, y + y, z + z
  1590. local wx, wy, wz = w*xs, w*ys, w*zs
  1591. local xx = x*xs
  1592. local xy = x*ys
  1593. local xz = x*zs
  1594. local yy = y*ys
  1595. local yz = y*zs
  1596. local zz = z*zs
  1597. 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))
  1598. end
  1599.  
  1600. function QuaternionSlerp(a, b, t)
  1601. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1602. local startInterp, finishInterp;
  1603. if cosTheta >= 0.0001 then
  1604. if (1 - cosTheta) > 0.0001 then
  1605. local theta = math.acos(cosTheta)
  1606. local invSinTheta = 1/math.sin(theta)
  1607. startInterp = math.sin((1-t)*theta)*invSinTheta
  1608. finishInterp = math.sin(t*theta)*invSinTheta
  1609. else
  1610. startInterp = 1-t
  1611. finishInterp = t
  1612. end
  1613. else
  1614. if (1+cosTheta) > 0.0001 then
  1615. local theta = math.acos(-cosTheta)
  1616. local invSinTheta = 1/math.sin(theta)
  1617. startInterp = math.sin((t-1)*theta)*invSinTheta
  1618. finishInterp = math.sin(t*theta)*invSinTheta
  1619. else
  1620. startInterp = t-1
  1621. finishInterp = t
  1622. end
  1623. end
  1624. 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
  1625. end
  1626.  
  1627. local function CFrameFromTopBack(at, top, back)
  1628. local right = top:Cross(back)
  1629. return CFrame.new(at.x, at.y, at.z,
  1630. right.x, top.x, back.x,
  1631. right.y, top.y, back.y,
  1632. right.z, top.z, back.z)
  1633. end
  1634.  
  1635. function Triangle(a, b, c)
  1636. local edg1 = (c-a):Dot((b-a).unit)
  1637. local edg2 = (a-b):Dot((c-b).unit)
  1638. local edg3 = (b-c):Dot((a-c).unit)
  1639. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1640. a, b, c = a, b, c
  1641. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1642. a, b, c = b, c, a
  1643. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1644. a, b, c = c, a, b
  1645. else
  1646. assert(false, "unreachable")
  1647. end
  1648.  
  1649. local len1 = (c-a):Dot((b-a).unit)
  1650. local len2 = (b-a).magnitude - len1
  1651. local width = (a + (b-a).unit*len1 - c).magnitude
  1652.  
  1653. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1654.  
  1655. local list = {}
  1656.  
  1657. if len1 > 0.01 then
  1658. local w1 = Instance.new('WedgePart', m)
  1659. game:GetService("Debris"):AddItem(w1,5)
  1660. w1.Material = "SmoothPlastic"
  1661. w1.FormFactor = 'Custom'
  1662. w1.BrickColor = BrickColor.new("Really red")
  1663. w1.Transparency = 0
  1664. w1.Reflectance = 0
  1665. w1.Material = "SmoothPlastic"
  1666. w1.CanCollide = false
  1667. local l1 = Instance.new("PointLight",w1)
  1668. l1.Color = Color3.new(170,0,0)
  1669. NoOutline(w1)
  1670. local sz = Vector3.new(0.2, width, len1)
  1671. w1.Size = sz
  1672. local sp = Instance.new("SpecialMesh",w1)
  1673. sp.MeshType = "Wedge"
  1674. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1675. w1:BreakJoints()
  1676. w1.Anchored = true
  1677. w1.Parent = workspace
  1678. w1.Transparency = 0.7
  1679. table.insert(Effects,{w1,"Disappear",.01})
  1680. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1681. table.insert(list,w1)
  1682. end
  1683.  
  1684. if len2 > 0.01 then
  1685. local w2 = Instance.new('WedgePart', m)
  1686. game:GetService("Debris"):AddItem(w2,5)
  1687. w2.Material = "SmoothPlastic"
  1688. w2.FormFactor = 'Custom'
  1689. w2.BrickColor = BrickColor.new("Really red")
  1690. w2.Transparency = 0
  1691. w2.Reflectance = 0
  1692. w2.Material = "SmoothPlastic"
  1693. w2.CanCollide = false
  1694. local l2 = Instance.new("PointLight",w2)
  1695. l2.Color = Color3.new(170,0,0)
  1696. NoOutline(w2)
  1697. local sz = Vector3.new(0.2, width, len2)
  1698. w2.Size = sz
  1699. local sp = Instance.new("SpecialMesh",w2)
  1700. sp.MeshType = "Wedge"
  1701. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1702. w2:BreakJoints()
  1703. w2.Anchored = true
  1704. w2.Parent = workspace
  1705. w2.Transparency = 0.7
  1706. table.insert(Effects,{w2,"Disappear",.01})
  1707. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1708. table.insert(list,w2)
  1709. end
  1710. return unpack(list)
  1711. end
  1712.  
  1713.  
  1714. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1715. if hit.Parent == nil then
  1716. return
  1717. end
  1718. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1719. for _, v in pairs(hit.Parent:children()) do
  1720. if v:IsA("Humanoid") then
  1721. h = v
  1722. end
  1723. end
  1724. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1725. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1726. return
  1727. end
  1728. local c = Create("ObjectValue")({
  1729. Name = "creator",
  1730. Value = game:GetService("Players").LocalPlayer,
  1731. Parent = h
  1732. })
  1733. game:GetService("Debris"):AddItem(c, 0.5)
  1734. if HitSound ~= nil and HitPitch ~= nil then
  1735. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1736. end
  1737. local Damage = math.random(minim, maxim)
  1738. local blocked = false
  1739. local block = hit.Parent:findFirstChild("Block")
  1740. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1741. blocked = true
  1742. block.Value = block.Value - 1
  1743. print(block.Value)
  1744. end
  1745. if blocked == false then
  1746. HitHealth = h.Health
  1747. h.MaxHealth = 100
  1748. h.Health = h.Health - Damage
  1749. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1750. print("gained kill")
  1751. dmg(h.Parent)
  1752. end
  1753. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1754. else
  1755. h.Health = h.Health - Damage / 2
  1756. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1757. end
  1758. if Type == "Knockdown" then
  1759. local hum = hit.Parent.Humanoid
  1760. hum.PlatformStand = true
  1761. coroutine.resume(coroutine.create(function(HHumanoid)
  1762. swait(1)
  1763. HHumanoid.PlatformStand = false
  1764. end), hum)
  1765. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1766. local bodvol = Create("BodyVelocity")({
  1767. velocity = angle * knockback,
  1768. P = 5000,
  1769. maxForce = Vector3.new(8000, 8000, 8000),
  1770. Parent = hit
  1771. })
  1772. local rl = Create("BodyAngularVelocity")({
  1773. P = 3000,
  1774. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1775. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1776. Parent = hit
  1777. })
  1778. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1779. game:GetService("Debris"):AddItem(rl, 0.5)
  1780. elseif Type == "Normal" then
  1781. local vp = Create("BodyVelocity")({
  1782. P = 500,
  1783. maxForce = Vector3.new(math.huge, 0, math.huge),
  1784. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1785. })
  1786. if knockback > 0 then
  1787. vp.Parent = hit.Parent.Head
  1788. end
  1789. game:GetService("Debris"):AddItem(vp, 0.5)
  1790. elseif Type == "Up" then
  1791. local bodyVelocity = Create("BodyVelocity")({
  1792. velocity = Vector3.new(0, 20, 0),
  1793. P = 5000,
  1794. maxForce = Vector3.new(8000, 8000, 8000),
  1795. Parent = hit
  1796. })
  1797. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1798. local bodyVelocity = Create("BodyVelocity")({
  1799. velocity = Vector3.new(0, 20, 0),
  1800. P = 5000,
  1801. maxForce = Vector3.new(8000, 8000, 8000),
  1802. Parent = hit
  1803. })
  1804. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1805. elseif Type == "Leech" then
  1806. local hum = hit.Parent.Humanoid
  1807. if hum ~= nil then
  1808. for i = 0, 2 do
  1809. 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)
  1810. end
  1811. Humanoid.Health = Humanoid.Health + 1000000
  1812. end
  1813. elseif Type == "UpKnock" then
  1814. local hum = hit.Parent.Humanoid
  1815. hum.PlatformStand = true
  1816. if hum ~= nil then
  1817. hitr = true
  1818. end
  1819. coroutine.resume(coroutine.create(function(HHumanoid)
  1820. swait(5)
  1821. HHumanoid.PlatformStand = false
  1822. hitr = false
  1823. end), hum)
  1824. local bodyVelocity = Create("BodyVelocity")({
  1825. velocity = Vector3.new(0, 20, 0),
  1826. P = 5000,
  1827. maxForce = Vector3.new(8000, 8000, 8000),
  1828. Parent = hit
  1829. })
  1830. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1831. local bodyVelocity = Create("BodyVelocity")({
  1832. velocity = Vector3.new(0, 20, 0),
  1833. P = 5000,
  1834. maxForce = Vector3.new(8000, 8000, 8000),
  1835. Parent = hit
  1836. })
  1837. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1838. elseif Type == "Snare" then
  1839. local bp = Create("BodyPosition")({
  1840. P = 2000,
  1841. D = 100,
  1842. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1843. position = hit.Parent.Torso.Position,
  1844. Parent = hit.Parent.Torso
  1845. })
  1846. game:GetService("Debris"):AddItem(bp, 1)
  1847. elseif Type == "Slashnare" then
  1848. 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)
  1849. for i = 1, math.random(4, 5) do
  1850. 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)
  1851. end
  1852. local bp = Create("BodyPosition")({
  1853. P = 2000,
  1854. D = 100,
  1855. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1856. position = hit.Parent.Torso.Position,
  1857. Parent = hit.Parent.Torso
  1858. })
  1859. game:GetService("Debris"):AddItem(bp, 1)
  1860. elseif Type == "Spike" then
  1861. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1862. local bp = Create("BodyPosition")({
  1863. P = 2000,
  1864. D = 100,
  1865. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1866. position = hit.Parent.Torso.Position,
  1867. Parent = hit.Parent.Torso
  1868. })
  1869. game:GetService("Debris"):AddItem(bp, 1)
  1870. elseif Type == "Freeze" then
  1871. local BodPos = Create("BodyPosition")({
  1872. P = 50000,
  1873. D = 1000,
  1874. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1875. position = hit.Parent.Torso.Position,
  1876. Parent = hit.Parent.Torso
  1877. })
  1878. local BodGy = Create("BodyGyro")({
  1879. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1880. P = 20000,
  1881. Parent = hit.Parent.Torso,
  1882. cframe = hit.Parent.Torso.CFrame
  1883. })
  1884. hit.Parent.Torso.Anchored = true
  1885. coroutine.resume(coroutine.create(function(Part)
  1886. swait(1.5)
  1887. Part.Anchored = false
  1888. end), hit.Parent.Torso)
  1889. game:GetService("Debris"):AddItem(BodPos, 3)
  1890. game:GetService("Debris"):AddItem(BodGy, 3)
  1891. end
  1892. local debounce = Create("BoolValue")({
  1893. Name = "DebounceHit",
  1894. Parent = hit.Parent,
  1895. Value = true
  1896. })
  1897. game:GetService("Debris"):AddItem(debounce, Delay)
  1898. c = Instance.new("ObjectValue")
  1899. c.Name = "creator"
  1900. c.Value = Player
  1901. c.Parent = h
  1902. game:GetService("Debris"):AddItem(c, 0.5)
  1903. end
  1904. end
  1905. function ShowDamage(Pos, Text, Time, Color)
  1906. local Rate = 0.03333333333333333
  1907. local Pos = Pos or Vector3.new(0, 0, 0)
  1908. local Text = Text or ""
  1909. local Time = Time or 2
  1910. local Color = Color or Color3.new(1, 0, 1)
  1911. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1912. EffectPart.Anchored = true
  1913. local BillboardGui = Create("BillboardGui")({
  1914. Size = UDim2.new(3, 0, 3, 0),
  1915. Adornee = EffectPart,
  1916. Parent = EffectPart
  1917. })
  1918. local TextLabel = Create("TextLabel")({
  1919. BackgroundTransparency = 1,
  1920. Size = UDim2.new(1, 0, 1, 0),
  1921. Text = Text,
  1922. TextColor3 = Color,
  1923. TextScaled = true,
  1924. Font = Enum.Font.ArialBold,
  1925. Parent = BillboardGui
  1926. })
  1927. game.Debris:AddItem(EffectPart, Time + 0.1)
  1928. EffectPart.Parent = game:GetService("Workspace")
  1929. delay(0, function()
  1930. local Frames = Time / Rate
  1931. for Frame = 1, Frames do
  1932. wait(Rate)
  1933. local Percent = Frame / Frames
  1934. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1935. TextLabel.TextTransparency = Percent
  1936. end
  1937. if EffectPart and EffectPart.Parent then
  1938. EffectPart:Destroy()
  1939. end
  1940. end)
  1941. end
  1942. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1943. for _, c in pairs(workspace:children()) do
  1944. local hum = c:findFirstChildOfClass("Humanoid")
  1945. if hum ~= nil then
  1946. local head = c:findFirstChild("Head")
  1947. if head ~= nil then
  1948. local targ = head.Position - Part.Position
  1949. local mag = targ.magnitude
  1950. if magni >= mag and c.Name ~= Player.Name then
  1951. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1952. end
  1953. end
  1954. end
  1955. end
  1956. end
  1957.  
  1958. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1959. for _, c in pairs(workspace:children()) do
  1960. local hum = c:findFirstChild("Humanoid")
  1961. if hum ~= nil then
  1962. local head = c:findFirstChild("Torso")
  1963. if head ~= nil then
  1964. local targ = head.Position - Part.Position
  1965. local mag = targ.magnitude
  1966. if magni >= mag and c.Name ~= Player.Name then
  1967. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1968. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1969. end
  1970. end
  1971. end
  1972. end
  1973. end
  1974.  
  1975. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1976. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1977. end
  1978.  
  1979. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1980. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1981. prt.Anchored=true
  1982. prt.CFrame=cframe
  1983. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1984. --http://www.roblox.com/asset/?id=4770560
  1985. game:GetService("Debris"):AddItem(prt,2)
  1986. CF=prt.CFrame
  1987. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1988. for i=0,1,0.2 do
  1989. wait()
  1990. Part.CFrame=CF*cf(0,0,-0.4)
  1991. end
  1992. for i=0,1,delay do
  1993. wait()
  1994. --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)
  1995. Mesh.Scale=Mesh.Scale
  1996. end
  1997. for i=0,1,0.1 do
  1998. wait()
  1999. Part.Transparency=i
  2000. end
  2001. Part.Parent=nil
  2002. end),prt,msh,CF)
  2003. end
  2004.  
  2005. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2006. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2007. prt.Anchored=true
  2008. prt.Material = "Neon"
  2009. prt.CFrame=cframe
  2010. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2011. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2012. game:GetService("Debris"):AddItem(prt,5)
  2013. coroutine.resume(coroutine.create(function(Part,Mesh)
  2014. for i=0,1,delay do
  2015. swait()
  2016. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2017. Part.Transparency=i
  2018. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2019. end
  2020. Part.Parent=nil
  2021. end),prt,msh)
  2022. end
  2023.  
  2024. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2025. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2026. prt.Anchored=true
  2027. prt.Material = "Neon"
  2028. prt.CFrame=cframe
  2029. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2030. game:GetService("Debris"):AddItem(prt,5)
  2031. coroutine.resume(coroutine.create(function(Part,Mesh)
  2032. local rtype = rottype
  2033. for i=0,1,delay do
  2034. swait()
  2035. if rtype == 1 then
  2036. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2037. elseif rtype == 2 then
  2038. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2039. end
  2040. Part.Transparency=i
  2041. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2042. end
  2043. Part.Parent=nil
  2044. end),prt,msh)
  2045. end
  2046.  
  2047. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2048. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2049. prt.Anchored=true
  2050. prt.CFrame=cframe
  2051. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2052. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2053. game:GetService("Debris"):AddItem(prt,5)
  2054. coroutine.resume(coroutine.create(function(Part,Mesh)
  2055. for i=0,1,delay do
  2056. wait()
  2057. Part.Transparency=i
  2058. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2059. end
  2060. Part.Parent=nil
  2061. end),prt,msh)
  2062. end
  2063.  
  2064. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2065. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2066. prt.Anchored=true
  2067. prt.Material = "Neon"
  2068. prt.CFrame=cframe
  2069. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2070. game:GetService("Debris"):AddItem(prt,5)
  2071. coroutine.resume(coroutine.create(function(Part,Mesh)
  2072. local rtype = rottype
  2073. for i=0,1,delay do
  2074. swait()
  2075. if rtype == 1 then
  2076. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2077. elseif rtype == 2 then
  2078. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2079. end
  2080. Part.Transparency=i
  2081. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2082. end
  2083. Part.Parent=nil
  2084. end),prt,msh)
  2085. end
  2086.  
  2087. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2088. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2089. prt.Anchored=true
  2090. prt.Material = "Neon"
  2091. prt.CFrame=cframe
  2092. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2093. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2094. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2095. game:GetService("Debris"):AddItem(prt,5)
  2096. coroutine.resume(coroutine.create(function(Part,Mesh)
  2097. local rtype = rottype
  2098. for i=0,1,delay do
  2099. swait()
  2100. if rtype == 1 then
  2101. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2102. elseif rtype == 2 then
  2103. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2104. end
  2105. dec.Transparency=i
  2106. dec2.Transparency=i
  2107. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2108. end
  2109. Part.Parent=nil
  2110. end),prt,msh)
  2111. end
  2112.  
  2113. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2114. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2115. prt.Anchored=true
  2116. prt.Material = "Neon"
  2117. prt.CFrame=cframe
  2118. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2119. game:GetService("Debris"):AddItem(prt,5)
  2120. coroutine.resume(coroutine.create(function(Part,Mesh)
  2121. local rtype = rottype
  2122. for i=0,1,delay do
  2123. swait()
  2124. if rtype == 1 then
  2125. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2126. elseif rtype == 2 then
  2127. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2128. end
  2129. prt.Transparency=i
  2130. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2131. end
  2132. Part.Parent=nil
  2133. end),prt,msh)
  2134. end
  2135.  
  2136. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2137. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2138. prt.Anchored=true
  2139. prt.Material = "Neon"
  2140. prt.CFrame=cframe
  2141. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2142. game:GetService("Debris"):AddItem(prt,5)
  2143. coroutine.resume(coroutine.create(function(Part,Mesh)
  2144. local rtype = rottype
  2145. for i=0,1,delay do
  2146. swait()
  2147. if rtype == 1 then
  2148. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2149. elseif rtype == 2 then
  2150. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2151. end
  2152. prt.Transparency=i
  2153. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2154. end
  2155. Part.Parent=nil
  2156. end),prt,msh)
  2157. end
  2158.  
  2159. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2160. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2161. prt.Anchored=true
  2162. prt.Material = "Neon"
  2163. prt.CFrame=cframe
  2164. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2165. game:GetService("Debris"):AddItem(prt,5)
  2166. coroutine.resume(coroutine.create(function(Part,Mesh)
  2167. local rtype = rottype
  2168. for i=0,1,delay do
  2169. swait()
  2170. if rtype == 1 then
  2171. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2172. elseif rtype == 2 then
  2173. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2174. end
  2175. prt.Transparency=i
  2176. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2177. end
  2178. Part.Parent=nil
  2179. end),prt,msh)
  2180. end
  2181.  
  2182. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2183. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2184. prt.Anchored=true
  2185. prt.Material = "Neon"
  2186. prt.CFrame=cframe
  2187. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2188. game:GetService("Debris"):AddItem(prt,5)
  2189. coroutine.resume(coroutine.create(function(Part,Mesh)
  2190. local rtype = rottype
  2191. for i=0,1,delay do
  2192. swait()
  2193. if rtype == 1 then
  2194. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2195. elseif rtype == 2 then
  2196. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2197. end
  2198. prt.Transparency=i
  2199. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2200. end
  2201. Part.Parent=nil
  2202. end),prt,msh)
  2203. end
  2204.  
  2205. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2206. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2207. prt.Anchored=false
  2208. prt.CFrame=cframe
  2209. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2210. local wld=weld(prt,prt,Parent,cframe)
  2211. game:GetService("Debris"):AddItem(prt,5)
  2212. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2213. for i=0,1,delay do
  2214. wait()
  2215. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2216. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2217. Part.Transparency=i
  2218. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2219. end
  2220. Part.Parent=nil
  2221. end),prt,msh,wld)
  2222. end
  2223.  
  2224. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2225. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2226. prt.Anchored=false
  2227. prt.CFrame=cframe
  2228. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2229. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2230. game:GetService("Debris"):AddItem(prt,5)
  2231. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2232. for i=0,1,delay do
  2233. wait()
  2234. Weld.C0=euler(i*20,0,0)
  2235. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2236. Part.Transparency=i
  2237. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2238. end
  2239. Part.Parent=nil
  2240. end),prt,msh,wld)
  2241. end
  2242.  
  2243. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2244. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2245. prt.Anchored=true
  2246. prt.CFrame=cframe
  2247. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2248. game:GetService("Debris"):AddItem(prt,2)
  2249. coroutine.resume(coroutine.create(function(Part,Mesh)
  2250. for i=0,1,delay do
  2251. wait()
  2252. Part.CFrame=Part.CFrame
  2253. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2254. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2255. prt2.Anchored=true
  2256. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2257. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2258. game:GetService("Debris"):AddItem(prt2,2)
  2259. coroutine.resume(coroutine.create(function(Part,Mesh)
  2260. for i=0,1,0.1 do
  2261. wait()
  2262. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2263. end
  2264. Part.Parent=nil
  2265. end),prt2,msh2)
  2266. end
  2267. for i=0,1,delay*2 do
  2268. wait()
  2269. Part.CFrame=Part.CFrame
  2270. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2271. end
  2272. Part.Parent=nil
  2273. end),prt,msh)
  2274. end
  2275.  
  2276. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2277. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2278. prt.Anchored=true
  2279. prt.CFrame=cframe
  2280. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2281. game:GetService("Debris"):AddItem(prt,2)
  2282. coroutine.resume(coroutine.create(function(Part,Mesh)
  2283. for i=0,1,delay do
  2284. wait()
  2285. Part.CFrame=Part.CFrame
  2286. Part.Transparency=i
  2287. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2288. end
  2289. Part.Parent=nil
  2290. end),prt,msh)
  2291. end
  2292.  
  2293. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2294. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2295. prt.Anchored=true
  2296. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2297. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2298. game:GetService("Debris"):AddItem(prt,2)
  2299. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2300. CF=Part.CFrame
  2301. Numbb=0
  2302. randnumb=math.random()/10
  2303. rand1=math.random()/10
  2304. for i=0,1,rand1 do
  2305. wait()
  2306. CF=CF*cf(0,math.random()/2,0)
  2307. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2308. Part.CFrame=CF*euler(Numbb,0,0)
  2309. Part.Transparency=i
  2310. Numbb=Numbb+randnumb
  2311. end
  2312. Part.Parent=nil
  2313. end),prt,CF,Numbb,randnumb)
  2314. end
  2315.  
  2316. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2317. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2318. prt.Anchored=true
  2319. prt.CFrame=cframe
  2320. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2321. game:GetService("Debris"):AddItem(prt,5)
  2322. coroutine.resume(coroutine.create(function(Part,Mesh)
  2323. for i=0,1,delay do
  2324. wait()
  2325. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2326. Part.Transparency=i
  2327. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2328. end
  2329. Part.Parent=nil
  2330. end),prt,msh)
  2331. end
  2332.  
  2333. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2334. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2335. prt.Anchored=true
  2336. prt.CFrame=cframe
  2337. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2338. game:GetService("Debris"):AddItem(prt,2)
  2339. coroutine.resume(coroutine.create(function(Part,Mesh)
  2340. for i=0,1,delay do
  2341. wait()
  2342. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2343. Part.Transparency=i
  2344. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2345. end
  2346. Part.Parent=nil
  2347. end),prt,msh)
  2348. end
  2349.  
  2350. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2351. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2352. prt.Anchored=true
  2353. prt.CFrame=cframe*cf(x,y,z)
  2354. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2355. game:GetService("Debris"):AddItem(prt,5)
  2356. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2357. local num=math.random()
  2358. local num2=math.random(-3,2)+math.random()
  2359. local numm=0
  2360. for i=0,1,delay*2 do
  2361. swait()
  2362. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2363. Part.Transparency=i
  2364. numm=numm+0.01
  2365. end
  2366. Part.Parent=nil
  2367. Mesh.Parent=nil
  2368. end),prt,msh,x,y,z)
  2369. end
  2370.  
  2371. function dmgstart(dmg,what)
  2372. hitcon = what.Touched:connect(function(hit)
  2373. local hum = hit.Parent:FindFirstChild("Humanoid")
  2374. if hum and not hum:IsDescendantOf(Character) then
  2375. hum:TakeDamage(dmg)
  2376. end
  2377. end)
  2378. end
  2379.  
  2380. function dmgstop()
  2381. hitcon:disconnect()
  2382. end
  2383.  
  2384. function Cloak()
  2385. Face.Parent=nil
  2386. cloaked=true
  2387. for _,v in pairs(Torso.Parent:children()) do
  2388. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2389. coroutine.resume(coroutine.create(function()
  2390. for i=0,1,0.2 do
  2391. wait()
  2392. v.Transparency=i
  2393. end
  2394. v.Transparency=1
  2395. end))
  2396. end
  2397. if v.className=="Hat" then
  2398. hatp=v.Handle
  2399. coroutine.resume(coroutine.create(function(derp)
  2400. for i=0,1,0.2 do
  2401. wait()
  2402. derp.Transparency=i
  2403. end
  2404. derp.Transparency=1
  2405. end),hatp)
  2406. end
  2407. end
  2408. for _,v in pairs(m:children()) do
  2409. if v.className=="Part" then
  2410. coroutine.resume(coroutine.create(function()
  2411. for i=0,1,0.2 do
  2412. wait()
  2413. v.Transparency=i
  2414. end
  2415. v.Transparency=1
  2416. end))
  2417. end
  2418. end
  2419. end
  2420.  
  2421. function UnCloak()
  2422. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2423. Face.Parent=Head
  2424. cloaked=false
  2425. for _,v in pairs(Torso.Parent:children()) do
  2426. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2427. coroutine.resume(coroutine.create(function()
  2428. for i=0,1,0.1 do
  2429. wait()
  2430. v.Transparency=v.Transparency-0.1
  2431. end
  2432. v.Transparency=0
  2433. end))
  2434. end
  2435. if v.className=="Hat" then
  2436. hatp=v.Handle
  2437. coroutine.resume(coroutine.create(function(derp)
  2438. for i=0,1,0.1 do
  2439. wait()
  2440. derp.Transparency=derp.Transparency-0.1
  2441. end
  2442. derp.Transparency=0
  2443. end),hatp)
  2444. end
  2445. end
  2446. for _,v in pairs(m:children()) do
  2447. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2448. coroutine.resume(coroutine.create(function()
  2449. for i=0,1,0.1 do
  2450. wait()
  2451. v.Transparency=v.Transparency-0.1
  2452. end
  2453. v.Transparency=0
  2454. end))
  2455. v.Transparency=0
  2456. end
  2457. end
  2458. end
  2459.  
  2460. local origcolor = BrickColor.new("Pastel light blue")
  2461. ---- This section of explosions.
  2462.  
  2463. ----
  2464.  
  2465.  
  2466. function ring(type,pos,scale,value)
  2467. local type = type
  2468. local rng = Instance.new("Part", char)
  2469. rng.Anchored = true
  2470. rng.BrickColor = origcolor
  2471. rng.CanCollide = false
  2472. rng.FormFactor = 3
  2473. rng.Name = "Ring"
  2474. rng.Size = Vector3.new(1, 1, 1)
  2475. rng.Transparency = 0
  2476. rng.TopSurface = 0
  2477. rng.BottomSurface = 0
  2478. rng.CFrame = pos
  2479. local rngm = Instance.new("SpecialMesh", rng)
  2480. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2481. rngm.Scale = scale
  2482. local scaler2 = 1
  2483. if type == "Add" then
  2484. scaler2 = 1*value
  2485. elseif type == "Divide" then
  2486. scaler2 = 1/value
  2487. end
  2488. coroutine.resume(coroutine.create(function()
  2489. for i = 0,10,0.1 do
  2490. swait()
  2491. if type == "Add" then
  2492. scaler2 = scaler2 - 0.01*value
  2493. elseif type == "Divide" then
  2494. scaler2 = scaler2 - 0.01/value
  2495. end
  2496. rng.Transparency = rng.Transparency + 0.01
  2497. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2498. end
  2499. rng:Destroy()
  2500. end))
  2501. end
  2502.  
  2503.  
  2504. function wave(type,pos,scale,value)
  2505. local type = type
  2506. local rng = Instance.new("Part", char)
  2507. rng.Anchored = true
  2508. rng.BrickColor = origcolor
  2509. rng.CanCollide = false
  2510. rng.FormFactor = 3
  2511. rng.Name = "Ring"
  2512. rng.Size = Vector3.new(1, 1, 1)
  2513. rng.Transparency = 0
  2514. rng.TopSurface = 0
  2515. rng.BottomSurface = 0
  2516. rng.CFrame = pos
  2517. local rngm = Instance.new("SpecialMesh", rng)
  2518. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2519. rngm.Scale = scale
  2520. local scaler2 = 1
  2521. if type == "Add" then
  2522. scaler2 = 1*value
  2523. elseif type == "Divide" then
  2524. scaler2 = 1/value
  2525. end
  2526. coroutine.resume(coroutine.create(function()
  2527. for i = 0,10,0.1 do
  2528. swait()
  2529. if type == "Add" then
  2530. scaler2 = scaler2 - 0.01*value
  2531. elseif type == "Divide" then
  2532. scaler2 = scaler2 - 0.01/value
  2533. end
  2534. rng.Transparency = rng.Transparency + 0.01
  2535. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2536. end
  2537. rng:Destroy()
  2538. end))
  2539. end
  2540.  
  2541. function wind(type,pos,scale,value,speed)
  2542. local type = type
  2543. local rng = Instance.new("Part", char)
  2544. rng.Anchored = true
  2545. rng.BrickColor = origcolor
  2546. rng.CanCollide = false
  2547. rng.FormFactor = 3
  2548. rng.Name = "Ring"
  2549. rng.Size = Vector3.new(1, 1, 1)
  2550. rng.Transparency = 0
  2551. rng.TopSurface = 0
  2552. rng.BottomSurface = 0
  2553. rng.CFrame = pos
  2554. local rngm = Instance.new("SpecialMesh", rng)
  2555. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2556. rngm.Scale = scale
  2557. local scaler2 = 1
  2558. if type == "Add" then
  2559. scaler2 = 1*value
  2560. elseif type == "Divide" then
  2561. scaler2 = 1/value
  2562. end
  2563. coroutine.resume(coroutine.create(function()
  2564. for i = 0,10,0.1 do
  2565. swait()
  2566. if type == "Add" then
  2567. scaler2 = scaler2 - 0.01*value
  2568. elseif type == "Divide" then
  2569. scaler2 = scaler2 - 0.01/value
  2570. end
  2571. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2572. rng.Transparency = rng.Transparency + 0.01
  2573. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2574. end
  2575. rng:Destroy()
  2576. end))
  2577. end
  2578.  
  2579. function groundwind(type,pos,scale,value,speed)
  2580. local type = type
  2581. local rng = Instance.new("Part", char)
  2582. rng.Anchored = true
  2583. rng.BrickColor = origcolor
  2584. rng.CanCollide = false
  2585. rng.FormFactor = 3
  2586. rng.Name = "Ring"
  2587. rng.Size = Vector3.new(1, 1, 1)
  2588. rng.Transparency = 0
  2589. rng.TopSurface = 0
  2590. rng.BottomSurface = 0
  2591. rng.CFrame = pos
  2592. local rngm = Instance.new("SpecialMesh", rng)
  2593. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2594. rngm.Scale = scale
  2595. local scaler2 = 1
  2596. if type == "Add" then
  2597. scaler2 = 1*value
  2598. elseif type == "Divide" then
  2599. scaler2 = 1/value
  2600. end
  2601. coroutine.resume(coroutine.create(function()
  2602. for i = 0,10,0.1 do
  2603. swait()
  2604. if type == "Add" then
  2605. scaler2 = scaler2 - 0.01*value
  2606. elseif type == "Divide" then
  2607. scaler2 = scaler2 - 0.01/value
  2608. end
  2609. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2610. rng.Transparency = rng.Transparency + 0.01
  2611. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2612. end
  2613. rng:Destroy()
  2614. end))
  2615. end
  2616.  
  2617. function CameraManager()
  2618. if TwoD and not CamInterrupt then
  2619. if Humanoid.Health > 0 then
  2620. Camera.CameraSubject = Humanoid
  2621. Camera.CameraType = "Scriptable"
  2622. Humanoid.AutoRotate = false
  2623. if Booleans.GyroUse then
  2624. Directer.MaxTorque = Vec3(0, huge, 0)
  2625. else
  2626. Directer.MaxTorque = Vec3(0, 0, 0)
  2627. end
  2628. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2629. if Booleans.CamFollow then
  2630. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2631. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2632. else
  2633. CPart.Position = RootPart.Position
  2634. end
  2635. else
  2636. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2637. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2638. end
  2639. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2640. else
  2641. Camera.CameraSubject = Humanoid
  2642. Camera.CameraType = "Custom"
  2643. Controller.Disabled = false
  2644. end
  2645. end
  2646. end
  2647.  
  2648. function ring(type,pos,scale,value)
  2649. local type = type
  2650. local rng = Instance.new("Part", char)
  2651. rng.Anchored = true
  2652. rng.BrickColor = origcolor
  2653. rng.CanCollide = false
  2654. rng.FormFactor = 3
  2655. rng.Name = "Ring"
  2656. rng.Size = Vector3.new(1, 1, 1)
  2657. rng.Transparency = 0
  2658. rng.TopSurface = 0
  2659. rng.BottomSurface = 0
  2660. rng.CFrame = pos
  2661. local rngm = Instance.new("SpecialMesh", rng)
  2662. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2663. rngm.Scale = scale
  2664. local scaler2 = 1
  2665. if type == "Add" then
  2666. scaler2 = 1*value
  2667. elseif type == "Divide" then
  2668. scaler2 = 1/value
  2669. end
  2670. coroutine.resume(coroutine.create(function()
  2671. for i = 0,10,0.1 do
  2672. swait()
  2673. if type == "Add" then
  2674. scaler2 = scaler2 - 0.01*value
  2675. elseif type == "Divide" then
  2676. scaler2 = scaler2 - 0.01/value
  2677. end
  2678. rng.Transparency = rng.Transparency + 0.01
  2679. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2680. end
  2681. rng:Destroy()
  2682. end))
  2683. end
  2684.  
  2685.  
  2686. function wave(type,pos,scale,value)
  2687. local type = type
  2688. local rng = Instance.new("Part", char)
  2689. rng.Anchored = true
  2690. rng.BrickColor = origcolor
  2691. rng.CanCollide = false
  2692. rng.FormFactor = 3
  2693. rng.Name = "Ring"
  2694. rng.Size = Vector3.new(1, 1, 1)
  2695. rng.Transparency = 0
  2696. rng.TopSurface = 0
  2697. rng.BottomSurface = 0
  2698. rng.CFrame = pos
  2699. local rngm = Instance.new("SpecialMesh", rng)
  2700. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2701. rngm.Scale = scale
  2702. local scaler2 = 1
  2703. if type == "Add" then
  2704. scaler2 = 1*value
  2705. elseif type == "Divide" then
  2706. scaler2 = 1/value
  2707. end
  2708. coroutine.resume(coroutine.create(function()
  2709. for i = 0,10,0.1 do
  2710. swait()
  2711. if type == "Add" then
  2712. scaler2 = scaler2 - 0.01*value
  2713. elseif type == "Divide" then
  2714. scaler2 = scaler2 - 0.01/value
  2715. end
  2716. rng.Transparency = rng.Transparency + 0.01
  2717. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2718. end
  2719. rng:Destroy()
  2720. end))
  2721. end
  2722.  
  2723. function sphere(bonuspeed,type,pos,scale,value,color)
  2724. local type = type
  2725. local rng = Instance.new("Part", char)
  2726. rng.Anchored = true
  2727. if ModeOfGlitch ~= 9 then
  2728. rng.BrickColor = color
  2729. elseif ModeOfGlitch == 9 then
  2730. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2731. end
  2732. rng.CanCollide = false
  2733. rng.FormFactor = 3
  2734. rng.Name = "Ring"
  2735. rng.Material = "Neon"
  2736. rng.Size = Vector3.new(1, 1, 1)
  2737. rng.Transparency = 0
  2738. rng.TopSurface = 0
  2739. rng.BottomSurface = 0
  2740. rng.CFrame = pos
  2741. local rngm = Instance.new("SpecialMesh", rng)
  2742. rngm.MeshType = "Sphere"
  2743. rngm.Scale = scale
  2744. if rainbowmode == true then
  2745. rng.Color = Color3.new(r/255,g/255,b/255)
  2746. end
  2747. if ModeOfGlitch == 9 then
  2748. coroutine.resume(coroutine.create(function()
  2749. while true do
  2750. swait()
  2751. if rng.Parent ~= nil then
  2752. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2753. else
  2754. break
  2755. end
  2756. end
  2757. end))
  2758. end
  2759. local scaler2 = 1
  2760. if type == "Add" then
  2761. scaler2 = 1*value
  2762. elseif type == "Divide" then
  2763. scaler2 = 1/value
  2764. end
  2765. coroutine.resume(coroutine.create(function()
  2766. for i = 0,10/bonuspeed,0.1 do
  2767. swait()
  2768. if rainbowmode == true then
  2769. rng.Color = Color3.new(r/255,g/255,b/255)
  2770. end
  2771. if type == "Add" then
  2772. scaler2 = scaler2 - 0.01*value/bonuspeed
  2773. elseif type == "Divide" then
  2774. scaler2 = scaler2 - 0.01/value*bonuspeed
  2775. end
  2776. if chaosmode == true then
  2777. rng.BrickColor = BrickColor.random()
  2778. end
  2779. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2780. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2781. end
  2782. rng:Destroy()
  2783. end))
  2784. end
  2785.  
  2786. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2787. local type = type
  2788. local rng = Instance.new("Part", char)
  2789. rng.Anchored = true
  2790. if ModeOfGlitch ~= 9 then
  2791. rng.BrickColor = color
  2792. elseif ModeOfGlitch == 9 then
  2793. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2794. end
  2795. rng.CanCollide = false
  2796. rng.FormFactor = 3
  2797. rng.Name = "Ring"
  2798. rng.Material = "Neon"
  2799. rng.Size = Vector3.new(1, 1, 1)
  2800. rng.Transparency = 0
  2801. rng.TopSurface = 0
  2802. rng.BottomSurface = 0
  2803. rng.CFrame = pos
  2804. local rngm = Instance.new("SpecialMesh", rng)
  2805. rngm.MeshType = "Sphere"
  2806. rngm.Scale = scale
  2807. local scaler2 = 1
  2808. local scaler2b = 1
  2809. local scaler2c = 1
  2810. if type == "Add" then
  2811. scaler2 = 1*value
  2812. scaler2b = 1*value2
  2813. scaler2c = 1*value3
  2814. elseif type == "Divide" then
  2815. scaler2 = 1/value
  2816. scaler2b = 1/value2
  2817. scaler2c = 1/value3
  2818. end
  2819. if ModeOfGlitch == 9 then
  2820. coroutine.resume(coroutine.create(function()
  2821. while true do
  2822. swait()
  2823. if rng.Parent ~= nil then
  2824. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2825. else
  2826. break
  2827. end
  2828. end
  2829. end))
  2830. end
  2831. coroutine.resume(coroutine.create(function()
  2832. for i = 0,10/bonuspeed,0.1 do
  2833. swait()
  2834. if type == "Add" then
  2835. scaler2 = scaler2 - 0.01*value/bonuspeed
  2836. scaler2b = scaler2b - 0.01*value/bonuspeed
  2837. scaler2c = scaler2c - 0.01*value/bonuspeed
  2838. elseif type == "Divide" then
  2839. scaler2 = scaler2 - 0.01/value*bonuspeed
  2840. scaler2b = scaler2b - 0.01/value*bonuspeed
  2841. scaler2c = scaler2c - 0.01/value*bonuspeed
  2842. end
  2843. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2844. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2845. end
  2846. rng:Destroy()
  2847. end))
  2848. end
  2849.  
  2850. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2851. local type = type
  2852. local rotenable = rotatingop
  2853. local rng = Instance.new("Part", char)
  2854. rng.Anchored = true
  2855. rng.BrickColor = color
  2856. rng.CanCollide = false
  2857. rng.FormFactor = 3
  2858. rng.Name = "Ring"
  2859. rng.Material = "Neon"
  2860. rng.Size = Vector3.new(1, 1, 1)
  2861. rng.Transparency = 0
  2862. if typeoftrans == "In" then
  2863. rng.Transparency = 1
  2864. end
  2865. rng.TopSurface = 0
  2866. rng.BottomSurface = 0
  2867. rng.CFrame = pos
  2868. local rngm = Instance.new("SpecialMesh", rng)
  2869. rngm.MeshType = "FileMesh"
  2870. if typeofshape == "Normal" then
  2871. rngm.MeshId = "rbxassetid://662586858"
  2872. elseif typeofshape == "Round" then
  2873. rngm.MeshId = "rbxassetid://662585058"
  2874. end
  2875. rngm.Scale = scale
  2876. local scaler2 = 1/10
  2877. if type == "Add" then
  2878. scaler2 = 1*value/10
  2879. elseif type == "Divide" then
  2880. scaler2 = 1/value/10
  2881. end
  2882. local randomrot = math.random(1,2)
  2883. coroutine.resume(coroutine.create(function()
  2884. for i = 0,10/bonuspeed,0.1 do
  2885. swait()
  2886. if type == "Add" then
  2887. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  2888. elseif type == "Divide" then
  2889. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  2890. end
  2891. if rotenable == true then
  2892. if randomrot == 1 then
  2893. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  2894. elseif randomrot == 2 then
  2895. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  2896. end
  2897. end
  2898. if typeoftrans == "Out" then
  2899. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2900. elseif typeoftrans == "In" then
  2901. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2902. end
  2903. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  2904. end
  2905. rng:Destroy()
  2906. end))
  2907. end
  2908.  
  2909. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2910. local type = type
  2911. local rng = Instance.new("Part", char)
  2912. rng.Anchored = true
  2913. rng.BrickColor = color
  2914. rng.CanCollide = false
  2915. rng.FormFactor = 3
  2916. rng.Name = "Ring"
  2917. rng.Material = "Neon"
  2918. rng.Size = Vector3.new(1, 1, 1)
  2919. rng.Transparency = 0
  2920. rng.TopSurface = 0
  2921. rng.BottomSurface = 0
  2922. rng.CFrame = pos
  2923. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2924. local rngm = Instance.new("SpecialMesh", rng)
  2925. rngm.MeshType = "Brick"
  2926. rngm.Scale = vt(x1,y1,z1)
  2927. if rainbowmode == true then
  2928. rng.Color = Color3.new(r/255,g/255,b/255)
  2929. end
  2930. local scaler2 = 1
  2931. local speeder = FastSpeed/10
  2932. if type == "Add" then
  2933. scaler2 = 1*value
  2934. elseif type == "Divide" then
  2935. scaler2 = 1/value
  2936. end
  2937. coroutine.resume(coroutine.create(function()
  2938. for i = 0,10/bonuspeed,0.1 do
  2939. swait()
  2940. if rainbowmode == true then
  2941. rng.Color = Color3.new(r/255,g/255,b/255)
  2942. end
  2943. if type == "Add" then
  2944. scaler2 = scaler2 - 0.01*value/bonuspeed
  2945. elseif type == "Divide" then
  2946. scaler2 = scaler2 - 0.01/value*bonuspeed
  2947. end
  2948. if chaosmode == true then
  2949. rng.BrickColor = BrickColor.random()
  2950. end
  2951. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2952. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2953. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2954. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2955. end
  2956. rng:Destroy()
  2957. end))
  2958. end
  2959.  
  2960. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2961. local type = type
  2962. local rng = Instance.new("Part", char)
  2963. rng.Anchored = true
  2964. rng.BrickColor = color
  2965. rng.CanCollide = false
  2966. rng.FormFactor = 3
  2967. rng.Name = "Ring"
  2968. rng.Material = "Neon"
  2969. rng.Size = Vector3.new(1, 1, 1)
  2970. rng.Transparency = 0
  2971. rng.TopSurface = 0
  2972. rng.BottomSurface = 0
  2973. rng.CFrame = pos
  2974. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2975. local rngm = Instance.new("SpecialMesh", rng)
  2976. rngm.MeshType = "Brick"
  2977. rngm.Scale = vt(x1,y1,z1)
  2978. if rainbowmode == true then
  2979. rng.Color = Color3.new(r/255,g/255,b/255)
  2980. end
  2981. local scaler2 = 1
  2982. local speeder = FastSpeed/10
  2983. if type == "Add" then
  2984. scaler2 = 1*value
  2985. elseif type == "Divide" then
  2986. scaler2 = 1/value
  2987. end
  2988. coroutine.resume(coroutine.create(function()
  2989. for i = 0,10/bonuspeed,0.1 do
  2990. swait()
  2991. if rainbowmode == true then
  2992. rng.Color = Color3.new(r/255,g/255,b/255)
  2993. end
  2994. if type == "Add" then
  2995. scaler2 = scaler2 - 0.01*value/bonuspeed
  2996. elseif type == "Divide" then
  2997. scaler2 = scaler2 - 0.01/value*bonuspeed
  2998. end
  2999. if chaosmode == true then
  3000. rng.BrickColor = BrickColor.random()
  3001. end
  3002. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3003. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3004. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3005. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3006. end
  3007. rng:Destroy()
  3008. end))
  3009. end
  3010.  
  3011. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3012. local type = type
  3013. local rng = Instance.new("Part", char)
  3014. rng.Anchored = true
  3015. rng.BrickColor = color
  3016. rng.CanCollide = false
  3017. rng.FormFactor = 3
  3018. rng.Name = "Ring"
  3019. rng.Material = "Neon"
  3020. rng.Size = Vector3.new(1, 1, 1)
  3021. rng.Transparency = 0
  3022. rng.TopSurface = 0
  3023. rng.BottomSurface = 0
  3024. rng.CFrame = pos
  3025. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3026. local rngm = Instance.new("SpecialMesh", rng)
  3027. rngm.MeshType = "Brick"
  3028. rngm.Scale = vt(x1,y1,z1)
  3029. if rainbowmode == true then
  3030. rng.Color = Color3.new(r/255,g/255,b/255)
  3031. end
  3032. local scaler2 = 0
  3033. local speeder = FastSpeed/10
  3034. if type == "Add" then
  3035. scaler2 = 1*value
  3036. elseif type == "Divide" then
  3037. scaler2 = 1/value
  3038. end
  3039. coroutine.resume(coroutine.create(function()
  3040. for i = 0,10/bonuspeed,0.1 do
  3041. swait()
  3042. if rainbowmode == true then
  3043. rng.Color = Color3.new(r/255,g/255,b/255)
  3044. end
  3045. if type == "Add" then
  3046. scaler2 = scaler2 - 0.01*value/bonuspeed
  3047. elseif type == "Divide" then
  3048. scaler2 = scaler2 - 0.01/value*bonuspeed
  3049. end
  3050. if chaosmode == true then
  3051. rng.BrickColor = BrickColor.random()
  3052. end
  3053. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3054. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3055. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3056. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3057. end
  3058. rng:Destroy()
  3059. end))
  3060. end
  3061.  
  3062. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3063. local type = type
  3064. local rng = Instance.new("Part", char)
  3065. rng.Anchored = true
  3066. rng.BrickColor = color
  3067. rng.Color = color3
  3068. rng.CanCollide = false
  3069. rng.FormFactor = 3
  3070. rng.Name = "Ring"
  3071. rng.Material = "Neon"
  3072. rng.Size = Vector3.new(1, 1, 1)
  3073. rng.Transparency = 0
  3074. rng.TopSurface = 0
  3075. rng.BottomSurface = 0
  3076. rng.CFrame = pos
  3077. local rngm = Instance.new("SpecialMesh", rng)
  3078. rngm.MeshType = "Brick"
  3079. rngm.Scale = scale
  3080. local scaler2 = 1
  3081. local scaler2b = 1
  3082. local scaler2c = 1
  3083. if type == "Add" then
  3084. scaler2 = 1*value
  3085. scaler2b = 1*value2
  3086. scaler2c = 1*value3
  3087. elseif type == "Divide" then
  3088. scaler2 = 1/value
  3089. scaler2b = 1/value2
  3090. scaler2c = 1/value3
  3091. end
  3092. coroutine.resume(coroutine.create(function()
  3093. for i = 0,10/bonuspeed,0.1 do
  3094. swait()
  3095. if type == "Add" then
  3096. scaler2 = scaler2 - 0.01*value/bonuspeed
  3097. scaler2b = scaler2b - 0.01*value/bonuspeed
  3098. scaler2c = scaler2c - 0.01*value/bonuspeed
  3099. elseif type == "Divide" then
  3100. scaler2 = scaler2 - 0.01/value*bonuspeed
  3101. scaler2b = scaler2b - 0.01/value*bonuspeed
  3102. scaler2c = scaler2c - 0.01/value*bonuspeed
  3103. end
  3104. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3105. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3106. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3107. end
  3108. rng:Destroy()
  3109. end))
  3110. end
  3111.  
  3112. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3113. local type = type
  3114. local rng = Instance.new("Part", char)
  3115. rng.Anchored = true
  3116. if ModeOfGlitch ~= 9 then
  3117. rng.BrickColor = color
  3118. elseif ModeOfGlitch == 9 then
  3119. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3120. end
  3121. rng.CanCollide = false
  3122. rng.FormFactor = 3
  3123. rng.Name = "Ring"
  3124. rng.Material = "Neon"
  3125. rng.Size = Vector3.new(1, 1, 1)
  3126. rng.Transparency = 0
  3127. rng.TopSurface = 0
  3128. rng.BottomSurface = 0
  3129. rng.CFrame = pos
  3130. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3131. local rngm = Instance.new("SpecialMesh", rng)
  3132. rngm.MeshType = "Sphere"
  3133. rngm.Scale = vt(x1,y1,z1)
  3134. if rainbowmode == true then
  3135. rng.Color = Color3.new(r/255,g/255,b/255)
  3136. end
  3137. if ModeOfGlitch == 9 then
  3138. coroutine.resume(coroutine.create(function()
  3139. while true do
  3140. swait()
  3141. if rng.Parent ~= nil then
  3142. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3143. else
  3144. break
  3145. end
  3146. end
  3147. end))
  3148. end
  3149. local scaler2 = 1
  3150. local speeder = FastSpeed
  3151. if type == "Add" then
  3152. scaler2 = 1*value
  3153. elseif type == "Divide" then
  3154. scaler2 = 1/value
  3155. end
  3156. coroutine.resume(coroutine.create(function()
  3157. for i = 0,10/bonuspeed,0.1 do
  3158. swait()
  3159. if rainbowmode == true then
  3160. rng.Color = Color3.new(r/255,g/255,b/255)
  3161. end
  3162. if type == "Add" then
  3163. scaler2 = scaler2 - 0.01*value/bonuspeed
  3164. elseif type == "Divide" then
  3165. scaler2 = scaler2 - 0.01/value*bonuspeed
  3166. end
  3167. if chaosmode == true then
  3168. rng.BrickColor = BrickColor.random()
  3169. end
  3170. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3171. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3172. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3173. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3174. end
  3175. rng:Destroy()
  3176. end))
  3177. end
  3178.  
  3179.  
  3180. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3181. local type = type
  3182. local rng = Instance.new("Part", char)
  3183. rng.Anchored = true
  3184. if ModeOfGlitch ~= 9 then
  3185. rng.BrickColor = color
  3186. elseif ModeOfGlitch == 9 then
  3187. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3188. end
  3189. rng.CanCollide = false
  3190. rng.FormFactor = 3
  3191. rng.Name = "Ring"
  3192. rng.Material = "Neon"
  3193. rng.Size = Vector3.new(1, 1, 1)
  3194. rng.Transparency = 1
  3195. rng.TopSurface = 0
  3196. rng.BottomSurface = 0
  3197. rng.CFrame = pos
  3198. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3199. local rngm = Instance.new("SpecialMesh", rng)
  3200. rngm.MeshType = "Sphere"
  3201. rngm.Scale = vt(x1,y1,z1)
  3202. if rainbowmode == true then
  3203. rng.Color = Color3.new(r/255,g/255,b/255)
  3204. end
  3205. if ModeOfGlitch == 9 then
  3206. coroutine.resume(coroutine.create(function()
  3207. while true do
  3208. swait()
  3209. if rng.Parent ~= nil then
  3210. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3211. else
  3212. break
  3213. end
  3214. end
  3215. end))
  3216. end
  3217. local scaler2 = 1
  3218. local speeder = FastSpeed
  3219. if type == "Add" then
  3220. scaler2 = 1*value
  3221. elseif type == "Divide" then
  3222. scaler2 = 1/value
  3223. end
  3224. coroutine.resume(coroutine.create(function()
  3225. for i = 0,10/bonuspeed,0.1 do
  3226. swait()
  3227. if rainbowmode == true then
  3228. rng.Color = Color3.new(r/255,g/255,b/255)
  3229. end
  3230. if type == "Add" then
  3231. scaler2 = scaler2 - 0.01*value/bonuspeed
  3232. elseif type == "Divide" then
  3233. scaler2 = scaler2 - 0.01/value*bonuspeed
  3234. end
  3235. if chaosmode == true then
  3236. rng.BrickColor = BrickColor.random()
  3237. end
  3238. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3239. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3240. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3241. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3242. end
  3243. rng:Destroy()
  3244. end))
  3245. end
  3246.  
  3247. function dmg(dude)
  3248. if dude.Name ~= Character then
  3249. local keptcolor = MAINRUINCOLOR
  3250. local bgf = Instance.new("BodyGyro",dude.Head)
  3251. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3252. --[[local val = Instance.new("BoolValue",dude)
  3253. val.Name = "IsHit"]]--
  3254. local ds = coroutine.wrap(function()
  3255. dude:WaitForChild("Head"):BreakJoints()
  3256. for i, v in pairs(dude:GetChildren()) do
  3257. if v:IsA("Part") or v:IsA("MeshPart") then
  3258. v.Name = "DEMINISHED"
  3259. end
  3260. end
  3261. wait(0.5)
  3262. targetted = nil
  3263. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3264. coroutine.resume(coroutine.create(function()
  3265. for i, v in pairs(dude:GetChildren()) do
  3266. if v:IsA("Accessory") then
  3267. v:Destroy()
  3268. end
  3269. if v:IsA("Humanoid") then
  3270. v:Destroy()
  3271. end
  3272. if v:IsA("CharacterMesh") then
  3273. v:Destroy()
  3274. end
  3275. if v:IsA("Model") then
  3276. v:Destroy()
  3277. end
  3278. if v:IsA("Part") or v:IsA("MeshPart") then
  3279. for x, o in pairs(v:GetChildren()) do
  3280. if o:IsA("Decal") then
  3281. o:Destroy()
  3282. end
  3283. end
  3284. coroutine.resume(coroutine.create(function()
  3285. v.Material = "Neon"
  3286. v.CanCollide = false
  3287. v.Anchored = false
  3288. local bld = Instance.new("ParticleEmitter",v)
  3289. bld.LightEmission = 0.75
  3290. bld.Texture = "rbxassetid://363275192" ---284205403
  3291. bld.Color = ColorSequence.new(keptcolor.Color)
  3292. bld.Rate = 500
  3293. bld.Lifetime = NumberRange.new(1)
  3294. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3295. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3296. bld.Speed = NumberRange.new(2,5)
  3297. bld.VelocitySpread = 50000
  3298. bld.Rotation = NumberRange.new(-500,500)
  3299. bld.RotSpeed = NumberRange.new(-500,500)
  3300. local sbs = Instance.new("BodyPosition", v)
  3301. sbs.P = 3000
  3302. sbs.D = 1000
  3303. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3304. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3305. v.Color = keptcolor.Color
  3306. coroutine.resume(coroutine.create(function()
  3307. for i = 0, 49 do
  3308. swait(1)
  3309. v:BreakJoints()
  3310. v.Transparency = v.Transparency + 0.02
  3311. end
  3312. v:BreakJoints()
  3313. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3314. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3315. bld.Speed = NumberRange.new(10,25)
  3316. bld.Drag = 5
  3317. bld.Acceleration = vt(0,2,0)
  3318. wait(0.5)
  3319. bld.Enabled = false
  3320. wait(8)
  3321. v:Destroy()
  3322. dude:Destroy()
  3323. end))
  3324. end))
  3325. end
  3326. end
  3327. end))
  3328. end)
  3329. ds()
  3330. end
  3331. end
  3332.  
  3333.  
  3334. function FindNearestHead(Position, Distance, SinglePlayer)
  3335. if SinglePlayer then
  3336. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3337. end
  3338. local List = {}
  3339. for i, v in pairs(workspace:GetChildren()) do
  3340. if v:IsA("Model") then
  3341. if v:findFirstChild("Head") then
  3342. if v ~= Character then
  3343. if (v.Head.Position - Position).magnitude <= Distance then
  3344. table.insert(List, v)
  3345. end
  3346. end
  3347. end
  3348. end
  3349. end
  3350. return List
  3351. end
  3352.  
  3353. function FaceMouse()
  3354. Cam = workspace.CurrentCamera
  3355. return {
  3356. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3357. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3358. }
  3359. end
  3360.  
  3361. function FaceMouse2()
  3362. Cam = workspace.CurrentCamera
  3363. return {
  3364. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3365. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3366. }
  3367. end
  3368.  
  3369. local ModeOfGlitch = 1
  3370. -- Functions are ready.
  3371. local storehumanoidWS = 16
  3372.  
  3373. function CorruptBlink()
  3374. for i = 0, 14 do
  3375. PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
  3376. end
  3377. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3378. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3379. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3380. CameraEnshaking(2,10)
  3381. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3382. if v:FindFirstChild('Head') then
  3383. dmg(v)
  3384. end
  3385. end
  3386. for i = 0, 14 do
  3387. PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
  3388. end
  3389. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3390. end
  3391. function PureBomb()
  3392. attack = true
  3393. hum.WalkSpeed = 0
  3394. local orb = Instance.new("Part", char)
  3395. orb.Anchored = true
  3396. orb.BrickColor = BrickColor.new("Toothpaste")
  3397. orb.CanCollide = false
  3398. orb.FormFactor = 3
  3399. orb.Name = "Ring"
  3400. orb.Material = "Neon"
  3401. orb.Size = Vector3.new(1, 1, 1)
  3402. orb.Transparency = 0
  3403. orb.TopSurface = 0
  3404. orb.BottomSurface = 0
  3405. local orbm = Instance.new("SpecialMesh", orb)
  3406. orbm.MeshType = "Sphere"
  3407. orbm.Name = "SizeMesh"
  3408. orbm.Scale = vt(0,0,0)
  3409. local scaled = 0.1
  3410. local posid = 0
  3411. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3412. for i = 0, 5, 0.1 do
  3413. swait()
  3414. scaled = scaled - 0.001
  3415. posid = posid - scaled
  3416. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3417. local scaled = 0.1
  3418. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3419. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10)
  3420. PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0)
  3421. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  3422. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  3423. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3424. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3425. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3426. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  3427. end
  3428. for i = 0, 2, 0.1 do
  3429. swait()
  3430. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3431. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3432. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3433. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  3434. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3435. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3436. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3437. end
  3438. coroutine.resume(coroutine.create(function()
  3439. orb.Anchored = false
  3440. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3441. local a = Instance.new("Part",workspace)
  3442. a.Name = "Direction"
  3443. a.Anchored = true
  3444. a.BrickColor = bc("Bright red")
  3445. a.Material = "Neon"
  3446. a.Transparency = 1
  3447. a.CanCollide = false
  3448. local ray = Ray.new(
  3449. orb.CFrame.p, -- origin
  3450. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3451. )
  3452. local ignore = orb
  3453. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3454. a.BottomSurface = 10
  3455. a.TopSurface = 10
  3456. local distance = (orb.CFrame.p - position).magnitude
  3457. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3458. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3459. orb.CFrame = a.CFrame
  3460. a:Destroy()
  3461. local bv = Instance.new("BodyVelocity")
  3462. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3463. bv.velocity = orb.CFrame.lookVector*125
  3464. bv.Parent = orb
  3465. local hitted = false
  3466. game:GetService("Debris"):AddItem(orb, 15)
  3467. wait()
  3468. local hit =orb.Touched:connect(function(hit)
  3469. if hitted == false then
  3470. hitted = true
  3471. CameraEnshaking(10,2.5)
  3472. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3473. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3474. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3475. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3476. for i = 0, 49 do
  3477. PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
  3478. end
  3479. for i = 0, 9 do
  3480. sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  3481. sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  3482. end
  3483. orb.Anchored = true
  3484. orb.Transparency = 1
  3485. wait(8)
  3486. orb:Destroy()
  3487. end
  3488. end)
  3489. end))
  3490. for i = 0, 1, 0.1 do
  3491. swait()
  3492. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3493. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3494. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  3495. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3496. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3497. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3498. end
  3499. hum.WalkSpeed = storehumanoidWS
  3500. attack = false
  3501. end
  3502.  
  3503. function BanishingOrb()
  3504. attack = true
  3505. hum.WalkSpeed = 0
  3506. local orb = Instance.new("Part", char)
  3507. orb.Anchored = true
  3508. orb.BrickColor = BrickColor.new("Black")
  3509. orb.CanCollide = false
  3510. orb.FormFactor = 3
  3511. orb.Name = "Ring"
  3512. orb.Material = "Neon"
  3513. orb.Size = Vector3.new(1, 1, 1)
  3514. orb.Transparency = 0
  3515. orb.TopSurface = 0
  3516. orb.BottomSurface = 0
  3517. local orbm = Instance.new("SpecialMesh", orb)
  3518. orbm.MeshType = "Sphere"
  3519. orbm.Name = "SizeMesh"
  3520. orbm.Scale = vt(0,0,0)
  3521. local scaled = 0.1
  3522. local posid = 0
  3523. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  3524. for i = 0, 5, 0.1 do
  3525. swait()
  3526. scaled = scaled - 0.001
  3527. posid = posid - scaled
  3528. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3529. local scaled = 0.1
  3530. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3531. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Black"),10)
  3532. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  3533. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  3534. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3535. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3536. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3537. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  3538. end
  3539. for i = 0, 2, 0.1 do
  3540. swait()
  3541. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3542. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3543. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3544. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  3545. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3546. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3547. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3548. end
  3549. coroutine.resume(coroutine.create(function()
  3550. orb.Anchored = false
  3551. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  3552. local a = Instance.new("Part",workspace)
  3553. a.Name = "Direction"
  3554. a.Anchored = true
  3555. a.BrickColor = bc("Bright red")
  3556. a.Material = "Neon"
  3557. a.Transparency = 1
  3558. a.CanCollide = false
  3559. local ray = Ray.new(
  3560. orb.CFrame.p, -- origin
  3561. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3562. )
  3563. local ignore = orb
  3564. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3565. a.BottomSurface = 10
  3566. a.TopSurface = 10
  3567. local distance = (orb.CFrame.p - position).magnitude
  3568. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3569. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3570. orb.CFrame = a.CFrame
  3571. a:Destroy()
  3572. local bv = Instance.new("BodyVelocity")
  3573. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3574. bv.velocity = orb.CFrame.lookVector*0
  3575. bv.Parent = orb
  3576. local hitted = false
  3577. local rate = 0
  3578. coroutine.resume(coroutine.create(function()
  3579. for i = 0, 24 do
  3580. wait(0.1)
  3581. rate = rate + 0.25
  3582. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  3583. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  3584. if v:FindFirstChild('Head') then
  3585. dmg(v)
  3586. end
  3587. end
  3588. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  3589. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3590. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3591. end
  3592. orb.Anchored = true
  3593. orb.Transparency = 1
  3594. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  3595. if v:FindFirstChild('Head') then
  3596. dmg(v)
  3597. end
  3598. end
  3599. local eff = Instance.new("ParticleEmitter",orb)
  3600. eff.Texture = "rbxassetid://296874871"
  3601. eff.LightEmission = 0.95
  3602. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3603. eff.Rate = 1000000000
  3604. eff.Lifetime = NumberRange.new(3)
  3605. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,9,0),NumberSequenceKeypoint.new(1,0,0)})
  3606. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3607. eff.Speed = NumberRange.new(30)
  3608. eff.Acceleration = vt(0,-15,0)
  3609. eff.Rotation = NumberRange.new(-500,500)
  3610. eff.VelocitySpread = 100000
  3611. eff.RotSpeed = NumberRange.new(-500,500)
  3612. coroutine.resume(coroutine.create(function()
  3613. wait(0.6)
  3614. eff.Enabled = false
  3615. end))
  3616. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  3617. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  3618. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3619. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3620. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  3621. game:GetService("Debris"):AddItem(orb, 15)
  3622. end))
  3623. end))
  3624. for i = 0, 1, 0.1 do
  3625. swait()
  3626. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3627. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3628. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  3629. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3630. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3631. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3632. end
  3633. hum.WalkSpeed = storehumanoidWS
  3634. attack = false
  3635. end
  3636.  
  3637.  
  3638. function ChaosGroundStrike()
  3639. attack = true
  3640. for i = 0, 2, 0.1 do
  3641. swait()
  3642. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3643. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3644. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3645. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3646. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3647. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3648. end
  3649. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3650. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3651. CameraEnshaking(4,12)
  3652. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3653. if v:FindFirstChild('Head') then
  3654. dmg(v)
  3655. end
  3656. end
  3657. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3658. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3659. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3660. for i = 0, 2, 0.1 do
  3661. swait()
  3662. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3663. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3664. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3665. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3666. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3667. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3668. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3669. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3670. end
  3671. attack = false
  3672. end
  3673.  
  3674.  
  3675.  
  3676. function Starfall()
  3677. attack = true
  3678. hum.WalkSpeed = 0
  3679. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3680. for i = 0, 5, 0.1 do
  3681. swait()
  3682. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3683. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3684. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3685. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  3686. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3687. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3688. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3689. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  3690. end
  3691. local Overed = false
  3692. CameraEnshaking(2,20)
  3693. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3694. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3695. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3696. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3697. local orb = Instance.new("Part", char)
  3698. orb.Anchored = true
  3699. orb.BrickColor = BrickColor.new("Toothpaste")
  3700. orb.CanCollide = false
  3701. orb.FormFactor = 3
  3702. orb.Name = "Remenant"
  3703. orb.Material = "Neon"
  3704. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3705. orb.Size = Vector3.new(1, 1, 1)
  3706. orb.Transparency = 1
  3707. orb.TopSurface = 0
  3708. orb.BottomSurface = 0
  3709. hum.WalkSpeed = storehumanoidWS
  3710. coroutine.resume(coroutine.create(function()
  3711. for i = 0, 9 do
  3712. swait(10)
  3713. local lb = Instance.new("Part")
  3714. lb.Color = MAINRUINCOLOR.Color
  3715. lb.CanCollide = false
  3716. lb.Material = "Neon"
  3717. lb.Anchored = true
  3718. lb.TopSurface = 0
  3719. lb.BottomSurface = 0
  3720. lb.Transparency = 0
  3721. lb.Size = vt(1,1,1)
  3722. lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  3723. lb.Anchored = false
  3724. lb.Parent = char
  3725. local thingery = Instance.new("SpecialMesh",lb)
  3726. thingery.MeshType = "Sphere"
  3727. thingery.Scale = vt(20,20,20)
  3728. game:GetService("Debris"):AddItem(lb, 10)
  3729. local bv = Instance.new("BodyVelocity")
  3730. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3731. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3732. bv.Parent = lb
  3733. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3734. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3735. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3736. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3737. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3738. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3739. local hitted = false
  3740. coroutine.resume(coroutine.create(function()
  3741. while true do
  3742. swait(1)
  3743. if lb.Parent ~= nil and hitted == false then
  3744. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  3745. elseif lb.Parent == nil then
  3746. break
  3747. end
  3748. end
  3749. end))
  3750.  
  3751. game:GetService("Debris"):AddItem(a, 0.1)
  3752.  
  3753. coroutine.resume(coroutine.create(function()
  3754. swait(1)
  3755. lb.Touched:connect(function(hit)
  3756. if hitted == false then
  3757. hitted = true
  3758. lb.Transparency = 1
  3759. lb.Anchored = true
  3760. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3761. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3762. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3763. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3764. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3765. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3766. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3767. CameraEnshaking(1,5)
  3768. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3769. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3770. for i = 0, 9 do
  3771. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  3772. end
  3773. for i = 0, 49 do
  3774. swait()
  3775. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3776. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  3777. end
  3778. end
  3779. end)
  3780. end))
  3781. end
  3782. Overed = true
  3783. orb:Destroy()
  3784. end))
  3785.  
  3786. attack = false
  3787. end
  3788.  
  3789. function StarfallEX()
  3790. attack = true
  3791. hum.WalkSpeed = 0
  3792. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  3793. for i = 0, 10, 0.1 do
  3794. swait()
  3795. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3796. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3797. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3798. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  3799. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3800. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3801. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3802. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  3803. end
  3804. local Overed = false
  3805. CameraEnshaking(2,20)
  3806. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3807. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3808. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3809. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  3810. local orb = Instance.new("Part", char)
  3811. orb.Anchored = true
  3812. orb.BrickColor = BrickColor.new("Toothpaste")
  3813. orb.CanCollide = false
  3814. orb.FormFactor = 3
  3815. orb.Name = "Remenant"
  3816. orb.Material = "Neon"
  3817. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  3818. orb.Size = Vector3.new(1, 1, 1)
  3819. orb.Transparency = 1
  3820. orb.TopSurface = 0
  3821. orb.BottomSurface = 0
  3822. hum.WalkSpeed = storehumanoidWS
  3823. coroutine.resume(coroutine.create(function()
  3824. for i = 0, 4 do
  3825. swait(15)
  3826. local lb = Instance.new("Part")
  3827. lb.Color = MAINRUINCOLOR.Color
  3828. lb.CanCollide = false
  3829. lb.Material = "Neon"
  3830. lb.Anchored = true
  3831. lb.TopSurface = 0
  3832. lb.BottomSurface = 0
  3833. lb.Transparency = 0
  3834. lb.Size = vt(1,1,1)
  3835. lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  3836. lb.Anchored = false
  3837. lb.Parent = char
  3838. local thingery = Instance.new("SpecialMesh",lb)
  3839. thingery.MeshType = "Sphere"
  3840. thingery.Scale = vt(50,50,50)
  3841. game:GetService("Debris"):AddItem(lb, 10)
  3842. local bv = Instance.new("BodyVelocity")
  3843. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3844. bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  3845. bv.Parent = lb
  3846. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3847. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3848. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  3849. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  3850. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  3851. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  3852. local hitted = false
  3853. coroutine.resume(coroutine.create(function()
  3854. while true do
  3855. swait(1)
  3856. if lb.Parent ~= nil and hitted == false then
  3857. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),25,25,25,0.25,MAINRUINCOLOR,-2)
  3858. elseif lb.Parent == nil then
  3859. break
  3860. end
  3861. end
  3862. end))
  3863.  
  3864. game:GetService("Debris"):AddItem(a, 0.1)
  3865.  
  3866. coroutine.resume(coroutine.create(function()
  3867. swait(1)
  3868. lb.Touched:connect(function(hit)
  3869. if hitted == false then
  3870. hitted = true
  3871. lb.Transparency = 1
  3872. lb.Anchored = true
  3873. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  3874. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  3875. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  3876. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  3877. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  3878. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  3879. MagniDamage(lb, 50, 60,99, 0, "Normal")
  3880. CameraEnshaking(1,5)
  3881. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  3882. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  3883. for i = 0, 9 do
  3884. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,100,-0.1,MAINRUINCOLOR,0)
  3885. end
  3886. for i = 0, 99 do
  3887. swait()
  3888. MagniDamage(lb, 30, 6,18, 0, "Normal")
  3889. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),32,32,32,0.32,MAINRUINCOLOR,0)
  3890. end
  3891. end
  3892. end)
  3893. end))
  3894. end
  3895. Overed = true
  3896. orb:Destroy()
  3897. end))
  3898.  
  3899. attack = false
  3900. end
  3901.  
  3902. function DivineBlast()
  3903. attack = true
  3904. hum.WalkSpeed = 0
  3905. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  3906. elocacenter.Anchored = true
  3907. elocacenter.CFrame = sorb.CFrame
  3908. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3909. eloca1.Anchored = true
  3910. eloca1.CFrame = elocacenter.CFrame
  3911. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3912. eloca2.Anchored = true
  3913. eloca2.CFrame = elocacenter.CFrame
  3914. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3915. eloca3.Anchored = true
  3916. eloca3.CFrame = elocacenter.CFrame
  3917. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3918. eloca4.Anchored = true
  3919. eloca4.CFrame = elocacenter.CFrame
  3920. local lookavec = 0
  3921. local speeds = 0
  3922. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  3923. for i = 0, 3, 0.1 do
  3924. swait()
  3925. ---
  3926. lookavec = lookavec + 0.1
  3927. speeds = speeds + 10
  3928. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3929. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3930. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3931.  
  3932. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3933. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3934.  
  3935. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3936. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3937.  
  3938. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3939. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3940. ---
  3941. root.CFrame = FaceMouse()[1]
  3942. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  3943. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  3944. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3945. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  3946. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  3947. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  3948. end
  3949. for i = 0, 3, 0.1 do
  3950. swait()
  3951. ---
  3952. speeds = speeds + 10
  3953. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3954. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3955. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3956.  
  3957. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3958. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3959.  
  3960. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3961. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3962.  
  3963. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3964. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3965. ---
  3966. root.CFrame = FaceMouse()[1]
  3967. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  3968. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  3969. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3970. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  3971. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  3972. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  3973. end
  3974. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  3975. for i = 0, 3, 0.1 do
  3976. swait()
  3977. ---
  3978. speeds = speeds + 10
  3979. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3980. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3981. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3982.  
  3983. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3984. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3985.  
  3986. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3987. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3988.  
  3989. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3990. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3991. ---
  3992. root.CFrame = FaceMouse()[1]
  3993. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  3994. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  3995. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(40)),.1)
  3996. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(-40)),.1)
  3997. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  3998. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  3999. end
  4000. coroutine.resume(coroutine.create(function()
  4001. local a = Instance.new("Part",Character)
  4002. a.Name = "Direction"
  4003. a.Anchored = true
  4004. a.BrickColor = bc("White")
  4005. a.Material = "Neon"
  4006. a.Transparency = 0
  4007. a.Shape = "Cylinder"
  4008. a.CanCollide = false
  4009. local a2 = Instance.new("Part",Character)
  4010. a2.Name = "Direction"
  4011. a2.Anchored = true
  4012. a2.BrickColor = bc("Bright yellow")
  4013. a2.Material = "Neon"
  4014. a2.Transparency = 0
  4015. a2.Shape = "Cylinder"
  4016. a2.CanCollide = false
  4017. local b = Instance.new("Part",Character)
  4018. b.Name = "HitDirect"
  4019. b.Anchored = true
  4020. b.BrickColor = bc("Cool yellow")
  4021. b.Material = "Neon"
  4022. b.Transparency = 1
  4023. b.CanCollide = false
  4024. local ray = Ray.new(
  4025. elocacenter.CFrame.p, -- origin
  4026. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  4027. )
  4028. local ignore = Character
  4029. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4030. a.BottomSurface = 10
  4031. a.TopSurface = 10
  4032. a2.BottomSurface = 10
  4033. a2.TopSurface = 10
  4034. local distance = (elocacenter.CFrame.p - position).magnitude
  4035. a.Size = Vector3.new(distance, 1, 1)
  4036. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4037. a2.Size = Vector3.new(distance, 1, 1)
  4038. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4039. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4040. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4041. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4042. game:GetService("Debris"):AddItem(a, 10)
  4043. game:GetService("Debris"):AddItem(a2, 10)
  4044. game:GetService("Debris"):AddItem(b, 10)
  4045. local msh = Instance.new("SpecialMesh",a)
  4046. msh.MeshType = "Cylinder"
  4047. msh.Scale = vt(1,2,2)
  4048. local msh2 = Instance.new("SpecialMesh",a2)
  4049. msh2.MeshType = "Cylinder"
  4050. msh2.Scale = vt(1,2.5,2.5)
  4051. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  4052. coroutine.resume(coroutine.create(function()
  4053. for i = 0,10,0.1 do
  4054. swait()
  4055. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  4056. a.Transparency = a.Transparency + 0.025
  4057. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  4058. a2.Transparency = a2.Transparency + 0.05
  4059. end
  4060. a:Destroy()
  4061. a2:Destroy()
  4062. end))
  4063. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  4064. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  4065. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  4066. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  4067. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  4068. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  4069. MagniDamage(b, 25, 40,65, 0, "Normal")
  4070. for i = 0, 49 do
  4071. PixelBlock(2,math.random(10,20),"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.04,BrickColor.new("Bright yellow"),0)
  4072. PixelBlock(1,math.random(1,10),"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Bright yellow"),0)
  4073. end
  4074. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  4075. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  4076. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4077. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4078. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4079. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4080. end))
  4081. game:GetService("Debris"):AddItem(elocacenter, 5)
  4082. hum.WalkSpeed = storehumanoidWS
  4083. attack = false
  4084. end
  4085.  
  4086. function StarDivision()
  4087. attack = true
  4088. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4089. for i = 0, 2, 0.1 do
  4090. swait()
  4091. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  4092. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  4093. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4094. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  4095. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4096. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  4097. end
  4098. local orb = Instance.new("Part", char)
  4099. orb.BrickColor = MAINRUINCOLOR
  4100. orb.CanCollide = false
  4101. orb.FormFactor = 3
  4102. orb.Name = "Ring"
  4103. orb.Material = "Neon"
  4104. orb.Size = Vector3.new(1, 1, 1)
  4105. orb.Transparency = 0
  4106. orb.TopSurface = 0
  4107. orb.BottomSurface = 0
  4108. local orbm = Instance.new("SpecialMesh", orb)
  4109. orbm.MeshType = "Sphere"
  4110. orbm.Name = "SizeMesh"
  4111. orbm.Scale = vt(2,2,2)
  4112. local a = Instance.new("Part",workspace)
  4113. a.Name = "Direction"
  4114. a.Anchored = true
  4115. a.BrickColor = bc("Bright red")
  4116. a.Material = "Neon"
  4117. a.Transparency = 1
  4118. a.CanCollide = false
  4119. local ray = Ray.new(
  4120. sorb.CFrame.p, -- origin
  4121. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4122. )
  4123. local ignore = sorb
  4124. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4125. a.BottomSurface = 10
  4126. a.TopSurface = 10
  4127. local distance = (sorb.CFrame.p - position).magnitude
  4128. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4129. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4130. orb.CFrame = a.CFrame
  4131. a:Destroy()
  4132. local bv = Instance.new("BodyVelocity")
  4133. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4134. bv.velocity = orb.CFrame.lookVector*100
  4135. bv.Parent = orb
  4136. local hitted = false
  4137. game:GetService("Debris"):AddItem(orb, 10)
  4138. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4139. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4140. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4141. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4142. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4143. coroutine.resume(coroutine.create(function()
  4144. while true do
  4145. swait(1)
  4146. if orb.Parent ~= nil and hitted == false then
  4147. PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2)
  4148. elseif orb.Parent == nil then
  4149. break
  4150. end
  4151. end
  4152. end))
  4153. coroutine.resume(coroutine.create(function()
  4154. swait(1)
  4155. orb.Touched:connect(function(hit)
  4156. if hitted == false then
  4157. hitted = true
  4158. game:GetService("Debris"):AddItem(orb, 5)
  4159. orb.Transparency = 1
  4160. orb.Anchored = true
  4161. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4162. elocacenter.Anchored = true
  4163. elocacenter.CFrame = orb.CFrame
  4164. elocacenter.Orientation = vt(0,0,0)
  4165. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4166. eloca1.Anchored = true
  4167. eloca1.CFrame = elocacenter.CFrame
  4168. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4169. eloca2.Anchored = true
  4170. eloca2.CFrame = elocacenter.CFrame
  4171. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4172. eloca3.Anchored = true
  4173. eloca3.CFrame = elocacenter.CFrame
  4174. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4175. eloca4.Anchored = true
  4176. eloca4.CFrame = elocacenter.CFrame
  4177. local lookavec = 0
  4178. local speeds = 0
  4179. CameraEnshaking(1,1)
  4180. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4181. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4182. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4183. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4184. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4185. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4186. for i = 0, 99 do
  4187. swait()
  4188. lookavec = lookavec + 1
  4189. speeds = speeds + 0.1
  4190. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4191. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4192. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4193.  
  4194. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4195. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4196.  
  4197. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4198. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4199.  
  4200. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4201. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4202. end
  4203.  
  4204. for i = 0, 149 do
  4205. swait()
  4206. speeds = speeds + 0.1
  4207. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4208. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4209. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4210.  
  4211. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4212. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4213.  
  4214. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4215. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4216.  
  4217. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4218. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4219. end
  4220. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4221. if v:FindFirstChild('Head') then
  4222. dmg(v)
  4223. end
  4224. end
  4225. CameraEnshaking(7,30)
  4226. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4227. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4228. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4229. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4230. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4231. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4232. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4233. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4234. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4235. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4236. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4237. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4238. for i = 0, 24 do
  4239. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  4240. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  4241. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  4242. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  4243. end
  4244. coroutine.resume(coroutine.create(function()
  4245. for i = 0, 499 do
  4246. swait(1)
  4247. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4248. PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5)
  4249. end
  4250. elocacenter:Destroy()
  4251. eloca1:Destroy()
  4252. eloca2:Destroy()
  4253. eloca3:Destroy()
  4254. eloca4:Destroy()
  4255. end))
  4256. end
  4257. end)
  4258. end))
  4259. attack = false
  4260. end
  4261.  
  4262.  
  4263. function THE_TRUE_POWER_OF_VIOLENCE()
  4264. attack = true
  4265. hum.WalkSpeed = 0
  4266. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 2.5,0.7)
  4267. for i = 0, 10, 0.1 do
  4268. swait()
  4269. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4270. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  4271. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.4)
  4272. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(40)),.4)
  4273. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  4274. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4275. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  4276. end
  4277. local orb = Instance.new("Part", char)
  4278. orb.BrickColor = MAINRUINCOLOR
  4279. orb.CanCollide = false
  4280. orb.FormFactor = 3
  4281. orb.Name = "Ring"
  4282. orb.Material = "Neon"
  4283. orb.Size = Vector3.new(1, 1, 1)
  4284. orb.Transparency = 0
  4285. orb.TopSurface = 0
  4286. orb.BottomSurface = 0
  4287. orb.CFrame = sorb.CFrame
  4288. local orbm = Instance.new("SpecialMesh", orb)
  4289. orbm.MeshType = "Sphere"
  4290. orbm.Name = "SizeMesh"
  4291. orbm.Scale = vt(0,0,0)
  4292. local sbs = Instance.new("BodyPosition", orb)
  4293. sbs.P = 3000
  4294. sbs.D = 1000
  4295. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4296. sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  4297. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  4298. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4299. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4300. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4301. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4302. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4303. for i = 0, 10, 0.1 do
  4304. swait()
  4305. PixelBlockNeg(1,0.01,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,6,0.12,MAINRUINCOLOR,0)
  4306. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
  4307. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
  4308. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6)
  4309. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4310. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4311. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
  4312. end
  4313. orb.Anchored = true
  4314. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4315. elocacenter.Anchored = true
  4316. elocacenter.CFrame = orb.CFrame
  4317. elocacenter.Orientation = vt(0,0,0)
  4318. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4319. eloca1.Anchored = true
  4320. eloca1.CFrame = elocacenter.CFrame
  4321. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4322. eloca2.Anchored = true
  4323. eloca2.CFrame = elocacenter.CFrame
  4324. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4325. eloca3.Anchored = true
  4326. eloca3.CFrame = elocacenter.CFrame
  4327. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4328. eloca4.Anchored = true
  4329. eloca4.CFrame = elocacenter.CFrame
  4330. local lookavec = 0
  4331. local speeds = 0
  4332. CameraEnshaking(1,1)
  4333. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  4334. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  4335. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  4336. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  4337. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4338. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4339. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4340. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4341. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4342. for i = 0, 99 do
  4343. swait()
  4344. lookavec = lookavec + 2.5
  4345. speeds = speeds + 0.25
  4346. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4347. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4348. PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4349.  
  4350. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4351. PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4352.  
  4353. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4354. PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4355.  
  4356. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4357. PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4358. end
  4359.  
  4360. for i = 0, 149 do
  4361. swait()
  4362. speeds = speeds + 0.25
  4363. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4364. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4365. PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4366.  
  4367. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4368. PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4369.  
  4370. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4371. PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4372.  
  4373. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4374. PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4375. end
  4376. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  4377. for i = 0, 99 do
  4378. swait()
  4379. lookavec = lookavec - 2.5
  4380. speeds = speeds + 0.25
  4381. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4382. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4383. PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4384.  
  4385. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4386. PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4387.  
  4388. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4389. PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4390.  
  4391. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4392. PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4393. end
  4394. local scaled = 0.1*75
  4395. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  4396. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  4397. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  4398. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  4399. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  4400. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4401. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4402. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4403. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4404. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4405. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4406. for i = 0, 10, 0.1 do
  4407. swait()
  4408. scaled = scaled - 0.001*75
  4409. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4410. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4411. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
  4412. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
  4413. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6)
  4414. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4415. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4416. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
  4417. end
  4418. for x = 0, 4 do
  4419. for i = 0, 9 do
  4420. sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0)
  4421. end
  4422. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  4423. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  4424. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4425. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4426. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4427. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4428. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4429. for i = 0, 5, 0.1 do
  4430. swait()
  4431. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4432. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4433. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  4434. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  4435. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4436. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  4437. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  4438. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  4439. end
  4440. end
  4441. local speedearn = 0
  4442. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  4443. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  4444. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  4445. for i = 0, 30, 0.1 do
  4446. swait()
  4447. scaled = scaled - 0.001*75/10
  4448. speedearn = speedearn + 0.5
  4449. for i = 0, 4 do
  4450. sphereMK(1+speedearn,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4451. end
  4452. PixelBlock(1,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1*speedearn/10,1*speedearn/10,1*speedearn/10,0.02*speedearn/10,MAINRUINCOLOR,0)
  4453. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4454. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4455. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4456. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
  4457. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
  4458. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  4459. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  4460. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  4461. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  4462. end
  4463. orb.Transparency = 1
  4464. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  4465. if v:FindFirstChild('Head') then
  4466. dmg(v)
  4467. end
  4468. end
  4469. CameraEnshaking(7,30)
  4470. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  4471. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  4472. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  4473. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  4474. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  4475. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4476. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  4477. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4478. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  4479. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  4480. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  4481. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  4482. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  4483. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  4484. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4485. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4486. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4487. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4488. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4489. for i = 0, 99 do
  4490. PixelBlock(1,math.random(50,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0)
  4491. PixelBlock(2,math.random(250,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0)
  4492. end
  4493. for i = 0, 24 do
  4494. sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0)
  4495. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  4496. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  4497. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  4498. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  4499. end
  4500. game:GetService("Debris"):AddItem(orb, 10)
  4501. hum.WalkSpeed = storehumanoidWS
  4502. attack = false
  4503. end
  4504.  
  4505.  
  4506. function ViolentRing()
  4507. attack = true
  4508. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  4509. for i = 0, 2, 0.1 do
  4510. swait()
  4511. local snap = math.random(1,10)
  4512. if snap == 1 then
  4513. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(-50 + math.random(-10,10))),1)
  4514. end
  4515. PixelBlockX(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
  4516. PixelBlockNeg(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
  4517. PixelBlockX(5,0.25,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.65,0.65,0.65,0.0065,MAINRUINCOLOR,0)
  4518. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
  4519. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
  4520. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
  4521. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  4522. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  4523. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
  4524. RootPart.CFrame = FaceMouse()[1]
  4525. end
  4526. local orb = Instance.new("Part", char)
  4527. orb.BrickColor = MAINRUINCOLOR
  4528. orb.CanCollide = false
  4529. orb.FormFactor = 3
  4530. orb.Name = "Ring"
  4531. orb.Material = "Neon"
  4532. orb.Size = Vector3.new(1, 1, 1)
  4533. orb.Transparency = 0
  4534. orb.TopSurface = 0
  4535. orb.BottomSurface = 0
  4536. local orbm = Instance.new("SpecialMesh", orb)
  4537. orbm.MeshType = "Sphere"
  4538. orbm.Name = "SizeMesh"
  4539. orbm.Scale = vt(2,2,2)
  4540. orb.CFrame = mouse.Hit
  4541. local bv = Instance.new("BodyVelocity")
  4542. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4543. bv.velocity = orb.CFrame.lookVector*100
  4544. bv.Parent = orb
  4545. local hitted = false
  4546. coroutine.resume(coroutine.create(function()
  4547. game:GetService("Debris"):AddItem(orb, 5)
  4548. orb.Transparency = 1
  4549. orb.Anchored = true
  4550. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4551. elocacenter.Anchored = true
  4552. elocacenter.CFrame = orb.CFrame
  4553. elocacenter.Orientation = vt(0,0,0)
  4554. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4555. eloca1.Anchored = true
  4556. eloca1.CFrame = elocacenter.CFrame
  4557. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4558. eloca2.Anchored = true
  4559. eloca2.CFrame = elocacenter.CFrame
  4560. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4561. eloca3.Anchored = true
  4562. eloca3.CFrame = elocacenter.CFrame
  4563. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4564. eloca4.Anchored = true
  4565. eloca4.CFrame = elocacenter.CFrame
  4566. local lookavec = 0
  4567. local speeds = 0
  4568. CameraEnshaking(1,1)
  4569. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4570. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4571. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4572. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4573. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4574. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4575. for i = 0, 24 do
  4576. swait()
  4577. lookavec = lookavec + 3.5
  4578. speeds = speeds + 1
  4579. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4580. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4581. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4582.  
  4583. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4584. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4585.  
  4586. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4587. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4588.  
  4589. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4590. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4591. end
  4592.  
  4593. local risen = 0
  4594. for i = 0, 49 do
  4595. swait()
  4596. risen = risen + 0.05
  4597. speeds = speeds + 0.1
  4598. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4599. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4600. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4601.  
  4602. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4603. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4604.  
  4605. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4606. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4607.  
  4608. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4609. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4610. end
  4611. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  4612. if v:FindFirstChild('Head') then
  4613. dmg(v)
  4614. end
  4615. end
  4616. CameraEnshaking(4,10)
  4617. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  4618. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  4619. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  4620. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  4621. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  4622. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  4623. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  4624. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  4625. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4626. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4627. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4628. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4629. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4630. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  4631. for i = 0, 24 do
  4632. sphereMK(2,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.25,MAINRUINCOLOR,0)
  4633. sphereMK(4,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  4634. sphereMK(6,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  4635. sphereMK(8,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  4636. end
  4637. coroutine.resume(coroutine.create(function()
  4638. wait(10)
  4639. elocacenter:Destroy()
  4640. eloca1:Destroy()
  4641. eloca2:Destroy()
  4642. eloca3:Destroy()
  4643. eloca4:Destroy()
  4644. end))
  4645. end))
  4646. attack = false
  4647. end
  4648.  
  4649. function UniversalCollapse()
  4650. attack = true
  4651. local speedearn = 0
  4652. hum.WalkSpeed = 0
  4653. local sbs = Instance.new("BodyPosition", root)
  4654. sbs.P = 3000
  4655. sbs.D = 1000
  4656. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4657. sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  4658. CFuncs["LongSound"].Create("rbxassetid://489657591", char, 10, 1)
  4659. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4660. for i = 0, 110, 0.1 do
  4661. swait()
  4662. speedearn = speedearn + 0.1
  4663. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4664. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4665. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4666. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4667. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4668. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4669. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  4670. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  4671. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4672. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4673. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  4674. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  4675. end
  4676. CameraEnshaking(5,50)
  4677. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4678. for i = 0, 2 do
  4679. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4680. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4681. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  4682. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  4683. end
  4684. for i = 0, 49 do
  4685. sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
  4686. sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
  4687. sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
  4688. sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
  4689. end
  4690. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4691. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4692. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4693. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4694. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4695. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4696. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4697. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4698. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4699. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4700. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4701. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4702. for i = 0, 99 do
  4703. PixelBlock(1,math.random(50,1000),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0)
  4704. PixelBlock(2,math.random(250,1000),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0)
  4705. end
  4706. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  4707. if v:FindFirstChild('Head') then
  4708. dmg(v)
  4709. end
  4710. end
  4711. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  4712. sbs:Destroy()
  4713. hum.WalkSpeed = storehumanoidWS
  4714. attack = false
  4715. end
  4716.  
  4717.  
  4718. function ChaosEND()
  4719. attack = true
  4720. local speedearn = 0
  4721. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.5)
  4722. for i = 0, 15, 0.1 do
  4723. swait()
  4724. speedearn = speedearn + 0.25
  4725. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4726. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4727. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4728. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4729. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4730. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4731. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4732. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4733. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4734. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4735. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4736. end
  4737. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  4738. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4739. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 0.75)
  4740. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 0.5)
  4741. CameraEnshaking(5,25)
  4742. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4743. if v:FindFirstChild('Head') then
  4744. dmg(v)
  4745. end
  4746. end
  4747. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4748. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4749. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4750. for i = 0, 3, 0.1 do
  4751. swait()
  4752. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  4753. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  4754. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  4755. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  4756. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  4757. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  4758. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4759. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4760. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4761. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4762. end
  4763. attack = false
  4764. end
  4765.  
  4766. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4767. local orb = Instance.new("Part", char)
  4768. orb.Anchored = true
  4769. orb.BrickColor = color
  4770. orb.CanCollide = false
  4771. orb.FormFactor = 3
  4772. orb.Name = "Ring"
  4773. orb.Material = "Neon"
  4774. orb.Size = Vector3.new(1, 1, 1)
  4775. orb.Transparency = 0
  4776. orb.TopSurface = 0
  4777. orb.BottomSurface = 0
  4778. local orbm = Instance.new("SpecialMesh", orb)
  4779. orbm.MeshType = "Sphere"
  4780. orb.CFrame = positted
  4781. orbm.Name = "SizeMesh"
  4782. orbm.Scale = vt(1,1,1)
  4783. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4784. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4785. --[[for i = 0, 2 do
  4786. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  4787. end]]--
  4788. coroutine.resume(coroutine.create(function()
  4789. wait(timer)
  4790. CameraEnshaking(3,ShakePower)
  4791. orb.Transparency = 1
  4792. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4793. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4794. --[[for i = 0, 4 do
  4795. sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  4796. end]]--
  4797. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4798. wait(3)
  4799. orb:Destroy()
  4800. end))
  4801. end
  4802.  
  4803. function orb_spawn(positted,timer)
  4804. local randomcol = math.random(1,2)
  4805. local orb = Instance.new("Part", char)
  4806. orb.Anchored = true
  4807. if randomcol == 1 then
  4808. orb.BrickColor = BrickColor.new("White")
  4809. elseif randomcol == 2 then
  4810. orb.BrickColor = BrickColor.new("Really black")
  4811. end
  4812. orb.CanCollide = false
  4813. orb.FormFactor = 3
  4814. orb.Name = "Ring"
  4815. orb.Material = "Neon"
  4816. orb.Size = Vector3.new(1, 1, 1)
  4817. orb.Transparency = 0
  4818. orb.TopSurface = 0
  4819. orb.BottomSurface = 0
  4820. local orbm = Instance.new("SpecialMesh", orb)
  4821. orbm.MeshType = "Sphere"
  4822. orb.CFrame = positted
  4823. orbm.Name = "SizeMesh"
  4824. orbm.Scale = vt(1,1,1)
  4825. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  4826. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4827. for i = 0, 2 do
  4828. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  4829. end
  4830. coroutine.resume(coroutine.create(function()
  4831. wait(timer)
  4832. CameraEnshaking(3,2)
  4833. orb.Transparency = 1
  4834. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4835. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4836. for i = 0, 4 do
  4837. sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  4838. end
  4839. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  4840. wait(3)
  4841. orb:Destroy()
  4842. end))
  4843. end
  4844.  
  4845. function scattercorrupt()
  4846. attack = true
  4847. local rot = 0
  4848. local randomrotations = math.random(1,2)
  4849. local lookv = 2.5
  4850. local power = 5
  4851. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4852. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4853. for i = 0, 9 do
  4854. sphereMK(1,1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,45,-0.1,BrickColor.new("Royal purple"),0)
  4855. end
  4856. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  4857. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  4858. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  4859. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  4860. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  4861. local hite = Instance.new("Part", char)
  4862. hite.Anchored = true
  4863. hite.CanCollide = false
  4864. hite.FormFactor = 3
  4865. hite.Name = "Ring"
  4866. hite.Material = "Neon"
  4867. hite.Size = Vector3.new(1, 1, 1)
  4868. hite.Transparency = 1
  4869. hite.TopSurface = 0
  4870. hite.BottomSurface = 0
  4871. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4872. local rem = Instance.new("Part", char)
  4873. rem.Anchored = true
  4874. rem.CanCollide = false
  4875. rem.FormFactor = 3
  4876. rem.Name = "Ring"
  4877. rem.Material = "Neon"
  4878. rem.Size = Vector3.new(1, 1, 1)
  4879. rem.Transparency = 1
  4880. rem.TopSurface = 0
  4881. rem.BottomSurface = 0
  4882. rem.CFrame = hite.CFrame
  4883. local rem2 = rem:Clone()
  4884. rem2.Parent = char
  4885. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4886. local rem3 = rem:Clone()
  4887. rem3.Parent = char
  4888. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4889. local rem4 = rem:Clone()
  4890. rem4.Parent = char
  4891. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4892. hite:Destroy()
  4893. coroutine.resume(coroutine.create(function()
  4894. for i = 0, 24 do
  4895. swait(1)
  4896. if randomrotations == 1 then
  4897. rot = rot + 1
  4898. elseif randomrotations == 2 then
  4899. rot = rot - 1
  4900. end
  4901. power = power + 0.5
  4902. lookv = lookv + 7.5
  4903. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4904. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4905. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4906. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4907. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4908. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4909. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4910. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4911. end
  4912. end))
  4913. attack = false
  4914. end
  4915. function yinyangi()
  4916. attack = true
  4917. for i = 0, 2, 0.1 do
  4918. swait()
  4919. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  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(20)),.2)
  4921. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  4922. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4923. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  4924. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  4925. end
  4926. local bv = Instance.new("BodyVelocity")
  4927. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4928. bv.velocity = root.CFrame.lookVector*175
  4929. bv.Parent = root
  4930. for Rotations = 0, 9 do
  4931. for i = 0, 1, 0.5 do
  4932. swait()
  4933. bv.velocity = root.CFrame.lookVector*175
  4934. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4935. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  4936. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5)
  4937. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4938. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4939. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4940. end
  4941. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4942. for i = 0, 1, 0.5 do
  4943. swait()
  4944. bv.velocity = root.CFrame.lookVector*175
  4945. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4946. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  4947. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5)
  4948. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4949. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4950. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4951. end
  4952. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4953. for i = 0, 1, 0.5 do
  4954. swait()
  4955. bv.velocity = root.CFrame.lookVector*175
  4956. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4957. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  4958. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5)
  4959. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4960. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4961. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4962. end
  4963. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4964. for i = 0, 1, 0.5 do
  4965. swait()
  4966. bv.velocity = root.CFrame.lookVector*175
  4967. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4968. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  4969. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5)
  4970. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4971. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4972. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4973. end
  4974. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4975. end
  4976. bv:Destroy()
  4977. attack = false
  4978. end
  4979.  
  4980. function createBGCircle(size,parent,color)
  4981. local bgui = Instance.new("BillboardGui",parent)
  4982. bgui.Size = UDim2.new(size, 0, size, 0)
  4983. local imgc = Instance.new("ImageLabel",bgui)
  4984. imgc.BackgroundTransparency = 1
  4985. imgc.ImageTransparency = 0
  4986. imgc.Size = UDim2.new(1,0,1,0)
  4987. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  4988. imgc.ImageColor3 = color
  4989. return bgui,imgc
  4990. end
  4991.  
  4992. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  4993. local bgui,imgc = createBGCircle(size,guipar,color)
  4994. bgui.AlwaysOnTop = true
  4995. imgc.Image = "rbxassetid://" ..img
  4996. local rrot = math.random(1,2)
  4997. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  4998. coroutine.resume(coroutine.create(function()
  4999. for i = 0, 24*delay do
  5000. swait()
  5001. if rotationenabled == true then
  5002. if rrot == 1 then
  5003. imgc.Rotation = imgc.Rotation + rotsp
  5004. elseif rrot == 2 then
  5005. imgc.Rotation = imgc.Rotation - rotsp
  5006. end
  5007. end
  5008. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  5009. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  5010. end
  5011. bgui:Destroy()
  5012. end))
  5013. end
  5014. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  5015. for i, v in pairs(mw2:GetChildren()) do
  5016. if v:IsA("Part") then
  5017. v.BrickColor = one
  5018. v.Material = "Neon"
  5019. end
  5020. end
  5021. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  5022. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  5023. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  5024. tr1.Color = ColorSequence.new(one.Color)
  5025. tr2.Color = ColorSequence.new(one.Color)
  5026. tr3.Color = ColorSequence.new(one.Color)
  5027. for i, v in pairs(mw1:GetChildren()) do
  5028. if v:IsA("Part") then
  5029. if secondaryenabled == false then
  5030. v.Transparency = 1
  5031. elseif secondaryenabled == true then
  5032. v.Transparency = 0
  5033. end
  5034. v.BrickColor = two
  5035. v.Material = "Neon"
  5036. end
  5037. end
  5038. if secondaryenabled == false then
  5039. tl1.Enabled = false
  5040. tl2.Enabled = false
  5041. tl3.Enabled = false
  5042. elseif secondaryenabled == true then
  5043. tl1.Enabled = true
  5044. tl2.Enabled = true
  5045. tl3.Enabled = true
  5046. end
  5047. tl1.Color = ColorSequence.new(two.Color)
  5048. tl2.Color = ColorSequence.new(two.Color)
  5049. tl3.Color = ColorSequence.new(two.Color)
  5050. for i, v in pairs(m:GetChildren()) do
  5051. if v:IsA("Part") then
  5052. v.BrickColor = three
  5053. v.Material = "Ice"
  5054. end
  5055. end
  5056. for i, v in pairs(m2:GetChildren()) do
  5057. if v:IsA("Part") then
  5058. v.BrickColor = four
  5059. v.Material = "Ice"
  5060. end
  5061. end
  5062. for i, v in pairs(m3:GetChildren()) do
  5063. if v:IsA("Part") then
  5064. v.BrickColor = five
  5065. v.Material = "Neon"
  5066. end
  5067. end
  5068. for i, v in pairs(extrawingmod1:GetChildren()) do
  5069. if v:IsA("Part") then
  5070. v.Transparency = exonetran
  5071. v.BrickColor = exone
  5072. v.Material = "Neon"
  5073. end
  5074. end
  5075. for i, v in pairs(extrawingmod2:GetChildren()) do
  5076. if v:IsA("Part") then
  5077. v.Transparency = extwotran
  5078. v.BrickColor = extwo
  5079. v.Material = "Neon"
  5080. end
  5081. end
  5082. end
  5083.  
  5084.  
  5085. function normalmog()
  5086. attack = true
  5087. hum.WalkSpeed = 0
  5088. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  5089. for i = 0,6,0.1 do
  5090. swait()
  5091. 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)
  5092. 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)
  5093. 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)
  5094. 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)
  5095. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5096. 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)
  5097. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5098. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5099. end
  5100. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  5101. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  5102. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  5103. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  5104. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  5105. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  5106. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  5107. rainbowmode = false
  5108. chaosmode = false
  5109. ModeOfGlitch = 1
  5110. storehumanoidWS = 16
  5111. newTheme("rbxassetid://614032233",48.6,1,1.25)
  5112. RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  5113. CameraEnshaking(5,2.5)
  5114. MAINRUINCOLOR = BrickColor.new("Really red")
  5115. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5116. for i = 0, 49 do
  5117. 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)
  5118. end
  5119. for i = 0, 24 do
  5120. 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)
  5121. 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"))
  5122. end
  5123. for i = 0,3,0.1 do
  5124. 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)
  5125. end
  5126. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  5127. for i = 0,2,0.1 do
  5128. swait()
  5129. 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)
  5130. 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)
  5131. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  5132. 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)
  5133. 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)
  5134. 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)
  5135. end
  5136. hum.WalkSpeed = storehumanoidWS
  5137. attack = false
  5138. end
  5139.  
  5140. function attackone()
  5141. attack = true
  5142. local keptcolor = MAINRUINCOLOR
  5143. for i = 0,1,0.1 do
  5144. swait()
  5145. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  5146. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  5147. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  5148. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5149. 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)
  5150. 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)
  5151. end
  5152. local distlook = 5
  5153. coroutine.resume(coroutine.create(function()
  5154. for i = 0, 4 do
  5155. swait(2)
  5156. CameraEnshaking(2,3)
  5157. local hite = Instance.new("Part", char)
  5158. hite.Anchored = true
  5159. hite.CanCollide = false
  5160. hite.FormFactor = 3
  5161. hite.Name = "Ring"
  5162. hite.Material = "Neon"
  5163. hite.Size = Vector3.new(1, 1, 1)
  5164. hite.Transparency = 1
  5165. hite.TopSurface = 0
  5166. hite.BottomSurface = 0
  5167. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  5168. 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)
  5169. 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)
  5170. 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)
  5171. 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)
  5172. MagniDamage(hite, 9, 10,25, 0, "Normal")
  5173. for i = 0, 14 do
  5174. local rsiz = math.random(5,20)
  5175. 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)
  5176. end
  5177. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  5178. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  5179. game:GetService("Debris"):AddItem(hite, 5)
  5180. distlook = distlook + 10
  5181. end
  5182. end))
  5183. for i = 0,1,0.1 do
  5184. swait()
  5185. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  5186. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  5187. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  5188. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  5189. 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)
  5190. 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)
  5191. end
  5192. attack = false
  5193. end
  5194.  
  5195. function attacktwo()
  5196. attack = true
  5197. hum.WalkSpeed = 2
  5198. local keptcolor = MAINRUINCOLOR
  5199. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5200. 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)
  5201. 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)
  5202. for i = 0, 14 do
  5203. end
  5204. for i = 0,1,0.1 do
  5205. swait()
  5206. 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)
  5207. 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)
  5208. 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)
  5209. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5210. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  5211. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  5212. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5213. end
  5214. for i = 0, 1 do
  5215. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  5216. for i = 0,1,0.6 do
  5217. swait()
  5218. 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)
  5219. 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)
  5220. 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)
  5221. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5222. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5223. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5224. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5225. end
  5226. for i = 0,1,0.6 do
  5227. swait()
  5228. 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)
  5229. 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)
  5230. 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)
  5231. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  5232. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5233. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5234. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5235. end
  5236. for i = 0,1,0.6 do
  5237. swait()
  5238. 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)
  5239. 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)
  5240. 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)
  5241. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  5242. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5243. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5244. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5245. end
  5246. for i = 0,1,0.6 do
  5247. swait()
  5248. 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)
  5249. 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)
  5250. 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)
  5251. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  5252. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5253. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5254. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5255. end
  5256. local rot = 0
  5257. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  5258. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5259. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5260. CreateMesh(dis,"Sphere",10,1,10)
  5261. local at1 = Instance.new("Attachment",dis)
  5262. at1.Position = vt(-5,0,0)
  5263. local at2 = Instance.new("Attachment",dis)
  5264. at2.Position = vt(5,0,0)
  5265. local trl = Instance.new('Trail',wed)
  5266. trl.Attachment0 = at1
  5267. trl.Attachment1 = at2
  5268. trl.Texture = "rbxassetid://1049219073"
  5269. trl.LightEmission = 1
  5270. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5271. trl.Color = ColorSequence.new(dis.Color)
  5272. trl.Lifetime = 0.6
  5273. local a = Instance.new("Part",workspace)
  5274. a.Name = "Direction"
  5275. a.Anchored = true
  5276. a.BrickColor = bc("Bright red")
  5277. a.Material = "Neon"
  5278. a.Transparency = 1
  5279. a.CanCollide = false
  5280. local ray = Ray.new(
  5281. dis.CFrame.p, -- origin
  5282. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5283. )
  5284. local ignore = dis
  5285. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5286. a.BottomSurface = 10
  5287. a.TopSurface = 10
  5288. local distance = (dis.CFrame.p - position).magnitude
  5289. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5290. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5291. dis.CFrame = a.CFrame
  5292. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5293. a:Destroy()
  5294. local bv = Instance.new("BodyVelocity")
  5295. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5296. bv.velocity = dis.CFrame.lookVector*250
  5297. bv.Parent = dis
  5298. game:GetService("Debris"):AddItem(dis, 5)
  5299. local hitted = false
  5300. coroutine.resume(coroutine.create(function()
  5301. dis.Touched:connect(function(hit)
  5302. if hitted == false and hit.Parent ~= char then
  5303. hitted = true
  5304. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5305. MagniDamage(dis, 30, 33,56, 0, "Normal")
  5306. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5307. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5308. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5309. coroutine.resume(coroutine.create(function()
  5310. for i = 0, 9 do
  5311. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5312. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5313. local at1 = Instance.new("Attachment",disr)
  5314. at1.Position = vt(-5,0,0)
  5315. local at2 = Instance.new("Attachment",disr)
  5316. at2.Position = vt(5,0,0)
  5317. local trl = Instance.new('Trail',disr)
  5318. trl.Attachment0 = at1
  5319. trl.FaceCamera = true
  5320. trl.Attachment1 = at2
  5321. trl.Texture = "rbxassetid://2342682798"
  5322. trl.LightEmission = 1
  5323. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5324. trl.Color = ColorSequence.new(keptcolor.Color)
  5325. trl.Lifetime = 0.5
  5326. local bv = Instance.new("BodyVelocity")
  5327. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5328. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5329. bv.Parent = disr
  5330. local val = 0
  5331. coroutine.resume(coroutine.create(function()
  5332. swait(30)
  5333. for i = 0, 9 do
  5334. swait()
  5335. val = val + 0.1
  5336. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5337. end
  5338. game:GetService("Debris"):AddItem(disr, 3)
  5339. end))
  5340. end
  5341. local eff = Instance.new("ParticleEmitter",dis)
  5342. eff.Texture = "rbxassetid://2273224484"
  5343. eff.LightEmission = 1
  5344. eff.Color = ColorSequence.new(keptcolor.Color)
  5345. eff.Rate = 50
  5346. eff.Lifetime = NumberRange.new(0.5,2)
  5347. 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)})
  5348. 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)})
  5349. eff.Speed = NumberRange.new(20,250)
  5350. eff.Drag = 5
  5351. eff.Rotation = NumberRange.new(-500,500)
  5352. eff.VelocitySpread = 9000
  5353. eff.RotSpeed = NumberRange.new(-50,50)
  5354. wait(0.25)
  5355. eff.Enabled = false
  5356. end))
  5357. for i = 0, 9 do
  5358. end
  5359. for i = 0, 19 do
  5360. end
  5361. coroutine.resume(coroutine.create(function()
  5362. for i = 0, 19 do
  5363. swait()
  5364. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5365. end
  5366. hum.CameraOffset = vt(0,0,0)
  5367. end))
  5368. dis.Anchored = true
  5369. dis.Transparency = 1
  5370. wait(8)
  5371. dis:Destroy()
  5372. end
  5373. end)
  5374. end))
  5375. rot = rot - 15
  5376. end
  5377. for i = 0,2,0.1 do
  5378. swait()
  5379. 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)
  5380. 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)
  5381. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5382. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  5383. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5384. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5385. end
  5386. attack = false
  5387. hum.WalkSpeed = storehumanoidWS
  5388. end
  5389.  
  5390. function attackthree()
  5391. attack = true
  5392. local keptcolor = MAINRUINCOLOR
  5393. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  5394. for i = 0,2,0.1 do
  5395. swait()
  5396. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5397. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  5398. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  5399. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  5400. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  5401. 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)
  5402. 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)
  5403. end
  5404. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  5405. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  5406. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  5407. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  5408. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5409. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  5410. for i = 0, 24 do
  5411. end
  5412. for i = 0,4,0.1 do
  5413. swait()
  5414. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  5415. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5416. CreateMesh(dis,"Sphere",1,1,1)
  5417. dis.Anchored = true
  5418. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5419. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5420. coroutine.resume(coroutine.create(function()
  5421. swait(30)
  5422. dis.Transparency = 1
  5423. coroutine.resume(coroutine.create(function()
  5424. for i = 0, 19 do
  5425. swait()
  5426. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5427. end
  5428. hum.CameraOffset = vt(0,0,0)
  5429. end))
  5430. coroutine.resume(coroutine.create(function()
  5431. local eff = Instance.new("ParticleEmitter",dis)
  5432. eff.Texture = "rbxassetid://2273224484"
  5433. eff.LightEmission = 1
  5434. eff.Color = ColorSequence.new(dis.Color)
  5435. eff.Rate = 500000
  5436. eff.Lifetime = NumberRange.new(0.5,2)
  5437. 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)})
  5438. 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)})
  5439. eff.Speed = NumberRange.new(50,450)
  5440. eff.Drag = 5
  5441. eff.Rotation = NumberRange.new(-500,500)
  5442. eff.VelocitySpread = 9000
  5443. eff.RotSpeed = NumberRange.new(-50,50)
  5444. wait(0.125)
  5445. eff.Enabled = false
  5446. end))
  5447. MagniDamage(dis, 30, 45,50, 0, "Normal")
  5448. for i = 0, 2 do
  5449. --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)
  5450. end
  5451. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  5452. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  5453. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  5454. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  5455. end))
  5456. game:GetService("Debris"):AddItem(dis, 5)
  5457. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  5458. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  5459. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  5460. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  5461. 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)
  5462. 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)
  5463. end
  5464. attack = false
  5465. end
  5466. ----------------------------------- Abilities
  5467.  
  5468. function ExtinctiveHeartbreak()
  5469. local targetted = nil
  5470. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5471. targetted = mouse.Target.Parent
  5472. end
  5473. if targetted ~= nil then
  5474. attack = true
  5475. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5476. for i = 0, 9 do
  5477. --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)
  5478. end
  5479. for i = 0, 24 do
  5480. --
  5481. end
  5482. --sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5483. local originalpos = root.CFrame
  5484. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5485. for i = 0, 9 do
  5486. --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)
  5487. end
  5488. for i = 0, 24 do
  5489. end
  5490. hum.WalkSpeed = 0
  5491. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5492. local radm = math.random(1,3)
  5493. if radm == 1 then
  5494. --bosschatfunc("YOU WON'T BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  5495. elseif radm == 2 then
  5496. --bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  5497. elseif radm == 3 then
  5498. --bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  5499. end
  5500. for i = 0,2,0.1 do
  5501. swait()
  5502. 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)
  5503. 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)
  5504. 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)
  5505. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5506. 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)
  5507. 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)
  5508. end
  5509. CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
  5510. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
  5511. for i = 0,2,0.1 do
  5512. swait()
  5513. coroutine.resume(coroutine.create(function()
  5514. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5515. for i,v in pairs(targetted:GetChildren()) do
  5516. if v:IsA("Part") or v:IsA("MeshPart") then
  5517. v.Velocity = vt(0,0,0)
  5518. end
  5519. end
  5520. end))
  5521. 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)
  5522. 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)
  5523. 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)
  5524. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5525. 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)
  5526. 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)
  5527. end
  5528. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
  5529. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
  5530. for i = 0, 1 do
  5531. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
  5532. end
  5533. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
  5534. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  5535. for i = 0,4,0.1 do
  5536. swait()
  5537. coroutine.resume(coroutine.create(function()
  5538. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5539. 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)))
  5540. local at1 = Instance.new("Attachment",dis)
  5541. at1.Position = vt(-25000,0,0)
  5542. local at2 = Instance.new("Attachment",dis)
  5543. at2.Position = vt(25000,0,0)
  5544. local trl = Instance.new('Trail',dis)
  5545. trl.Attachment0 = at1
  5546. trl.FaceCamera = true
  5547. trl.Attachment1 = at2
  5548. trl.Texture = "rbxassetid://1049219073"
  5549. trl.LightEmission = 1
  5550. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5551. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  5552. trl.Lifetime = 5
  5553. local bv = Instance.new("BodyVelocity")
  5554. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5555. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5556. bv.Parent = dis
  5557. game:GetService("Debris"):AddItem(dis, 5)
  5558. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5559. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  5560. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  5561. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  5562. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  5563. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  5564. 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)
  5565. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  5566. for i = 0, 2 do
  5567. --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"))
  5568. end
  5569. 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)
  5570. for i,v in pairs(targetted:GetChildren()) do
  5571. if v:IsA("Part") or v:IsA("MeshPart") then
  5572. v.Velocity = vt(0,0,0)
  5573. end
  5574. end
  5575. end))
  5576. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  5577. 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)
  5578. 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)
  5579. 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)
  5580. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  5581. 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)
  5582. 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)
  5583. end
  5584. hum.CameraOffset = vt(0,0,0)
  5585. for i = 0, 49 do
  5586. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5587. 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)))
  5588. local at1 = Instance.new("Attachment",dis)
  5589. at1.Position = vt(-50000,0,0)
  5590. local at2 = Instance.new("Attachment",dis)
  5591. at2.Position = vt(50000,0,0)
  5592. local trl = Instance.new('Trail',dis)
  5593. trl.Attachment0 = at1
  5594. trl.FaceCamera = true
  5595. trl.Attachment1 = at2
  5596. trl.Texture = "rbxassetid://1049219073"
  5597. trl.LightEmission = 1
  5598. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5599. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  5600. trl.Lifetime = 5
  5601. local bv = Instance.new("BodyVelocity")
  5602. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5603. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5604. bv.Parent = dis
  5605. game:GetService("Debris"):AddItem(dis, 5)
  5606. end
  5607. for i = 0, 49 do
  5608. 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)
  5609. --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"))
  5610. end
  5611. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  5612. for i = 0, 1 do
  5613. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  5614. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  5615. end
  5616. for i = 0, 4 do
  5617. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  5618. end
  5619. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  5620. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  5621. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  5622. dmg(targetted)
  5623. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5624. for i = 0, 9 do
  5625. --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)
  5626. end
  5627. for i = 0, 24 do
  5628. end
  5629. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5630. root.CFrame = originalpos
  5631. for i = 0, 9 do
  5632. --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)
  5633. end
  5634. for i = 0, 24 do
  5635. end
  5636. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5637. attack = false
  5638. hum.WalkSpeed = storehumanoidWS
  5639. end
  5640. end
  5641.  
  5642. function CorruptionEvent()
  5643. attack = true
  5644. hum.WalkSpeed = 0
  5645. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5646. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5647. local keptcolor = MAINRUINCOLOR
  5648. for i = 0,4,0.1 do
  5649. swait()
  5650. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5651. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5652. 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)
  5653. 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)
  5654. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  5655. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  5656. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  5657. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5658. end
  5659. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5660. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  5661. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  5662. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5663. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5664. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5665. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5666. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  5667. hum.CameraOffset = vt(0,0,0)
  5668. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5669. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5670. for i = 0, 24 do
  5671. --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"))
  5672. end
  5673. local rrot = 0
  5674. coroutine.resume(coroutine.create(function()
  5675. for i = 0, 4 do
  5676. rrot = rrot + 45
  5677. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5678. xa.Anchored = true
  5679. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5680. xb.Anchored = true
  5681. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5682. xc.Anchored = true
  5683. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5684. xd.Anchored = true
  5685. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  5686. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  5687. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  5688. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  5689. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  5690. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  5691. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  5692. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  5693. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  5694. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  5695. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  5696. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  5697. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  5698. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  5699. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  5700. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  5701. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5702. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5703. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5704. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5705. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5706. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5707. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5708. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5709. 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)
  5710. 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)
  5711. 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)
  5712. 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)
  5713. 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))
  5714. 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))
  5715. 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))
  5716. 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))
  5717. game:GetService("Debris"):AddItem(xa, 5)
  5718. game:GetService("Debris"):AddItem(xb, 5)
  5719. game:GetService("Debris"):AddItem(xc, 5)
  5720. game:GetService("Debris"):AddItem(xd, 5)
  5721. coroutine.resume(coroutine.create(function()
  5722. for i = 0, 19 do
  5723. swait()
  5724. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5725. end
  5726. hum.CameraOffset = vt(0,0,0)
  5727. end))
  5728. swait(9)
  5729. end
  5730. end))
  5731. for i = 0,2,0.1 do
  5732. swait()
  5733. 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)
  5734. 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)
  5735. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  5736. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  5737. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  5738. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5739. end
  5740. attack = false
  5741. hum.WalkSpeed = storehumanoidWS
  5742. end
  5743.  
  5744. function EndGROUND()
  5745. attack = true
  5746. hum.WalkSpeed = 0
  5747. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  5748. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5749. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5750. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  5751. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  5752. local keptcolor = MAINRUINCOLOR
  5753. for i = 0,4,0.1 do
  5754. swait()
  5755. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5756. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5757. --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"))
  5758. 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)
  5759. 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)
  5760. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  5761. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  5762. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  5763. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5764. end
  5765. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5766. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5767. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5768. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5769. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  5770. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  5771. coroutine.resume(coroutine.create(function()
  5772. local shval = 10
  5773. for i = 0, 99 do
  5774. swait()
  5775. shval = shval - 0.1
  5776. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  5777. end
  5778. hum.CameraOffset = vt(0,0,0)
  5779. end))
  5780. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5781. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5782. for i = 0, 24 do
  5783. --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"))
  5784. end
  5785. local rrot = 0
  5786. local xam = 1
  5787. coroutine.resume(coroutine.create(function()
  5788. for i = 0, 14 do
  5789. --swait()
  5790. rrot = rrot + 40*xam
  5791. xam = xam + 0.25
  5792. local bonus = xam
  5793. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  5794. xa.Anchored = true
  5795. xa.Color = Color3.new(0,0,0)
  5796. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  5797. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  5798. local xc = 0
  5799. coroutine.resume(coroutine.create(function()
  5800. for i = 0, 99 do
  5801. swait()
  5802. xc = xc + 0.01
  5803. xa.Color = Color3.new(xc,0,0)
  5804. end
  5805. xa.Transparency = 1
  5806. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  5807. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  5808. for i = 0, 9 do
  5809. --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"))
  5810. end
  5811. 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)
  5812. 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)
  5813. 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))
  5814. game:GetService("Debris"):AddItem(xa, 5)
  5815. coroutine.resume(coroutine.create(function()
  5816. for i = 0, 19 do
  5817. swait()
  5818. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5819. end
  5820. hum.CameraOffset = vt(0,0,0)
  5821. end))
  5822. end))
  5823. end
  5824. end))
  5825. for i = 0,2,0.1 do
  5826. swait()
  5827. 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)
  5828. 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)
  5829. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  5830. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  5831. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  5832. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5833. end
  5834. attack = false
  5835. hum.WalkSpeed = storehumanoidWS
  5836. end
  5837.  
  5838. function HeavenlyDisk()
  5839. attack = true
  5840. hum.WalkSpeed = 2
  5841. local keptcolor = MAINRUINCOLOR
  5842. local radm = math.random(1,3)
  5843. if radm == 1 then
  5844. --bosschatfunc("Don't make this too easy for you.",MAINRUINCOLOR.Color,1)
  5845. elseif radm == 2 then
  5846. --bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
  5847. elseif radm == 3 then
  5848. --bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  5849. end
  5850. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5851. CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
  5852. for i = 0, 14 do
  5853. --
  5854. end
  5855. for i = 0,2,0.1 do
  5856. swait()
  5857. 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)
  5858. 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)
  5859. 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)
  5860. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5861. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  5862. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  5863. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5864. end
  5865. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  5866. for i = 0,1,0.6 do
  5867. swait()
  5868. 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)
  5869. --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"))
  5870. 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)
  5871. 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)
  5872. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5873. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5874. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5875. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5876. end
  5877. for i = 0,1,0.6 do
  5878. swait()
  5879. 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)
  5880. --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"))
  5881. 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)
  5882. 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)
  5883. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  5884. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5885. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5886. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5887. end
  5888. for i = 0,1,0.6 do
  5889. swait()
  5890. 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)
  5891. --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"))
  5892. 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)
  5893. 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)
  5894. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  5895. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5896. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5897. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5898. end
  5899. for i = 0,1,0.6 do
  5900. swait()
  5901. 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)
  5902. --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"))
  5903. 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)
  5904. 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)
  5905. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  5906. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5907. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5908. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5909. end
  5910. local rot = 15
  5911. for i = 0, 2 do
  5912. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  5913. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5914. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5915. CreateMesh(dis,"Sphere",10,1,10)
  5916. local at1 = Instance.new("Attachment",dis)
  5917. at1.Position = vt(-5,0,0)
  5918. local at2 = Instance.new("Attachment",dis)
  5919. at2.Position = vt(5,0,0)
  5920. local trl = Instance.new('Trail',wed)
  5921. trl.Attachment0 = at1
  5922. trl.Attachment1 = at2
  5923. trl.Texture = "rbxassetid://1049219073"
  5924. trl.LightEmission = 1
  5925. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5926. trl.Color = ColorSequence.new(dis.Color)
  5927. trl.Lifetime = 0.6
  5928. local a = Instance.new("Part",workspace)
  5929. a.Name = "Direction"
  5930. a.Anchored = true
  5931. a.BrickColor = bc("Bright red")
  5932. a.Material = "Neon"
  5933. a.Transparency = 1
  5934. a.CanCollide = false
  5935. local ray = Ray.new(
  5936. dis.CFrame.p, -- origin
  5937. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5938. )
  5939. local ignore = dis
  5940. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5941. a.BottomSurface = 10
  5942. a.TopSurface = 10
  5943. local distance = (dis.CFrame.p - position).magnitude
  5944. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5945. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5946. dis.CFrame = a.CFrame
  5947. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5948. a:Destroy()
  5949. local bv = Instance.new("BodyVelocity")
  5950. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5951. bv.velocity = dis.CFrame.lookVector*250
  5952. bv.Parent = dis
  5953. game:GetService("Debris"):AddItem(dis, 5)
  5954. local hitted = false
  5955. coroutine.resume(coroutine.create(function()
  5956. dis.Touched:connect(function(hit)
  5957. if hitted == false and hit.Parent ~= char then
  5958. hitted = true
  5959. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5960. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  5961. --sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5962. --sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5963. --sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  5964. coroutine.resume(coroutine.create(function()
  5965. for i = 0, 9 do
  5966. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5967. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5968. local at1 = Instance.new("Attachment",disr)
  5969. at1.Position = vt(-2,0,0)
  5970. local at2 = Instance.new("Attachment",disr)
  5971. at2.Position = vt(2,0,0)
  5972. local trl = Instance.new('Trail',disr)
  5973. trl.Attachment0 = at1
  5974. trl.FaceCamera = true
  5975. trl.Attachment1 = at2
  5976. trl.Texture = "rbxassetid://2342682798"
  5977. trl.LightEmission = 1
  5978. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5979. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  5980. trl.Lifetime = 0.5
  5981. local bv = Instance.new("BodyVelocity")
  5982. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5983. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5984. bv.Parent = disr
  5985. local val = 0
  5986. coroutine.resume(coroutine.create(function()
  5987. swait(30)
  5988. for i = 0, 9 do
  5989. swait()
  5990. val = val + 0.1
  5991. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5992. end
  5993. game:GetService("Debris"):AddItem(disr, 3)
  5994. end))
  5995. end
  5996. local eff = Instance.new("ParticleEmitter",dis)
  5997. eff.Texture = "rbxassetid://2273224484"
  5998. eff.LightEmission = 1
  5999. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6000. eff.Rate = 500000
  6001. eff.Lifetime = NumberRange.new(0.5,2)
  6002. 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)})
  6003. 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)})
  6004. eff.Speed = NumberRange.new(20,250)
  6005. eff.Drag = 5
  6006. eff.Rotation = NumberRange.new(-500,500)
  6007. eff.VelocitySpread = 9000
  6008. eff.RotSpeed = NumberRange.new(-50,50)
  6009. wait(0.25)
  6010. eff.Enabled = false
  6011. end))
  6012. for i = 0, 9 do
  6013. --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"))
  6014. end
  6015. for i = 0, 19 do
  6016. --
  6017. end
  6018. coroutine.resume(coroutine.create(function()
  6019. for i = 0, 19 do
  6020. swait()
  6021. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6022. end
  6023. hum.CameraOffset = vt(0,0,0)
  6024. end))
  6025. dis.Anchored = true
  6026. dis.Transparency = 1
  6027. wait(8)
  6028. dis:Destroy()
  6029. end
  6030. end)
  6031. end))
  6032. rot = rot - 15
  6033. end
  6034. for i = 0,2,0.1 do
  6035. swait()
  6036. 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)
  6037. 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)
  6038. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6039. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  6040. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6041. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6042. end
  6043. attack = false
  6044. hum.WalkSpeed = storehumanoidWS
  6045. end
  6046.  
  6047. function RapidBurst()
  6048. attack = true
  6049. hum.WalkSpeed = 0
  6050. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6051. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  6052. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  6053. bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2)
  6054. local keptcolor = MAINRUINCOLOR
  6055. for i = 0,8,0.1 do
  6056. swait()
  6057. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6058. --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())
  6059. 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)
  6060. 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)
  6061. 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)
  6062. 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)
  6063. 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)
  6064. 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)
  6065. 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)
  6066. end
  6067. for i = 0, 99 do
  6068. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6069. 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)))
  6070. local at1 = Instance.new("Attachment",dis)
  6071. at1.Position = vt(-25000,0,0)
  6072. local at2 = Instance.new("Attachment",dis)
  6073. at2.Position = vt(25000,0,0)
  6074. local trl = Instance.new('Trail',dis)
  6075. trl.Attachment0 = at1
  6076. trl.FaceCamera = true
  6077. trl.Attachment1 = at2
  6078. trl.Texture = "rbxassetid://1049219073"
  6079. trl.LightEmission = 1
  6080. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6081. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6082. trl.Lifetime = 5
  6083. local bv = Instance.new("BodyVelocity")
  6084. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6085. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6086. bv.Parent = dis
  6087. game:GetService("Debris"):AddItem(dis, 5)
  6088. end
  6089. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6090. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6091. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6092. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6093. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6094. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6095. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6096. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6097. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6098. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6099. hum.CameraOffset = vt(0,0,0)
  6100. for i = 0, 24 do
  6101. --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())
  6102. end
  6103. local distam = 0
  6104. coroutine.resume(coroutine.create(function()
  6105. for i = 0, 99 do
  6106. wait()
  6107. distam = distam + 1
  6108. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6109. xa.Anchored = true
  6110. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6111. game:GetService("Debris"):AddItem(xa, 5)
  6112. for i = 0, 4 do
  6113. --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())
  6114. end
  6115. coroutine.resume(coroutine.create(function()
  6116. local eff = Instance.new("ParticleEmitter",xa)
  6117. eff.Texture = "rbxassetid://2273224484"
  6118. eff.LightEmission = 1
  6119. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6120. eff.Rate = 500000
  6121. eff.Lifetime = NumberRange.new(1,3)
  6122. 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)})
  6123. 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)})
  6124. eff.Speed = NumberRange.new(50,500)
  6125. eff.Drag = 5
  6126. eff.Rotation = NumberRange.new(-500,500)
  6127. eff.VelocitySpread = 9000
  6128. eff.RotSpeed = NumberRange.new(-50,50)
  6129. wait(0.25)
  6130. eff.Enabled = false
  6131. end))
  6132. coroutine.resume(coroutine.create(function()
  6133. for i = 0, 19 do
  6134. swait()
  6135. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6136. end
  6137. hum.CameraOffset = vt(0,0,0)
  6138. end))
  6139. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6140. --sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6141. --sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6142. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6143. end
  6144. end))
  6145. attack = false
  6146. hum.WalkSpeed = storehumanoidWS
  6147. end
  6148.  
  6149.  
  6150. function FallenOrbs()
  6151. attack = true
  6152. hum.WalkSpeed = 2
  6153. local keptcolor = MAINRUINCOLOR
  6154. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1)
  6155. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1)
  6156. local radm = math.random(1,3)
  6157. if radm == 1 then
  6158. bosschatfunc("STOP YOU ABUSER!",MAINRUINCOLOR.Color,1)
  6159. elseif radm == 2 then
  6160. bosschatfunc("go ahead.",MAINRUINCOLOR.Color,1)
  6161. elseif radm == 3 then
  6162. bosschatfunc("ENOUGH!",MAINRUINCOLOR.Color,1)
  6163. end
  6164. coroutine.resume(coroutine.create(function()
  6165. for i = 0, 29 do
  6166. swait(2)
  6167. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  6168. dis.Anchored = true
  6169. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  6170. dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
  6171. CreateMesh(dis,"Sphere",2,2,2)
  6172. --sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6173. --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"))
  6174. coroutine.resume(coroutine.create(function()
  6175. wait(0.5)
  6176. dis.Anchored = false
  6177. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
  6178. local at1 = Instance.new("Attachment",dis)
  6179. at1.Position = vt(-1,0,0)
  6180. local at2 = Instance.new("Attachment",dis)
  6181. at2.Position = vt(1,0,0)
  6182. local trl = Instance.new('Trail',dis)
  6183. trl.Attachment0 = at1
  6184. trl.FaceCamera = true
  6185. trl.Attachment1 = at2
  6186. trl.Texture = "rbxassetid://1049219073"
  6187. trl.LightEmission = 1
  6188. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6189. trl.Color = ColorSequence.new(dis.Color)
  6190. trl.Lifetime = 0.6
  6191. local a = Instance.new("Part",workspace)
  6192. a.Name = "Direction"
  6193. a.Anchored = true
  6194. a.BrickColor = bc("Bright red")
  6195. a.Material = "Neon"
  6196. a.Transparency = 1
  6197. a.CanCollide = false
  6198. local ray = Ray.new(
  6199. dis.CFrame.p, -- origin
  6200. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6201. )
  6202. local ignore = dis
  6203. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6204. a.BottomSurface = 10
  6205. a.TopSurface = 10
  6206. local distance = (dis.CFrame.p - position).magnitude
  6207. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6208. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6209. dis.CFrame = a.CFrame
  6210. a:Destroy()
  6211. local bv = Instance.new("BodyVelocity")
  6212. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6213. bv.velocity = dis.CFrame.lookVector*500
  6214. bv.Parent = dis
  6215. game:GetService("Debris"):AddItem(dis, 5)
  6216. local hitted = false
  6217. coroutine.resume(coroutine.create(function()
  6218. dis.Touched:connect(function(hit)
  6219. if hitted == false and hit.Parent ~= char then
  6220. hitted = true
  6221. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
  6222. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  6223. --sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
  6224. --sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  6225. coroutine.resume(coroutine.create(function()
  6226. for i = 0, 4 do
  6227. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6228. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6229. local at1 = Instance.new("Attachment",disr)
  6230. at1.Position = vt(-10,0,0)
  6231. local at2 = Instance.new("Attachment",disr)
  6232. at2.Position = vt(10,0,0)
  6233. local trl = Instance.new('Trail',disr)
  6234. trl.Attachment0 = at1
  6235. trl.FaceCamera = true
  6236. trl.Attachment1 = at2
  6237. trl.Texture = "rbxassetid://2342682798"
  6238. trl.LightEmission = 1
  6239. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6240. trl.Color = ColorSequence.new(disr.Color)
  6241. trl.Lifetime = 0.5
  6242. local bv = Instance.new("BodyVelocity")
  6243. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6244. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  6245. bv.Parent = disr
  6246. local val = 0
  6247. coroutine.resume(coroutine.create(function()
  6248. swait(30)
  6249. for i = 0, 9 do
  6250. swait()
  6251. val = val + 0.1
  6252. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6253. end
  6254. game:GetService("Debris"):AddItem(disr, 3)
  6255. end))
  6256. end
  6257. local eff = Instance.new("ParticleEmitter",dis)
  6258. eff.Texture = "rbxassetid://2273224484"
  6259. eff.LightEmission = 1
  6260. eff.Color = ColorSequence.new(dis.Color)
  6261. eff.Rate = 500000
  6262. eff.Lifetime = NumberRange.new(0.5,2)
  6263. 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)})
  6264. 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)})
  6265. eff.Speed = NumberRange.new(20,250)
  6266. eff.Drag = 5
  6267. eff.Rotation = NumberRange.new(-500,500)
  6268. eff.VelocitySpread = 9000
  6269. eff.RotSpeed = NumberRange.new(-50,50)
  6270. wait(0.5)
  6271. eff.Enabled = false
  6272. end))
  6273. for i = 0, 4 do
  6274. --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"))
  6275. end
  6276. coroutine.resume(coroutine.create(function()
  6277. for i = 0, 19 do
  6278. swait()
  6279. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6280. end
  6281. hum.CameraOffset = vt(0,0,0)
  6282. end))
  6283. dis.Anchored = true
  6284. dis.Transparency = 1
  6285. wait(8)
  6286. dis:Destroy()
  6287. end
  6288. end)
  6289. end))
  6290. end))
  6291. end
  6292. end))
  6293. for i = 0,9,0.1 do
  6294. swait()
  6295. 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)
  6296. 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)
  6297. 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)
  6298. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(90)),.3)
  6299. 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)
  6300. 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)
  6301. 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)
  6302. end
  6303. attack = false
  6304. hum.WalkSpeed = storehumanoidWS
  6305. end
  6306.  
  6307. function EquinoxOrbs()
  6308. hum.WalkSpeed = 0
  6309. attack = true
  6310. for i = 0,1,0.1 do
  6311. swait()
  6312. 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)
  6313. 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)
  6314. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6315. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6316. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6317. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6318. end
  6319. --sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6320. --sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6321. for i = 0, 24 do
  6322. --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"))
  6323. end
  6324. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6325. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6326. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6327. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6328. for i = 0,4,0.1 do
  6329. swait()
  6330. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  6331. local dis = CreateParta(char,0.25,1,"ForceField",MAINRUINCOLOR)
  6332. CreateMesh(dis,"Sphere",1,1,1)
  6333. dis.Anchored = true
  6334. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  6335. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new(107, 50, 124))
  6336. CreateMesh(dis2,"Sphere",1,1,1)
  6337. dis2.Anchored = true
  6338. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  6339. --sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6340. --sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  6341. coroutine.resume(coroutine.create(function()
  6342. swait(60)
  6343. dis.Transparency = 1
  6344. dis2.Transparency = 1
  6345. coroutine.resume(coroutine.create(function()
  6346. for i = 0, 19 do
  6347. swait()
  6348. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  6349. end
  6350. hum.CameraOffset = vt(0,0,0)
  6351. end))
  6352. coroutine.resume(coroutine.create(function()
  6353. local eff = Instance.new("ParticleEmitter",dis)
  6354. eff.Texture = "rbxassetid://2273224484"
  6355. eff.LightEmission = 1
  6356. eff.Color = ColorSequence.new(dis.Color)
  6357. eff.Rate = 500000
  6358. eff.Lifetime = NumberRange.new(0.5,2)
  6359. 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)})
  6360. 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)})
  6361. eff.Speed = NumberRange.new(50,450)
  6362. eff.Drag = 5
  6363. eff.Rotation = NumberRange.new(-500,500)
  6364. eff.VelocitySpread = 9000
  6365. eff.RotSpeed = NumberRange.new(-50,50)
  6366. local eff2 = eff:Clone()
  6367. eff2.Parent = dis2
  6368. eff2.LightEmission = 0
  6369. eff2.Color = ColorSequence.new(dis2.Color)
  6370. wait(0.25)
  6371. eff.Enabled = false
  6372. eff2.Enabled = false
  6373. end))
  6374. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  6375. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  6376. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  6377. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  6378. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  6379. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  6380. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  6381. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  6382. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  6383. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  6384. end))
  6385. game:GetService("Debris"):AddItem(dis, 5)
  6386. game:GetService("Debris"):AddItem(dis2, 5)
  6387. 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)
  6388. 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)
  6389. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6390. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6391. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  6392. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  6393. end
  6394. attack = false
  6395. hum.WalkSpeed = storehumanoidWS
  6396. end
  6397. function FallenDEMISE()
  6398. attack = true
  6399. hum.WalkSpeed = 0
  6400. local keptcolor = MAINRUINCOLOR
  6401. --bosschatfunc("BEGONE!",MAINRUINCOLOR.Color,3)
  6402. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  6403. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  6404. for i = 0, 15, 0.1 do
  6405. swait()
  6406. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6407. 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)))
  6408. local at1 = Instance.new("Attachment",dis)
  6409. at1.Position = vt(-25000,0,0)
  6410. local at2 = Instance.new("Attachment",dis)
  6411. at2.Position = vt(25000,0,0)
  6412. local trl = Instance.new('Trail',dis)
  6413. trl.Attachment0 = at1
  6414. trl.FaceCamera = true
  6415. trl.Attachment1 = at2
  6416. trl.Texture = "rbxassetid://1049219073"
  6417. trl.LightEmission = 1
  6418. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6419. trl.Color = ColorSequence.new(dis.Color)
  6420. trl.Lifetime = 5
  6421. local bv = Instance.new("BodyVelocity")
  6422. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6423. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6424. bv.Parent = dis
  6425. game:GetService("Debris"):AddItem(dis, 1)
  6426. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  6427. --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"))
  6428. --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"))
  6429. 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)
  6430. 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)
  6431. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6432. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6433. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6434. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6435. end
  6436. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  6437. for i = 0, 30, 0.1 do
  6438. swait()
  6439. coroutine.resume(coroutine.create(function()
  6440. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  6441. if v:FindFirstChild('Head') then
  6442. dmg(v)
  6443. end
  6444. end
  6445. end))
  6446. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6447. 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)))
  6448. local at1 = Instance.new("Attachment",dis)
  6449. at1.Position = vt(-50000,0,0)
  6450. local at2 = Instance.new("Attachment",dis)
  6451. at2.Position = vt(50000,0,0)
  6452. local trl = Instance.new('Trail',dis)
  6453. trl.Attachment0 = at1
  6454. trl.FaceCamera = true
  6455. trl.Attachment1 = at2
  6456. trl.Texture = "rbxassetid://1049219073"
  6457. trl.LightEmission = 1
  6458. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6459. trl.Color = ColorSequence.new(dis.Color)
  6460. trl.Lifetime = 10
  6461. local bv = Instance.new("BodyVelocity")
  6462. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6463. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  6464. bv.Parent = dis
  6465. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  6466. --sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  6467. --sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  6468. --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"))
  6469. --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"))
  6470. --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"))
  6471. --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"))
  6472. for i = 0, 2 do
  6473. --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)
  6474. end
  6475. 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)
  6476. 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)
  6477. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6478. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6479. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6480. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6481. end
  6482. attack = false
  6483. hum.WalkSpeed = storehumanoidWS
  6484. end
  6485. -------------------------------------
  6486.  
  6487. Humanoid.Animator.Parent = nil
  6488.  
  6489. -------------------------------------
  6490.  
  6491. local attacktype = 1
  6492. mouse.Button1Down:connect(function()
  6493. if attack == false and attacktype == 1 then
  6494. attacktype = 2
  6495. attackone()
  6496. elseif attack == false and attacktype == 2 then
  6497. attacktype = 3
  6498. attacktwo()
  6499. elseif attack == false and attacktype == 3 then
  6500. attacktype = 1
  6501. attackthree()
  6502. elseif attack == false and attacktype == 4 then
  6503. attacktype = 1
  6504. --attackfour()
  6505. end
  6506. end)
  6507. mouse.KeyDown:connect(function(k)
  6508. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  6509. --normalmog() ---Disabled due to crashing... only in VSB
  6510. ModeOfGlitch = 1
  6511. storehumanoidWS = 16
  6512. hum.WalkSpeed = 16
  6513. rainbowmode = false
  6514. chaosmode = false
  6515. newTheme("rbxassetid://901988929",48.6,1,1.25)
  6516. RecolorTextAndRename("Bl00D",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  6517. MAINRUINCOLOR = BrickColor.new("Dark red")
  6518. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  6519. end
  6520. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  6521. ModeOfGlitch = 2
  6522. storehumanoidWS = 16
  6523. hum.WalkSpeed = 16
  6524. rainbowmode = false
  6525. chaosmode = false
  6526. RecolorTextAndRename("blue-tech",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  6527. newTheme("rbxassetid://136349537",0,1,1.25)
  6528. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  6529. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6530. end
  6531. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  6532. ModeOfGlitch = 3
  6533. storehumanoidWS = 16
  6534. hum.WalkSpeed = 16
  6535. rainbowmode = false
  6536. chaosmode = false
  6537. RecolorTextAndRename("void",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  6538. newTheme("rbxassetid://3513523388",58.15,0.98,1.25)
  6539. MAINRUINCOLOR = BrickColor.new("Lapis")
  6540. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6541. end
  6542. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  6543. ModeOfGlitch = 4
  6544. storehumanoidWS = 16
  6545. hum.WalkSpeed = 16
  6546. rainbowmode = false
  6547. chaosmode = true
  6548. RecolorTextAndRename("the chosen",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
  6549. newTheme("rbxassetid://858082168",0,1.01,1.25)
  6550. MAINRUINCOLOR = BrickColor.new("Black")
  6551. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6552. end
  6553. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  6554. ModeOfGlitch = 5
  6555. storehumanoidWS = 16
  6556. hum.WalkSpeed = 16
  6557. rainbowmode = false
  6558. chaosmode = false
  6559. RecolorTextAndRename("infinty",Color3.new("Really blue"),Color3.new(1,1,0.5),"SciFi")
  6560. newTheme("rbxassetid://3401292474",0,1.02,1.25)
  6561. MAINRUINCOLOR = BrickColor.new("Black")
  6562. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6563. end
  6564. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  6565. ModeOfGlitch = 6
  6566. storehumanoidWS = 100
  6567. hum.WalkSpeed = 100
  6568. rainbowmode = false
  6569. chaosmode = false
  6570. RecolorTextAndRename("Black n' White",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  6571. newTheme("rbxassetid://1847735563",0,1.01,1.25)
  6572. MAINRUINCOLOR = BrickColor.new("White")
  6573. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6574. end
  6575. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  6576. ModeOfGlitch = 8
  6577. storehumanoidWS = 140
  6578. hum.WalkSpeed = 140
  6579. rainbowmode = false
  6580. chaosmode = false
  6581. RecolorTextAndRename("your enemy.",Color3.new(1,1,1),BrickColor.new("35, 71, 139").Color,"Code")
  6582. newTheme("rbxassetid://1495032271",0,1.01,1.25)
  6583. MAINRUINCOLOR = BrickColor.new("35, 71, 139")
  6584. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6585. end
  6586. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  6587. ModeOfGlitch = 9
  6588. storehumanoidWS = 150
  6589. hum.WalkSpeed = 150
  6590. rainbowmode = false
  6591. chaosmode = false
  6592. RecolorTextAndRename("Soul less",Color3.new(0,1,0),Color3.new(171, 173, 172),"Bodoni")
  6593. newTheme("rbxassetid://708334127",0,1.01,1.25)
  6594. MAINRUINCOLOR = BrickColor.new("Dark indigo")
  6595. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6596. end
  6597. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  6598. ModeOfGlitch = 8889
  6599. storehumanoidWS = 180
  6600. hum.WalkSpeed = 180
  6601. rainbowmode = false
  6602. chaosmode = false
  6603. RecolorTextAndRename("TROUBLE",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique")
  6604. newTheme("rbxassetid://306372823",0,1.01,1.25)
  6605. MAINRUINCOLOR = BrickColor.new("Lilac")
  6606. RecolorThing(MAINRUINCOLOR,BrickColor.new(154),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6607. end
  6608. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  6609. ModeOfGlitch = 55469696922
  6610. storehumanoidWS = 275
  6611. hum.WalkSpeed = 275
  6612. rainbowmode = false
  6613. chaosmode = false
  6614. RecolorTextAndRename("com_ww's stand",Color3.new(0.25,0,0.1),BrickColor.new(Olive).Color,"Antique")
  6615. newTheme("rbxassetid://1589837627",0,1.005,1.25)
  6616. MAINRUINCOLOR = BrickColor.new("New Yeller")
  6617. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6618. end
  6619. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  6620. ModeOfGlitch = 4367677813
  6621. storehumanoidWS = 225
  6622. hum.WalkSpeed = 225
  6623. rainbowmode = false
  6624. chaosmode = false
  6625. RecolorTextAndRename("Hope",Color3.new(0.75,0.9,1),BrickColor.new("Really blue").Color,"Arcade")
  6626. newTheme("rbxassetid://305047121",0,1.01,1.25)
  6627. MAINRUINCOLOR = BrickColor.new("Baby blue")
  6628. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6629. end
  6630. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  6631. ModeOfGlitch = 9999999921111
  6632. storehumanoidWS = 300
  6633. hum.WalkSpeed = 300
  6634. rainbowmode = false
  6635. chaosmode = false
  6636. RecolorTextAndRename("SUN",BrickColor.new("307").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  6637. newTheme("rbxassetid://904882921",0,1.01,1.25)
  6638. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  6639. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6640. end
  6641. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  6642. ModeOfGlitch = 999999999556
  6643. storehumanoidWS = 500
  6644. hum.WalkSpeed = 500
  6645. rainbowmode = false
  6646. chaosmode = false
  6647. RecolorTextAndRename("insanty",BrickColor.new("Really red").Color,BrickColor.new("Really blue").Color,"Code")
  6648. newTheme("rbxassetid://1564523997",0,1.02,1.25)
  6649. MAINRUINCOLOR = BrickColor.new("Navy blue")
  6650. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6651. end
  6652. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  6653. ModeOfGlitch = 1264532489
  6654. storehumanoidWS = 250
  6655. hum.WalkSpeed = 250
  6656. rainbowmode = false
  6657. chaosmode = false
  6658. RecolorTextAndRename("stone",Color3.new(0.5,1,1),BrickColor.new("Mid gray").Color,"Antique")
  6659. newTheme("rbxassetid://2748031037",0,1.01,1.25)
  6660. MAINRUINCOLOR = BrickColor.new("Cloudy grey")
  6661. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6662. end
  6663. if k == "l" and mutedtog == false then
  6664. mutedtog = true
  6665. kan.Volume = 0
  6666. elseif k == "l" and mutedtog == true then
  6667. mutedtog = false
  6668. kan.Volume = 1.25
  6669. end
  6670. if k == "p" and toggleTag == false then
  6671. toggleTag = true
  6672. modet.TextTransparency = 0
  6673. modet.TextStrokeTransparency = 0
  6674. elseif k == "p" and toggleTag == true then
  6675. toggleTag = false
  6676. modet.TextTransparency = 1
  6677. modet.TextStrokeTransparency = 1
  6678. end
  6679. if k == "z" and attack == false and ModeOfGlitch == 1 then
  6680. ExtinctiveHeartbreak()
  6681. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  6682. HeavenlyDisk()
  6683. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  6684. CorruptionEvent()
  6685. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  6686. RapidBurst()
  6687. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  6688. --DivineLights()
  6689. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  6690. EquinoxOrbs()
  6691. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  6692. FallenOrbs()
  6693. end
  6694. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  6695. FallenDEMISE()
  6696. end
  6697. if k == "x" and attack == false and ModeOfGlitch == 1 then
  6698. EndGROUND()
  6699. end
  6700. end)
  6701.  
  6702. --[[coroutine.resume(coroutine.create(function()
  6703. while true do
  6704. swait(2)
  6705. if chaosmode == true then
  6706. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  6707. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  6708. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  6709. RecolorTextAndRename("all zero",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
  6710. for i, v in pairs(mw1:GetChildren()) do
  6711. if v:IsA("Part") then
  6712. v.Transparency = 0.75
  6713. v.BrickColor = BrickColor.random()
  6714. v.Material = "Neon"
  6715. end
  6716. end
  6717. for i, v in pairs(m2:GetChildren()) do
  6718. if v:IsA("Part") then
  6719. v.BrickColor = BrickColor.random()
  6720. v.Material = "Neon"
  6721. end
  6722. end
  6723. end
  6724. end
  6725. end))]]--
  6726. Humanoid.Name = "editG"
  6727. Humanoid.MaxHealth = math.huge
  6728. Humanoid.Health = math.huge
  6729. Instance.new("ForceField",char).Visible = false
  6730.  
  6731. local bguis = Instance.new("BillboardGui",tors)
  6732. bguis.Size = UDim2.new(25, 0, 25, 0)
  6733. local imgca = Instance.new("ImageLabel",bguis)
  6734. imgca.BackgroundTransparency = 1
  6735. imgca.ImageTransparency = 1
  6736. imgca.Size = UDim2.new(1,0,1,0)
  6737. imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
  6738. imgca.ImageColor3 = Color3.new(0,0,0)
  6739.  
  6740. idleanim=.4
  6741. while true do
  6742. if mutedtog == false then
  6743. kan.Volume = currentVol
  6744. elseif mutedtog == true then
  6745. kan.Volume = 0
  6746. end
  6747. kan.PlaybackSpeed = currentPitch
  6748. kan.Pitch = currentPitch
  6749. kan.SoundId = currentThemePlaying
  6750. kan.Looped = true
  6751. kan.Parent = char
  6752. kan:Resume()
  6753. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 then
  6754. imgca.ImageTransparency = 1
  6755. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  6756. imgca.ImageColor3 = MAINRUINCOLOR.Color
  6757. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  6758. end
  6759. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  6760. bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  6761. coroutine.resume(coroutine.create(function()
  6762. if chaosmode == true then
  6763. for i, v in pairs(mw1:GetChildren()) do
  6764. if v:IsA("Part") then
  6765. v.Transparency = 0
  6766. v.BrickColor = BrickColor.random()
  6767. v.Material = "Neon"
  6768. end
  6769. end
  6770. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  6771. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  6772. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  6773. RecolorTextAndRename("tHE cHOsEN oNe",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  6774. end
  6775. end))
  6776. if chaosmode == false then
  6777. modet.Position = UDim2.new(0,0,0,0)
  6778. modet.Rotation = -5 * math.cos(sine / 32)
  6779. techc.Rotation = techc.Rotation + 1
  6780. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
  6781. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
  6782. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
  6783. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1
  6784. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  6785. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  6786. else
  6787. techc.Rotation = techc.Rotation + 1
  6788. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  6789. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  6790. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  6791. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  6792. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  6793. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  6794. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  6795. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  6796. end
  6797. CameraManager()
  6798. swait()
  6799. 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)
  6800. 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)
  6801. 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)
  6802. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
  6803. lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
  6804. lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
  6805. 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)
  6806. 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)
  6807. 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)
  6808. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  6809. rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  6810. rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  6811. sine = sine + change
  6812. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  6813. local velderp=RootPart.Velocity.y
  6814. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  6815. if equipped==true or equipped==false then
  6816. if attack==false then
  6817. idle=idle+1
  6818. else
  6819. idle=0
  6820. end
  6821. if idle>=500 then
  6822. if attack==false then
  6823. --Sheath()
  6824. end
  6825. end
  6826. if RootPart.Velocity.y > 1 and hitfloor==nil then
  6827. Anim="Jump"
  6828. if attack==false then
  6829. 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)
  6830. 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)
  6831. 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)
  6832. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  6833. 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)
  6834. 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)
  6835. end
  6836. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  6837. Anim="Fall"
  6838. if attack==false then
  6839. 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)
  6840. 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)
  6841. 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)
  6842. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  6843. 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)
  6844. 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)
  6845. end
  6846. elseif torvel<1 and hitfloor~=nil then
  6847. Anim="Idle"
  6848. if attack==false then
  6849. if ModeOfGlitch == 1 then
  6850. local snap = math.random(1,10)
  6851. if snap == 1 then
  6852. 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)
  6853. end
  6854. 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)
  6855. 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)
  6856. 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)
  6857. 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)
  6858. 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)
  6859. 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)
  6860. elseif ModeOfGlitch == 2 then
  6861. 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)
  6862. 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)
  6863. 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)
  6864. 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)
  6865. 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)
  6866. 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)
  6867. elseif ModeOfGlitch == 3 then
  6868. local snap = math.random(1,32)
  6869. if snap == 1 then
  6870. 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)
  6871. end
  6872. 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)
  6873. 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)
  6874. 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)
  6875. 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)
  6876. 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)
  6877. 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)
  6878. elseif ModeOfGlitch == 4 then
  6879. local snap = math.random(1,5)
  6880. if snap == 1 then
  6881. 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)
  6882. 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)
  6883. 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)
  6884. end
  6885. 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)
  6886. 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)
  6887. 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)
  6888. 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)
  6889. 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)
  6890. 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)
  6891. elseif ModeOfGlitch == 5 then
  6892. 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)
  6893. 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)
  6894. 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)
  6895. 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)
  6896. 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)
  6897. 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)
  6898. elseif ModeOfGlitch == 6 then
  6899. 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)
  6900. 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)
  6901. 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)
  6902. 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)
  6903. 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)
  6904. 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)
  6905. elseif ModeOfGlitch == 8 then
  6906. 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)
  6907. 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)
  6908. 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)
  6909. 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)
  6910. 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)
  6911. 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)
  6912. elseif ModeOfGlitch == 9 then
  6913. 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)
  6914. 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)
  6915. 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)
  6916. 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)
  6917. 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)
  6918. 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)
  6919. elseif ModeOfGlitch == 8889 then
  6920. 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)
  6921. 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)
  6922. 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)
  6923. 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)
  6924. 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)
  6925. 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)
  6926. elseif ModeOfGlitch == 1264532489 then
  6927. 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)
  6928. 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)
  6929. 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)
  6930. 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)
  6931. 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)
  6932. 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)
  6933. elseif ModeOfGlitch == 9999999921111 then
  6934. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  6935. 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)
  6936. 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)
  6937. 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)
  6938. 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)
  6939. 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)
  6940. elseif ModeOfGlitch == 4367677813 then
  6941. 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)
  6942. 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)
  6943. 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)
  6944. 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)
  6945. 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)
  6946. 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)
  6947. elseif ModeOfGlitch == 55469696922 then
  6948. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(19 + 8 * math.cos(sine / 62)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-20 - 3 * math.cos(sine / 34))),.1)
  6949. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 - 1 * math.cos(sine / 55)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(26 + 5 * math.cos(sine / 41))),.1)
  6950. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-13 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1)
  6951. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  6952. 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)
  6953. 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)
  6954. elseif ModeOfGlitch == 999999999556 then
  6955. 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)
  6956. 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)
  6957. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(17)),.1)
  6958. 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)
  6959. 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)
  6960. 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)
  6961. end
  6962. end
  6963. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  6964. Anim="Walk"
  6965. if attack==false then
  6966. 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)
  6967. 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)
  6968. 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)
  6969. 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)
  6970. 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)
  6971. 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)
  6972. end
  6973. elseif torvel>=22 and hitfloor~=nil then
  6974. Anim="Run"
  6975. if attack==false then
  6976. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 8889 then
  6977. 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)
  6978. 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)
  6979. 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)
  6980. 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)
  6981. 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)
  6982. 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)
  6983. if ModeOfGlitch == 9 then
  6984. --
  6985. end
  6986. elseif ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 then
  6987. 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)
  6988. 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)
  6989. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  6990. 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)
  6991. 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)
  6992. 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)
  6993. end
  6994. end
  6995. end
  6996. end
  6997. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement