Advertisement
Otsakuseed

testv2

May 6th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 357.96 KB | None | 0 0
  1. repeat wait() until script:WaitForChild'Owner'.Value
  2. local Player = script:WaitForChild'Owner'.Value
  3. script.Owner:destroy()
  4. local FakeMouse = script.FakeMouse:Clone();
  5. FakeMouse.Parent = Player.Character;
  6. script.FakeMouse:Destroy()
  7. do
  8. local GUID = {}
  9. do
  10. GUID.IDs = {};
  11. function GUID:new(len)
  12. local id;
  13. if(not len)then
  14. id = (tostring(function() end))
  15. id = id:gsub("function: ","")
  16. else
  17. local function genID(len)
  18. local newID = ""
  19. for i = 1,len do
  20. newID = newID..string.char(math.random(48,90))
  21. end
  22. return newID
  23. end
  24. repeat id = genID(len) until not GUID.IDs[id]
  25. local oid = id;
  26. id = {Trash=function() GUID.IDs[oid]=nil; end;Get=function() return oid; end}
  27. GUID.IDs[oid]=true;
  28. end
  29. return id
  30. end
  31. end
  32.  
  33. local AHB = Instance.new("BindableEvent")
  34.  
  35. local FPS = 60
  36.  
  37. local TimeFrame = 0
  38.  
  39. local LastFrame = tick()
  40. local Frame = 1/FPS
  41.  
  42. game:service'RunService'.Heartbeat:connect(function(s,p)
  43. TimeFrame = TimeFrame + s
  44. if(TimeFrame >= Frame)then
  45. for i = 1,math.floor(TimeFrame/Frame) do
  46. AHB:Fire()
  47. end
  48. LastFrame=tick()
  49. TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame)
  50. end
  51. end)
  52.  
  53.  
  54. function swait(dur)
  55. if(dur == 0 or typeof(dur) ~= 'number')then
  56. AHB.Event:wait()
  57. else
  58. for i = 1, dur*FPS do
  59. AHB.Event:wait()
  60. end
  61. end
  62. end
  63.  
  64. local oPlayer = Player
  65. local Player = oPlayer
  66.  
  67. local loudnesses={}
  68. script.Parent = Player.Character
  69. local CoAS = {Actions={}}
  70. local Event = Instance.new("RemoteEvent")
  71. Event.Name = "UserInputEvent"
  72. Event.Parent = Player.Character
  73. local Func = Instance.new("RemoteFunction")
  74. Func.Name = "GetClientProperty"
  75. Func.Parent = Player.Character
  76. local fakeEvent = function()
  77. local t = {_fakeEvent=true,Waited={}}
  78. t.Connect = function(self,f)self.Function=f; for id,_ in next, t.Waited do t.Waited[id] = true end end
  79. t.connect = t.Connect
  80. t.Wait = function()
  81. local guid = GUID:new(25)
  82. local waitingId = guid:Get()
  83. t.Waited[waitingId]=false
  84. repeat swait() until t.Waited[waitingId]==true
  85. t.Waited[waitingId]=nil;
  86. guid:Trash()
  87. end
  88. t.wait = t.Wait
  89. return t
  90. end
  91. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  92. local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent(),IsKeyDown=function(self,keycode)
  93. return Func:InvokeClient(Player,'IsKeyDown',keycode)
  94. end}
  95. local Run = {RenderStepped=fakeEvent()}
  96.  
  97. function CoAS:BindAction(name,fun,touch,...)
  98. CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  99. end
  100. function CoAS:UnbindAction(name)
  101. CoAS.Actions[name] = nil
  102. end
  103. local function te(self,ev,...)
  104. local t = self[ev]
  105. if t and t._fakeEvent and t.Function then
  106. t.Function(...)
  107. end
  108. end
  109. m.TrigEvent = te
  110. UsIS.TrigEvent = te
  111. Run.TrigEvent = te
  112. Event.OnServerEvent:Connect(function(plr,io)
  113. if plr~=Player then return end
  114. --[[table.foreach(io,print)
  115. print'---']]
  116. if io.Mouse then
  117. m.Target = io.Target
  118. m.Hit = io.Hit
  119. elseif io.KeyEvent then
  120. m:TrigEvent('Key'..io.KeyEvent,io.Key)
  121. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  122. if io.UserInputState == Enum.UserInputState.Begin then
  123. m:TrigEvent("Button1Down")
  124. else
  125. m:TrigEvent("Button1Up")
  126. end
  127. end
  128. if(not io.KeyEvent and not io.Mouse)then
  129.  
  130. for n,t in pairs(CoAS.Actions) do
  131. for _,k in pairs(t.Keys) do
  132. if k==io.KeyCode then
  133. t.Function(t.Name,io.UserInputState,io)
  134. end
  135. end
  136. end
  137. if io.UserInputState == Enum.UserInputState.Begin then
  138. UsIS:TrigEvent("InputBegan",io,false)
  139. else
  140. UsIS:TrigEvent("InputEnded",io,false)
  141. end
  142. end
  143. end)
  144.  
  145. Func.OnServerInvoke = function(plr,inst,play)
  146. if plr~=Player then return end
  147. if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then
  148. loudnesses[inst]=play
  149. end
  150. end
  151.  
  152. function GetClientProperty(inst,prop)
  153. if(script:IsA'LocalScript' or game:service'RunService':IsStudio())then return inst[prop] end
  154. if(prop == 'PlaybackLoudness' and loudnesses[inst])then
  155. return loudnesses[inst]
  156. elseif(prop == 'PlaybackLoudness')then
  157. return Func:InvokeClient(Player,'RegSound',inst)
  158. end
  159. return Func:InvokeClient(Player,inst,prop)
  160. end
  161.  
  162.  
  163. local oldGame = game;
  164. local function GetService(s,i)
  165. local service = s:GetService(i)
  166. if(i == 'Players')then
  167. local oldService = service;
  168. local fakeService = newproxy(true)
  169. getmetatable(fakeService).__index = function(s,i)
  170. if(s == fakeService)then s=oldService end
  171. if(i == 'LocalPlayer' or i == 'localPlayer')then
  172. local oldPlayer = Player;
  173. local fakePlayer = newproxy(true)
  174. getmetatable(fakePlayer).__index = function(s,i)
  175. if(i == 'GetMouse')then
  176. return function() return m; end
  177. end
  178. return Player[i]
  179. end
  180. getmetatable(fakePlayer).__newindex = function(s,i,v)
  181. Player[i]=v
  182. end
  183. getmetatable(fakePlayer).__call=function(self,...)
  184. if(self == fakePlayer)then self = Player end
  185. local wh = {...}
  186. local name = table.remove(wh,1)
  187. for i,v in next, wh do
  188. wh[i]=v
  189. end
  190. if(name == 'GetMouse')then
  191. return m;
  192. end
  193. return self(name,unpack(wh))
  194. end
  195. getmetatable(fakePlayer).__namecall=function(self,...)
  196. if(self == fakePlayer)then self = Player end
  197. local tuple={...}
  198. local name = table.remove(tuple,#tuple)
  199.  
  200. if(name == 'GetMouse')then
  201. return m;
  202. else
  203. return self[name](self,unpack(tuple))
  204. end
  205. end
  206.  
  207. return fakePlayer
  208. elseif(i == 'oPlayer')then
  209. return oPlayer
  210. else
  211. return s[i]
  212. end
  213. end
  214. getmetatable(fakeService).__newindex = function(s,i,v)
  215. if(s == fakeService)then s=oldService end
  216. s[i]=v
  217. end
  218. getmetatable(fakeService).__call=function(self,...)
  219. if(self == fakeService)then self = oldService end
  220. local wh = {...}
  221. local name = table.remove(wh,1)
  222. for i,v in next, wh do
  223. wh[i]=v
  224. end
  225. return self(name,unpack(wh))
  226. end
  227. getmetatable(fakeService).__namecall=function(self,...)
  228. if(self == fakeService)then self = oldService end
  229. local tuple={...}
  230. local name = table.remove(tuple,#tuple)
  231.  
  232. return self[name](self,unpack(tuple))
  233. end
  234. getmetatable(fakeService).__metatable = 'gay'
  235. return fakeService
  236. elseif(i == 'RunService')then
  237. local oldService = service;
  238. local fakeService = newproxy(true)
  239. getmetatable(fakeService).__index = function(s,i)
  240. if(s == fakeService)then s=oldService end
  241. return Run[i] or s[i]
  242. end
  243. getmetatable(fakeService).__newindex = function(s,i,v)
  244. if(s == fakeService)then s=oldService end
  245. s[i]=v
  246. end
  247. getmetatable(fakeService).__call=function(self,...)
  248. if(self == fakeService)then self = oldService end
  249. local wh = {...}
  250. local name = table.remove(wh,1)
  251. for i,v in next, wh do
  252. wh[i]=v
  253. end
  254. return self(name,unpack(wh))
  255. end
  256. getmetatable(fakeService).__namecall=function(self,...)
  257. if(self == fakeService)then self = oldService end
  258. local tuple={...}
  259. local name = table.remove(tuple,#tuple)
  260.  
  261. return self[name](self,unpack(tuple))
  262. end
  263. getmetatable(fakeService).__metatable = 'gay'
  264. return fakeService
  265. elseif(i == 'UserInputService')then
  266. return UsIS
  267. elseif(i == 'ContextActionService')then
  268. return CoAS;
  269. else
  270. return service
  271. end
  272. end
  273. local serviceFunctions={
  274. service=true,
  275. GetService=true,
  276. }
  277. local fakeGame = newproxy(true)
  278. getmetatable(fakeGame).__index = function(s,i)
  279. if(s == fakeGame)then s=oldGame end
  280. local serv = GetService(oldGame,i)
  281. if serviceFunctions[i] then
  282. return GetService
  283. elseif(serv)then
  284. return serv
  285. else
  286. return s[i]
  287. end
  288. end
  289. getmetatable(fakeGame).__newindex = function(s,i,v)
  290. if(s == fakeGame)then s=oldGame end
  291. s[i]=v
  292. end
  293. getmetatable(fakeGame).__call=function(self,...)
  294. if(self == fakeGame)then self = oldGame end
  295. local wh = {...}
  296. local name = table.remove(wh,1)
  297. for i,v in next, wh do
  298. if(v == fakeGame)then v = oldGame end
  299. wh[i]=v
  300. end
  301. if serviceFunctions[name] then
  302. return GetService(self,unpack(wh))
  303. else
  304. return self(name,unpack(wh))
  305. end
  306. end
  307. getmetatable(fakeGame). __namecall=function(self,...)
  308. if(self == fakeGame)then self = oldGame end
  309. local tuple={...}
  310. local name = table.remove(tuple,#tuple)
  311.  
  312. local funcToCall=self[name]
  313.  
  314. if serviceFunctions[name] then
  315. return GetService(self,unpack(tuple))
  316. else
  317. return self[name](self,unpack(tuple))
  318. end
  319. end
  320. getmetatable(fakeGame).__metatable = 'gay'
  321.  
  322. coroutine.wrap(function()
  323. while true do
  324. Run:TrigEvent('RenderStepped')
  325. swait()
  326. end
  327. end)()
  328. game=fakeGame
  329. UserInputService,ContextActionService = UsIS,CoAS
  330. end
  331.  
  332.  
  333. --- its obs smooth af do not touch
  334. ---- Sources and functions might be taken from others
  335. plr = game:GetService("Players").LocalPlayer
  336. char = plr.Character
  337. hum = char.Humanoid
  338. local cam = workspace.CurrentCamera
  339. Camera = cam
  340. local CamInterrupt = false
  341. local TwoD = false
  342. local TargetInfo = {nil, nil}
  343. cam.CameraType = "Custom"
  344. t = char.Torso
  345. h = char.Head
  346. ra = char["Right Arm"]
  347. la = char["Left Arm"]
  348. rl = char["Right Leg"]
  349. ll = char["Left Leg"]
  350. tors = char.Torso
  351. lleg = char["Left Leg"]
  352. root = char.HumanoidRootPart
  353. hed = char.Head
  354. rleg = char["Right Leg"]
  355. rarm = char["Right Arm"]
  356. larm = char["Left Arm"]
  357. radian = math.rad
  358. random = math.random
  359. Vec3 = Vector3.new
  360. Inst = Instance.new
  361. cFrame = CFrame.new
  362. Euler = CFrame.fromEulerAnglesXYZ
  363. vt = Vector3.new
  364. bc = BrickColor.new
  365. br = BrickColor.random
  366. it = Instance.new
  367. cf = CFrame.new
  368. local ModeOfGlitch = 1
  369.  
  370. local Booleans = {
  371. CamFollow = true,
  372. GyroUse = true
  373. }
  374.  
  375. function lerp(object, newCFrame, alpha)
  376. return object:lerp(newCFrame, alpha)
  377. end
  378.  
  379. local Directer = Inst("BodyGyro", root)
  380. Directer.MaxTorque = Vec3(0, 0, 0)
  381. Directer.P = 600000
  382. local CPart = Inst("Part")
  383. CPart.Anchored = true
  384. CPart.CanCollide = false
  385. CPart.Locked = true
  386. CPart.Transparency = 1
  387.  
  388. local rainbowmode = false
  389. local chaosmode = false
  390.  
  391. local kan = Instance.new("Sound",char)
  392. kan.Volume = 1.25
  393. kan.TimePosition = 0
  394. kan.PlaybackSpeed = 1
  395. kan.Pitch = 1
  396. kan.SoundId = "rbxassetid://1564523997"
  397. kan.Name = "wrecked"
  398. kan.Looped = true
  399. kan:Play()
  400.  
  401. local currentThemePlaying = kan.SoundId
  402. local currentPitch = kan.Pitch
  403. local currentVol = kan.Volume
  404. function newTheme(ID,timepos,pitch,vol)
  405. local kanz = kan
  406. --kanz:Stop()
  407. kanz.Volume = vol
  408. --kanz.TimePosition = timepos
  409. kanz.PlaybackSpeed = pitch
  410. kanz.Pitch = pitch
  411. kanz.SoundId = ID
  412. kanz.Name = "wrecked"
  413. kanz.Looped = true
  414. currentThemePlaying = kanz.SoundId
  415. currentVol = kanz.Volume
  416. currentPitch = kanz.Pitch
  417. --kanz:Play()
  418. --coroutine.resume(coroutine.create(function()
  419. --wait(0.05)
  420. --end))
  421. end
  422.  
  423.  
  424. function newThemeCust(ID,timepos,pitch,vol)
  425. local kanz = kan
  426. kanz:Stop()
  427. kanz.Volume = vol
  428. kanz.TimePosition = timepos
  429. kanz.PlaybackSpeed = pitch
  430. kanz.Pitch = pitch
  431. kanz.SoundId = ID
  432. kanz.Name = "wrecked"
  433. kanz.Looped = true
  434. currentThemePlaying = kanz.SoundId
  435. currentVol = kanz.Volume
  436. currentPitch = kanz.Pitch
  437. kanz:Play()
  438. coroutine.resume(coroutine.create(function()
  439. wait(0.05)
  440. end))
  441. end
  442.  
  443. local mutedtog = false
  444.  
  445. function CameraEnshaking(Length,Intensity)
  446.  
  447. end
  448.  
  449. local toggleTag = true
  450. local bilguit = Instance.new("BillboardGui", hed)
  451. bilguit.Adornee = nil
  452. bilguit.Name = "ModeName"
  453. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  454. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  455. local modet = Instance.new("TextLabel", bilguit)
  456. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  457. modet.FontSize = "Size8"
  458. modet.TextScaled = true
  459. modet.TextTransparency = 0
  460. modet.BackgroundTransparency = 1
  461. modet.TextTransparency = 0
  462. modet.TextStrokeTransparency = 0
  463. modet.Font = "Antique"
  464. modet.TextStrokeColor3 = Color3.new(0,0,0)
  465. modet.TextColor3 = Color3.new(0.25,0,0)
  466. modet.Text = "SOLITUDE"
  467.  
  468.  
  469. function chatfunc(text,color,typet,font,timeex)
  470. local chat = coroutine.wrap(function()
  471. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  472. Character:FindFirstChild("TalkingBillBoard"):destroy()
  473. end
  474. local naeeym2 = Instance.new("BillboardGui",Character)
  475. naeeym2.Size = UDim2.new(0,100,0,40)
  476. naeeym2.StudsOffset = Vector3.new(0,3,0)
  477. naeeym2.Adornee = Character.Head
  478. naeeym2.Name = "TalkingBillBoard"
  479. local tecks2 = Instance.new("TextLabel",naeeym2)
  480. tecks2.BackgroundTransparency = 1
  481. tecks2.BorderSizePixel = 0
  482. tecks2.Text = ""
  483. tecks2.Font = font
  484. tecks2.TextSize = 30
  485. tecks2.TextStrokeTransparency = 0
  486. tecks2.TextColor3 = color
  487. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  488. tecks2.Size = UDim2.new(1,0,0.5,0)
  489. local tecks3 = Instance.new("TextLabel",naeeym2)
  490. tecks3.BackgroundTransparency = 1
  491. tecks3.BorderSizePixel = 0
  492. tecks3.Text = ""
  493. tecks3.Font = font
  494. tecks3.TextSize = 30
  495. tecks3.TextStrokeTransparency = 0
  496. if typet == "Inverted" then
  497. tecks3.TextColor3 = Color3.new(0,0,0)
  498. tecks3.TextStrokeColor3 = color
  499. elseif typet == "Normal" then
  500. tecks3.TextColor3 = color
  501. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  502. end
  503. tecks3.Size = UDim2.new(1,0,0.5,0)
  504. coroutine.resume(coroutine.create(function()
  505. while true do
  506. swait(1)
  507. if chaosmode == true then
  508. tecks2.TextColor3 = BrickColor.random().Color
  509. tecks3.TextStrokeColor3 = BrickColor.random().Color
  510. end
  511. end
  512. end))
  513. modet.TextTransparency = modet.TextTransparency + 1
  514. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  515. for i = 0, 74*timeex do
  516. swait()
  517. modet.TextTransparency = 1
  518. modet.TextStrokeTransparency = 1
  519. tecks2.Text = text
  520. tecks3.Text = text
  521. end
  522. local randomrot = math.random(1,2)
  523. if randomrot == 1 then
  524. for i = 1, 50 do
  525. swait()
  526. tecks2.Text = text
  527. tecks3.Text = text
  528. modet.TextTransparency = modet.TextTransparency - .02
  529. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  530. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  531. tecks2.TextTransparency = tecks2.TextTransparency + .04
  532. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  533. tecks3.TextTransparency = tecks2.TextTransparency + .04
  534. end
  535. elseif randomrot == 2 then
  536. for i = 1, 50 do
  537. swait()
  538. tecks2.Text = text
  539. tecks3.Text = text
  540. modet.TextTransparency = modet.TextTransparency - .02
  541. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  542. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  543. tecks2.TextTransparency = tecks2.TextTransparency + .04
  544. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  545. tecks3.TextTransparency = tecks2.TextTransparency + .04
  546. end
  547. end
  548. modet.TextTransparency = 0
  549. modet.TextStrokeTransparency = 0
  550. if toggleTag == false then
  551. modet.TextTransparency = 1
  552. modet.TextStrokeTransparency = 1
  553. end
  554. naeeym2:Destroy()
  555. end)
  556. chat()
  557. end
  558.  
  559. local bosschatscript = script:WaitForChild'BossChatfunc'
  560. bosschatscript.Parent=nil
  561. local warnscript = script:WaitForChild'Warn'
  562. warnscript.Parent=nil
  563.  
  564.  
  565. function bosschatfunc(text,color,watval)
  566. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  567. local chat=bosschatscript:Clone();
  568. chat.Text.Value=text
  569. chat.Color.Value=color
  570. chat.Wat.Value=watval
  571. chat.Chaosmode.Value=chaosmode
  572.  
  573. chat.Disabled=false
  574. chat.Parent=v.Character
  575. end
  576. end
  577.  
  578.  
  579.  
  580. local Create = LoadLibrary("RbxUtility").Create
  581.  
  582. CFuncs = {
  583. ["Part"] = {
  584. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  585. local Part = Create("Part"){
  586. Parent = Parent,
  587. Reflectance = Reflectance,
  588. Transparency = Transparency,
  589. CanCollide = false,
  590. Locked = true,
  591. BrickColor = BrickColor.new(tostring(BColor)),
  592. Name = Name,
  593. Size = Size,
  594. Material = Material,
  595. }
  596. RemoveOutlines(Part)
  597. return Part
  598. end;
  599. };
  600.  
  601. ["Mesh"] = {
  602. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  603. local Msh = Create(Mesh){
  604. Parent = Part,
  605. Offset = OffSet,
  606. Scale = Scale,
  607. }
  608. if Mesh == "SpecialMesh" then
  609. Msh.MeshType = MeshType
  610. Msh.MeshId = MeshId
  611. end
  612. return Msh
  613. end;
  614. };
  615.  
  616. ["Mesh"] = {
  617. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  618. local Msh = Create(Mesh){
  619. Parent = Part,
  620. Offset = OffSet,
  621. Scale = Scale,
  622. }
  623. if Mesh == "SpecialMesh" then
  624. Msh.MeshType = MeshType
  625. Msh.MeshId = MeshId
  626. end
  627. return Msh
  628. end;
  629. };
  630.  
  631. ["Weld"] = {
  632. Create = function(Parent, Part0, Part1, C0, C1)
  633. local Weld = Create("Weld"){
  634. Parent = Parent,
  635. Part0 = Part0,
  636. Part1 = Part1,
  637. C0 = C0,
  638. C1 = C1,
  639. }
  640. return Weld
  641. end;
  642. };
  643.  
  644. ["Sound"] = {
  645. Create = function(id, par, vol, pit)
  646. coroutine.resume(coroutine.create(function()
  647. local S = Create("Sound"){
  648. Volume = vol,
  649. Name = "EffectSoundo",
  650. Pitch = pit or 1,
  651. SoundId = id,
  652. Parent = par or workspace,
  653. }
  654. wait()
  655. S:play()
  656. game:GetService("Debris"):AddItem(S, 10)
  657. end))
  658. end;
  659. };
  660.  
  661. ["TimeSound"] = {
  662. Create = function(id, par, vol, pit, timepos)
  663. coroutine.resume(coroutine.create(function()
  664. local S = Create("Sound"){
  665. Volume = vol,
  666. Name = "EffectSoundo",
  667. Pitch = pit or 1,
  668. SoundId = id,
  669. TimePosition = timepos,
  670. Parent = par or workspace,
  671. }
  672. wait()
  673. S:play()
  674. game:GetService("Debris"):AddItem(S, 10)
  675. end))
  676. end;
  677. };
  678. ["EchoSound"] = {
  679. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  680. coroutine.resume(coroutine.create(function()
  681. local Sas = Create("Sound"){
  682. Volume = vol,
  683. Name = "EffectSoundo",
  684. Pitch = pit or 1,
  685. SoundId = id,
  686. TimePosition = timepos,
  687. Parent = par or workspace,
  688. }
  689. local E = Create("EchoSoundEffect"){
  690. Delay = echodelay,
  691. Name = "Echo",
  692. Feedback = fedb,
  693. DryLevel = dryl,
  694. Parent = Sas,
  695. }
  696. wait()
  697. Sas:play()
  698. game:GetService("Debris"):AddItem(Sas, delays)
  699. end))
  700. end;
  701. };
  702.  
  703. ["LongSound"] = {
  704. Create = function(id, par, vol, pit)
  705. coroutine.resume(coroutine.create(function()
  706. local S = Create("Sound"){
  707. Volume = vol,
  708. Pitch = pit or 1,
  709. SoundId = id,
  710. Parent = par or workspace,
  711. }
  712. wait()
  713. S:play()
  714. game:GetService("Debris"):AddItem(S, 60)
  715. end))
  716. end;
  717. };
  718.  
  719. ["ParticleEmitter"] = {
  720. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  721. local fp = Create("ParticleEmitter"){
  722. Parent = Parent,
  723. Color = ColorSequence.new(Color1, Color2),
  724. LightEmission = LightEmission,
  725. Size = Size,
  726. Texture = Texture,
  727. Transparency = Transparency,
  728. ZOffset = ZOffset,
  729. Acceleration = Accel,
  730. Drag = Drag,
  731. LockedToPart = LockedToPart,
  732. VelocityInheritance = VelocityInheritance,
  733. EmissionDirection = EmissionDirection,
  734. Enabled = Enabled,
  735. Lifetime = LifeTime,
  736. Rate = Rate,
  737. Rotation = Rotation,
  738. RotSpeed = RotSpeed,
  739. Speed = Speed,
  740. VelocitySpread = VelocitySpread,
  741. }
  742. return fp
  743. end;
  744. };
  745.  
  746. CreateTemplate = {
  747.  
  748. };
  749. }
  750.  
  751.  
  752.  
  753. New = function(Object, Parent, Name, Data)
  754. local Object = Instance.new(Object)
  755. for Index, Value in pairs(Data or {}) do
  756. Object[Index] = Value
  757. end
  758. Object.Parent = Parent
  759. Object.Name = Name
  760. return Object
  761. end
  762. local halocolor = BrickColor.new("Pastel light blue")
  763. local halocolor2 = BrickColor.new("Cool yellow")
  764. local starcolor = BrickColor.new("Bright yellow")
  765. local lunacolor = BrickColor.new("Navy blue")
  766. local lunacolor2 = BrickColor.new("Bright blue")
  767. local wepcolor = BrickColor.new("Really black")
  768. local maincolor = BrickColor.new("Really black")
  769. local m = Instance.new("Model",char)
  770. local m2 = Instance.new("Model",char)
  771. local m3 = Instance.new("Model",char)
  772. local mw1 = Instance.new("Model",char)
  773. local mw2 = Instance.new("Model",char)
  774.  
  775.  
  776. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  777. local gui = it(GuiType)
  778. gui.Parent = parent
  779. gui.Text = text
  780. gui.BackgroundTransparency = backtrans
  781. gui.BackgroundColor3 = backcol
  782. gui.SizeConstraint = "RelativeXY"
  783. gui.TextXAlignment = "Center"
  784. gui.TextYAlignment = "Center"
  785. gui.Position = pos
  786. gui.Size = size
  787. gui.Font = "SourceSans"
  788. gui.FontSize = "Size14"
  789. gui.TextWrapped = false
  790. gui.TextStrokeTransparency = 0
  791. gui.TextColor = BrickColor.new("White")
  792. return gui
  793. end
  794. --------------------------- GUI STUFF
  795. local basgui = it("GuiMain")
  796. basgui.Parent = plr.PlayerGui
  797. basgui.Name = "VISgui"
  798. local fullscreenz = it("Frame")
  799. fullscreenz.Parent = basgui
  800. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  801. fullscreenz.BackgroundTransparency = 1
  802. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  803. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  804. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  805. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  806. imgl2.BackgroundTransparency = 1
  807. imgl2.BorderSizePixel = 0
  808. imgl2.ImageTransparency = 0.5
  809. imgl2.ImageColor3 = Color3.new(0.25,0,0)
  810. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  811. imgl2.Size = UDim2.new(0,1000,0,1000)
  812. imgl2.Image = "rbxassetid://2325939897"
  813. local techc = imgl2:Clone()
  814. techc.Parent = fullscreenz
  815. techc.ImageTransparency = 0
  816. techc.Size = UDim2.new(0,900,0,900)
  817. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  818. techc.ImageColor3 = Color3.new(0,0,0)
  819. techc.Image = "rbxassetid://2273224484"
  820. local circl = imgl2:Clone()
  821. circl.Parent = fullscreenz
  822. circl.ImageTransparency = 0
  823. circl.Size = UDim2.new(0,550,0,550)
  824. circl.Position = UDim2.new(0.75,25,0.55,25)
  825. circl.ImageColor3 = Color3.new(0,0,0)
  826. circl.Image = "rbxassetid://2312119891"
  827. local circl2 = imgl2:Clone()
  828. circl2.Parent = fullscreenz
  829. circl2.ImageTransparency = 0
  830. circl2.Size = UDim2.new(0,700,0,700)
  831. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  832. circl2.ImageColor3 = Color3.new(0.25,0,0)
  833. circl2.Image = "rbxassetid://2312119891"
  834. local imgl2b = imgl2:Clone()
  835. imgl2b.Parent = fullscreenz
  836. imgl2b.ImageTransparency = 0
  837. imgl2b.Size = UDim2.new(0,800,0,800)
  838. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  839. imgl2b.ImageColor3 = Color3.new(0,0,0)
  840. local ned = Instance.new("TextLabel",fullscreenz)
  841. ned.ZIndex = 2
  842. ned.Font = "Arcade"
  843. ned.BackgroundTransparency = 1
  844. ned.BorderSizePixel = 0.65
  845. ned.Size = UDim2.new(0.3,0,0.2,0)
  846. ned.Position = UDim2.new(0.7,0,0.8,0)
  847. ned.TextColor3 = Color3.new(0.25,0,0)
  848. ned.TextStrokeColor3 = Color3.new(0,0,0)
  849. ned.TextScaled = true
  850. ned.TextStrokeTransparency = 0
  851. ned.Text = "SOLITUDE"
  852. ned.TextSize = 24
  853. ned.Rotation = 1
  854. ned.TextXAlignment = "Right"
  855. ned.TextYAlignment = "Bottom"
  856.  
  857. local extrawingmod1 = Instance.new("Model",char)
  858. local extrawingmod2 = Instance.new("Model",char)
  859.  
  860. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  861. local p = Instance.new("Part")
  862. p.TopSurface = 0
  863. p.BottomSurface = 0
  864. p.Parent = parent
  865. p.Size = Vector3.new(0.1,0.1,0.1)
  866. p.Transparency = transparency
  867. p.Reflectance = reflectance
  868. p.CanCollide = false
  869. p.Locked = true
  870. p.BrickColor = brickcolor
  871. p.Material = material
  872. return p
  873. end
  874.  
  875. function CreateMesh(parent,meshtype,x1,y1,z1)
  876. local mesh = Instance.new("SpecialMesh",parent)
  877. mesh.MeshType = meshtype
  878. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  879. return mesh
  880. end
  881.  
  882. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  883. local mesh = Instance.new("SpecialMesh",parent)
  884. mesh.MeshType = "FileMesh"
  885. mesh.MeshId = meshid
  886. mesh.Scale = Vector3.new(x1,y1,z1)
  887. return mesh
  888. end
  889.  
  890.  
  891. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  892. local mesh = Instance.new("SpecialMesh",parent)
  893. mesh.MeshType = "FileMesh"
  894. mesh.MeshId = meshid
  895. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  896. mesh.Scale = Vector3.new(x1,y1,z1)
  897. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  898. return mesh
  899. end
  900.  
  901. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  902. local weld = Instance.new("Weld")
  903. weld.Parent = parent
  904. weld.Part0 = part0
  905. weld.Part1 = part1
  906. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  907. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  908. return weld
  909. end
  910.  
  911.  
  912. --------------
  913. --------------
  914. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  915. 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))
  916. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  917. 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))
  918.  
  919. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  920. CreateMesh(handle,"Brick",0,0,0)
  921. 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))
  922. local valuaring = 10
  923. for i = 0, 49 do
  924. valuaring = valuaring + 10
  925. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  926. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  927. 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))
  928. end
  929.  
  930. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  931. CreateMesh(handle,"Brick",0,0,0)
  932. 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))
  933. local valuaring = 10
  934. for i = 0, 49 do
  935. valuaring = valuaring + 10
  936. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  937. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  938. 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))
  939. end
  940.  
  941.  
  942. local handle = CreateParta(m,1,1,"Neon",maincolor)
  943. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  944. 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))
  945.  
  946. --- Left wing.
  947.  
  948. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  949. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  950. 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))
  951.  
  952. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  953. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  954. 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))
  955. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  956. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  957. 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))
  958. A0 = Instance.new('Attachment',wed)
  959. A0.Position = vt(0,0.25,0.25)
  960. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  961. CreateMesh(wed,"Wedge",0.05,0.5,3)
  962. 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))
  963. A1 = Instance.new('Attachment',wed)
  964. A1.Position = vt(0,-0.25,-2)
  965. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  966. CreateMesh(wed,"Wedge",0.05,3,0.5)
  967. 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))
  968.  
  969. tl1 = Instance.new('Trail',wed)
  970. tl1.Attachment0 = A1
  971. tl1.Attachment1 = A0
  972. tl1.Texture = "rbxassetid://2108945559"
  973. tl1.LightEmission = 1
  974. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  975. tl1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  976. tl1.Lifetime = 0.6
  977.  
  978.  
  979. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  980. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  981. 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))
  982.  
  983. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  984. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  985. 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))
  986. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  987. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  988. 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))
  989. A0 = Instance.new('Attachment',wed)
  990. A0.Position = vt(0,0.25,0.25)
  991. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  992. CreateMesh(wed,"Wedge",0.05,0.5,3)
  993. 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))
  994. A1 = Instance.new('Attachment',wed)
  995. A1.Position = vt(0,-0.25,-2)
  996. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  997. CreateMesh(wed,"Wedge",0.05,3,0.5)
  998. 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))
  999.  
  1000. tl2 = Instance.new('Trail',wed)
  1001. tl2.Attachment0 = A1
  1002. tl2.Attachment1 = A0
  1003. tl2.Texture = "rbxassetid://2108945559"
  1004. tl2.LightEmission = 1
  1005. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1006. tl2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  1007. tl2.Lifetime = 0.6
  1008.  
  1009. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1010. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1011. 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))
  1012.  
  1013. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1014. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1015. 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))
  1016. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1017. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1018. 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))
  1019. A0 = Instance.new('Attachment',wed)
  1020. A0.Position = vt(0,0.25,0.25)
  1021. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1022. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1023. 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))
  1024. A1 = Instance.new('Attachment',wed)
  1025. A1.Position = vt(0,-0.25,-2)
  1026. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1027. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1028. 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))
  1029.  
  1030. tl3 = Instance.new('Trail',wed)
  1031. tl3.Attachment0 = A1
  1032. tl3.Attachment1 = A0
  1033. tl3.Texture = "rbxassetid://2108945559"
  1034. tl3.LightEmission = 1
  1035. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1036. tl3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  1037. tl3.Lifetime = 0.6
  1038. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1039. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1040. 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))
  1041.  
  1042. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1043. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1044. CreateWeld(wed,lwing4,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1045. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1046. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1047. CreateWeld(wed,lwing4,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1048. A0 = Instance.new('Attachment',wed)
  1049. A0.Position = vt(0,0.25*2,0.25*2)
  1050. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1051. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1052. CreateWeld(wed,lwing4,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1053. A1 = Instance.new('Attachment',wed)
  1054. A1.Position = vt(0,-0.25*2,-2*2)
  1055. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1056. CreateMesh(wed,"Wedge",0.0*25,3*2,0.5*2)
  1057. CreateWeld(wed,lwing4,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1058.  
  1059. tl4 = Instance.new('Trail',wed)
  1060. tl4.Attachment0 = A1
  1061. tl4.Attachment1 = A0
  1062. tl4.Texture = "rbxassetid://2108945559"
  1063. tl4.LightEmission = 1
  1064. tl4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1065. tl4.Color = ColorSequence.new(BrickColor.new('Black').Color)
  1066. tl4.Lifetime = 0.6
  1067. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1068. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1069. 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))
  1070.  
  1071. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1072. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1073. CreateWeld(wed,lwing5,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1074. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1075. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1076. CreateWeld(wed,lwing5,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1077. A0 = Instance.new('Attachment',wed)
  1078. A0.Position = vt(0,0.25*2,0.25*2)
  1079. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1080. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1081. CreateWeld(wed,lwing5,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1082. A1 = Instance.new('Attachment',wed)
  1083. A1.Position = vt(0,-0.25*2,-2*2)
  1084. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1085. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1086. CreateWeld(wed,lwing5,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1087.  
  1088. tl5 = Instance.new('Trail',wed)
  1089. tl5.Attachment0 = A1
  1090. tl5.Attachment1 = A0
  1091. tl5.Texture = "rbxassetid://2108945559"
  1092. tl5.LightEmission = 1
  1093. tl5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1094. tl5.Color = ColorSequence.new(BrickColor.new('Black').Color)
  1095. tl5.Lifetime = 0.6
  1096. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1097. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1098. 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))
  1099.  
  1100. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1101. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1102. CreateWeld(wed,lwing6,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1103. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1104. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1105. CreateWeld(wed,lwing6,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1106. A0 = Instance.new('Attachment',wed)
  1107. A0.Position = vt(0,0.25*2,0.25*2)
  1108. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1109. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1110. CreateWeld(wed,lwing6,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1111. A1 = Instance.new('Attachment',wed)
  1112. A1.Position = vt(0,-0.25*2,-2*2)
  1113. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1114. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1115. CreateWeld(wed,lwing6,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1116. tl6 = Instance.new('Trail',wed)
  1117. tl6.Attachment0 = A1
  1118. tl6.Attachment1 = A0
  1119. tl6.Texture = "rbxassetid://2108945559"
  1120. tl6.LightEmission = 1
  1121. tl6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1122. tl6.Color = ColorSequence.new(BrickColor.new('Black').Color)
  1123. tl6.Lifetime = 0.6
  1124.  
  1125. tl1.Enabled = false
  1126. tl2.Enabled = false
  1127. tl3.Enabled = false
  1128. tl4.Enabled = false
  1129. tl5.Enabled = false
  1130. tl6.Enabled = false
  1131.  
  1132. -- Right wing.
  1133.  
  1134. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1135. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1136. 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))
  1137.  
  1138. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1139. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1140. 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))
  1141. A0 = Instance.new('Attachment',wed)
  1142. A0.Position = vt(0,0.25,0.25)
  1143. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1144. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1145. 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))
  1146. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1147. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1148. 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))
  1149. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1150. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1151. 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))
  1152. A1 = Instance.new('Attachment',wed)
  1153. A1.Position = vt(0,2,0.25)
  1154.  
  1155. tr1 = Instance.new('Trail',wed)
  1156. tr1.Attachment0 = A1
  1157. tr1.Attachment1 = A0
  1158. tr1.Texture = "rbxassetid://2108945559"
  1159. tr1.LightEmission = 1
  1160. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1161. tr1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  1162. tr1.Lifetime = 0.6
  1163.  
  1164. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1165. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1166. 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))
  1167.  
  1168. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1169. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1170. 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))
  1171. A0 = Instance.new('Attachment',wed)
  1172. A0.Position = vt(0,0.25,0.25)
  1173. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1174. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1175. 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))
  1176. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1177. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1178. 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))
  1179. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1180. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1181. 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))
  1182. A1 = Instance.new('Attachment',wed)
  1183. A1.Position = vt(0,2,0.25)
  1184.  
  1185. tr2 = Instance.new('Trail',wed)
  1186. tr2.Attachment0 = A1
  1187. tr2.Attachment1 = A0
  1188. tr2.Texture = "rbxassetid://2108945559"
  1189. tr2.LightEmission = 1
  1190. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1191. tr2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  1192. tr2.Lifetime = 0.6
  1193.  
  1194. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1195. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1196. 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))
  1197.  
  1198. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1199. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1200. 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))
  1201. A0 = Instance.new('Attachment',wed)
  1202. A0.Position = vt(0,0.25,0.25)
  1203. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1204. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1205. 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))
  1206. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1207. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1208. 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))
  1209. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1210. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1211. 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))
  1212. A1 = Instance.new('Attachment',wed)
  1213. A1.Position = vt(0,2,0.25)
  1214.  
  1215. tr3 = Instance.new('Trail',wed)
  1216. tr3.Attachment0 = A1
  1217. tr3.Attachment1 = A0
  1218. tr3.Texture = "rbxassetid://2108945559"
  1219. tr3.LightEmission = 1
  1220. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1221. tr3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  1222. tr3.Lifetime = 0.6
  1223.  
  1224.  
  1225. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1226. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1227. 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))
  1228.  
  1229. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1230. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1231. CreateWeld(wed,rwing4,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1232. A0 = Instance.new('Attachment',wed)
  1233. A0.Position = vt(0,0.25*2,0.25*2)
  1234. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1235. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1236. CreateWeld(wed,rwing4,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1237. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1238. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1239. CreateWeld(wed,rwing4,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1240. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1241. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1242. CreateWeld(wed,rwing4,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1243. A1 = Instance.new('Attachment',wed)
  1244. A1.Position = vt(0,2,0.25)
  1245.  
  1246. tr4 = Instance.new('Trail',wed)
  1247. tr4.Attachment0 = A1
  1248. tr4.Attachment1 = A0
  1249. tr4.Texture = "rbxassetid://2108945559"
  1250. tr4.LightEmission = 1
  1251. tr4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1252. tr4.Color = ColorSequence.new(BrickColor.new('Black').Color)
  1253. tr4.Lifetime = 0.6
  1254.  
  1255. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1256. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1257. 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))
  1258.  
  1259. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1260. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1261. CreateWeld(wed,rwing5,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1262. A0 = Instance.new('Attachment',wed)
  1263. A0.Position = vt(0,0.25*2,0.25*2)
  1264. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1265. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1266. CreateWeld(wed,rwing5,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1267. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1268. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1269. CreateWeld(wed,rwing5,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1270. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1271. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1272. CreateWeld(wed,rwing5,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1273. A1 = Instance.new('Attachment',wed)
  1274. A1.Position = vt(0,2,0.25)
  1275.  
  1276. tr5 = Instance.new('Trail',wed)
  1277. tr5.Attachment0 = A1
  1278. tr5.Attachment1 = A0
  1279. tr5.Texture = "rbxassetid://2108945559"
  1280. tr5.LightEmission = 1
  1281. tr5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1282. tr5.Color = ColorSequence.new(BrickColor.new('Black').Color)
  1283. tr5.Lifetime = 0.6
  1284.  
  1285. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1286. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1287. 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))
  1288.  
  1289. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1290. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1291. CreateWeld(wed,rwing6,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1292. A0 = Instance.new('Attachment',wed)
  1293. A0.Position = vt(0,0.25*2,0.25*2)
  1294. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1295. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1296. CreateWeld(wed,rwing6,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1297. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1298. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1299. CreateWeld(wed,rwing6,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1300. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1301. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1302. CreateWeld(wed,rwing6,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1303. A1 = Instance.new('Attachment',wed)
  1304. A1.Position = vt(0,2,0.25)
  1305.  
  1306. tr6 = Instance.new('Trail',wed)
  1307. tr6.Attachment0 = A1
  1308. tr6.Attachment1 = A0
  1309. tr6.Texture = "rbxassetid://2108945559"
  1310. tr6.LightEmission = 1
  1311. tr6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1312. tr6.Color = ColorSequence.new(BrickColor.new('Black').Color)
  1313. tr6.Lifetime = 0.6
  1314.  
  1315. tr4.Enabled = false
  1316. tr5.Enabled = false
  1317. tr6.Enabled = false
  1318.  
  1319. ---- HERES THE RING
  1320.  
  1321.  
  1322. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1323. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1324. 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))
  1325. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1326. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1327. 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))
  1328. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1329. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1330. 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))
  1331.  
  1332.  
  1333. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1334. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1335. 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))
  1336.  
  1337. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1338. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1339. 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))
  1340.  
  1341.  
  1342.  
  1343. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1344. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1345. 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))
  1346.  
  1347. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1348. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1349. 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))
  1350.  
  1351. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1352. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1353. 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))
  1354.  
  1355. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1356. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1357. 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))
  1358. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1359. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1360. 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))
  1361.  
  1362. --- second ring
  1363.  
  1364. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1365. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1366. 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))
  1367. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1368. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1369. 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))
  1370. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1371. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1372. 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))
  1373.  
  1374. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1375. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1376. 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))
  1377.  
  1378. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1379. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1380. 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))
  1381.  
  1382.  
  1383.  
  1384. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1385. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1386. 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))
  1387.  
  1388. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1389. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1390. 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))
  1391.  
  1392. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1393. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1394. 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))
  1395.  
  1396. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1397. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1398. 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))
  1399. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1400. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1401. 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))]]--
  1402.  
  1403.  
  1404.  
  1405. for i, v in pairs(m:GetChildren()) do
  1406. if v:IsA("Part") then
  1407. v.BrickColor = BrickColor.new("Really black")
  1408. v.Material = "Glass"
  1409. end
  1410. end
  1411. for i, v in pairs(m2:GetChildren()) do
  1412. if v:IsA("Part") then
  1413. v.BrickColor = BrickColor.new("Crimson")
  1414. v.Material = "Granite"
  1415. end
  1416. end
  1417. for i, v in pairs(m3:GetChildren()) do
  1418. if v:IsA("Part") then
  1419. v.BrickColor = BrickColor.new("Black")
  1420. v.Material = "Neon"
  1421. end
  1422. end
  1423. for i, v in pairs(mw2:GetChildren()) do
  1424. if v:IsA("Part") then
  1425. v.BrickColor = BrickColor.new("Black")
  1426. v.Material = "Neon"
  1427. end
  1428. end
  1429. for i, v in pairs(mw1:GetChildren()) do
  1430. if v:IsA("Part") then
  1431. v.Transparency = 1
  1432. v.BrickColor = BrickColor.new("Black")
  1433. v.Material = "Neon"
  1434. end
  1435. end
  1436. for i, v in pairs(extrawingmod1:GetChildren()) do
  1437. if v:IsA("Part") then
  1438. v.Transparency = 1
  1439. v.BrickColor = BrickColor.new("White")
  1440. v.Material = "Neon"
  1441. end
  1442. end
  1443. for i, v in pairs(extrawingmod2:GetChildren()) do
  1444. if v:IsA("Part") then
  1445. v.Transparency = 1
  1446. v.BrickColor = BrickColor.new("White")
  1447. v.Material = "Neon"
  1448. end
  1449. end
  1450. local MAINRUINCOLOR = BrickColor.new("Black")
  1451. ------
  1452.  
  1453.  
  1454. function RemoveOutlines(part)
  1455. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1456. end
  1457. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1458. local Part = Create("Part")({
  1459. Parent = Parent,
  1460. Reflectance = Reflectance,
  1461. Transparency = Transparency,
  1462. CanCollide = false,
  1463. Locked = true,
  1464. BrickColor = BrickColor.new(tostring(BColor)),
  1465. Name = Name,
  1466. Size = Size,
  1467. Material = Material
  1468. })
  1469. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1470. RemoveOutlines(Part)
  1471. return Part
  1472. end
  1473. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1474. local Msh = Create(Mesh)({
  1475. Parent = Part,
  1476. Offset = OffSet,
  1477. Scale = Scale
  1478. })
  1479. if Mesh == "SpecialMesh" then
  1480. Msh.MeshType = MeshType
  1481. Msh.MeshId = MeshId
  1482. end
  1483. return Msh
  1484. end
  1485. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1486. local Weld = Create("Weld")({
  1487. Parent = Parent,
  1488. Part0 = Part0,
  1489. Part1 = Part1,
  1490. C0 = C0,
  1491. C1 = C1
  1492. })
  1493. return Weld
  1494. end
  1495.  
  1496. Player=game:GetService("Players").LocalPlayer
  1497. Character=Player.Character
  1498. PlayerGui=Player.PlayerGui
  1499. Backpack=Player.Backpack
  1500. Torso=Character.Torso
  1501. Head=Character.Head
  1502. Humanoid=Character.Humanoid
  1503. m=Instance.new('Model',Character)
  1504. LeftArm=Character["Left Arm"]
  1505. LeftLeg=Character["Left Leg"]
  1506. RightArm=Character["Right Arm"]
  1507. RightLeg=Character["Right Leg"]
  1508. LS=Torso["Left Shoulder"]
  1509. LH=Torso["Left Hip"]
  1510. RS=Torso["Right Shoulder"]
  1511. RH=Torso["Right Hip"]
  1512. Face = Head.face
  1513. Neck=Torso.Neck
  1514. it=Instance.new
  1515. attacktype=1
  1516. vt=Vector3.new
  1517. cf=CFrame.new
  1518. euler=CFrame.fromEulerAnglesXYZ
  1519. angles=CFrame.Angles
  1520. cloaked=false
  1521. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1522. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1523. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1524. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1525. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1526. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1527. RootPart=Character.HumanoidRootPart
  1528. RootJoint=RootPart.RootJoint
  1529. RootCF=euler(-1.57,0,3.14)
  1530. attack = false
  1531. attackdebounce = false
  1532. deb=false
  1533. equipped=true
  1534. hand=false
  1535. MMouse=nil
  1536. combo=0
  1537. mana=0
  1538. trispeed=.2
  1539. attackmode='none'
  1540. local idle=0
  1541. local Anim="Idle"
  1542. local Effects={}
  1543. local gun=false
  1544. local shoot=false
  1545. local sine = 0
  1546. local change = 1
  1547. player=nil
  1548.  
  1549. function RecolorTextAndRename(name,col1,col2,font)
  1550. modet.TextStrokeColor3 = col2
  1551. modet.TextColor3 = col1
  1552. modet.Font = font
  1553. modet.Text = name
  1554. techc.ImageColor3 = col2
  1555. circl.ImageColor3 = col2
  1556. circl2.ImageColor3 = col1
  1557. imgl2.ImageColor3 = col1
  1558. imgl2b.ImageColor3 = col2
  1559. ned.Text = name
  1560. ned.TextColor3 = col1
  1561. ned.TextStrokeColor3 = col2
  1562. end
  1563.  
  1564. function warnedpeople(text,represfont,color,color2)
  1565. CFuncs["Sound"].Create("rbxassetid://534859368", char, 2.5,1)
  1566. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  1567. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1568. local chat=warnscript:Clone();
  1569. chat.Text.Value=text
  1570. chat.Font.Value=tostring(represfont)
  1571. chat.Color.Value=color
  1572. chat.Color2.Value=color2
  1573. chat.Chaosmode.Value=chaosmode
  1574.  
  1575. chat.Disabled=false
  1576. chat.Parent=v.Character
  1577. end
  1578. end
  1579.  
  1580.  
  1581. mouse=Player:GetMouse()
  1582. --save shoulders
  1583. RSH, LSH=nil, nil
  1584. --welds
  1585. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1586. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1587. LH=Torso["Left Hip"]
  1588. RH=Torso["Right Hip"]
  1589. TorsoColor=Torso.BrickColor
  1590. function NoOutline(Part)
  1591. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1592. end
  1593. player=Player
  1594. ch=Character
  1595. RSH=ch.Torso["Right Shoulder"]
  1596. LSH=ch.Torso["Left Shoulder"]
  1597. --
  1598. RSH.Parent=nil
  1599. LSH.Parent=nil
  1600. --
  1601. RW.Name="Right Shoulder"
  1602. RW.Part0=ch.Torso
  1603. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1604. RW.C1=cf(0,.5,0)
  1605. RW.Part1=ch["Right Arm"]
  1606. RW.Parent=ch.Torso
  1607. --
  1608. LW.Name="Left Shoulder"
  1609. LW.Part0=ch.Torso
  1610. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1611. LW.C1=cf(0,.5,0)
  1612. LW.Part1=ch["Left Arm"]
  1613. LW.Parent=ch.Torso
  1614.  
  1615. local Stats=Instance.new("BoolValue")
  1616. Stats.Name="Stats"
  1617. Stats.Parent=Character
  1618. local Atk=Instance.new("NumberValue")
  1619. Atk.Name="Damage"
  1620. Atk.Parent=Stats
  1621. Atk.Value=1
  1622. local Def=Instance.new("NumberValue")
  1623. Def.Name="Defense"
  1624. Def.Parent=Stats
  1625. Def.Value=1
  1626. local Speed=Instance.new("NumberValue")
  1627. Speed.Name="Speed"
  1628. Speed.Parent=Stats
  1629. Speed.Value=1
  1630. local Mvmt=Instance.new("NumberValue")
  1631. Mvmt.Name="Movement"
  1632. Mvmt.Parent=Stats
  1633. Mvmt.Value=1
  1634.  
  1635. local donum=0
  1636.  
  1637.  
  1638. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1639. local fp=it("Part")
  1640. fp.formFactor=formfactor
  1641. fp.Parent=parent
  1642. fp.Reflectance=reflectance
  1643. fp.Transparency=transparency
  1644. fp.CanCollide=false
  1645. fp.Locked=true
  1646. fp.BrickColor=brickcolor
  1647. fp.Name=name
  1648. fp.Size=size
  1649. fp.Position=Torso.Position
  1650. NoOutline(fp)
  1651. fp.Material="SmoothPlastic"
  1652. fp:BreakJoints()
  1653. return fp
  1654. end
  1655.  
  1656. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1657. local mesh=it(Mesh)
  1658. mesh.Parent=part
  1659. if Mesh=="SpecialMesh" then
  1660. mesh.MeshType=meshtype
  1661. if meshid~="nil" then
  1662. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1663. end
  1664. end
  1665. mesh.Offset=offset
  1666. mesh.Scale=scale
  1667. return mesh
  1668. end
  1669.  
  1670. function weld(parent,part0,part1,c0)
  1671. local weld=it("Weld")
  1672. weld.Parent=parent
  1673. weld.Part0=part0
  1674. weld.Part1=part1
  1675. weld.C0=c0
  1676. return weld
  1677. end
  1678.  
  1679. local Color1=Torso.BrickColor
  1680.  
  1681. local bodvel=Instance.new("BodyVelocity")
  1682. local bg=Instance.new("BodyGyro")
  1683.  
  1684. --------- SazEreno's Artificial HB --------------
  1685. ArtificialHB = Instance.new("BindableEvent", script)
  1686. ArtificialHB.Name = "ArtificialHB"
  1687.  
  1688. script:WaitForChild("ArtificialHB")
  1689. Frame_Speed = 1 / 60
  1690. frame = Frame_Speed
  1691. tf = 0
  1692. allowframeloss = false
  1693. tossremainder = false
  1694. lastframe = tick()
  1695. script.ArtificialHB:Fire()
  1696.  
  1697. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1698. tf = tf + s
  1699. if tf >= frame then
  1700. if allowframeloss then
  1701. script.ArtificialHB:Fire()
  1702. lastframe = tick()
  1703. else
  1704. for i = 1, math.floor(tf / frame) do
  1705. script.ArtificialHB:Fire()
  1706. end
  1707. lastframe = tick()
  1708. end
  1709. if tossremainder then
  1710. tf = 0
  1711. else
  1712. tf = tf - frame * math.floor(tf / frame)
  1713. end
  1714. end
  1715. end)
  1716.  
  1717. ------------------
  1718. function swait(num)
  1719. if num == 0 or num == nil then
  1720. ArtificialHB.Event:wait()
  1721. else
  1722. for i = 1, num do
  1723. ArtificialHB.Event:wait()
  1724. end
  1725. end
  1726. end
  1727. -------- RAINBOW LEAVE IT TO ME
  1728. local r = 255
  1729. local g = 0
  1730. local b = 0
  1731. coroutine.resume(coroutine.create(function()
  1732. while wait() do
  1733. for i = 0, 254/5 do
  1734. swait()
  1735. g = g + 5
  1736. end
  1737. for i = 0, 254/5 do
  1738. swait()
  1739. r = r - 5
  1740. end
  1741. for i = 0, 254/5 do
  1742. swait()
  1743. b = b + 5
  1744. end
  1745. for i = 0, 254/5 do
  1746. swait()
  1747. g = g - 5
  1748. end
  1749. for i = 0, 254/5 do
  1750. swait()
  1751. r = r + 5
  1752. end
  1753. for i = 0, 254/5 do
  1754. swait()
  1755. b = b - 5
  1756. end
  1757. end
  1758. end))
  1759.  
  1760.  
  1761. so = function(id,par,vol,pit)
  1762. coroutine.resume(coroutine.create(function()
  1763. local sou = Instance.new("Sound",par or workspace)
  1764. sou.Volume=vol
  1765. sou.Pitch=pit or 1
  1766. sou.SoundId=id
  1767. swait()
  1768. sou:play()
  1769. game:GetService("Debris"):AddItem(sou,6)
  1770. end))
  1771. end
  1772.  
  1773. function clerp(a,b,t)
  1774. local qa = {QuaternionFromCFrame(a)}
  1775. local qb = {QuaternionFromCFrame(b)}
  1776. local ax, ay, az = a.x, a.y, a.z
  1777. local bx, by, bz = b.x, b.y, b.z
  1778. local _t = 1-t
  1779. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1780. end
  1781.  
  1782. function QuaternionFromCFrame(cf)
  1783. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1784. local trace = m00 + m11 + m22
  1785. if trace > 0 then
  1786. local s = math.sqrt(1 + trace)
  1787. local recip = 0.5/s
  1788. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1789. else
  1790. local i = 0
  1791. if m11 > m00 then
  1792. i = 1
  1793. end
  1794. if m22 > (i == 0 and m00 or m11) then
  1795. i = 2
  1796. end
  1797. if i == 0 then
  1798. local s = math.sqrt(m00-m11-m22+1)
  1799. local recip = 0.5/s
  1800. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1801. elseif i == 1 then
  1802. local s = math.sqrt(m11-m22-m00+1)
  1803. local recip = 0.5/s
  1804. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1805. elseif i == 2 then
  1806. local s = math.sqrt(m22-m00-m11+1)
  1807. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1808. end
  1809. end
  1810. end
  1811.  
  1812. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1813. local xs, ys, zs = x + x, y + y, z + z
  1814. local wx, wy, wz = w*xs, w*ys, w*zs
  1815. local xx = x*xs
  1816. local xy = x*ys
  1817. local xz = x*zs
  1818. local yy = y*ys
  1819. local yz = y*zs
  1820. local zz = z*zs
  1821. 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))
  1822. end
  1823.  
  1824. function QuaternionSlerp(a, b, t)
  1825. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1826. local startInterp, finishInterp;
  1827. if cosTheta >= 0.0001 then
  1828. if (1 - cosTheta) > 0.0001 then
  1829. local theta = math.acos(cosTheta)
  1830. local invSinTheta = 1/math.sin(theta)
  1831. startInterp = math.sin((1-t)*theta)*invSinTheta
  1832. finishInterp = math.sin(t*theta)*invSinTheta
  1833. else
  1834. startInterp = 1-t
  1835. finishInterp = t
  1836. end
  1837. else
  1838. if (1+cosTheta) > 0.0001 then
  1839. local theta = math.acos(-cosTheta)
  1840. local invSinTheta = 1/math.sin(theta)
  1841. startInterp = math.sin((t-1)*theta)*invSinTheta
  1842. finishInterp = math.sin(t*theta)*invSinTheta
  1843. else
  1844. startInterp = t-1
  1845. finishInterp = t
  1846. end
  1847. end
  1848. 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
  1849. end
  1850.  
  1851. local function CFrameFromTopBack(at, top, back)
  1852. local right = top:Cross(back)
  1853. return CFrame.new(at.x, at.y, at.z,
  1854. right.x, top.x, back.x,
  1855. right.y, top.y, back.y,
  1856. right.z, top.z, back.z)
  1857. end
  1858.  
  1859. function Triangle(a, b, c)
  1860. local edg1 = (c-a):Dot((b-a).unit)
  1861. local edg2 = (a-b):Dot((c-b).unit)
  1862. local edg3 = (b-c):Dot((a-c).unit)
  1863. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1864. a, b, c = a, b, c
  1865. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1866. a, b, c = b, c, a
  1867. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1868. a, b, c = c, a, b
  1869. else
  1870. assert(false, "unreachable")
  1871. end
  1872.  
  1873. local len1 = (c-a):Dot((b-a).unit)
  1874. local len2 = (b-a).magnitude - len1
  1875. local width = (a + (b-a).unit*len1 - c).magnitude
  1876.  
  1877. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1878.  
  1879. local list = {}
  1880.  
  1881. if len1 > 0.01 then
  1882. local w1 = Instance.new('WedgePart', m)
  1883. game:GetService("Debris"):AddItem(w1,5)
  1884. w1.Material = "SmoothPlastic"
  1885. w1.FormFactor = 'Custom'
  1886. w1.BrickColor = BrickColor.new("Black")
  1887. w1.Transparency = 0
  1888. w1.Reflectance = 0
  1889. w1.Material = "SmoothPlastic"
  1890. w1.CanCollide = false
  1891. local l1 = Instance.new("PointLight",w1)
  1892. l1.Color = Color3.new(170,0,0)
  1893. NoOutline(w1)
  1894. local sz = Vector3.new(0.2, width, len1)
  1895. w1.Size = sz
  1896. local sp = Instance.new("SpecialMesh",w1)
  1897. sp.MeshType = "Wedge"
  1898. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1899. w1:BreakJoints()
  1900. w1.Anchored = true
  1901. w1.Parent = workspace
  1902. w1.Transparency = 0.7
  1903. table.insert(Effects,{w1,"Disappear",.01})
  1904. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1905. table.insert(list,w1)
  1906. end
  1907.  
  1908. if len2 > 0.01 then
  1909. local w2 = Instance.new('WedgePart', m)
  1910. game:GetService("Debris"):AddItem(w2,5)
  1911. w2.Material = "SmoothPlastic"
  1912. w2.FormFactor = 'Custom'
  1913. w2.BrickColor = BrickColor.new("Black")
  1914. w2.Transparency = 0
  1915. w2.Reflectance = 0
  1916. w2.Material = "SmoothPlastic"
  1917. w2.CanCollide = false
  1918. local l2 = Instance.new("PointLight",w2)
  1919. l2.Color = Color3.new(170,0,0)
  1920. NoOutline(w2)
  1921. local sz = Vector3.new(0.2, width, len2)
  1922. w2.Size = sz
  1923. local sp = Instance.new("SpecialMesh",w2)
  1924. sp.MeshType = "Wedge"
  1925. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1926. w2:BreakJoints()
  1927. w2.Anchored = true
  1928. w2.Parent = workspace
  1929. w2.Transparency = 0.7
  1930. table.insert(Effects,{w2,"Disappear",.01})
  1931. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1932. table.insert(list,w2)
  1933. end
  1934. return unpack(list)
  1935. end
  1936.  
  1937.  
  1938. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1939. if hit.Parent == nil then
  1940. return
  1941. end
  1942. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1943. for _, v in pairs(hit.Parent:children()) do
  1944. if v:IsA("Humanoid") then
  1945. h = v
  1946. end
  1947. end
  1948. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1949. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1950. return
  1951. end
  1952. local c = Create("ObjectValue")({
  1953. Name = "creator",
  1954. Value = game:service("Players").oPlayer,
  1955. Parent = h
  1956. })
  1957. game:GetService("Debris"):AddItem(c, 0.5)
  1958. if HitSound ~= nil and HitPitch ~= nil then
  1959. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1960. end
  1961. local Damage = math.random(minim, maxim)
  1962. local blocked = false
  1963. local block = hit.Parent:findFirstChild("Block")
  1964. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1965. blocked = true
  1966. block.Value = block.Value - 1
  1967. print(block.Value)
  1968. end
  1969. if blocked == false and ModeOfGlitch ~= 666666666666 and ModeOfGlitch~=999999999556 then
  1970. HitHealth = h.Health
  1971. h.MaxHealth = 100
  1972. h.Health = h.Health - Damage
  1973. if((ModeOfGlitch==9 or ModeOfGlitch==3) and not h.Parent:FindFirstChild'Diseased' and script:FindFirstChild'Disease')then
  1974. local dis = script.Disease:Clone()
  1975. dis.Parent=h.Parent
  1976. dis.Disabled=false
  1977. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(math.random(-2,2), 1.5, math.random(-2,2)), "DISEASE", 1.5, MAINRUINCOLOR.Color)
  1978. end
  1979. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1980. print("gained kill")
  1981. dmg(h.Parent)
  1982. end
  1983. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(math.random(-2,2), 1.5, math.random(-2,2)), -Damage, 1.5, MAINRUINCOLOR.Color)
  1984. elseif ModeOfGlitch==666666666666 or ModeOfGlitch==999999999556 then
  1985. print("gained kill")
  1986. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(math.random(-2,2), 1.5, math.random(-2,2)), "DECIMATED", 1.5, MAINRUINCOLOR.Color)
  1987.  
  1988. dmg(h.Parent)
  1989.  
  1990. else
  1991. h.Health = h.Health - Damage / 2
  1992. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(math.random(-2,2), 1.5, math.random(-2,2)), -Damage, 1.5, MAINRUINCOLOR.Color)
  1993. end
  1994. if Type == "Knockdown" then
  1995. local hum = hit.Parent.Humanoid
  1996. hum.PlatformStand = true
  1997. coroutine.resume(coroutine.create(function(HHumanoid)
  1998. swait(1)
  1999. HHumanoid.PlatformStand = false
  2000. end), hum)
  2001. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2002. local bodvol = Create("BodyVelocity")({
  2003. velocity = angle * knockback,
  2004. P = 5000,
  2005. maxForce = Vector3.new(8000, 8000, 8000),
  2006. Parent = hit
  2007. })
  2008. local rl = Create("BodyAngularVelocity")({
  2009. P = 3000,
  2010. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2011. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2012. Parent = hit
  2013. })
  2014. game:GetService("Debris"):AddItem(bodvol, 0.5)
  2015. game:GetService("Debris"):AddItem(rl, 0.5)
  2016. elseif Type == "Normal" then
  2017. local vp = Create("BodyVelocity")({
  2018. P = 500,
  2019. maxForce = Vector3.new(math.huge, 0, math.huge),
  2020. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2021. })
  2022. if knockback > 0 then
  2023. vp.Parent = hit.Parent.PrimaryPart or hit.Parent:FindFirstChild'Torso' or hit.Parent:FindFirstChild'UpperTorso'
  2024. end
  2025. game:GetService("Debris"):AddItem(vp, 0.5)
  2026. elseif Type == "LustHump" then
  2027. local vp = Create("BodyVelocity")({
  2028. P = 500,
  2029. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2030. velocity = Vector3.new(0,knockback/2,0) + Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2031. })
  2032. if knockback > 0 then
  2033. vp.Parent = hit.Parent.PrimaryPart or hit.Parent:FindFirstChild'Torso' or hit.Parent:FindFirstChild'UpperTorso'
  2034. end
  2035. game:GetService("Debris"):AddItem(vp, 0.5)
  2036. elseif Type == "Up" then
  2037. local bodyVelocity = Create("BodyVelocity")({
  2038. velocity = Vector3.new(0, 20, 0),
  2039. P = 5000,
  2040. maxForce = Vector3.new(8000, 8000, 8000),
  2041. Parent = hit
  2042. })
  2043. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2044. local bodyVelocity = Create("BodyVelocity")({
  2045. velocity = Vector3.new(0, 20, 0),
  2046. P = 5000,
  2047. maxForce = Vector3.new(8000, 8000, 8000),
  2048. Parent = hit
  2049. })
  2050. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2051. elseif Type == "UpKnock" then
  2052. local hum = hit.Parent.Humanoid
  2053. hum.PlatformStand = true
  2054. if hum ~= nil then
  2055. hitr = true
  2056. end
  2057. coroutine.resume(coroutine.create(function(HHumanoid)
  2058. swait(5)
  2059. HHumanoid.PlatformStand = false
  2060. hitr = false
  2061. end), hum)
  2062. local bodyVelocity = Create("BodyVelocity")({
  2063. velocity = Vector3.new(0, 20, 0),
  2064. P = 5000,
  2065. maxForce = Vector3.new(8000, 8000, 8000),
  2066. Parent = hit
  2067. })
  2068. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2069. local bodyVelocity = Create("BodyVelocity")({
  2070. velocity = Vector3.new(0, 20, 0),
  2071. P = 5000,
  2072. maxForce = Vector3.new(8000, 8000, 8000),
  2073. Parent = hit
  2074. })
  2075. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2076. elseif Type == "Snare" then
  2077. local bp = Create("BodyPosition")({
  2078. P = 2000,
  2079. D = 100,
  2080. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2081. position = hit.Parent.Torso.Position,
  2082. Parent = hit.Parent.Torso
  2083. })
  2084. game:GetService("Debris"):AddItem(bp, 1)
  2085. elseif Type == "Slashnare" then
  2086. 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)
  2087. for i = 1, math.random(4, 5) do
  2088. 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)
  2089. end
  2090. local bp = Create("BodyPosition")({
  2091. P = 2000,
  2092. D = 100,
  2093. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2094. position = hit.Parent.Torso.Position,
  2095. Parent = hit.Parent.Torso
  2096. })
  2097. game:GetService("Debris"):AddItem(bp, 1)
  2098. elseif Type == "Spike" then
  2099. CreateBigIceSword(hit.Parent.Torso.CFrame)
  2100. local bp = Create("BodyPosition")({
  2101. P = 2000,
  2102. D = 100,
  2103. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2104. position = hit.Parent.Torso.Position,
  2105. Parent = hit.Parent.Torso
  2106. })
  2107. game:GetService("Debris"):AddItem(bp, 1)
  2108. elseif Type == "Freeze" then
  2109. local BodPos = Create("BodyPosition")({
  2110. P = 50000,
  2111. D = 1000,
  2112. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2113. position = hit.Parent.Torso.Position,
  2114. Parent = hit.Parent.Torso
  2115. })
  2116. local BodGy = Create("BodyGyro")({
  2117. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  2118. P = 20000,
  2119. Parent = hit.Parent.Torso,
  2120. cframe = hit.Parent.Torso.CFrame
  2121. })
  2122. hit.Parent.Torso.Anchored = true
  2123. coroutine.resume(coroutine.create(function(Part)
  2124. swait(1.5)
  2125. Part.Anchored = false
  2126. end), hit.Parent.Torso)
  2127. game:GetService("Debris"):AddItem(BodPos, 3)
  2128. game:GetService("Debris"):AddItem(BodGy, 3)
  2129. end
  2130. local debounce = Create("BoolValue")({
  2131. Name = "DebounceHit",
  2132. Parent = hit.Parent,
  2133. Value = true
  2134. })
  2135. game:GetService("Debris"):AddItem(debounce, Delay)
  2136. c = Instance.new("ObjectValue")
  2137. c.Name = "creator"
  2138. c.Value = game:service'Players'.oPlayer
  2139. c.Parent = h
  2140. game:GetService("Debris"):AddItem(c, 0.5)
  2141. end
  2142. end
  2143. function ShowDamage(Pos, Text, Time, Color)
  2144. local Rate = 0.03333333333333333
  2145. local Pos = Pos or Vector3.new(0, 0, 0)
  2146. local Text = Text or ""
  2147. local Time = Time or 2
  2148. local Color = Color or Color3.new(1, 0, 1)
  2149. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2150. EffectPart.Anchored = true
  2151. Text=tostring(Text)
  2152. local BillboardGui = Create("BillboardGui")({
  2153. Size = UDim2.new(5, 0, 5, 0),
  2154. Adornee = EffectPart,
  2155. Parent = EffectPart
  2156. })
  2157. local TextLabel = Create("TextLabel")({
  2158. BackgroundTransparency = 1,
  2159. Size = UDim2.new(1, 0, 1, 0),
  2160. Text = Text,
  2161. TextColor3 = Color,
  2162. TextScaled = true,
  2163. Font = Enum.Font.ArialBold,
  2164. Parent = BillboardGui
  2165. })
  2166. EffectPart.Parent = game:GetService("Workspace")
  2167. EffectPart.CFrame = CFrame.new(Pos)
  2168. delay(0, function()
  2169. local rot=math.random(-10,10)/15
  2170. local raise=.2
  2171. local Frames = Time / Rate
  2172. for i=0,1.1,.02 do
  2173. swait()
  2174. if(chaosmode)then
  2175. TextLabel.TextColor3 = Color3.new(math.random(),0,0)
  2176. TextLabel.Rotation=math.random(-35,35)
  2177. elseif(ModeOfGlitch==999999999556)then
  2178. TextLabel.TextColor3 = Color3.new(0,0,math.random())
  2179. TextLabel.Rotation=math.random(-75,75)
  2180. TextLabel.Text = tostring(-math.random(-9999,9999))
  2181. else
  2182. TextLabel.Rotation=TextLabel.Rotation+rot
  2183. end
  2184. raise=raise-.008
  2185. EffectPart.Position = EffectPart.Position + Vector3.new(0, raise, 0)
  2186. TextLabel.TextTransparency=i
  2187. TextLabel.TextStrokeTransparency=i
  2188. end
  2189. if EffectPart and EffectPart.Parent then
  2190. EffectPart:Destroy()
  2191. end
  2192. end)
  2193. end
  2194.  
  2195. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2196. for _, c in pairs(workspace:children()) do
  2197. local hum = c:findFirstChildOfClass("Humanoid")
  2198. if hum ~= nil then
  2199. local head = c:findFirstChild("Head")
  2200. if head ~= nil then
  2201. local targ = head.Position - Part.Position
  2202. local mag = targ.magnitude
  2203. if magni >= mag and c.Name ~= Player.Name then
  2204. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2205. end
  2206. end
  2207. end
  2208. end
  2209. end
  2210.  
  2211. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2212. for _, c in pairs(workspace:children()) do
  2213. local hum = c:findFirstChild("Humanoid")
  2214. if hum ~= nil then
  2215. local head = c:findFirstChild("Torso")
  2216. if head ~= nil then
  2217. local targ = head.Position - Part.Position
  2218. local mag = targ.magnitude
  2219. if magni >= mag and c.Name ~= Player.Name then
  2220. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2221. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2222. end
  2223. end
  2224. end
  2225. end
  2226. end
  2227.  
  2228. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2229. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2230. end
  2231.  
  2232. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2233. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2234. prt.Anchored=true
  2235. prt.CFrame=cframe
  2236. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2237. --http://www.roblox.com/asset/?id=4770560
  2238. game:GetService("Debris"):AddItem(prt,2)
  2239. CF=prt.CFrame
  2240. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2241. for i=0,1,0.2 do
  2242. wait()
  2243. Part.CFrame=CF*cf(0,0,-0.4)
  2244. end
  2245. for i=0,1,delay do
  2246. wait()
  2247. --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)
  2248. Mesh.Scale=Mesh.Scale
  2249. end
  2250. for i=0,1,0.1 do
  2251. wait()
  2252. Part.Transparency=i
  2253. end
  2254. Part.Parent=nil
  2255. end),prt,msh,CF)
  2256. end
  2257.  
  2258. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2259. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2260. prt.Anchored=true
  2261. prt.Material = "Neon"
  2262. prt.CFrame=cframe
  2263. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2264. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2265. game:GetService("Debris"):AddItem(prt,5)
  2266. coroutine.resume(coroutine.create(function(Part,Mesh)
  2267. for i=0,1,delay do
  2268. swait()
  2269. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2270. Part.Transparency=i
  2271. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2272. end
  2273. Part.Parent=nil
  2274. end),prt,msh)
  2275. end
  2276.  
  2277. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2278. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2279. prt.Anchored=true
  2280. prt.Material = "Neon"
  2281. prt.CFrame=cframe
  2282. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2283. game:GetService("Debris"):AddItem(prt,5)
  2284. coroutine.resume(coroutine.create(function(Part,Mesh)
  2285. local rtype = rottype
  2286. for i=0,1,delay do
  2287. swait()
  2288. if rtype == 1 then
  2289. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2290. elseif rtype == 2 then
  2291. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2292. end
  2293. Part.Transparency=i
  2294. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2295. end
  2296. Part.Parent=nil
  2297. end),prt,msh)
  2298. end
  2299.  
  2300. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2301. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2302. prt.Anchored=true
  2303. prt.CFrame=cframe
  2304. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2305. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2306. game:GetService("Debris"):AddItem(prt,5)
  2307. coroutine.resume(coroutine.create(function(Part,Mesh)
  2308. for i=0,1,delay do
  2309. wait()
  2310. Part.Transparency=i
  2311. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2312. end
  2313. Part.Parent=nil
  2314. end),prt,msh)
  2315. end
  2316.  
  2317. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2318. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2319. prt.Anchored=true
  2320. prt.Material = "Neon"
  2321. prt.CFrame=cframe
  2322. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2323. game:GetService("Debris"):AddItem(prt,5)
  2324. coroutine.resume(coroutine.create(function(Part,Mesh)
  2325. local rtype = rottype
  2326. for i=0,1,delay do
  2327. swait()
  2328. if rtype == 1 then
  2329. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2330. elseif rtype == 2 then
  2331. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2332. end
  2333. Part.Transparency=i
  2334. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2335. end
  2336. Part.Parent=nil
  2337. end),prt,msh)
  2338. end
  2339.  
  2340. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2341. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2342. prt.Anchored=true
  2343. prt.Material = "Neon"
  2344. prt.CFrame=cframe
  2345. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2346. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2347. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2348. game:GetService("Debris"):AddItem(prt,5)
  2349. coroutine.resume(coroutine.create(function(Part,Mesh)
  2350. local rtype = rottype
  2351. for i=0,1,delay do
  2352. swait()
  2353. if rtype == 1 then
  2354. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2355. elseif rtype == 2 then
  2356. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2357. end
  2358. dec.Transparency=i
  2359. dec2.Transparency=i
  2360. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2361. end
  2362. Part.Parent=nil
  2363. end),prt,msh)
  2364. end
  2365.  
  2366. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2367. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2368. prt.Anchored=true
  2369. prt.Material = "Neon"
  2370. prt.CFrame=cframe
  2371. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2372. game:GetService("Debris"):AddItem(prt,5)
  2373. coroutine.resume(coroutine.create(function(Part,Mesh)
  2374. local rtype = rottype
  2375. for i=0,1,delay do
  2376. swait()
  2377. if rtype == 1 then
  2378. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2379. elseif rtype == 2 then
  2380. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2381. end
  2382. prt.Transparency=i
  2383. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2384. end
  2385. Part.Parent=nil
  2386. end),prt,msh)
  2387. end
  2388.  
  2389. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2390. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2391. prt.Anchored=true
  2392. prt.Material = "Neon"
  2393. prt.CFrame=cframe
  2394. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2395. game:GetService("Debris"):AddItem(prt,5)
  2396. coroutine.resume(coroutine.create(function(Part,Mesh)
  2397. local rtype = rottype
  2398. for i=0,1,delay do
  2399. swait()
  2400. if rtype == 1 then
  2401. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2402. elseif rtype == 2 then
  2403. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2404. end
  2405. prt.Transparency=i
  2406. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2407. end
  2408. Part.Parent=nil
  2409. end),prt,msh)
  2410. end
  2411.  
  2412. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2413. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2414. prt.Anchored=true
  2415. prt.Material = "Neon"
  2416. prt.CFrame=cframe
  2417. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2418. game:GetService("Debris"):AddItem(prt,5)
  2419. coroutine.resume(coroutine.create(function(Part,Mesh)
  2420. local rtype = rottype
  2421. for i=0,1,delay do
  2422. swait()
  2423. if rtype == 1 then
  2424. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2425. elseif rtype == 2 then
  2426. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2427. end
  2428. prt.Transparency=i
  2429. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2430. end
  2431. Part.Parent=nil
  2432. end),prt,msh)
  2433. end
  2434.  
  2435. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2436. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2437. prt.Anchored=true
  2438. prt.Material = "Neon"
  2439. prt.CFrame=cframe
  2440. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2441. game:GetService("Debris"):AddItem(prt,5)
  2442. coroutine.resume(coroutine.create(function(Part,Mesh)
  2443. local rtype = rottype
  2444. for i=0,1,delay do
  2445. swait()
  2446. if rtype == 1 then
  2447. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2448. elseif rtype == 2 then
  2449. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2450. end
  2451. prt.Transparency=i
  2452. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2453. end
  2454. Part.Parent=nil
  2455. end),prt,msh)
  2456. end
  2457.  
  2458. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2459. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2460. prt.Anchored=false
  2461. prt.CFrame=cframe
  2462. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2463. local wld=weld(prt,prt,Parent,cframe)
  2464. game:GetService("Debris"):AddItem(prt,5)
  2465. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2466. for i=0,1,delay do
  2467. wait()
  2468. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2469. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2470. Part.Transparency=i
  2471. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2472. end
  2473. Part.Parent=nil
  2474. end),prt,msh,wld)
  2475. end
  2476.  
  2477. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2478. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2479. prt.Anchored=false
  2480. prt.CFrame=cframe
  2481. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2482. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2483. game:GetService("Debris"):AddItem(prt,5)
  2484. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2485. for i=0,1,delay do
  2486. wait()
  2487. Weld.C0=euler(i*20,0,0)
  2488. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2489. Part.Transparency=i
  2490. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2491. end
  2492. Part.Parent=nil
  2493. end),prt,msh,wld)
  2494. end
  2495.  
  2496. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2497. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2498. prt.Anchored=true
  2499. prt.CFrame=cframe
  2500. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2501. game:GetService("Debris"):AddItem(prt,2)
  2502. coroutine.resume(coroutine.create(function(Part,Mesh)
  2503. for i=0,1,delay do
  2504. wait()
  2505. Part.CFrame=Part.CFrame
  2506. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2507. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2508. prt2.Anchored=true
  2509. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2510. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2511. game:GetService("Debris"):AddItem(prt2,2)
  2512. coroutine.resume(coroutine.create(function(Part,Mesh)
  2513. for i=0,1,0.1 do
  2514. wait()
  2515. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2516. end
  2517. Part.Parent=nil
  2518. end),prt2,msh2)
  2519. end
  2520. for i=0,1,delay*2 do
  2521. wait()
  2522. Part.CFrame=Part.CFrame
  2523. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2524. end
  2525. Part.Parent=nil
  2526. end),prt,msh)
  2527. end
  2528.  
  2529. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2530. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2531. prt.Anchored=true
  2532. prt.CFrame=cframe
  2533. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2534. game:GetService("Debris"):AddItem(prt,2)
  2535. coroutine.resume(coroutine.create(function(Part,Mesh)
  2536. for i=0,1,delay do
  2537. wait()
  2538. Part.CFrame=Part.CFrame
  2539. Part.Transparency=i
  2540. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2541. end
  2542. Part.Parent=nil
  2543. end),prt,msh)
  2544. end
  2545.  
  2546. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2547. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2548. prt.Anchored=true
  2549. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2550. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2551. game:GetService("Debris"):AddItem(prt,2)
  2552. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2553. CF=Part.CFrame
  2554. Numbb=0
  2555. randnumb=math.random()/10
  2556. rand1=math.random()/10
  2557. for i=0,1,rand1 do
  2558. wait()
  2559. CF=CF*cf(0,math.random()/2,0)
  2560. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2561. Part.CFrame=CF*euler(Numbb,0,0)
  2562. Part.Transparency=i
  2563. Numbb=Numbb+randnumb
  2564. end
  2565. Part.Parent=nil
  2566. end),prt,CF,Numbb,randnumb)
  2567. end
  2568.  
  2569. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2570. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2571. prt.Anchored=true
  2572. prt.CFrame=cframe
  2573. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2574. game:GetService("Debris"):AddItem(prt,5)
  2575. coroutine.resume(coroutine.create(function(Part,Mesh)
  2576. for i=0,1,delay do
  2577. wait()
  2578. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2579. Part.Transparency=i
  2580. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2581. end
  2582. Part.Parent=nil
  2583. end),prt,msh)
  2584. end
  2585.  
  2586. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2587. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2588. prt.Anchored=true
  2589. prt.CFrame=cframe
  2590. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2591. game:GetService("Debris"):AddItem(prt,2)
  2592. coroutine.resume(coroutine.create(function(Part,Mesh)
  2593. for i=0,1,delay do
  2594. wait()
  2595. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2596. Part.Transparency=i
  2597. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2598. end
  2599. Part.Parent=nil
  2600. end),prt,msh)
  2601. end
  2602.  
  2603. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2604. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2605. prt.Anchored=true
  2606. prt.CFrame=cframe*cf(x,y,z)
  2607. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2608. game:GetService("Debris"):AddItem(prt,5)
  2609. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2610. local num=math.random()
  2611. local num2=math.random(-3,2)+math.random()
  2612. local numm=0
  2613. for i=0,1,delay*2 do
  2614. swait()
  2615. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2616. Part.Transparency=i
  2617. numm=numm+0.01
  2618. end
  2619. Part.Parent=nil
  2620. Mesh.Parent=nil
  2621. end),prt,msh,x,y,z)
  2622. end
  2623.  
  2624. function dmgstart(dmg,what)
  2625. hitcon = what.Touched:connect(function(hit)
  2626. local hum = hit.Parent:FindFirstChild("Humanoid")
  2627. if hum and not hum:IsDescendantOf(Character) then
  2628. hum:TakeDamage(dmg)
  2629. end
  2630. end)
  2631. end
  2632.  
  2633. function dmgstop()
  2634. hitcon:disconnect()
  2635. end
  2636.  
  2637. function Cloak()
  2638. Face.Parent=nil
  2639. cloaked=true
  2640. for _,v in pairs(Torso.Parent:children()) do
  2641. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2642. coroutine.resume(coroutine.create(function()
  2643. for i=0,1,0.2 do
  2644. wait()
  2645. v.Transparency=i
  2646. end
  2647. v.Transparency=1
  2648. end))
  2649. end
  2650. if v.className=="Hat" then
  2651. hatp=v.Handle
  2652. coroutine.resume(coroutine.create(function(derp)
  2653. for i=0,1,0.2 do
  2654. wait()
  2655. derp.Transparency=i
  2656. end
  2657. derp.Transparency=1
  2658. end),hatp)
  2659. end
  2660. end
  2661. for _,v in pairs(m:children()) do
  2662. if v.className=="Part" then
  2663. coroutine.resume(coroutine.create(function()
  2664. for i=0,1,0.2 do
  2665. wait()
  2666. v.Transparency=i
  2667. end
  2668. v.Transparency=1
  2669. end))
  2670. end
  2671. end
  2672. end
  2673.  
  2674. function UnCloak()
  2675. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2676. Face.Parent=Head
  2677. cloaked=false
  2678. for _,v in pairs(Torso.Parent:children()) do
  2679. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2680. coroutine.resume(coroutine.create(function()
  2681. for i=0,1,0.1 do
  2682. wait()
  2683. v.Transparency=v.Transparency-0.1
  2684. end
  2685. v.Transparency=0
  2686. end))
  2687. end
  2688. if v.className=="Hat" then
  2689. hatp=v.Handle
  2690. coroutine.resume(coroutine.create(function(derp)
  2691. for i=0,1,0.1 do
  2692. wait()
  2693. derp.Transparency=derp.Transparency-0.1
  2694. end
  2695. derp.Transparency=0
  2696. end),hatp)
  2697. end
  2698. end
  2699. for _,v in pairs(m:children()) do
  2700. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2701. coroutine.resume(coroutine.create(function()
  2702. for i=0,1,0.1 do
  2703. wait()
  2704. v.Transparency=v.Transparency-0.1
  2705. end
  2706. v.Transparency=0
  2707. end))
  2708. v.Transparency=0
  2709. end
  2710. end
  2711. end
  2712.  
  2713. local origcolor = BrickColor.new("Pastel light blue")
  2714. ---- This section of explosions.
  2715.  
  2716. ----
  2717.  
  2718. function ring(type,pos,scale,value)
  2719. local type = type
  2720. local rng = Instance.new("Part", char)
  2721. rng.Anchored = true
  2722. rng.BrickColor = origcolor
  2723. rng.CanCollide = false
  2724. rng.FormFactor = 3
  2725. rng.Name = "Effect"
  2726. rng.Size = Vector3.new(1, 1, 1)
  2727. rng.Transparency = 0
  2728. rng.TopSurface = 0
  2729. rng.BottomSurface = 0
  2730. rng.CFrame = pos
  2731. local rngm = Instance.new("SpecialMesh", rng)
  2732. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2733. rngm.Scale = scale
  2734. local scaler2 = 1
  2735. if type == "Add" then
  2736. scaler2 = 1*value
  2737. elseif type == "Divide" then
  2738. scaler2 = 1/value
  2739. end
  2740. coroutine.resume(coroutine.create(function()
  2741. for i = 0,10,0.1 do
  2742. swait()
  2743. if type == "Add" then
  2744. scaler2 = scaler2 - 0.01*value
  2745. elseif type == "Divide" then
  2746. scaler2 = scaler2 - 0.01/value
  2747. end
  2748. rng.Transparency = rng.Transparency + 0.01
  2749. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2750. end
  2751. rng:Destroy()
  2752. end))
  2753. end
  2754.  
  2755.  
  2756. function wave(type,pos,scale,value)
  2757. local type = type
  2758. local rng = Instance.new("Part", char)
  2759. rng.Anchored = true
  2760. rng.BrickColor = origcolor
  2761. rng.CanCollide = false
  2762. rng.FormFactor = 3
  2763. rng.Name = "Effect"
  2764. rng.Size = Vector3.new(1, 1, 1)
  2765. rng.Transparency = 0
  2766. rng.TopSurface = 0
  2767. rng.BottomSurface = 0
  2768. rng.CFrame = pos
  2769. local rngm = Instance.new("SpecialMesh", rng)
  2770. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2771. rngm.Scale = scale
  2772. local scaler2 = 1
  2773. if type == "Add" then
  2774. scaler2 = 1*value
  2775. elseif type == "Divide" then
  2776. scaler2 = 1/value
  2777. end
  2778. coroutine.resume(coroutine.create(function()
  2779. for i = 0,10,0.1 do
  2780. swait()
  2781. if type == "Add" then
  2782. scaler2 = scaler2 - 0.01*value
  2783. elseif type == "Divide" then
  2784. scaler2 = scaler2 - 0.01/value
  2785. end
  2786. rng.Transparency = rng.Transparency + 0.01
  2787. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2788. end
  2789. rng:Destroy()
  2790. end))
  2791. end
  2792.  
  2793. function wind(type,pos,scale,value,speed)
  2794. local type = type
  2795. local rng = Instance.new("Part", char)
  2796. rng.Anchored = true
  2797. rng.BrickColor = origcolor
  2798. rng.CanCollide = false
  2799. rng.FormFactor = 3
  2800. rng.Name = "Effect"
  2801. rng.Size = Vector3.new(1, 1, 1)
  2802. rng.Transparency = 0
  2803. rng.TopSurface = 0
  2804. rng.BottomSurface = 0
  2805. rng.CFrame = pos
  2806. local rngm = Instance.new("SpecialMesh", rng)
  2807. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2808. rngm.Scale = scale
  2809. local scaler2 = 1
  2810. if type == "Add" then
  2811. scaler2 = 1*value
  2812. elseif type == "Divide" then
  2813. scaler2 = 1/value
  2814. end
  2815. coroutine.resume(coroutine.create(function()
  2816. for i = 0,10,0.1 do
  2817. swait()
  2818. if type == "Add" then
  2819. scaler2 = scaler2 - 0.01*value
  2820. elseif type == "Divide" then
  2821. scaler2 = scaler2 - 0.01/value
  2822. end
  2823. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2824. rng.Transparency = rng.Transparency + 0.01
  2825. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2826. end
  2827. rng:Destroy()
  2828. end))
  2829. end
  2830.  
  2831. function groundwind(type,pos,scale,value,speed)
  2832. local type = type
  2833. local rng = Instance.new("Part", char)
  2834. rng.Anchored = true
  2835. rng.BrickColor = origcolor
  2836. rng.CanCollide = false
  2837. rng.FormFactor = 3
  2838. rng.Name = "Effect"
  2839. rng.Size = Vector3.new(1, 1, 1)
  2840. rng.Transparency = 0
  2841. rng.TopSurface = 0
  2842. rng.BottomSurface = 0
  2843. rng.CFrame = pos
  2844. local rngm = Instance.new("SpecialMesh", rng)
  2845. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2846. rngm.Scale = scale
  2847. local scaler2 = 1
  2848. if type == "Add" then
  2849. scaler2 = 1*value
  2850. elseif type == "Divide" then
  2851. scaler2 = 1/value
  2852. end
  2853. coroutine.resume(coroutine.create(function()
  2854. for i = 0,10,0.1 do
  2855. swait()
  2856. if type == "Add" then
  2857. scaler2 = scaler2 - 0.01*value
  2858. elseif type == "Divide" then
  2859. scaler2 = scaler2 - 0.01/value
  2860. end
  2861. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2862. rng.Transparency = rng.Transparency + 0.01
  2863. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2864. end
  2865. rng:Destroy()
  2866. end))
  2867. end
  2868.  
  2869. function CameraManager()
  2870. end
  2871.  
  2872. function ring(type,pos,scale,value)
  2873. local type = type
  2874. local rng = Instance.new("Part", char)
  2875. rng.Anchored = true
  2876. rng.BrickColor = origcolor
  2877. rng.CanCollide = false
  2878. rng.FormFactor = 3
  2879. rng.Name = "Effect"
  2880. rng.Size = Vector3.new(1, 1, 1)
  2881. rng.Transparency = 0
  2882. rng.TopSurface = 0
  2883. rng.BottomSurface = 0
  2884. rng.CFrame = pos
  2885. local rngm = Instance.new("SpecialMesh", rng)
  2886. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2887. rngm.Scale = scale
  2888. local scaler2 = 1
  2889. if type == "Add" then
  2890. scaler2 = 1*value
  2891. elseif type == "Divide" then
  2892. scaler2 = 1/value
  2893. end
  2894. coroutine.resume(coroutine.create(function()
  2895. for i = 0,10,0.1 do
  2896. swait()
  2897. if type == "Add" then
  2898. scaler2 = scaler2 - 0.01*value
  2899. elseif type == "Divide" then
  2900. scaler2 = scaler2 - 0.01/value
  2901. end
  2902. rng.Transparency = rng.Transparency + 0.01
  2903. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2904. end
  2905. rng:Destroy()
  2906. end))
  2907. end
  2908.  
  2909.  
  2910. function wave(type,pos,scale,value)
  2911. local type = type
  2912. local rng = Instance.new("Part", char)
  2913. rng.Anchored = true
  2914. rng.BrickColor = origcolor
  2915. rng.CanCollide = false
  2916. rng.FormFactor = 3
  2917. rng.Name = "Effect"
  2918. rng.Size = Vector3.new(1, 1, 1)
  2919. rng.Transparency = 0
  2920. rng.TopSurface = 0
  2921. rng.BottomSurface = 0
  2922. rng.CFrame = pos
  2923. local rngm = Instance.new("SpecialMesh", rng)
  2924. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2925. rngm.Scale = scale
  2926. local scaler2 = 1
  2927. if type == "Add" then
  2928. scaler2 = 1*value
  2929. elseif type == "Divide" then
  2930. scaler2 = 1/value
  2931. end
  2932. coroutine.resume(coroutine.create(function()
  2933. for i = 0,10,0.1 do
  2934. swait()
  2935. if type == "Add" then
  2936. scaler2 = scaler2 - 0.01*value
  2937. elseif type == "Divide" then
  2938. scaler2 = scaler2 - 0.01/value
  2939. end
  2940. rng.Transparency = rng.Transparency + 0.01
  2941. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2942. end
  2943. rng:Destroy()
  2944. end))
  2945. end
  2946.  
  2947. function sphere(bonuspeed,type,pos,scale,value,color)
  2948. local type = type
  2949. local rng = Instance.new("Part", char)
  2950. rng.Anchored = true
  2951. rng.BrickColor = color
  2952. rng.CanCollide = false
  2953. rng.FormFactor = 3
  2954. rng.Name = "Effect"
  2955. rng.Material = "Neon"
  2956. rng.Size = Vector3.new(1, 1, 1)
  2957. rng.Transparency = 0
  2958. rng.TopSurface = 0
  2959. rng.BottomSurface = 0
  2960. rng.CFrame = pos
  2961. local rngm = Instance.new("SpecialMesh", rng)
  2962. rngm.MeshType = "Sphere"
  2963. rngm.Scale = scale
  2964. if rainbowmode == true then
  2965. rng.Color = Color3.new(r/255,g/255,b/255)
  2966. end
  2967. local scaler2 = 1
  2968. if type == "Add" then
  2969. scaler2 = 1*value
  2970. elseif type == "Divide" then
  2971. scaler2 = 1/value
  2972. end
  2973. coroutine.resume(coroutine.create(function()
  2974. for i = 0,10/bonuspeed,0.1 do
  2975. swait()
  2976. if rainbowmode == true then
  2977. rng.Color = Color3.new(r/255,g/255,b/255)
  2978. end
  2979. if type == "Add" then
  2980. scaler2 = scaler2 - 0.01*value/bonuspeed
  2981. elseif type == "Divide" then
  2982. scaler2 = scaler2 - 0.01/value*bonuspeed
  2983. end
  2984. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2985. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2986. end
  2987. rng:Destroy()
  2988. end))
  2989. end
  2990.  
  2991. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2992. local type = type
  2993. local rng = Instance.new("Part", char)
  2994. rng.Anchored = true
  2995. rng.BrickColor = color
  2996.  
  2997. rng.CanCollide = false
  2998. rng.FormFactor = 3
  2999. rng.Name = "Effect"
  3000. rng.Material = "Neon"
  3001. rng.Size = Vector3.new(1, 1, 1)
  3002. rng.Transparency = 0
  3003. rng.TopSurface = 0
  3004. rng.BottomSurface = 0
  3005. rng.CFrame = pos
  3006. local rngm = Instance.new("SpecialMesh", rng)
  3007. rngm.MeshType = "Sphere"
  3008. rngm.Scale = scale
  3009. if rainbowmode == true then
  3010. rng.Color = Color3.new(r/255,g/255,b/255)
  3011. end
  3012. local scaler2 = 1
  3013. local scaler2b = 1
  3014. local scaler2c = 1
  3015. if type == "Add" then
  3016. scaler2 = 1*value
  3017. scaler2b = 1*value2
  3018. scaler2c = 1*value3
  3019. elseif type == "Divide" then
  3020. scaler2 = 1/value
  3021. scaler2b = 1/value2
  3022. scaler2c = 1/value3
  3023. end
  3024.  
  3025. coroutine.resume(coroutine.create(function()
  3026. for i = 0,10/bonuspeed,0.1 do
  3027. swait()
  3028. if rainbowmode == true then
  3029. rng.Color = Color3.new(r/255,g/255,b/255)
  3030. end
  3031. if type == "Add" then
  3032. scaler2 = scaler2 - 0.01*value/bonuspeed
  3033. scaler2b = scaler2b - 0.01*value/bonuspeed
  3034. scaler2c = scaler2c - 0.01*value/bonuspeed
  3035. elseif type == "Divide" then
  3036. scaler2 = scaler2 - 0.01/value*bonuspeed
  3037. scaler2b = scaler2b - 0.01/value*bonuspeed
  3038. scaler2c = scaler2c - 0.01/value*bonuspeed
  3039. end
  3040. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3041. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3042. end
  3043. rng:Destroy()
  3044. end))
  3045. end
  3046.  
  3047. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  3048. local type = type
  3049. local rotenable = rotatingop
  3050. local rng = Instance.new("Part", char)
  3051. rng.Anchored = true
  3052. rng.BrickColor = color
  3053. rng.CanCollide = false
  3054. rng.FormFactor = 3
  3055. rng.Material = "Neon"
  3056. rng.Size = Vector3.new(1, 1, 1)
  3057. rng.Transparency = 0
  3058. if typeoftrans == "In" then
  3059. rng.Transparency = 1
  3060. end
  3061. if rainbowmode == true then
  3062. rng.Color = Color3.new(r/255,g/255,b/255)
  3063. end
  3064. rng.TopSurface = 0
  3065. rng.BottomSurface = 0
  3066. rng.CFrame = pos
  3067. local rngm = Instance.new("SpecialMesh", rng)
  3068. rngm.MeshType = "FileMesh"
  3069. if typeofshape == "Normal" then
  3070. rngm.MeshId = "rbxassetid://662586858"
  3071. elseif typeofshape == "Round" then
  3072. rngm.MeshId = "rbxassetid://662585058"
  3073. end
  3074. rngm.Scale = scale
  3075. local scaler2 = 1/10
  3076. if type == "Add" then
  3077. scaler2 = 1*value/10
  3078. elseif type == "Divide" then
  3079. scaler2 = 1/value/10
  3080. end
  3081. local randomrot = math.random(1,2)
  3082. coroutine.resume(coroutine.create(function()
  3083. for i = 0,10/bonuspeed,0.1 do
  3084. swait()
  3085. if rainbowmode == true then
  3086. rng.Color = Color3.new(r/255,g/255,b/255)
  3087. end
  3088. if type == "Add" then
  3089. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  3090. elseif type == "Divide" then
  3091. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  3092. end
  3093. if rotenable == true then
  3094. if randomrot == 1 then
  3095. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  3096. elseif randomrot == 2 then
  3097. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  3098. end
  3099. end
  3100. if typeoftrans == "Out" then
  3101. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3102. elseif typeoftrans == "In" then
  3103. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3104. end
  3105. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  3106. end
  3107. rng:Destroy()
  3108. end))
  3109. end
  3110.  
  3111. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3112. local type = type
  3113. local rng = Instance.new("Part", char)
  3114. rng.Anchored = true
  3115. rng.BrickColor = color
  3116. rng.CanCollide = false
  3117. rng.FormFactor = 3
  3118. rng.Name = "Effect"
  3119. rng.Material = "Neon"
  3120. rng.Size = Vector3.new(1, 1, 1)
  3121. rng.Transparency = 0
  3122. rng.TopSurface = 0
  3123. rng.BottomSurface = 0
  3124. rng.CFrame = pos
  3125. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3126. local rngm = Instance.new("SpecialMesh", rng)
  3127. rngm.MeshType = "Brick"
  3128. rngm.Scale = vt(x1,y1,z1)
  3129. if rainbowmode == true then
  3130. rng.Color = Color3.new(r/255,g/255,b/255)
  3131. end
  3132. local scaler2 = 1
  3133. local speeder = FastSpeed/10
  3134. if type == "Add" then
  3135. scaler2 = 1*value
  3136. elseif type == "Divide" then
  3137. scaler2 = 1/value
  3138. end
  3139. coroutine.resume(coroutine.create(function()
  3140. for i = 0,10/bonuspeed,0.1 do
  3141. swait()
  3142. if rainbowmode == true then
  3143. rng.Color = Color3.new(r/255,g/255,b/255)
  3144. end
  3145. if type == "Add" then
  3146. scaler2 = scaler2 - 0.01*value/bonuspeed
  3147. elseif type == "Divide" then
  3148. scaler2 = scaler2 - 0.01/value*bonuspeed
  3149. end
  3150. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3151. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3152. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3153. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3154. end
  3155. rng:Destroy()
  3156. end))
  3157. end
  3158.  
  3159. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3160. local type = type
  3161. local rng = Instance.new("Part", char)
  3162. rng.Anchored = true
  3163. rng.BrickColor = color
  3164. rng.CanCollide = false
  3165. rng.FormFactor = 3
  3166. rng.Name = "Effect"
  3167. rng.Material = "Neon"
  3168. rng.Size = Vector3.new(1, 1, 1)
  3169. rng.Transparency = 0
  3170. rng.TopSurface = 0
  3171. rng.BottomSurface = 0
  3172. rng.CFrame = pos
  3173. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3174. local rngm = Instance.new("SpecialMesh", rng)
  3175. rngm.MeshType = "Brick"
  3176. rngm.Scale = vt(x1,y1,z1)
  3177. if rainbowmode == true then
  3178. rng.Color = Color3.new(r/255,g/255,b/255)
  3179. end
  3180. local scaler2 = 1
  3181. local speeder = FastSpeed/10
  3182. if type == "Add" then
  3183. scaler2 = 1*value
  3184. elseif type == "Divide" then
  3185. scaler2 = 1/value
  3186. end
  3187. coroutine.resume(coroutine.create(function()
  3188. for i = 0,10/bonuspeed,0.1 do
  3189. swait()
  3190. if rainbowmode == true then
  3191. rng.Color = Color3.new(r/255,g/255,b/255)
  3192. end
  3193. if type == "Add" then
  3194. scaler2 = scaler2 - 0.01*value/bonuspeed
  3195. elseif type == "Divide" then
  3196. scaler2 = scaler2 - 0.01/value*bonuspeed
  3197. end
  3198. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3199. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3200. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3201. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3202. end
  3203. rng:Destroy()
  3204. end))
  3205. end
  3206.  
  3207. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3208. local type = type
  3209. local rng = Instance.new("Part", char)
  3210. rng.Anchored = true
  3211. rng.BrickColor = color
  3212. rng.CanCollide = false
  3213. rng.FormFactor = 3
  3214. rng.Name = "Effect"
  3215. rng.Material = "Neon"
  3216. rng.Size = Vector3.new(1, 1, 1)
  3217. rng.Transparency = 0
  3218. rng.TopSurface = 0
  3219. rng.BottomSurface = 0
  3220. rng.CFrame = pos
  3221. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3222. local rngm = Instance.new("SpecialMesh", rng)
  3223. rngm.MeshType = "Brick"
  3224. rngm.Scale = vt(x1,y1,z1)
  3225. if rainbowmode == true then
  3226. rng.Color = Color3.new(r/255,g/255,b/255)
  3227. end
  3228. local scaler2 = 0
  3229. local speeder = FastSpeed/10
  3230. if type == "Add" then
  3231. scaler2 = 1*value
  3232. elseif type == "Divide" then
  3233. scaler2 = 1/value
  3234. end
  3235. coroutine.resume(coroutine.create(function()
  3236. for i = 0,10/bonuspeed,0.1 do
  3237. swait()
  3238. if rainbowmode == true then
  3239. rng.Color = Color3.new(r/255,g/255,b/255)
  3240. end
  3241. if type == "Add" then
  3242. scaler2 = scaler2 - 0.01*value/bonuspeed
  3243. elseif type == "Divide" then
  3244. scaler2 = scaler2 - 0.01/value*bonuspeed
  3245. end
  3246. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3247. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3248. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3249. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3250. end
  3251. rng:Destroy()
  3252. end))
  3253. end
  3254.  
  3255. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3256. local type = type
  3257. local rng = Instance.new("Part", char)
  3258. rng.Anchored = true
  3259. rng.BrickColor = color
  3260. rng.Color = color3
  3261. rng.CanCollide = false
  3262. rng.FormFactor = 3
  3263. rng.Name = "Effect"
  3264. rng.Material = "Neon"
  3265. rng.Size = Vector3.new(1, 1, 1)
  3266. rng.Transparency = 0
  3267. rng.TopSurface = 0
  3268. rng.BottomSurface = 0
  3269. rng.CFrame = pos
  3270. local rngm = Instance.new("SpecialMesh", rng)
  3271. rngm.MeshType = "Brick"
  3272. rngm.Scale = scale
  3273. local scaler2 = 1
  3274. local scaler2b = 1
  3275. local scaler2c = 1
  3276. if type == "Add" then
  3277. scaler2 = 1*value
  3278. scaler2b = 1*value2
  3279. scaler2c = 1*value3
  3280. elseif type == "Divide" then
  3281. scaler2 = 1/value
  3282. scaler2b = 1/value2
  3283. scaler2c = 1/value3
  3284. end
  3285. coroutine.resume(coroutine.create(function()
  3286. for i = 0,10/bonuspeed,0.1 do
  3287. swait()
  3288. if type == "Add" then
  3289. scaler2 = scaler2 - 0.01*value/bonuspeed
  3290. scaler2b = scaler2b - 0.01*value/bonuspeed
  3291. scaler2c = scaler2c - 0.01*value/bonuspeed
  3292. elseif type == "Divide" then
  3293. scaler2 = scaler2 - 0.01/value*bonuspeed
  3294. scaler2b = scaler2b - 0.01/value*bonuspeed
  3295. scaler2c = scaler2c - 0.01/value*bonuspeed
  3296. end
  3297. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3298. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3299. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3300. end
  3301. rng:Destroy()
  3302. end))
  3303. end
  3304.  
  3305. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3306. local type = type
  3307. local rng = Instance.new("Part", char)
  3308. rng.Anchored = true
  3309.  
  3310. rng.BrickColor = color
  3311.  
  3312. rng.CanCollide = false
  3313. rng.FormFactor = 3
  3314. rng.Name = "Effect"
  3315. rng.Material = "Neon"
  3316. rng.Size = Vector3.new(1, 1, 1)
  3317. rng.Transparency = 0
  3318. rng.TopSurface = 0
  3319. rng.BottomSurface = 0
  3320. rng.CFrame = pos
  3321. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3322. local rngm = Instance.new("SpecialMesh", rng)
  3323. rngm.MeshType = "Sphere"
  3324. rngm.Scale = vt(x1,y1,z1)
  3325. if rainbowmode == true then
  3326. rng.Color = Color3.new(r/255,g/255,b/255)
  3327. end
  3328.  
  3329. local scaler2 = 1
  3330. local speeder = FastSpeed
  3331. if type == "Add" then
  3332. scaler2 = 1*value
  3333. elseif type == "Divide" then
  3334. scaler2 = 1/value
  3335. end
  3336. coroutine.resume(coroutine.create(function()
  3337. for i = 0,10/bonuspeed,0.1 do
  3338. swait()
  3339. if rainbowmode == true then
  3340. rng.Color = Color3.new(r/255,g/255,b/255)
  3341. end
  3342. if type == "Add" then
  3343. scaler2 = scaler2 - 0.01*value/bonuspeed
  3344. elseif type == "Divide" then
  3345. scaler2 = scaler2 - 0.01/value*bonuspeed
  3346. end
  3347. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3348. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3349. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3350. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3351. end
  3352. rng:Destroy()
  3353. end))
  3354. end
  3355.  
  3356.  
  3357. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3358. local type = type
  3359. local rng = Instance.new("Part", char)
  3360. rng.Anchored = true
  3361. rng.BrickColor = color
  3362.  
  3363. rng.CanCollide = false
  3364. rng.FormFactor = 3
  3365. rng.Name = "Effect"
  3366. rng.Material = "Neon"
  3367. rng.Size = Vector3.new(1, 1, 1)
  3368. rng.Transparency = 1
  3369. rng.TopSurface = 0
  3370. rng.BottomSurface = 0
  3371. rng.CFrame = pos
  3372. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3373. local rngm = Instance.new("SpecialMesh", rng)
  3374. rngm.MeshType = "Sphere"
  3375. rngm.Scale = vt(x1,y1,z1)
  3376. if rainbowmode == true then
  3377. rng.Color = Color3.new(r/255,g/255,b/255)
  3378. end
  3379. local scaler2 = 1
  3380. local speeder = FastSpeed
  3381. if type == "Add" then
  3382. scaler2 = 1*value
  3383. elseif type == "Divide" then
  3384. scaler2 = 1/value
  3385. end
  3386. coroutine.resume(coroutine.create(function()
  3387. for i = 0,10/bonuspeed,0.1 do
  3388. swait()
  3389. if rainbowmode == true then
  3390. rng.Color = Color3.new(r/255,g/255,b/255)
  3391. end
  3392. if type == "Add" then
  3393. scaler2 = scaler2 - 0.01*value/bonuspeed
  3394. elseif type == "Divide" then
  3395. scaler2 = scaler2 - 0.01/value*bonuspeed
  3396. end
  3397. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3398. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3399. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3400. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3401. end
  3402. rng:Destroy()
  3403. end))
  3404. end
  3405.  
  3406. function dmg(dude)
  3407. if dude.Name ~= Character then
  3408. local keptcolor = MAINRUINCOLOR
  3409. local bgf = Instance.new("BodyGyro",dude.Head)
  3410. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3411. --[[local val = Instance.new("BoolValue",dude)
  3412. val.Name = "IsHit"]]--
  3413. local ds = coroutine.wrap(function()
  3414. dude:WaitForChild("Head"):BreakJoints()
  3415. for i, v in pairs(dude:GetChildren()) do
  3416. if v:IsA("Part") or v:IsA("MeshPart") then
  3417. v.Name = "DEMINISHED"
  3418. end
  3419. end
  3420. wait(0.5)
  3421. targetted = nil
  3422. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3423. coroutine.resume(coroutine.create(function()
  3424. for i, v in pairs(dude:GetChildren()) do
  3425. if v:IsA("Accessory") then
  3426. v:Destroy()
  3427. end
  3428. if v:IsA("Humanoid") then
  3429. v:Destroy()
  3430. end
  3431. if v:IsA("CharacterMesh") then
  3432. v:Destroy()
  3433. end
  3434. if v:IsA("Model") then
  3435. v:Destroy()
  3436. end
  3437. if v:IsA("Part") or v:IsA("MeshPart") then
  3438. for x, o in pairs(v:GetChildren()) do
  3439. if o:IsA("Decal") then
  3440. o:Destroy()
  3441. end
  3442. end
  3443. coroutine.resume(coroutine.create(function()
  3444. v.Material = "Neon"
  3445. v.CanCollide = false
  3446. v.Anchored = false
  3447. local bld = Instance.new("ParticleEmitter",v)
  3448. bld.LightEmission = 0.75
  3449. bld.Texture = "rbxassetid://363275192" ---284205403
  3450. bld.Color = ColorSequence.new(keptcolor.Color)
  3451. bld.Rate = 500
  3452. bld.Lifetime = NumberRange.new(1)
  3453. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3454. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3455. bld.Speed = NumberRange.new(2,5)
  3456. bld.VelocitySpread = 50000
  3457. bld.Rotation = NumberRange.new(-500,500)
  3458. bld.RotSpeed = NumberRange.new(-500,500)
  3459. local sbs = Instance.new("BodyPosition", v)
  3460. sbs.P = 3000
  3461. sbs.D = 1000
  3462. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3463. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3464. v.Color = keptcolor.Color
  3465. coroutine.resume(coroutine.create(function()
  3466. for i = 0, 49 do
  3467. swait(1)
  3468. v:BreakJoints()
  3469. v.Transparency = v.Transparency + 0.02
  3470. end
  3471. v:BreakJoints()
  3472. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3473. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3474. bld.Speed = NumberRange.new(10,25)
  3475. bld.Drag = 5
  3476. bld.Acceleration = vt(0,2,0)
  3477. wait(0.5)
  3478. bld.Enabled = false
  3479. wait(8)
  3480. v:Destroy()
  3481. dude:Destroy()
  3482. end))
  3483. end))
  3484. end
  3485. end
  3486. end))
  3487. end)
  3488. ds()
  3489. end
  3490. end
  3491.  
  3492.  
  3493. function FindNearestHead(Position, Distance, SinglePlayer)
  3494. if SinglePlayer then
  3495. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3496. end
  3497. local List = {}
  3498. for i, v in pairs(workspace:GetChildren()) do
  3499. if v:IsA("Model") then
  3500. if v:findFirstChild("Head") then
  3501. if v ~= Character then
  3502. if (v.Head.Position - Position).magnitude <= Distance then
  3503. table.insert(List, v)
  3504. end
  3505. end
  3506. end
  3507. end
  3508. end
  3509. return List
  3510. end
  3511.  
  3512. function FaceMouse()
  3513. Cam = workspace.CurrentCamera
  3514. return {
  3515. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3516. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3517. }
  3518. end
  3519.  
  3520. function FaceMouse2()
  3521. Cam = workspace.CurrentCamera
  3522. return {
  3523. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3524. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3525. }
  3526. end
  3527.  
  3528. -- Functions are ready.
  3529. local storehumanoidWS = 16
  3530.  
  3531. function CorruptBlink()
  3532. for i = 0, 14 do
  3533. 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)
  3534. end
  3535. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3536. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3537. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3538. CameraEnshaking(2,10)
  3539. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3540. if v:FindFirstChild('Head') then
  3541. dmg(v)
  3542. end
  3543. end
  3544. for i = 0, 14 do
  3545. 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)
  3546. end
  3547. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3548. end
  3549. function PureBomb()
  3550. attack = true
  3551. hum.WalkSpeed = 0
  3552. local orb = Instance.new("Part", char)
  3553. orb.Anchored = true
  3554. orb.BrickColor = BrickColor.new("Toothpaste")
  3555. orb.CanCollide = false
  3556. orb.FormFactor = 3
  3557. orb.Name = "Ring"
  3558. orb.Material = "Neon"
  3559. orb.Size = Vector3.new(1, 1, 1)
  3560. orb.Transparency = 0
  3561. orb.TopSurface = 0
  3562. orb.BottomSurface = 0
  3563. local orbm = Instance.new("SpecialMesh", orb)
  3564. orbm.MeshType = "Sphere"
  3565. orbm.Name = "SizeMesh"
  3566. orbm.Scale = vt(0,0,0)
  3567. local scaled = 0.1
  3568. local posid = 0
  3569. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3570. for i = 0, 5, 0.1 do
  3571. swait()
  3572. scaled = scaled - 0.001
  3573. posid = posid - scaled
  3574. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3575. local scaled = 0.1
  3576. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3577. 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)
  3578. 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)
  3579. 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)
  3580. 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)
  3581. 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)
  3582. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3583. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3584. 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)
  3585. end
  3586. for i = 0, 2, 0.1 do
  3587. swait()
  3588. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3589. 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)
  3590. 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)
  3591. 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)
  3592. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3593. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3594. 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)
  3595. end
  3596. coroutine.resume(coroutine.create(function()
  3597. orb.Anchored = false
  3598. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3599. local a = Instance.new("Part",workspace)
  3600. a.Name = "Direction"
  3601. a.Anchored = true
  3602. a.BrickColor = bc("Bright red")
  3603. a.Material = "Neon"
  3604. a.Transparency = 1
  3605. a.CanCollide = false
  3606. local ray = Ray.new(
  3607. orb.CFrame.p, -- origin
  3608. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3609. )
  3610. local ignore = orb
  3611. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3612. a.BottomSurface = 10
  3613. a.TopSurface = 10
  3614. local distance = (orb.CFrame.p - position).magnitude
  3615. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3616. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3617. orb.CFrame = a.CFrame
  3618. a:Destroy()
  3619. local bv = Instance.new("BodyVelocity")
  3620. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3621. bv.velocity = orb.CFrame.lookVector*125
  3622. bv.Parent = orb
  3623. local hitted = false
  3624. game:GetService("Debris"):AddItem(orb, 15)
  3625. wait()
  3626. local hit =orb.Touched:connect(function(hit)
  3627. if hitted == false then
  3628. hitted = true
  3629. CameraEnshaking(10,2.5)
  3630. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3631. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3632. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3633. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3634. for i = 0, 49 do
  3635. 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)
  3636. end
  3637. for i = 0, 9 do
  3638. 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)
  3639. 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)
  3640. end
  3641. orb.Anchored = true
  3642. orb.Transparency = 1
  3643. wait(8)
  3644. orb:Destroy()
  3645. end
  3646. end)
  3647. end))
  3648. for i = 0, 1, 0.1 do
  3649. swait()
  3650. 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)
  3651. 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)
  3652. 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)
  3653. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3654. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3655. 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)
  3656. end
  3657. hum.WalkSpeed = storehumanoidWS
  3658. attack = false
  3659. end
  3660.  
  3661. function BanishingOrb()
  3662. attack = true
  3663. hum.WalkSpeed = 0
  3664. local orb = Instance.new("Part", char)
  3665. orb.Anchored = true
  3666. orb.BrickColor = BrickColor.new("Black")
  3667. orb.CanCollide = false
  3668. orb.FormFactor = 3
  3669. orb.Name = "Ring"
  3670. orb.Material = "Neon"
  3671. orb.Size = Vector3.new(1, 1, 1)
  3672. orb.Transparency = 0
  3673. orb.TopSurface = 0
  3674. orb.BottomSurface = 0
  3675. local orbm = Instance.new("SpecialMesh", orb)
  3676. orbm.MeshType = "Sphere"
  3677. orbm.Name = "SizeMesh"
  3678. orbm.Scale = vt(0,0,0)
  3679. local scaled = 0.1
  3680. local posid = 0
  3681. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  3682. for i = 0, 5, 0.1 do
  3683. swait()
  3684. scaled = scaled - 0.001
  3685. posid = posid - scaled
  3686. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3687. local scaled = 0.1
  3688. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3689. 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)
  3690. 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)
  3691. 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)
  3692. 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)
  3693. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3694. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3695. 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)
  3696. end
  3697. for i = 0, 2, 0.1 do
  3698. swait()
  3699. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3700. 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)
  3701. 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)
  3702. 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)
  3703. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3704. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3705. 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)
  3706. end
  3707. coroutine.resume(coroutine.create(function()
  3708. orb.Anchored = false
  3709. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  3710. local a = Instance.new("Part",workspace)
  3711. a.Name = "Direction"
  3712. a.Anchored = true
  3713. a.BrickColor = bc("Bright red")
  3714. a.Material = "Neon"
  3715. a.Transparency = 1
  3716. a.CanCollide = false
  3717. local ray = Ray.new(
  3718. orb.CFrame.p, -- origin
  3719. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3720. )
  3721. local ignore = orb
  3722. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3723. a.BottomSurface = 10
  3724. a.TopSurface = 10
  3725. local distance = (orb.CFrame.p - position).magnitude
  3726. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3727. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3728. orb.CFrame = a.CFrame
  3729. a:Destroy()
  3730. local bv = Instance.new("BodyVelocity")
  3731. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3732. bv.velocity = orb.CFrame.lookVector*0
  3733. bv.Parent = orb
  3734. local hitted = false
  3735. local rate = 0
  3736. coroutine.resume(coroutine.create(function()
  3737. for i = 0, 24 do
  3738. wait(0.1)
  3739. rate = rate + 0.25
  3740. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  3741. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  3742. if v:FindFirstChild('Head') then
  3743. dmg(v)
  3744. end
  3745. end
  3746. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  3747. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3748. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3749. end
  3750. orb.Anchored = true
  3751. orb.Transparency = 1
  3752. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  3753. if v:FindFirstChild('Head') then
  3754. dmg(v)
  3755. end
  3756. end
  3757. local eff = Instance.new("ParticleEmitter",orb)
  3758. eff.Texture = "rbxassetid://296874871"
  3759. eff.LightEmission = 0.95
  3760. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3761. eff.Rate = 1000000000
  3762. eff.Lifetime = NumberRange.new(3)
  3763. 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)})
  3764. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3765. eff.Speed = NumberRange.new(30)
  3766. eff.Acceleration = vt(0,-15,0)
  3767. eff.Rotation = NumberRange.new(-500,500)
  3768. eff.VelocitySpread = 100000
  3769. eff.RotSpeed = NumberRange.new(-500,500)
  3770. coroutine.resume(coroutine.create(function()
  3771. wait(0.6)
  3772. eff.Enabled = false
  3773. end))
  3774. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  3775. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  3776. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3777. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3778. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  3779. game:GetService("Debris"):AddItem(orb, 15)
  3780. end))
  3781. end))
  3782. for i = 0, 1, 0.1 do
  3783. swait()
  3784. 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)
  3785. 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)
  3786. 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)
  3787. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3788. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3789. 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)
  3790. end
  3791. hum.WalkSpeed = storehumanoidWS
  3792. attack = false
  3793. end
  3794.  
  3795.  
  3796. function ChaosGroundStrike()
  3797. attack = true
  3798. for i = 0, 2, 0.1 do
  3799. swait()
  3800. 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)
  3801. 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)
  3802. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3803. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3804. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3805. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3806. end
  3807. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3808. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3809. CameraEnshaking(4,12)
  3810. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3811. if v:FindFirstChild('Head') then
  3812. dmg(v)
  3813. end
  3814. end
  3815. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3816. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3817. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3818. for i = 0, 2, 0.1 do
  3819. swait()
  3820. 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)
  3821. 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)
  3822. 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)
  3823. 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)
  3824. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3825. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3826. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3827. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3828. end
  3829. attack = false
  3830. end
  3831.  
  3832.  
  3833.  
  3834. function Starfall()
  3835. attack = true
  3836. hum.WalkSpeed = 0
  3837. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3838. for i = 0, 5, 0.1 do
  3839. swait()
  3840. 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)
  3841. 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)
  3842. 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)
  3843. 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)
  3844. 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)
  3845. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3846. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3847. 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)
  3848. end
  3849. local Overed = false
  3850. CameraEnshaking(2,20)
  3851. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3852. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3853. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3854. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3855. local orb = Instance.new("Part", char)
  3856. orb.Anchored = true
  3857. orb.BrickColor = BrickColor.new("Toothpaste")
  3858. orb.CanCollide = false
  3859. orb.FormFactor = 3
  3860. orb.Name = "Remenant"
  3861. orb.Material = "Neon"
  3862. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3863. orb.Size = Vector3.new(1, 1, 1)
  3864. orb.Transparency = 1
  3865. orb.TopSurface = 0
  3866. orb.BottomSurface = 0
  3867. hum.WalkSpeed = storehumanoidWS
  3868. coroutine.resume(coroutine.create(function()
  3869. for i = 0, 9 do
  3870. swait(10)
  3871. local lb = Instance.new("Part")
  3872. lb.Color = MAINRUINCOLOR.Color
  3873. lb.CanCollide = false
  3874. lb.Material = "Neon"
  3875. lb.Anchored = true
  3876. lb.TopSurface = 0
  3877. lb.BottomSurface = 0
  3878. lb.Transparency = 0
  3879. lb.Size = vt(1,1,1)
  3880. 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)))
  3881. lb.Anchored = false
  3882. lb.Parent = char
  3883. local thingery = Instance.new("SpecialMesh",lb)
  3884. thingery.MeshType = "Sphere"
  3885. thingery.Scale = vt(20,20,20)
  3886. game:GetService("Debris"):AddItem(lb, 10)
  3887. local bv = Instance.new("BodyVelocity")
  3888. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3889. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3890. bv.Parent = lb
  3891. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3892. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3893. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3894. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3895. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3896. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3897. local hitted = false
  3898. coroutine.resume(coroutine.create(function()
  3899. while true do
  3900. swait(1)
  3901. if lb.Parent ~= nil and hitted == false then
  3902. 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)
  3903. elseif lb.Parent == nil then
  3904. break
  3905. end
  3906. end
  3907. end))
  3908.  
  3909. game:GetService("Debris"):AddItem(a, 0.1)
  3910.  
  3911. coroutine.resume(coroutine.create(function()
  3912. swait(1)
  3913. lb.Touched:connect(function(hit)
  3914. if hitted == false then
  3915. hitted = true
  3916. lb.Transparency = 1
  3917. lb.Anchored = true
  3918. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3919. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3920. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3921. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3922. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3923. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3924. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3925. CameraEnshaking(1,5)
  3926. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3927. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3928. for i = 0, 9 do
  3929. 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)
  3930. end
  3931. for i = 0, 49 do
  3932. swait()
  3933. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3934. 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)
  3935. end
  3936. end
  3937. end)
  3938. end))
  3939. end
  3940. Overed = true
  3941. orb:Destroy()
  3942. end))
  3943.  
  3944. attack = false
  3945. end
  3946.  
  3947. function StarfallEX()
  3948. attack = true
  3949. hum.WalkSpeed = 0
  3950. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  3951. for i = 0, 10, 0.1 do
  3952. swait()
  3953. 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)
  3954. 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)
  3955. 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)
  3956. 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)
  3957. 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)
  3958. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3959. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3960. 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)
  3961. end
  3962. local Overed = false
  3963. CameraEnshaking(2,20)
  3964. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3965. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3966. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3967. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  3968. local orb = Instance.new("Part", char)
  3969. orb.Anchored = true
  3970. orb.BrickColor = BrickColor.new("Toothpaste")
  3971. orb.CanCollide = false
  3972. orb.FormFactor = 3
  3973. orb.Name = "Remenant"
  3974. orb.Material = "Neon"
  3975. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  3976. orb.Size = Vector3.new(1, 1, 1)
  3977. orb.Transparency = 1
  3978. orb.TopSurface = 0
  3979. orb.BottomSurface = 0
  3980. hum.WalkSpeed = storehumanoidWS
  3981. coroutine.resume(coroutine.create(function()
  3982. for i = 0, 4 do
  3983. swait(15)
  3984. local lb = Instance.new("Part")
  3985. lb.Color = MAINRUINCOLOR.Color
  3986. lb.CanCollide = false
  3987. lb.Material = "Neon"
  3988. lb.Anchored = true
  3989. lb.TopSurface = 0
  3990. lb.BottomSurface = 0
  3991. lb.Transparency = 0
  3992. lb.Size = vt(1,1,1)
  3993. 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)))
  3994. lb.Anchored = false
  3995. lb.Parent = char
  3996. local thingery = Instance.new("SpecialMesh",lb)
  3997. thingery.MeshType = "Sphere"
  3998. thingery.Scale = vt(50,50,50)
  3999. game:GetService("Debris"):AddItem(lb, 10)
  4000. local bv = Instance.new("BodyVelocity")
  4001. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4002. bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  4003. bv.Parent = lb
  4004. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  4005. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  4006. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  4007. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  4008. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  4009. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  4010. local hitted = false
  4011. coroutine.resume(coroutine.create(function()
  4012. while true do
  4013. swait(1)
  4014. if lb.Parent ~= nil and hitted == false then
  4015. 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)
  4016. elseif lb.Parent == nil then
  4017. break
  4018. end
  4019. end
  4020. end))
  4021.  
  4022. game:GetService("Debris"):AddItem(a, 0.1)
  4023.  
  4024. coroutine.resume(coroutine.create(function()
  4025. swait(1)
  4026. lb.Touched:connect(function(hit)
  4027. if hitted == false then
  4028. hitted = true
  4029. lb.Transparency = 1
  4030. lb.Anchored = true
  4031. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  4032. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  4033. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  4034. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  4035. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  4036. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  4037. MagniDamage(lb, 50, 60,99, 0, "Normal")
  4038. CameraEnshaking(1,5)
  4039. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  4040. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  4041. for i = 0, 9 do
  4042. 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)
  4043. end
  4044. for i = 0, 99 do
  4045. swait()
  4046. MagniDamage(lb, 30, 6,18, 0, "Normal")
  4047. 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)
  4048. end
  4049. end
  4050. end)
  4051. end))
  4052. end
  4053. Overed = true
  4054. orb:Destroy()
  4055. end))
  4056.  
  4057. attack = false
  4058. end
  4059.  
  4060. function DivineBlast()
  4061. attack = true
  4062. hum.WalkSpeed = 0
  4063. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  4064. elocacenter.Anchored = true
  4065. elocacenter.CFrame = sorb.CFrame
  4066. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4067. eloca1.Anchored = true
  4068. eloca1.CFrame = elocacenter.CFrame
  4069. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4070. eloca2.Anchored = true
  4071. eloca2.CFrame = elocacenter.CFrame
  4072. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4073. eloca3.Anchored = true
  4074. eloca3.CFrame = elocacenter.CFrame
  4075. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4076. eloca4.Anchored = true
  4077. eloca4.CFrame = elocacenter.CFrame
  4078. local lookavec = 0
  4079. local speeds = 0
  4080. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  4081. for i = 0, 3, 0.1 do
  4082. swait()
  4083. ---
  4084. lookavec = lookavec + 0.1
  4085. speeds = speeds + 10
  4086. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4087. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4088. 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)
  4089.  
  4090. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4091. 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)
  4092.  
  4093. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4094. 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)
  4095.  
  4096. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4097. 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)
  4098. ---
  4099. root.CFrame = FaceMouse()[1]
  4100. 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)
  4101. 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)
  4102. 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)
  4103. 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)
  4104. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4105. 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)
  4106. end
  4107. for i = 0, 3, 0.1 do
  4108. swait()
  4109. ---
  4110. speeds = speeds + 10
  4111. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4112. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4113. 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)
  4114.  
  4115. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4116. 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)
  4117.  
  4118. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4119. 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)
  4120.  
  4121. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4122. 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)
  4123. ---
  4124. root.CFrame = FaceMouse()[1]
  4125. 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)
  4126. 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)
  4127. 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)
  4128. 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)
  4129. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4130. 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)
  4131. end
  4132. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  4133. for i = 0, 3, 0.1 do
  4134. swait()
  4135. ---
  4136. speeds = speeds + 10
  4137. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4138. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4139. 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)
  4140.  
  4141. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4142. 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)
  4143.  
  4144. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4145. 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)
  4146.  
  4147. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4148. 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)
  4149. ---
  4150. root.CFrame = FaceMouse()[1]
  4151. 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)
  4152. 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)
  4153. 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)
  4154. 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)
  4155. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  4156. 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)
  4157. end
  4158. coroutine.resume(coroutine.create(function()
  4159. local a = Instance.new("Part",Character)
  4160. a.Name = "Direction"
  4161. a.Anchored = true
  4162. a.BrickColor = bc("White")
  4163. a.Material = "Neon"
  4164. a.Transparency = 0
  4165. a.Shape = "Cylinder"
  4166. a.CanCollide = false
  4167. local a2 = Instance.new("Part",Character)
  4168. a2.Name = "Direction"
  4169. a2.Anchored = true
  4170. a2.BrickColor = bc("Bright yellow")
  4171. a2.Material = "Neon"
  4172. a2.Transparency = 0
  4173. a2.Shape = "Cylinder"
  4174. a2.CanCollide = false
  4175. local b = Instance.new("Part",Character)
  4176. b.Name = "HitDirect"
  4177. b.Anchored = true
  4178. b.BrickColor = bc("Cool yellow")
  4179. b.Material = "Neon"
  4180. b.Transparency = 1
  4181. b.CanCollide = false
  4182. local ray = Ray.new(
  4183. elocacenter.CFrame.p, -- origin
  4184. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  4185. )
  4186. local ignore = Character
  4187. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4188. a.BottomSurface = 10
  4189. a.TopSurface = 10
  4190. a2.BottomSurface = 10
  4191. a2.TopSurface = 10
  4192. local distance = (elocacenter.CFrame.p - position).magnitude
  4193. a.Size = Vector3.new(distance, 1, 1)
  4194. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4195. a2.Size = Vector3.new(distance, 1, 1)
  4196. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4197. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4198. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4199. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4200. game:GetService("Debris"):AddItem(a, 10)
  4201. game:GetService("Debris"):AddItem(a2, 10)
  4202. game:GetService("Debris"):AddItem(b, 10)
  4203. local msh = Instance.new("SpecialMesh",a)
  4204. msh.MeshType = "Cylinder"
  4205. msh.Scale = vt(1,2,2)
  4206. local msh2 = Instance.new("SpecialMesh",a2)
  4207. msh2.MeshType = "Cylinder"
  4208. msh2.Scale = vt(1,2.5,2.5)
  4209. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  4210. coroutine.resume(coroutine.create(function()
  4211. for i = 0,10,0.1 do
  4212. swait()
  4213. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  4214. a.Transparency = a.Transparency + 0.025
  4215. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  4216. a2.Transparency = a2.Transparency + 0.05
  4217. end
  4218. a:Destroy()
  4219. a2:Destroy()
  4220. end))
  4221. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  4222. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  4223. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  4224. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  4225. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  4226. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  4227. MagniDamage(b, 25, 40,65, 0, "Normal")
  4228. for i = 0, 49 do
  4229. 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)
  4230. 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)
  4231. end
  4232. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  4233. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  4234. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4235. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4236. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4237. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4238. end))
  4239. game:GetService("Debris"):AddItem(elocacenter, 5)
  4240. hum.WalkSpeed = storehumanoidWS
  4241. attack = false
  4242. end
  4243.  
  4244. function StarDivision()
  4245. attack = true
  4246. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4247. for i = 0, 2, 0.1 do
  4248. swait()
  4249. 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)
  4250. 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)
  4251. 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)
  4252. 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)
  4253. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4254. 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)
  4255. end
  4256. local orb = Instance.new("Part", char)
  4257. orb.BrickColor = MAINRUINCOLOR
  4258. orb.CanCollide = false
  4259. orb.FormFactor = 3
  4260. orb.Name = "Ring"
  4261. orb.Material = "Neon"
  4262. orb.Size = Vector3.new(1, 1, 1)
  4263. orb.Transparency = 0
  4264. orb.TopSurface = 0
  4265. orb.BottomSurface = 0
  4266. local orbm = Instance.new("SpecialMesh", orb)
  4267. orbm.MeshType = "Sphere"
  4268. orbm.Name = "SizeMesh"
  4269. orbm.Scale = vt(2,2,2)
  4270. local a = Instance.new("Part",workspace)
  4271. a.Name = "Direction"
  4272. a.Anchored = true
  4273. a.BrickColor = bc("Bright red")
  4274. a.Material = "Neon"
  4275. a.Transparency = 1
  4276. a.CanCollide = false
  4277. local ray = Ray.new(
  4278. sorb.CFrame.p, -- origin
  4279. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4280. )
  4281. local ignore = sorb
  4282. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4283. a.BottomSurface = 10
  4284. a.TopSurface = 10
  4285. local distance = (sorb.CFrame.p - position).magnitude
  4286. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4287. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4288. orb.CFrame = a.CFrame
  4289. a:Destroy()
  4290. local bv = Instance.new("BodyVelocity")
  4291. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4292. bv.velocity = orb.CFrame.lookVector*100
  4293. bv.Parent = orb
  4294. local hitted = false
  4295. game:GetService("Debris"):AddItem(orb, 10)
  4296. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4297. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4298. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4299. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4300. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4301. coroutine.resume(coroutine.create(function()
  4302. while true do
  4303. swait(1)
  4304. if orb.Parent ~= nil and hitted == false then
  4305. 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)
  4306. elseif orb.Parent == nil then
  4307. break
  4308. end
  4309. end
  4310. end))
  4311. coroutine.resume(coroutine.create(function()
  4312. swait(1)
  4313. orb.Touched:connect(function(hit)
  4314. if hitted == false then
  4315. hitted = true
  4316. game:GetService("Debris"):AddItem(orb, 5)
  4317. orb.Transparency = 1
  4318. orb.Anchored = true
  4319. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4320. elocacenter.Anchored = true
  4321. elocacenter.CFrame = orb.CFrame
  4322. elocacenter.Orientation = vt(0,0,0)
  4323. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4324. eloca1.Anchored = true
  4325. eloca1.CFrame = elocacenter.CFrame
  4326. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4327. eloca2.Anchored = true
  4328. eloca2.CFrame = elocacenter.CFrame
  4329. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4330. eloca3.Anchored = true
  4331. eloca3.CFrame = elocacenter.CFrame
  4332. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4333. eloca4.Anchored = true
  4334. eloca4.CFrame = elocacenter.CFrame
  4335. local lookavec = 0
  4336. local speeds = 0
  4337. CameraEnshaking(1,1)
  4338. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4339. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4340. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4341. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4342. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4343. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4344. for i = 0, 99 do
  4345. swait()
  4346. lookavec = lookavec + 1
  4347. speeds = speeds + 0.1
  4348. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4349. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4350. 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)
  4351.  
  4352. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4353. 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)
  4354.  
  4355. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4356. 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)
  4357.  
  4358. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4359. 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)
  4360. end
  4361.  
  4362. for i = 0, 149 do
  4363. swait()
  4364. speeds = speeds + 0.1
  4365. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4366. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4367. 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)
  4368.  
  4369. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4370. 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)
  4371.  
  4372. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4373. 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)
  4374.  
  4375. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4376. 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)
  4377. end
  4378. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4379. if v:FindFirstChild('Head') then
  4380. dmg(v)
  4381. end
  4382. end
  4383. CameraEnshaking(7,30)
  4384. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4385. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4386. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4387. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4388. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4389. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4390. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4391. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4392. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4393. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4394. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4395. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4396. for i = 0, 24 do
  4397. 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)
  4398. 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)
  4399. 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)
  4400. 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)
  4401. end
  4402. coroutine.resume(coroutine.create(function()
  4403. for i = 0, 499 do
  4404. swait(1)
  4405. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4406. 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)
  4407. end
  4408. elocacenter:Destroy()
  4409. eloca1:Destroy()
  4410. eloca2:Destroy()
  4411. eloca3:Destroy()
  4412. eloca4:Destroy()
  4413. end))
  4414. end
  4415. end)
  4416. end))
  4417. attack = false
  4418. end
  4419.  
  4420.  
  4421. function THE_TRUE_POWER_OF_VIOLENCE()
  4422. attack = true
  4423. hum.WalkSpeed = 0
  4424. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 2.5,0.7)
  4425. for i = 0, 10, 0.1 do
  4426. swait()
  4427. 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)
  4428. 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)
  4429. 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)
  4430. 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)
  4431. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  4432. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4433. 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)
  4434. end
  4435. local orb = Instance.new("Part", char)
  4436. orb.BrickColor = MAINRUINCOLOR
  4437. orb.CanCollide = false
  4438. orb.FormFactor = 3
  4439. orb.Name = "Ring"
  4440. orb.Material = "Neon"
  4441. orb.Size = Vector3.new(1, 1, 1)
  4442. orb.Transparency = 0
  4443. orb.TopSurface = 0
  4444. orb.BottomSurface = 0
  4445. orb.CFrame = sorb.CFrame
  4446. local orbm = Instance.new("SpecialMesh", orb)
  4447. orbm.MeshType = "Sphere"
  4448. orbm.Name = "SizeMesh"
  4449. orbm.Scale = vt(0,0,0)
  4450. local sbs = Instance.new("BodyPosition", orb)
  4451. sbs.P = 3000
  4452. sbs.D = 1000
  4453. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4454. sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  4455. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  4456. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4457. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4458. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4459. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4460. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4461. for i = 0, 10, 0.1 do
  4462. swait()
  4463. 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)
  4464. 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)
  4465. 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)
  4466. 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)
  4467. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4468. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4469. 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)
  4470. end
  4471. orb.Anchored = true
  4472. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4473. elocacenter.Anchored = true
  4474. elocacenter.CFrame = orb.CFrame
  4475. elocacenter.Orientation = vt(0,0,0)
  4476. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4477. eloca1.Anchored = true
  4478. eloca1.CFrame = elocacenter.CFrame
  4479. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4480. eloca2.Anchored = true
  4481. eloca2.CFrame = elocacenter.CFrame
  4482. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4483. eloca3.Anchored = true
  4484. eloca3.CFrame = elocacenter.CFrame
  4485. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4486. eloca4.Anchored = true
  4487. eloca4.CFrame = elocacenter.CFrame
  4488. local lookavec = 0
  4489. local speeds = 0
  4490. CameraEnshaking(1,1)
  4491. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  4492. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  4493. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  4494. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  4495. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4496. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4497. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4498. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4499. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4500. for i = 0, 99 do
  4501. swait()
  4502. lookavec = lookavec + 2.5
  4503. speeds = speeds + 0.25
  4504. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4505. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4506. 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)
  4507.  
  4508. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4509. 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)
  4510.  
  4511. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4512. 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)
  4513.  
  4514. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4515. 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)
  4516. end
  4517.  
  4518. for i = 0, 149 do
  4519. swait()
  4520. speeds = speeds + 0.25
  4521. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4522. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4523. 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)
  4524.  
  4525. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4526. 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)
  4527.  
  4528. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4529. 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)
  4530.  
  4531. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4532. 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)
  4533. end
  4534. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  4535. for i = 0, 99 do
  4536. swait()
  4537. lookavec = lookavec - 2.5
  4538. speeds = speeds + 0.25
  4539. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4540. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4541. 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)
  4542.  
  4543. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4544. 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)
  4545.  
  4546. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4547. 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)
  4548.  
  4549. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4550. 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)
  4551. end
  4552. local scaled = 0.1*75
  4553. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  4554. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  4555. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  4556. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  4557. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  4558. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4559. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4560. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4561. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4562. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4563. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4564. for i = 0, 10, 0.1 do
  4565. swait()
  4566. scaled = scaled - 0.001*75
  4567. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4568. 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)
  4569. 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)
  4570. 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)
  4571. 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)
  4572. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4573. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4574. 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)
  4575. end
  4576. for x = 0, 4 do
  4577. for i = 0, 9 do
  4578. 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)
  4579. end
  4580. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  4581. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  4582. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4583. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4584. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4585. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4586. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4587. for i = 0, 5, 0.1 do
  4588. swait()
  4589. 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)
  4590. 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)
  4591. 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)
  4592. 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)
  4593. 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)
  4594. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  4595. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  4596. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  4597. end
  4598. end
  4599. local speedearn = 0
  4600. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  4601. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  4602. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  4603. for i = 0, 30, 0.1 do
  4604. swait()
  4605. scaled = scaled - 0.001*75/10
  4606. speedearn = speedearn + 0.5
  4607. for i = 0, 4 do
  4608. 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)
  4609. end
  4610. 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)
  4611. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4612. 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)
  4613. 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)
  4614. 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)
  4615. 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)
  4616. 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)
  4617. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  4618. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  4619. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  4620. end
  4621. orb.Transparency = 1
  4622. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  4623. if v:FindFirstChild('Head') then
  4624. dmg(v)
  4625. end
  4626. end
  4627. CameraEnshaking(7,30)
  4628. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  4629. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  4630. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  4631. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  4632. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  4633. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4634. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  4635. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4636. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  4637. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  4638. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  4639. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  4640. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  4641. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  4642. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4643. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4644. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4645. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4646. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4647. for i = 0, 99 do
  4648. 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)
  4649. 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)
  4650. end
  4651. for i = 0, 24 do
  4652. 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)
  4653. 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)
  4654. 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)
  4655. 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)
  4656. 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)
  4657. end
  4658. game:GetService("Debris"):AddItem(orb, 10)
  4659. hum.WalkSpeed = storehumanoidWS
  4660. attack = false
  4661. end
  4662.  
  4663.  
  4664. function ViolentRing()
  4665. attack = true
  4666. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  4667. for i = 0, 2, 0.1 do
  4668. swait()
  4669. local snap = math.random(1,10)
  4670. if snap == 1 then
  4671. 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)
  4672. end
  4673. 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)
  4674. 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)
  4675. 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)
  4676. 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)
  4677. 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)
  4678. 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)
  4679. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  4680. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  4681. 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)
  4682. RootPart.CFrame = FaceMouse()[1]
  4683. end
  4684. local orb = Instance.new("Part", char)
  4685. orb.BrickColor = MAINRUINCOLOR
  4686. orb.CanCollide = false
  4687. orb.FormFactor = 3
  4688. orb.Name = "Ring"
  4689. orb.Material = "Neon"
  4690. orb.Size = Vector3.new(1, 1, 1)
  4691. orb.Transparency = 0
  4692. orb.TopSurface = 0
  4693. orb.BottomSurface = 0
  4694. local orbm = Instance.new("SpecialMesh", orb)
  4695. orbm.MeshType = "Sphere"
  4696. orbm.Name = "SizeMesh"
  4697. orbm.Scale = vt(2,2,2)
  4698. orb.CFrame = mouse.Hit
  4699. local bv = Instance.new("BodyVelocity")
  4700. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4701. bv.velocity = orb.CFrame.lookVector*100
  4702. bv.Parent = orb
  4703. local hitted = false
  4704. coroutine.resume(coroutine.create(function()
  4705. game:GetService("Debris"):AddItem(orb, 5)
  4706. orb.Transparency = 1
  4707. orb.Anchored = true
  4708. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4709. elocacenter.Anchored = true
  4710. elocacenter.CFrame = orb.CFrame
  4711. elocacenter.Orientation = vt(0,0,0)
  4712. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4713. eloca1.Anchored = true
  4714. eloca1.CFrame = elocacenter.CFrame
  4715. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4716. eloca2.Anchored = true
  4717. eloca2.CFrame = elocacenter.CFrame
  4718. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4719. eloca3.Anchored = true
  4720. eloca3.CFrame = elocacenter.CFrame
  4721. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4722. eloca4.Anchored = true
  4723. eloca4.CFrame = elocacenter.CFrame
  4724. local lookavec = 0
  4725. local speeds = 0
  4726. CameraEnshaking(1,1)
  4727. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4728. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4729. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4730. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4731. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4732. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4733. for i = 0, 24 do
  4734. swait()
  4735. lookavec = lookavec + 3.5
  4736. speeds = speeds + 1
  4737. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4738. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4739. 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)
  4740.  
  4741. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4742. 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)
  4743.  
  4744. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4745. 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)
  4746.  
  4747. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4748. 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)
  4749. end
  4750.  
  4751. local risen = 0
  4752. for i = 0, 49 do
  4753. swait()
  4754. risen = risen + 0.05
  4755. speeds = speeds + 0.1
  4756. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4757. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4758. 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)
  4759.  
  4760. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4761. 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)
  4762.  
  4763. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4764. 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)
  4765.  
  4766. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4767. 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)
  4768. end
  4769. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  4770. if v:FindFirstChild('Head') then
  4771. dmg(v)
  4772. end
  4773. end
  4774. CameraEnshaking(4,10)
  4775. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  4776. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  4777. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  4778. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  4779. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  4780. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  4781. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  4782. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  4783. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4784. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4785. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4786. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4787. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4788. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  4789. for i = 0, 24 do
  4790. 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)
  4791. 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)
  4792. 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)
  4793. 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)
  4794. end
  4795. coroutine.resume(coroutine.create(function()
  4796. wait(10)
  4797. elocacenter:Destroy()
  4798. eloca1:Destroy()
  4799. eloca2:Destroy()
  4800. eloca3:Destroy()
  4801. eloca4:Destroy()
  4802. end))
  4803. end))
  4804. attack = false
  4805. end
  4806.  
  4807. function UniversalCollapse()
  4808. attack = true
  4809. local speedearn = 0
  4810. hum.WalkSpeed = 0
  4811. local sbs = Instance.new("BodyPosition", root)
  4812. sbs.P = 3000
  4813. sbs.D = 1000
  4814. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4815. sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  4816. CFuncs["LongSound"].Create("rbxassetid://489657591", char, 10, 1)
  4817. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4818. for i = 0, 110, 0.1 do
  4819. swait()
  4820. speedearn = speedearn + 0.1
  4821. 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)
  4822. 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)
  4823. 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)
  4824. 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)
  4825. 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)
  4826. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4827. 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)
  4828. 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)
  4829. 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)
  4830. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4831. 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)
  4832. 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)
  4833. end
  4834. CameraEnshaking(5,50)
  4835. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4836. for i = 0, 2 do
  4837. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4838. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4839. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  4840. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  4841. end
  4842. for i = 0, 49 do
  4843. 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)
  4844. 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)
  4845. 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)
  4846. 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)
  4847. end
  4848. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4849. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4850. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4851. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4852. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4853. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4854. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4855. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4856. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4857. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4858. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4859. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4860. for i = 0, 99 do
  4861. 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)
  4862. 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)
  4863. end
  4864. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  4865. if v:FindFirstChild('Head') then
  4866. dmg(v)
  4867. end
  4868. end
  4869. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  4870. sbs:Destroy()
  4871. hum.WalkSpeed = storehumanoidWS
  4872. attack = false
  4873. end
  4874.  
  4875.  
  4876. function ChaosEND()
  4877. attack = true
  4878. local speedearn = 0
  4879. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.5)
  4880. for i = 0, 15, 0.1 do
  4881. swait()
  4882. speedearn = speedearn + 0.25
  4883. 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)
  4884. 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)
  4885. 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)
  4886. 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)
  4887. 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)
  4888. 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)
  4889. 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)
  4890. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4891. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4892. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4893. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4894. end
  4895. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  4896. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4897. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 0.75)
  4898. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 0.5)
  4899. CameraEnshaking(5,25)
  4900. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4901. if v:FindFirstChild('Head') then
  4902. dmg(v)
  4903. end
  4904. end
  4905. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4906. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4907. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4908. for i = 0, 3, 0.1 do
  4909. swait()
  4910. 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)
  4911. 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)
  4912. 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)
  4913. 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)
  4914. 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)
  4915. 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)
  4916. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4917. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4918. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4919. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4920. end
  4921. attack = false
  4922. end
  4923.  
  4924. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4925. local orb = Instance.new("Part", char)
  4926. orb.Anchored = true
  4927. orb.BrickColor = color
  4928. orb.CanCollide = false
  4929. orb.FormFactor = 3
  4930. orb.Name = "Ring"
  4931. orb.Material = "Neon"
  4932. orb.Size = Vector3.new(1, 1, 1)
  4933. orb.Transparency = 0
  4934. orb.TopSurface = 0
  4935. orb.BottomSurface = 0
  4936. local orbm = Instance.new("SpecialMesh", orb)
  4937. orbm.MeshType = "Sphere"
  4938. orb.CFrame = positted
  4939. orbm.Name = "SizeMesh"
  4940. orbm.Scale = vt(1,1,1)
  4941. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4942. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4943. --[[for i = 0, 2 do
  4944. 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)
  4945. end]]--
  4946. coroutine.resume(coroutine.create(function()
  4947. wait(timer)
  4948. CameraEnshaking(3,ShakePower)
  4949. orb.Transparency = 1
  4950. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4951. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4952. --[[for i = 0, 4 do
  4953. 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)
  4954. end]]--
  4955. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4956. wait(3)
  4957. orb:Destroy()
  4958. end))
  4959. end
  4960.  
  4961. function orb_spawn(positted,timer)
  4962. local randomcol = math.random(1,2)
  4963. local orb = Instance.new("Part", char)
  4964. orb.Anchored = true
  4965. if randomcol == 1 then
  4966. orb.BrickColor = BrickColor.new("White")
  4967. elseif randomcol == 2 then
  4968. orb.BrickColor = BrickColor.new("Really black")
  4969. end
  4970. orb.CanCollide = false
  4971. orb.FormFactor = 3
  4972. orb.Name = "Ring"
  4973. orb.Material = "Neon"
  4974. orb.Size = Vector3.new(1, 1, 1)
  4975. orb.Transparency = 0
  4976. orb.TopSurface = 0
  4977. orb.BottomSurface = 0
  4978. local orbm = Instance.new("SpecialMesh", orb)
  4979. orbm.MeshType = "Sphere"
  4980. orb.CFrame = positted
  4981. orbm.Name = "SizeMesh"
  4982. orbm.Scale = vt(1,1,1)
  4983. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  4984. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4985. for i = 0, 2 do
  4986. 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)
  4987. end
  4988. coroutine.resume(coroutine.create(function()
  4989. wait(timer)
  4990. CameraEnshaking(3,2)
  4991. orb.Transparency = 1
  4992. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4993. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4994. for i = 0, 4 do
  4995. 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)
  4996. end
  4997. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  4998. wait(3)
  4999. orb:Destroy()
  5000. end))
  5001. end
  5002.  
  5003. function scattercorrupt()
  5004. attack = true
  5005. local rot = 0
  5006. local randomrotations = math.random(1,2)
  5007. local lookv = 2.5
  5008. local power = 5
  5009. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  5010. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  5011. for i = 0, 9 do
  5012. 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)
  5013. end
  5014. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  5015. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  5016. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  5017. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  5018. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  5019. local hite = Instance.new("Part", char)
  5020. hite.Anchored = true
  5021. hite.CanCollide = false
  5022. hite.FormFactor = 3
  5023. hite.Name = "Ring"
  5024. hite.Material = "Neon"
  5025. hite.Size = Vector3.new(1, 1, 1)
  5026. hite.Transparency = 1
  5027. hite.TopSurface = 0
  5028. hite.BottomSurface = 0
  5029. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  5030. local rem = Instance.new("Part", char)
  5031. rem.Anchored = true
  5032. rem.CanCollide = false
  5033. rem.FormFactor = 3
  5034. rem.Name = "Ring"
  5035. rem.Material = "Neon"
  5036. rem.Size = Vector3.new(1, 1, 1)
  5037. rem.Transparency = 1
  5038. rem.TopSurface = 0
  5039. rem.BottomSurface = 0
  5040. rem.CFrame = hite.CFrame
  5041. local rem2 = rem:Clone()
  5042. rem2.Parent = char
  5043. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5044. local rem3 = rem:Clone()
  5045. rem3.Parent = char
  5046. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5047. local rem4 = rem:Clone()
  5048. rem4.Parent = char
  5049. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5050. hite:Destroy()
  5051. coroutine.resume(coroutine.create(function()
  5052. for i = 0, 24 do
  5053. swait(1)
  5054. if randomrotations == 1 then
  5055. rot = rot + 1
  5056. elseif randomrotations == 2 then
  5057. rot = rot - 1
  5058. end
  5059. power = power + 0.5
  5060. lookv = lookv + 7.5
  5061. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5062. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5063. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5064. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5065. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  5066. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  5067. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  5068. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  5069. end
  5070. end))
  5071. attack = false
  5072. end
  5073. function yinyangi()
  5074. attack = true
  5075. for i = 0, 2, 0.1 do
  5076. swait()
  5077. 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)
  5078. 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)
  5079. 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)
  5080. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5081. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  5082. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  5083. end
  5084. local bv = Instance.new("BodyVelocity")
  5085. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5086. bv.velocity = root.CFrame.lookVector*175
  5087. bv.Parent = root
  5088. for Rotations = 0, 9 do
  5089. for i = 0, 1, 0.5 do
  5090. swait()
  5091. bv.velocity = root.CFrame.lookVector*175
  5092. 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)
  5093. 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)
  5094. 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)
  5095. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5096. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5097. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5098. end
  5099. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5100. for i = 0, 1, 0.5 do
  5101. swait()
  5102. bv.velocity = root.CFrame.lookVector*175
  5103. 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)
  5104. 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)
  5105. 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)
  5106. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5107. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5108. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5109. end
  5110. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5111. for i = 0, 1, 0.5 do
  5112. swait()
  5113. bv.velocity = root.CFrame.lookVector*175
  5114. 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)
  5115. 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)
  5116. 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)
  5117. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5118. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5119. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5120. end
  5121. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5122. for i = 0, 1, 0.5 do
  5123. swait()
  5124. bv.velocity = root.CFrame.lookVector*175
  5125. 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)
  5126. 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)
  5127. 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)
  5128. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5129. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5130. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5131. end
  5132. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5133. end
  5134. bv:Destroy()
  5135. attack = false
  5136. end
  5137.  
  5138. function createBGCircle(size,parent,color)
  5139. local bgui = Instance.new("BillboardGui",parent)
  5140. bgui.Size = UDim2.new(size, 0, size, 0)
  5141. local imgc = Instance.new("ImageLabel",bgui)
  5142. imgc.BackgroundTransparency = 1
  5143. imgc.ImageTransparency = 0
  5144. imgc.Size = UDim2.new(1,0,1,0)
  5145. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  5146. imgc.ImageColor3 = color
  5147. return bgui,imgc
  5148. end
  5149.  
  5150. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  5151. local bgui,imgc = createBGCircle(size,guipar,color)
  5152. bgui.AlwaysOnTop = true
  5153. imgc.Image = "rbxassetid://" ..img
  5154. local rrot = math.random(1,2)
  5155. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  5156. coroutine.resume(coroutine.create(function()
  5157. for i = 0, 24*delay do
  5158. swait()
  5159. if rotationenabled == true then
  5160. if rrot == 1 then
  5161. imgc.Rotation = imgc.Rotation + rotsp
  5162. elseif rrot == 2 then
  5163. imgc.Rotation = imgc.Rotation - rotsp
  5164. end
  5165. end
  5166. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  5167. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  5168. end
  5169. bgui:Destroy()
  5170. end))
  5171. end
  5172. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled,mat,mat2)
  5173. mat2=mat2 or mat
  5174. for i, v in pairs(mw2:GetChildren()) do
  5175. if v:IsA("Part") then
  5176. v.BrickColor = one
  5177. v.Material = mat or 'Neon'
  5178. end
  5179. end
  5180. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  5181. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  5182. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  5183. tr1.Color = ColorSequence.new(one.Color)
  5184. tr2.Color = ColorSequence.new(one.Color)
  5185. tr3.Color = ColorSequence.new(one.Color)
  5186. if(exonetran<1)then
  5187. tr4.Enabled=true
  5188. tr5.Enabled=true
  5189. tr6.Enabled=true
  5190. tr4.Transparency=NumberSequence.new(exonetran,1)
  5191. tr5.Transparency=NumberSequence.new(exonetran,1)
  5192. tr6.Transparency=NumberSequence.new(exonetran,1)
  5193. else
  5194. tr4.Enabled=false
  5195. tr5.Enabled=false
  5196. tr6.Enabled=false
  5197. end
  5198. for i, v in pairs(mw1:GetChildren()) do
  5199. if v:IsA("Part") then
  5200. if secondaryenabled == false then
  5201. v.Transparency = 1
  5202. elseif secondaryenabled == true then
  5203. v.Transparency = 0
  5204. end
  5205. v.BrickColor = two
  5206. v.Material = mat2 or 'Neon'
  5207. end
  5208. end
  5209. if secondaryenabled == false then
  5210. tl1.Enabled = false
  5211. tl2.Enabled = false
  5212. tl3.Enabled = false
  5213. elseif secondaryenabled == true then
  5214. tl1.Enabled = true
  5215. tl2.Enabled = true
  5216. tl3.Enabled = true
  5217. end
  5218. tl1.Color = ColorSequence.new(two.Color)
  5219. tl2.Color = ColorSequence.new(two.Color)
  5220. tl3.Color = ColorSequence.new(two.Color)
  5221. print(extwotran,exonetran)
  5222. if(extwotran<1)then
  5223. tl4.Enabled=true
  5224. tl5.Enabled=true
  5225. tl6.Enabled=true
  5226. tl4.Transparency=NumberSequence.new(extwotran,1)
  5227. tl5.Transparency=NumberSequence.new(extwotran,1)
  5228. tl6.Transparency=NumberSequence.new(extwotran,1)
  5229. else
  5230. tl4.Enabled=false
  5231. tl5.Enabled=false
  5232. tl6.Enabled=false
  5233. end
  5234.  
  5235. tl4.Color = ColorSequence.new(exone.Color)
  5236. tl5.Color = ColorSequence.new(exone.Color)
  5237. tl6.Color = ColorSequence.new(exone.Color)
  5238. tr4.Color = ColorSequence.new(extwo.Color)
  5239. tr5.Color = ColorSequence.new(extwo.Color)
  5240. tr6.Color = ColorSequence.new(extwo.Color)
  5241.  
  5242. for i, v in pairs(m:GetChildren()) do
  5243. if v:IsA("Part") then
  5244. v.BrickColor = three
  5245. v.Material = "Ice"
  5246. end
  5247. end
  5248. for i, v in pairs(m2:GetChildren()) do
  5249. if v:IsA("Part") then
  5250. v.BrickColor = four
  5251. v.Material = "Ice"
  5252. end
  5253. end
  5254. for i, v in pairs(m3:GetChildren()) do
  5255. if v:IsA("Part") then
  5256. v.BrickColor = five
  5257. v.Material = mat2 or 'Neon'
  5258. end
  5259. end
  5260. for i, v in pairs(extrawingmod1:GetChildren()) do
  5261. if v:IsA("Part") then
  5262. v.Transparency = exonetran
  5263. v.BrickColor = exone
  5264. v.Material = mat or 'Neon'
  5265. end
  5266. end
  5267. for i, v in pairs(extrawingmod2:GetChildren()) do
  5268. if v:IsA("Part") then
  5269. v.Transparency = extwotran
  5270. v.BrickColor = extwo
  5271. v.Material = mat2 or 'Neon'
  5272. end
  5273. end
  5274. end
  5275.  
  5276. function bigblack()
  5277.  
  5278. end
  5279.  
  5280. function normalmog()
  5281. attack = true
  5282. hum.WalkSpeed = 0
  5283. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  5284. for i = 0,6,0.1 do
  5285. swait()
  5286. 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)
  5287. 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)
  5288. 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)
  5289. 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)
  5290. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5291. 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)
  5292. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5293. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5294. end
  5295. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  5296. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  5297. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  5298. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  5299. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  5300. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  5301. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  5302. rainbowmode = false
  5303. chaosmode = false
  5304. ModeOfGlitch = 1
  5305. storehumanoidWS = 16
  5306. newTheme("rbxassetid://1564523997",48.6,1,1.25)
  5307. RecolorTextAndRename("SOLITUDE",Color3.new(0.25,0,0),Color3.new(0,0,0),"Antique")
  5308. CameraEnshaking(5,2.5)
  5309. MAINRUINCOLOR = BrickColor.new("Black")
  5310. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5311. for i = 0, 49 do
  5312. 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)
  5313. end
  5314. for i = 0, 24 do
  5315. 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)
  5316. 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"))
  5317. end
  5318. for i = 0,3,0.1 do
  5319. 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)
  5320. end
  5321. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  5322. for i = 0,2,0.1 do
  5323. swait()
  5324. 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)
  5325. 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)
  5326. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  5327. 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)
  5328. 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)
  5329. 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)
  5330. end
  5331. hum.WalkSpeed = storehumanoidWS
  5332. attack = false
  5333. end
  5334.  
  5335. function attackone()
  5336. attack = true
  5337. local keptcolor = MAINRUINCOLOR
  5338. for i = 0,1,0.1 do
  5339. swait()
  5340. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  5341. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  5342. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  5343. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5344. 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)
  5345. 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)
  5346. end
  5347. local distlook = 5
  5348. coroutine.resume(coroutine.create(function()
  5349. for i = 0, 4 do
  5350. swait(2)
  5351. CameraEnshaking(2,3)
  5352. local hite = Instance.new("Part", char)
  5353. hite.Anchored = true
  5354. hite.CanCollide = false
  5355. hite.FormFactor = 3
  5356. hite.Name = "Ring"
  5357. hite.Material = "Neon"
  5358. hite.Size = Vector3.new(1, 1, 1)
  5359. hite.Transparency = 1
  5360. hite.TopSurface = 0
  5361. hite.BottomSurface = 0
  5362. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  5363. 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)
  5364. 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)
  5365. 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)
  5366. 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)
  5367. MagniDamage(hite, 9, 10,25, 0, "Normal")
  5368. for i = 0, 14 do
  5369. local rsiz = math.random(5,20)
  5370. 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)
  5371. end
  5372. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  5373. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  5374. game:GetService("Debris"):AddItem(hite, 5)
  5375. distlook = distlook + 10
  5376. end
  5377. end))
  5378. for i = 0,1,0.1 do
  5379. swait()
  5380. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  5381. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  5382. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  5383. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  5384. 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)
  5385. 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)
  5386. end
  5387. attack = false
  5388. end
  5389.  
  5390. function attacktwo()
  5391. attack = true
  5392. hum.WalkSpeed = 2
  5393. local keptcolor = MAINRUINCOLOR
  5394. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5395. 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)
  5396. 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)
  5397. for i = 0, 14 do
  5398. PixelBlock(1,math.random(1,3),"Add",rarm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,keptcolor,0)
  5399. end
  5400. for i = 0,1,0.1 do
  5401. swait()
  5402. 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)
  5403. 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)
  5404. 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)
  5405. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5406. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  5407. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  5408. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5409. end
  5410. for i = 0, 1 do
  5411. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  5412. for i = 0,1,0.6 do
  5413. swait()
  5414. 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)
  5415. 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"))
  5416. 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)
  5417. 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)
  5418. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5419. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5420. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5421. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5422. end
  5423. for i = 0,1,0.6 do
  5424. swait()
  5425. 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)
  5426. 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"))
  5427. 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)
  5428. 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)
  5429. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  5430. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5431. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5432. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5433. end
  5434. for i = 0,1,0.6 do
  5435. swait()
  5436. 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)
  5437. 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"))
  5438. 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)
  5439. 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)
  5440. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  5441. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5442. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5443. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5444. end
  5445. for i = 0,1,0.6 do
  5446. swait()
  5447. 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)
  5448. 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"))
  5449. 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)
  5450. 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)
  5451. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  5452. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5453. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5454. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5455. end
  5456. local rot = 0
  5457. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  5458. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5459. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5460. CreateMesh(dis,"Sphere",10,1,10)
  5461. local at1 = Instance.new("Attachment",dis)
  5462. at1.Position = vt(-5,0,0)
  5463. local at2 = Instance.new("Attachment",dis)
  5464. at2.Position = vt(5,0,0)
  5465. local trl = Instance.new('Trail',wed)
  5466. trl.Attachment0 = at1
  5467. trl.Attachment1 = at2
  5468. trl.Texture = "rbxassetid://1049219073"
  5469. trl.LightEmission = 1
  5470. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5471. trl.Color = ColorSequence.new(dis.Color)
  5472. trl.Lifetime = 0.6
  5473. local a = Instance.new("Part",workspace)
  5474. a.Name = "Direction"
  5475. a.Anchored = true
  5476. a.BrickColor = bc("Bright red")
  5477. a.Material = "Neon"
  5478. a.Transparency = 1
  5479. a.CanCollide = false
  5480. local ray = Ray.new(
  5481. dis.CFrame.p, -- origin
  5482. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5483. )
  5484. local ignore = dis
  5485. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5486. a.BottomSurface = 10
  5487. a.TopSurface = 10
  5488. local distance = (dis.CFrame.p - position).magnitude
  5489. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5490. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5491. dis.CFrame = a.CFrame
  5492. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5493. a:Destroy()
  5494. local bv = Instance.new("BodyVelocity")
  5495. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5496. bv.velocity = dis.CFrame.lookVector*250
  5497. bv.Parent = dis
  5498. game:GetService("Debris"):AddItem(dis, 5)
  5499. local hitted = false
  5500. coroutine.resume(coroutine.create(function()
  5501. dis.Touched:connect(function(hit)
  5502. if hitted == false and hit.Parent ~= char then
  5503. hitted = true
  5504. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5505. MagniDamage(dis, 30, 33,56, 0, "Normal")
  5506. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5507. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5508. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5509. coroutine.resume(coroutine.create(function()
  5510. for i = 0, 9 do
  5511. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5512. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5513. local at1 = Instance.new("Attachment",disr)
  5514. at1.Position = vt(-5,0,0)
  5515. local at2 = Instance.new("Attachment",disr)
  5516. at2.Position = vt(5,0,0)
  5517. local trl = Instance.new('Trail',disr)
  5518. trl.Attachment0 = at1
  5519. trl.FaceCamera = true
  5520. trl.Attachment1 = at2
  5521. trl.Texture = "rbxassetid://2342682798"
  5522. trl.LightEmission = 1
  5523. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5524. trl.Color = ColorSequence.new(keptcolor.Color)
  5525. trl.Lifetime = 0.5
  5526. local bv = Instance.new("BodyVelocity")
  5527. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5528. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5529. bv.Parent = disr
  5530. local val = 0
  5531. coroutine.resume(coroutine.create(function()
  5532. swait(30)
  5533. for i = 0, 9 do
  5534. swait()
  5535. val = val + 0.1
  5536. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5537. end
  5538. game:GetService("Debris"):AddItem(disr, 3)
  5539. end))
  5540. end
  5541. local eff = Instance.new("ParticleEmitter",dis)
  5542. eff.Texture = "rbxassetid://2273224484"
  5543. eff.LightEmission = 1
  5544. eff.Color = ColorSequence.new(keptcolor.Color)
  5545. eff.Rate = 500000
  5546. eff.Lifetime = NumberRange.new(0.5,2)
  5547. 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)})
  5548. 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)})
  5549. eff.Speed = NumberRange.new(20,250)
  5550. eff.Drag = 5
  5551. eff.Rotation = NumberRange.new(-500,500)
  5552. eff.VelocitySpread = 9000
  5553. eff.RotSpeed = NumberRange.new(-50,50)
  5554. wait(0.25)
  5555. eff.Enabled = false
  5556. end))
  5557. for i = 0, 9 do
  5558. 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"))
  5559. end
  5560. for i = 0, 19 do
  5561. PixelBlock(1,math.random(5,20),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,keptcolor,0)
  5562. end
  5563. coroutine.resume(coroutine.create(function()
  5564. for i = 0, 19 do
  5565. swait()
  5566. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5567. end
  5568. hum.CameraOffset = vt(0,0,0)
  5569. end))
  5570. dis.Anchored = true
  5571. dis.Transparency = 1
  5572. wait(8)
  5573. dis:Destroy()
  5574. end
  5575. end)
  5576. end))
  5577. rot = rot - 15
  5578. end
  5579. for i = 0,2,0.1 do
  5580. swait()
  5581. 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)
  5582. 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)
  5583. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5584. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  5585. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5586. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5587. end
  5588. attack = false
  5589. hum.WalkSpeed = storehumanoidWS
  5590. end
  5591.  
  5592. function attackthree()
  5593. attack = true
  5594. local keptcolor = MAINRUINCOLOR
  5595. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  5596. for i = 0,2,0.1 do
  5597. swait()
  5598. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5599. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  5600. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  5601. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  5602. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  5603. 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)
  5604. 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)
  5605. end
  5606. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  5607. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  5608. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  5609. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  5610. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5611. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  5612. for i = 0, 24 do
  5613. slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(50,200)/250,BrickColor.new("White"))
  5614. end
  5615. for i = 0,4,0.1 do
  5616. swait()
  5617. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  5618. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5619. CreateMesh(dis,"Sphere",1,1,1)
  5620. dis.Anchored = true
  5621. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5622. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5623. coroutine.resume(coroutine.create(function()
  5624. swait(30)
  5625. dis.Transparency = 1
  5626. coroutine.resume(coroutine.create(function()
  5627. for i = 0, 19 do
  5628. swait()
  5629. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5630. end
  5631. hum.CameraOffset = vt(0,0,0)
  5632. end))
  5633. coroutine.resume(coroutine.create(function()
  5634. local eff = Instance.new("ParticleEmitter",dis)
  5635. eff.Texture = "rbxassetid://2273224484"
  5636. eff.LightEmission = 1
  5637. eff.Color = ColorSequence.new(dis.Color)
  5638. eff.Rate = 500000
  5639. eff.Lifetime = NumberRange.new(0.5,2)
  5640. 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)})
  5641. 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)})
  5642. eff.Speed = NumberRange.new(50,450)
  5643. eff.Drag = 5
  5644. eff.Rotation = NumberRange.new(-500,500)
  5645. eff.VelocitySpread = 9000
  5646. eff.RotSpeed = NumberRange.new(-50,50)
  5647. wait(0.125)
  5648. eff.Enabled = false
  5649. end))
  5650. MagniDamage(dis, 30, 45,50, 0, "Normal")
  5651. for i = 0, 2 do
  5652. 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)
  5653. end
  5654. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  5655. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  5656. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  5657. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  5658. end))
  5659. game:GetService("Debris"):AddItem(dis, 5)
  5660. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  5661. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  5662. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  5663. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  5664. 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)
  5665. 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)
  5666. end
  5667. attack = false
  5668. end
  5669. ----------------------------------- Abilities
  5670.  
  5671. function ExtinctiveHeartbreak()
  5672. local targetted = nil
  5673. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5674. targetted = mouse.Target.Parent
  5675. end
  5676. if targetted ~= nil then
  5677. attack = true
  5678. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5679. for i = 0, 9 do
  5680. 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("Black"),0)
  5681. end
  5682. for i = 0, 24 do
  5683. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Black"),0)
  5684. end
  5685. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Black"))
  5686. local originalpos = root.CFrame
  5687. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5688. for i = 0, 9 do
  5689. 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("Black"),0)
  5690. end
  5691. for i = 0, 24 do
  5692. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Black"),0)
  5693. end
  5694. hum.WalkSpeed = 0
  5695. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Black"))
  5696. local radm = math.random(1,3)
  5697. if radm == 1 then
  5698. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  5699. elseif radm == 2 then
  5700. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  5701. elseif radm == 3 then
  5702. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  5703. end
  5704. for i = 0,2,0.1 do
  5705. swait()
  5706. 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)
  5707. 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)
  5708. 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)
  5709. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5710. RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
  5711. 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)
  5712. end
  5713. CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
  5714. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
  5715. for i = 0,2,0.1 do
  5716. swait()
  5717. coroutine.resume(coroutine.create(function()
  5718. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5719. for i,v in pairs(targetted:GetChildren()) do
  5720. if v:IsA("Part") or v:IsA("MeshPart") then
  5721. v.Velocity = vt(0,0,0)
  5722. end
  5723. end
  5724. end))
  5725. 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)
  5726. 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)
  5727. 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)
  5728. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5729. RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5730. 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)
  5731. end
  5732. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
  5733. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
  5734. for i = 0, 1 do
  5735. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
  5736. end
  5737. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
  5738. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  5739. for i = 0,4,0.1 do
  5740. swait()
  5741. coroutine.resume(coroutine.create(function()
  5742. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5743. 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)))
  5744. local at1 = Instance.new("Attachment",dis)
  5745. at1.Position = vt(-25000,0,0)
  5746. local at2 = Instance.new("Attachment",dis)
  5747. at2.Position = vt(25000,0,0)
  5748. local trl = Instance.new('Trail',dis)
  5749. trl.Attachment0 = at1
  5750. trl.FaceCamera = true
  5751. trl.Attachment1 = at2
  5752. trl.Texture = "rbxassetid://1049219073"
  5753. trl.LightEmission = 1
  5754. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5755. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  5756. trl.Lifetime = 5
  5757. local bv = Instance.new("BodyVelocity")
  5758. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5759. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5760. bv.Parent = dis
  5761. game:GetService("Debris"):AddItem(dis, 5)
  5762. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5763. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  5764. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  5765. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  5766. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  5767. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  5768. 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)
  5769. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  5770. for i = 0, 2 do
  5771. 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"))
  5772. end
  5773. 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)
  5774. for i,v in pairs(targetted:GetChildren()) do
  5775. if v:IsA("Part") or v:IsA("MeshPart") then
  5776. v.Velocity = vt(0,0,0)
  5777. end
  5778. end
  5779. end))
  5780. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  5781. 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)
  5782. 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)
  5783. 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)
  5784. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  5785. RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(40)),.8)
  5786. 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)
  5787. end
  5788. hum.CameraOffset = vt(0,0,0)
  5789. for i = 0, 49 do
  5790. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5791. 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)))
  5792. local at1 = Instance.new("Attachment",dis)
  5793. at1.Position = vt(-50000,0,0)
  5794. local at2 = Instance.new("Attachment",dis)
  5795. at2.Position = vt(50000,0,0)
  5796. local trl = Instance.new('Trail',dis)
  5797. trl.Attachment0 = at1
  5798. trl.FaceCamera = true
  5799. trl.Attachment1 = at2
  5800. trl.Texture = "rbxassetid://1049219073"
  5801. trl.LightEmission = 1
  5802. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5803. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  5804. trl.Lifetime = 5
  5805. local bv = Instance.new("BodyVelocity")
  5806. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5807. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5808. bv.Parent = dis
  5809. game:GetService("Debris"):AddItem(dis, 5)
  5810. end
  5811. for i = 0, 49 do
  5812. 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)
  5813. 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("Black"))
  5814. end
  5815. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  5816. for i = 0, 1 do
  5817. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  5818. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  5819. end
  5820. for i = 0, 4 do
  5821. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  5822. end
  5823. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  5824. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  5825. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  5826. dmg(targetted)
  5827. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5828. for i = 0, 9 do
  5829. 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("Black"),0)
  5830. end
  5831. for i = 0, 24 do
  5832. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Black"),0)
  5833. end
  5834. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Black"))
  5835. root.CFrame = originalpos
  5836. for i = 0, 9 do
  5837. 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("Black"),0)
  5838. end
  5839. for i = 0, 24 do
  5840. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Black"),0)
  5841. end
  5842. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Black"))
  5843. attack = false
  5844. hum.WalkSpeed = storehumanoidWS
  5845. end
  5846. end
  5847.  
  5848. function CorruptionEvent()
  5849. attack = true
  5850. hum.WalkSpeed = 0
  5851. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5852. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5853. local keptcolor = MAINRUINCOLOR
  5854. for i = 0,4,0.1 do
  5855. swait()
  5856. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5857. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5858. 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)
  5859. 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)
  5860. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  5861. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  5862. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  5863. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5864. end
  5865. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5866. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  5867. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  5868. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5869. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5870. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5871. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5872. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  5873. hum.CameraOffset = vt(0,0,0)
  5874. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5875. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5876. for i = 0, 24 do
  5877. 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"))
  5878. end
  5879. local rrot = 0
  5880. coroutine.resume(coroutine.create(function()
  5881. for i = 0, 4 do
  5882. rrot = rrot + 45
  5883. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5884. xa.Anchored = true
  5885. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5886. xb.Anchored = true
  5887. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5888. xc.Anchored = true
  5889. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5890. xd.Anchored = true
  5891. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  5892. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  5893. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  5894. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  5895. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  5896. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  5897. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  5898. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  5899. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  5900. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  5901. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  5902. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  5903. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  5904. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  5905. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  5906. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  5907. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5908. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5909. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5910. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5911. for i = 0, 9 do
  5912. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  5913. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xb.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  5914. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xc.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  5915. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xd.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  5916. end
  5917. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5918. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5919. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5920. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5921. 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)
  5922. 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)
  5923. 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)
  5924. 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)
  5925. 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))
  5926. 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))
  5927. 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))
  5928. 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))
  5929. game:GetService("Debris"):AddItem(xa, 5)
  5930. game:GetService("Debris"):AddItem(xb, 5)
  5931. game:GetService("Debris"):AddItem(xc, 5)
  5932. game:GetService("Debris"):AddItem(xd, 5)
  5933. coroutine.resume(coroutine.create(function()
  5934. for i = 0, 19 do
  5935. swait()
  5936. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5937. end
  5938. hum.CameraOffset = vt(0,0,0)
  5939. end))
  5940. swait(9)
  5941. end
  5942. end))
  5943. for i = 0,2,0.1 do
  5944. swait()
  5945. 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)
  5946. 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)
  5947. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  5948. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  5949. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  5950. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5951. end
  5952. attack = false
  5953. hum.WalkSpeed = storehumanoidWS
  5954. end
  5955.  
  5956. function when_u_kum_v4()
  5957. attack=true
  5958. hum.WalkSpeed=0
  5959. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=671759140", Torso, 1.5, 1)
  5960. for i = 0,6,0.1 do
  5961. swait()
  5962. block(10,"Add",root.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5963. slash(math.random(25,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.05,0.01,0.05),-0.05,MAINRUINCOLOR)
  5964.  
  5965. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(125)),.1)
  5966. 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(-125)),.1)
  5967. RootJoint.C0=clerp(RootJoint.C0,cf(0,-1.2,.1)*angles(math.rad(-75),math.rad(0),math.rad(0))*RootCF,.1)
  5968. Torso.Neck.C0=clerp(Torso.Neck.C0,necko,.1)
  5969. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(85),math.rad(0),math.rad(0)),.1)
  5970. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(85),math.rad(0),math.rad(0)),.1)
  5971. end
  5972. swait(80)
  5973. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=138084923", Torso, 1.5, 1)
  5974. swait(40)
  5975. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=879380472", Torso, 3, 1)
  5976. local pos = root.CFrame
  5977. MagniDamage(root, 20, 99,99, 700, "LustHump")
  5978. block(math.random(25,50)/10,"Add",pos,vt(1,1,1),0.4,0.4,0.4,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5979. sphere(math.random(25,50)/10,"Add",pos,vt(.5,.5,.5),.4,MAINRUINCOLOR)
  5980. for i = 1, 15 do
  5981. slash(math.random(25,50)/10,5,true,"Round","Add","Out",pos*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.05,0.01,0.05),0.2,MAINRUINCOLOR)
  5982. end
  5983.  
  5984. for i = 0,3,0.1 do
  5985. swait()
  5986. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-75)),.3)
  5987. 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(75)),.3)
  5988. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.4,-.2)*angles(math.rad(55),math.rad(0),math.rad(0))*RootCF,.3)
  5989. Torso.Neck.C0=clerp(Torso.Neck.C0,necko,.3)
  5990. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),math.rad(0),math.rad(0)),.3)
  5991. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),math.rad(0),math.rad(0)),.3)
  5992. end
  5993. hum.WalkSpeed=storehumanoidWS
  5994. attack=false
  5995. end
  5996.  
  5997. function lust_hump()
  5998. attack=true
  5999. hum.WalkSpeed=0
  6000. repeat swait()
  6001. for i = 0,2,0.1 do
  6002. swait()
  6003. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(55)),.2)
  6004. 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(-55)),.2)
  6005. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.25,.1)*angles(math.rad(-35),math.rad(0),math.rad(0))*RootCF,.2)
  6006. Torso.Neck.C0=clerp(Torso.Neck.C0,necko,.2)
  6007. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(85),math.rad(0),math.rad(0)),.2)
  6008. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(85),math.rad(0),math.rad(0)),.2)
  6009. end
  6010. for i = 0,2,0.1 do
  6011. swait()
  6012. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-55)),.2)
  6013. 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(55)),.2)
  6014. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.25,-.2)*angles(math.rad(35),math.rad(0),math.rad(0))*RootCF,.2)
  6015. Torso.Neck.C0=clerp(Torso.Neck.C0,necko,.2)
  6016. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),math.rad(0),math.rad(0)),.2)
  6017. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),math.rad(0),math.rad(0)),.2)
  6018. end
  6019. until not game:service'UserInputService':IsKeyDown(Enum.KeyCode.B)
  6020. hum.WalkSpeed=storehumanoidWS
  6021. attack=false
  6022. end
  6023.  
  6024. function EndGROUND()
  6025. attack = true
  6026. hum.WalkSpeed = 0
  6027. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  6028. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  6029. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  6030. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  6031. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  6032. local keptcolor = MAINRUINCOLOR
  6033. for i = 0,4,0.1 do
  6034. swait()
  6035. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6036. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6037. 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"))
  6038. 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)
  6039. 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)
  6040. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  6041. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  6042. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  6043. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  6044. end
  6045. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  6046. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  6047. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  6048. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  6049. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  6050. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  6051. coroutine.resume(coroutine.create(function()
  6052. local shval = 10
  6053. for i = 0, 99 do
  6054. swait()
  6055. shval = shval - 0.1
  6056. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  6057. end
  6058. hum.CameraOffset = vt(0,0,0)
  6059. end))
  6060. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6061. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6062. for i = 0, 24 do
  6063. 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"))
  6064. end
  6065. local rrot = 0
  6066. local xam = 1
  6067. coroutine.resume(coroutine.create(function()
  6068. for i = 0, 14 do
  6069. --swait()
  6070. rrot = rrot + 40*xam
  6071. xam = xam + 0.25
  6072. local bonus = xam
  6073. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  6074. xa.Anchored = true
  6075. xa.Color = Color3.new(0,0,0)
  6076. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  6077. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  6078. local xc = 0
  6079. coroutine.resume(coroutine.create(function()
  6080. for i = 0, 99 do
  6081. swait()
  6082. xc = xc + 0.01
  6083. xa.Color = Color3.new(xc,0,0)
  6084. end
  6085. xa.Transparency = 1
  6086. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  6087. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  6088. for i = 0, 9 do
  6089. 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"))
  6090. end
  6091. 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)
  6092. 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)
  6093. 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))
  6094. game:GetService("Debris"):AddItem(xa, 5)
  6095. coroutine.resume(coroutine.create(function()
  6096. for i = 0, 19 do
  6097. swait()
  6098. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  6099. end
  6100. hum.CameraOffset = vt(0,0,0)
  6101. end))
  6102. end))
  6103. end
  6104. end))
  6105. for i = 0,2,0.1 do
  6106. swait()
  6107. 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)
  6108. 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)
  6109. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  6110. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  6111. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  6112. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  6113. end
  6114. attack = false
  6115. hum.WalkSpeed = storehumanoidWS
  6116. end
  6117.  
  6118. function HeavenlyDisk()
  6119. attack = true
  6120. hum.WalkSpeed = 2
  6121. local keptcolor = MAINRUINCOLOR
  6122. local radm = math.random(1,2)
  6123. if radm == 1 then
  6124. bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
  6125. elseif radm == 2 then
  6126. bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  6127. end
  6128. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  6129. CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
  6130. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6131. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color)
  6132. for i = 0, 14 do
  6133. PixelBlock(1,math.random(1,3),"Add",larm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,BrickColor.new("Toothpaste"),0)
  6134. end
  6135. for i = 0,2,0.1 do
  6136. swait()
  6137. 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)
  6138. 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)
  6139. 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)
  6140. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  6141. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  6142. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6143. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  6144. end
  6145. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  6146. for i = 0,1,0.6 do
  6147. swait()
  6148. 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)
  6149. 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"))
  6150. 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)
  6151. 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)
  6152. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  6153. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6154. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6155. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6156. end
  6157. for i = 0,1,0.6 do
  6158. swait()
  6159. 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)
  6160. 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"))
  6161. 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)
  6162. 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)
  6163. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  6164. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6165. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6166. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6167. end
  6168. for i = 0,1,0.6 do
  6169. swait()
  6170. 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)
  6171. 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"))
  6172. 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)
  6173. 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)
  6174. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  6175. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6176. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6177. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6178. end
  6179. for i = 0,1,0.6 do
  6180. swait()
  6181. 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)
  6182. 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"))
  6183. 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)
  6184. 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)
  6185. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  6186. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6187. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6188. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6189. end
  6190. local rot = 15
  6191. for i = 0, 2 do
  6192. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  6193. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  6194. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  6195. CreateMesh(dis,"Sphere",10,1,10)
  6196. local at1 = Instance.new("Attachment",dis)
  6197. at1.Position = vt(-5,0,0)
  6198. local at2 = Instance.new("Attachment",dis)
  6199. at2.Position = vt(5,0,0)
  6200. local trl = Instance.new('Trail',wed)
  6201. trl.Attachment0 = at1
  6202. trl.Attachment1 = at2
  6203. trl.Texture = "rbxassetid://1049219073"
  6204. trl.LightEmission = 1
  6205. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6206. trl.Color = ColorSequence.new(dis.Color)
  6207. trl.Lifetime = 0.6
  6208. local a = Instance.new("Part",workspace)
  6209. a.Name = "Direction"
  6210. a.Anchored = true
  6211. a.BrickColor = bc("Bright red")
  6212. a.Material = "Neon"
  6213. a.Transparency = 1
  6214. a.CanCollide = false
  6215. local ray = Ray.new(
  6216. dis.CFrame.p, -- origin
  6217. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6218. )
  6219. local ignore = dis
  6220. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6221. a.BottomSurface = 10
  6222. a.TopSurface = 10
  6223. local distance = (dis.CFrame.p - position).magnitude
  6224. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6225. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6226. dis.CFrame = a.CFrame
  6227. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6228. a:Destroy()
  6229. local bv = Instance.new("BodyVelocity")
  6230. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6231. bv.velocity = dis.CFrame.lookVector*250
  6232. bv.Parent = dis
  6233. game:GetService("Debris"):AddItem(dis, 5)
  6234. local hitted = false
  6235. coroutine.resume(coroutine.create(function()
  6236. dis.Touched:connect(function(hit)
  6237. if hitted == false and hit.Parent ~= char then
  6238. hitted = true
  6239. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  6240. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  6241. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  6242. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  6243. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  6244. coroutine.resume(coroutine.create(function()
  6245. for i = 0, 9 do
  6246. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6247. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6248. local at1 = Instance.new("Attachment",disr)
  6249. at1.Position = vt(-2,0,0)
  6250. local at2 = Instance.new("Attachment",disr)
  6251. at2.Position = vt(2,0,0)
  6252. local trl = Instance.new('Trail',disr)
  6253. trl.Attachment0 = at1
  6254. trl.FaceCamera = true
  6255. trl.Attachment1 = at2
  6256. trl.Texture = "rbxassetid://2342682798"
  6257. trl.LightEmission = 1
  6258. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6259. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6260. trl.Lifetime = 0.5
  6261. local bv = Instance.new("BodyVelocity")
  6262. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6263. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6264. bv.Parent = disr
  6265. local val = 0
  6266. coroutine.resume(coroutine.create(function()
  6267. swait(30)
  6268. for i = 0, 9 do
  6269. swait()
  6270. val = val + 0.1
  6271. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6272. end
  6273. game:GetService("Debris"):AddItem(disr, 3)
  6274. end))
  6275. end
  6276. local eff = Instance.new("ParticleEmitter",dis)
  6277. eff.Texture = "rbxassetid://2273224484"
  6278. eff.LightEmission = 1
  6279. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6280. eff.Rate = 500000
  6281. eff.Lifetime = NumberRange.new(0.5,2)
  6282. 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)})
  6283. 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)})
  6284. eff.Speed = NumberRange.new(20,250)
  6285. eff.Drag = 5
  6286. eff.Rotation = NumberRange.new(-500,500)
  6287. eff.VelocitySpread = 9000
  6288. eff.RotSpeed = NumberRange.new(-50,50)
  6289. wait(0.25)
  6290. eff.Enabled = false
  6291. end))
  6292. for i = 0, 9 do
  6293. 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"))
  6294. end
  6295. for i = 0, 19 do
  6296. PixelBlock(1,math.random(5,20),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
  6297. end
  6298. coroutine.resume(coroutine.create(function()
  6299. for i = 0, 19 do
  6300. swait()
  6301. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6302. end
  6303. hum.CameraOffset = vt(0,0,0)
  6304. end))
  6305. dis.Anchored = true
  6306. dis.Transparency = 1
  6307. wait(8)
  6308. dis:Destroy()
  6309. end
  6310. end)
  6311. end))
  6312. rot = rot - 15
  6313. end
  6314. for i = 0,2,0.1 do
  6315. swait()
  6316. 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)
  6317. 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)
  6318. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6319. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  6320. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6321. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6322. end
  6323. attack = false
  6324. hum.WalkSpeed = storehumanoidWS
  6325. end
  6326.  
  6327. function RapidBurst()
  6328. attack = true
  6329. hum.WalkSpeed = 0
  6330. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6331. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  6332. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  6333. bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2)
  6334. local keptcolor = MAINRUINCOLOR
  6335. for i = 0,8,0.1 do
  6336. swait()
  6337. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6338. 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())
  6339. 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)
  6340. 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)
  6341. 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)
  6342. 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)
  6343. 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)
  6344. 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)
  6345. 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)
  6346. end
  6347. for i = 0, 99 do
  6348. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6349. 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)))
  6350. local at1 = Instance.new("Attachment",dis)
  6351. at1.Position = vt(-25000,0,0)
  6352. local at2 = Instance.new("Attachment",dis)
  6353. at2.Position = vt(25000,0,0)
  6354. local trl = Instance.new('Trail',dis)
  6355. trl.Attachment0 = at1
  6356. trl.FaceCamera = true
  6357. trl.Attachment1 = at2
  6358. trl.Texture = "rbxassetid://1049219073"
  6359. trl.LightEmission = 1
  6360. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6361. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6362. trl.Lifetime = 5
  6363. local bv = Instance.new("BodyVelocity")
  6364. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6365. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6366. bv.Parent = dis
  6367. game:GetService("Debris"):AddItem(dis, 5)
  6368. end
  6369. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6370. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6371. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6372. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6373. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6374. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6375. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6376. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6377. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6378. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6379. hum.CameraOffset = vt(0,0,0)
  6380. for i = 0, 24 do
  6381. 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())
  6382. end
  6383. local distam = 0
  6384. coroutine.resume(coroutine.create(function()
  6385. for i = 0, 99 do
  6386. wait()
  6387. distam = distam + 1
  6388. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6389. xa.Anchored = true
  6390. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6391. game:GetService("Debris"):AddItem(xa, 5)
  6392. for i = 0, 4 do
  6393. 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())
  6394. end
  6395. coroutine.resume(coroutine.create(function()
  6396. local eff = Instance.new("ParticleEmitter",xa)
  6397. eff.Texture = "rbxassetid://2273224484"
  6398. eff.LightEmission = 1
  6399. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6400. eff.Rate = 500000
  6401. eff.Lifetime = NumberRange.new(1,3)
  6402. 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)})
  6403. 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)})
  6404. eff.Speed = NumberRange.new(50,500)
  6405. eff.Drag = 5
  6406. eff.Rotation = NumberRange.new(-500,500)
  6407. eff.VelocitySpread = 9000
  6408. eff.RotSpeed = NumberRange.new(-50,50)
  6409. wait(0.25)
  6410. eff.Enabled = false
  6411. end))
  6412. coroutine.resume(coroutine.create(function()
  6413. for i = 0, 19 do
  6414. swait()
  6415. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6416. end
  6417. hum.CameraOffset = vt(0,0,0)
  6418. end))
  6419. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6420. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6421. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6422. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6423. end
  6424. end))
  6425. attack = false
  6426. hum.WalkSpeed = storehumanoidWS
  6427. end
  6428.  
  6429.  
  6430. function FallenOrbs()
  6431. attack = true
  6432. hum.WalkSpeed = 2
  6433. local keptcolor = MAINRUINCOLOR
  6434. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1)
  6435. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1)
  6436. local radm = math.random(1,3)
  6437. if radm == 1 then
  6438. bosschatfunc("This wont be easy to you.",MAINRUINCOLOR.Color,1)
  6439. elseif radm == 2 then
  6440. bosschatfunc("How do you like this?",MAINRUINCOLOR.Color,1)
  6441. elseif radm == 3 then
  6442. bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
  6443. end
  6444. coroutine.resume(coroutine.create(function()
  6445. for i = 0, 29 do
  6446. swait(2)
  6447. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  6448. dis.Anchored = true
  6449. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  6450. dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
  6451. CreateMesh(dis,"Sphere",2,2,2)
  6452. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6453. 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"))
  6454. coroutine.resume(coroutine.create(function()
  6455. wait(0.5)
  6456. dis.Anchored = false
  6457. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
  6458. local at1 = Instance.new("Attachment",dis)
  6459. at1.Position = vt(-1,0,0)
  6460. local at2 = Instance.new("Attachment",dis)
  6461. at2.Position = vt(1,0,0)
  6462. local trl = Instance.new('Trail',dis)
  6463. trl.Attachment0 = at1
  6464. trl.FaceCamera = true
  6465. trl.Attachment1 = at2
  6466. trl.Texture = "rbxassetid://1049219073"
  6467. trl.LightEmission = 1
  6468. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6469. trl.Color = ColorSequence.new(dis.Color)
  6470. trl.Lifetime = 0.6
  6471. local a = Instance.new("Part",workspace)
  6472. a.Name = "Direction"
  6473. a.Anchored = true
  6474. a.BrickColor = bc("Bright red")
  6475. a.Material = "Neon"
  6476. a.Transparency = 1
  6477. a.CanCollide = false
  6478. local ray = Ray.new(
  6479. dis.CFrame.p, -- origin
  6480. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6481. )
  6482. local ignore = dis
  6483. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6484. a.BottomSurface = 10
  6485. a.TopSurface = 10
  6486. local distance = (dis.CFrame.p - position).magnitude
  6487. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6488. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6489. dis.CFrame = a.CFrame
  6490. a:Destroy()
  6491. local bv = Instance.new("BodyVelocity")
  6492. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6493. bv.velocity = dis.CFrame.lookVector*500
  6494. bv.Parent = dis
  6495. game:GetService("Debris"):AddItem(dis, 5)
  6496. local hitted = false
  6497. coroutine.resume(coroutine.create(function()
  6498. dis.Touched:connect(function(hit)
  6499. if hitted == false and hit.Parent ~= char then
  6500. hitted = true
  6501. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
  6502. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  6503. sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
  6504. sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  6505. coroutine.resume(coroutine.create(function()
  6506. for i = 0, 4 do
  6507. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6508. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6509. local at1 = Instance.new("Attachment",disr)
  6510. at1.Position = vt(-10,0,0)
  6511. local at2 = Instance.new("Attachment",disr)
  6512. at2.Position = vt(10,0,0)
  6513. local trl = Instance.new('Trail',disr)
  6514. trl.Attachment0 = at1
  6515. trl.FaceCamera = true
  6516. trl.Attachment1 = at2
  6517. trl.Texture = "rbxassetid://2342682798"
  6518. trl.LightEmission = 1
  6519. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6520. trl.Color = ColorSequence.new(disr.Color)
  6521. trl.Lifetime = 0.5
  6522. local bv = Instance.new("BodyVelocity")
  6523. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6524. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  6525. bv.Parent = disr
  6526. local val = 0
  6527. coroutine.resume(coroutine.create(function()
  6528. swait(30)
  6529. for i = 0, 9 do
  6530. swait()
  6531. val = val + 0.1
  6532. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6533. end
  6534. game:GetService("Debris"):AddItem(disr, 3)
  6535. end))
  6536. end
  6537. local eff = Instance.new("ParticleEmitter",dis)
  6538. eff.Texture = "rbxassetid://2273224484"
  6539. eff.LightEmission = 1
  6540. eff.Color = ColorSequence.new(dis.Color)
  6541. eff.Rate = 500000
  6542. eff.Lifetime = NumberRange.new(0.5,2)
  6543. 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)})
  6544. 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)})
  6545. eff.Speed = NumberRange.new(20,250)
  6546. eff.Drag = 5
  6547. eff.Rotation = NumberRange.new(-500,500)
  6548. eff.VelocitySpread = 9000
  6549. eff.RotSpeed = NumberRange.new(-50,50)
  6550. wait(0.5)
  6551. eff.Enabled = false
  6552. end))
  6553. for i = 0, 4 do
  6554. 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"))
  6555. end
  6556. coroutine.resume(coroutine.create(function()
  6557. for i = 0, 19 do
  6558. swait()
  6559. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6560. end
  6561. hum.CameraOffset = vt(0,0,0)
  6562. end))
  6563. dis.Anchored = true
  6564. dis.Transparency = 1
  6565. wait(8)
  6566. dis:Destroy()
  6567. end
  6568. end)
  6569. end))
  6570. end))
  6571. end
  6572. end))
  6573. for i = 0,9,0.1 do
  6574. swait()
  6575. 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)
  6576. 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)
  6577. 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)
  6578. 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)
  6579. 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)
  6580. RW.C0=clerp(RW.C0,cf(1.5,.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)
  6581. 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)
  6582. end
  6583. attack = false
  6584. hum.WalkSpeed = storehumanoidWS
  6585. end
  6586.  
  6587. function EquinoxOrbs()
  6588. hum.WalkSpeed = 0
  6589. attack = true
  6590. for i = 0,1,0.1 do
  6591. swait()
  6592. 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)
  6593. 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)
  6594. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6595. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6596. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6597. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6598. end
  6599. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6600. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6601. for i = 0, 24 do
  6602. 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"))
  6603. end
  6604. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6605. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6606. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6607. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6608. for i = 0,4,0.1 do
  6609. swait()
  6610. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  6611. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  6612. CreateMesh(dis,"Sphere",1,1,1)
  6613. dis.Anchored = true
  6614. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  6615. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  6616. CreateMesh(dis2,"Sphere",1,1,1)
  6617. dis2.Anchored = true
  6618. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  6619. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6620. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  6621. coroutine.resume(coroutine.create(function()
  6622. swait(60)
  6623. dis.Transparency = 1
  6624. dis2.Transparency = 1
  6625. coroutine.resume(coroutine.create(function()
  6626. for i = 0, 19 do
  6627. swait()
  6628. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  6629. end
  6630. hum.CameraOffset = vt(0,0,0)
  6631. end))
  6632. coroutine.resume(coroutine.create(function()
  6633. local eff = Instance.new("ParticleEmitter",dis)
  6634. eff.Texture = "rbxassetid://2273224484"
  6635. eff.LightEmission = 1
  6636. eff.Color = ColorSequence.new(dis.Color)
  6637. eff.Rate = 500000
  6638. eff.Lifetime = NumberRange.new(0.5,2)
  6639. 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)})
  6640. 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)})
  6641. eff.Speed = NumberRange.new(50,450)
  6642. eff.Drag = 5
  6643. eff.Rotation = NumberRange.new(-500,500)
  6644. eff.VelocitySpread = 9000
  6645. eff.RotSpeed = NumberRange.new(-50,50)
  6646. local eff2 = eff:Clone()
  6647. eff2.Parent = dis2
  6648. eff2.LightEmission = 0
  6649. eff2.Color = ColorSequence.new(dis2.Color)
  6650. wait(0.25)
  6651. eff.Enabled = false
  6652. eff2.Enabled = false
  6653. end))
  6654. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  6655. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  6656. for i = 0, 2 do
  6657. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis.BrickColor)
  6658. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis2.BrickColor)
  6659. end
  6660. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  6661. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  6662. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  6663. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  6664. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  6665. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  6666. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  6667. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  6668. end))
  6669. game:GetService("Debris"):AddItem(dis, 5)
  6670. game:GetService("Debris"):AddItem(dis2, 5)
  6671. 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)
  6672. 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)
  6673. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6674. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6675. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  6676. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  6677. end
  6678. attack = false
  6679. hum.WalkSpeed = storehumanoidWS
  6680. end
  6681. function FallenDEMISE()
  6682. attack = true
  6683. hum.WalkSpeed = 0
  6684. local keptcolor = MAINRUINCOLOR
  6685. bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
  6686. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  6687. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  6688. for i = 0, 15, 0.1 do
  6689. swait()
  6690. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6691. 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)))
  6692. local at1 = Instance.new("Attachment",dis)
  6693. at1.Position = vt(-25000,0,0)
  6694. local at2 = Instance.new("Attachment",dis)
  6695. at2.Position = vt(25000,0,0)
  6696. local trl = Instance.new('Trail',dis)
  6697. trl.Attachment0 = at1
  6698. trl.FaceCamera = true
  6699. trl.Attachment1 = at2
  6700. trl.Texture = "rbxassetid://1049219073"
  6701. trl.LightEmission = 1
  6702. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6703. trl.Color = ColorSequence.new(dis.Color)
  6704. trl.Lifetime = 5
  6705. local bv = Instance.new("BodyVelocity")
  6706. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6707. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6708. bv.Parent = dis
  6709. game:GetService("Debris"):AddItem(dis, 1)
  6710. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  6711. 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"))
  6712. 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"))
  6713. 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)
  6714. 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)
  6715. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6716. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6717. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6718. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6719. end
  6720. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  6721. for i = 0, 30, 0.1 do
  6722. swait()
  6723. coroutine.resume(coroutine.create(function()
  6724. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  6725. if v:FindFirstChild('Head') then
  6726. dmg(v)
  6727. end
  6728. end
  6729. end))
  6730. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6731. 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)))
  6732. local at1 = Instance.new("Attachment",dis)
  6733. at1.Position = vt(-50000,0,0)
  6734. local at2 = Instance.new("Attachment",dis)
  6735. at2.Position = vt(50000,0,0)
  6736. local trl = Instance.new('Trail',dis)
  6737. trl.Attachment0 = at1
  6738. trl.FaceCamera = true
  6739. trl.Attachment1 = at2
  6740. trl.Texture = "rbxassetid://1049219073"
  6741. trl.LightEmission = 1
  6742. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6743. trl.Color = ColorSequence.new(dis.Color)
  6744. trl.Lifetime = 10
  6745. local bv = Instance.new("BodyVelocity")
  6746. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6747. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  6748. bv.Parent = dis
  6749. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  6750. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  6751. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  6752. 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"))
  6753. 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"))
  6754. 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"))
  6755. 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"))
  6756. for i = 0, 2 do
  6757. 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)
  6758. end
  6759. 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)
  6760. 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)
  6761. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6762. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6763. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6764. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6765. end
  6766. attack = false
  6767. hum.WalkSpeed = storehumanoidWS
  6768. end
  6769.  
  6770. function th1rt3en_trans()
  6771. storehumanoidWS = 275
  6772. hum.WalkSpeed = 0
  6773. attack=true
  6774. newThemeCust("rbxassetid://723652641",0,1,1.25)
  6775.  
  6776. repeat
  6777. swait()
  6778. local snap = math.random(1,10)
  6779. if snap == 1 then
  6780. 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)
  6781. end
  6782. 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)
  6783. 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)
  6784. 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)
  6785. 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)
  6786. RW.C0=clerp(RW.C0,cf(1.5,.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)
  6787. 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)
  6788.  
  6789. until kan.TimePosition > 2.4
  6790. for i = 0, 5, .1 do
  6791. swait()
  6792. 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)),.4)
  6793. 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)),.4)
  6794. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6795. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
  6796. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-20)),.4)
  6797. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(20)),.4)
  6798. modet.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
  6799. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-10,10)
  6800. fullscreenz.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
  6801. end
  6802.  
  6803. repeat
  6804. swait()
  6805. modet.Position = UDim2.new(0,0,0,0)
  6806. fullscreenz.Position = UDim2.new(0,0,0,0)
  6807. modet.Rotation = -5 * math.cos(sine / 32)
  6808. 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)
  6809. 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)
  6810. 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)
  6811. 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)
  6812. RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * 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)
  6813. LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45))),.1)
  6814. until kan.TimePosition > 6.5
  6815. for i = 0, 5, .1 do
  6816. swait()
  6817. 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)),.4)
  6818. 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)),.4)
  6819. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6820. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
  6821. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-20)),.4)
  6822. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(20)),.4)
  6823. modet.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
  6824. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-10,10)
  6825. fullscreenz.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
  6826. end
  6827. bosschatfunc("Look at my hands..",MAINRUINCOLOR.Color,2)
  6828. for i = 0, 10, .1 do
  6829. modet.Position = UDim2.new(0,0,0,0)
  6830. modet.Rotation = -5 * math.cos(sine / 32)
  6831. fullscreenz.Position = UDim2.new(0,0,0,0)
  6832. swait()
  6833. 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)
  6834. 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)
  6835. 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)
  6836. 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)))*angles(math.rad(math.random(-2,2)),math.rad(math.random(-2,2)),math.rad(math.random(-2,2))),.1)
  6837. RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(-13 + 9 * math.cos(sine / 45)))*angles(math.rad(math.random(-2,2)),math.rad(math.random(-2,2)),math.rad(math.random(-2,2))),.1)
  6838. LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-2,2)),math.rad(math.random(-2,2)),math.rad(math.random(-2,2))),.1)
  6839. end
  6840. bosschatfunc("They're shaking..",MAINRUINCOLOR.Color,2)
  6841. for i = 0, 6, .1 do
  6842. swait()
  6843. 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)
  6844. 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)
  6845. 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)
  6846. 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6847. RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(-13 + 9 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6848. LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6849. end
  6850. bosschatfunc("All my body is shaking..",MAINRUINCOLOR.Color,2)
  6851. for i = 0, 24, .1 do
  6852. swait()
  6853. 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)
  6854. 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)
  6855. 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)
  6856. 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6857. RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6858. LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6859. end
  6860. bosschatfunc("He was there!",MAINRUINCOLOR.Color,2)
  6861. for i = 0, 5, .1 do
  6862. swait()
  6863. 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(-22 - 2 * math.cos(sine / 32))),.1)
  6864. 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(-10 + 2 * math.cos(sine / 32))),.1)
  6865. 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(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
  6866. 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6867. RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(0))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6868. LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6869. end
  6870. for i = 0, 6, .1 do
  6871. swait()
  6872. 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)
  6873. 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)
  6874. 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)
  6875. 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6876. RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6877. LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6878. end
  6879. bosschatfunc("But I was watching him, through the mirror..",MAINRUINCOLOR.Color,2)
  6880. for i = 0, 9, .1 do
  6881. swait()
  6882. 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)
  6883. 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)
  6884. 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)
  6885. 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6886. RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6887. LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6888. end
  6889. bosschatfunc("I knew he was looking at me..",MAINRUINCOLOR.Color,2)
  6890. for i = 0, 11, .1 do
  6891. swait()
  6892. 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)),.4)
  6893. 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)),.4)
  6894. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6895. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
  6896. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.4)
  6897. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.4)
  6898. end
  6899. bosschatfunc("Two invisible eyes..",MAINRUINCOLOR.Color,2)
  6900. for i = 0, 10, .1 do
  6901. swait()
  6902. 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)),.4)
  6903. 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)),.4)
  6904. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6905. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
  6906. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.4)
  6907. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.4)
  6908. end
  6909. local inc = 0
  6910. bosschatfunc("Two invisible--",MAINRUINCOLOR.Color,2)
  6911. for i = 0, 6, .1 do
  6912. swait()
  6913. inc=inc+1
  6914. fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
  6915. 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(50)),.4)
  6916. 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(-50)),.4)
  6917. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(50),math.rad(0),math.rad(0)),.4)
  6918. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
  6919. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.4)
  6920. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.4)
  6921. end
  6922. CFuncs.Sound.Create('rbxassetid://363808674',Head,3,1.25)
  6923. for i = 0, 3, .1 do
  6924. swait()
  6925. inc=inc+1
  6926. fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
  6927. 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)),.4)
  6928. 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)),.4)
  6929. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6930. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(-20),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
  6931. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(20)),.4)
  6932. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(40)),.4)
  6933. end
  6934. CFuncs.Sound.Create('rbxassetid://363808674',Head,3,1.1)
  6935. for i = 0, 3, .1 do
  6936. swait()
  6937. inc=inc+1
  6938. fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
  6939. 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)),.4)
  6940. 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)),.4)
  6941. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6942. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(20),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
  6943. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-40)),.4)
  6944. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-20)),.4)
  6945. end
  6946. for i = 0, 6, .1 do
  6947. swait()
  6948. inc=inc+5
  6949. fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
  6950. 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)),.4)
  6951. 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)),.4)
  6952. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6953. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),0,math.rad(0 - 10 * math.cos(sine / 0.03))),.4)
  6954. RW.C0=clerp(RW.C0,cf(1.5,0.4,0)*angles(math.rad(30),math.rad(0),0),.4)
  6955. LW.C0=clerp(LW.C0,cf(-1.5,0.4,0)*angles(math.rad(30),math.rad(0),0),.4)
  6956. end
  6957. fullscreenz.Position = UDim2.new(0,0,0,0)
  6958. attack=false
  6959. MAINRUINCOLOR = BrickColor.new("Really black")
  6960. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6961. for i = 0, 49 do
  6962. 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)
  6963. end
  6964. for i = 0, 24 do
  6965. 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)
  6966. 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"))
  6967. end
  6968. for i = 0,3,0.1 do
  6969. 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)
  6970. end
  6971. currentVol=5
  6972. Humanoid.WalkSpeed = storehumanoidWS
  6973. ModeOfGlitch = 666666666666
  6974. rainbowmode = false
  6975. chaosmode = false
  6976. RecolorTextAndRename("TH1RT3EN",Color3.new(0.1,.1,.1),BrickColor.new("Really black").Color,"Antique")
  6977.  
  6978.  
  6979. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  6980. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6981. end
  6982.  
  6983. -------------------------------------
  6984.  
  6985. Humanoid.Animator.Parent = nil
  6986.  
  6987. -------------------------------------
  6988.  
  6989. local attacktype = 1
  6990. mouse.Button1Down:connect(function()
  6991. if attack == false and attacktype == 1 then
  6992. attacktype = 2
  6993. attackone()
  6994. elseif attack == false and attacktype == 2 then
  6995. attacktype = 3
  6996. attacktwo()
  6997. elseif attack == false and attacktype == 3 then
  6998. attacktype = 1
  6999. attackthree()
  7000. elseif attack == false and attacktype == 4 then
  7001. attacktype = 1
  7002. --attackfour()
  7003. end
  7004. end)
  7005. local nums = {Enum.KeyCode.One,Enum.KeyCode.Two,Enum.KeyCode.Three,Enum.KeyCode.Four,Enum.KeyCode.Five,Enum.KeyCode.Six,Enum.KeyCode.Seven,Enum.KeyCode.Eight,Enum.KeyCode.Nine}
  7006.  
  7007. function KeyToNum(kc)
  7008. for i,v in next, nums do
  7009. if(v == kc)then
  7010. return tostring(i)
  7011. end
  7012. end
  7013. if(kc == Enum.KeyCode.Zero)then
  7014. return '0'
  7015. elseif(kc == Enum.KeyCode.M)then
  7016. return 'm'
  7017. elseif(kc == Enum.KeyCode.F)then
  7018. return 'f'
  7019. elseif(kc == Enum.KeyCode.N)then
  7020. return 'n'
  7021. elseif(kc == Enum.KeyCode.Semicolon)then
  7022. return ';'
  7023. end
  7024. return nil
  7025. end
  7026.  
  7027. function ChangeMode(k)
  7028. if k == "1" and attack == false and ModeOfGlitch ~= 1 then
  7029. normalmog()
  7030. end
  7031. if k == "2" and attack == false and ModeOfGlitch ~= 2 then
  7032. ModeOfGlitch = 2
  7033. storehumanoidWS = 16
  7034. hum.WalkSpeed = 16
  7035. rainbowmode = false
  7036. chaosmode = false
  7037. RecolorTextAndRename("PURITY",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  7038. newTheme("rbxassetid://2482117221",0,1.01,1.25)
  7039. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  7040. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  7041. end
  7042. if k == "3" and attack == false and ModeOfGlitch ~= 3 then
  7043. ModeOfGlitch = 3
  7044. storehumanoidWS = 16
  7045. hum.WalkSpeed = 16
  7046. rainbowmode = false
  7047. chaosmode = false
  7048. RecolorTextAndRename("BROKEN DOWN",Color3.new(0,0,0),Color3.new(.3,.1,.1),"Antique")
  7049. newTheme("rbxassetid://1588725965",0,0.92,1.25)
  7050. MAINRUINCOLOR = BrickColor.new("Cocoa")
  7051. RecolorThing(BrickColor.new'Rust',BrickColor.new'Rust',BrickColor.new'Rust',BrickColor.new'Rust',BrickColor.new'Rust',1,BrickColor.new'Rust',1,BrickColor.new'Rust',true,Enum.Material.Fabric,Enum.Material.CorrodedMetal)
  7052. end
  7053. if k == "4" and attack == false and ModeOfGlitch ~= 4 then
  7054. ModeOfGlitch = 4
  7055. storehumanoidWS = 16
  7056. hum.WalkSpeed = 16
  7057. rainbowmode = false
  7058. chaosmode = true
  7059. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
  7060. newTheme("rbxassetid://550578451",0,.85,1.25)
  7061. MAINRUINCOLOR = BrickColor.new("Black")
  7062. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7063. end
  7064. if k == "5" and attack == false and ModeOfGlitch ~= 5 then
  7065. ModeOfGlitch = 5
  7066. storehumanoidWS = 16
  7067. hum.WalkSpeed = 16
  7068. rainbowmode = false
  7069. chaosmode = false
  7070. RecolorTextAndRename("DIVINITY",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  7071. newTheme("rbxassetid://595800581",0,1.02,1.25)
  7072. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  7073. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7074. end
  7075. if k == "6" and attack == false and ModeOfGlitch ~= 6 then
  7076. ModeOfGlitch = 6
  7077. storehumanoidWS = 100
  7078. hum.WalkSpeed = 100
  7079. rainbowmode = false
  7080. chaosmode = false
  7081. RecolorTextAndRename("EQUINOX",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  7082. newTheme("rbxassetid://1347011178",0,1.01,1.25)
  7083. MAINRUINCOLOR = BrickColor.new("White")
  7084. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7085. end
  7086. if k == "7" and attack == false and ModeOfGlitch ~= 7 then
  7087. ModeOfGlitch = 7
  7088. storehumanoidWS = 135
  7089. hum.WalkSpeed = 135
  7090. rainbowmode = true
  7091. chaosmode = false
  7092. RecolorTextAndRename("PARTY",BrickColor.new("White").Color,BrickColor.new("White").Color,"Arcade")
  7093. newTheme("rbxassetid://1025751967",0,1.01,1)
  7094. MAINRUINCOLOR = BrickColor.new("White")
  7095. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7096. end
  7097.  
  7098. if k == "8" and attack == false and ModeOfGlitch ~= 8 then
  7099. ModeOfGlitch = 8
  7100. storehumanoidWS = 140
  7101. hum.WalkSpeed = 140
  7102. rainbowmode = false
  7103. chaosmode = false
  7104. RecolorTextAndRename("DESTINY",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  7105. newTheme("rbxassetid://1495032271",0,1.01,1.25)
  7106. MAINRUINCOLOR = BrickColor.new("Alder")
  7107. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7108. end
  7109. if k == "9" and attack == false and ModeOfGlitch ~= 9 then
  7110. ModeOfGlitch = 9
  7111. storehumanoidWS = 16
  7112. hum.WalkSpeed = 16
  7113. rainbowmode = false
  7114. chaosmode = false
  7115. RecolorTextAndRename("INFECTION",Color3.new(0,0,0),Color3.new(.5,0,.5),"Bodoni")
  7116. newTheme("rbxassetid://603291385",0,1.01,1.25)
  7117. MAINRUINCOLOR = BrickColor.new("Royal purple")
  7118. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark indigo"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,Enum.Material.DiamondPlate)
  7119. end
  7120. if k == "0" and attack == false and ModeOfGlitch ~= 10 then
  7121. ModeOfGlitch = 10
  7122. storehumanoidWS = 16
  7123. hum.WalkSpeed = 16
  7124. rainbowmode = false
  7125. chaosmode = false
  7126. RecolorTextAndRename("STRONGER",BrickColor.new'Bright blue'.Color,BrickColor.new("Deep orange").Color,"Arcade")
  7127. newTheme("rbxassetid://190785069",0,1.01,1.25)
  7128. MAINRUINCOLOR = BrickColor.new'Deep orange'
  7129. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,0,BrickColor.new("Bright blue"),true)
  7130. end
  7131. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  7132. ModeOfGlitch = 8889
  7133. storehumanoidWS = 180
  7134. hum.WalkSpeed = 180
  7135. rainbowmode = false
  7136. chaosmode = false
  7137. RecolorTextAndRename("CALAMITY",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique")
  7138. newTheme("rbxassetid://1359036559",0,1.01,1.25)
  7139. MAINRUINCOLOR = BrickColor.new("Lilac")
  7140. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  7141. RecolorThing(MAINRUINCOLOR,BrickColor.new("Alder"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7142. end
  7143. if k == "n" and attack == false and ModeOfGlitch == 1 then
  7144. ModeOfGlitch = 666666666
  7145. storehumanoidWS = 32
  7146. rainbowmode = false
  7147. chaosmode = false
  7148. attack=true
  7149. hum.WalkSpeed = 0
  7150. --newTheme("rbxassetid://1163789120",0,1,1.25)
  7151. newThemeCust("rbxassetid://1163789120",58,.98,1.4)
  7152. RecolorTextAndRename("MONSTER.",BrickColor.new("Dark stone grey").Color,BrickColor.new("Gold").Color,"Arcade")
  7153. hum.WalkSpeed = storehumanoidWS
  7154. MAINRUINCOLOR = BrickColor.new("Dark stone grey")
  7155. warnedpeople("For science.\nYou monster.",modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  7156. RecolorThing(MAINRUINCOLOR,BrickColor.new("Gold"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7157. attack=false
  7158. end
  7159. if k == 'f' and attack == false and ModeOfGlitch ~= 6969 then
  7160. ModeOfGlitch = 6969
  7161. storehumanoidWS = 64
  7162. hum.WalkSpeed = 64
  7163. rainbowmode = false
  7164. chaosmode = false
  7165. if(plr.UserId==5719877 or plr.UserId==52302680)then
  7166. RecolorTextAndRename("LUST",Color3.new(1,0,1),Color3.new(1,.75,1),"Highway")
  7167. else
  7168. RecolorTextAndRename("wat going on",Color3.new(1,1,1),Color3.new(1,.75,1),"Highway")
  7169. end
  7170. newTheme("rbxassetid://188256719",0,1,1.75)
  7171. MAINRUINCOLOR = BrickColor.new("Hot pink")
  7172. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  7173.  
  7174. end
  7175. if k == ";" and attack == false and ModeOfGlitch ~= 666666666666 then
  7176. th1rt3en_trans()
  7177. end
  7178. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  7179. ModeOfGlitch = 4367677813
  7180. storehumanoidWS = 225
  7181. hum.WalkSpeed = 225
  7182. rainbowmode = false
  7183. chaosmode = false
  7184. RecolorTextAndRename("SHD",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  7185. newTheme("rbxassetid://363284685",0,1.01,1.25)
  7186. MAINRUINCOLOR = BrickColor.new("Baby blue")
  7187. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  7188. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7189. end
  7190. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  7191. ModeOfGlitch = 9999999921111
  7192. storehumanoidWS = 300
  7193. hum.WalkSpeed = 300
  7194. rainbowmode = false
  7195. chaosmode = false
  7196. RecolorTextAndRename("OMEGA",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  7197. newTheme("rbxassetid://643309199",0,1.01,1.25)
  7198. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  7199. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  7200. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7201. end
  7202. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  7203. ModeOfGlitch = 999999999556
  7204. storehumanoidWS = 500
  7205. hum.WalkSpeed = 500
  7206. rainbowmode = false
  7207. chaosmode = false
  7208. RecolorTextAndRename("TRUE CHAOTIC",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
  7209. newTheme("rbxassetid://943961217",0,.85,1.25)
  7210. MAINRUINCOLOR = BrickColor.new("Navy blue")
  7211. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  7212. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,0,MAINRUINCOLOR,true)
  7213. end
  7214. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  7215. ModeOfGlitch = 1264532489
  7216. storehumanoidWS = 250
  7217. hum.WalkSpeed = 250
  7218. rainbowmode = false
  7219. chaosmode = false
  7220. RecolorTextAndRename("FALLENX",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  7221. newTheme("rbxassetid://1505487022",0,1.01,1.25)
  7222. MAINRUINCOLOR = BrickColor.new("Pastel green")
  7223. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  7224. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7225. end
  7226. end
  7227.  
  7228. game:service'UserInputService'.InputBegan:connect(function(io,gpe)
  7229. if(gpe)then return end
  7230. if(KeyToNum(io.KeyCode))then
  7231. ChangeMode(KeyToNum(io.KeyCode))
  7232. end
  7233. end)
  7234.  
  7235. mouse.KeyDown:connect(function(k)
  7236. if k == "l" and mutedtog == false then
  7237. mutedtog = true
  7238. kan.Volume = 0
  7239. elseif k == "l" and mutedtog == true then
  7240. mutedtog = false
  7241. kan.Volume = 1.25
  7242. end
  7243. if k == "p" and toggleTag == false then
  7244. toggleTag = true
  7245. modet.TextTransparency = 0
  7246. modet.TextStrokeTransparency = 0
  7247. elseif k == "p" and toggleTag == true then
  7248. toggleTag = false
  7249. modet.TextTransparency = 1
  7250. modet.TextStrokeTransparency = 1
  7251. end
  7252. if k == "z" and attack == false and ModeOfGlitch == 1 then
  7253. ExtinctiveHeartbreak()
  7254. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  7255. HeavenlyDisk()
  7256. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  7257. CorruptionEvent()
  7258. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  7259. RapidBurst()
  7260. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  7261. --DivineLights()
  7262. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  7263. EquinoxOrbs()
  7264. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  7265. FallenOrbs()
  7266. elseif k == "z" and attack == false and ModeOfGlitch == 6969 then
  7267. when_u_kum_v4()
  7268. end
  7269. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  7270. FallenDEMISE()
  7271. end
  7272. if k == "x" and attack == false and ModeOfGlitch == 1 then
  7273. EndGROUND()
  7274. elseif k == "b" and attack == false and ModeOfGlitch == 6969 then
  7275. lust_hump()
  7276. end
  7277. end)
  7278.  
  7279. coroutine.resume(coroutine.create(function()
  7280. while true do
  7281. swait()
  7282. if ModeOfGlitch == 6 or ModeOfGlitch == 7 or ModeOfGlitch == 8 or ModeOfGlitch == 9 or ModeOfGlitch == 8889 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 666666666666 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  7283. sphereMK(7.5,math.random(15,50)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,MAINRUINCOLOR,0)
  7284. end
  7285. if ModeOfGlitch == 666666666666 then
  7286. sphereMK(7.5,math.random(30,100)/45,"Add",root.CFrame*CFrame.new(math.random(-50,50),-20,math.random(-50,50))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),2,2,20,-0.0075,MAINRUINCOLOR,0)
  7287. end
  7288. end
  7289. end))
  7290.  
  7291. Humanoid.Name = "STARGLITCHER"
  7292. Humanoid.MaxHealth = math.huge
  7293. Humanoid.Health = math.huge
  7294. Instance.new("ForceField",char).Visible = false
  7295.  
  7296. local bguis = Instance.new("BillboardGui",tors)
  7297. bguis.Size = UDim2.new(25, 0, 25, 0)
  7298. local imgca = Instance.new("ImageLabel",bguis)
  7299. imgca.BackgroundTransparency = 1
  7300. imgca.ImageTransparency = 1
  7301. imgca.Size = UDim2.new(1,0,1,0)
  7302. imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
  7303. imgca.ImageColor3 = Color3.new(0,0,0)
  7304. if(not kan or not kan.Parent)then
  7305. pcall(game.Destroy,kan)
  7306. kan = Instance.new("Sound")
  7307. end
  7308. idleanim=.4
  7309. while true do
  7310. if mutedtog == false then
  7311. kan.Volume = currentVol
  7312. elseif mutedtog == true then
  7313. kan.Volume = 0
  7314. end
  7315. kan.PlaybackSpeed = currentPitch
  7316. kan.Pitch = currentPitch
  7317. kan.SoundId = currentThemePlaying
  7318. kan.Looped = true
  7319. kan.Parent = char
  7320. kan:Resume()
  7321. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 666666666666 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 then
  7322. imgca.ImageTransparency = 1
  7323. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 666666666666 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  7324. imgca.ImageColor3 = MAINRUINCOLOR.Color
  7325. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  7326. end
  7327.  
  7328. imgca.Rotation = imgca.Rotation + 5 + GetClientProperty(kan,'PlaybackLoudness')/25
  7329. bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  7330. coroutine.resume(coroutine.create(function()
  7331. if chaosmode == true then
  7332. for i, v in pairs(mw1:GetChildren()) do
  7333. if v:IsA("Part") then
  7334. v.Transparency = 0
  7335. v.BrickColor = BrickColor.random()
  7336. v.Material = "Neon"
  7337. end
  7338. end
  7339. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  7340. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  7341. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  7342. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  7343. end
  7344. end))
  7345.  
  7346. coroutine.resume(coroutine.create(function()
  7347. if rainbowmode == true then
  7348. for i, v in pairs(mw1:GetChildren()) do
  7349. if v:IsA("Part") and v.Transparency ~= 1 then
  7350. v.Transparency = 0
  7351. v.Color = Color3.new(r/255,g/255,b/255)
  7352. v.Material = "Neon"
  7353. end
  7354. end
  7355. for i, v in pairs(mw2:GetChildren()) do
  7356. if v:IsA("Part") and v.Transparency ~= 1 then
  7357. v.Transparency = 0
  7358. v.Color = Color3.new(r/255,g/255,b/255)
  7359. v.Material = "Neon"
  7360. end
  7361. end
  7362. tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7363. tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7364. tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7365. tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7366. tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7367. tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7368. RecolorTextAndRename("PARTY",BrickColor.new("White").Color,Color3.new(r/255,g/255,b/255),"Arcade")
  7369. end
  7370. end))
  7371.  
  7372. if chaosmode == false then
  7373. modet.Position = UDim2.new(0,0,0,0)
  7374. modet.Rotation = -5 * math.cos(sine / 32)
  7375. techc.Rotation = techc.Rotation + 1
  7376. circl.Rotation = circl.Rotation - GetClientProperty(kan,'PlaybackLoudness')/75 - 1
  7377. circl2.Rotation = circl2.Rotation + GetClientProperty(kan,'PlaybackLoudness')/50 + 1
  7378. imgl2.Rotation = imgl2.Rotation - GetClientProperty(kan,'PlaybackLoudness')/50 + 1
  7379. imgl2b.Rotation = imgl2b.Rotation + GetClientProperty(kan,'PlaybackLoudness')/25 - 1
  7380. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  7381. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  7382. else
  7383. techc.Rotation = techc.Rotation + 1
  7384. circl.Rotation = circl.Rotation - GetClientProperty(kan,'PlaybackLoudness')/50 + math.random(-5,5)
  7385. circl2.Rotation = circl2.Rotation + GetClientProperty(kan,'PlaybackLoudness')/25 + math.random(-5,5)
  7386. imgl2.Rotation = imgl2.Rotation - GetClientProperty(kan,'PlaybackLoudness')/25 + math.random(-5,5)
  7387. imgl2b.Rotation = imgl2b.Rotation + GetClientProperty(kan,'PlaybackLoudness')/12.5 + math.random(-5,5)
  7388. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  7389. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  7390. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  7391. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  7392. end
  7393. CameraManager()
  7394. swait()
  7395. if(ModeOfGlitch==666666666666 or ModeOfGlitch==4367677813)then
  7396. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3)
  7397. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3)
  7398. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3)
  7399. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3)
  7400. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3)
  7401. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3)
  7402. elseif(ModeOfGlitch==999999999556)then
  7403. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3)
  7404. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3)
  7405. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3)
  7406. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3)
  7407. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3)
  7408. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3)
  7409. lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 - 3600 * math.cos(sine / 360))),.3)
  7410. lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 - 3600 * math.cos(sine / 360))),.3)
  7411. lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 - 3600 * math.cos(sine / 360))),.3)
  7412. rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3)
  7413. rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3)
  7414. rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3)
  7415.  
  7416. else
  7417. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
  7418. lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
  7419. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
  7420. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
  7421. rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
  7422. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
  7423.  
  7424. lwing4weld.C1=clerp(lwing4weld.C1,cf(4,-3,-2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
  7425. lwing5weld.C1=clerp(lwing5weld.C1,cf(7,-2,-2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
  7426. lwing6weld.C1=clerp(lwing6weld.C1,cf(9.75,-1,-2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
  7427. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4,-3,-2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
  7428. rwing5weld.C1=clerp(rwing5weld.C1,cf(-7,-2,-2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
  7429. rwing6weld.C1=clerp(rwing6weld.C1,cf(-9.75,-1,-2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
  7430.  
  7431. end
  7432.  
  7433. sine = sine + change
  7434. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  7435. local velderp=RootPart.Velocity.y
  7436. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  7437. coroutine.resume(coroutine.create(function()
  7438. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 666666666666 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 then
  7439. if hitfloor ~= nil then
  7440. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,50)/250,BrickColor.new("White"))
  7441. if ModeOfGlitch == 1264532489 or ModeOfGlitch == 666666666666 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  7442. slash(math.random(75,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,150)/250,MAINRUINCOLOR)
  7443. end
  7444. end
  7445. end
  7446. end))
  7447. if equipped==true or equipped==false then
  7448. if attack==false then
  7449. idle=idle+1
  7450. else
  7451. idle=0
  7452. end
  7453. if idle>=500 then
  7454. if attack==false then
  7455. --Sheath()
  7456. end
  7457. end
  7458. if RootPart.Velocity.y > 1 and hitfloor==nil then
  7459. Anim="Jump"
  7460. if attack==false then
  7461. 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)
  7462. 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)
  7463. 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)
  7464. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  7465. 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)
  7466. 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)
  7467. end
  7468. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  7469. Anim="Fall"
  7470. if attack==false then
  7471. 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)
  7472. 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)
  7473. 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)
  7474. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  7475. 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)
  7476. 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)
  7477. end
  7478. elseif torvel<1 and hitfloor~=nil then
  7479. Anim="Idle"
  7480. if attack==false then
  7481. if ModeOfGlitch == 1 then
  7482. local snap = math.random(1,10)
  7483. if snap == 1 then
  7484. 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)
  7485. end
  7486. 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)
  7487. 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)
  7488. 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)
  7489. 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)
  7490. RW.C0=clerp(RW.C0,cf(1.5,.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)
  7491. 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)
  7492. elseif ModeOfGlitch == 2 or ModeOfGlitch == 10 then
  7493. 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)
  7494. 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)
  7495. 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)
  7496. 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)
  7497. 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)
  7498. 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)
  7499. elseif ModeOfGlitch == 3 then
  7500. local snap = math.random(1,32)
  7501. if snap == 1 then
  7502. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
  7503. end
  7504. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  7505. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  7506. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  7507. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  7508. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
  7509. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  7510. elseif ModeOfGlitch == 4 then
  7511. local snap = math.random(1,5)
  7512. if snap == 1 then
  7513. 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)
  7514. RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74) + math.random(-1,1)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(1 + 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  7515. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73) + math.random(-1,1)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-1,1)),math.rad(-3 - 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  7516. end
  7517. 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)
  7518. 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)
  7519. 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)
  7520. 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)
  7521. RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(1 + 3 * math.cos(sine / 45))),.1)
  7522. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-3 - 3 * math.cos(sine / 45))),.1)
  7523. elseif ModeOfGlitch == 5 then
  7524. 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)
  7525. 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)
  7526. 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)
  7527. 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)
  7528. RW.C0=clerp(RW.C0,cf(1.5,.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)
  7529. 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)
  7530. elseif ModeOfGlitch == 6 then
  7531. 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)
  7532. 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)
  7533. 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)
  7534. 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)
  7535. RW.C0=clerp(RW.C0,cf(1.5,.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)
  7536. 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)
  7537. elseif ModeOfGlitch == 7 then
  7538. --sphereMK(7.5,math.random(15,50)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,MAINRUINCOLOR,0)
  7539. sphereMK(2,2,"Add",root.CFrame*CFrame.new(math.random(-5,5),-10,math.random(-5,5))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),0.5,0.5,10,-0.0075,MAINRUINCOLOR,0)
  7540.  
  7541. RH.C0=clerp(RH.C0,cf(1,-1-.1 * math.cos(sine / 8),0)*angles(math.rad(0-2 * math.cos(sine / 8)),math.rad(90),0)*angles(math.rad(-3 - 3 * math.cos(sine / 16)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0)),.1)
  7542. LH.C0=clerp(LH.C0,cf(-1,-1-.1 * math.cos(sine / 8),0)*angles(math.rad(0-2 * math.cos(sine / 8)),math.rad(-90),0)*angles(math.rad(-3 + 3 * math.cos(sine / 16)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0)),.1)
  7543. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 8),0 + 0.1 * math.cos(sine / 8))*angles(math.rad(0 - 2 * math.cos(sine / 8)),math.rad(0 - 4 * math.cos(sine / 16)),math.rad(-20)),.1)
  7544. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 37)),math.rad(0 - 4 * math.cos(sine / 58)),math.rad(20 - 3 * math.cos(sine / 53))),.1)
  7545. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 8 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 4 * math.cos(sine / 45))),.1)
  7546. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 9 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 6 * math.cos(sine / 45))),.1)
  7547.  
  7548. elseif ModeOfGlitch == 8 then
  7549. 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)
  7550. 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)
  7551. 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)
  7552. 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)
  7553. 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)
  7554. 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)
  7555. elseif ModeOfGlitch == 9 or ModeOfGlitch==666666666 then
  7556. 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)
  7557. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,(ModeOfGlitch==666666666 and BrickColor.new("Gold") or BrickColor.new("Dark indigo")),Color3.new(0,1,0))
  7558. 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)
  7559. 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)
  7560. 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)
  7561. 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)
  7562. RW.C0=clerp(RW.C0,cf(1.5,.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)
  7563. 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)
  7564. elseif ModeOfGlitch == 6969 then
  7565. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 16),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-4 - 2 * math.cos(sine / 26)),math.rad(0 - 2 * math.cos(sine / 16))),.1)
  7566. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 16),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(9 - 2 * math.cos(sine / 26)),math.rad(0 + 2 * math.cos(sine / 16))),.1)
  7567. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 16),-0.1 + 0.1 * math.cos(sine / 16))*angles(math.rad(0 - 2 * math.cos(sine / 16)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 26))),.1)
  7568. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(19 - 7 * math.cos(sine / 16)),math.rad(0 + 1 * math.cos(sine / 29)),math.rad(0 + 2 * math.cos(sine / 26))),.1)
  7569. RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.1 * math.cos(sine / 16),0)*angles(math.rad(2 + 5 * math.cos(sine / 37)),math.rad(18 - 3 * math.cos(sine / 26)),math.rad(17 + 3 * math.cos(sine / 22))),.1)
  7570. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 16),0)*angles(math.rad(5 - 3 * math.cos(sine / 36)),math.rad(-11 - 1 * math.cos(sine / 27)),math.rad(-14 - 3 * math.cos(sine / 22))),.1)
  7571. elseif ModeOfGlitch == 8889 then
  7572. 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)
  7573. 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)
  7574. 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)
  7575. 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)
  7576. RW.C0=clerp(RW.C0,cf(1.5,.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)
  7577. 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)
  7578. elseif ModeOfGlitch == 1264532489 then
  7579. 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)
  7580. 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)
  7581. 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)
  7582. 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)
  7583. 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)
  7584. RW.C0=clerp(RW.C0,cf(1.5,.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)
  7585. 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)
  7586. elseif ModeOfGlitch == 9999999921111 then
  7587. 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)
  7588. 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)
  7589. 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)
  7590. 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)
  7591. RW.C0=clerp(RW.C0,cf(1.5,.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)
  7592. 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)
  7593. elseif ModeOfGlitch == 4367677813 then
  7594. 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)
  7595. 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)
  7596. 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)
  7597. 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)
  7598. RW.C0=clerp(RW.C0,cf(1.5,.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)
  7599. 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)
  7600. elseif ModeOfGlitch == 666666666666 then
  7601. 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)
  7602. 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)
  7603. 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)
  7604. 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)
  7605. 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)
  7606. 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)
  7607. elseif ModeOfGlitch == 999999999556 then
  7608. sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Navy blue"),BrickColor.new("Navy blue").Color)
  7609. sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Really black"),BrickColor.new("Really black").Color)
  7610. 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)
  7611. 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)
  7612. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.25 * math.cos(sine / 47),0 - 0.25 * math.cos(sine / 40),7 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(17)),.1)
  7613. 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)
  7614. 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)
  7615. 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)
  7616. end
  7617. end
  7618. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  7619. Anim="Walk"
  7620. if attack==false then
  7621. if ModeOfGlitch == 9 then
  7622. 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)
  7623. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Dark indigo"),Color3.new(0,1,0))
  7624. end
  7625.  
  7626. 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)
  7627. 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)
  7628. 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)
  7629. 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)
  7630. 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)
  7631. 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)
  7632.  
  7633. end
  7634. elseif torvel>=22 and hitfloor~=nil then
  7635. Anim="Run"
  7636. if attack==false then
  7637. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 666666666666 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 8889 then
  7638. 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)
  7639. 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)
  7640. 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)
  7641. 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)
  7642. 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)
  7643. 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)
  7644. if ModeOfGlitch == 9 then
  7645. 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)
  7646. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Dark indigo"),Color3.new(0,1,0))
  7647. end
  7648. if ModeOfGlitch == 7 then
  7649. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,20,-0.0075,MAINRUINCOLOR,0)
  7650. end
  7651.  
  7652. elseif ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 666666666666 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 then
  7653. 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)
  7654. 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)
  7655. 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)
  7656. 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)
  7657. RW.C0=clerp(RW.C0,cf(1.5,.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)
  7658. 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)
  7659. end
  7660. end
  7661. end
  7662. end
  7663. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement