Advertisement
RobloxHackImporium

dfdfdf

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