Advertisement
Guest User

Untitled

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