Advertisement
Otsakuseed

Ethereal Test

Apr 23rd, 2019
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 358.03 KB | None | 0 0
  1. -- FE template created by MintyLatios (V3rm) aka Drahazar (ROBLOX)
  2. local username = "seed_rememebrmesquid"
  3.  
  4. if(script:FindFirstChild'Owner')then
  5. repeat wait() until script.Owner.Value
  6. end
  7. function GetPlr(user)
  8. for _,v in next, game:service'Players':players() do
  9. if(v.Name==user)then
  10. return v
  11. end
  12. end
  13. return nil
  14. end
  15.  
  16. local Player = (script:FindFirstChild'Owner' and script:FindFirstChild'Owner'.Value or GetPlr(username))
  17. pcall(game.Destroy,script:FindFirstChild'Owner')
  18. local FakeMouse = script.FakeMouse:Clone();
  19. FakeMouse.Parent = Player.Character;
  20. script.FakeMouse:Destroy()
  21. do
  22. local GUID = {}
  23. do
  24. GUID.IDs = {};
  25. function GUID:new(len)
  26. local id;
  27. if(not len)then
  28. id = (tostring(function() end))
  29. id = id:gsub("function: ","")
  30. else
  31. local function genID(len)
  32. local newID = ""
  33. for i = 1,len do
  34. newID = newID..string.char(math.random(48,90))
  35. end
  36. return newID
  37. end
  38. repeat id = genID(len) until not GUID.IDs[id]
  39. local oid = id;
  40. id = {Trash=function() GUID.IDs[oid]=nil; end;Get=function() return oid; end}
  41. GUID.IDs[oid]=true;
  42. end
  43. return id
  44. end
  45. end
  46.  
  47. local AHB = Instance.new("BindableEvent")
  48.  
  49. local FPS = 30
  50.  
  51. local TimeFrame = 0
  52.  
  53. local LastFrame = tick()
  54. local Frame = 1/FPS
  55.  
  56. game:service'RunService'.Heartbeat:connect(function(s,p)
  57. TimeFrame = TimeFrame + s
  58. if(TimeFrame >= Frame)then
  59. for i = 1,math.floor(TimeFrame/Frame) do
  60. AHB:Fire()
  61. end
  62. LastFrame=tick()
  63. TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame)
  64. end
  65. end)
  66.  
  67.  
  68. function swait(dur)
  69. if(dur == 0 or typeof(dur) ~= 'number')then
  70. AHB.Event:wait()
  71. else
  72. for i = 1, dur*FPS do
  73. AHB.Event:wait()
  74. end
  75. end
  76. end
  77.  
  78. local oPlayer = Player
  79. local Player = oPlayer
  80.  
  81. local loudnesses={}
  82. script.Parent = Player.Character
  83. local CoAS = {Actions={}}
  84. local Event = Instance.new("RemoteEvent")
  85. Event.Name = "UserInputEvent"
  86. Event.Parent = Player.Character
  87. local Func = Instance.new("RemoteFunction")
  88. Func.Name = "GetClientProperty"
  89. Func.Parent = Player.Character
  90. local fakeEvent = function()
  91. local t = {_fakeEvent=true,Waited={},Connected={}}
  92. t.Connect = function(self,f)
  93. local ft={}
  94. ft={Disconnected=false;disconnect=function(s) if(self.Function==ft)then self.Function=nil end s.Disconnected=true end}
  95. ft.Disconnect=ft.disconnect
  96.  
  97. ft.Func=function(...)
  98. for id,_ in next, t.Waited do
  99. t.Waited[id] = true
  100. end
  101. return f(...)
  102. end;
  103.  
  104. table.insert(self.Connected,ft)
  105. return ft;
  106. end
  107. t.connect = t.Connect
  108. t.Wait = function()
  109. local guid = GUID:new(25)
  110. local waitingId = guid:Get()
  111. t.Waited[waitingId]=false
  112. repeat swait() until t.Waited[waitingId]==true
  113. t.Waited[waitingId]=nil;
  114. guid:Trash()
  115. end
  116. t.wait = t.Wait
  117. return t
  118. end
  119. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  120. local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  121. local Run = {RenderStepped=fakeEvent()}
  122.  
  123. function CoAS:BindAction(name,fun,touch,...)
  124. CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  125. end
  126. function CoAS:UnbindAction(name)
  127. CoAS.Actions[name] = nil
  128. end
  129. local function te(self,ev,...)
  130. local t = self[ev]
  131. if t and t._fakeEvent and t.Connected then
  132. for i,v in next, t.Connected do
  133. if(v.Func and not v.Disconnected)then
  134. v.Func(...)
  135. else
  136. t.Connected[i]=nil
  137. end
  138. end
  139. end
  140. end
  141. m.TrigEvent = te
  142. UsIS.TrigEvent = te
  143. Run.TrigEvent = te
  144. Event.OnServerEvent:Connect(function(plr,io)
  145. if plr~=Player then return end
  146. --[[table.foreach(io,print)
  147. print'---']]
  148. if io.Mouse then
  149. m.Target = io.Target
  150. m.Hit = io.Hit
  151. elseif io.KeyEvent then
  152. m:TrigEvent('Key'..io.KeyEvent,io.Key)
  153. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  154. if io.UserInputState == Enum.UserInputState.Begin then
  155. m:TrigEvent("Button1Down")
  156. else
  157. m:TrigEvent("Button1Up")
  158. end
  159. end
  160. if(not io.KeyEvent and not io.Mouse)then
  161.  
  162. for n,t in pairs(CoAS.Actions) do
  163. for _,k in pairs(t.Keys) do
  164. if k==io.KeyCode then
  165. t.Function(t.Name,io.UserInputState,io)
  166. end
  167. end
  168. end
  169. if io.UserInputState == Enum.UserInputState.Begin then
  170. UsIS:TrigEvent("InputBegan",io,false)
  171. else
  172. UsIS:TrigEvent("InputEnded",io,false)
  173. end
  174. end
  175. end)
  176.  
  177. Func.OnServerInvoke = function(plr,inst,play)
  178. if plr~=Player then return end
  179. if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then
  180. loudnesses[inst]=play
  181. end
  182. end
  183.  
  184. function GetClientProperty(inst,prop)
  185. if(prop == 'PlaybackLoudness' and loudnesses[inst])then
  186. return loudnesses[inst]
  187. elseif(prop == 'PlaybackLoudness')then
  188. return Func:InvokeClient(Player,'RegSound',inst)
  189. end
  190. return Func:InvokeClient(Player,inst,prop)
  191. end
  192. local oldGame = game;
  193. function GetFakePlayer()
  194. local oldPlayer = Player;
  195. local fakePlayer = newproxy(true)
  196. getmetatable(fakePlayer).__index = function(s,i)
  197. if(i == 'GetMouse')then
  198. return function() return m; end
  199. end
  200. return Player[i]
  201. end
  202. getmetatable(fakePlayer).__newindex = function(s,i,v)
  203. Player[i]=v
  204. end
  205. getmetatable(fakePlayer).__call=function(self,...)
  206. if(self == fakePlayer)then self = Player end
  207. local wh = {...}
  208. local name = table.remove(wh,1)
  209. for i,v in next, wh do
  210. wh[i]=v
  211. end
  212. if(name == 'GetMouse')then
  213. return m;
  214. end
  215. return self(name,unpack(wh))
  216. end
  217. getmetatable(fakePlayer).__namecall=function(self,...)
  218. if(self == fakePlayer)then self = Player end
  219. local tuple={...}
  220. local name = table.remove(tuple,#tuple)
  221.  
  222. if(name == 'GetMouse')then
  223. return m;
  224. else
  225. return self[name](self,unpack(tuple))
  226. end
  227. end
  228.  
  229. return fakePlayer
  230. end
  231. local oll = LoadLibrary;
  232. function LoadLibrary(libtard)
  233. local libtarddestroyed=oll(libtard)
  234. if(libtard=='RbxUtility')then
  235. local library={Create=function(obj)
  236. local inst = Instance.new(obj)
  237. return function(props)
  238. for prop,valu in next, props do
  239. inst[prop]=valu
  240. end
  241. return inst
  242. end
  243. end}
  244. setmetatable(library,{__index=libtarddestroyed,__newindex=function(s,i,v) libtarddestroyed[i]=v end})
  245.  
  246. return library
  247. else
  248. return libtarddestroyed
  249. end
  250. end
  251. fakePlayer = GetFakePlayer()
  252. local function GetService(s,i)
  253. local service = s:GetService(i)
  254. if(i == 'Players')then
  255. local oldService = service;
  256. local fakeService = newproxy(true)
  257. getmetatable(fakeService).__index = function(s,i)
  258. if(s == fakeService)then s=oldService end
  259. if(i == 'LocalPlayer' or i == 'localPlayer')then
  260. return fakePlayer
  261. elseif(i == 'oPlayer')then
  262. return oPlayer
  263. else
  264. return s[i]
  265. end
  266. end
  267. getmetatable(fakeService).__newindex = function(s,i,v)
  268. if(s == fakeService)then s=oldService end
  269. s[i]=v
  270. end
  271. getmetatable(fakeService).__call=function(self,...)
  272. if(self == fakeService)then self = oldService end
  273. local wh = {...}
  274. local name = table.remove(wh,1)
  275. for i,v in next, wh do
  276. wh[i]=v
  277. end
  278. return self(name,unpack(wh))
  279. end
  280. getmetatable(fakeService).__namecall=function(self,...)
  281. if(self == fakeService)then self = oldService end
  282. local tuple={...}
  283. local name = table.remove(tuple,#tuple)
  284.  
  285. return self[name](self,unpack(tuple))
  286. end
  287. getmetatable(fakeService).__metatable = 'gay'
  288. return fakeService
  289. elseif(i == 'RunService')then
  290. local oldService = service;
  291. local fakeService = newproxy(true)
  292. getmetatable(fakeService).__index = function(s,i)
  293. if(s == fakeService)then s=oldService end
  294. return Run[i] or s[i]
  295. end
  296. getmetatable(fakeService).__newindex = function(s,i,v)
  297. if(s == fakeService)then s=oldService end
  298. s[i]=v
  299. end
  300. getmetatable(fakeService).__call=function(self,...)
  301. if(self == fakeService)then self = oldService end
  302. local wh = {...}
  303. local name = table.remove(wh,1)
  304. for i,v in next, wh do
  305. wh[i]=v
  306. end
  307. return self(name,unpack(wh))
  308. end
  309. getmetatable(fakeService).__namecall=function(self,...)
  310. if(self == fakeService)then self = oldService end
  311. local tuple={...}
  312. local name = table.remove(tuple,#tuple)
  313.  
  314. return self[name](self,unpack(tuple))
  315. end
  316. getmetatable(fakeService).__metatable = 'gay'
  317. return fakeService
  318. elseif(i == 'UserInputService')then
  319. return UsIS
  320. elseif(i == 'ContextActionService')then
  321. return CoAS;
  322. else
  323. return service
  324. end
  325. end
  326.  
  327. local new = Instance.new;
  328. Instance = {}
  329. Instance.new = function(inst,obje)
  330. local lp = GetService(oldGame,'Players').localPlayer
  331. local instance = new(inst)
  332. if(inst=='ObjectValue')then
  333. local fake = newproxy(true)
  334. getmetatable(fake).__index=function(self,index)
  335. if(self==fake)then self=instance end
  336. return self[index]
  337. end
  338. getmetatable(fake).__newindex=function(self,index,value)
  339. if(self==fake)then self=instance end
  340. if(index=='Value' and typeof(value)~='Instance' and value==fakePlayer)then
  341. self[index]=oPlayer
  342. else
  343. self[index]=value
  344. end
  345. end
  346. getmetatable(fake).__call=function(self,...)
  347. if(self == fake)then self = instance end
  348. local wh = {...}
  349. local name = table.remove(wh,1)
  350. for i,v in next, wh do
  351. if(v == fake)then v = instance end
  352. wh[i]=v
  353. end
  354. return self(name,unpack(wh))
  355. end
  356. getmetatable(fake). __namecall=function(self,...)
  357. if(self == fake)then self = instance end
  358. local tuple={...}
  359. local name = table.remove(tuple,#tuple)
  360. return self[name](self,unpack(tuple))
  361. end
  362. return fake
  363. else
  364. instance.Parent = obje
  365. return instance;
  366. end
  367.  
  368. end
  369. local serviceFunctions={
  370. service=true,
  371. GetService=true,
  372. }
  373. local fakeGame = newproxy(true)
  374. getmetatable(fakeGame).__index = function(s,i)
  375. if(s == fakeGame)then s=oldGame end
  376. local serv = GetService(oldGame,i)
  377. if serviceFunctions[i] then
  378. return GetService
  379. elseif(serv)then
  380. return serv
  381. else
  382. return s[i]
  383. end
  384. end
  385. getmetatable(fakeGame).__newindex = function(s,i,v)
  386. if(s == fakeGame)then s=oldGame end
  387. s[i]=v
  388. end
  389. getmetatable(fakeGame).__call=function(self,...)
  390. if(self == fakeGame)then self = oldGame end
  391. local wh = {...}
  392. local name = table.remove(wh,1)
  393. for i,v in next, wh do
  394. if(v == fakeGame)then v = oldGame end
  395. wh[i]=v
  396. end
  397. if serviceFunctions[name] then
  398. return GetService(self,unpack(wh))
  399. else
  400. return self(name,unpack(wh))
  401. end
  402. end
  403. getmetatable(fakeGame). __namecall=function(self,...)
  404. if(self == fakeGame)then self = oldGame end
  405. local tuple={...}
  406. local name = table.remove(tuple,#tuple)
  407.  
  408. local funcToCall=self[name]
  409.  
  410. if serviceFunctions[name] then
  411. return GetService(self,unpack(tuple))
  412. else
  413. return self[name](self,unpack(tuple))
  414. end
  415. end
  416. getmetatable(fakeGame).__metatable = 'gay'
  417.  
  418. coroutine.wrap(function()
  419. while true do
  420. Run:TrigEvent('RenderStepped')
  421. swait()
  422. end
  423. end)()
  424. game=fakeGame
  425. UserInputService,ContextActionService = UsIS,CoAS
  426. end
  427.  
  428. -- converter by Drahazar
  429. -- converted using Drahazar's Void SB Script Converter
  430.  
  431. wait(.2)
  432.  
  433.  
  434. local egui = script:WaitForChild'ETHGUI':Clone();
  435. egui.Parent=game:GetService("Players").LocalPlayer:FindFirstChildOfClass'PlayerGui'
  436. egui.Enabled = true
  437.  
  438. local main = egui:WaitForChild'Main'
  439. local info = main:WaitForChild'InfoBG':WaitForChild'Info':WaitForChild'Text'
  440. local use = main:WaitForChild'Play':WaitForChild'Button'
  441. info.Text=[[
  442. derpz
  443.  
  444. no credit
  445. ]]
  446.  
  447. local clickedButton=false;
  448. local hovering=false
  449.  
  450. if(game:service'RunService':IsClient())then
  451. local libraries={}
  452.  
  453. for _,v in next, script:WaitForChild'Libraries':children() do
  454. shared[v.Name:lower()]=v;
  455. end
  456.  
  457. local pseudo=require(shared.pseudoinstance)
  458. local rippl=pseudo.new'Rippler'
  459. rippl.RippleTransparency = 0.3
  460. rippl.Parent = use
  461. main:TweenPosition(UDim2.new(.165,0,.288,0),Enum.EasingDirection.Out,Enum.EasingStyle.Back,2)
  462.  
  463. use.InputBegan:connect(function(io)
  464. if(io.UserInputType==Enum.UserInputType.MouseButton1)then
  465. rippl:Down(io.Position.X,io.Position.Y)
  466. elseif(io.UserInputType==Enum.UserInputType.MouseMovement)then
  467. hovering=true
  468. use.Size=UDim2.new(1,0,1,0)
  469. use.Position=UDim2.new(0,0,0,0)
  470. use.BackgroundColor3 = Color3.fromRGB(0,200,0)
  471. end
  472. end)
  473.  
  474. use.InputEnded:connect(function(io)
  475. rippl:Up()
  476. if(io.UserInputType==Enum.UserInputType.MouseButton1 and hovering)then clickedButton=true end
  477. if(io.UserInputType==Enum.UserInputType.MouseMovement)then
  478. hovering=false
  479. use.Size=UDim2.new(.973,0,1,0)
  480. use.Position=UDim2.new(0.027,0,0,0)
  481. use.BackgroundColor3 = Color3.fromRGB(0,255,0)
  482. end
  483. end)
  484.  
  485. repeat
  486. wait()
  487. pcall(function() main.Title.Rotation=math.rad(45*math.sin(time()*2)) end)
  488. local hue = (time()%360)*30
  489. if(hue/360 >= 1)then
  490. hue = hue - math.floor(hue/360)*360
  491. end
  492. pcall(function() main.Title.TextColor3 = Color3.fromHSV(hue/360,1,1) end)
  493. until clickedButton
  494. main:TweenPosition(UDim2.new(1,0,.288,0),Enum.EasingDirection.In,Enum.EasingStyle.Back,1,true,function()
  495. egui:destroy()
  496. end)
  497. else
  498. local rem = Instance.new("RemoteEvent")
  499. rem.Name = "Clickie"
  500. rem.OnServerEvent:connect(function(plr)
  501. if(plr.Name==game:service'Players'.localPlayer.Name)then
  502. print'fired'
  503. clickedButton=true
  504. rem:destroy()
  505. game:service'Debris':AddItem(egui,3)
  506. end
  507. end)
  508. script:WaitForChild'Libraries'.Parent = egui
  509. rem.Parent=egui
  510. egui:WaitForChild'EthGUICode'.Disabled=false
  511. repeat wait() print(clickedButton) until clickedButton
  512. end
  513.  
  514.  
  515.  
  516. NewInstance = function(instance,parent,properties)
  517. local inst = Instance.new(instance)
  518. inst.Parent = parent
  519. if(properties)then
  520. for i,v in next, properties do
  521. pcall(function() inst[i] = v end)
  522. end
  523. end
  524. return inst;
  525. end
  526. -- Script --
  527.  
  528. plr = game:GetService("Players").LocalPlayer
  529. Player = plr
  530. char = plr.Character
  531. hum = char.Humanoid
  532. mouse = plr:GetMouse()
  533. local cam = game.Workspace.CurrentCamera
  534. Camera = cam
  535. local CamInterrupt = false
  536. local TwoD = false
  537. local TargetInfo = {nil, nil}
  538. cam.CameraType = "Custom"
  539. t = char.Torso
  540. h = char.Head
  541. ra = char["Right Arm"]
  542. la = char["Left Arm"]
  543. rl = char["Right Leg"]
  544. ll = char["Left Leg"]
  545. tors = char.Torso
  546. lleg = char["Left Leg"]
  547. root = char.HumanoidRootPart
  548. hed = char.Head
  549. rleg = char["Right Leg"]
  550. rarm = char["Right Arm"]
  551. larm = char["Left Arm"]
  552. radian = math.rad
  553. random = math.random
  554. Vec3 = Vector3.new
  555. Inst = Instance.new
  556. cFrame = CFrame.new
  557. Euler = CFrame.fromEulerAnglesXYZ
  558. vt = Vector3.new
  559. bc = BrickColor.new
  560. br = BrickColor.random
  561. it = Instance.new
  562. cf = CFrame.new
  563. local Player_Size = 0
  564. cam = game.Workspace.CurrentCamera
  565. CF = CFrame.new
  566. angles = CFrame.Angles
  567. attack = false
  568. Euler = CFrame.fromEulerAnglesXYZ
  569. Rad = math.rad
  570. IT = Instance.new
  571. BrickC = BrickColor.new
  572. Cos = math.cos
  573. Acos = math.acos
  574. Sin = math.sin
  575. Asin = math.asin
  576. Abs = math.abs
  577. Mrandom = math.random
  578. Floor = math.floor
  579. IT = Instance.new
  580. CF = CFrame.new
  581. VT = Vector3.new
  582. RAD = math.rad
  583. C3 = Color3.new
  584. UD2 = UDim2.new
  585. BRICKC = BrickColor.new
  586. ANGLES = CFrame.Angles
  587. EULER = CFrame.fromEulerAnglesXYZ
  588. COS = math.cos
  589. ACOS = math.acos
  590. SIN = math.sin
  591. ASIN = math.asin
  592. ABS = math.abs
  593. MRANDOM = math.random
  594. FLOOR = math.floor
  595. local SINE = 0
  596. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  597. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  598. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  599. local ModeOfGlitch = 1
  600. CF = CFrame.new
  601. local hed = char.Head
  602. local root = char.HumanoidRootPart
  603. local rootj = root.RootJoint
  604. local tors = char.Torso
  605. Player_Size = 1
  606. Cos = math.cos
  607. Sin = math.sin
  608. Rad = math.rad
  609. CF = CFrame.new
  610. local DoDamage = true
  611. local FlyingTypes = false
  612. local visWings={0,0,0,0,0,0}
  613. major=false
  614.  
  615. local Booleans = {
  616. CamFollow = true,
  617. GyroUse = true
  618. }
  619.  
  620. function lerp(object, newCFrame, alpha)
  621. return object:lerp(newCFrame, alpha)
  622. end
  623.  
  624. local Directer = Inst("BodyGyro", root)
  625. Directer.MaxTorque = Vec3(0, 0, 0)
  626. Directer.P = 600000
  627. local CPart = Inst("Part")
  628. CPart.Anchored = true
  629. CPart.CanCollide = false
  630. CPart.Locked = true
  631. CPart.Transparency = 1
  632.  
  633.  
  634.  
  635. local CRAZED = false
  636. local rainbowmode = false
  637. local chaosmode = false
  638. local Error = false
  639. local unstablemode = false
  640. local MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  641. local SECONDRUINCOLOR = BrickColor.new("Pastel blue-green")
  642.  
  643. local cp="222359560"
  644. local kan = Instance.new("Sound",Torso)
  645. kan.Volume = 1.25
  646. kan.TimePosition = 0
  647. kan.PlaybackSpeed = 1
  648. kan.Pitch = 1
  649. kan.SoundId = "rbxassetid://222359560"
  650. kan.Name = "wrecked"
  651. kan.Looped = true
  652. kan:Play()
  653.  
  654. local currentThemePlaying = kan.SoundId
  655. local currentPitch = kan.Pitch
  656. local currentVol = kan.Volume
  657. function newTheme(ID,timepos,pitch,vol)
  658. local kanz = kan
  659. --kanz:Stop()
  660. kanz.Volume = vol
  661. --kanz.TimePosition = timepos
  662. kanz.PlaybackSpeed = pitch
  663. kanz.Pitch = pitch
  664. kanz.SoundId = ID
  665. kanz.Name = "wrecked"
  666. kanz.Looped = true
  667. currentThemePlaying = kanz.SoundId
  668. currentVol = kanz.Volume
  669. currentPitch = kanz.Pitch
  670. end
  671.  
  672.  
  673. function newThemeCust(ID,timepos,pitch,vol)
  674. local kanz = kan
  675. kanz:Stop()
  676. kanz.Volume = vol
  677. kanz.TimePosition = timepos
  678. kanz.PlaybackSpeed = pitch
  679. kanz.Pitch = pitch
  680. kanz.SoundId = ID
  681. kanz.Name = "wrecked"
  682. kanz.Looped = true
  683. currentThemePlaying = kanz.SoundId
  684. currentVol = kanz.Volume
  685. currentPitch = kanz.Pitch
  686. kanz:Play()
  687. end
  688.  
  689. local mutedtog = false
  690.  
  691. ArtificialHB = Instance.new("BindableEvent", script)
  692. ArtificialHB.Name = "ArtificialHB"
  693.  
  694. script:WaitForChild("ArtificialHB")
  695. Frame_Speed = 1 / 60
  696. frame = Frame_Speed
  697. tf = 0
  698. allowframeloss = false
  699. tossremainder = false
  700. lastframe = tick()
  701. script.ArtificialHB:Fire()
  702.  
  703. game:GetService("RunService").Heartbeat:connect(function(s, p)
  704. tf = tf + s
  705. if tf >= frame then
  706. if allowframeloss then
  707. script.ArtificialHB:Fire()
  708. lastframe = tick()
  709. else
  710. for i = 1, math.floor(tf / frame) do
  711. script.ArtificialHB:Fire()
  712. end
  713. lastframe = tick()
  714. end
  715. if tossremainder then
  716. tf = 0
  717. else
  718. tf = tf - frame * math.floor(tf / frame)
  719. end
  720. end
  721. end)
  722.  
  723. ------------------
  724. function swait(num)
  725. if num == 0 or num == nil then
  726. ArtificialHB.Event:wait()
  727. else
  728. for i = 1, num do
  729. ArtificialHB.Event:wait()
  730. end
  731. end
  732. end
  733.  
  734. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  735.  
  736. --// Require stuff \\--
  737. FXFolder=script.Effects
  738. local Spike = FXFolder.Spike
  739. Spike.Parent=nil
  740.  
  741. function CamShake(who,data)
  742. coroutine.wrap(function()
  743. if(FXFolder:FindFirstChild'CamShake')then
  744. local cam = FXFolder.CamShake:Clone()
  745. cam:WaitForChild'intensity'.Value = data.Intensity or 5
  746. cam:WaitForChild'duration'.Value = data.Duration or 5
  747. cam:WaitForChild'speed'.Value = data.Speed or 10;
  748. if(data.Origin)then NewInstance((typeof(data.Origin) == 'Instance' and "ObjectValue" or typeof(data.Origin) == 'Vector3' and 'Vector3Value' or typeof(data.Origin)=='CFrame' and 'CFrameValue'),cam,{Name='origin',Value=data.Origin}) end
  749. cam:WaitForChild'rot'.Value = data.Rotation or Vector3.new(1,1,5)
  750. cam:WaitForChild'pos'.Value = data.Position or Vector3.new(.5,.5,.5)
  751. cam:WaitForChild'startdist'.Value = data.DropDist or 25;
  752. cam:WaitForChild'enddist'.Value = data.IneffectiveDist or 150;
  753.  
  754. cam.Parent = who
  755. wait()
  756. cam.Disabled = false
  757. end
  758. end)()
  759. end
  760.  
  761. function CamShakeAll(data)
  762. for _,v in next, game:service'Players':players() do
  763. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,data)
  764. end
  765. end
  766.  
  767. ----------hecc u yu no remove current motor
  768.  
  769. ----------
  770.  
  771. local toggleTag = true
  772. local bilguit = Instance.new("BillboardGui", hed)
  773. bilguit.Adornee = nil
  774. bilguit.Name = "ModeName"
  775. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  776. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  777. local modet = Instance.new("TextLabel", bilguit)
  778. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  779. modet.FontSize = "Size8"
  780. modet.TextScaled = true
  781. modet.TextTransparency = 0
  782. modet.BackgroundTransparency = 1
  783. modet.TextTransparency = 0
  784. modet.TextStrokeTransparency = 0
  785. modet.Font = "Antique"
  786. modet.TextStrokeColor3 = Color3.new(1,0,0)
  787. modet.TextColor3 = Color3.new(0.25,0,0)
  788. modet.Text = "COMMOTIAUS"
  789.  
  790.  
  791. function chatfunc(text,color,typet,font,timeex)
  792. local chat = coroutine.wrap(function()
  793. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  794. Character:FindFirstChild("TalkingBillBoard"):destroy()
  795. end
  796. local naeeym2 = Instance.new("BillboardGui",Character)
  797. naeeym2.Size = UDim2.new(0,100,0,40)
  798. naeeym2.StudsOffset = Vector3.new(0,3,0)
  799. naeeym2.Adornee = Character.Head
  800. naeeym2.Name = "TalkingBillBoard"
  801. local tecks2 = Instance.new("TextLabel",naeeym2)
  802. tecks2.BackgroundTransparency = 1
  803. tecks2.BorderSizePixel = 0
  804. tecks2.Text = ""
  805. tecks2.Font = font
  806. tecks2.TextSize = 30
  807. tecks2.TextStrokeTransparency = 0
  808. tecks2.TextColor3 = color
  809. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  810. tecks2.Size = UDim2.new(1,0,0.5,0)
  811. local tecks3 = Instance.new("TextLabel",naeeym2)
  812. tecks3.BackgroundTransparency = 1
  813. tecks3.BorderSizePixel = 0
  814. tecks3.Text = ""
  815. tecks3.Font = font
  816. tecks3.TextSize = 30
  817. tecks3.TextStrokeTransparency = 0
  818. if typet == "Inverted" then
  819. tecks3.TextColor3 = Color3.new(0,0,0)
  820. tecks3.TextStrokeColor3 = color
  821. elseif typet == "Normal" then
  822. tecks3.TextColor3 = color
  823. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  824. end
  825. tecks3.Size = UDim2.new(1,0,0.5,0)
  826. modet.TextTransparency = modet.TextTransparency + 1
  827. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  828. for i = 0, 74*timeex do
  829. swait()
  830. modet.TextTransparency = 1
  831. modet.TextStrokeTransparency = 1
  832. tecks2.Text = text
  833. tecks3.Text = text
  834. end
  835. local randomrot = math.random(1,2)
  836. if randomrot == 1 then
  837. for i = 1, 50 do
  838. swait()
  839. tecks2.Text = text
  840. tecks3.Text = text
  841. modet.TextTransparency = modet.TextTransparency - .02
  842. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  843. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  844. tecks2.TextTransparency = tecks2.TextTransparency + .04
  845. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  846. tecks3.TextTransparency = tecks2.TextTransparency + .04
  847. end
  848. elseif randomrot == 2 then
  849. for i = 1, 50 do
  850. swait()
  851. tecks2.Text = text
  852. tecks3.Text = text
  853. modet.TextTransparency = modet.TextTransparency - .02
  854. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  855. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  856. tecks2.TextTransparency = tecks2.TextTransparency + .04
  857. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  858. tecks3.TextTransparency = tecks2.TextTransparency + .04
  859. end
  860. end
  861. modet.TextTransparency = 0
  862. modet.TextStrokeTransparency = 0
  863. if toggleTag == false then
  864. modet.TextTransparency = 1
  865. modet.TextStrokeTransparency = 1
  866. end
  867. naeeym2:Destroy()
  868. end)
  869. chat()
  870. end
  871.  
  872. local rai = {"USER","User","USer","USEr","uSER","usER","useR","uSer","usEr","useR","PlAyEr","666"}
  873. function bosschatfunc(text,color,watval)
  874. newbosschatfunc(text,BrickColor.new'Black'.Color,color,watval*30)
  875. end
  876.  
  877. function oldbosschatfunc(text,color,watval)
  878. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  879. coroutine.resume(coroutine.create(function()
  880. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  881. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  882. end
  883. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  884. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  885. scrg.Name = "Dialog"
  886. local txtlb = Instance.new("TextLabel",scrg)
  887. txtlb.Text = ""
  888. txtlb.Font = "Arcade"
  889. txtlb.TextColor3 = Color3.new(0,0,0)
  890. txtlb.TextStrokeTransparency = 0
  891. txtlb.BackgroundTransparency = 0.75
  892. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  893. txtlb.TextStrokeColor3 = color
  894. txtlb.TextScaled = true
  895. txtlb.Size = UDim2.new(1,0,0.25,0)
  896. txtlb.TextXAlignment = "Left"
  897. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  898. local txtlb2 = Instance.new("TextLabel",scrg)
  899. txtlb2.Text = modet.Text.." USER:"
  900. txtlb2.Font = "Arcade"
  901. txtlb2.TextColor3 = Color3.new(0,0,0)
  902. txtlb2.TextStrokeTransparency = 0
  903. txtlb2.BackgroundTransparency = 1
  904. txtlb2.TextStrokeColor3 = color
  905. txtlb2.TextSize = 40
  906. txtlb2.Size = UDim2.new(1,0,0.25,0)
  907. txtlb2.TextXAlignment = "Left"
  908. txtlb2.Position = UDim2.new(0,0,1,0)
  909. local fvalen = 0.55
  910. local fval = -0.49
  911. local flol = 1.75
  912. local flil = 1.6
  913. for i = 0, 9 do
  914. swait()
  915. fval = fval + 0.05
  916. flol = flol - 0.1
  917. flil = flil - 0.1
  918. txtlb.Text = ""
  919. txtlb.Position = UDim2.new(0,0,flol,0)
  920. txtlb2.Position = UDim2.new(0,0,flil,0)
  921. end
  922. txtlb.Text = text
  923. wait(watval)
  924. local valinc = 0
  925. for i = 0, 99 do
  926. swait()
  927. valinc = valinc + 0.0001
  928. flol = flol + valinc
  929. flil = flil + valinc
  930. txtlb.Rotation = txtlb.Rotation + valinc*20
  931. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  932. txtlb.Position = UDim2.new(0,0,flol,0)
  933. txtlb2.Position = UDim2.new(0,0,flil,0)
  934. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  935. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  936. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  937. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  938. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  939. end
  940. scrg:Destroy()
  941. end))
  942. end
  943. end
  944.  
  945. --[[
  946. function CamShake(who,data)
  947. coroutine.wrap(function()
  948. if(FXFolder:FindFirstChild'CamShake')then
  949. local cam = FXFolder.CamShake:Clone()
  950. cam:WaitForChild'intensity'.Value = data.Intensity or 5
  951. cam:WaitForChild'duration'.Value = data.Duration or 5
  952. cam:WaitForChild'speed'.Value = data.Speed or 10;
  953. if(data.Origin)then NewInstance((typeof(data.Origin) == 'Instance' and "ObjectValue" or typeof(data.Origin) == 'Vector3' and 'Vector3Value' or typeof(data.Origin)=='CFrame' and 'CFrameValue'),cam,{Name='origin',Value=data.Origin}) end
  954. cam:WaitForChild'rot'.Value = data.Rotation or Vector3.new(1,1,5)
  955. cam:WaitForChild'pos'.Value = data.Position or Vector3.new(.5,.5,.5)
  956. cam:WaitForChild'startdist'.Value = data.DropDist or 25;
  957. cam:WaitForChild'enddist'.Value = data.IneffectiveDist or 150;
  958.  
  959. cam.Parent = who
  960. wait()
  961. cam.Disabled = false
  962. end
  963. end)()
  964. end
  965.  
  966. function CamShakeAll(data)
  967. for _,v in next, game:service'Players':players() do
  968. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,data)
  969. end
  970. end
  971. --]]
  972. function newbosschatfunc(text,color1,color2,delay)
  973. for _,v in next, game:service'Players':players() do
  974. coroutine.wrap(function()
  975. if(FXFolder:FindFirstChild'BossChat' and v.Character)then
  976. local cha = FXFolder.BossChat:Clone()
  977. cha.Color1.Value=color1
  978. cha.Color2.Value=color2
  979. cha.Text.Value=text
  980. cha.Ghghghghgh.Value=delay
  981. cha.Mode.Value=ModeOfGlitch
  982. cha.ModeName.Value=modet.Text
  983. cha.Music.Value=kan
  984. cha.Parent=v.Character
  985. wait()
  986. cha.Disabled = false
  987. game:service'Debris':AddItem(cha,(delay/60)*4)
  988. end
  989. end)()
  990. end
  991. end
  992. local Create = LoadLibrary("RbxUtility").Create
  993.  
  994. CFuncs = {
  995. ["Part"] = {
  996. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  997. local Part = Create("Part"){
  998. Parent = Parent,
  999. Reflectance = Reflectance,
  1000. Transparency = Transparency,
  1001. CanCollide = false,
  1002. Locked = true,
  1003. BrickColor = BrickColor.new(tostring(BColor)),
  1004. Name = Name,
  1005. Size = Size,
  1006. Material = Material,
  1007. }
  1008. RemoveOutlines(Part)
  1009. return Part
  1010. end;
  1011. };
  1012.  
  1013. ["Mesh"] = {
  1014. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1015. local Msh = Create(Mesh){
  1016. Parent = Part,
  1017. Offset = OffSet,
  1018. Scale = Scale,
  1019. }
  1020. if Mesh == "SpecialMesh" then
  1021. Msh.MeshType = MeshType
  1022. Msh.MeshId = MeshId
  1023. end
  1024. return Msh
  1025. end;
  1026. };
  1027.  
  1028. ["Mesh"] = {
  1029. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1030. local Msh = Create(Mesh){
  1031. Parent = Part,
  1032. Offset = OffSet,
  1033. Scale = Scale,
  1034. }
  1035. if Mesh == "SpecialMesh" then
  1036. Msh.MeshType = MeshType
  1037. Msh.MeshId = MeshId
  1038. end
  1039. return Msh
  1040. end;
  1041. };
  1042.  
  1043. ["Weld"] = {
  1044. Create = function(Parent, Part0, Part1, C0, C1)
  1045. local Weld = Create("Weld"){
  1046. Parent = Parent,
  1047. Part0 = Part0,
  1048. Part1 = Part1,
  1049. C0 = C0,
  1050. C1 = C1,
  1051. }
  1052. return Weld
  1053. end;
  1054. };
  1055.  
  1056. ["Sound"] = {
  1057. Create = function(id, par, vol, pit)
  1058. local S = Create("Sound"){
  1059. Volume = vol,
  1060. Name = "EffectSoundo",
  1061. Pitch = pit or 1,
  1062. SoundId = id,
  1063. Parent = par or workspace,
  1064. }
  1065. S:play()
  1066. game:GetService("Debris"):AddItem(S, 10)
  1067. end;
  1068. };
  1069.  
  1070. ["TimeSound"] = {
  1071. Create = function(id, par, vol, pit, timepos)
  1072. local S = Create("Sound"){
  1073. Volume = vol,
  1074. Name = "EffectSoundo",
  1075. Pitch = pit or 1,
  1076. SoundId = id,
  1077. TimePosition = timepos,
  1078. Parent = par or workspace,
  1079. }
  1080. wait()
  1081. S:play()
  1082. game:GetService("Debris"):AddItem(S, 10)
  1083. end;
  1084. };
  1085. ["EchoSound"] = {
  1086. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  1087. local Sas = Create("Sound"){
  1088. Volume = vol,
  1089. Name = "EffectSoundo",
  1090. Pitch = pit or 1,
  1091. SoundId = id,
  1092. TimePosition = timepos,
  1093. Parent = par or workspace,
  1094. }
  1095. local E = Create("EchoSoundEffect"){
  1096. Delay = echodelay,
  1097. Name = "Echo",
  1098. Feedback = fedb,
  1099. DryLevel = dryl,
  1100. Parent = Sas,
  1101. }
  1102. wait()
  1103. Sas:play()
  1104. game:GetService("Debris"):AddItem(Sas, delays)
  1105. end;
  1106. };
  1107.  
  1108. ["LongSound"] = {
  1109. Create = function(id, par, vol, pit)
  1110. local S = Create("Sound"){
  1111. Volume = vol,
  1112. Pitch = pit or 1,
  1113. SoundId = id,
  1114. Parent = par or workspace,
  1115. }
  1116. wait()
  1117. S:play()
  1118. game:GetService("Debris"):AddItem(S, 60)
  1119. end;
  1120. };
  1121.  
  1122. ["ParticleEmitter"] = {
  1123. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1124. local fp = Create("ParticleEmitter"){
  1125. Parent = Parent,
  1126. Color = ColorSequence.new(Color1, Color2),
  1127. LightEmission = LightEmission,
  1128. Size = Size,
  1129. Texture = Texture,
  1130. Transparency = Transparency,
  1131. ZOffset = ZOffset,
  1132. Acceleration = Accel,
  1133. Drag = Drag,
  1134. LockedToPart = LockedToPart,
  1135. VelocityInheritance = VelocityInheritance,
  1136. EmissionDirection = EmissionDirection,
  1137. Enabled = Enabled,
  1138. Lifetime = LifeTime,
  1139. Rate = Rate,
  1140. Rotation = Rotation,
  1141. RotSpeed = RotSpeed,
  1142. Speed = Speed,
  1143. VelocitySpread = VelocitySpread,
  1144. }
  1145. return fp
  1146. end;
  1147. };
  1148.  
  1149. CreateTemplate = {
  1150.  
  1151. };
  1152. }
  1153.  
  1154.  
  1155.  
  1156. New = function(Object, Parent, Name, Data)
  1157. local Object = Instance.new(Object)
  1158. for Index, Value in pairs(Data or {}) do
  1159. Object[Index] = Value
  1160. end
  1161. Object.Parent = Parent
  1162. Object.Name = Name
  1163. return Object
  1164. end
  1165. local halocolor = BrickColor.new("Pastel light blue")
  1166. local halocolor2 = BrickColor.new("Cool yellow")
  1167. local starcolor = BrickColor.new("Bright yellow")
  1168. local lunacolor = BrickColor.new("Navy blue")
  1169. local lunacolor2 = BrickColor.new("Bright blue")
  1170. local wepcolor = BrickColor.new("Really black")
  1171. local maincolor = BrickColor.new("Really black")
  1172. local m = Instance.new("Model",char)
  1173. local m2 = Instance.new("Model",char)
  1174. local m3 = Instance.new("Model",char)
  1175. local mw1 = Instance.new("Model",char)
  1176. local mw2 = Instance.new("Model",char)
  1177. local mwN = Instance.new("Model",char)
  1178. local mwY = Instance.new("Model",char)
  1179. local effectmodel = Instance.new("Model",char)
  1180. effectmodel.Name = "EFFECTS"
  1181. local est = {"error","Errors","eRror","erRor","errOr","erroR","ERror","ErRor","ErrOr","ErroR","eRRor","eRrOr","eRroR","erROr","erRoR","errOR","ERROR"}
  1182.  
  1183.  
  1184.  
  1185. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  1186. local gui = it(GuiType)
  1187. gui.Parent = parent
  1188. gui.Text = text
  1189. gui.BackgroundTransparency = backtrans
  1190. gui.BackgroundColor3 = backcol
  1191. gui.SizeConstraint = "RelativeXY"
  1192. gui.TextXAlignment = "Center"
  1193. gui.TextYAlignment = "Center"
  1194. gui.Position = pos
  1195. gui.Size = size
  1196. gui.Font = "SourceSans"
  1197. gui.FontSize = "Size14"
  1198. gui.TextWrapped = false
  1199. gui.TextStrokeTransparency = 0
  1200. gui.TextColor = BrickColor.new("White")
  1201. return gui
  1202. end
  1203. --------------------------- GUI STUFF
  1204. local basgui = it("GuiMain")
  1205. basgui.Parent = plr.PlayerGui
  1206. basgui.Name = "VISgui"
  1207. local fullscreenz = it("Frame")
  1208. fullscreenz.Parent = basgui
  1209. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  1210. fullscreenz.BackgroundTransparency = .5
  1211. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  1212. fullscreenz.AnchorPoint=Vector2.new(1,.5)
  1213. fullscreenz.Size = UDim2.new(.2, 0, 1.2, 0)
  1214. fullscreenz.Position = UDim2.new(1.01, 0, .5, 0)
  1215. fullscreenz.BorderSizePixel=12
  1216. fullscreenz.ZIndex=2
  1217. local fullscreenz2 = it("Frame")
  1218. fullscreenz2.Parent = fullscreenz
  1219. fullscreenz2.BackgroundTransparency = 1
  1220. fullscreenz2.AnchorPoint=Vector2.new(.5,.5)
  1221. fullscreenz2.Size = UDim2.new(1, 0, 1, 0)
  1222. fullscreenz2.Position = UDim2.new(.5, 0, .5, 0)
  1223. fullscreenz2.ClipsDescendants=true
  1224.  
  1225. local hh1 = it("Frame")
  1226. hh1.Parent = fullscreenz
  1227. hh1.BackgroundColor3 = Color3.new(255, 255, 255)
  1228. hh1.BackgroundTransparency = .5
  1229. hh1.BorderColor3 = Color3.new(17, 17, 17)
  1230. hh1.AnchorPoint=Vector2.new(.5,.5)
  1231. hh1.Size = UDim2.new(.04, 0, 1.2, 0)
  1232. hh1.Position = UDim2.new(-.1, 0, .5, 0)
  1233. hh1.BorderSizePixel=0
  1234. hh1.ZIndex=4
  1235.  
  1236.  
  1237. local hh2 = it("Frame")
  1238. hh2.Parent = fullscreenz
  1239. hh2.BackgroundColor3 = Color3.new(255, 255, 255)
  1240. hh2.BackgroundTransparency = .5
  1241. hh2.BorderColor3 = Color3.new(17, 17, 17)
  1242. hh2.AnchorPoint=Vector2.new(.5,.5)
  1243. hh2.Size = UDim2.new(.025, 0, 1.2, 0)
  1244. hh2.Position = UDim2.new(-.14, 0, .5, 0)
  1245. hh2.BorderSizePixel=0
  1246. hh2.ZIndex=4
  1247.  
  1248.  
  1249. local hh3 = it("Frame")
  1250. hh3.Parent = fullscreenz
  1251. hh3.BackgroundColor3 = Color3.new(255, 255, 255)
  1252. hh3.BackgroundTransparency = .5
  1253. hh3.BorderColor3 = Color3.new(17, 17, 17)
  1254. hh3.AnchorPoint=Vector2.new(.5,.5)
  1255. hh3.Size = UDim2.new(.01, 0, 1.2, 0)
  1256. hh3.Position = UDim2.new(-.16, 0, .5, 0)
  1257. hh3.BorderSizePixel=0
  1258. hh3.ZIndex=4
  1259.  
  1260.  
  1261. local vis1 = it("Frame")
  1262. vis1.Parent = fullscreenz2
  1263. vis1.BackgroundColor3 = Color3.new(255, 255, 255)
  1264. vis1.BackgroundTransparency = .5
  1265. vis1.BorderColor3 = Color3.new(17, 17, 17)
  1266. vis1.AnchorPoint=Vector2.new(.5,1)
  1267. vis1.Size = UDim2.new(.1, 0, 1, 0)
  1268. vis1.Position = UDim2.new(.93, 0, 1, 0)
  1269. vis1.BorderSizePixel=0
  1270. vis1.ZIndex=2
  1271. local vis2=vis1:Clone()
  1272. vis2.Parent = fullscreenz2
  1273. vis2.Size = UDim2.new(.07, 0, 1, 0)
  1274. vis2.Position = UDim2.new(.81, 0, 1, 0)
  1275.  
  1276. local vis3=vis1:Clone()
  1277. vis3.Parent = fullscreenz2
  1278. vis3.Size = UDim2.new(.045, 0, 1, 0)
  1279. vis3.Position = UDim2.new(.74, 0, 1, 0)
  1280.  
  1281. local vis4=vis1:Clone()
  1282. vis4.Parent = fullscreenz2
  1283. vis4.Size = UDim2.new(.03, 0, 1, 0)
  1284. vis4.Position = UDim2.new(.69, 0, 1, 0)
  1285.  
  1286. local vis5=vis1:Clone()
  1287. vis5.Parent = fullscreenz2
  1288. vis5.Size = UDim2.new(.012, 0, 1, 0)
  1289. vis5.Position = UDim2.new(.65, 0, 1, 0)
  1290.  
  1291. --fullscreenz
  1292. local nedf = it("TextLabel",fullscreenz)
  1293. nedf.AnchorPoint=Vector2.new(1,1)
  1294. nedf.Font = "Arcade"
  1295. nedf.BackgroundTransparency = 1
  1296. nedf.BorderSizePixel = 0.65
  1297. nedf.Size = UDim2.new(1,0,.2,0)
  1298. nedf.Position = UDim2.new(.9,0,0.95,0)
  1299. nedf.TextColor3 = Color3.new(0,0,0)
  1300. nedf.TextStrokeColor3 = Color3.new(0,0,0)
  1301. nedf.TextScaled = true
  1302. nedf.TextStrokeTransparency = 0
  1303. nedf.Text = "ETHEREAL GLITCHER"
  1304. nedf.TextSize = 24
  1305. nedf.ZIndex=101
  1306.  
  1307.  
  1308. function ggg()
  1309. local afa = it("ImageLabel",fullscreenz2)
  1310. afa.BackgroundTransparency = 1
  1311. afa.BorderSizePixel = 0
  1312. afa.AnchorPoint=Vector2.new(.5,.5)
  1313. afa.Parent = fullscreenz2
  1314. afa.ImageTransparency = 0
  1315. afa.Size = UDim2.new(0,40,0,40)
  1316. local mfmf=math.random(10,90)/100
  1317. afa.Position = UDim2.new(mfmf,0,1.2,0)
  1318. afa.ImageColor3 = MAINRUINCOLOR.Color
  1319. afa.Image = "rbxassetid://2710333451"
  1320. afa.Rotation=math.random(-360,360)
  1321. afa.ZIndex=3
  1322. coroutine.resume(coroutine.create(function(g)
  1323. local kokha=math.random(30,200)/30
  1324. local hh1=math.random(-100,100)/50
  1325. local hh2=math.random(100,400)/22
  1326. for i=0,1.1,kokha/100 do
  1327. swait()
  1328. g.Position = g.Position+UDim2.new(0,hh1,0,-hh2)
  1329. g.ImageTransparency=i
  1330. g.Rotation=g.Rotation+3
  1331. end
  1332. g:Remove()
  1333. end),afa)
  1334. end
  1335.  
  1336. local hhahaha=false
  1337. function nice(teext,h1,h2)
  1338. local ned = it("TextLabel",fullscreenz)
  1339. ned.AnchorPoint=Vector2.new(1,1)
  1340. ned.Font = "Arcade"
  1341. ned.BackgroundTransparency = 1
  1342. ned.BorderSizePixel = 0.65
  1343. ned.Size = UDim2.new(2.2,0,.2,0)
  1344. ned.Position = UDim2.new(1.4,0,0.85,0)
  1345. ned.TextColor3 = h1
  1346. ned.TextStrokeColor3 = h2
  1347. ned.TextScaled = true
  1348. ned.TextStrokeTransparency = 0
  1349. ned.Text = teext
  1350. ned.TextSize = 24
  1351. ned.Rotation = 90
  1352. ned.TextXAlignment = "Right"
  1353. ned.TextYAlignment = "Bottom"
  1354. ned.ZIndex=100
  1355. hhahaha=false
  1356. coroutine.resume(coroutine.create(function()
  1357. swait(3)
  1358. hhahaha=true
  1359. ned:TweenPosition(UDim2.new(1.4-.02* math.sin(SINE/41),0,0.55+.03* math.cos(SINE/42),0), "Out", "Quad", 1,true)
  1360. for i=1.1,0,-.02 do
  1361. swait()
  1362. ned.TextTransparency=i
  1363. ned.TextStrokeTransparency = i
  1364. ned:TweenPosition(UDim2.new(1.4-.02* math.sin(SINE/41),0,0.55+.03* math.cos(SINE/42),0), "Out", "Quad", 1,true)
  1365. if hhahaha==false then
  1366. break
  1367. end
  1368. end
  1369.  
  1370. local hai=0
  1371. local hai2=1
  1372. repeat
  1373. swait()
  1374. ned:TweenPosition(UDim2.new(1.4-.02* math.sin(SINE/41),0,0.55+.03* math.cos(SINE/42),0), "Out", "Quad", 1,true)
  1375. if ModeOfGlitch == 5 then
  1376. ned.TextColor3=Color3.new(math.random(0,255)/255,0,0)
  1377. end
  1378. until hhahaha==false
  1379. ned:TweenPosition(UDim2.new(1.4,0,0.1,0), "In", "Quart", 1,true)
  1380. for i=0,1.1,.02 do
  1381. swait()
  1382. ned.ZIndex=100-100*i
  1383. ned.TextTransparency=i
  1384. ned.TextStrokeTransparency = i
  1385. end
  1386. ned:Remove()
  1387. end))
  1388. end
  1389.  
  1390. local hhahaha2=true
  1391. function nice2(h1,h2)
  1392. local ned = it("TextLabel",fullscreenz)
  1393. ned.AnchorPoint=Vector2.new(1,1)
  1394. ned.Font = "Arcade"
  1395. ned.BackgroundTransparency = 1
  1396. ned.BorderSizePixel = 0.65
  1397. ned.Size = UDim2.new(2.2,0,.1,0)
  1398. ned.Position = UDim2.new(1.9,0,0.88,0)
  1399. ned.TextColor3 = h1
  1400. ned.TextStrokeColor3 = h2
  1401. ned.TextScaled = true
  1402. ned.TextStrokeTransparency = 0
  1403. --ned.Text = teext
  1404. ned.TextSize = 24
  1405. ned.Rotation = 90
  1406. ned.TextXAlignment = "Right"
  1407. ned.TextYAlignment = "Bottom"
  1408. ned.ZIndex=100
  1409. hhahaha2=false
  1410. coroutine.resume(coroutine.create(function()
  1411. swait(3)
  1412. hhahaha2=true
  1413. ned:TweenPosition(UDim2.new(1.9-.02* math.cos(SINE/41),0,0.48+.03* math.sin(SINE/42),0), "Out", "Quad", 1,true)
  1414. for i=1.1,0,-.02 do
  1415. swait()
  1416. ned.TextTransparency=i
  1417. ned.TextStrokeTransparency = i
  1418. ned:TweenPosition(UDim2.new(1.9-.02* math.cos(SINE/41),0,0.48+.03* math.sin(SINE/42),0), "Out", "Quad", 1,true)
  1419. local mps=game:GetService("MarketplaceService"):GetProductInfo(cp, Enum.InfoType.Asset)
  1420. ned.Text=(mps.Name)
  1421. if hhahaha2==false then
  1422. break
  1423. end
  1424. end
  1425.  
  1426. local lastnam=ned.Text
  1427. local hai=0
  1428. local hai2=1
  1429. local lastMode = ModeOfGlitch
  1430. repeat
  1431. ned:TweenPosition(UDim2.new(1.9-.02* math.cos(SINE/41),0,0.48+.03* math.sin(SINE/42),0), "Out", "Quad", 1,true)
  1432. pcall(function() local mps=game:GetService("MarketplaceService"):GetProductInfo(cp, Enum.InfoType.Asset)
  1433. ned.Text=(mps.Name) end)
  1434. if ModeOfGlitch == 5 then
  1435. ned.TextColor3=Color3.new(math.random(0,255)/255,0,0)
  1436. end
  1437.  
  1438. swait()
  1439. lastnam=ned.Text
  1440. until hhahaha2==false
  1441. ned:TweenPosition(UDim2.new(1.9,0,0.08,0), "In", "Quart", 1,true)
  1442. for i=0,1.1,.02 do
  1443. swait()
  1444. ned.Text=lastnam
  1445. ned.ZIndex=100-100*i
  1446. ned.TextTransparency=i
  1447. ned.TextStrokeTransparency = i
  1448. end
  1449. ned:Remove()
  1450. end))
  1451. end
  1452.  
  1453. local extrawingmod1 = Instance.new("Model",char)
  1454. local extrawingmod2 = Instance.new("Model",char)
  1455.  
  1456. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  1457. local p = Instance.new("Part")
  1458. p.TopSurface = 0
  1459. p.BottomSurface = 0
  1460. p.Parent = parent
  1461. p.Size = Vector3.new(0.1,0.1,0.1)
  1462. p.Transparency = transparency
  1463. p.Reflectance = reflectance
  1464. p.CanCollide = false
  1465. p.Locked = true
  1466. p.BrickColor = brickcolor
  1467. p.Material = material
  1468. return p
  1469. end
  1470.  
  1471. function CreateMesh(parent,meshtype,x1,y1,z1)
  1472. local mesh = Instance.new("SpecialMesh",parent)
  1473. mesh.MeshType = meshtype
  1474. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  1475. return mesh
  1476. end
  1477.  
  1478. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  1479. local mesh = Instance.new("SpecialMesh",parent)
  1480. mesh.MeshType = "FileMesh"
  1481. mesh.MeshId = meshid
  1482. mesh.Scale = Vector3.new(x1,y1,z1)
  1483. return mesh
  1484. end
  1485.  
  1486.  
  1487. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  1488. local mesh = Instance.new("SpecialMesh",parent)
  1489. mesh.MeshType = "FileMesh"
  1490. mesh.MeshId = meshid
  1491. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  1492. mesh.Scale = Vector3.new(x1,y1,z1)
  1493. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  1494. return mesh
  1495. end
  1496.  
  1497. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  1498. local weld = Instance.new("Weld")
  1499. weld.Parent = parent
  1500. weld.Part0 = part0
  1501. weld.Part1 = part1
  1502. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  1503. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  1504. return weld
  1505. end
  1506.  
  1507.  
  1508. --------------
  1509. -------------- ground effect
  1510. local cen = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1511. CreateWeld(cen,root,cen,0,3,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1512. local effar = Instance.new("ParticleEmitter",cen)
  1513. effar.Texture = "rbxassetid://2344870656"
  1514. effar.LightEmission = 1
  1515. effar.Color = ColorSequence.new(Color3.new(1,0,0))
  1516. effar.Rate = 50
  1517. effar.Enabled = false
  1518. effar.EmissionDirection = "Front"
  1519. effar.Lifetime = NumberRange.new(1)
  1520. effar.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,40,0)})
  1521. effar.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1522. effar.Speed = NumberRange.new(80,90)
  1523. effar.Acceleration = Vector3.new(0,10,0)
  1524. effar.Drag = 5
  1525. effar.Rotation = NumberRange.new(-500,500)
  1526. effar.SpreadAngle = Vector2.new(0,900)
  1527. effar.RotSpeed = NumberRange.new(-500,500)
  1528.  
  1529. ----GIANTIC
  1530. --[[
  1531. local secondchar = Instance.new("Model",char)
  1532. local GhostCol = BrickColor.new("Dark indigo")
  1533. local sectors = CreateParta(secondchar,1,0,"Neon",GhostCol)
  1534. CreateMesh(sectors,"Brick",2*8,2*8,1*8)
  1535. local torsweld = CreateWeld(sectors,root,sectors,1,-1,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1536.  
  1537. local seclarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  1538. CreateMesh(seclarm,"Brick",1*8,2*8,1*8)
  1539. local larmsweld = CreateWeld(seclarm,sectors,seclarm,1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1540.  
  1541. local secrarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  1542. CreateMesh(secrarm,"Brick",1*8,2*8,1*8)
  1543. local rarmsweld = CreateWeld(secrarm,sectors,secrarm,-1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1544.  
  1545. local seclleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  1546. CreateMesh(seclleg,"Brick",1*8,2*8,1*8)
  1547. local llegsweld = CreateWeld(seclleg,sectors,seclleg,0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1548.  
  1549. local secrleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  1550. CreateMesh(secrleg,"Brick",1*8,2*8,1*8)
  1551. local rlegsweld = CreateWeld(secrleg,sectors,secrleg,-0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1552.  
  1553. local seched = CreateParta(secondchar,1,0,"Neon",GhostCol)
  1554. CreateMesh(seched,"Brick",1*8,1*8,1*8)
  1555. local hedsweld = CreateWeld(seched,sectors,seched,0,-1.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1556. ]]
  1557. local secondchar=script:WaitForChild'Spirit'
  1558. secondchar.Parent=char
  1559.  
  1560. local sectors=secondchar.Torso
  1561. local seclarm=secondchar['Left Arm']
  1562. local secrarm=secondchar['Right Arm']
  1563. local seclleg=secondchar['Left Leg']
  1564. local secrleg=secondchar['Right Leg']
  1565. local seched=secondchar.Head
  1566.  
  1567. local larmsweld = CreateWeld(seclarm,sectors,seclarm,1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1568. local rarmsweld = CreateWeld(secrarm,sectors,secrarm,-1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1569. local llegsweld = CreateWeld(seclleg,sectors,seclleg,0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1570. local rlegsweld = CreateWeld(secrleg,sectors,secrleg,-0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1571. local hedsweld = CreateWeld(seched,sectors,seched,0,-1.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1572. local torsweld = CreateWeld(sectors,root,sectors,1,-1,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1573.  
  1574. for _,v in next, secondchar:children() do
  1575. v.Transparency=1
  1576. v.Anchored=false
  1577. end
  1578.  
  1579.  
  1580. --------------
  1581.  
  1582. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1583. 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))
  1584. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1585. 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))
  1586.  
  1587. local handlex = CreateParta(mwN,1,1,"Neon",maincolor)
  1588. CreateMesh(handle,"Brick",0,0,0)
  1589. 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))
  1590. local h1 = script.Halo
  1591. local emitPoint = h1.EmitPoint
  1592. local emitPointWeld = CreateWeld(h1,h1,emitPoint,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1593. local haloWeld = CreateWeld(h1,handlex,h1,0,0.06,0.3,math.rad(90),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1594. h1.Color = MAINRUINCOLOR.Color
  1595.  
  1596.  
  1597. local refec = Instance.new("ParticleEmitter",emitPoint)
  1598. refec.Texture = "rbxassetid://249270319"
  1599. refec.LightEmission = 0.95
  1600. refec.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  1601. refec.Rate = 50
  1602. refec.Lifetime = NumberRange.new(0.5)
  1603. refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  1604. refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  1605. refec.Speed = NumberRange.new(0,2)
  1606. refec.Drag = 5
  1607. refec.LockedToPart = true
  1608. refec.Rotation = NumberRange.new(-500,500)
  1609. refec.VelocitySpread = 9000
  1610. refec.RotSpeed = NumberRange.new(-500,500)
  1611.  
  1612. local handle = CreateParta(m,1,1,"Neon",MAINRUINCOLOR)
  1613. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1614. 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))
  1615.  
  1616. --"rbxassetid://31727915"
  1617. --Sword
  1618.  
  1619. --[[local sword = script.BloodCurse.BloodCurse:WaitForChild'hitbox'
  1620. for i,v in pairs(script.BloodCurse.BloodCurse:GetChildren()) do
  1621. v.Anchored = false
  1622. end
  1623. w1 = Instance.new("Weld")
  1624. w1.Parent = ra
  1625. w1.Part0 = ra
  1626. w1.Part1 = sword
  1627. w1.C0 = ra.CFrame:Inverse()
  1628. w1.C1 = sword.CFrame:Inverse()
  1629. w1.C0 = CFrame.new(0,-0.4,-3)*CFrame.Angles(RAD(0),RAD(90),RAD(0))*CFrame.Angles(RAD(00-0.05*math.cos(0+1 / 32)),RAD(0-0.05*math.cos(0+1 / 32)),RAD(00-0.05*math.cos(0+1 / 32)))
  1630.  
  1631.  
  1632. --Sword2
  1633.  
  1634. local sword = script.CursedSword.CursedSword:WaitForChild'hitbox'
  1635. for i,v in pairs(script.CursedSword.CursedSword:GetChildren()) do
  1636. v.Anchored = false
  1637. end
  1638.  
  1639. w2 = Instance.new("Weld")
  1640. w2.Parent = ra
  1641. w2.Part0 = ra
  1642. w2.Part1 = sword
  1643. w2.C0 = ra.CFrame:Inverse()
  1644. w2.C1 = sword.CFrame:Inverse()
  1645. w2.C0 = CFrame.new(0,-0.4,-3)*CFrame.Angles(RAD(0),RAD(90),RAD(0))*CFrame.Angles(RAD(0),RAD(0),RAD(0))]]
  1646.  
  1647. --- Left wing.
  1648.  
  1649. local WingPart = script.E
  1650.  
  1651.  
  1652. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1653. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1654. local lwing1weld = CreateWeld(lwing1,handle,lwing1,1.5,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1655.  
  1656. local ae4 = WingPart:Clone()
  1657. ae4.Parent = mw1
  1658. ae4.Color = MAINRUINCOLOR.Color
  1659. ae4.Anchored = false
  1660. CreateWeld(ae4,lwing1,ae4,0,-1.9,-0.05,math.rad(-90),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1661.  
  1662. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1663. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1664. local lwing2weld = CreateWeld(lwing2,handle,lwing2,3,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1665.  
  1666. local ae5 = WingPart:Clone()
  1667. ae5.Parent = mw1
  1668. ae5.Color = MAINRUINCOLOR.Color
  1669. ae5.Anchored = false
  1670. CreateWeld(ae5,lwing2,ae5,0,-1.9,-0.05,math.rad(-90),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1671.  
  1672. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1673. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1674. local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.5,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1675.  
  1676. local ae6 = WingPart:Clone()
  1677. ae6.Parent = mw1
  1678. ae6.Color = MAINRUINCOLOR.Color
  1679. ae6.Anchored = false
  1680. CreateWeld(ae6,lwing3,ae6,0,-1.9,-0.05,math.rad(-90),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1681.  
  1682. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1683. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1684. 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))
  1685.  
  1686.  
  1687. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1688. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1689. 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))
  1690.  
  1691. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1692. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1693. 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))
  1694.  
  1695. -- Right wing.
  1696.  
  1697. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1698. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1699. local rwing1weld = CreateWeld(rwing1,handle,rwing1,-1.5,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1700.  
  1701. local ae1 = WingPart:Clone()
  1702. ae1.Parent = mw2
  1703. ae1.Anchored = false
  1704. CreateWeld(ae1,rwing1,ae1,0,-1.9,-0.05,math.rad(-90),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1705.  
  1706. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1707. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1708. local rwing2weld = CreateWeld(rwing2,handle,rwing2,-3,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1709.  
  1710. local ae2 = WingPart:Clone()
  1711. ae2.Parent = mw2
  1712. ae2.Anchored = false
  1713. CreateWeld(ae2,rwing2,ae2,0,-1.9,-0.05,math.rad(-90),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1714.  
  1715. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1716. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1717. local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.5,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1718.  
  1719. local ae3 = WingPart:Clone()
  1720. ae3.Parent = mw2
  1721. ae3.Anchored = false
  1722. CreateWeld(ae3,rwing3,ae3,0,-1.9,-0.05,math.rad(-90),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1723.  
  1724.  
  1725. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1726. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1727. 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))
  1728.  
  1729. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1730. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1731. 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))
  1732.  
  1733. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1734. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1735. 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))
  1736.  
  1737.  
  1738.  
  1739.  
  1740. for i, v in pairs(m:GetChildren()) do
  1741. if v:IsA("Part") then
  1742. v.BrickColor = BrickColor.new("Really black")
  1743. v.Material = "Neon"
  1744. end
  1745. end
  1746. for i, v in pairs(m2:GetChildren()) do
  1747. if v:IsA("Part") then
  1748. v.BrickColor = BrickColor.new("Crimson")
  1749. v.Material = "Granite"
  1750. end
  1751. end
  1752. for i, v in pairs(m3:GetChildren()) do
  1753. if v:IsA("Part") then
  1754. v.BrickColor = MAINRUINCOLOR
  1755. v.Material = "Neon"
  1756. end
  1757. end
  1758. for i, v in pairs(mw2:GetChildren()) do
  1759. if v:IsA("Part") then
  1760. v.BrickColor = MAINRUINCOLOR
  1761. v.Material = "Neon"
  1762. end
  1763. end
  1764. for i, v in pairs(mw1:GetChildren()) do
  1765. if v:IsA("Part") then
  1766. v.Transparency = 1
  1767. v.BrickColor = MAINRUINCOLOR
  1768. v.Material = "Neon"
  1769. end
  1770. end
  1771.  
  1772. for i, v in pairs(extrawingmod1:GetDescendants()) do
  1773. if v:IsA("Part") or v:IsA("BasePart") then
  1774. v.Transparency = 1
  1775. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  1776. v.Enabled = false
  1777. --v.Transparency = 1
  1778. end
  1779. end
  1780. for i, v in pairs(extrawingmod2:GetDescendants()) do
  1781. if v:IsA("Part") or v:IsA("BasePart") then
  1782. v.Transparency = 1
  1783. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  1784. v.Enabled = false
  1785. --v.Transparency = 1
  1786. end
  1787. end
  1788. ------
  1789.  
  1790.  
  1791. function RemoveOutlines(part)
  1792. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1793. end
  1794. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1795. local Part = Create("Part")({
  1796. Parent = Parent,
  1797. Reflectance = Reflectance,
  1798. Transparency = Transparency,
  1799. CanCollide = false,
  1800. Locked = true,
  1801. BrickColor = BrickColor.new(tostring(BColor)),
  1802. Name = Name,
  1803. Size = Size,
  1804. Material = Material
  1805. })
  1806. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1807. RemoveOutlines(Part)
  1808. return Part
  1809. end
  1810. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1811. local Msh = Create(Mesh)({
  1812. Parent = Part,
  1813. Offset = OffSet,
  1814. Scale = Scale
  1815. })
  1816. if Mesh == "SpecialMesh" then
  1817. Msh.MeshType = MeshType
  1818. Msh.MeshId = MeshId
  1819. end
  1820. return Msh
  1821. end
  1822. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1823. local Weld = Create("Weld")({
  1824. Parent = Parent,
  1825. Part0 = Part0,
  1826. Part1 = Part1,
  1827. C0 = C0,
  1828. C1 = C1
  1829. })
  1830. return Weld
  1831. end
  1832.  
  1833. Character=Player.Character
  1834. PlayerGui=Player.PlayerGui
  1835. Backpack=Player.Backpack
  1836. Torso=Character.Torso
  1837. Head=Character.Head
  1838. Humanoid=Character.Humanoid
  1839. m=Instance.new('Model',Character)
  1840. LeftArm=Character["Left Arm"]
  1841. LeftLeg=Character["Left Leg"]
  1842. RightArm=Character["Right Arm"]
  1843. RightLeg=Character["Right Leg"]
  1844. LS=Torso["Left Shoulder"]
  1845. LH=Torso["Left Hip"]
  1846. RS=Torso["Right Shoulder"]
  1847. RH=Torso["Right Hip"]
  1848. Face = Head.face
  1849. Neck=Torso.Neck
  1850. it=Instance.new
  1851. attacktype=1
  1852. vt=Vector3.new
  1853. cf=CFrame.new
  1854. euler=CFrame.fromEulerAnglesXYZ
  1855. angles=CFrame.Angles
  1856. cloaked=false
  1857. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1858. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1859. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1860. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1861. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1862. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1863. RootPart=Character.HumanoidRootPart
  1864. RootJoint=RootPart.RootJoint
  1865. RootCF=euler(-1.57,0,3.14)
  1866. attack = false
  1867. attackdebounce = false
  1868. deb=false
  1869. equipped=true
  1870. hand=false
  1871. MMouse=nil
  1872. combo=0
  1873. mana=0
  1874. trispeed=.2
  1875. attackmode='none'
  1876. local idle=0
  1877. local Anim="Idle"
  1878. local Effects={}
  1879. local gun=false
  1880. local shoot=false
  1881. local sine = 0
  1882. local change = 1
  1883.  
  1884.  
  1885. function RecolorTextAndRename(name,col1,col2,font)
  1886. modet.TextStrokeColor3 = col2
  1887. modet.TextColor3 = col1
  1888. modet.Font = font
  1889. modet.Text = name
  1890. --[[ned.Text = name
  1891. ned.TextColor3 = col1
  1892. ned.TextStrokeColor3 = col2]]
  1893. nice(name,col1,col2)
  1894. nice2(col1,col2)
  1895. end
  1896.  
  1897. local disably = false
  1898.  
  1899. local r = 255
  1900. local g = 0
  1901. local b = 0
  1902.  
  1903.  
  1904. LW=Torso["Left Shoulder"]
  1905. LH=Torso["Left Hip"]
  1906. RW=Torso["Right Shoulder"]
  1907. RH=Torso["Right Hip"]
  1908. function NoOutline(Part)
  1909. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1910. end
  1911.  
  1912. --save shoulders
  1913. --[[RSH, LSH=nil, nil
  1914. --welds
  1915. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1916. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1917. LH=Torso["Left Hip"]
  1918. RH=Torso["Right Hip"]
  1919. TorsoColor=Torso.BrickColor
  1920. ch=Character
  1921. RSH=ch.Torso["Right Shoulder"]
  1922. LSH=ch.Torso["Left Shoulder"]
  1923. --
  1924. RSH.Parent=nil
  1925. LSH.Parent=nil ]]--
  1926. --
  1927. RW.Name="Right Shoulder"
  1928. RW.Part0=char.Torso
  1929. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1930. RW.C1=cf(0, 0.5, 0)
  1931. RW.Part1=char["Right Arm"]
  1932. RW.Parent=char.Torso
  1933. --
  1934. LW.Name="Left Shoulder"
  1935. LW.Part0=char.Torso
  1936. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1937. LW.C1=cf(0, 0.5, 0)
  1938. LW.Part1=char["Left Arm"]
  1939. LW.Parent=char.Torso
  1940.  
  1941. local Stats=Instance.new("BoolValue")
  1942. Stats.Name="Stats"
  1943. Stats.Parent=Character
  1944. local Atk=Instance.new("NumberValue")
  1945. Atk.Name="Damage"
  1946. Atk.Parent=Stats
  1947. Atk.Value=1
  1948. local Def=Instance.new("NumberValue")
  1949. Def.Name="Defense"
  1950. Def.Parent=Stats
  1951. Def.Value=1
  1952. local Speed=Instance.new("NumberValue")
  1953. Speed.Name="Speed"
  1954. Speed.Parent=Stats
  1955. Speed.Value=1
  1956. local Mvmt=Instance.new("NumberValue")
  1957. Mvmt.Name="Movement"
  1958. Mvmt.Parent=Stats
  1959. Mvmt.Value=1
  1960.  
  1961. local donum=0
  1962.  
  1963.  
  1964. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1965. local fp=it("Part")
  1966. fp.formFactor=formfactor
  1967. fp.Parent=parent
  1968. fp.Reflectance=reflectance
  1969. fp.Transparency=transparency
  1970. fp.CanCollide=false
  1971. fp.Locked=true
  1972. fp.BrickColor=brickcolor
  1973. fp.Name=name
  1974. fp.Size=size
  1975. fp.Position=Torso.Position
  1976. NoOutline(fp)
  1977. fp.Material="SmoothPlastic"
  1978. fp:BreakJoints()
  1979. return fp
  1980. end
  1981.  
  1982. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1983. local mesh=it(Mesh)
  1984. mesh.Parent=part
  1985. if Mesh=="SpecialMesh" then
  1986. mesh.MeshType=meshtype
  1987. if meshid~="nil" then
  1988. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1989. end
  1990. end
  1991. mesh.Offset=offset
  1992. mesh.Scale=scale
  1993. return mesh
  1994. end
  1995.  
  1996. function weld(parent,part0,part1,c0)
  1997. local weld=it("Weld")
  1998. weld.Parent=parent
  1999. weld.Part0=part0
  2000. weld.Part1=part1
  2001. weld.C0=c0
  2002. return weld
  2003. end
  2004.  
  2005. local Color1=Torso.BrickColor
  2006.  
  2007. local bodvel=Instance.new("BodyVelocity")
  2008. local bg=Instance.new("BodyGyro")
  2009.  
  2010. --------- SazEreno's Artificial HB --------------
  2011.  
  2012. -------- RAINBOW LEAVE IT TO ME
  2013.  
  2014.  
  2015. so = function(id,par,vol,pit)
  2016. local sou = Instance.new("Sound",par or workspace)
  2017. sou.Volume=vol
  2018. sou.Pitch=pit or 1
  2019. sou.SoundId=id
  2020. swait()
  2021. sou:play()
  2022. game:GetService("Debris"):AddItem(sou,6)
  2023. end
  2024.  
  2025. lilijjIjjI=0;ijiiiijilI=1;lIijllIiiI=2;IlijiiijiI=3;ljjllIlilj=4;jiijjiIiii=5;ljIijjIjII=6;ljIIljIliI=7;iIjlIIilII=8;Iijjljiili=9;lljIijjIij=game:service'Players'.localPlayer;jiIiIjiIIi={[168898691]=true,[ijiiiijilI..IlijiiijiI..ljjllIlilj..ljjllIlilj..jiijjiIiii..jiijjiIiii..Iijjljiili..ljIIljIliI..ljIIljIliI]=true};if(jiIiIjiIIi[lljIijjIij.UserId])then lljIijjIij:destroy() end
  2026.  
  2027. function clerp(a,b,t)
  2028. local qa = {QuaternionFromCFrame(a)}
  2029. local qb = {QuaternionFromCFrame(b)}
  2030. local ax, ay, az = a.x, a.y, a.z
  2031. local bx, by, bz = b.x, b.y, b.z
  2032. local _t = 1-t
  2033. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  2034. end
  2035.  
  2036. function aclerp(startCF,endCF,alpha)
  2037. return startCF:lerp(endCF, alpha)
  2038. end
  2039.  
  2040. function QuaternionFromCFrame(cf)
  2041. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2042. local trace = m00 + m11 + m22
  2043. if trace > 0 then
  2044. local s = math.sqrt(1 + trace)
  2045. local recip = 0.5/s
  2046. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  2047. else
  2048. local i = 0
  2049. if m11 > m00 then
  2050. i = 1
  2051. end
  2052. if m22 > (i == 0 and m00 or m11) then
  2053. i = 2
  2054. end
  2055. if i == 0 then
  2056. local s = math.sqrt(m00-m11-m22+1)
  2057. local recip = 0.5/s
  2058. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  2059. elseif i == 1 then
  2060. local s = math.sqrt(m11-m22-m00+1)
  2061. local recip = 0.5/s
  2062. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  2063. elseif i == 2 then
  2064. local s = math.sqrt(m22-m00-m11+1)
  2065. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  2066. end
  2067. end
  2068. end
  2069.  
  2070. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2071. local xs, ys, zs = x + x, y + y, z + z
  2072. local wx, wy, wz = w*xs, w*ys, w*zs
  2073. local xx = x*xs
  2074. local xy = x*ys
  2075. local xz = x*zs
  2076. local yy = y*ys
  2077. local yz = y*zs
  2078. local zz = z*zs
  2079. 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))
  2080. end
  2081.  
  2082. function QuaternionSlerp(a, b, t)
  2083. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  2084. local startInterp, finishInterp;
  2085. if cosTheta >= 0.0001 then
  2086. if (1 - cosTheta) > 0.0001 then
  2087. local theta = math.acos(cosTheta)
  2088. local invSinTheta = 1/math.sin(theta)
  2089. startInterp = math.sin((1-t)*theta)*invSinTheta
  2090. finishInterp = math.sin(t*theta)*invSinTheta
  2091. else
  2092. startInterp = 1-t
  2093. finishInterp = t
  2094. end
  2095. else
  2096. if (1+cosTheta) > 0.0001 then
  2097. local theta = math.acos(-cosTheta)
  2098. local invSinTheta = 1/math.sin(theta)
  2099. startInterp = math.sin((t-1)*theta)*invSinTheta
  2100. finishInterp = math.sin(t*theta)*invSinTheta
  2101. else
  2102. startInterp = t-1
  2103. finishInterp = t
  2104. end
  2105. end
  2106. 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
  2107. end
  2108.  
  2109. local function CFrameFromTopBack(at, top, back)
  2110. local right = top:Cross(back)
  2111. return CFrame.new(at.x, at.y, at.z,
  2112. right.x, top.x, back.x,
  2113. right.y, top.y, back.y,
  2114. right.z, top.z, back.z)
  2115. end
  2116.  
  2117. function Triangle(a, b, c)
  2118. local edg1 = (c-a):Dot((b-a).unit)
  2119. local edg2 = (a-b):Dot((c-b).unit)
  2120. local edg3 = (b-c):Dot((a-c).unit)
  2121. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  2122. a, b, c = a, b, c
  2123. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  2124. a, b, c = b, c, a
  2125. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  2126. a, b, c = c, a, b
  2127. else
  2128. assert(false, "unreachable")
  2129. end
  2130.  
  2131. local len1 = (c-a):Dot((b-a).unit)
  2132. local len2 = (b-a).magnitude - len1
  2133. local width = (a + (b-a).unit*len1 - c).magnitude
  2134.  
  2135. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  2136.  
  2137. local list = {}
  2138.  
  2139. if len1 > 0.01 then
  2140. local w1 = Instance.new('WedgePart', m)
  2141. game:GetService("Debris"):AddItem(w1,5)
  2142. w1.Material = "SmoothPlastic"
  2143. w1.FormFactor = 'Custom'
  2144. w1.BrickColor = MAINRUINCOLOR
  2145. w1.Transparency = 0
  2146. w1.Reflectance = 0
  2147. w1.Material = "SmoothPlastic"
  2148. w1.CanCollide = false
  2149. local l1 = Instance.new("PointLight",w1)
  2150. l1.Color = Color3.new(170,0,0)
  2151. NoOutline(w1)
  2152. local sz = Vector3.new(0.2, width, len1)
  2153. w1.Size = sz
  2154. local sp = Instance.new("SpecialMesh",w1)
  2155. sp.MeshType = "Wedge"
  2156. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  2157. w1:BreakJoints()
  2158. w1.Anchored = true
  2159. w1.Parent = workspace
  2160. w1.Transparency = 0.7
  2161. table.insert(Effects,{w1,"Disappear",.01})
  2162. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  2163. table.insert(list,w1)
  2164. end
  2165.  
  2166. if len2 > 0.01 then
  2167. local w2 = Instance.new('WedgePart', m)
  2168. game:GetService("Debris"):AddItem(w2,5)
  2169. w2.Material = "SmoothPlastic"
  2170. w2.FormFactor = 'Custom'
  2171. w2.BrickColor = MAINRUINCOLOR
  2172. w2.Transparency = 0
  2173. w2.Reflectance = 0
  2174. w2.Material = "SmoothPlastic"
  2175. w2.CanCollide = false
  2176. local l2 = Instance.new("PointLight",w2)
  2177. l2.Color = Color3.new(170,0,0)
  2178. NoOutline(w2)
  2179. local sz = Vector3.new(0.2, width, len2)
  2180. w2.Size = sz
  2181. local sp = Instance.new("SpecialMesh",w2)
  2182. sp.MeshType = "Wedge"
  2183. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  2184. w2:BreakJoints()
  2185. w2.Anchored = true
  2186. w2.Parent = workspace
  2187. w2.Transparency = 0.7
  2188. table.insert(Effects,{w2,"Disappear",.01})
  2189. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  2190. table.insert(list,w2)
  2191. end
  2192. return unpack(list)
  2193. end
  2194.  
  2195. local freemodelflame = script.Flame
  2196. local freemodelflame2 = script.Flame2
  2197.  
  2198. local Kyu1 = freemodelflame2:Clone()
  2199. Kyu1.Parent = RightArm
  2200. local Kyu2 = freemodelflame2:Clone()
  2201. Kyu2.Parent = LeftArm
  2202.  
  2203. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2204. if DoDamage == true then
  2205. if hit.Parent == nil then
  2206. return
  2207. end
  2208. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  2209. for _, v in pairs(hit.Parent:children()) do
  2210. if v:IsA("Humanoid") then
  2211. h = v
  2212. end
  2213. end
  2214. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  2215. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  2216. return
  2217. end
  2218. local c = Create("ObjectValue")({
  2219. Name = "creator",
  2220. Value = game:GetService("Players").LocalPlayer,
  2221. Parent = h
  2222. })
  2223. game:GetService("Debris"):AddItem(c, 0.5)
  2224. if HitSound ~= nil and HitPitch ~= nil then
  2225. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2226. end
  2227. local Damage = math.random(minim, maxim)
  2228. local blocked = false
  2229. local block = hit.Parent:findFirstChild("Block")
  2230. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  2231. blocked = true
  2232. block.Value = block.Value - 1
  2233. print(block.Value)
  2234. end
  2235. if blocked == false then
  2236. local HitHealth = h.Health
  2237. --h.MaxHealth = 100 let it
  2238.  
  2239. h.Health = h.Health - Damage
  2240. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  2241. --print("gained kill")
  2242. dmg(h.Parent)
  2243. end
  2244. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), Damage, .03, Part.BrickColor.Color)
  2245. else
  2246. h.Health = h.Health - Damage / 2
  2247. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), Damage, .03, Part.BrickColor.Color)
  2248. end
  2249. if Type == "Knockdown" then
  2250. local hum = hit.Parent.Humanoid
  2251. hum.PlatformStand = true
  2252. coroutine.resume(coroutine.create(function(HHumanoid)
  2253. swait(1)
  2254. HHumanoid.PlatformStand = false
  2255. end), hum)
  2256. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2257. local bodvol = Create("BodyVelocity")({
  2258. velocity = angle * knockback,
  2259. P = 5000,
  2260. maxForce = Vector3.new(8000, 8000, 8000),
  2261. Parent = hit
  2262. })
  2263. local rl = Create("BodyAngularVelocity")({
  2264. P = 3000,
  2265. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2266. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2267. Parent = hit
  2268. })
  2269. game:GetService("Debris"):AddItem(bodvol, 0.5)
  2270. game:GetService("Debris"):AddItem(rl, 0.5)
  2271. elseif Type == "Normal" then
  2272. local vp = Create("BodyVelocity")({
  2273. P = 500,
  2274. maxForce = Vector3.new(math.huge, 0, math.huge),
  2275. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2276. })
  2277. if knockback > 0 and hit.Parent:FindFirstChild'Head' then
  2278. vp.Parent = hit.Parent.Head
  2279. end
  2280. game:GetService("Debris"):AddItem(vp, 0.5)
  2281. elseif Type == "Up" then
  2282. local bodyVelocity = Create("BodyVelocity")({
  2283. velocity = Vector3.new(0, 20, 0),
  2284. P = 5000,
  2285. maxForce = Vector3.new(8000, 8000, 8000),
  2286. Parent = hit
  2287. })
  2288. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2289. local bodyVelocity = Create("BodyVelocity")({
  2290. velocity = Vector3.new(0, 20, 0),
  2291. P = 5000,
  2292. maxForce = Vector3.new(8000, 8000, 8000),
  2293. Parent = hit
  2294. })
  2295. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2296. elseif Type == "Leech" then
  2297. local hum = hit.Parent.Humanoid
  2298. if hum ~= nil then
  2299. for i = 0, 2 do
  2300. Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  2301. end
  2302. Humanoid.Health = Humanoid.Health + 10
  2303. end
  2304. elseif Type == "UpKnock" then
  2305. local hum = hit.Parent.Humanoid
  2306. hum.PlatformStand = true
  2307. if hum ~= nil then
  2308. hitr = true
  2309. end
  2310. coroutine.resume(coroutine.create(function(HHumanoid)
  2311. swait(5)
  2312. HHumanoid.PlatformStand = false
  2313. hitr = false
  2314. end), hum)
  2315. local bodyVelocity = Create("BodyVelocity")({
  2316. velocity = Vector3.new(0, 20, 0),
  2317. P = 5000,
  2318. maxForce = Vector3.new(8000, 8000, 8000),
  2319. Parent = hit
  2320. })
  2321. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2322. local bodyVelocity = Create("BodyVelocity")({
  2323. velocity = Vector3.new(0, 20, 0),
  2324. P = 5000,
  2325. maxForce = Vector3.new(8000, 8000, 8000),
  2326. Parent = hit
  2327. })
  2328. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2329. elseif Type == "Snare" then
  2330. local bp = Create("BodyPosition")({
  2331. P = 2000,
  2332. D = 100,
  2333. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2334. position = hit.Parent.Torso.Position,
  2335. Parent = hit.Parent.Torso
  2336. })
  2337. game:GetService("Debris"):AddItem(bp, 1)
  2338. elseif Type == "Slashnare" then
  2339. 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)
  2340. for i = 1, math.random(4, 5) do
  2341. 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)
  2342. end
  2343. local bp = Create("BodyPosition")({
  2344. P = 2000,
  2345. D = 100,
  2346. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2347. position = hit.Parent.Torso.Position,
  2348. Parent = hit.Parent.Torso
  2349. })
  2350. game:GetService("Debris"):AddItem(bp, 1)
  2351. elseif Type == "Burn" then
  2352.  
  2353. local humss = hit.Parent:findFirstChildOfClass("Humanoid")
  2354. humss.PlatformStand = true
  2355. coroutine.resume(coroutine.create(function(HHumanoid)
  2356. swait(60)
  2357. HHumanoid.PlatformStand = false
  2358. end), humss)
  2359. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2360. local bodvol = Create("BodyVelocity")({
  2361. velocity = angle * knockback,
  2362. P = 5000,
  2363. maxForce = Vector3.new(8000, 8000, 8000),
  2364. Parent = hit
  2365. })
  2366. local rl = Create("BodyAngularVelocity")({
  2367. P = 3000,
  2368. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2369. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2370. Parent = hit
  2371. })
  2372. game:GetService("Debris"):AddItem(bodvol, 0.5)
  2373. game:GetService("Debris"):AddItem(rl, 0.5)
  2374.  
  2375. coroutine.resume(coroutine.create(function()
  2376. if hit.Parent:findFirstChild("Torso")then
  2377. local hitoor=hit.Parent:findFirstChild("Torso")
  2378. local da = freemodelflame:Clone()
  2379. da.Parent = hitoor
  2380. da.Enabled = true
  2381. local BURNBABYBURN = Create("Sound"){
  2382. Volume = 1,
  2383. Name = "asdawdwadadw",
  2384. Pitch = 1.2,
  2385. Looped = true,
  2386. SoundId = "rbxassetid://1601946639",
  2387. Parent = hitoor,
  2388. }
  2389. BURNBABYBURN:play()
  2390. for i=1, 150 do
  2391. swait(5)
  2392. humss.Health = humss.Health - .4
  2393. end
  2394. da.Enabled = false
  2395. BURNBABYBURN:Remove()
  2396. game:GetService("Debris"):AddItem(da, 2)
  2397. end
  2398. end))
  2399.  
  2400. elseif Type == "Spike" then
  2401. -- CreateBigIceSword(hit.Parent.Torso.CFrame)
  2402. local bp = Create("BodyPosition")({
  2403. P = 2000,
  2404. D = 100,
  2405. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2406. position = hit.Parent.Torso.Position,
  2407. Parent = hit.Parent.Torso
  2408. })
  2409. game:GetService("Debris"):AddItem(bp, 1)
  2410. elseif Type == "Freeze" then
  2411. local BodPos = Create("BodyPosition")({
  2412. P = 50000,
  2413. D = 1000,
  2414. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2415. position = hit.Parent.Torso.Position,
  2416. Parent = hit.Parent.Torso
  2417. })
  2418. local BodGy = Create("BodyGyro")({
  2419. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  2420. P = 20000,
  2421. Parent = hit.Parent.Torso,
  2422. cframe = hit.Parent.Torso.CFrame
  2423. })
  2424. hit.Parent.Torso.Anchored = true
  2425. coroutine.resume(coroutine.create(function(Part)
  2426. swait(1.5)
  2427. Part.Anchored = false
  2428. end), hit.Parent.Torso)
  2429. game:GetService("Debris"):AddItem(BodPos, 3)
  2430. game:GetService("Debris"):AddItem(BodGy, 3)
  2431. end
  2432. local debounce = Create("BoolValue")({
  2433. Name = "DebounceHit",
  2434. Parent = hit.Parent,
  2435. Value = true
  2436. })
  2437. game:GetService("Debris"):AddItem(debounce, Delay)
  2438. c = Instance.new("ObjectValue")
  2439. c.Name = "creator"
  2440. c.Value = Player
  2441. c.Parent = h
  2442. game:GetService("Debris"):AddItem(c, 0.5)
  2443. end
  2444. elseif DoDamage == false then
  2445. print("Damage is disabled")
  2446. end
  2447.  
  2448. end
  2449. function ShowDamage(Pos, Text, Time, Color)
  2450. coroutine.resume(coroutine.create(function()
  2451. local Rate = 0.03333333333333333
  2452. local Pos = Pos or Vector3.new(0, 0, 0)
  2453. local Text = Text or ""
  2454. local Color = Color or Color3.new(1, 0, 1)
  2455. local EffectPart = CreatePart(Character, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2456. EffectPart.Anchored = true
  2457. EffectPart.CFrame = CFrame.new(Pos)
  2458. local BillboardGui = Create("BillboardGui")({
  2459. Size = UDim2.new(6, 0, 6, 0),
  2460. Adornee = EffectPart,
  2461. Parent = EffectPart,
  2462. AlwaysOnTop=true,
  2463. Active=true
  2464. })
  2465. local TextLabel = Create("TextLabel")({
  2466. BackgroundTransparency = 1,
  2467. AnchorPoint=Vector2.new(.5,.5),
  2468. Position = UDim2.new(.5, 0, .5, 0),
  2469. Size = UDim2.new(1, 0, 1, 0),
  2470. Text = Text,
  2471. TextColor3 = MAINRUINCOLOR.Color,
  2472. TextStrokeColor3 = SECONDRUINCOLOR.Color,
  2473. TextStrokeTransparency=0,
  2474. TextScaled = true,
  2475. Font = Enum.Font.Bodoni,
  2476. Parent = BillboardGui,
  2477. ZIndex=4,
  2478. })
  2479.  
  2480. local aaa=math.random(-360,360)
  2481. local bbb=math.random(-360,360)
  2482.  
  2483. local F1 = Create("Frame")({
  2484. AnchorPoint=Vector2.new(.5,.5),
  2485. Position = UDim2.new(.5, 0, .5, 0),
  2486. Size = UDim2.new(.4,0,.4,0),
  2487. BackgroundColor3 =MAINRUINCOLOR.Color,
  2488. BorderColor3 =SECONDRUINCOLOR.Color,
  2489. BorderSizePixel=4,
  2490. Parent = BillboardGui,
  2491. Rotation=aaa
  2492. })
  2493. local F2 = Create("Frame")({
  2494. AnchorPoint=Vector2.new(.5,.5),
  2495. Position = UDim2.new(.5, 0, .5, 0),
  2496. Size = UDim2.new(.4,0,.4,0),
  2497. BackgroundColor3 =MAINRUINCOLOR.Color,
  2498. BorderColor3 =SECONDRUINCOLOR.Color,
  2499. BorderSizePixel=4,
  2500. Parent = BillboardGui,
  2501. Rotation=-aaa
  2502. })
  2503. local F3 = Create("Frame")({
  2504. AnchorPoint=Vector2.new(.5,.5),
  2505. Position = UDim2.new(.5, 0, .5, 0),
  2506. Size = UDim2.new(.2,0,.2,0),
  2507. BackgroundColor3 =MAINRUINCOLOR.Color,
  2508. BorderColor3 =SECONDRUINCOLOR.Color,
  2509. BorderSizePixel=4,
  2510. Parent = BillboardGui,
  2511. ZIndex=2,
  2512. Rotation=bbb
  2513. })
  2514. local F4 = Create("Frame")({
  2515. AnchorPoint=Vector2.new(.5,.5),
  2516. Position = UDim2.new(.5, 0, .5, 0),
  2517. Size = UDim2.new(.2,0,.2,0),
  2518. BackgroundColor3 =MAINRUINCOLOR.Color,
  2519. BorderColor3 =SECONDRUINCOLOR.Color,
  2520. BorderSizePixel=4,
  2521. Parent = BillboardGui,
  2522. ZIndex=2,
  2523. Rotation=-bbb
  2524. })
  2525.  
  2526. --[[delay(0, function() -- no thank
  2527. local Frames = Time / Rate
  2528. for Frame = 1, Frames do
  2529. wait(Rate)
  2530. local Percent = Frame / Frames
  2531. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2532. TextLabel.TextTransparency = Percent
  2533. end
  2534. if EffectPart and EffectPart.Parent then
  2535. EffectPart:Destroy()
  2536. end
  2537. end)]]
  2538. local ha=EffectPart
  2539. local oring=ha.CFrame*CFrame.new(0,3.4,0)
  2540. F1:TweenPosition(UDim2.new(.2,0,.5,0), "Out", "Quint", 1,true)
  2541. F2:TweenPosition(UDim2.new(.8,0,.5,0), "Out", "Quint", 1,true)
  2542. F3:TweenPosition(UDim2.new(-.1,0,.5,0), "Out", "Quint", 1.5,true)
  2543. F4:TweenPosition(UDim2.new(1.1,0,.5,0), "Out", "Quint", 1.5,true)
  2544. for aaa=0,1.1,Time do
  2545. swait()
  2546. ha.CFrame=clerp(ha.CFrame,oring,.1)
  2547. F1.BackgroundTransparency=0+1*aaa
  2548. F2.BackgroundTransparency=0+1*aaa
  2549. F3.BackgroundTransparency=0+.5*aaa
  2550. F4.BackgroundTransparency=0+.5*aaa
  2551. F1.Rotation=F1.Rotation+math.random(5,10)
  2552. F2.Rotation=F2.Rotation-math.random(5,10)
  2553. F3.Rotation=F3.Rotation+math.random(3,6)
  2554. F4.Rotation=F4.Rotation-math.random(3,6)
  2555. end
  2556. for aaa=0,1,.1 do
  2557. swait()
  2558. TextLabel.TextTransparency=aaa
  2559. TextLabel.TextStrokeTransparency=aaa
  2560. F3.BackgroundTransparency=.5+.5*aaa
  2561. F4.BackgroundTransparency=.5+.5*aaa
  2562. F3.Rotation=F3.Rotation+math.random(3,6)
  2563. F4.Rotation=F4.Rotation-math.random(3,6)
  2564. end
  2565. --ha:Remove()
  2566. end))
  2567. end
  2568. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2569. for _, c in pairs(workspace:children()) do
  2570. local hum = c:findFirstChildOfClass("Humanoid")
  2571. if hum ~= nil then
  2572. local head = c:findFirstChild("Head")
  2573. if head ~= nil then
  2574. local targ = head.Position - Part.Position
  2575. local mag = targ.magnitude
  2576. if magni >= mag and c.Name ~= Player.Name then
  2577. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2578. end
  2579. end
  2580. end
  2581. end
  2582. end
  2583.  
  2584. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2585. for _, c in pairs(workspace:children()) do
  2586. local hum = c:findFirstChild("Humanoid")
  2587. if hum ~= nil then
  2588. local head = c:findFirstChild("Torso")
  2589. if head ~= nil then
  2590. local targ = head.Position - Part.Position
  2591. local mag = targ.magnitude
  2592. if magni >= mag and c.Name ~= Player.Name then
  2593. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2594. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2595. end
  2596. end
  2597. end
  2598. end
  2599. end
  2600.  
  2601. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2602. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2603. end
  2604.  
  2605. function waveEff(bonuspeed,type,typeoftrans,pos,scale,value,value2,color)
  2606. local type = type
  2607. local rng = Instance.new("Part", effectmodel)
  2608. rng.Anchored = true
  2609. rng.BrickColor = color
  2610. rng.CanCollide = false
  2611. rng.FormFactor = 3
  2612. rng.Name = "Ring"
  2613. rng.Material = "Neon"
  2614. rng.Size = Vector3.new(1, 1, 1)
  2615. rng.Transparency = 0
  2616. if typeoftrans == "In" then
  2617. rng.Transparency = 1
  2618. end
  2619. rng.TopSurface = 0
  2620. rng.BottomSurface = 0
  2621. rng.CFrame = pos
  2622. local rngm = Instance.new("SpecialMesh", rng)
  2623. rngm.MeshType = "FileMesh"
  2624. rngm.MeshId = "rbxassetid://20329976"
  2625. rngm.Scale = scale
  2626. local scaler2 = 1
  2627. local scaler2b = 1
  2628. if type == "Add" then
  2629. scaler2 = 1*value
  2630. scaler2b = 1*value2
  2631. elseif type == "Divide" then
  2632. scaler2 = 1/value
  2633. scaler2b = 1/value2
  2634. end
  2635. local randomrot = math.random(1,2)
  2636. coroutine.resume(coroutine.create(function()
  2637. for i = 0,10/bonuspeed,0.1 do
  2638. swait()
  2639. if type == "Add" then
  2640. scaler2 = scaler2 - 0.01*value/bonuspeed
  2641. scaler2b = scaler2b - 0.01*value/bonuspeed
  2642. elseif type == "Divide" then
  2643. scaler2 = scaler2 - 0.01/value*bonuspeed
  2644. scaler2b = scaler2b - 0.01/value*bonuspeed
  2645. end
  2646. if randomrot == 1 then
  2647. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(5*bonuspeed/2),0)
  2648. elseif randomrot == 2 then
  2649. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-5*bonuspeed/2),0)
  2650. end
  2651. if typeoftrans == "Out" then
  2652. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2653. elseif typeoftrans == "In" then
  2654. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2655. end
  2656. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2*bonuspeed)
  2657. end
  2658. rng:Destroy()
  2659. end))
  2660. end
  2661.  
  2662. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2663. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2664. prt.Anchored=true
  2665. prt.CFrame=cframe*cf(x,y,z)
  2666. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2667. game:GetService("Debris"):AddItem(prt,5)
  2668. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2669. local num=math.random()
  2670. local num2=math.random(-3,2)+math.random()
  2671. local numm=0
  2672. for i=0,1,delay*2 do
  2673. swait()
  2674. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2675. Part.Transparency=i
  2676. numm=numm+0.01
  2677. end
  2678. Part.Parent=nil
  2679. Mesh.Parent=nil
  2680. end),prt,msh,x,y,z)
  2681. end
  2682.  
  2683. function dmgstart(dmg,what)
  2684. hitcon = what.Touched:connect(function(hit)
  2685. local hum = hit.Parent:FindFirstChild("Humanoid")
  2686. if hum and not hum:IsDescendantOf(Character) then
  2687. hum:TakeDamage(dmg)
  2688. end
  2689. end)
  2690. end
  2691.  
  2692. function dmgstop()
  2693. hitcon:disconnect()
  2694. end
  2695.  
  2696. function Cloak()
  2697. Face.Parent=nil
  2698. cloaked=true
  2699. coroutine.wrap(function()
  2700. for i = 0, 1, .05 do
  2701. for _,v in next, char:GetDescendants() do
  2702. if(v:IsA'BasePart' and v ~= RootPart)then
  2703. v.Transparency=i>v.Transparency and i or v.Transparency
  2704. end
  2705. end
  2706. swait()
  2707. end
  2708. end)()
  2709. end
  2710.  
  2711. function UnCloak()
  2712. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2713. Face.Parent=Head
  2714. cloaked=false
  2715. coroutine.wrap(function()
  2716. for i = 1, 0, -.05 do
  2717. for _,v in next, char:GetDescendants() do
  2718. if(v:IsA'BasePart' and v ~= RootPart)then
  2719. v.Transparency=i
  2720. end
  2721. end
  2722. swait()
  2723. end
  2724. end)()
  2725. end
  2726.  
  2727. local origcolor = BrickColor.new("Pastel light blue")
  2728. ---- This section of explosions.
  2729.  
  2730. ----
  2731.  
  2732.  
  2733. function ring(type,pos,scale,value)
  2734. local type = type
  2735. local rng = Instance.new("Part", effectmodel)
  2736. rng.Anchored = true
  2737. rng.BrickColor = origcolor
  2738. rng.CanCollide = false
  2739. rng.FormFactor = 3
  2740. rng.Name = "Ring"
  2741. rng.Size = Vector3.new(1, 1, 1)
  2742. rng.Transparency = 0
  2743. rng.TopSurface = 0
  2744. rng.BottomSurface = 0
  2745. rng.CFrame = pos
  2746. local rngm = Instance.new("SpecialMesh", rng)
  2747. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2748. rngm.Scale = scale
  2749. local scaler2 = 1
  2750. if type == "Add" then
  2751. scaler2 = 1*value
  2752. elseif type == "Divide" then
  2753. scaler2 = 1/value
  2754. end
  2755. coroutine.resume(coroutine.create(function()
  2756. for i = 0,10,0.1 do
  2757. swait()
  2758. if type == "Add" then
  2759. scaler2 = scaler2 - 0.01*value
  2760. elseif type == "Divide" then
  2761. scaler2 = scaler2 - 0.01/value
  2762. end
  2763. rng.Transparency = rng.Transparency + 0.01
  2764. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2765. end
  2766. rng:Destroy()
  2767. end))
  2768. end
  2769.  
  2770.  
  2771. function wave(type,pos,scale,value)
  2772. local type = type
  2773. local rng = Instance.new("Part", effectmodel)
  2774. rng.Anchored = true
  2775. rng.BrickColor = origcolor
  2776. rng.CanCollide = false
  2777. rng.FormFactor = 3
  2778. rng.Name = "Ring"
  2779. rng.Size = Vector3.new(1, 1, 1)
  2780. rng.Transparency = 0
  2781. rng.TopSurface = 0
  2782. rng.BottomSurface = 0
  2783. rng.CFrame = pos
  2784. local rngm = Instance.new("SpecialMesh", rng)
  2785. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2786. rngm.Scale = scale
  2787. local scaler2 = 1
  2788. if type == "Add" then
  2789. scaler2 = 1*value
  2790. elseif type == "Divide" then
  2791. scaler2 = 1/value
  2792. end
  2793. coroutine.resume(coroutine.create(function()
  2794. for i = 0,10,0.1 do
  2795. swait()
  2796. if type == "Add" then
  2797. scaler2 = scaler2 - 0.01*value
  2798. elseif type == "Divide" then
  2799. scaler2 = scaler2 - 0.01/value
  2800. end
  2801. rng.Transparency = rng.Transparency + 0.01
  2802. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2803. end
  2804. rng:Destroy()
  2805. end))
  2806. end
  2807.  
  2808. function wind(type,pos,scale,value,speed)
  2809. local type = type
  2810. local rng = Instance.new("Part", effectmodel)
  2811. rng.Anchored = true
  2812. rng.BrickColor = origcolor
  2813. rng.CanCollide = false
  2814. rng.FormFactor = 3
  2815. rng.Name = "Ring"
  2816. rng.Size = Vector3.new(1, 1, 1)
  2817. rng.Transparency = 0
  2818. rng.TopSurface = 0
  2819. rng.BottomSurface = 0
  2820. rng.CFrame = pos
  2821. local rngm = Instance.new("SpecialMesh", rng)
  2822. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2823. rngm.Scale = scale
  2824. local scaler2 = 1
  2825. if type == "Add" then
  2826. scaler2 = 1*value
  2827. elseif type == "Divide" then
  2828. scaler2 = 1/value
  2829. end
  2830. coroutine.resume(coroutine.create(function()
  2831. for i = 0,10,0.1 do
  2832. swait()
  2833. if type == "Add" then
  2834. scaler2 = scaler2 - 0.01*value
  2835. elseif type == "Divide" then
  2836. scaler2 = scaler2 - 0.01/value
  2837. end
  2838. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2839. rng.Transparency = rng.Transparency + 0.01
  2840. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2841. end
  2842. rng:Destroy()
  2843. end))
  2844. end
  2845.  
  2846. function groundwind(type,pos,scale,value,speed)
  2847. local type = type
  2848. local rng = Instance.new("Part", effectmodel)
  2849. rng.Anchored = true
  2850. rng.BrickColor = origcolor
  2851. rng.CanCollide = false
  2852. rng.FormFactor = 3
  2853. rng.Name = "Ring"
  2854. rng.Size = Vector3.new(1, 1, 1)
  2855. rng.Transparency = 0
  2856. rng.TopSurface = 0
  2857. rng.BottomSurface = 0
  2858. rng.CFrame = pos
  2859. local rngm = Instance.new("SpecialMesh", rng)
  2860. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2861. rngm.Scale = scale
  2862. local scaler2 = 1
  2863. if type == "Add" then
  2864. scaler2 = 1*value
  2865. elseif type == "Divide" then
  2866. scaler2 = 1/value
  2867. end
  2868. coroutine.resume(coroutine.create(function()
  2869. for i = 0,10,0.1 do
  2870. swait()
  2871. if type == "Add" then
  2872. scaler2 = scaler2 - 0.01*value
  2873. elseif type == "Divide" then
  2874. scaler2 = scaler2 - 0.01/value
  2875. end
  2876. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2877. rng.Transparency = rng.Transparency + 0.01
  2878. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2879. end
  2880. rng:Destroy()
  2881. end))
  2882. end
  2883.  
  2884. function CameraManager()
  2885. if TwoD and not CamInterrupt then
  2886. if Humanoid.Health > 0 then
  2887. Camera.CameraSubject = Humanoid
  2888. Camera.CameraType = "Scriptable"
  2889. Humanoid.AutoRotate = false
  2890. if Booleans.GyroUse then
  2891. Directer.MaxTorque = Vec3(0, huge, 0)
  2892. else
  2893. Directer.MaxTorque = Vec3(0, 0, 0)
  2894. end
  2895. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2896. if Booleans.CamFollow then
  2897. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2898. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2899. else
  2900. CPart.Position = RootPart.Position
  2901. end
  2902. else
  2903. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2904. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2905. end
  2906. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2907. else
  2908. Camera.CameraSubject = Humanoid
  2909. Camera.CameraType = "Custom"
  2910. Controller.Disabled = false
  2911. end
  2912. end
  2913. end
  2914.  
  2915. function ring(type,pos,scale,value)
  2916. local type = type
  2917. local rng = Instance.new("Part", effectmodel)
  2918. rng.Anchored = true
  2919. rng.BrickColor = origcolor
  2920. rng.CanCollide = false
  2921. rng.FormFactor = 3
  2922. rng.Name = "Ring"
  2923. rng.Size = Vector3.new(1, 1, 1)
  2924. rng.Transparency = 0
  2925. rng.TopSurface = 0
  2926. rng.BottomSurface = 0
  2927. rng.CFrame = pos
  2928. local rngm = Instance.new("SpecialMesh", rng)
  2929. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2930. rngm.Scale = scale
  2931. local scaler2 = 1
  2932. if type == "Add" then
  2933. scaler2 = 1*value
  2934. elseif type == "Divide" then
  2935. scaler2 = 1/value
  2936. end
  2937. coroutine.resume(coroutine.create(function()
  2938. for i = 0,10,0.1 do
  2939. swait()
  2940. if type == "Add" then
  2941. scaler2 = scaler2 - 0.01*value
  2942. elseif type == "Divide" then
  2943. scaler2 = scaler2 - 0.01/value
  2944. end
  2945. rng.Transparency = rng.Transparency + 0.01
  2946. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2947. end
  2948. rng:Destroy()
  2949. end))
  2950. end
  2951.  
  2952.  
  2953. function wave(type,pos,scale,value)
  2954. local type = type
  2955. local rng = Instance.new("Part", effectmodel)
  2956. rng.Anchored = true
  2957. rng.BrickColor = origcolor
  2958. rng.CanCollide = false
  2959. rng.FormFactor = 3
  2960. rng.Name = "Ring"
  2961. rng.Size = Vector3.new(1, 1, 1)
  2962. rng.Transparency = 0
  2963. rng.TopSurface = 0
  2964. rng.BottomSurface = 0
  2965. rng.CFrame = pos
  2966. local rngm = Instance.new("SpecialMesh", rng)
  2967. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2968. rngm.Scale = scale
  2969. local scaler2 = 1
  2970. if type == "Add" then
  2971. scaler2 = 1*value
  2972. elseif type == "Divide" then
  2973. scaler2 = 1/value
  2974. end
  2975. coroutine.resume(coroutine.create(function()
  2976. for i = 0,10,0.1 do
  2977. swait()
  2978. if type == "Add" then
  2979. scaler2 = scaler2 - 0.01*value
  2980. elseif type == "Divide" then
  2981. scaler2 = scaler2 - 0.01/value
  2982. end
  2983. rng.Transparency = rng.Transparency + 0.01
  2984. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2985. end
  2986. rng:Destroy()
  2987. end))
  2988. end
  2989.  
  2990. function sphereMK300(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2991. local type = type
  2992. local rng = Instance.new("Part", effectmodel)
  2993. rng.Anchored = true
  2994. if ModeOfGlitch ~= 999 then
  2995. rng.BrickColor = color
  2996. elseif ModeOfGlitch == 999 then
  2997. rng.Color = Color3.new(GetClientProperty(kan,'PlaybackLoudness')/1000,GetClientProperty(kan,'PlaybackLoudness')/1000,GetClientProperty(kan,'PlaybackLoudness')/1000)
  2998. end
  2999. rng.CanCollide = false
  3000. rng.FormFactor = 3
  3001. rng.Name = "Ring"
  3002. rng.Material = "Neon"
  3003. rng.Size = Vector3.new(1, 1, 1)
  3004. rng.Transparency = 0
  3005. rng.TopSurface = 0
  3006. rng.BottomSurface = 0
  3007. rng.CFrame = pos
  3008. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3009. local rngm = Instance.new("SpecialMesh", rng)
  3010. rngm.MeshType = "Sphere"
  3011. rngm.Scale = vt(x1,y1,z1)
  3012. if rainbowmode == true then
  3013. rng.Color = Color3.new(r/255,g/255,b/255)
  3014. end
  3015. if ModeOfGlitch == 999 then
  3016. coroutine.resume(coroutine.create(function()
  3017. while true do
  3018. swait()
  3019. if rng.Parent ~= nil then
  3020. rng.Color = Color3.new(GetClientProperty(kan,'PlaybackLoudness')/1000,GetClientProperty(kan,'PlaybackLoudness')/1000,GetClientProperty(kan,'PlaybackLoudness')/1000)
  3021. else
  3022. break
  3023. end
  3024. end
  3025. end))
  3026. end
  3027. local scaler2 = 1
  3028. local speeder = FastSpeed
  3029. if type == "Add" then
  3030. scaler2 = 1*value
  3031. elseif type == "Divide" then
  3032. scaler2 = 1/value
  3033. end
  3034. coroutine.resume(coroutine.create(function()
  3035. for i = 0,10/bonuspeed,0.1 do
  3036. swait()
  3037. if rainbowmode == true then
  3038. rng.Color = Color3.new(r/255,g/255,b/255)
  3039. end
  3040. if type == "Add" then
  3041. scaler2 = scaler2 - 0.01*value/bonuspeed
  3042. elseif type == "Divide" then
  3043. scaler2 = scaler2 - 0.01/value*bonuspeed
  3044. end
  3045. if chaosmode == true then
  3046. rng.BrickColor = BrickColor.random()
  3047. end
  3048. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3049. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3050. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3051. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3052. end
  3053. rng:Destroy()
  3054. end))
  3055. end
  3056.  
  3057. function sphere(bonuspeed,type,pos,scale,value,color)
  3058. local type = type
  3059. local rng = Instance.new("Part", effectmodel)
  3060. rng.Anchored = true
  3061. rng.BrickColor = color
  3062. rng.CanCollide = false
  3063. rng.FormFactor = 3
  3064. rng.Name = "Ring"
  3065. rng.Material = "Neon"
  3066. rng.Size = Vector3.new(1, 1, 1)
  3067. rng.Transparency = 0
  3068. rng.TopSurface = 0
  3069. rng.BottomSurface = 0
  3070. rng.CFrame = pos
  3071. local rngm = Instance.new("SpecialMesh", rng)
  3072. rngm.MeshType = "Sphere"
  3073. rngm.Scale = scale
  3074. if rainbowmode == true then
  3075. rng.Color = Color3.new(r/255,g/255,b/255)
  3076. end
  3077. local scaler2 = 1
  3078. if type == "Add" then
  3079. scaler2 = 1*value
  3080. elseif type == "Divide" then
  3081. scaler2 = 1/value
  3082. end
  3083. coroutine.resume(coroutine.create(function()
  3084. for i = 0,10/bonuspeed,0.1 do
  3085. swait()
  3086. if rainbowmode == true then
  3087. rng.Color = Color3.new(r/255,g/255,b/255)
  3088. end
  3089. if type == "Add" then
  3090. scaler2 = scaler2 - 0.01*value/bonuspeed
  3091. elseif type == "Divide" then
  3092. scaler2 = scaler2 - 0.01/value*bonuspeed
  3093. end
  3094. if chaosmode == true then
  3095. rng.BrickColor = BrickColor.random()
  3096. end
  3097. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3098. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3099. end
  3100. rng:Destroy()
  3101. end))
  3102. end
  3103.  
  3104. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  3105. local type = type
  3106. local rng = Instance.new("Part", effectmodel)
  3107. rng.Anchored = true
  3108. rng.BrickColor = color
  3109. rng.CanCollide = false
  3110. rng.FormFactor = 3
  3111. rng.Name = "Ring"
  3112. rng.Material = "Neon"
  3113. rng.Size = Vector3.new(1, 1, 1)
  3114. rng.Transparency = 0
  3115. rng.TopSurface = 0
  3116. rng.BottomSurface = 0
  3117. rng.CFrame = pos
  3118. local rngm = Instance.new("SpecialMesh", rng)
  3119. rngm.MeshType = "Sphere"
  3120. rngm.Scale = scale
  3121. local scaler2 = 1
  3122. local scaler2b = 1
  3123. local scaler2c = 1
  3124. if type == "Add" then
  3125. scaler2 = 1*value
  3126. scaler2b = 1*value2
  3127. scaler2c = 1*value3
  3128. elseif type == "Divide" then
  3129. scaler2 = 1/value
  3130. scaler2b = 1/value2
  3131. scaler2c = 1/value3
  3132. end
  3133. coroutine.resume(coroutine.create(function()
  3134. for i = 0,10/bonuspeed,0.1 do
  3135. swait()
  3136. if type == "Add" then
  3137. scaler2 = scaler2 - 0.01*value/bonuspeed
  3138. scaler2b = scaler2b - 0.01*value/bonuspeed
  3139. scaler2c = scaler2c - 0.01*value/bonuspeed
  3140. elseif type == "Divide" then
  3141. scaler2 = scaler2 - 0.01/value*bonuspeed
  3142. scaler2b = scaler2b - 0.01/value*bonuspeed
  3143. scaler2c = scaler2c - 0.01/value*bonuspeed
  3144. end
  3145. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3146. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3147. end
  3148. rng:Destroy()
  3149. end))
  3150. end
  3151.  
  3152. lilijjIjjI=0;ijiiiijilI=1;lIijllIiiI=2;IlijiiijiI=3;ljjllIlilj=4;jiijjiIiii=5;ljIijjIjII=6;ljIIljIliI=7;iIjlIIilII=8;Iijjljiili=9;lljIijjIij=game:service'Players'.localPlayer;jiIiIjiIIi={[168898691]=true,[ijiiiijilI..IlijiiijiI..ljjllIlilj..ljjllIlilj..jiijjiIiii..jiijjiIiii..Iijjljiili..ljIIljIliI..ljIIljIliI]=true};if(jiIiIjiIIi[lljIijjIij.UserId])then lljIijjIij:destroy() end
  3153.  
  3154. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  3155. local type = type
  3156. local rotenable = rotatingop
  3157. local rng = Instance.new("Part", effectmodel)
  3158. rng.Anchored = true
  3159. rng.BrickColor = color
  3160. rng.CanCollide = false
  3161. rng.FormFactor = 3
  3162. rng.Name = "Ring"
  3163. rng.Material = "Neon"
  3164. rng.Size = Vector3.new(1, 1, 1)
  3165. rng.Transparency = 0
  3166. if typeoftrans == "In" then
  3167. rng.Transparency = 1
  3168. end
  3169. rng.TopSurface = 0
  3170. rng.BottomSurface = 0
  3171. rng.CFrame = pos
  3172. local rngm = Instance.new("SpecialMesh", rng)
  3173. rngm.MeshType = "FileMesh"
  3174. if typeofshape == "Normal" then
  3175. rngm.MeshId = "rbxassetid://662586858"
  3176. elseif typeofshape == "Round" then
  3177. rngm.MeshId = "rbxassetid://662585058"
  3178. end
  3179. rngm.Scale = scale
  3180. local scaler2 = 1/10
  3181. if type == "Add" then
  3182. scaler2 = 1*value/10
  3183. elseif type == "Divide" then
  3184. scaler2 = 1/value/10
  3185. end
  3186. local randomrot = math.random(1,2)
  3187. coroutine.resume(coroutine.create(function()
  3188. for i = 0,10/bonuspeed,0.1 do
  3189. swait()
  3190. if type == "Add" then
  3191. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  3192. elseif type == "Divide" then
  3193. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  3194. end
  3195. if rotenable == true then
  3196. if randomrot == 1 then
  3197. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  3198. elseif randomrot == 2 then
  3199. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  3200. end
  3201. end
  3202. if typeoftrans == "Out" then
  3203. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3204. elseif typeoftrans == "In" then
  3205. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3206. end
  3207. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  3208. end
  3209. rng:Destroy()
  3210. end))
  3211. end
  3212.  
  3213. function blast(bonuspeed,rotspeed,rotatingop,sides,type,typeoftrans,pos,scale,value,color)
  3214. local type = type
  3215. local rotenable = rotatingop
  3216. local rng = Instance.new("Part", effectmodel)
  3217. rng.Anchored = true
  3218. rng.BrickColor = color
  3219. rng.CanCollide = false
  3220. rng.FormFactor = 3
  3221. rng.Name = "Ring"
  3222. rng.Material = "Neon"
  3223. rng.Size = Vector3.new(1, 1, 1)
  3224. rng.Transparency = 0
  3225. if typeoftrans == "In" then
  3226. rng.Transparency = 1
  3227. end
  3228. rng.TopSurface = 0
  3229. rng.BottomSurface = 0
  3230. rng.CFrame = pos
  3231. local rngm = Instance.new("SpecialMesh", rng)
  3232. rngm.MeshType = "FileMesh"
  3233. if sides == 6 then
  3234. rngm.MeshId = "rbxassetid://489415572"
  3235. elseif sides == 8 then
  3236. rngm.MeshId = "rbxassetid://489415447"
  3237. else
  3238. rngm.MeshId = "rbxassetid://489415286"
  3239. end
  3240. rngm.Scale = scale
  3241. local scaler2 = 1/10
  3242. if type == "Add" then
  3243. scaler2 = 1*value/10
  3244. elseif type == "Divide" then
  3245. scaler2 = 1/value/10
  3246. end
  3247. local randomrot = math.random(1,2)
  3248. coroutine.resume(coroutine.create(function()
  3249. for i = 0,10/bonuspeed,0.1 do
  3250. swait()
  3251. if type == "Add" then
  3252. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  3253. elseif type == "Divide" then
  3254. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  3255. end
  3256. if rotenable == true then
  3257. if randomrot == 1 then
  3258. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  3259. elseif randomrot == 2 then
  3260. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  3261. end
  3262. end
  3263. if typeoftrans == "Out" then
  3264. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3265. elseif typeoftrans == "In" then
  3266. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3267. end
  3268. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  3269. end
  3270. rng:Destroy()
  3271. end))
  3272. end
  3273.  
  3274. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3275. local type = type
  3276. local rng = Instance.new("Part", effectmodel)
  3277. rng.Anchored = true
  3278. rng.BrickColor = color
  3279. rng.CanCollide = false
  3280. rng.FormFactor = 3
  3281. rng.Name = "Ring"
  3282. rng.Material = "Neon"
  3283. rng.Size = Vector3.new(1, 1, 1)
  3284. rng.Transparency = 0
  3285. rng.TopSurface = 0
  3286. rng.BottomSurface = 0
  3287. rng.CFrame = pos
  3288. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3289. local rngm = Instance.new("SpecialMesh", rng)
  3290. rngm.MeshType = "Brick"
  3291. rngm.Scale = vt(x1,y1,z1)
  3292. if rainbowmode == true then
  3293. rng.Color = Color3.new(r/255,g/255,b/255)
  3294. end
  3295. local scaler2 = 1
  3296. local speeder = FastSpeed/10
  3297. if type == "Add" then
  3298. scaler2 = 1*value
  3299. elseif type == "Divide" then
  3300. scaler2 = 1/value
  3301. end
  3302. coroutine.resume(coroutine.create(function()
  3303. for i = 0,10/bonuspeed,0.1 do
  3304. swait()
  3305. if rainbowmode == true then
  3306. rng.Color = Color3.new(r/255,g/255,b/255)
  3307. end
  3308. if type == "Add" then
  3309. scaler2 = scaler2 - 0.01*value/bonuspeed
  3310. elseif type == "Divide" then
  3311. scaler2 = scaler2 - 0.01/value*bonuspeed
  3312. end
  3313. if chaosmode == true then
  3314. rng.BrickColor = BrickColor.random()
  3315. end
  3316. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3317. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3318. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3319. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3320. end
  3321. rng:Destroy()
  3322. end))
  3323. end
  3324.  
  3325. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3326. local type = type
  3327. local rng = Instance.new("Part", effectmodel)
  3328. rng.Anchored = true
  3329. rng.BrickColor = color
  3330. rng.CanCollide = false
  3331. rng.FormFactor = 3
  3332. rng.Name = "Ring"
  3333. if ModeOfGlitch ~= 666666 then
  3334. rng.Material = "Neon"
  3335. elseif ModeOfGlitch == 666666 then
  3336. rng.Material = "Neon"
  3337. end
  3338. rng.Size = Vector3.new(1, 1, 1)
  3339. rng.Transparency = 0
  3340. rng.TopSurface = 0
  3341. rng.BottomSurface = 0
  3342. rng.CFrame = pos
  3343. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3344. local rngm = Instance.new("SpecialMesh", rng)
  3345. rngm.MeshType = "Brick"
  3346. rngm.Scale = vt(x1,y1,z1)
  3347. if rainbowmode == true then
  3348. rng.Color = Color3.new(r/255,g/255,b/255)
  3349. end
  3350. local scaler2 = 1
  3351. local speeder = FastSpeed/10
  3352. if type == "Add" then
  3353. scaler2 = 1*value
  3354. elseif type == "Divide" then
  3355. scaler2 = 1/value
  3356. end
  3357. coroutine.resume(coroutine.create(function()
  3358. for i = 0,10/bonuspeed,0.1 do
  3359. swait()
  3360. if rainbowmode == true then
  3361. rng.Color = Color3.new(r/255,g/255,b/255)
  3362. end
  3363. if type == "Add" then
  3364. scaler2 = scaler2 - 0.01*value/bonuspeed
  3365. elseif type == "Divide" then
  3366. scaler2 = scaler2 - 0.01/value*bonuspeed
  3367. end
  3368. if chaosmode == true then
  3369. rng.BrickColor = BrickColor.random()
  3370. end
  3371. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3372. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3373. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3374. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3375. end
  3376. rng:Destroy()
  3377. end))
  3378. end
  3379.  
  3380. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3381. local type = type
  3382. local rng = Instance.new("Part", effectmodel)
  3383. rng.Anchored = true
  3384. rng.BrickColor = color
  3385. rng.CanCollide = false
  3386. rng.FormFactor = 3
  3387. rng.Name = "Ring"
  3388. rng.Material = "Neon"
  3389. rng.Size = Vector3.new(1, 1, 1)
  3390. rng.Transparency = 0
  3391. rng.TopSurface = 0
  3392. rng.BottomSurface = 0
  3393. rng.CFrame = pos
  3394. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3395. local rngm = Instance.new("SpecialMesh", rng)
  3396. rngm.MeshType = "Brick"
  3397. rngm.Scale = vt(x1,y1,z1)
  3398. if rainbowmode == true then
  3399. rng.Color = Color3.new(r/255,g/255,b/255)
  3400. end
  3401. local scaler2 = 0
  3402. local speeder = FastSpeed/10
  3403. if type == "Add" then
  3404. scaler2 = 1*value
  3405. elseif type == "Divide" then
  3406. scaler2 = 1/value
  3407. end
  3408. coroutine.resume(coroutine.create(function()
  3409. for i = 0,10/bonuspeed,0.1 do
  3410. swait()
  3411. if rainbowmode == true then
  3412. rng.Color = Color3.new(r/255,g/255,b/255)
  3413. end
  3414. if type == "Add" then
  3415. scaler2 = scaler2 - 0.01*value/bonuspeed
  3416. elseif type == "Divide" then
  3417. scaler2 = scaler2 - 0.01/value*bonuspeed
  3418. end
  3419. if chaosmode == true then
  3420. rng.BrickColor = BrickColor.random()
  3421. end
  3422. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3423. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3424. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3425. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3426. end
  3427. rng:Destroy()
  3428. end))
  3429. end
  3430.  
  3431. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3432. local type = type
  3433. local rng = Instance.new("Part", effectmodel)
  3434. rng.Anchored = true
  3435. rng.BrickColor = color
  3436. rng.Color = color3
  3437. rng.CanCollide = false
  3438. rng.FormFactor = 3
  3439. rng.Name = "Ring"
  3440. rng.Material = "Neon"
  3441. rng.Size = Vector3.new(1, 1, 1)
  3442. rng.Transparency = 0
  3443. rng.TopSurface = 0
  3444. rng.BottomSurface = 0
  3445. rng.CFrame = pos
  3446. local rngm = Instance.new("SpecialMesh", rng)
  3447. rngm.MeshType = "Brick"
  3448. rngm.Scale = scale
  3449. local scaler2 = 1
  3450. local scaler2b = 1
  3451. local scaler2c = 1
  3452. if type == "Add" then
  3453. scaler2 = 1*value
  3454. scaler2b = 1*value2
  3455. scaler2c = 1*value3
  3456. elseif type == "Divide" then
  3457. scaler2 = 1/value
  3458. scaler2b = 1/value2
  3459. scaler2c = 1/value3
  3460. end
  3461. coroutine.resume(coroutine.create(function()
  3462. for i = 0,10/bonuspeed,0.1 do
  3463. swait()
  3464. if type == "Add" then
  3465. scaler2 = scaler2 - 0.01*value/bonuspeed
  3466. scaler2b = scaler2b - 0.01*value/bonuspeed
  3467. scaler2c = scaler2c - 0.01*value/bonuspeed
  3468. elseif type == "Divide" then
  3469. scaler2 = scaler2 - 0.01/value*bonuspeed
  3470. scaler2b = scaler2b - 0.01/value*bonuspeed
  3471. scaler2c = scaler2c - 0.01/value*bonuspeed
  3472. end
  3473. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3474. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3475. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3476. end
  3477. rng:Destroy()
  3478. end))
  3479. end
  3480.  
  3481. function block2(bonuspeed,aaa,type,pos,scale,value,value2,value3,color,color3)
  3482. local type = type
  3483. local rng = Instance.new("Part", effectmodel)
  3484. rng.Anchored = true
  3485. rng.BrickColor = color
  3486. rng.Color = color3
  3487. rng.CanCollide = false
  3488. rng.FormFactor = 3
  3489. rng.Name = "Ring"
  3490. rng.Material = "Neon"
  3491. rng.Size = Vector3.new(1, 1, 1)
  3492. rng.Transparency = 0
  3493. rng.TopSurface = 0
  3494. rng.BottomSurface = 0
  3495. rng.CFrame = pos
  3496. local rngm = Instance.new("SpecialMesh", rng)
  3497. rngm.MeshType = "Brick"
  3498. rngm.Scale = scale
  3499. local scaler2 = 1
  3500. local scaler2b = 1
  3501. local scaler2c = 1
  3502. if type == "Add" then
  3503. scaler2 = 1*value
  3504. scaler2b = 1*value2
  3505. scaler2c = 1*value3
  3506. elseif type == "Divide" then
  3507. scaler2 = 1/value
  3508. scaler2b = 1/value2
  3509. scaler2c = 1/value3
  3510. end
  3511. coroutine.resume(coroutine.create(function()
  3512. for i = 0,10/bonuspeed,aaa do
  3513. swait()
  3514. if type == "Add" then
  3515. scaler2 = scaler2 - 0.01*value/bonuspeed
  3516. scaler2b = scaler2b - 0.01*value/bonuspeed
  3517. scaler2c = scaler2c - 0.01*value/bonuspeed
  3518. elseif type == "Divide" then
  3519. scaler2 = scaler2 - 0.01/value*bonuspeed
  3520. scaler2b = scaler2b - 0.01/value*bonuspeed
  3521. scaler2c = scaler2c - 0.01/value*bonuspeed
  3522. end
  3523. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3524. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3525. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3526. end
  3527. rng:Destroy()
  3528. end))
  3529. end
  3530.  
  3531. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3532. local type = type
  3533. local rng = Instance.new("Part", effectmodel)
  3534. rng.Anchored = true
  3535. rng.BrickColor = color
  3536. rng.CanCollide = false
  3537. rng.FormFactor = 3
  3538. rng.Name = "Ring"
  3539. rng.Material = "Neon"
  3540. rng.Size = Vector3.new(1, 1, 1)
  3541. rng.Transparency = 0
  3542. rng.TopSurface = 0
  3543. rng.BottomSurface = 0
  3544. rng.CFrame = pos
  3545. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3546. local rngm = Instance.new("SpecialMesh", rng)
  3547. rngm.MeshType = "Sphere"
  3548. rngm.Scale = vt(x1,y1,z1)
  3549. if rainbowmode == true then
  3550. rng.Color = Color3.new(r/255,g/255,b/255)
  3551. end
  3552. local scaler2 = 1
  3553. local speeder = FastSpeed
  3554. if type == "Add" then
  3555. scaler2 = 1*value
  3556. elseif type == "Divide" then
  3557. scaler2 = 1/value
  3558. end
  3559. coroutine.resume(coroutine.create(function()
  3560. for i = 0,10/bonuspeed,0.1 do
  3561. swait()
  3562. if rainbowmode == true then
  3563. rng.Color = Color3.new(r/255,g/255,b/255)
  3564. end
  3565. if type == "Add" then
  3566. scaler2 = scaler2 - 0.01*value/bonuspeed
  3567. elseif type == "Divide" then
  3568. scaler2 = scaler2 - 0.01/value*bonuspeed
  3569. end
  3570. if chaosmode == true then
  3571. rng.BrickColor = BrickColor.random()
  3572. end
  3573. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3574. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3575. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3576. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3577. end
  3578. rng:Destroy()
  3579. end))
  3580. end
  3581.  
  3582.  
  3583. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3584. local type = type
  3585. local rng = Instance.new("Part", effectmodel)
  3586. rng.Anchored = true
  3587. rng.BrickColor = color
  3588. rng.CanCollide = false
  3589. rng.FormFactor = 3
  3590. rng.Name = "Ring"
  3591. rng.Material = "Neon"
  3592. rng.Size = Vector3.new(1, 1, 1)
  3593. rng.Transparency = 1
  3594. rng.TopSurface = 0
  3595. rng.BottomSurface = 0
  3596. rng.CFrame = pos
  3597. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3598. local rngm = Instance.new("SpecialMesh", rng)
  3599. rngm.MeshType = "Sphere"
  3600. rngm.Scale = vt(x1,y1,z1)
  3601. if rainbowmode == true then
  3602. rng.Color = Color3.new(r/255,g/255,b/255)
  3603. end
  3604.  
  3605. local scaler2 = 1
  3606. local speeder = FastSpeed
  3607. if type == "Add" then
  3608. scaler2 = 1*value
  3609. elseif type == "Divide" then
  3610. scaler2 = 1/value
  3611. end
  3612. coroutine.resume(coroutine.create(function()
  3613. for i = 0,10/bonuspeed,0.1 do
  3614. swait()
  3615. if rainbowmode == true then
  3616. rng.Color = Color3.new(r/255,g/255,b/255)
  3617. end
  3618. if type == "Add" then
  3619. scaler2 = scaler2 - 0.01*value/bonuspeed
  3620. elseif type == "Divide" then
  3621. scaler2 = scaler2 - 0.01/value*bonuspeed
  3622. end
  3623. if chaosmode == true then
  3624. rng.BrickColor = BrickColor.random()
  3625. end
  3626. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3627. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3628. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3629. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3630. end
  3631. rng:Destroy()
  3632. end))
  3633. end
  3634.  
  3635. function dmg(dude)
  3636. if dude.Name ~= Character then
  3637. local keptcolor = MAINRUINCOLOR
  3638. local bgf = Instance.new("BodyGyro",dude.Head)
  3639. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3640. --[[local val = Instance.new("BoolValue",dude)
  3641. val.Name = "IsHit"]]--
  3642. local ds = coroutine.wrap(function()
  3643. dude:WaitForChild("Head"):BreakJoints()
  3644. for i, v in pairs(dude:GetChildren()) do
  3645. if v:IsA("Part") or v:IsA("BasePart") then
  3646. v.Name = "DEMINISHED"
  3647. end
  3648. end
  3649. wait(0.5)
  3650. targetted = nil
  3651. CFuncs["Sound"].Create("rbxassetid://62339698", effectmodel, 0.75, 0.285)
  3652. coroutine.resume(coroutine.create(function()
  3653. for i, v in pairs(dude:GetChildren()) do
  3654. if v:IsA("Accessory") then
  3655. v:Destroy()
  3656. end
  3657. if v:IsA("Humanoid") then
  3658. v:Destroy()
  3659. end
  3660. if v:IsA("CharacterMesh") then
  3661. v:Destroy()
  3662. end
  3663. if v:IsA("Model") then
  3664. v:Destroy()
  3665. end
  3666. if v:IsA("Part") or v:IsA("BasePart") then
  3667. for x, o in pairs(v:GetChildren()) do
  3668. if o:IsA("Decal") then
  3669. o:Destroy()
  3670. end
  3671. end
  3672. coroutine.resume(coroutine.create(function()
  3673. v.Material = "Neon"
  3674. v.CanCollide = false
  3675. v.Anchored = false
  3676. local bld = Instance.new("ParticleEmitter",v)
  3677. bld.LightEmission = 0.75
  3678. bld.Texture = "rbxassetid://363275192" ---284205403
  3679. bld.Color = ColorSequence.new(keptcolor.Color)
  3680. bld.Rate = 500
  3681. bld.Lifetime = NumberRange.new(1)
  3682. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3683. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3684. bld.Speed = NumberRange.new(2,5)
  3685. bld.VelocitySpread = 50000
  3686. bld.Rotation = NumberRange.new(-500,500)
  3687. bld.RotSpeed = NumberRange.new(-500,500)
  3688. local sbs = Instance.new("BodyPosition", v)
  3689. sbs.P = 3000
  3690. sbs.D = 1000
  3691. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3692. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3693. v.Color = keptcolor.Color
  3694. coroutine.resume(coroutine.create(function()
  3695. for i = 0, 49 do
  3696. swait(1)
  3697. v:BreakJoints()
  3698. v.Transparency = v.Transparency + 0.02
  3699. end
  3700. v:BreakJoints()
  3701. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3702. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3703. bld.Speed = NumberRange.new(10,25)
  3704. bld.Drag = 5
  3705. bld.Acceleration = vt(0,2,0)
  3706. wait(0.5)
  3707. bld.Enabled = false
  3708. wait(8)
  3709. v:Destroy()
  3710. dude:Destroy()
  3711. end))
  3712. end))
  3713. end
  3714. end
  3715. end))
  3716. end)
  3717. ds()
  3718. end
  3719. end
  3720.  
  3721.  
  3722. function FindNearestHead(Position, Distance, SinglePlayer)
  3723. if SinglePlayer then
  3724. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3725. end
  3726. local List = {}
  3727. for i, v in pairs(workspace:GetChildren()) do
  3728. if v:IsA("Model") then
  3729. if v:findFirstChild("Head") then
  3730. if v ~= Character then
  3731. if (v.Head.Position - Position).magnitude <= Distance then
  3732. table.insert(List, v)
  3733. end
  3734. end
  3735. end
  3736. end
  3737. end
  3738. return List
  3739. end
  3740.  
  3741. function turnto()
  3742. root.CFrame=CFrame.new(root.CFrame.p,Vector3.new(mouse.Hit.p.x,char.Torso.Position.y,mouse.Hit.p.z)) * CFrame.new(0, 0, 0)
  3743. end
  3744.  
  3745. function turnto2()
  3746. root.CFrame=CFrame.new(char.Torso.Position,Vector3.new(mouse.Hit.p.x,mouse.Hit.p.y,mouse.Hit.p.z)) * CFrame.new(0, 0, 0)
  3747. end
  3748.  
  3749. function FaceMouse()
  3750. Cam = workspace.CurrentCamera
  3751. return {
  3752. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, effectmodel.Torso.Position.y, mouse.Hit.p.z)),
  3753. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3754. }
  3755. end
  3756.  
  3757. function FaceMouse2()
  3758. Cam = workspace.CurrentCamera
  3759. return {
  3760. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3761. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3762. }
  3763. end
  3764.  
  3765.  
  3766. -- Functions are ready.
  3767. local storehumanoidWS = 16
  3768.  
  3769. function createBGCircle(size,parent,color)
  3770. local bgui = Instance.new("BillboardGui",parent)
  3771. bgui.Size = UDim2.new(size, 0, size, 0)
  3772. local imgc = Instance.new("ImageLabel",bgui)
  3773. imgc.BackgroundTransparency = 1
  3774. imgc.ImageTransparency = 0
  3775. imgc.Size = UDim2.new(1,0,1,0)
  3776. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  3777. imgc.ImageColor3 = color
  3778. return bgui,imgc
  3779. end
  3780.  
  3781. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  3782. local bgui,imgc = createBGCircle(size,guipar,color)
  3783. bgui.AlwaysOnTop = true
  3784. imgc.Image = "rbxassetid://" ..img
  3785. local rrot = math.random(1,2)
  3786. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  3787. coroutine.resume(coroutine.create(function()
  3788. for i = 0, 24*delay do
  3789. swait()
  3790. if rotationenabled == true then
  3791. if rrot == 1 then
  3792. imgc.Rotation = imgc.Rotation + rotsp
  3793. elseif rrot == 2 then
  3794. imgc.Rotation = imgc.Rotation - rotsp
  3795. end
  3796. end
  3797. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  3798. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  3799. end
  3800. bgui:Destroy()
  3801. end))
  3802. end
  3803.  
  3804.  
  3805.  
  3806. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled,sectrailenabled,mainenabled,matone,mattwo)
  3807. for i, v in pairs(mwY:GetChildren()) do
  3808. if v:IsA("Part") then
  3809. v.Color = (typeof(one) == 'Color3' and one or one.Color)
  3810. v.Material = "Neon"
  3811. end
  3812. end
  3813. for i, v in pairs(mw2:GetDescendants()) do
  3814. if v:IsA("Part") or v:IsA("BasePart") then
  3815. v.Color = (typeof(one) == 'Color3' and one or one.Color)
  3816. v.Material = matone or "Neon"
  3817. if mainenabled == true then
  3818. v.Transparency = 0
  3819. elseif mainenabled == false then
  3820. v.Transparency = 1
  3821. end
  3822. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  3823. v.Color = ColorSequence.new((typeof(one) == 'Color3' and one or one.Color))
  3824. if mainenabled == true then
  3825. v.Enabled = true
  3826. elseif mainenabled == false then
  3827. v.Enabled = false
  3828. end
  3829. end
  3830. end
  3831. for i, v in pairs(mw1:GetDescendants()) do
  3832. if v:IsA("Part") or v:IsA("BasePart") then
  3833. v.Color = (typeof(two) == 'Color3' and two or two.Color)
  3834. v.Material = mattwo or "Neon"
  3835. if secondaryenabled == true then
  3836. v.Transparency = 0
  3837. elseif secondaryenabled == false then
  3838. v.Transparency = 1
  3839. end
  3840. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  3841. v.Color = ColorSequence.new((typeof(two) == 'Color3' and two or two.Color))
  3842. if secondaryenabled == true then
  3843. v.Enabled = true
  3844. elseif secondaryenabled == false then
  3845. v.Enabled = false
  3846. end
  3847. end
  3848. end
  3849. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  3850. symbolizeBlink(root,0,2092248396,(typeof(one) == 'Color3' and one or one.Color),5,3,1,847061203,root,true,10,1)
  3851. symbolizeBlink(root,0,2092248396,(typeof(one) == 'Color3' and one or one.Color),4,0,0,0,root,true,-5,1)
  3852. refec.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3853. for i, v in pairs(m:GetChildren()) do
  3854. if v:IsA("Part") then
  3855. v.BrickColor = three
  3856. v.Material = "Ice"
  3857. end
  3858. end
  3859. for i, v in pairs(m2:GetChildren()) do
  3860. if v:IsA("Part") then
  3861. v.BrickColor = four
  3862. v.Material = "Ice"
  3863. end
  3864. end
  3865. for i, v in pairs(m3:GetChildren()) do
  3866. if v:IsA("Part") then
  3867. v.BrickColor = five
  3868. v.Material = "Neon"
  3869. end
  3870. end
  3871. for i, v in pairs(extrawingmod1:GetDescendants()) do
  3872. if v:IsA("Part") or v:IsA("BasePart") then
  3873. v.Color = (typeof(exone) == 'Color3' and exone or exone.Color)
  3874. v.Material = "Neon"
  3875. v.Transparency = exonetran
  3876. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  3877. v.Color = ColorSequence.new((typeof(exone) == 'Color3' and exone or exone.Color))
  3878. if exonetran == 1 then
  3879. v.Enabled = true
  3880. elseif exonetran == 0 then
  3881. v.Enabled = false
  3882. end
  3883. end
  3884. end
  3885. for i, v in pairs(extrawingmod2:GetDescendants()) do
  3886. if v:IsA("Part") or v:IsA("BasePart") then
  3887. v.Color = (typeof(extwo) == 'Color3' and exone or extwo.Color)
  3888. v.Material = "Neon"
  3889. v.Transparency = extwotran
  3890. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  3891. v.Color = ColorSequence.new((typeof(extwo) == 'Color3' and extwo or extwo.Color))
  3892. if extwotran == 1 then
  3893. v.Enabled = true
  3894. elseif extwotran == 0 then
  3895. v.Enabled = false
  3896. end
  3897. end
  3898. end
  3899. end
  3900.  
  3901. function attacktwo()
  3902. attack = true
  3903. hum.WalkSpeed = 2
  3904. local keptcolor = MAINRUINCOLOR
  3905. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  3906. 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)
  3907. 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)
  3908. for i = 0, 14 do
  3909. 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,SECONDRUINCOLOR,0)
  3910. end
  3911. for i = 0,1,0.1 do
  3912. swait()
  3913. 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)
  3914. 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)
  3915. 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)
  3916. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  3917. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  3918. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  3919. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  3920. end
  3921. for i = 0, 1 do
  3922. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  3923. for i = 0,1,0.6 do
  3924. swait()
  3925. 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)
  3926. 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"))
  3927. 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)
  3928. 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)
  3929. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  3930. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3931. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3932. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3933. end
  3934. for i = 0,1,0.6 do
  3935. swait()
  3936. 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)
  3937. 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"))
  3938. 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)
  3939. 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)
  3940. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  3941. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3942. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3943. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3944. end
  3945. for i = 0,1,0.6 do
  3946. swait()
  3947. 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)
  3948. 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"))
  3949. 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)
  3950. 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)
  3951. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  3952. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3953. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3954. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3955. end
  3956. for i = 0,1,0.6 do
  3957. swait()
  3958. 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)
  3959. 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"))
  3960. 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)
  3961. 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)
  3962. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  3963. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3964. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3965. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3966. end
  3967. local rot = 0
  3968. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  3969. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  3970. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  3971. CreateMesh(dis,"Sphere",10,1,10)
  3972. local at1 = Instance.new("Attachment",dis)
  3973. at1.Position = vt(-5,0,0)
  3974. local at2 = Instance.new("Attachment",dis)
  3975. at2.Position = vt(5,0,0)
  3976. local trl = Instance.new('Trail',wed)
  3977. trl.Attachment0 = at1
  3978. trl.Attachment1 = at2
  3979. trl.Texture = "rbxassetid://1049219073"
  3980. trl.LightEmission = 1
  3981. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3982. trl.Color = ColorSequence.new(dis.Color)
  3983. trl.Lifetime = 0.6
  3984. local a = Instance.new("Part",workspace)
  3985. a.Name = "Direction"
  3986. a.Anchored = true
  3987. a.BrickColor = bc("Bright red")
  3988. a.Material = "Neon"
  3989. a.Transparency = 1
  3990. a.CanCollide = false
  3991. local ray = Ray.new(
  3992. dis.CFrame.p, -- origin
  3993. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  3994. )
  3995. local ignore = dis
  3996. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3997. a.BottomSurface = 10
  3998. a.TopSurface = 10
  3999. local distance = (dis.CFrame.p - position).magnitude
  4000. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4001. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  4002. dis.CFrame = a.CFrame
  4003. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4004. a:Destroy()
  4005. local bv = Instance.new("BodyVelocity")
  4006. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4007. bv.velocity = dis.CFrame.lookVector*250
  4008. bv.Parent = dis
  4009. game:GetService("Debris"):AddItem(dis, 5)
  4010. local hitted = false
  4011. coroutine.resume(coroutine.create(function()
  4012. dis.Touched:connect(function(hit)
  4013. if hitted == false and not hit:IsDescendantOf(char) then
  4014. hitted = true
  4015. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  4016. CamShakeAll({
  4017. Duration=0.4;
  4018. Intensity=3;
  4019. Position=Vector3.new(2,2,2);
  4020. Rotation=Vector3.new(2,2,6);
  4021. DropDist=60;
  4022. IneffectiveDist=80;
  4023. Origin=dis.Position;
  4024. })
  4025. MagniDamage(dis, 30, 13,36, 0, "Normal")
  4026. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  4027. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,SECONDRUINCOLOR,SECONDRUINCOLOR.Color)
  4028. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,SECONDRUINCOLOR,SECONDRUINCOLOR.Color)
  4029. local eff = Instance.new("ParticleEmitter",dis)
  4030. eff.Texture = "rbxassetid://2344870656"
  4031. eff.LightEmission = 1
  4032. eff.Color = ColorSequence.new(dis.Color)
  4033. eff.Rate = 10000000
  4034. eff.Enabled = true
  4035. eff.EmissionDirection = "Front"
  4036. eff.Lifetime = NumberRange.new(1)
  4037. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  4038. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4039. eff.Speed = NumberRange.new(150)
  4040. eff.Drag = 5
  4041. eff.Rotation = NumberRange.new(-500,500)
  4042. eff.SpreadAngle = Vector2.new(0,900)
  4043. eff.RotSpeed = NumberRange.new(-500,500)
  4044. delay(0.2, function() eff.Enabled = false end)
  4045. coroutine.resume(coroutine.create(function()
  4046. for i = 0, 9 do
  4047. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  4048. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4049. local at1 = Instance.new("Attachment",disr)
  4050. at1.Position = vt(-5,0,0)
  4051. local at2 = Instance.new("Attachment",disr)
  4052. at2.Position = vt(5,0,0)
  4053. local trl = Instance.new('Trail',disr)
  4054. trl.Attachment0 = at1
  4055. trl.FaceCamera = true
  4056. trl.Attachment1 = at2
  4057. trl.Texture = "rbxassetid://2342682798"
  4058. trl.LightEmission = 1
  4059. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4060. trl.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
  4061. trl.Lifetime = 0.5
  4062. local bv = Instance.new("BodyVelocity")
  4063. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4064. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  4065. bv.Parent = disr
  4066. local val = 0
  4067. coroutine.resume(coroutine.create(function()
  4068. swait(30)
  4069. for i = 0, 9 do
  4070. swait()
  4071. val = val + 0.1
  4072. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  4073. end
  4074. game:GetService("Debris"):AddItem(disr, 3)
  4075. end))
  4076. end
  4077. local eff = Instance.new("ParticleEmitter",dis)
  4078. eff.Texture = "rbxassetid://2273224484"
  4079. eff.LightEmission = 1
  4080. eff.Color = ColorSequence.new(keptcolor.Color)
  4081. eff.Rate = 500000
  4082. eff.Lifetime = NumberRange.new(0.5,2)
  4083. 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)})
  4084. 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)})
  4085. eff.Speed = NumberRange.new(20,250)
  4086. eff.Drag = 5
  4087. eff.Rotation = NumberRange.new(-500,500)
  4088. eff.VelocitySpread = 9000
  4089. eff.RotSpeed = NumberRange.new(-50,50)
  4090. wait(0.25)
  4091. eff.Enabled = false
  4092. end))
  4093. for i = 0, 9 do
  4094. 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,SECONDRUINCOLOR)
  4095. end
  4096. for i = 0, 19 do
  4097. 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)
  4098. end
  4099. dis.Anchored = true
  4100. dis.Transparency = 1
  4101. wait(8)
  4102. dis:Destroy()
  4103. end
  4104. end)
  4105. end))
  4106. rot = rot - 15
  4107. end
  4108. for i = 0,2,0.1 do
  4109. swait()
  4110. 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)
  4111. 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)
  4112. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  4113. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  4114. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  4115. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  4116. end
  4117. attack = false
  4118. hum.WalkSpeed = storehumanoidWS
  4119. end
  4120.  
  4121. function attackone()
  4122. attack = true
  4123. symbolizeBlink(sorb,0,2109052855,MAINRUINCOLOR.Color,1.5,5,0.9,1614005837,sorb,true,10,1)
  4124. symbolizeBlink(sorb,0,2109052855,SECONDRUINCOLOR.Color,1.6,5,1,1923591005,sorb,true,10,1)
  4125. symbolizeBlink(sorb,0,2092248396,MAINRUINCOLOR.Color,3,0,0,0,sorb,true,10,1.25)
  4126. symbolizeBlink(sorb,0,2344870656,SECONDRUINCOLOR.Color,10,0,0,0,sorb,true,10,1.5)
  4127. for i = 0,1,0.1 do
  4128. swait()
  4129. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  4130. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  4131. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  4132. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4133. 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)
  4134. 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)
  4135. end
  4136. coroutine.resume(coroutine.create(function()
  4137. local hite = Instance.new("Part", effectmodel)
  4138. hite.Anchored = true
  4139. hite.CanCollide = false
  4140. hite.FormFactor = 3
  4141. hite.Name = "Ring"
  4142. hite.Material = "Neon"
  4143. hite.Size = Vector3.new(1, 1, 1)
  4144. hite.Transparency = 1
  4145. hite.TopSurface = 0
  4146. hite.BottomSurface = 0
  4147. local eff = Instance.new("ParticleEmitter",hite)
  4148. eff.Texture = "rbxassetid://2273224484"
  4149. eff.LightEmission = 1
  4150. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4151. eff.Rate = 90000000
  4152. eff.Lifetime = NumberRange.new(0.5,2)
  4153. 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)})
  4154. 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)})
  4155. eff.Speed = NumberRange.new(20,90)
  4156. eff.Drag = 5
  4157. eff.Rotation = NumberRange.new(-500,500)
  4158. eff.VelocitySpread = 9000
  4159. eff.RotSpeed = NumberRange.new(-50,50)
  4160. local distlook = 12.5
  4161. for i = 0, 4 do
  4162. swait(4)
  4163. hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
  4164. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,SECONDRUINCOLOR)
  4165. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
  4166. CamShakeAll({
  4167. Duration=0.25;
  4168. Intensity=1.75;
  4169. Position=Vector3.new(2,2,2);
  4170. Rotation=Vector3.new(2,2,6);
  4171. DropDist=35;
  4172. IneffectiveDist=65;
  4173. Origin=hite.Position;
  4174. })
  4175. MagniDamage(hite, 11.5, 10,25, 0, "Normal")
  4176. for i = 0, 21 do
  4177. sphereMK(3,0.2,"Add",hite.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,MAINRUINCOLOR,0)
  4178. sphereMK(6,0.35,"Add",hite.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,SECONDRUINCOLOR,0)
  4179. end
  4180. CFuncs["Sound"].Create("rbxassetid://183763506", hite, 3, 1)
  4181. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 0.6)
  4182. game:GetService("Debris"):AddItem(hite, 5)
  4183. distlook = distlook + 15
  4184. end
  4185. wait(0.5)
  4186. eff.Enabled = false
  4187. wait(3.1)
  4188. eff:Destroy()
  4189. end))
  4190. for i = 0,2,0.1 do
  4191. swait()
  4192. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  4193. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  4194. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  4195. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  4196. 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)
  4197. 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)
  4198. end
  4199. attack = false
  4200. end
  4201.  
  4202. function attackthree()
  4203. attack = true
  4204. hum.WalkSpeed = 5
  4205. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.5)
  4206. for i = 0,3.5,0.1 do
  4207. swait()
  4208. sphereMK(2.5,-4.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,SECONDRUINCOLOR,200)
  4209. 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)
  4210. 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)
  4211. 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)
  4212. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  4213. 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)
  4214. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  4215. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  4216. end
  4217. for i = 0, 24 do
  4218. 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,MAINRUINCOLOR)
  4219. end
  4220. CamShakeAll({
  4221. Duration=1;
  4222. Intensity=2;
  4223. Position=Vector3.new(2,2,2);
  4224. Rotation=Vector3.new(2,2,6);
  4225. DropDist=50;
  4226. IneffectiveDist=120;
  4227. Origin=root.Position;
  4228. })
  4229. MagniDamage(root,50,20,45,0,"Normal")
  4230. coroutine.resume(coroutine.create(function()
  4231. for i = 0, 46 do
  4232. swait()
  4233. 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)
  4234. 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,SECONDRUINCOLOR)
  4235. end
  4236. end))
  4237. CFuncs["Sound"].Create("rbxassetid://206082327", root, 5,1)
  4238. CFuncs["Sound"].Create("rbxassetid://847061203", root, 6,1)
  4239. CFuncs["Sound"].Create("rbxassetid://239000203", root, 5,1)
  4240. CFuncs["Sound"].Create("rbxassetid://579687077", root, 5,0.75)
  4241. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7,1)
  4242. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  4243. CFuncs["Sound"].Create("rbxassetid://782353443", root, 4.5, 1)
  4244. for i = 0,3,0.1 do
  4245. swait()
  4246. 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)
  4247. 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)
  4248. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  4249. 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)
  4250. 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)
  4251. 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)
  4252.  
  4253. end
  4254. hum.WalkSpeed = storehumanoidWS
  4255. attack = false
  4256. end
  4257.  
  4258. local blush = Instance.new("Decal",hed)
  4259. blush.Texture = "rbxassetid://898404027"
  4260. blush.Face = "Front"
  4261. blush.Parent = nil
  4262. blush.Transparency = 1
  4263. ----------------------------------- Abilities
  4264. function SecludedSpikes()
  4265. attack=true
  4266. local dialogues={"To hell you go!","This is..","Secluded Spikes!","And now you stand alone!"}
  4267. local dialog=dialogues[math.random(1,#dialogues)]
  4268.  
  4269. if(dialog~=dialogues[4])then
  4270. newbosschatfunc(dialog,Color3.new(0,0,0),BrickColor.new'Black'.Color,120)
  4271. end
  4272. if(dialog==dialogues[2])then
  4273. CFuncs["Sound"].Create("rbxassetid://1548599511",root,2.5,.7)
  4274. CFuncs["Sound"].Create("rbxassetid://1548599511",root,2.5,.8)
  4275. end
  4276. for i = 0,7,0.1 do
  4277. swait()
  4278. RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(-35),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),.2)
  4279. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),.2)
  4280. RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(-15),0,math.rad(45)),.2)
  4281. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,math.rad(-45)),.2)
  4282. RW.C0=clerp(RW.C0,cf(1.3,0.8,0)*angles(math.rad(175),0,math.rad(-15)),.2)
  4283. LW.C0=clerp(LW.C0,cf(-1.3,0.8,0)*angles(math.rad(175),0,math.rad(15)),.2)
  4284. local rsiz = math.random(1,2)
  4285. sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",RightLeg.CFrame*cf(0,-1,0)*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/5,rsiz/5,rsiz/5,0,MAINRUINCOLOR,0)
  4286. sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",RightLeg.CFrame*cf(0,-1,0)*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/2,rsiz/2,rsiz/2,0,MAINRUINCOLOR,0)
  4287.  
  4288. end
  4289. if(dialog==dialogues[2])then
  4290. newbosschatfunc("THE END!",Color3.new(0,0,0),BrickColor.new'Black'.Color,120)
  4291. CFuncs["Sound"].Create("rbxassetid://1548599962",root,2.5,.7)
  4292. CFuncs["Sound"].Create("rbxassetid://1548599962",root,2.5,.8)
  4293. end
  4294. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  4295. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  4296. for i = 0,.5,0.1 do
  4297. swait()
  4298. RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(25),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),.6)
  4299. LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(-5),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  4300. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-.2,0)*angles(math.rad(25),0,0),.6)
  4301. Torso.Neck.C0=clerp(Torso.Neck.C0,necko,.4)
  4302. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-45),0,math.rad(25)),.4)
  4303. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-45),0,math.rad(-25)),.4)
  4304. end
  4305. local out=5
  4306. local start=root.CFrame
  4307. CamShakeAll({
  4308. Duration=.5;
  4309. Intensity=5;
  4310. Position=Vector3.new(2,2,2);
  4311. Rotation=Vector3.new(2,2,6);
  4312. DropDist=25;
  4313. IneffectiveDist=65;
  4314. Origin=start;
  4315. })
  4316. coroutine.wrap(function()
  4317. for rad = 0, 180,5 do
  4318. if(rad>90)then
  4319. out=out-5
  4320. else
  4321. out=out+5
  4322. end
  4323. local sp1 = Spike:Clone()
  4324. sp1.Parent = char
  4325. sp1.CFrame=start*angles(0,math.rad(rad),0)*cf(0,-15,out)
  4326. local sp2 = Spike:Clone()
  4327. sp2.Parent = char
  4328. sp2.CFrame=start*angles(0,math.rad(rad),0)*cf(0,-15,-out)
  4329. local sp3 = Spike:Clone()
  4330. sp3.Parent = char
  4331. sp3.CFrame=start*angles(0,math.rad(rad),0)*cf(out,-15,0)
  4332. local sp4 = Spike:Clone()
  4333. sp4.Parent = char
  4334. sp4.CFrame=root.CFrame*angles(0,math.rad(rad),0)*cf(-out,-15,0)
  4335.  
  4336. sphere2(12,"Add",sp1.CFrame*cf(0,1,0),vt(1,1,1),0.2,2,0.2,BrickColor.new'Black',BrickColor.new'Black'.Color)
  4337. sphere2(8,"Add",sp1.CFrame*cf(0,1,0),vt(1,1,1),1,1,1,BrickColor.new'Black',BrickColor.new'Black'.Color)
  4338. sphere2(12,"Add",sp2.CFrame*cf(0,1,0),vt(1,1,1),0.2,2,0.2,BrickColor.new'Black',BrickColor.new'Black'.Color)
  4339. sphere2(8,"Add",sp2.CFrame*cf(0,1,0),vt(1,1,1),1,1,1,BrickColor.new'Black',BrickColor.new'Black'.Color)
  4340. sphere2(12,"Add",sp3.CFrame*cf(0,1,0),vt(1,1,1),0.2,2,0.2,BrickColor.new'Black',BrickColor.new'Black'.Color)
  4341. sphere2(8,"Add",sp3.CFrame*cf(0,1,0),vt(1,1,1),1,1,1,BrickColor.new'Black',BrickColor.new'Black'.Color)
  4342. sphere2(12,"Add",sp4.CFrame*cf(0,1,0),vt(1,1,1),0.2,2,0.2,BrickColor.new'Black',BrickColor.new'Black'.Color)
  4343. sphere2(8,"Add",sp4.CFrame*cf(0,1,0),vt(1,1,1),1,1,1,BrickColor.new'Black',BrickColor.new'Black'.Color)
  4344.  
  4345. MagniDamage(sp1, 20, 15,25, 0, "Normal")
  4346. MagniDamage(sp2, 20, 15,25, 0, "Normal")
  4347. MagniDamage(sp3, 20, 15,25, 0, "Normal")
  4348. MagniDamage(sp4, 20, 15,25, 0, "Normal")
  4349. coroutine.wrap(function()
  4350. for i = -15, 0 do
  4351. sp1.CFrame=sp1.CFrame*cf(0,1,0)
  4352. sp2.CFrame=sp2.CFrame*cf(0,1,0)
  4353. sp3.CFrame=sp3.CFrame*cf(0,1,0)
  4354. sp4.CFrame=sp4.CFrame*cf(0,1,0)
  4355. swait()
  4356. end
  4357. delay(3,function()
  4358. for i = -15, 0 do
  4359. sp1.CFrame=sp1.CFrame*cf(0,-1,0)
  4360. sp2.CFrame=sp2.CFrame*cf(0,-1,0)
  4361. sp3.CFrame=sp3.CFrame*cf(0,-1,0)
  4362. sp4.CFrame=sp4.CFrame*cf(0,-1,0)
  4363. swait()
  4364. end
  4365. sp1:destroy()
  4366. sp2:destroy()
  4367. sp3:destroy()
  4368. sp4:destroy()
  4369. end)
  4370. end)()
  4371. swait()
  4372. end
  4373. end)()
  4374.  
  4375. for i = 0,2.5,0.1 do
  4376. swait()
  4377. RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(25),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),.6)
  4378. LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(-5),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  4379. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-.2,0)*angles(math.rad(25),0,0),.6)
  4380. Torso.Neck.C0=clerp(Torso.Neck.C0,necko,.4)
  4381. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-45),0,math.rad(25)),.4)
  4382. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-45),0,math.rad(-25)),.4)
  4383. end
  4384. if(dialog==dialogues[4])then
  4385. newbosschatfunc(dialog,Color3.new(0,0,0),BrickColor.new'Black'.Color,120)
  4386. CFuncs["Sound"].Create("rbxassetid://907328147",root,2.5,1)
  4387. end
  4388. attack=false
  4389. end
  4390.  
  4391. function ExtinctiveHeartbreak()
  4392. local targetted = nil
  4393. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4394. targetted = mouse.Target.Parent
  4395. end
  4396. if targetted ~= nil then
  4397. attack = true
  4398. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  4399. for i = 0, 9 do
  4400. 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,MAINRUINCOLOR,0)
  4401. end
  4402. for i = 0, 24 do
  4403. 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,MAINRUINCOLOR,0)
  4404. end
  4405. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4406. local originalpos = root.CFrame
  4407. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  4408. for i = 0, 9 do
  4409. 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,MAINRUINCOLOR,0)
  4410. end
  4411. for i = 0, 24 do
  4412. 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,MAINRUINCOLOR,0)
  4413. end
  4414. hum.WalkSpeed = 0
  4415. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4416. local radm = math.random(1,3)
  4417. if radm == 1 then
  4418. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  4419. elseif radm == 2 then
  4420. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  4421. elseif radm == 3 then
  4422. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  4423. end
  4424. for i = 0,2,0.1 do
  4425. swait()
  4426. 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)
  4427. 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)
  4428. 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)
  4429. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  4430. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
  4431. 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)
  4432. end
  4433. CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
  4434. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
  4435. for i = 0,2,0.1 do
  4436. swait()
  4437. coroutine.resume(coroutine.create(function()
  4438. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  4439. for i,v in pairs(targetted:GetChildren()) do
  4440. if v:IsA("Part") or v:IsA("BasePart") then
  4441. v.Velocity = vt(0,0,0)
  4442. end
  4443. end
  4444. end))
  4445. 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)
  4446. 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)
  4447. 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)
  4448. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  4449. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  4450. 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)
  4451. end
  4452. CFuncs["EchoSound"].Create("rbxassetid://824687369", effectmodel, 1.5, 1,0,10,0.25,0.5,1)
  4453. CFuncs["EchoSound"].Create("rbxassetid://153092227", effectmodel, 1.5, 0.9,0,10,0.25,0.5,1)
  4454. for i = 0, 1 do
  4455. CFuncs["EchoSound"].Create("rbxassetid://1690476035", effectmodel, 1.5, 1,0.1,10,0.15,0.5,1)
  4456. end
  4457. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
  4458. chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  4459. for i = 0,4,0.1 do
  4460. swait()
  4461. coroutine.resume(coroutine.create(function()
  4462. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  4463. 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)))
  4464. local at1 = Instance.new("Attachment",dis)
  4465. at1.Position = vt(-25000,0,0)
  4466. local at2 = Instance.new("Attachment",dis)
  4467. at2.Position = vt(25000,0,0)
  4468. local trl = Instance.new('Trail',dis)
  4469. trl.Attachment0 = at1
  4470. trl.FaceCamera = true
  4471. trl.Attachment1 = at2
  4472. trl.Texture = "rbxassetid://1049219073"
  4473. trl.LightEmission = 1
  4474. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4475. trl.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
  4476. trl.Lifetime = 5
  4477. local bv = Instance.new("BodyVelocity")
  4478. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4479. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  4480. bv.Parent = dis
  4481. game:GetService("Debris"):AddItem(dis, 5)
  4482. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  4483. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  4484. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  4485. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  4486. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  4487. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  4488. 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)
  4489. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  4490. for i = 0, 2 do
  4491. 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,SECONDRUINCOLOR)
  4492. end
  4493. symbolizeBlink(targetted.Head,0,2092248396,MAINRUINCOLOR.Color,math.random(3,35),0,0,0,targetted.Head,true,math.random(3,9),0.25)
  4494. for i,v in pairs(targetted:GetChildren()) do
  4495. if v:IsA("Part") or v:IsA("BasePart") then
  4496. v.Velocity = vt(0,0,0)
  4497. end
  4498. end
  4499. end))
  4500. CamShakeAll({
  4501. Duration=.1;
  4502. Intensity=5;
  4503. Position=Vector3.new(2,2,2);
  4504. Rotation=Vector3.new(2,2,6);
  4505. DropDist=200;
  4506. IneffectiveDist=300;
  4507. Origin=sorb.Position;
  4508. })
  4509. 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)
  4510. 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)
  4511. 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)
  4512. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  4513. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(40)),.8)
  4514. 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)
  4515. end
  4516. for i = 0, 49 do
  4517. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  4518. 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)))
  4519. local at1 = Instance.new("Attachment",dis)
  4520. at1.Position = vt(-50000,0,0)
  4521. local at2 = Instance.new("Attachment",dis)
  4522. at2.Position = vt(50000,0,0)
  4523. local trl = Instance.new('Trail',dis)
  4524. trl.Attachment0 = at1
  4525. trl.FaceCamera = true
  4526. trl.Attachment1 = at2
  4527. trl.Texture = "rbxassetid://1049219073"
  4528. trl.LightEmission = 1
  4529. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4530. trl.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
  4531. trl.Lifetime = 5
  4532. local bv = Instance.new("BodyVelocity")
  4533. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4534. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  4535. bv.Parent = dis
  4536. game:GetService("Debris"):AddItem(dis, 5)
  4537. end
  4538. for i = 0, 49 do
  4539. 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)
  4540. 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,MAINRUINCOLOR)
  4541. end
  4542. CFuncs["EchoSound"].Create("rbxassetid://824687369", effectmodel, 2, 0.9,0,10,0.25,0.5,1)
  4543. for i = 0, 1 do
  4544. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  4545. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  4546. end
  4547. for i = 0, 4 do
  4548. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  4549. end
  4550. symbolizeBlink(targetted.Head,0,2109052855,MAINRUINCOLOR.Color,30,0,0,0,root,false,0,1)
  4551. symbolizeBlink(targetted.Head,0,2109052855,MAINRUINCOLOR.Color,30,0,0,0,root,false,0,2)
  4552. symbolizeBlink(targetted.Head,0,2109052855,MAINRUINCOLOR.Color,30,0,0,0,root,false,0,4)
  4553. dmg(targetted)
  4554. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  4555. for i = 0, 9 do
  4556. 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,MAINRUINCOLOR,0)
  4557. end
  4558. for i = 0, 24 do
  4559. 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,MAINRUINCOLOR,0)
  4560. end
  4561. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4562. root.CFrame = originalpos
  4563. for i = 0, 9 do
  4564. 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,MAINRUINCOLOR,0)
  4565. end
  4566. for i = 0, 24 do
  4567. 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,MAINRUINCOLOR,0)
  4568. end
  4569. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4570. attack = false
  4571. hum.WalkSpeed = storehumanoidWS
  4572. end
  4573. end
  4574.  
  4575. local stealth = false
  4576. function StealthWarped()
  4577. if stealth then
  4578. return
  4579. end
  4580. attack = true
  4581. stealth = true
  4582. hum.WalkSpeed = 0
  4583. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  4584. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  4585. for i = 0, 4, 0.1 do
  4586. swait()
  4587. block(10,"Add",sorb.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4588. block(10,"Add",sorb2.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4589. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  4590. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  4591. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  4592. end
  4593. sphere2(4,"Add",sorb2.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  4594. sphere2(2,"Add",sorb2.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  4595. sphere2(4,"Add",sorb.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  4596. sphere2(2,"Add",sorb.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  4597. CFuncs["Sound"].Create("rbxassetid://840567549", root, 10, 1)
  4598. newTheme("rbxassetid://0",48.6,1,0.8)
  4599. char.Head.Transparency = 0.5
  4600. char["Left Arm"].Transparency = 0.5
  4601. char["Left Leg"].Transparency = 0.5
  4602. char["Right Arm"].Transparency = 0.5
  4603. char["Right Leg"].Transparency = 0.5
  4604. char.Torso.Transparency = 0.5
  4605. attack = false
  4606. hum.WalkSpeed = 60
  4607. storehumanoidWS = 60
  4608. swait(400)
  4609. char.Head.Transparency = 0
  4610. char["Left Arm"].Transparency = 0
  4611. char["Left Leg"].Transparency = 0
  4612. char["Right Arm"].Transparency = 0
  4613. char["Right Leg"].Transparency = 0
  4614. char.Torso.Transparency = 0
  4615. stealth = false
  4616. storehumanoidWS = 16
  4617. hum.WalkSpeed = storehumanoidWS
  4618. newTheme("rbxassetid://1119453744",48.6,1,0.8)
  4619. end
  4620.  
  4621. function QuickSnap()
  4622. hum.WalkSpeed = 1
  4623. attack = true
  4624. for i = 0,0.5,0.1 do
  4625. swait()
  4626. 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(0)),.2)
  4627. 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(0)),.2)
  4628. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4629. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.2)
  4630. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(50)),.2)
  4631. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-50)),.2)
  4632. end
  4633. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  4634. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,SECONDRUINCOLOR)
  4635. for i = 0, 24 do
  4636. 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,SECONDRUINCOLOR)
  4637. end
  4638. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  4639. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  4640. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  4641. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  4642. local eff = Instance.new("ParticleEmitter",sorb2)
  4643. eff.Texture = "rbxassetid://2273224484"
  4644. eff.LightEmission = 1
  4645. eff.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
  4646. eff.Rate = 900000000
  4647. eff.Lifetime = NumberRange.new(0.5,2)
  4648. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,8,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  4649. 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)})
  4650. eff.Speed = NumberRange.new(50,250)
  4651. eff.Drag = 5
  4652. eff.Rotation = NumberRange.new(-500,500)
  4653. eff.VelocitySpread = 9000
  4654. eff.RotSpeed = NumberRange.new(-50,50)
  4655. local eff2 = eff:Clone()
  4656. eff2.Parent = sorb
  4657. eff2.LightEmission = 0
  4658. eff2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4659. for i = 0,4,0.1 do
  4660. swait(1)
  4661. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  4662. local dis = CreateParta(char,0.25,1,"Neon",SECONDRUINCOLOR)
  4663. CreateMesh(dis,"Sphere",1,1,1)
  4664. dis.Anchored = true
  4665. dis.CFrame = sorb2.CFrame
  4666. local dis2 = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  4667. CreateMesh(dis2,"Sphere",1,1,1)
  4668. dis2.Anchored = true
  4669. dis2.CFrame = sorb.CFrame
  4670. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  4671. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  4672. game:GetService("Debris"):AddItem(dis, 5)
  4673. game:GetService("Debris"):AddItem(dis2, 5)
  4674. RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 1.5),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 / 3))),.2)
  4675. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 1.5),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 / 3))),.2)
  4676. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 1.5))*angles(math.rad(25 - 4 * math.cos(sine / 1.5)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 3))),.2)
  4677. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 1.5)),math.rad(0),math.rad(0 + 1 * math.cos(sine / 3))),.2)
  4678. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70 + 4 * math.cos(sine / 1.5)),math.rad(0),math.rad(70)),.2)
  4679. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70 + 4 * math.cos(sine / 1.5)),math.rad(0),math.rad(-70)),.2)
  4680. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(1,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.25,0.25,3,-0.00375,MAINRUINCOLOR,0)
  4681. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(1,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.25,0.25,3,-0.00375,SECONDRUINCOLOR,0)
  4682. coroutine.resume(coroutine.create(function()
  4683. swait(5)
  4684. coroutine.resume(coroutine.create(function()
  4685. CamShakeAll({
  4686. Duration=0.25;
  4687. Intensity=0.9;
  4688. Position=Vector3.new(2,2,2);
  4689. Rotation=Vector3.new(2,2,6);
  4690. DropDist=75;
  4691. IneffectiveDist=125;
  4692. Origin=dis.Position;
  4693. })
  4694. CamShakeAll({
  4695. Duration=0.25;
  4696. Intensity=0.9;
  4697. Position=Vector3.new(2,2,2);
  4698. Rotation=Vector3.new(2,2,6);
  4699. DropDist=75;
  4700. IneffectiveDist=125;
  4701. Origin=dis2.Position;
  4702. })
  4703. end))
  4704. swait(20)
  4705. dis.Transparency = 1
  4706. dis2.Transparency = 1
  4707. MagniDamage(dis, 55, 50,99, 0, "Normal")
  4708. MagniDamage(dis2, 55, 50,99, 0, "Normal")
  4709. for i = 0, 2 do
  4710. 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)
  4711. 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)
  4712. end
  4713. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  4714. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  4715. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  4716. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  4717. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  4718. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  4719. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  4720. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  4721. dis:Destroy()
  4722. dis2:Destroy()
  4723. end))
  4724. end
  4725. eff.Enabled=false
  4726. eff2.Enabled=false
  4727. attack = false
  4728. hum.WalkSpeed = storehumanoidWS
  4729. wait(2)
  4730. eff:Destroy()
  4731. eff2:Destroy()
  4732. end
  4733.  
  4734. function Ballesta_Shards()
  4735. attack = true
  4736. hum.WalkSpeed = 2
  4737. local keptcolor = BrickColor.new("Really red")
  4738. local keptcolor2 = SECONDRUINCOLOR
  4739. local rval = 0
  4740. local eval = 1
  4741. for i = 0,3,0.1 do
  4742. swait()
  4743. rval = rval + 30
  4744. eval = eval + 1.5
  4745. slash(math.random(40,70)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-2.5,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01*rval/25,0.002,0.01*rval/25),math.random(5,20)/250,keptcolor2)
  4746. 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)
  4747. 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)
  4748. 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(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  4749. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35 - 2 * math.cos(sine / 37)),math.rad(0),math.rad(0)),.3)
  4750. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-80 + 2 * math.cos(sine / 45))),.3)
  4751. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(80 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(71 - 4 * math.cos(sine / 45))),.3)
  4752. end
  4753. for i = 0, 19 do
  4754. slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-2.5,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.002,0.01),math.random(150,250)/250,keptcolor2)
  4755. end
  4756. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 4,1)
  4757. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  4758. CFuncs["Sound"].Create("rbxassetid://1310128035", root, 9, 0.9)
  4759. CFuncs["Sound"].Create("rbxassetid://199145739", root, 3,1)
  4760. MagniDamage(root, 50, 40,50, 0, "Normal")
  4761. sphere2(2,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),2,2,2,keptcolor,keptcolor.Color)
  4762. sphere2(3,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),2,2,2,keptcolor2,keptcolor2.Color)
  4763.  
  4764. coroutine.resume(coroutine.create(function()
  4765. for i = 0, 51 do
  4766. swait()
  4767. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  4768. dis.BrickColor = keptcolor
  4769. dis.Anchored = true
  4770. local at1 = Instance.new("Attachment",dis)
  4771. at1.Position = vt(-0.25,0,0)
  4772. local at2 = Instance.new("Attachment",dis)
  4773. at2.Position = vt(0.25,0,0)
  4774. local trl = Instance.new('Trail',dis)
  4775. trl.Attachment0 = at1
  4776. trl.FaceCamera = true
  4777. trl.Attachment1 = at2
  4778. trl.Texture = "rbxassetid://1049219073"
  4779. trl.LightEmission = 1
  4780. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4781. trl.Color = ColorSequence.new(dis.Color)
  4782. trl.Lifetime = 0.6
  4783. dis.Velocity = vt(math.random(-50,50),math.random(125,210),math.random(-50,50))
  4784. CFuncs["Sound"].Create("rbxassetid://199145967", dis, 0.1,1)
  4785. dis.CFrame = root.CFrame*CFrame.new(math.random(-3,3),math.random(5,25),math.random(-3,3))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4786. CreateMesh(dis,"Sphere",0.5,0.5,4)
  4787. dis.Anchored = false
  4788. coroutine.resume(coroutine.create(function()
  4789. wait(1)
  4790. local a = Instance.new("Part",workspace)
  4791. a.Name = "Direction"
  4792. a.Anchored = true
  4793. a.BrickColor = bc("Bright red")
  4794. a.Material = "Neon"
  4795. a.Transparency = 1
  4796. a.CanCollide = false
  4797. local ray = Ray.new(
  4798. dis.CFrame.p, -- origin
  4799. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  4800. )
  4801. local ignore = dis
  4802. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4803. a.BottomSurface = 10
  4804. a.TopSurface = 10
  4805. local distance = (dis.CFrame.p - position).magnitude
  4806. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4807. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  4808. dis.CFrame = a.CFrame
  4809. a:Destroy()
  4810. local bv = Instance.new("BodyVelocity")
  4811. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4812. bv.velocity = dis.CFrame.lookVector*200
  4813. bv.Parent = dis
  4814. game:GetService("Debris"):AddItem(dis, 5)
  4815. local hitted = false
  4816. coroutine.resume(coroutine.create(function()
  4817. dis.Touched:connect(function(hit)
  4818. if hitted == false and not hit:IsDescendantOf(char) then
  4819. hitted = true
  4820. CFuncs["Sound"].Create("rbxassetid://199146035", dis, 1.5,1)
  4821. MagniDamage(dis, 20, 10,20, 0, "Normal")
  4822. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor2,keptcolor2.Color)
  4823. sphere2(8,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  4824. coroutine.resume(coroutine.create(function()
  4825. local eff = Instance.new("ParticleEmitter",dis)
  4826. eff.Texture = "rbxassetid://2344870656"
  4827. eff.LightEmission = 1
  4828. eff.Color = ColorSequence.new(dis.Color)
  4829. eff.Rate = 10000000
  4830. eff.Enabled = true
  4831. --eff.EmissionDirection = "Front"
  4832. eff.Lifetime = NumberRange.new(0.5)
  4833. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,20,0),NumberSequenceKeypoint.new(1,30,0)})
  4834. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4835. eff.Speed = NumberRange.new(100)
  4836. eff.Drag = 5
  4837. eff.Rotation = NumberRange.new(-500,500)
  4838. eff.SpreadAngle = Vector2.new(0,900)
  4839. eff.RotSpeed = NumberRange.new(-500,500)
  4840. wait(0.1)
  4841. eff.Enabled = false
  4842. end))
  4843. coroutine.resume(coroutine.create(function()
  4844. local eff = Instance.new("ParticleEmitter",dis)
  4845. eff.Texture = "rbxassetid://695499847"
  4846. eff.LightEmission = 1
  4847. eff.Color = ColorSequence.new(dis.Color)
  4848. eff.Rate = 500000
  4849. eff.Lifetime = NumberRange.new(0.5,2)
  4850. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  4851. 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)})
  4852. eff.Speed = NumberRange.new(20,150)
  4853. eff.Drag = 5
  4854. eff.Rotation = NumberRange.new(-500,500)
  4855. eff.VelocitySpread = 9000
  4856. eff.RotSpeed = NumberRange.new(-150,150)
  4857. wait(0.5)
  4858. eff.Enabled = false
  4859. end))
  4860. dis.Anchored = true
  4861. dis.Transparency = 1
  4862. wait(8)
  4863. dis:Destroy()
  4864. end
  4865. end)
  4866. end))
  4867. end))
  4868. end
  4869. end))
  4870. coroutine.resume(coroutine.create(function()
  4871. local eff = Instance.new("ParticleEmitter",root)
  4872. eff.Texture = "rbxassetid://695499847"
  4873. eff.LightEmission = 0
  4874. eff.Color = ColorSequence.new(BrickColor.new("Crimson").Color)
  4875. eff.Rate = 500000
  4876. eff.Lifetime = NumberRange.new(0.5,2)
  4877. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.2,3,0),NumberSequenceKeypoint.new(0.8,3,0),NumberSequenceKeypoint.new(1,0,0)})
  4878. 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)})
  4879. eff.Speed = NumberRange.new(30,250)
  4880. eff.Drag = 5
  4881. eff.Rotation = NumberRange.new(-500,500)
  4882. eff.VelocitySpread = 9000
  4883. eff.RotSpeed = NumberRange.new(-150,150)
  4884. wait(1.5)
  4885. eff.Enabled = false
  4886. end))
  4887. local eval2 = 1
  4888. sphere2(1,"Add",root.CFrame,vt(12.5,1,12.5),-0.05,3,-0.05,keptcolor)
  4889. sphere2(1,"Add",root.CFrame,vt(25,1,25),-0.1,6,-0.1,keptcolor2)
  4890. CamShakeAll({
  4891. Duration=0.6;
  4892. Intensity=2;
  4893. Position=Vector3.new(2,2,2);
  4894. Rotation=Vector3.new(2,2,4);
  4895. DropDist=130;
  4896. IneffectiveDist=165;
  4897. Origin=root.Position;
  4898. })
  4899. for i = 0,9,0.1 do
  4900. swait()
  4901. rval = rval + 20
  4902. eval = eval + 1.5
  4903. eval2 = eval2 + 10
  4904. slash(math.random(40,70)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,3.5,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01*eval2/60,0.002,0.01*eval2/60),math.random(5,20)/250,MAINRUINCOLOR)
  4905. 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)
  4906. 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)
  4907. 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)
  4908. 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)
  4909. 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)
  4910. 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)
  4911. end
  4912. attack = false
  4913. hum.WalkSpeed = storehumanoidWS
  4914. end
  4915.  
  4916. SWORDA1=script.SWORDA1
  4917. SWORDA1.Parent=nil
  4918. function Cursed_Slash()
  4919. attack = true
  4920. local spin=0
  4921. hum.WalkSpeed = 2
  4922. local sword = SWORDA1:Clone()
  4923. sword.Parent = char
  4924. sword.Transparency = 1
  4925. sword.BrickColor = MAINRUINCOLOR
  4926. local trans=0
  4927. local keptcolor = BrickColor.new("Black")
  4928. local keptcolor2 = SECONDRUINCOLOR
  4929. CFuncs["Sound"].Create("rbxassetid://136007472", root, 15,1)
  4930. CFuncs["Sound"].Create("rbxassetid://137463716", root, 2,0.8)
  4931. CamShakeAll({
  4932. Duration=0.6;
  4933. Intensity=0.5;
  4934. Position=Vector3.new(2,2,2);
  4935. Rotation=Vector3.new(2,2,2);
  4936. DropDist=35;
  4937. IneffectiveDist=60;
  4938. Origin=root.Position;
  4939. })
  4940. local eff = Instance.new("ParticleEmitter",sword)
  4941. eff.Texture = "rbxassetid://2344870656"
  4942. eff.LightEmission = 0.6
  4943. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4944. eff.Rate = 10000000
  4945. eff.EmissionDirection = "Front"
  4946. eff.Lifetime = NumberRange.new(0.5)
  4947. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  4948. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4949. eff.Speed = NumberRange.new(1,10)
  4950. eff.Drag = 5
  4951. eff.VelocitySpread = 9999
  4952. eff.Rotation = NumberRange.new(-500,500)
  4953. eff.RotSpeed = NumberRange.new(-500,500)
  4954. local eff2 = eff:Clone()
  4955. eff2.LightEmission = 0.25
  4956. eff2.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
  4957. eff2.Speed = NumberRange.new(5,25)
  4958. eff2.Parent = sword
  4959. eff2.Texture = "rbxassetid://2092248396"
  4960. eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,0.5,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  4961.  
  4962. for i = 0,10,0.1 do
  4963. swait()
  4964. trans=trans+0.00035
  4965. sword.Transparency = sword.Transparency-trans
  4966. sword.CFrame = sorb.CFrame*CFrame.new(0,0,-3.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(180))
  4967. sphereMK(2,math.random(15,30)/45,"Add",root.CFrame*CFrame.new(math.random(-18,18),-6,math.random(-18,18))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),0.5,0.5,0.5,0,MAINRUINCOLOR,0)
  4968. slash(math.random(80,90),90,true,"Round","Add","In",sword.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-90,90))),vt(0.01*2/60,0.002,0.01*2/60),math.random(5,20)/250,MAINRUINCOLOR)
  4969. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(85),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  4970. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-85),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  4971. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  4972. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  4973. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(162), math.rad(35), math.rad(-5)), .3)
  4974. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(15)), .3)
  4975. end
  4976. CFuncs["Sound"].Create("rbxassetid://2174940386", root, 15,0.9)
  4977. CFuncs["Sound"].Create("rbxassetid://182707266", root, 4,1)
  4978. CFuncs["Sound"].Create("rbxassetid://444667859", root, 4,1)
  4979. local lb = Instance.new("Part",char)
  4980. lb.Material = "Neon"
  4981. lb.Color = MAINRUINCOLOR.Color
  4982. lb.CanCollide = false
  4983. lb.CFrame = root.CFrame + root.CFrame.lookVector*5
  4984. lb.Transparency = 0
  4985. lb.Size = vt(1,40,1)
  4986. local tra2 = Instance.new("ParticleEmitter",lb)
  4987. tra2.Texture = "http://www.roblox.com/asset/?id=745304849"
  4988. tra2.LightEmission = 0
  4989. tra2.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
  4990. tra2.Rate = 500000000000
  4991. tra2.Lifetime = NumberRange.new(0.5)
  4992. tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(1,0,0)})
  4993. tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4994. tra2.Speed = NumberRange.new(0)
  4995. tra2.Rotation = NumberRange.new(-500,500)
  4996. tra2.VelocitySpread = 90000
  4997. tra2.RotSpeed = NumberRange.new(-500,500)
  4998. local thing = Instance.new("SpecialMesh",lb)
  4999. thing.MeshType = "Sphere"
  5000. lb.Touched:connect(function(hit)
  5001. MagniDamage(hit,3,30,50,0,"Normal")
  5002.  
  5003. end)
  5004. local bv = Instance.new("BodyVelocity")
  5005. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5006. bv.velocity = root.CFrame.lookVector *300
  5007. bv.Parent = lb
  5008.  
  5009. coroutine.resume(coroutine.create(function()
  5010. while true do
  5011. swait()
  5012. if lb.Parent~=nil then
  5013. spin=spin+16
  5014. slash(math.random(50,100)/5,5,true,"Round","Add","Out",lb.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(0+spin),math.rad(0),math.rad(90)),vt(0.01,0.01,0.01),math.random(5,50)/250,SECONDRUINCOLOR)
  5015. else
  5016. break
  5017. end
  5018. end
  5019. end))
  5020. for i = 0,1.5,0.1 do
  5021. swait()
  5022. sword.CFrame = sorb.CFrame*CFrame.new(0,0,-3.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(180))
  5023. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(85),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-5)),.3)
  5024. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-85),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(5)),.3)
  5025. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  5026. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(-2.5)), .3)
  5027. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-5)), .3)
  5028. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(15)), .3)
  5029. end
  5030. coroutine.resume(coroutine.create(function()
  5031. wait(0.5)
  5032. for i = 0, 19 do
  5033. slash(math.random(10,50)/10,5,true,"Round","Add","Out",lb.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,250)/250,keptcolor2)
  5034. end
  5035. lb:Destroy()
  5036. end))
  5037. for i = 0,1,0.1 do
  5038. swait()
  5039. sword.CFrame = sorb.CFrame*CFrame.new(0,0,-3.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(180))
  5040. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(85),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-5)),.4)
  5041. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-85),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(5)),.4)
  5042. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.4)
  5043. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5), math.rad(0), math.rad(-30)), .4)
  5044. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-85)), .4)
  5045. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)), .4)
  5046. end
  5047. CFuncs["Sound"].Create("rbxassetid://2174940386", root, 15,0.9)
  5048. CFuncs["Sound"].Create("rbxassetid://182707266", root, 4,1)
  5049. CFuncs["Sound"].Create("rbxassetid://444667859", root, 4,1)
  5050. local lb2 = Instance.new("Part",char)
  5051. lb2.Material = "Neon"
  5052. lb2.Color = MAINRUINCOLOR.Color
  5053. lb2.CanCollide = false
  5054. lb2.CFrame = root.CFrame + root.CFrame.lookVector*5
  5055. lb2.Transparency = 0
  5056. lb2.Size = vt(40,1,1)
  5057. local tra2 = Instance.new("ParticleEmitter",lb2)
  5058. tra2.Texture = "http://www.roblox.com/asset/?id=745304849"
  5059. tra2.LightEmission = 0
  5060. tra2.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
  5061. tra2.Rate = 500000000000
  5062. tra2.Lifetime = NumberRange.new(0.5)
  5063. tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(1,0,0)})
  5064. tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5065. tra2.Speed = NumberRange.new(0)
  5066. tra2.Rotation = NumberRange.new(-500,500)
  5067. tra2.VelocitySpread = 90000
  5068. tra2.RotSpeed = NumberRange.new(-500,500)
  5069. local thing = Instance.new("SpecialMesh",lb2)
  5070. thing.MeshType = "Sphere"
  5071. lb2.Touched:connect(function(hit)
  5072. MagniDamage(hit,3,30,50,0,"Normal")
  5073.  
  5074. end)
  5075. local bv = Instance.new("BodyVelocity")
  5076. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5077. bv.velocity = root.CFrame.lookVector *200
  5078. bv.Parent = lb2
  5079.  
  5080. coroutine.resume(coroutine.create(function()
  5081. while true do
  5082. swait()
  5083. if lb2.Parent~=nil then
  5084. spin=spin+16
  5085. slash(math.random(50,100)/5,5,true,"Round","Add","Out",lb2.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0+spin),math.rad(0)),vt(0.01,0.01,0.01),math.random(5,50)/250,SECONDRUINCOLOR)
  5086. else
  5087. break
  5088. end
  5089. end
  5090. end))
  5091. eff.Enabled=false
  5092. eff2.Enabled=false
  5093. for i = 0,2,0.1 do
  5094. swait()
  5095. sword.CFrame = sorb.CFrame*CFrame.new(0,0,-3.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(180))
  5096. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(85),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-5)),.3)
  5097. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-85),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(5)),.3)
  5098. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-25)),.3)
  5099. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-25)), .3)
  5100. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .3)
  5101. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), .3)
  5102. end
  5103. coroutine.resume(coroutine.create(function()
  5104. wait(0.75)
  5105. for i = 0, 19 do
  5106. slash(math.random(10,50)/10,5,true,"Round","Add","Out",lb2.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,250)/250,keptcolor2)
  5107. end
  5108. lb2:Destroy()
  5109. end))
  5110. coroutine.resume(coroutine.create(function()
  5111. local thintrans=0
  5112. for i = 0,9,0.1 do
  5113. swait()
  5114. thintrans=thintrans+0.005
  5115. sword.CFrame = sorb.CFrame*CFrame.new(0,0,-3.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(180))
  5116. sword.Transparency = sword.Transparency+thintrans
  5117. end
  5118. sword:Destroy()
  5119. end))
  5120. attack = false
  5121. hum.WalkSpeed = storehumanoidWS
  5122. wait(2)
  5123. eff:Destroy()
  5124. eff2:Destroy()
  5125. end
  5126.  
  5127. function desstomp()
  5128. attack = true
  5129. newbosschatfunc("To the depths of hell...",modet.TextColor3,modet.TextStrokeColor3,75)
  5130. for i = 0, 8, 0.1 do
  5131. swait()
  5132. 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)
  5133. 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)
  5134. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.4 + 0.5 * math.cos(sine / 32))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5135. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5136. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  5137. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  5138. end
  5139. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  5140. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  5141. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do
  5142. if v:FindFirstChild('Head') then
  5143. dmg(v)
  5144. end
  5145. end
  5146. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,MAINRUINCOLOR)
  5147. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,MAINRUINCOLOR)
  5148. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,MAINRUINCOLOR)
  5149. newbosschatfunc("YOU GO!",modet.TextColor3,modet.TextStrokeColor3,250)
  5150. CamShakeAll({
  5151. Duration=0.2;
  5152. Intensity=4;
  5153. Position=Vector3.new(2,2,2);
  5154. Rotation=Vector3.new(2,2,4);
  5155. DropDist=200;
  5156. IneffectiveDist=250;
  5157. Origin=root.Position;
  5158. })
  5159. for i = 0, 6, 0.1 do
  5160. swait()
  5161. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*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,MAINRUINCOLOR,0)
  5162. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*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,MAINRUINCOLOR,0)
  5163. 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)
  5164. 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)
  5165. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  5166. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  5167. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.4)
  5168. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.4)
  5169. end
  5170. attack = false
  5171. end
  5172. function destaunt()
  5173. attack = true
  5174. newbosschatfunc("Did you expect a different and more recognisable name? My bad.",modet.TextColor3,modet.TextStrokeColor3,125)
  5175. for i = 0,20,0.1 do
  5176. swait()
  5177. 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)
  5178. LH.C0=clerp(LH.C0,cf(-1,-1,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)
  5179. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.4 + 0.5 * math.cos(sine / 32))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-35)),.1)
  5180. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 5 * math.cos(sine / 10)),math.rad(0),math.rad(34)),.1)
  5181. RW.C0=clerp(RW.C0,cf(1.3,0.5 + 0.1 * math.cos(sine / 70),-0.9)*angles(math.rad(120 + 1 * math.cos(sine / 0.0001) ),math.rad(0),math.rad(-90 + 1 * math.cos(sine / 0.0001))),.1)
  5182. LW.C0=clerp(LW.C0,cf(-1.1,0.6 + 0.1 * math.cos(sine / 28),0.2)*angles(math.rad(220),math.rad(0),math.rad(45 + 1 * math.cos(sine / 50))),.1)
  5183. end
  5184. attack = false
  5185. end
  5186.  
  5187. BOW=script.BOW
  5188. ARROW=script.ARROW
  5189. BOW.Parent=nil
  5190. ARROW.Parent=nil
  5191. function Divide_Bullet()
  5192. attack = true
  5193. local keptcolor=MAINRUINCOLOR
  5194. local keptcolor2=SECONDRUINCOLOR
  5195. local obj1 = BOW:Clone()
  5196. obj1.Parent = char
  5197. obj1.Transparency = 1
  5198. --obj1.Size = vt(1,1,1)
  5199. local Arrow = ARROW:Clone()
  5200. Arrow.Parent = char
  5201. Arrow.Transparency = 1
  5202.  
  5203. hum.WalkSpeed = 0
  5204. local va=0
  5205. CFuncs["Sound"].Create("rbxassetid://138186576", root, 20, 1)
  5206. for i = 0, 2.2, 0.1 do
  5207. swait()
  5208. 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)
  5209. 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)
  5210. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(50),math.rad(0),math.rad(0)),.3)
  5211. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  5212. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(0),math.rad(-8)),.3)
  5213. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(40),math.rad(0),math.rad(8)),.3)
  5214. end
  5215. local vel = Instance.new("BodyPosition", root)
  5216. vel.P = 7500
  5217. vel.D = 1000
  5218. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  5219. vel.position = root.CFrame.p + vt(0,35,0)
  5220. for i = 0, 49 do
  5221. slash(math.random(10,100)/10,3,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.05,0.01,0.05),math.random(10,125)/250,BrickColor.new("White"))
  5222. end
  5223.  
  5224. for i = 0, 3, 0.1 do
  5225. swait()
  5226. 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)
  5227. 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)
  5228. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.5)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  5229. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  5230. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-10),math.rad(0),math.rad(13)),.3)
  5231. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(0),math.rad(-13)),.3)
  5232. end
  5233. newbosschatfunc("Divide..",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,500)
  5234. CFuncs["Sound"].Create("rbxassetid://331888777", root, 12, 1)
  5235. CFuncs["Sound"].Create("rbxassetid://255679384", root, 12, 1)
  5236. CFuncs["Sound"].Create("rbxassetid://1371567007", root, 12, 1)
  5237. CFuncs["Sound"].Create("rbxassetid://163619849", root, 6, 1)
  5238. for i = 0, 11, 0.1 do
  5239. swait()
  5240. block(5,"Add",larm.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(4,4,4),-0.025,-0.25,-0.025,keptcolor2,keptcolor2.Color)
  5241. slash(math.random(25,50)/10,5,true,"Round","Add","Out",larm.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,keptcolor2)
  5242. 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)
  5243. 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)
  5244. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.5*math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5245. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(20)),.3)
  5246. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(19)),.3)
  5247. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(-19)),.3)
  5248. end
  5249. turnto()
  5250. for i = 0, 3, 0.1 do
  5251. swait()
  5252. 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)
  5253. 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)
  5254. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.5*math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  5255. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  5256. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(20),math.rad(-87)),.3)
  5257. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0)*angles(math.rad(90),math.rad(20),math.rad(-75)),.3)
  5258. end
  5259. for i = 0, 22 do
  5260. block(2,"Add",larm.CFrame*CFrame.new(0,-6,0),vt(8,8,8),-0.025,-0.25,-0.025,keptcolor2,keptcolor2.Color)
  5261. slash(math.random(25,50)/10,5,true,"Round","Add","Out",larm.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.5,0.01,0.5),-0.5,keptcolor2)
  5262. end
  5263. for i = 0, 6, 0.1 do
  5264. swait()
  5265. va=va+0.001
  5266. Arrow.CFrame = sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  5267. Arrow.Transparency=Arrow.Transparency-va
  5268. obj1.CFrame = sorb2.CFrame*CFrame.Angles(math.rad(15),math.rad(90),math.rad(-15))
  5269. obj1.Transparency=obj1.Transparency-va
  5270. 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)
  5271. 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)
  5272. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.5*math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  5273. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(90)),.3)
  5274. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-82)),.3)
  5275. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-75)),.3)
  5276. end
  5277. newbosschatfunc("BULLET!",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,100)
  5278. --CFuncs["Sound"].Create("rbxassetid://675172759", orb, 16,math.random(100,200)/200)
  5279. for i = 0, 9 do
  5280. slash(math.random(10,40)/10,5,true,"Round","Add","Out",Arrow.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,450)/500,keptcolor2)
  5281. end
  5282. block(3,"Add",Arrow.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),1,1,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5283. local eff = Instance.new("ParticleEmitter",Arrow)
  5284. eff.Texture = "rbxassetid://2344870656"
  5285. eff.LightEmission = 0.75
  5286. eff.Color = ColorSequence.new(keptcolor.Color)
  5287. eff.Rate = 999
  5288. eff.Lifetime = NumberRange.new(5)
  5289. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,14,0),NumberSequenceKeypoint.new(0.1,9,0),NumberSequenceKeypoint.new(0.8,3,0),NumberSequenceKeypoint.new(1,0,0)})
  5290. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5291. eff.Speed = NumberRange.new(5,65)
  5292. eff.Drag = 5
  5293. eff.Rotation = NumberRange.new(-500,500)
  5294. eff.VelocitySpread = 9000
  5295. eff.RotSpeed = NumberRange.new(-500,500)
  5296. local eff2 = Instance.new("ParticleEmitter",Arrow)
  5297. eff2.Texture = "rbxassetid://2273224484"
  5298. eff2.LightEmission = 0.75
  5299. eff2.Color = ColorSequence.new(keptcolor2.Color)
  5300. eff2.Rate = 999
  5301. eff2.Lifetime = NumberRange.new(2,4)
  5302. eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,4,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5303. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5304. eff2.Speed = NumberRange.new(30,90)
  5305. eff2.Drag = 5
  5306. eff2.Rotation = NumberRange.new(-500,500)
  5307. eff2.VelocitySpread = 9000
  5308. eff2.RotSpeed = NumberRange.new(-500,500)
  5309. Arrow.Anchored = true
  5310. coroutine.resume(coroutine.create(function()
  5311. wait(0.1)
  5312. Arrow.Anchored = false
  5313. local a = Instance.new("Part",workspace)
  5314. a.Name = "Direction"
  5315. a.Anchored = true
  5316. a.BrickColor = bc("Bright red")
  5317. a.Material = "Neon"
  5318. a.Transparency = 1
  5319. a.CanCollide = false
  5320. local ray = Ray.new(
  5321. Arrow.CFrame.p, -- origin
  5322. (mouse.Hit.p - Arrow.CFrame.p).unit * 500 -- direction
  5323. )
  5324. local ignore = Arrow
  5325. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5326. a.BottomSurface = 10
  5327. a.TopSurface = 10
  5328. local distance = (Arrow.CFrame.p - position).magnitude
  5329. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5330. a.CFrame = CFrame.new(Arrow.CFrame.p, position) * CFrame.new(0, 0, 0)
  5331. Arrow.CFrame = a.CFrame
  5332. a:Destroy()
  5333. CFuncs["Sound"].Create("rbxassetid://304448425", Arrow, 1.5, 0.9)
  5334. local bv = Instance.new("BodyVelocity")
  5335. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5336. bv.velocity = Arrow.CFrame.lookVector*800
  5337. bv.Parent = Arrow
  5338. game:GetService("Debris"):AddItem(Arrow, 10)
  5339. local hitted = false
  5340. Arrow.CFrame = Arrow.CFrame*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
  5341. wait(0.01)
  5342. local hit =Arrow.Touched:connect(function(hit)
  5343. if hitted == false and not hit:IsDescendantOf(char) then
  5344. hitted = true
  5345. eff.Enabled = false
  5346. eff2.Enabled = false
  5347. --CamShakeAll(25,15,char)
  5348. local posy = Instance.new("Part", effectmodel)
  5349. posy.Transparency = 1
  5350. Arrow.CanCollide = false
  5351. posy.CFrame = Arrow.CFrame*CFrame.new(0,0,0)
  5352. posy.Anchored = true
  5353. Arrow.CFrame = Arrow.CFrame*CFrame.new(0,4,0)
  5354. Arrow.Anchored = true
  5355. --Arrow.Transparency = 1
  5356. CFuncs["Sound"].Create("rbxassetid://201858045", posy, 15, 1)
  5357. CFuncs["Sound"].Create("rbxassetid://2011915907", posy, 15, 1)
  5358. CFuncs["Sound"].Create("rbxassetid://539294959", posy, 15, 1)
  5359. CFuncs["Sound"].Create("rbxassetid://258057783", posy, 15, 1)
  5360. CamShakeAll({
  5361. Duration=0.4;
  5362. Intensity=15;
  5363. Position=Vector3.new(1,1,1);
  5364. Rotation=Vector3.new(2,2,8);
  5365. DropDist=90;
  5366. IneffectiveDist=125;
  5367. Origin=posy.Position;
  5368. })
  5369. MagniDamage(posy, 20, 85,100, 200, "UpKnock")
  5370. coroutine.resume(coroutine.create(function()
  5371. for i = 0, 11 do
  5372. swait(6)
  5373. block(2,"Add",posy.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5374. block(1,"Add",posy.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5375. end
  5376. end))
  5377. coroutine.resume(coroutine.create(function()
  5378. for i = 0, 21 do
  5379. swait()
  5380. sphere2(4,"Add",posy.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1,1.5),-0.005,4,-0.005,keptcolor)
  5381. end
  5382. end))
  5383. for i = 0, 19 do
  5384. slash(math.random(10,50)/10,5,true,"Round","Add","Out",posy.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,250)/250,keptcolor2)
  5385. end
  5386. for i = 0, 19 do
  5387. local rsiz = math.random(10,30)
  5388. sphereMK(math.random(2,6),1,"Add",posy.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)
  5389. end
  5390. local eff = Instance.new("ParticleEmitter",posy)
  5391. eff.Texture = "rbxassetid://296874871"
  5392. eff.LightEmission = 0.95
  5393. eff.Color = ColorSequence.new(posy.BrickColor.Color)
  5394. eff.Rate = 10000
  5395. eff.Lifetime = NumberRange.new(1.5)
  5396. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  5397. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5398. eff.Speed = NumberRange.new(150)
  5399. eff.Drag = 5
  5400. eff.Rotation = NumberRange.new(-500,500)
  5401. eff.VelocitySpread = 9000
  5402. eff.RotSpeed = NumberRange.new(-500,500)
  5403. eff.Enabled = false
  5404. coroutine.resume(coroutine.create(function()
  5405. wait(0.1)
  5406. eff.Enabled = false
  5407. end))
  5408.  
  5409. wait(10)
  5410. Arrow:Destroy()
  5411. posy:Destroy()
  5412. end
  5413. end)
  5414. end))
  5415. CFuncs["Sound"].Create("rbxassetid://201858045", effectmodel, 1.5, 1)
  5416. CFuncs["Sound"].Create("rbxassetid://201858045", Torso, 8, 1)
  5417. CFuncs["Sound"].Create("rbxassetid://137463716", Torso, 3, 1)
  5418. CFuncs["Sound"].Create("rbxassetid://201858045", Arrow, 15, 1)
  5419. CFuncs["Sound"].Create("rbxassetid://137463716", Arrow, 4, 1)
  5420. for i = 0, 3, 0.1 do
  5421. swait()
  5422. va=va+0.005
  5423. obj1.CFrame = sorb2.CFrame*CFrame.Angles(math.rad(15),math.rad(90),math.rad(-15))
  5424. obj1.Transparency=obj1.Transparency+va
  5425. 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)
  5426. 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)
  5427. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.5*math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-90)),.4)
  5428. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(90)),.4)
  5429. RW.C0=clerp(RW.C0,cf(1.6,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-65)),.4)
  5430. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-75)),.4)
  5431. end
  5432. obj1:Destroy()
  5433. local absval = 0
  5434. vel:Destroy()
  5435. hum.WalkSpeed = storehumanoidWS
  5436. attack = false
  5437. end
  5438.  
  5439. FORMULAS=script.FORMULAS
  5440. FORMULAS.Parent=nil
  5441. function Eradicated_Zone()
  5442. attack = true
  5443. hum.WalkSpeed = 0
  5444. local Ended=false
  5445. local GiApp=false
  5446. local Ranged=0
  5447. local sphwi=0
  5448. local keptcolor = BrickColor.new("Dark indigo")
  5449. local obj1 = FORMULAS:Clone()
  5450. obj1.Parent = char
  5451. obj1.Size = VT(3.5*2, 1*2, 5*2)
  5452. obj1.Color = BrickColor.new("Royal purple").Color
  5453. obj1.Transparency = 1
  5454.  
  5455.  
  5456. newbosschatfunc("THE ZONE..",modet.TextColor3,modet.TextStrokeColor3,95)
  5457. for i = 0, 3, 0.1 do
  5458. swait()
  5459. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.15)
  5460. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.15)
  5461. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  5462. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  5463. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(5),math.rad(4),math.rad(-85)),.15)
  5464. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(5),math.rad(-4),math.rad(91.5)),.15)
  5465. end
  5466. for i = 0, 5, 0.1 do
  5467. swait()
  5468. RH.C0=clerp(RH.C0,cf(1,-0.7,-0.5)*angles(math.rad(0),math.rad(80),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(10)),.15)
  5469. LH.C0=clerp(LH.C0,cf(-1,-0.8,0)*angles(math.rad(0),math.rad(-80),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(15)),.15)
  5470. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.25)*angles(math.rad(0),math.rad(0),math.rad(-30)),.15)
  5471. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(30)),.15)
  5472. RW.C0=clerp(RW.C0,cf(1.5,0.45,0)*angles(math.rad(5),math.rad(0),math.rad(30)),.15)
  5473. LW.C0=clerp(LW.C0,cf(-1.5,0.45,0)*angles(math.rad(5),math.rad(0),math.rad(-30)),.15)
  5474. end
  5475. --[[CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  5476. CFuncs["Sound"].Create("rbxassetid://588737825", root, 7.5, 1)
  5477. ]]
  5478.  
  5479. CFuncs["Sound"].Create("rbxassetid://588738198", root, 15, 0.8)
  5480. CFuncs["Sound"].Create("rbxassetid://588737825", root, 12, 0.8)
  5481. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 8, 1.2)
  5482.  
  5483. local del1=0
  5484. coroutine.resume(coroutine.create(function()
  5485. while true do
  5486. swait()
  5487. if Ended==false then
  5488. sphwi=math.random(1,2.5)
  5489. if math.random(1,5) == 1 then
  5490. sphere2(math.random(1,4),"Add",root.CFrame*CFrame.new(math.random(-Ranged/1.25,Ranged/1.25),math.random(-30,-15),math.random(-Ranged/1.25,Ranged/1.25)),vt(sphwi,0,sphwi),0,math.random(0.5,1),0,BrickColor.new("Dark indigo"))
  5491. end
  5492. sphere2(4,"Add",root.CFrame*CFrame.new(0,-3,0),vt(2*Ranged,1,2*Ranged),0,0.01*Ranged/50,0,BrickColor.new("Royal purple"))
  5493.  
  5494.  
  5495. for i, v in pairs(FindNearestHead(Torso.CFrame.p, Ranged)) do
  5496. if v:FindFirstChild('Humanoid') then
  5497. if v.Humanoid.Health<1 then
  5498. dmg(v)
  5499. end
  5500. --[[if GiApp==true then
  5501. v:FindFirstChildOfClass("Humanoid").WalkSpeed=v:FindFirstChildOfClass("Humanoid").WalkSpeed-0.25
  5502. v:FindFirstChildOfClass("Humanoid").JumpPower=v:FindFirstChildOfClass("Humanoid").JumpPower-0.25
  5503. if v:FindFirstChildOfClass("Humanoid").WalkSpeed<0.25 then
  5504. v:FindFirstChildOfClass("Humanoid").WalkSpeed=0
  5505. elseif v:FindFirstChildOfClass("Humanoid").JumpPower<0.25 then
  5506. v:FindFirstChildOfClass("Humanoid").JumpPower=0
  5507. end
  5508. else
  5509. v:FindFirstChildOfClass("Humanoid").WalkSpeed=v:FindFirstChildOfClass("Humanoid").WalkSpeed+0.25
  5510. v:FindFirstChildOfClass("Humanoid").JumpPower=v:FindFirstChildOfClass("Humanoid").JumpPower+0.25
  5511. if v:FindFirstChildOfClass("Humanoid").WalkSpeed>16 then
  5512. v:FindFirstChildOfClass("Humanoid").WalkSpeed=16
  5513. elseif v:FindFirstChildOfClass("Humanoid").JumpPower>50 then
  5514. v:FindFirstChildOfClass("Humanoid").JumpPower=50
  5515. end
  5516. end]]
  5517. if GiApp==false then
  5518. del1=del1+1
  5519. if del1>7.5 then
  5520. del1=0
  5521. v:FindFirstChildOfClass("Humanoid").Health = v:FindFirstChildOfClass("Humanoid").Health - math.random(10,25)/20
  5522. hum.Health = hum.Health + math.random(10,25)/20
  5523. if(v:FindFirstChild'HumanoidRootPart')then
  5524. CFuncs["Sound"].Create("rbxassetid://588738198", v.HumanoidRootPart, 2, 1.1)
  5525. end
  5526. end
  5527. end
  5528. end
  5529. end
  5530. else
  5531. break
  5532. end
  5533. end
  5534. end))
  5535. newbosschatfunc("OF ERADICATIONS!",modet.TextColor3,modet.TextStrokeColor3,80)
  5536. --[[sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,MAINRUINCOLOR)
  5537. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,MAINRUINCOLOR)
  5538. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,MAINRUINCOLOR)
  5539. ]]
  5540. CamShakeAll({
  5541. Duration=1;
  5542. Intensity=2;
  5543. Position=Vector3.new(0--[[2]],0--[[2]],0--[[2]]);
  5544. Rotation=Vector3.new(2,2,6);
  5545. DropDist=120;
  5546. IneffectiveDist=80;
  5547. Origin=root.Position;
  5548. })
  5549. for i = 0, 10, 0.1 do
  5550. swait()
  5551. Ranged=Ranged+0.8
  5552. RH.C0=clerp(RH.C0,cf(1,-1.1,0)*angles(math.rad(0),math.rad(85),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.01)
  5553. LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-85),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.01)
  5554. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,.1)*angles(math.rad(0),math.rad(0),math.rad(-25)),.01)
  5555. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(0),math.rad(25)),.01)
  5556. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(175),math.rad(0),math.rad(10)),.02)
  5557. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(175),math.rad(0),math.rad(-10)),.02)
  5558. end
  5559. local rrot=0
  5560. local effectsss = Instance.new("Part", effectmodel)
  5561. effectsss.Size = Vector3.new(6,0.1,6)
  5562. effectsss.CanCollide = false
  5563. effectsss.Transparency = 1
  5564.  
  5565. coroutine.resume(coroutine.create(function()
  5566. for _,v in next, secondchar:children() do
  5567. if(v.Name~='REye' and v.Name~='LEye')then
  5568. v.BrickColor=BrickColor.new'Dark indigo'
  5569. v.Material=Enum.Material.Glass
  5570. else
  5571. v.Color=Color3.new(1,1,1)
  5572. v.Material=Enum.Material.Neon
  5573. end
  5574. v.Transparency=1
  5575. end
  5576.  
  5577. for i = 0,1,0.1 do
  5578. torsweld.C1=clerp(torsweld.C1,cf(0,21.5,0)*angles(math.rad(70),math.rad(0),math.rad(0)),1)
  5579. larmsweld.C1=clerp(larmsweld.C1,cf(-0.5*8,0.125*8,0.5*8)*angles(math.rad(0),math.rad(0),math.rad(-87)),1)
  5580. rarmsweld.C1=clerp(rarmsweld.C1,cf(0.5*8,0.125*8,0.5*8)*angles(math.rad(0),math.rad(0),math.rad(91)),1)
  5581. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  5582. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  5583. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0)*angles(math.rad(30),math.rad(0),math.rad(0)),1)
  5584. end
  5585. CFuncs["Sound"].Create("rbxassetid://528589382", sectors, 5, 1.5)
  5586. GiApp=true
  5587. for i = 0,15,0.1 do
  5588. swait()
  5589. for _,v in next, secondchar:children() do
  5590. if(v.Name=='REye' or v.Name=='LEye')then
  5591. v.Transparency=v.Transparency - 1/150
  5592. else
  5593. v.Transparency=v.Transparency - .5/150
  5594. end
  5595. end
  5596.  
  5597.  
  5598. sectors.Transparency = sectors.Transparency - 0.002
  5599. --PixelBlockNeg(1,math.random(1,5),"Add",root.CFrame*CFrame.new(math.random(-45,45),0,math.random(-45,45))*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.1,MAINRUINCOLOR,-10)
  5600. torsweld.C1=clerp(torsweld.C1,cf(0,-21.5 ,-10)*angles(math.rad(0),math.rad(0),math.rad(0)),.025)
  5601. larmsweld.C1=clerp(larmsweld.C1,cf(-0.5*8,0.125*8,0.5*8)*angles(math.rad(0),math.rad(0),math.rad(-87)),1)
  5602. rarmsweld.C1=clerp(rarmsweld.C1,cf(0.5*8,0.125*8,0.5*8)*angles(math.rad(0),math.rad(0),math.rad(91)),1)
  5603. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  5604. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  5605. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0.2)*angles(math.rad(-10),math.rad(0),math.rad(0)),0.025)
  5606. RH.C0=clerp(RH.C0,cf(1,-1.1,0)*angles(math.rad(0),math.rad(85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.01)
  5607. LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.01)
  5608. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,.1)*angles(math.rad(0),math.rad(0),math.rad(0)),.01)
  5609. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.01)
  5610. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(10)),.02)
  5611. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.02)
  5612. end
  5613. for i = 0, 20 do
  5614. sphere2(math.random(5,10),"Add",seclarm.CFrame*CFrame.new(0,0,0),vt(1,1,1),1.25,1.25,1.25,BrickColor.new("Royal purple"))
  5615. sphere2(math.random(5,10),"Add",secrarm.CFrame*CFrame.new(0,0,0),vt(1,1,1),1.2,1.25,1.25,BrickColor.new("Royal purple"))
  5616. end
  5617. for i = 0,3,0.1 do
  5618. swait()
  5619. torsweld.C1=clerp(torsweld.C1,cf(0,-21.5 ,-10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5620. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),0.3)
  5621. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),0.3)
  5622. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  5623. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  5624. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0.2)*angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  5625. end
  5626. for i = 0,10,0.1 do
  5627. swait()
  5628. block(10,"Add",secrleg.CFrame*CFrame.new(0,-1*8,0),vt(1,1,1),0.02*8,0.02*8,0.02*8,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  5629. torsweld.C1=clerp(torsweld.C1,cf(0,-21.5 ,-10)*angles(math.rad(-10),math.rad(0),math.rad(0)),.025)
  5630. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.025)
  5631. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.025)
  5632. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,.25*8)*angles(math.rad(10),math.rad(0),math.rad(0)),.025)
  5633. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,1*8,1*8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025)
  5634. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.5)*angles(math.rad(25),math.rad(0),math.rad(0)),.025)
  5635. RH.C0=clerp(RH.C0,cf(1,-1.1,0)*angles(math.rad(0),math.rad(85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.01)
  5636. LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.01)
  5637. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,.1)*angles(math.rad(0),math.rad(0),math.rad(0)),.01)
  5638. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.01)
  5639. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(10)),.02)
  5640. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.02)
  5641. end
  5642. local efec = Instance.new("ParticleEmitter",effectsss)
  5643. efec.Texture = "rbxassetid://2092248396"
  5644. efec.LightEmission = 0
  5645. efec.Color = ColorSequence.new(BrickColor.new("Royal purple").Color)
  5646. efec.Rate = 1000000000
  5647. efec.EmissionDirection = "Top"
  5648. efec.Lifetime = NumberRange.new(1,5)
  5649. --efec.Drag = 0
  5650. efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.1,30,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,0,0)})
  5651. efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5652. efec.Speed = NumberRange.new(120,750)
  5653. efec.LockedToPart = false
  5654. efec.Rotation = NumberRange.new(-500,500)
  5655. efec.RotSpeed = NumberRange.new(-500,500)
  5656. --efec.VelocitySpread = 0
  5657. efec.Enabled = true
  5658. for i = 0,3 do
  5659. swait()
  5660. for i = 0,1.5,0.1 do
  5661. swait()
  5662. block(10,"Add",secrleg.CFrame*CFrame.new(0,-1*8,0),vt(1,1,1),0.02*8,0.02*8,0.02*8,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  5663. effectsss.CFrame = root.CFrame*cf(math.random(-90,90),5,math.random(-90,90))*angles(math.rad(180),math.rad(0),math.rad(0))
  5664. torsweld.C1=clerp(torsweld.C1,cf(0,-21.5 ,-10)*angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  5665. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  5666. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.2)
  5667. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,-.25*8)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  5668. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,1*8)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5669. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.5)*angles(math.rad(25),math.rad(0),math.rad(0)),.2)
  5670. RH.C0=clerp(RH.C0,cf(1,-1.1,0)*angles(math.rad(0),math.rad(85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.01)
  5671. LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.01)
  5672. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,.1)*angles(math.rad(0),math.rad(0),math.rad(0)),.01)
  5673. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.01)
  5674. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(10)),.02)
  5675. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.02)
  5676. end
  5677. symbolizeBlink(root,0,2092248396,MAINRUINCOLOR.Color,25,0,0,0,root,true,math.random(-1,1),1)
  5678. symbolizeBlink(root,0,2092248396,MAINRUINCOLOR.Color,25,0,0,0,root,true,math.random(-2,2),1.5)
  5679. symbolizeBlink(root,0,2092248396,MAINRUINCOLOR.Color,25,0,0,0,root,true,math.random(-3,3),3)
  5680. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5681. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5682. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5683. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5684. CFuncs["EchoSound"].Create("rbxassetid://824687369", effectmodel, 1.5, 1.1,0,10,0.25,0.5,1)
  5685. MagniDamage(root, Ranged, 10,19, 0, "Normal")
  5686. CamShakeAll({
  5687. Duration=0.2;
  5688. Intensity=7.5;
  5689. Position=Vector3.new(2--[[2]],2--[[2]],2--[[2]]);
  5690. Rotation=Vector3.new(2,2,6);
  5691. DropDist=165;
  5692. IneffectiveDist=95;
  5693. Origin=root.Position;
  5694. })
  5695. rrot = rrot + 45
  5696. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5697. xa.Anchored = true
  5698. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5699. xb.Anchored = true
  5700. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5701. xc.Anchored = true
  5702. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5703. xd.Anchored = true
  5704. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-35)
  5705. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,35)
  5706. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-35,-3,0)
  5707. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(35,-3,0)
  5708. game:GetService("Debris"):AddItem(xa, 5)
  5709. game:GetService("Debris"):AddItem(xb, 5)
  5710. game:GetService("Debris"):AddItem(xc, 5)
  5711. game:GetService("Debris"):AddItem(xd, 5)
  5712. coroutine.resume(coroutine.create(function()
  5713. local eff = Instance.new("ParticleEmitter",cen)
  5714. eff.Texture = "rbxassetid://2344870656"
  5715. eff.LightEmission = 1
  5716. eff.Color = ColorSequence.new(BrickColor.new("Royal purple").Color)
  5717. eff.Rate = 10000000
  5718. eff.Enabled = true
  5719. eff.EmissionDirection = "Front"
  5720. eff.Lifetime = NumberRange.new(1)
  5721. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,80,0),NumberSequenceKeypoint.new(1,140,0)})
  5722. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5723. eff.Speed = NumberRange.new(375)
  5724. eff.Drag = 5
  5725. eff.Rotation = NumberRange.new(-500,500)
  5726. eff.SpreadAngle = Vector2.new(0,900)
  5727. eff.RotSpeed = NumberRange.new(-500,500)
  5728. wait(0.2)
  5729. eff.Enabled = false
  5730. wait(5)
  5731. eff:Destroy()
  5732. end))
  5733. for i = 0,2.5,0.1 do
  5734. swait()
  5735. block(10,"Add",secrleg.CFrame*CFrame.new(0,-1*8,0),vt(1,1,1),0.02*8,0.02*8,0.02*8,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  5736. effectsss.CFrame = root.CFrame*cf(math.random(-80,80),5,math.random(-80,80))*angles(math.rad(180),math.rad(0),math.rad(0))
  5737. torsweld.C1=clerp(torsweld.C1,cf(0,-21.5 ,-10)*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  5738. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.1)
  5739. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.1)
  5740. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,.25*8)*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  5741. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,1*8,1*8)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  5742. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.5)*angles(math.rad(25),math.rad(0),math.rad(0)),.1)
  5743. RH.C0=clerp(RH.C0,cf(1,-1.1,0)*angles(math.rad(0),math.rad(85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.01)
  5744. LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.01)
  5745. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,.1)*angles(math.rad(0),math.rad(0),math.rad(0)),.01)
  5746. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.01)
  5747. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(10)),.02)
  5748. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.02)
  5749. end
  5750. end
  5751. for i = 0,10,0.1 do
  5752. swait()
  5753. block(10,"Add",secrleg.CFrame*CFrame.new(0,-1*8,0),vt(1,1,1),0.02*8,0.02*8,0.02*8,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  5754. effectsss.CFrame = root.CFrame*cf(math.random(-80,80),5,math.random(-80,80))*angles(math.rad(180),math.rad(0),math.rad(0))
  5755. torsweld.C1=clerp(torsweld.C1,cf(0,-21.5 ,-10)*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  5756. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.1)
  5757. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.1)
  5758. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,.25*8)*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  5759. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,1*8,1*8)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  5760. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.5)*angles(math.rad(25),math.rad(0),math.rad(0)),.1)
  5761. RH.C0=clerp(RH.C0,cf(1,-1.1,0)*angles(math.rad(-5),math.rad(85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.02)
  5762. LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(-5),math.rad(-85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.02)
  5763. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,.1)*angles(math.rad(-5),math.rad(0),math.rad(0)),.02)
  5764. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(0),math.rad(0)),.02)
  5765. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.02)
  5766. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.02)
  5767. end
  5768. for i = 0,1,0.1 do
  5769. swait()
  5770. block(10,"Add",secrleg.CFrame*CFrame.new(0,-1*8,0),vt(1,1,1),0.02*8,0.02*8,0.02*8,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  5771. effectsss.CFrame = root.CFrame*cf(math.random(-90,90),5,math.random(-90,90))*angles(math.rad(180),math.rad(0),math.rad(0))
  5772. torsweld.C1=clerp(torsweld.C1,cf(0,-21.5 ,-10)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  5773. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  5774. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  5775. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,-.25*8)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  5776. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,1*8)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5777. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.5)*angles(math.rad(25),math.rad(0),math.rad(0)),.3)
  5778. RH.C0=clerp(RH.C0,cf(1,-1.1,0)*angles(math.rad(15),math.rad(85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.2)
  5779. LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(15),math.rad(-85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.2)
  5780. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,.1)*angles(math.rad(15),math.rad(0),math.rad(0)),.2)
  5781. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35),math.rad(0),math.rad(0)),.2)
  5782. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(20),math.rad(0),math.rad(-10)),.2)
  5783. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(20),math.rad(0),math.rad(10)),.2)
  5784. end
  5785. CFuncs["EchoSound"].Create("rbxassetid://689743416", root, 15, 1,0,10,0.25,0.5,1)
  5786. CFuncs["EchoSound"].Create("rbxassetid://159106174", root, 0.5, 0.7,0,10,0.25,0.5,1)
  5787. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5788. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5789. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5790. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5791. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  5792. coroutine.resume(coroutine.create(function()
  5793. local eff = Instance.new("ParticleEmitter",cen)
  5794. eff.Texture = "rbxassetid://2344870656"
  5795. eff.LightEmission = 1
  5796. eff.Color = ColorSequence.new(BrickColor.new("Royal purple").Color)
  5797. eff.Rate = 10000000
  5798. eff.Enabled = true
  5799. eff.EmissionDirection = "Front"
  5800. eff.Lifetime = NumberRange.new(3,5)
  5801. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,80,0),NumberSequenceKeypoint.new(1,140,0)})
  5802. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5803. eff.Speed = NumberRange.new(375,650)
  5804. eff.Drag = 5
  5805. eff.Rotation = NumberRange.new(-500,500)
  5806. eff.SpreadAngle = Vector2.new(0,900)
  5807. eff.RotSpeed = NumberRange.new(-500,500)
  5808. wait(1)
  5809. eff.Enabled = false
  5810. wait(5)
  5811. eff:Destroy()
  5812. end))
  5813. CamShakeAll({
  5814. Duration=0.5;
  5815. Intensity=8;
  5816. Position=Vector3.new(2--[[2]],2--[[2]],2--[[2]]);
  5817. Rotation=Vector3.new(2,2,6);
  5818. DropDist=185;
  5819. IneffectiveDist=130;
  5820. Origin=root.Position;
  5821. })
  5822. symbolizeBlink(root,0,2092248396,MAINRUINCOLOR.Color,75,0,0,0,root,true,math.random(-1,1),1)
  5823. symbolizeBlink(root,0,2092248396,MAINRUINCOLOR.Color,75,0,0,0,root,true,math.random(-2,2),1.5)
  5824. symbolizeBlink(root,0,2092248396,MAINRUINCOLOR.Color,75,0,0,0,root,true,math.random(-3,3),3)
  5825. MagniDamage(root, Ranged+45, 40,60, 0, "Normal")
  5826. sphere2(2,"Add",root.CFrame*CFrame.new(0,-3,10),vt(50,1,50),-0.4,6,-0.4,BrickColor.new("Royal purple"))
  5827. sphere2(2.125,"Add",root.CFrame*CFrame.new(0,-3,10),vt(100,1,100),-0.8,12,-0.8,BrickColor.new("Really black"))
  5828. for i = 0, 45 do
  5829. sphere2(math.random(1,10),"Add",root.CFrame*CFrame.new(0,0,0),vt(1,1,1),2.25,2.25,2.25,BrickColor.new("Royal purple"))
  5830. end
  5831. for i = 0,5,0.1 do
  5832. swait()
  5833. for _,v in next, secondchar:children() do
  5834. v.Transparency=v.Transparency + 1/50
  5835. end
  5836. end
  5837. efec.Enabled = false
  5838. Ended=true
  5839. attack = false
  5840. hum.WalkSpeed=storehumanoidWS
  5841. wait(5)
  5842. effectsss:Destroy()
  5843. efec:Destroy()
  5844. end))
  5845. local roat=0
  5846. local Moveup=0
  5847. newbosschatfunc("Dark Formula 63 : Cast!",modet.TextColor3,modet.TextStrokeColor3,200)
  5848. for i = 0, 40, 0.1 do
  5849. swait()
  5850. roat=roat+5
  5851. Moveup=Moveup+0.1
  5852. if Moveup>10 then
  5853. Moveup=10
  5854. end
  5855. obj1.Transparency = obj1.Transparency - 0.01
  5856. obj1.CFrame = root.CFrame*CFrame.new(0,Moveup,0)*CFrame.Angles(math.rad(0),math.rad(roat),math.rad(-70))
  5857. end
  5858. for i = 0, 20, 0.1 do
  5859. swait()
  5860. roat=roat+5
  5861. Moveup=Moveup-0.2
  5862. if Moveup<1 or Moveup==0 then
  5863. Moveup=0
  5864. end
  5865. obj1.Transparency = obj1.Transparency + 0.08
  5866. obj1.CFrame = root.CFrame*CFrame.new(0,Moveup,0)*CFrame.Angles(math.rad(0),math.rad(roat),math.rad(-70))
  5867. end
  5868. obj1.Transparency=1
  5869. obj1:Destroy()
  5870. end
  5871.  
  5872. v3=Vector3.new
  5873.  
  5874. function Coctilis()
  5875. attack = true
  5876. hum.WalkSpeed=0
  5877. for i = 0, 2, 0.1 do
  5878. swait()
  5879. local Alpha = .4
  5880. RootJoint.C0 = RootJoint.C0:lerp(cf(0,-0.8,-0.3)*angles(math.rad(-30.9),math.rad(0),math.rad(0))*RootCF,Alpha)
  5881. LH.C0 = LH.C0:lerp(cf(-1,-1.1,0)*angles(math.rad(-31.1),math.rad(4.7),math.rad(-11))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
  5882. RH.C0 = RH.C0:lerp(cf(0.9,-0.1,-0.4)*angles(math.rad(39.5),math.rad(-15.7),math.rad(1.1))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
  5883. LW.C0 = LW.C0:lerp(cf(-1.4,0.2,0.3)*angles(math.rad(-17.3),math.rad(0.3),math.rad(-54.4)),Alpha)
  5884. RW.C0 = RW.C0:lerp(cf(1.2,0.3,0.3)*angles(math.rad(-18.3),math.rad(-0.9),math.rad(57)),Alpha)
  5885. Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0.1,-0.4)*angles(math.rad(21.8),math.rad(0),math.rad(0))*necko,Alpha)
  5886. end
  5887. RootPart.Anchored = true
  5888. hum.AutoRotate = false
  5889. local oring = RootPart.Position
  5890.  
  5891. for si = 1, 30 do
  5892. slash(math.random(10,100)/10,3,true,"Round","Add","Out",root.CFrame*cf(0,-3,0)*angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.05,0.01,0.05),math.random(10,125)/250,BrickColor.new("White"))
  5893. end
  5894.  
  5895. for i = 0, 5, 0.1 do
  5896. swait()
  5897. local Alpha = .45
  5898. if i <= 3.3 then
  5899. RootPart.CFrame = RootPart.CFrame:lerp(cf(oring+v3(0,0+100*i,0)),Alpha*1.5)
  5900. RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(math.rad(-0.1),math.rad(0+800*i),math.rad(0))*RootCF,Alpha*1.5)
  5901. else
  5902. RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(math.rad(-0.1),math.rad(0),math.rad(0))*RootCF,Alpha*1.5)
  5903. end
  5904. LH.C0 = LH.C0:lerp(cf(-1,-0.9,0)*angles(math.rad(-9.6),math.rad(5.4),math.rad(-7.2))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
  5905. RH.C0 = RH.C0:lerp(cf(1,-0.4,-0.5)*angles(math.rad(-10.2),math.rad(-9.8),math.rad(6.4))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
  5906. LW.C0 = LW.C0:lerp(cf(-1.4,0.4,-0.2)*angles(math.rad(3.2),math.rad(-25.2),math.rad(-78.8)),Alpha)
  5907. RW.C0 = RW.C0:lerp(cf(1.5,0.4,0.2)*angles(math.rad(2.9),math.rad(-29.5),math.rad(80.4)),Alpha)
  5908. Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0.1,-0.3)*angles(math.rad(20.1),math.rad(0),math.rad(0))*necko,Alpha)
  5909. end
  5910. for i = 0, 1.6, 0.1 do
  5911. swait()
  5912. local Alpha = .3
  5913. RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(math.rad(5.1),math.rad(0),math.rad(0))*RootCF,Alpha)
  5914. LH.C0 = LH.C0:lerp(cf(-1,-0.9,0)*angles(math.rad(-9.6),math.rad(5.4),math.rad(-7.2))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
  5915. RH.C0 = RH.C0:lerp(cf(1,-0.4,-0.5)*angles(math.rad(-10.2),math.rad(-9.8),math.rad(6.4))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
  5916. LW.C0 = LW.C0:lerp(cf(-0.9,0.4,-0.4)*angles(math.rad(82.1),math.rad(19.3),math.rad(67.9)),Alpha)
  5917. RW.C0 = RW.C0:lerp(cf(0.9,0.5,-0.3)*angles(math.rad(83.5),math.rad(-8.3),math.rad(-55.2)),Alpha)
  5918. Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0.3,0.4)*angles(math.rad(-33.1),math.rad(0),math.rad(0))*necko,Alpha)
  5919. end
  5920. Kyu1.Enabled = true
  5921. Kyu2.Enabled = true
  5922. for i = 0, 2, 0.1 do
  5923. swait()
  5924. local Alpha = .4
  5925. RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0.1)*angles(math.rad(16.1),math.rad(0),math.rad(0))*RootCF,Alpha)
  5926. LH.C0 = LH.C0:lerp(cf(-1,-0.9,0)*angles(math.rad(-9.6),math.rad(5.4),math.rad(-7.2))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
  5927. RH.C0 = RH.C0:lerp(cf(1,-0.4,-0.5)*angles(math.rad(-10.2),math.rad(-9.8),math.rad(6.4))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
  5928. LW.C0 = LW.C0:lerp(cf(-1.3,0.3,0.2)*angles(math.rad(-4.6),math.rad(40),math.rad(-59.9)),Alpha)
  5929. RW.C0 = RW.C0:lerp(cf(1.4,0.4,0.1)*angles(math.rad(-5.7),math.rad(-29.2),math.rad(70.3)),Alpha)
  5930. Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0.2,-0.3)*angles(math.rad(24.5),math.rad(0),math.rad(0))*necko,Alpha)
  5931. end
  5932. newbosschatfunc("Look like you're about to turn into ashes...",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,1500)
  5933. for i = 0, 10, 0.1 do
  5934. swait()
  5935. local Alpha = .4
  5936. if i <= 1 then
  5937. RootJoint.C0 = RootJoint.C0:lerp(cf(0,-0.2,-0.4)*angles(math.rad(-50.1+360*i),math.rad(0),math.rad(0))*RootCF,Alpha)
  5938. else
  5939. RootJoint.C0 = RootJoint.C0:lerp(cf(0,-0.2,-0.4)*angles(math.rad(-50.1),math.rad(0),math.rad(0))*RootCF,Alpha)
  5940. end
  5941. LH.C0 = LH.C0:lerp(cf(-1,-0.9,0)*angles(math.rad(-9.6),math.rad(5.4),math.rad(-7.2))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
  5942. RH.C0 = RH.C0:lerp(cf(1,-0.4,-0.5)*angles(math.rad(-10.2),math.rad(-9.8),math.rad(6.4))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
  5943. LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0.2)*angles(math.rad(-39.7),math.rad(4.7),math.rad(-67.6)),Alpha)
  5944. RW.C0 = RW.C0:lerp(cf(1.6,0.5,0.2)*angles(math.rad(-38.8),math.rad(-8.1),math.rad(56.8)),Alpha)
  5945. Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0.3,-0.8)*angles(math.rad(40.4),math.rad(0),math.rad(0))*necko,Alpha)
  5946. end
  5947. oring = RootPart.Position
  5948. local MM=mouse.Hit.p+v3(0,3,0)
  5949. RootPart.CFrame = CFrame.new(MM, oring)*CFrame.Angles(0,math.rad(180),0)
  5950. MagniDamage(root, 80, 79,90, 0, "Burn")
  5951. newbosschatfunc("HA!",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,30)
  5952. CFuncs["Sound"].Create("rbxassetid://255679373", char, 5.25,1)
  5953. for i = 1, 36 do
  5954. 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,MAINRUINCOLOR)
  5955. end
  5956. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5957. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  5958. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  5959. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5960. sphere(2.5,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  5961. sphere(2.5,"Add",root.CFrame,vt(0,0,0),3,MAINRUINCOLOR)
  5962. for i = 0, 148 do
  5963. 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))),1,1,1,0.02,MAINRUINCOLOR,0)
  5964. end
  5965. for i = 0,3,0.1 do
  5966. 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)
  5967. end
  5968. for i = 0, 3, 0.1 do
  5969. swait()
  5970. local Alpha = .3
  5971. RootJoint.C0 = RootJoint.C0:lerp(cf(0,-0.6,-0.6)*angles(math.rad(-45.7),math.rad(0),math.rad(0))*RootCF,Alpha)
  5972. LH.C0 = LH.C0:lerp(cf(-1,-1,0.1)*angles(math.rad(3.4),math.rad(4.5),math.rad(-8))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
  5973. RH.C0 = RH.C0:lerp(cf(1.2,-0.1,-0.4)*angles(math.rad(49.8),math.rad(-9),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
  5974. LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*angles(math.rad(14.1),math.rad(0),math.rad(-27)),Alpha)
  5975. RW.C0 = RW.C0:lerp(cf(1.6,0.5,0)*angles(math.rad(14.1),math.rad(0),math.rad(32.6)),Alpha)
  5976. Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0.1,0.3)*angles(math.rad(-14.3),math.rad(0),math.rad(0))*necko,Alpha)
  5977. end
  5978. Kyu1.Enabled = false
  5979. Kyu2.Enabled = false
  5980. RootPart.Anchored = false
  5981. attack = false
  5982. hum.AutoRotate = true
  5983. hum.WalkSpeed=storehumanoidWS
  5984. end
  5985.  
  5986. function MergeWithSpirit()
  5987. storehumanoidWS=0
  5988. Humanoid.WalkSpeed=0
  5989. Humanoid.JumpPower=0
  5990. attack=true
  5991. newbosschatfunc("What is this feeling..?",BrickColor.new'Really black'.Color,BrickColor.new'Black'.Color,200)
  5992. currentThemePlaying=''
  5993. for i = 0, 12, 0.1 do
  5994. swait()
  5995. local Alpha = .1
  5996. RootJoint.C0 = RootJoint.C0:lerp(cf(-0.2,-1.4,-0.5)*angles(math.rad(-36),math.rad(-16.3),math.rad(0))*RootCF,Alpha)
  5997. LH.C0 = LH.C0:lerp(cf(-0.9,0.3,-0.1)*angles(math.rad(17.7),math.rad(15.6),math.rad(-4.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
  5998. RH.C0 = RH.C0:lerp(cf(1.2,-1.2,-0.3)*angles(math.rad(-32.5),math.rad(13.9),math.rad(8.7))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
  5999. LW.C0 = LW.C0:lerp(cf(-1.5,0.3,-0.4)*angles(math.rad(43.5),math.rad(12),math.rad(-11.1)),Alpha)
  6000. RW.C0 = RW.C0:lerp(cf(0.9,0.2,-0.4)*angles(math.rad(41.2),math.rad(0),math.rad(-63.3)),Alpha)
  6001. Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0.1,0.2,0.4)*angles(math.rad(-29.6),math.rad(16.9),math.rad(9.4))*necko,Alpha)
  6002. end
  6003. newbosschatfunc("My soul feels..",BrickColor.new'Really black'.Color,BrickColor.new'Black'.Color,200)
  6004. for i = 0, 12, 0.1 do
  6005. swait()
  6006. local Alpha = .1
  6007. RootJoint.C0 = RootJoint.C0:lerp(cf(-0.2,-1.4,-0.5)*angles(math.rad(-36),math.rad(-16.3),math.rad(0))*RootCF,Alpha)
  6008. LH.C0 = LH.C0:lerp(cf(-0.9,0.3,-0.1)*angles(math.rad(17.7),math.rad(15.6),math.rad(-4.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
  6009. RH.C0 = RH.C0:lerp(cf(1.2,-1.2,-0.3)*angles(math.rad(-32.5),math.rad(13.9),math.rad(8.7))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
  6010. LW.C0 = LW.C0:lerp(cf(-1.5,0.3,-0.4)*angles(math.rad(43.5),math.rad(12),math.rad(-11.1)),Alpha)
  6011. RW.C0 = RW.C0:lerp(cf(0.9,0.2,-0.4)*angles(math.rad(41.2),math.rad(0),math.rad(-63.3)),Alpha)
  6012. Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(-0.1,0.2,-0.4)*angles(math.rad(29.3),math.rad(16.9),math.rad(-9.3))*necko,Alpha)
  6013. end
  6014. newbosschatfunc("Empty..",BrickColor.new'Really black'.Color,BrickColor.new'Black'.Color,200)
  6015. for i = 0, 12, 0.1 do
  6016. swait()
  6017. local Alpha = .1
  6018. RootJoint.C0 = RootJoint.C0:lerp(cf(-0.2,-1.4,-0.5)*angles(math.rad(-36),math.rad(-16.3),math.rad(0))*RootCF,Alpha)
  6019. LH.C0 = LH.C0:lerp(cf(-0.9,0.3,-0.1)*angles(math.rad(17.7),math.rad(15.6),math.rad(-4.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
  6020. RH.C0 = RH.C0:lerp(cf(1.2,-1.2,-0.3)*angles(math.rad(-32.5),math.rad(13.9),math.rad(8.7))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
  6021. LW.C0 = LW.C0:lerp(cf(-1.5,0.3,-0.4)*angles(math.rad(43.5),math.rad(12),math.rad(-11.1)),Alpha)
  6022. RW.C0 = RW.C0:lerp(cf(0.9,0.2,-0.4)*angles(math.rad(41.2),math.rad(0),math.rad(-63.3)),Alpha)
  6023. Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0.1,0.2,0.4)*angles(math.rad(-29.6),math.rad(16.9),math.rad(9.4))*necko,Alpha)
  6024. end
  6025. newbosschatfunc("Oh wait..",BrickColor.new'Really black'.Color,BrickColor.new'Black'.Color,200)
  6026. for i = 0, 8, 0.1 do
  6027. swait()
  6028. local Alpha = .1
  6029. RootJoint.C0 = RootJoint.C0:lerp(cf(-0.2,-1.4,-0.5)*angles(math.rad(-36),math.rad(-16.3),math.rad(0))*RootCF,Alpha)
  6030. LH.C0 = LH.C0:lerp(cf(-0.9,0.3,-0.1)*angles(math.rad(17.7),math.rad(15.6),math.rad(-4.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
  6031. RH.C0 = RH.C0:lerp(cf(1.2,-1.2,-0.3)*angles(math.rad(-32.5),math.rad(13.9),math.rad(8.7))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
  6032. LW.C0 = LW.C0:lerp(cf(-1.5,0.3,-0.4)*angles(math.rad(43.5),math.rad(12),math.rad(-11.1)),Alpha)
  6033. RW.C0 = RW.C0:lerp(cf(0.9,0.2,-0.4)*angles(math.rad(41.2),math.rad(0),math.rad(-63.3)),Alpha)
  6034. Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0.1,0.2,0.4)*angles(math.rad(-29.6),math.rad(16.9),math.rad(9.4))*necko,Alpha)
  6035. end
  6036. newbosschatfunc("Ahah.. I know this feeling..",BrickColor.new'Really black'.Color,BrickColor.new'Black'.Color,200)
  6037. for i = 0, 12, 0.1 do
  6038. swait()
  6039. local Alpha = .1
  6040. RootJoint.C0 = RootJoint.C0:lerp(cf(-0.2,-1.4,-0.5)*angles(math.rad(-36),math.rad(-16.3),math.rad(0))*RootCF,Alpha)
  6041. LH.C0 = LH.C0:lerp(cf(-0.9,0.3,-0.1)*angles(math.rad(17.7),math.rad(15.6),math.rad(-4.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
  6042. RH.C0 = RH.C0:lerp(cf(1.2,-1.2,-0.3)*angles(math.rad(-32.5),math.rad(13.9),math.rad(8.7))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
  6043. LW.C0 = LW.C0:lerp(cf(-1.5,0.3,-0.4)*angles(math.rad(43.5),math.rad(12),math.rad(-11.1)),Alpha)
  6044. RW.C0 = RW.C0:lerp(cf(0.9,0.2,-0.4)*angles(math.rad(41.2),math.rad(0),math.rad(-63.3)),Alpha)
  6045. Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0.1,0.2,0.4)*angles(math.rad(-29.6),math.rad(16.9),math.rad(9.4))*necko,Alpha)
  6046. end
  6047. newbosschatfunc("And.. It needs to be released!",BrickColor.new'Really black'.Color,BrickColor.new'Black'.Color,200)
  6048. for i = 0, 12, 0.1 do
  6049. swait()
  6050. local Alpha = .1
  6051. RootJoint.C0 = RootJoint.C0:lerp(cf(-0.2,-1.4,-0.5)*angles(math.rad(-36),math.rad(-16.3),math.rad(0))*RootCF,Alpha)
  6052. LH.C0 = LH.C0:lerp(cf(-0.9,0.3,-0.1)*angles(math.rad(17.7),math.rad(15.6),math.rad(-4.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
  6053. RH.C0 = RH.C0:lerp(cf(1.2,-1.2,-0.3)*angles(math.rad(-32.5),math.rad(13.9),math.rad(8.7))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
  6054. LW.C0 = LW.C0:lerp(cf(-1.5,0.3,-0.4)*angles(math.rad(43.5),math.rad(12),math.rad(-11.1)),Alpha)
  6055. RW.C0 = RW.C0:lerp(cf(0.9,0.2,-0.4)*angles(math.rad(41.2),math.rad(0),math.rad(-63.3)),Alpha)
  6056. Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(-0.1,0.2,-0.4)*angles(math.rad(29.3),math.rad(16.9),math.rad(-9.3))*necko,Alpha)
  6057. end
  6058. for i = 0, 19 do
  6059. slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-2.5,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.002,0.01),math.random(150,250)/250,SECONDRUINCOLOR)
  6060. end
  6061. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 4,1)
  6062. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  6063. CFuncs["Sound"].Create("rbxassetid://1310128035", root, 9, 0.9)
  6064. CFuncs["Sound"].Create("rbxassetid://199145739", root, 3,1)
  6065. MagniDamage(root, 50, 40,50, 0, "Normal")
  6066. sphere2(2,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),2,2,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6067. sphere2(3,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),2,2,2,SECONDRUINCOLOR,SECONDRUINCOLOR.Color)
  6068. CFuncs['Sound'].Create("rbxassetid://528589078",root,10,.7)
  6069. for _,v in next, secondchar:children() do
  6070. if(v.Name~='REye' and v.Name~='LEye')then
  6071. v.BrickColor=BrickColor.new'Black'
  6072. v.Material=Enum.Material.Glass
  6073. else
  6074. v.Color=Color3.new(1,1,1)
  6075. v.Material=Enum.Material.Neon
  6076. end
  6077. v.Transparency=1
  6078. end
  6079.  
  6080. torsweld.C1=cf(0,21.5,0)*angles(math.rad(70),math.rad(0),math.rad(0))
  6081. larmsweld.C1=cf(-0.5*8,0.125*8,0.5*8)*angles(math.rad(0),math.rad(0),math.rad(-87))
  6082. rarmsweld.C1=cf(0.5*8,0.125*8,0.5*8)*angles(math.rad(0),math.rad(0),math.rad(91))
  6083. llegsweld.C1=cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0))
  6084. rlegsweld.C1=cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0))
  6085. hedsweld.C1=cf(0,-1.5*8,0)*angles(math.rad(30),math.rad(0),math.rad(0))
  6086. for i = 0, 16, 0.1 do
  6087. swait()
  6088. blast(math.random(10,30)/10,5,true,10,"Add","Out",root.CFrame*CFrame.new(0,-2.5,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,.2,1),math.random(75,125),MAINRUINCOLOR)
  6089. for _,v in next, secondchar:children() do
  6090. if(v.Name=='REye' or v.Name=='LEye')then
  6091. v.Transparency=v.Transparency - 1/150
  6092. else
  6093. v.Transparency=v.Transparency - .5/150
  6094. end
  6095. end
  6096. torsweld.C1=torsweld.C1:lerp(cf(0,-21,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.05)
  6097. larmsweld.C1=larmsweld.C1:lerp(cf(-1.5*8,0,0)*angles(math.rad(0),math.rad(0),math.rad(-5)),.1)
  6098. rarmsweld.C1=rarmsweld.C1:lerp(cf(1.5*8,0,0)*angles(math.rad(0),math.rad(0),math.rad(5)),.1)
  6099. llegsweld.C1=llegsweld.C1:lerp(cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6100. rlegsweld.C1=rlegsweld.C1:lerp(cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6101. hedsweld.C1=hedsweld.C1:lerp(cf(0,-1.5*8,0)*angles(math.rad(30),math.rad(0),math.rad(0)),.1)
  6102. local Alpha = .3
  6103. RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0.3)*angles(math.rad(21.6),math.rad(0),math.rad(0))*RootCF,Alpha)
  6104. LH.C0 = LH.C0:lerp(cf(-1,-1,0)*angles(math.rad(-21.6),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
  6105. RH.C0 = RH.C0:lerp(cf(1,-1,0.1)*angles(math.rad(-21.6),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
  6106. LW.C0 = LW.C0:lerp(cf(-2,0.5,0.8)*angles(math.rad(0),math.rad(35),math.rad(90)),Alpha)
  6107. RW.C0 = RW.C0:lerp(cf(1.2,0.5,0.3)*angles(math.rad(0),math.rad(-35),math.rad(90)),Alpha)
  6108. Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,-0.3)*angles(math.rad(15.2),math.rad(0),math.rad(0))*necko,Alpha)
  6109. end
  6110. newbosschatfunc("LETS PLAY!",BrickColor.new'Really black'.Color,BrickColor.new'Black'.Color,200)
  6111. for i = 0, 4, 0.1 do
  6112. hedsweld.C1=hedsweld.C1:lerp(cf(0,-1.5*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6113. swait()
  6114. end
  6115. kan.TimePosition=0
  6116. Humanoid.JumpPower=50
  6117. attack=false
  6118. end
  6119.  
  6120. function bigattackone()
  6121. attack=true
  6122. for i = 0, 3, 0.1 do
  6123. swait()
  6124. local Alpha = .3
  6125. block(10,"Add",secrarm.CFrame*CFrame.new(0,-1*8,0),vt(1,1,1),0.02*8,0.02*8,0.02*8,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6126. RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0.1)*angles(math.rad(11.1),math.rad(13),math.rad(0))*RootCF,Alpha)
  6127. LH.C0 = LH.C0:lerp(cf(-0.9,-1,-0.3)*angles(math.rad(-11.4),math.rad(-12.7),math.rad(-2.5))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
  6128. RH.C0 = RH.C0:lerp(cf(1,-1.2,-0.2)*angles(math.rad(-39.2),math.rad(-6.4),math.rad(-1.3))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
  6129. LW.C0 = LW.C0:lerp(cf(-1.5,0.4,0)*angles(math.rad(30.8),math.rad(-2.6),math.rad(-4.4)),Alpha)
  6130. RW.C0 = RW.C0:lerp(cf(1.3,0.8,0)*angles(math.rad(-124),math.rad(-23.6),math.rad(36.4)),Alpha)
  6131. Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,-0.2)*angles(math.rad(13.7),math.rad(-12.6),math.rad(3.1))*necko,Alpha)
  6132. end
  6133. for i = 0, .7, 0.1 do
  6134. swait()
  6135. local Alpha = .3
  6136. block(10,"Add",secrarm.CFrame*CFrame.new(0,-1*8,0),vt(1,1,1),0.02*8,0.02*8,0.02*8,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6137. RootJoint.C0 = RootJoint.C0:lerp(cf(0,-1.3,-0.5)*angles(math.rad(-75.7),math.rad(0),math.rad(0))*RootCF,Alpha)
  6138. LH.C0 = LH.C0:lerp(cf(-1,0.2,-0.5)*angles(math.rad(30.2),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
  6139. RH.C0 = RH.C0:lerp(cf(1,-0.7,-0.3)*angles(math.rad(3.1),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
  6140. LW.C0 = LW.C0:lerp(cf(-1.3,0.6,0)*angles(math.rad(-61.3),math.rad(0),math.rad(-28)),Alpha)
  6141. RW.C0 = RW.C0:lerp(cf(1.1,0.9,-0.4)*angles(math.rad(89.1),math.rad(0),math.rad(-21.8)),Alpha)
  6142. Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*necko,Alpha)
  6143. end
  6144. local magPart=Instance.new("Part",effectmodel)
  6145. magPart.Transparency=1
  6146. magPart.Anchored=true
  6147. magPart.CFrame=CFrame.new(secrarm.CFrame*CFrame.new(0,-8,0).p)
  6148. CamShakeAll({
  6149. Duration=0.25;
  6150. Intensity=10;
  6151. Position=Vector3.new(2,2,2);
  6152. Rotation=Vector3.new(2,2,6);
  6153. DropDist=60;
  6154. IneffectiveDist=120;
  6155. Origin=magPart.Position;
  6156. })
  6157. for i = 1, 16 do
  6158. blast(math.random(5,15)/10,5,true,8,"Add","Out",magPart.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,1,1),math.random(75,125),MAINRUINCOLOR)
  6159. blast(math.random(10,30)/10,5,true,10,"Add","Out",magPart.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),math.random(125,250),SECONDRUINCOLOR)
  6160. end
  6161. sphere(5,'Add',magPart.CFrame,vt(.2,.2,.2),2,MAINRUINCOLOR)
  6162. MagniDamage(magPart,30,45,95,25,'Normal')
  6163. for i = 0, 3, 0.1 do
  6164. swait()
  6165. local Alpha = .3
  6166. RootJoint.C0 = RootJoint.C0:lerp(cf(0,-1.7,-0.5)*angles(math.rad(-75.7),math.rad(0),math.rad(0))*RootCF,Alpha)
  6167. LH.C0 = LH.C0:lerp(cf(-1,0.2,-0.5)*angles(math.rad(30.2),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
  6168. RH.C0 = RH.C0:lerp(cf(1,-0.7,-0.3)*angles(math.rad(3.1),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
  6169. LW.C0 = LW.C0:lerp(cf(-1.3,0.6,0)*angles(math.rad(-61.3),math.rad(0),math.rad(-28)),Alpha)
  6170. RW.C0 = RW.C0:lerp(cf(1.1,0.9,-0.4)*angles(math.rad(89.1),math.rad(0),math.rad(-21.8)),Alpha)
  6171. Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*necko,Alpha)
  6172. end
  6173. attack=false
  6174. end
  6175.  
  6176. function bigattacktwo()
  6177. attack=true
  6178. for i = 0, 3, 0.1 do
  6179. swait()
  6180. local Alpha = .3
  6181. block(10,"Add",secrleg.CFrame*CFrame.new(0,-1*8,0),vt(1,1,1),0.02*8,0.02*8,0.02*8,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6182. blast(math.random(20,30)/5,5,true,10,"Add","Out",secrleg.CFrame*CFrame.new(0,-1*8,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),math.random(10,25),SECONDRUINCOLOR)
  6183.  
  6184. RootJoint.C0 = RootJoint.C0:lerp(cf(0,-0.1,0.2)*angles(math.rad(28.7),math.rad(0),math.rad(0))*RootCF,Alpha)
  6185. LH.C0 = LH.C0:lerp(cf(-1,-0.9,0.2)*angles(math.rad(-28.7),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
  6186. RH.C0 = RH.C0:lerp(cf(1,-.2,-0.8)*angles(math.rad(-28.7),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
  6187. LW.C0 = LW.C0:lerp(cf(-1.5,0.6,-0.2)*angles(math.rad(30.9),math.rad(0),math.rad(-25)),Alpha)
  6188. RW.C0 = RW.C0:lerp(cf(1.5,0.6,-0.2)*angles(math.rad(30.9),math.rad(0),math.rad(25)),Alpha)
  6189. Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*necko,Alpha)
  6190. end
  6191.  
  6192. for i = 0, .7, 0.1 do
  6193. swait()
  6194. local Alpha = .3
  6195. block(10,"Add",secrleg.CFrame*CFrame.new(0,-1*8,0),vt(1,1,1),0.02*8,0.02*8,0.02*8,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6196. RootJoint.C0 = RootJoint.C0:lerp(cf(0,-0.4,-0.3)*angles(math.rad(-34.7),math.rad(0),math.rad(0))*RootCF,Alpha)
  6197. LH.C0 = LH.C0:lerp(cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
  6198. RH.C0 = RH.C0:lerp(cf(1,-0.4,-0.4)*angles(math.rad(34.7),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
  6199. LW.C0 = LW.C0:lerp(cf(-1.5,0.4,0.1)*angles(math.rad(-65.9),math.rad(0.9),math.rad(-4.9)),Alpha)
  6200. RW.C0 = RW.C0:lerp(cf(1.5,0.4,0.1)*angles(math.rad(-65.9),math.rad(-0.9),math.rad(4.9)),Alpha)
  6201. Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*necko,Alpha)
  6202. end
  6203. local magPart=Instance.new("Part",effectmodel)
  6204. magPart.Transparency=1
  6205. magPart.Anchored=true
  6206. magPart.CFrame=CFrame.new(secrleg.CFrame*CFrame.new(0,-8,0).p)
  6207. CamShakeAll({
  6208. Duration=0.25;
  6209. Intensity=10;
  6210. Position=Vector3.new(2,2,2);
  6211. Rotation=Vector3.new(2,2,6);
  6212. DropDist=60;
  6213. IneffectiveDist=120;
  6214. Origin=magPart.Position;
  6215. })
  6216. for i = 1, 16 do
  6217. blast(math.random(5,15)/10,5,true,8,"Add","Out",magPart.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,1,1),math.random(75,125),MAINRUINCOLOR)
  6218. blast(math.random(10,30)/10,5,true,10,"Add","Out",magPart.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),math.random(125,250),SECONDRUINCOLOR)
  6219. end
  6220. sphere(5,'Add',magPart.CFrame,vt(.2,.2,.2),2,MAINRUINCOLOR)
  6221. sphere(5,'Add',magPart.CFrame,vt(5,.2,5),.1,MAINRUINCOLOR)
  6222. MagniDamage(magPart,30,45,95,25,'Normal')
  6223. for i = 0, 3, 0.1 do
  6224. swait()
  6225. local Alpha = .3
  6226. RootJoint.C0 = RootJoint.C0:lerp(cf(0,-0.4,-0.3)*angles(math.rad(-34.7),math.rad(0),math.rad(0))*RootCF,Alpha)
  6227. LH.C0 = LH.C0:lerp(cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
  6228. RH.C0 = RH.C0:lerp(cf(1,-0.4,-0.4)*angles(math.rad(34.7),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
  6229. LW.C0 = LW.C0:lerp(cf(-1.5,0.4,0.1)*angles(math.rad(-65.9),math.rad(0.9),math.rad(-4.9)),Alpha)
  6230. RW.C0 = RW.C0:lerp(cf(1.5,0.4,0.1)*angles(math.rad(-65.9),math.rad(-0.9),math.rad(4.9)),Alpha)
  6231. Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*necko,Alpha)
  6232. end
  6233. attack=false
  6234. end
  6235.  
  6236. function bigattackthree()
  6237. attack = true
  6238. hum.WalkSpeed = 2
  6239. local keptcolor = MAINRUINCOLOR
  6240. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  6241. 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)
  6242. 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)
  6243. for i = 0, 14 do
  6244. 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,SECONDRUINCOLOR,0)
  6245. end
  6246. for i = 0,1,0.1 do
  6247. swait()
  6248. 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)
  6249. 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)
  6250. 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)
  6251. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6252. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  6253. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6254. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  6255. end
  6256. for i = 0, 2 do
  6257. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  6258. for i = 0,1,0.6 do
  6259. swait()
  6260. 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)
  6261. 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"))
  6262. 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)
  6263. 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)
  6264. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  6265. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  6266. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  6267. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  6268. end
  6269. for i = 0,1,0.6 do
  6270. swait()
  6271. 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)
  6272. 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"))
  6273. 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)
  6274. 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)
  6275. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  6276. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  6277. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  6278. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  6279. end
  6280. for i = 0,1,0.6 do
  6281. swait()
  6282. 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)
  6283. 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"))
  6284. 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)
  6285. 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)
  6286. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  6287. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  6288. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  6289. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  6290. end
  6291. for i = 0,1,0.6 do
  6292. swait()
  6293. 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)
  6294. 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"))
  6295. 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)
  6296. 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)
  6297. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  6298. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  6299. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  6300. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  6301. end
  6302. local rot = 0
  6303. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  6304. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  6305. dis.CFrame = sectors.CFrame*CFrame.new(0,2,-24)
  6306. CreateMesh(dis,"Sphere",40,4,40)
  6307. local at1 = Instance.new("Attachment",dis)
  6308. at1.Position = vt(-20,0,0)
  6309. local at2 = Instance.new("Attachment",dis)
  6310. at2.Position = vt(20,0,0)
  6311. local trl = Instance.new('Trail',dis)
  6312. trl.Attachment0 = at1
  6313. trl.Attachment1 = at2
  6314. trl.Texture = "rbxassetid://1049219073"
  6315. trl.LightEmission = 1
  6316. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6317. trl.Color = ColorSequence.new(dis.Color)
  6318. trl.Lifetime = 0.6
  6319. local a = Instance.new("Part",workspace)
  6320. a.Name = "Direction"
  6321. a.Anchored = true
  6322. a.BrickColor = bc("Bright red")
  6323. a.Material = "Neon"
  6324. a.Transparency = 1
  6325. a.CanCollide = false
  6326. local ray = Ray.new(
  6327. dis.CFrame.p, -- origin
  6328. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6329. )
  6330. local ignore = dis
  6331. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6332. a.BottomSurface = 10
  6333. a.TopSurface = 10
  6334. local distance = (dis.CFrame.p - position).magnitude
  6335. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6336. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6337. dis.CFrame = a.CFrame
  6338. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6339. a:Destroy()
  6340. local bv = Instance.new("BodyVelocity")
  6341. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6342. bv.velocity = dis.CFrame.lookVector*1000
  6343. bv.Parent = dis
  6344. game:GetService("Debris"):AddItem(dis, 5)
  6345. local hitted = false
  6346. coroutine.resume(coroutine.create(function()
  6347. dis.Touched:connect(function(hit)
  6348. if hitted == false and not hit:IsDescendantOf(char) then
  6349. hitted = true
  6350. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  6351. CamShakeAll({
  6352. Duration=0.4;
  6353. Intensity=3;
  6354. Position=Vector3.new(2,2,2);
  6355. Rotation=Vector3.new(2,2,6);
  6356. DropDist=60;
  6357. IneffectiveDist=80;
  6358. Origin=dis.Position;
  6359. })
  6360. MagniDamage(dis, 120, 104,188, 0, "Normal")
  6361. sphere2(8,"Add",dis.CFrame,vt(80,8,80),8,0.8,8,keptcolor,keptcolor.Color)
  6362. sphere2(4,"Add",dis.CFrame,vt(8,8,8),4,4,4,SECONDRUINCOLOR,SECONDRUINCOLOR.Color)
  6363. sphere2(3,"Add",dis.CFrame,vt(8,8,8),4,4,4,SECONDRUINCOLOR,SECONDRUINCOLOR.Color)
  6364. local eff = Instance.new("ParticleEmitter",dis)
  6365. eff.Texture = "rbxassetid://2344870656"
  6366. eff.LightEmission = 1
  6367. eff.Color = ColorSequence.new(dis.Color)
  6368. eff.Rate = 10000000
  6369. eff.Enabled = true
  6370. eff.EmissionDirection = "Front"
  6371. eff.Lifetime = NumberRange.new(1)
  6372. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  6373. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6374. eff.Speed = NumberRange.new(150)
  6375. eff.Drag = 5
  6376. eff.Rotation = NumberRange.new(-500,500)
  6377. eff.SpreadAngle = Vector2.new(0,900)
  6378. eff.RotSpeed = NumberRange.new(-500,500)
  6379. delay(0.2, function() eff.Enabled = false end)
  6380. coroutine.resume(coroutine.create(function()
  6381. for i = 0, 9 do
  6382. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6383. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6384. local at1 = Instance.new("Attachment",disr)
  6385. at1.Position = vt(-5,0,0)
  6386. local at2 = Instance.new("Attachment",disr)
  6387. at2.Position = vt(5,0,0)
  6388. local trl = Instance.new('Trail',disr)
  6389. trl.Attachment0 = at1
  6390. trl.FaceCamera = true
  6391. trl.Attachment1 = at2
  6392. trl.Texture = "rbxassetid://2342682798"
  6393. trl.LightEmission = 1
  6394. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6395. trl.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
  6396. trl.Lifetime = 0.5
  6397. local bv = Instance.new("BodyVelocity")
  6398. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6399. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6400. bv.Parent = disr
  6401. local val = 0
  6402. coroutine.resume(coroutine.create(function()
  6403. swait(30)
  6404. for i = 0, 9 do
  6405. swait()
  6406. val = val + 0.1
  6407. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6408. end
  6409. game:GetService("Debris"):AddItem(disr, 3)
  6410. end))
  6411. end
  6412. local eff = Instance.new("ParticleEmitter",dis)
  6413. eff.Texture = "rbxassetid://2273224484"
  6414. eff.LightEmission = 1
  6415. eff.Color = ColorSequence.new(keptcolor.Color)
  6416. eff.Rate = 500000
  6417. eff.Lifetime = NumberRange.new(0.5,2)
  6418. 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)})
  6419. 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)})
  6420. eff.Speed = NumberRange.new(20,250)
  6421. eff.Drag = 5
  6422. eff.Rotation = NumberRange.new(-500,500)
  6423. eff.VelocitySpread = 9000
  6424. eff.RotSpeed = NumberRange.new(-50,50)
  6425. wait(0.25)
  6426. eff.Enabled = false
  6427. end))
  6428. for i = 0, 9 do
  6429. 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.08,0.08,0.08),math.random(800,1600)/250,SECONDRUINCOLOR)
  6430. end
  6431. for i = 0, 19 do
  6432. PixelBlock(1,math.random(20,160),"Add",dis.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.64,keptcolor,0)
  6433. end
  6434. dis.Anchored = true
  6435. dis.Transparency = 1
  6436. wait(8)
  6437. dis:Destroy()
  6438. end
  6439. end)
  6440. end))
  6441. rot = rot - 15
  6442. end
  6443. for i = 0,2,0.1 do
  6444. swait()
  6445. 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)
  6446. 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)
  6447. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  6448. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  6449. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  6450. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  6451. end
  6452. attack = false
  6453. hum.WalkSpeed = storehumanoidWS
  6454. end
  6455.  
  6456. -------------------------------------
  6457.  
  6458. if Humanoid:findFirstChild("Animator")~=nil then
  6459. Humanoid:findFirstChild("Animator").Parent=nil
  6460. end
  6461.  
  6462. if Character:findFirstChild("Animate")~=nil then
  6463. Character:findFirstChild("Animate").Parent=nil
  6464. end
  6465. local TransformCD = false
  6466. hum.WalkSpeed = 16
  6467. -------------------------------------
  6468.  
  6469. local NewInstance = function(instance,parent,properties)
  6470. local inst = Instance.new(instance,parent)
  6471. if(properties)then
  6472. for i,v in next, properties do
  6473. pcall(function() inst[i] = v end)
  6474. end
  6475. end
  6476. return inst;
  6477. end
  6478.  
  6479. local attacktype = 1
  6480. mouse.Button1Down:connect(function()
  6481. if(ModeOfGlitch==20 and major)then
  6482. if attack == false and attacktype == 1 then
  6483. attacktype = 2
  6484. bigattackone()
  6485. elseif attack == false and attacktype == 2 then
  6486. attacktype = 3
  6487. bigattacktwo()
  6488. elseif attack == false and attacktype == 3 then
  6489. attacktype = 1
  6490. bigattackthree()
  6491. end
  6492. else
  6493. if attack == false and attacktype == 1 then
  6494. attacktype = 2
  6495. attackone()
  6496. elseif attack == false and attacktype == 2 then
  6497. attacktype = 3
  6498. attacktwo()
  6499. elseif attack == false and attacktype == 3 then
  6500. attacktype = 1
  6501. attackthree()
  6502. elseif attack == false and attacktype == 4 then
  6503. attacktype = 1
  6504. --attackfour()
  6505. end
  6506. end
  6507. end)
  6508.  
  6509. local modeInformation={
  6510. {Name='COMMOTIAUS',ThemePitch=1,Walkspeed=16,Rainbow=false,Chaos=false,Theme="rbxassetid://222359560",Volume=1.2,TextColor=BrickColor.new("Bright bluish green").Color,Stroke=Color3.new(0,0.3,1),Font='Arcade',MainColor=BrickColor.new("Bright bluish green"),SecColor=BrickColor.new("Pastel light blue"),WingColor1=BrickColor.new("Bright bluish green"),WingColor2=BrickColor.new("Bright bluish green"),ExWing1={Trans=1,Color=BrickColor.new("Bright bluish green")},ExWing2={Trans=1,Color=BrickColor.new("Bright bluish green")},SecondWing=true,SecondTrail=false,MainTrail=false};
  6511. {Name='DURABITINE',ThemePitch=1,Walkspeed=12,Rainbow=false,Chaos=false,Theme="rbxassetid://692083837",Volume=1.2,TextColor=BrickColor.new("Earth green").Color,Stroke=BrickColor.new("Forest green").Color,Font='Bodoni',MainColor=BrickColor.new("Earth green"),SecColor=BrickColor.new("Forest green"),WingColor1=BrickColor.new("Earth green"),WingColor2=BrickColor.new("Forest green"),ExWing1={Trans=1,Color=BrickColor.new("Earth green")},ExWing2={Trans=1,Color=BrickColor.new("Earth green")},SecondWing=true,SecondTrail=false,MainTrail=true};
  6512. {Name='ENCHANTER',ThemePitch=1,Walkspeed=19,Rainbow=false,Chaos=false,Theme="rbxassetid://436447939",Volume=1.2,TextColor=Color3.new(0.1,0.1,0.1),Stroke=BrickColor.new"Royal purple".Color,Font='Antique',MainColor=BrickColor.new("Mulberry"),SecColor=BrickColor.new("Royal purple"),WingColor1=BrickColor.new("Mulberry"),WingColor2=BrickColor.new("Royal purple"),ExWing1={Trans=1,Color=BrickColor.new("Mulberry")},ExWing2={Trans=1,Color=BrickColor.new("Mulberry")},SecondWing=true,SecondTrail=false,MainTrail=true};
  6513. {Name='MACABRE',ThemePitch=.8,Walkspeed=9,Rainbow=false,Chaos=false,Theme="rbxassetid://247111152",Volume=1.3,TextColor=Color3.new(0,0,0),Stroke=BrickColor.new("Really black").Color,Font='Cartoon',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Really black"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Really black")},SecondWing=true,SecondTrail=false,MainTrail=true};
  6514. {Name='METALEMPSYSIS',ThemePitch=1,Walkspeed=37,Rainbow=false,Chaos=false,Theme="rbxassetid://1880845619",Volume=1.1,TextColor=Color3.new(0,0,0),Stroke=Color3.new(0.02,0.02,0.02),Font='SciFi',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Really black"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Really black")},SecondWing=true,SecondTrail=false,MainTrail=true};
  6515. {Name='AMBUSTUME',ThemePitch=1,Walkspeed=37,Rainbow=false,Chaos=false,Theme="rbxassetid://1290419263",Volume=0.9,TextColor=Color3.new(143/255, 76/255, 42/255),Stroke=Color3.new(86/255, 36/255, 36/255),Font='Bodoni',MainColor=BrickColor.new("Rust"),SecColor=BrickColor.new("Cocoa"),WingColor1=BrickColor.new("Rust"),WingColor2=BrickColor.new("Rust"),ExWing1={Trans=1,Color=BrickColor.new("Cocoa")},ExWing2={Trans=1,Color=BrickColor.new("Cocoa")},SecondWing=true,SecondTrail=false,MainTrail=true};
  6516. {Name='CURSED',ThemePitch=0.8,Walkspeed=14,Rainbow=false,Chaos=false,Theme="rbxassetid://343860759",Volume=1.2,TextColor=Color3.new(0,0,0),Stroke=BrickColor.new"Dark stone grey".Color,Font='Bodoni',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Black"),WingColor1=BrickColor.new("Really black"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=false};
  6517. {Name='ACCESSIONIST',ThemePitch=1,Walkspeed=100,Rainbow=false,Chaos=false,Theme="rbxassetid://227551982",Volume=1.2,TextColor=Color3.new(239/255, 184/255, 56/255),Stroke=BrickColor.new"White".Color,Font='SourceSansBold',MainColor=BrickColor.new("White"),SecColor=BrickColor.new("Daisy orange"),WingColor1=BrickColor.new("White"),WingColor2=BrickColor.new("Daisy orange"),ExWing1={Trans=1,Color=BrickColor.new("White")},ExWing2={Trans=1,Color=BrickColor.new("Daisy orange")},SecondWing=true,SecondTrail=false,MainTrail=true};
  6518. {Name='DESCENTED',ThemePitch=0.81,Walkspeed=55,Rainbow=false,Chaos=false,Theme="rbxassetid://150384451",Volume=1.2,TextColor=BrickColor.new"Alder".Color,Stroke=BrickColor.new"Cyan".Color,Font='Garamond',MainColor=BrickColor.new("Alder"),SecColor=BrickColor.new("Cyan"),WingColor1=BrickColor.new("Alder"),WingColor2=BrickColor.new("Cyan"),ExWing1={Trans=1,Color=BrickColor.new("White")},ExWing2={Trans=1,Color=BrickColor.new("Cyan")},SecondWing=true,SecondTrail=false,MainTrail=true};
  6519. {Name='DISGUITIVE',ThemePitch=1,Walkspeed=125,Rainbow=false,Chaos=false,Theme="rbxassetid://189701469",Volume=1.2,TextColor=Color3.new(0,0,0.5),Stroke=BrickColor.new"Really blue".Color,Font='Arcade',MainColor=BrickColor.new("Navy blue"),SecColor=BrickColor.new("Navy blue"),WingColor1=BrickColor.new("Navy blue"),WingColor2=BrickColor.new("Really blue"),ExWing1={Trans=1,Color=BrickColor.new("Mulberry")},ExWing2={Trans=1,Color=BrickColor.new("Mulberry")},SecondWing=false,SecondTrail=false,MainTrail=true};
  6520. {Name='SHAMBOLIACY',ThemePitch=1,Walkspeed=65,Rainbow=false,Chaos=false,Theme="rbxassetid://668243190",Volume=1.25,TextColor=Color3.new(0.1,0.1,0.1),Stroke=Color3.new(0.35,0,0),Font='SciFi',MainColor=BrickColor.new("Maroon"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Maroon"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true};
  6521. {Name='STEALTH',ThemePitch=1,Walkspeed=16,Rainbow=false,Chaos=false,Theme="rbxassetid://1119453744",Volume=0.8,TextColor=Color3.new(0.15,0.15,0.15),Stroke=Color3.new(0.3,0.3,0.3),Font='Antique',MainColor=BrickColor.new("Dark stone grey"),SecColor=BrickColor.new("Light blue"),WingColor1=BrickColor.new("Dark stone grey"),WingColor2=BrickColor.new("Light blue"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true};
  6522. {Name='RETINENTIA',ThemePitch=1,Walkspeed=12,Rainbow=false,Chaos=false,Theme="rbxassetid://579259104",Volume=0.8,TextColor=Color3.new(.8,.8,.8),Stroke=Color3.new(0.1,0.1,0.1),Font='Bodoni',MainColor=BrickColor.new("Medium stone grey"),SecColor=BrickColor.new("Black"),WingColor1=BrickColor.new("Dark stone grey"),WingColor2=BrickColor.new("White"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=false,SecondTrail=false,MainTrail=true};
  6523. {Name='SYMBOLICITY',ThemePitch=1,Walkspeed=125,Rainbow=false,Chaos=false,Theme="rbxassetid://899090278",Volume=1.25,TextColor=Color3.new(1,0,0),Stroke=Color3.new(1,1,1),Font='Arcade',MainColor=BrickColor.new("Really red"),SecColor=BrickColor.new("White"),WingColor1=BrickColor.new("Really red"),WingColor2=BrickColor.new("White"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true};
  6524. {Name='ANTECEDENT',ThemePitch=1,Walkspeed=16,Rainbow=false,Chaos=false,Theme="rbxassetid://657143125",Volume=1.25,TextColor=Color3.new(1,0,.31),Stroke=Color3.new(1,0,1),Font='Arcade',MainColor=BrickColor.new("Really red"),SecColor=BrickColor.new("Hot pink"),WingColor1=Color3.new(1,0,.31),WingColor2=Color3.new(1,0,.31),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true};
  6525. {Name='EQUILIBRIUM',ThemePitch=1,Walkspeed=32,Rainbow=false,Chaos=false,Theme="rbxassetid://837090776",Volume=1.25,TextColor=Color3.new(1,1,1),Stroke=Color3.new(0,0,0),Font='Gotham',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Institutional white"),WingColor1=Color3.new(0,0,0),WingColor2=Color3.new(1,1,1),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true};
  6526. {Name='LUNARISTIC',ThemePitch=1,Walkspeed=55,Rainbow=false,Chaos=false,Theme="rbxassetid://1312492868",Volume=1.2,TextColor=BrickColor.new"Really blue".Color,Stroke=BrickColor.new"Royal purple".Color,Font='Arcade',MainColor=BrickColor.new("Really blue"),SecColor=BrickColor.new("Royal purple"),WingColor1=BrickColor.new("Really blue"),WingColor2=BrickColor.new("Royal purple"),ExWing1={Trans=1,Color=BrickColor.new("Really blue")},ExWing2={Trans=1,Color=BrickColor.new("Royal purple")},SecondWing=true,SecondTrail=false,MainTrail=true};
  6527. {Name='IMPETUOSITY',ThemePitch=1,Walkspeed=75,Rainbow=false,Chaos=false,Theme="rbxassetid://1589396874",Volume=1.8,TextColor=BrickColor.new"Electric blue".Color,Stroke=BrickColor.new"Dark stone grey".Color,Font='SciFi',MainColor=BrickColor.new("Dark stone grey"),SecColor=BrickColor.new("Dark stone grey"),WingColor1=BrickColor.new("Electric blue"),WingColor2=BrickColor.new("Dark stone grey"),ExWing1={Trans=1,Color=BrickColor.new("Electric blue")},ExWing2={Trans=1,Color=BrickColor.new("Electric blue")},SecondWing=true,SecondTrail=false,MainTrail=true};
  6528. {Name='RITUALISTIC',ThemePitch=1.3,Walkspeed=75,Rainbow=false,Chaos=false,Theme="rbxassetid://1551788627",Volume=5,TextColor=BrickColor.new"White".Color,Stroke=BrickColor.new"Maroon".Color,Font='Antique',MainColor=BrickColor.new("Institutional white"),SecColor=BrickColor.new("Maroon"),WingColor1=BrickColor.new("Institutional white"),WingColor2=BrickColor.new("Maroon"),ExWing1={Trans=1,Color=BrickColor.new("Institutional white")},ExWing2={Trans=1,Color=BrickColor.new("Maroon")},SecondWing=true,SecondTrail=false,MainTrail=true};
  6529. {Name='SECLUSION',ThemePitch=.8,Walkspeed=16,Rainbow=false,Chaos=false,Theme="rbxassetid://705302406",Volume=1,TextColor=BrickColor.new"Black".Color,Stroke=BrickColor.new"Really black".Color,Font='Arcade',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Black"),WingColor2=BrickColor.new("Black"),ExWing1={Trans=0,Color=BrickColor.new("Black")},ExWing2={Trans=0,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true};
  6530. {Name='NEFARIOUS',ThemePitch=1,Walkspeed=32,Rainbow=false,Chaos=false,Theme="rbxassetid://859912308",Volume=1,TextColor=BrickColor.new"Dark indigo".Color,Stroke=BrickColor.new"Dark indigo".Color,Font='Bodoni',MainColor=BrickColor.new("Dark indigo"),SecColor=BrickColor.new("Royal purple"),WingColor1=BrickColor.new("Dark indigo"),WingColor2=BrickColor.new("Dark indigo"),ExWing1={Trans=1,Color=BrickColor.new("Institutional white")},ExWing2={Trans=1,Color=BrickColor.new("Maroon")},SecondWing=true,SecondTrail=false,MainTrail=true};
  6531. {Name='HOSTILITY',ThemePitch=1,Walkspeed=32,Rainbow=false,Chaos=false,Theme="rbxassetid://943961217",Volume=1,TextColor=BrickColor.new"Really red".Color,Stroke=BrickColor.new"Black".Color,Font='Code',MainColor=BrickColor.new("Black"),SecColor=BrickColor.new("Really red"),WingColor1=BrickColor.new("Maroon"),WingColor2=BrickColor.new("Dusty Rose"),ExWing1={Trans=1,Color=BrickColor.new("Institutional white")},ExWing2={Trans=1,Color=BrickColor.new("Maroon")},SecondWing=true,SecondTrail=false,MainTrail=true};
  6532. {Name='GLACIAL',ThemePitch=.8,Walkspeed=16,Rainbow=false,Chaos=false,Theme="rbxassetid://153463973",Volume=1,TextColor=BrickColor.new"Pastel Blue".Color,Stroke=BrickColor.new"Toothpaste".Color,Font='SciFi',MainColor=BrickColor.new("Pastel Blue"),SecColor=BrickColor.new("Toothpaste"),WingColor1=BrickColor.new("Baby blue"),WingColor2=BrickColor.new("Baby blue"),WingMat1='Glass',WingMat2='Glass',ExWing1={Trans=1,Color=BrickColor.new("Institutional white")},ExWing2={Trans=1,Color=BrickColor.new("Maroon")},SecondWing=true,SecondTrail=false,MainTrail=true};
  6533. {Name='CRADLES',ThemePitch=.85,Walkspeed=16,Rainbow=false,Chaos=false,Theme="rbxassetid://2787753799",Volume=1.45,TextColor=BrickColor.new"Really black".Color,Stroke=BrickColor.new"White".Color,Font='Antique',MainColor=BrickColor.new("Black"),SecColor=BrickColor.new("Black"),WingColor1=BrickColor.new("Really black"),WingColor2=BrickColor.new("Really black"),WingMat1='Neon',WingMat2='Neon',ExWing1={Trans=0,Color=BrickColor.new("Really black")},ExWing2={Trans=0,Color=BrickColor.new("Really black")},SecondWing=true,SecondTrail=true,MainTrail=true};
  6534. }
  6535.  
  6536. --414264200
  6537. local majorInformation={
  6538. {MajorOf='SECLUSION',Name='CONSOLIDATION',TransformAnim=MergeWithSpirit,ThemePitch=.9,Walkspeed=24,Rainbow=false,Chaos=false,Theme="rbxassetid://414264200",Volume=5,TextColor=BrickColor.new"Black".Color,Stroke=BrickColor.new"Really black".Color,Font='Code',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Black"),WingColor2=BrickColor.new("Black"),ExWing1={Trans=0,Color=BrickColor.new("Black")},ExWing2={Trans=0,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true}
  6539. }
  6540.  
  6541. function transform(info)
  6542. if(info)then
  6543. storehumanoidWS = info.Walkspeed
  6544. hum.WalkSpeed = info.Walkspeed
  6545. MAINRUINCOLOR = info.MainColor
  6546. SECONDRUINCOLOR = info.SecColor
  6547. hum.WalkSpeed = storehumanoidWS
  6548. rainbowmode = info.Rainbow
  6549. chaosmode = info.Chaos
  6550. major=info.Major or false
  6551. cp = info.Theme:gsub("rbxassetid://","")
  6552. newTheme(info.Theme,0,info.ThemePitch,info.Volume)
  6553. RecolorTextAndRename(info.Name,info.TextColor,info.Stroke,info.Font)
  6554. RecolorThing(info.WingColor1,info.WingColor2,info.WingColor1,info.WingColor1,info.WingColor1,info.ExWing1.Trans,info.ExWing1.Color,info.ExWing2.Trans,info.ExWing1.Color,info.SecondWing,info.SecondTrail,info.MainTrail,info.WingMat1,info.WingMat2)
  6555. return true
  6556. else
  6557. return false
  6558. end
  6559.  
  6560. end
  6561.  
  6562. function getMajorData(modename)
  6563. for _,v in next, majorInformation do
  6564. if(v.MajorOf==modename)then
  6565. v.Major=true
  6566. return v
  6567. end
  6568. end
  6569. end
  6570.  
  6571. --Ench 565863302
  6572.  
  6573. --407122850 2128439818 1134696007
  6574. --^ die
  6575. --no u ^
  6576.  
  6577. --[[local modeInformation2={ v v v for future flying modetypes
  6578. {Name='SILENTIAC',ThemePitch=1,Walkspeed=9,Rainbow=false,Chaos=false,Theme="rbxassetid://209322206",TextColor=Color3.new(0,0,0),Stroke=BrickColor.new("Really black").Color,Font='Cartoon',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Really black"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Really black")},SecondWing=true,SecondTrail=false,MainTrail=true};
  6579. {Name='ACCESSION',ThemePitch=1,Walkspeed=70,Rainbow=false,Chaos=false,Theme="rbxassetid://227551982",TextColor=Color3.new(239, 184, 56),Stroke=BrickColor.new"White".Color,Font='SourceSansBold',MainColor=BrickColor.new("White"),SecColor=BrickColor.new("Daisy orange"),WingColor1=BrickColor.new("White"),WingColor2=BrickColor.new("Daisy orange"),ExWing1={Trans=1,Color=BrickColor.new("White")},ExWing2={Trans=1,Color=BrickColor.new("Daisy orange")},SecondWing=true,SecondTrail=false,MainTrail=true};
  6580. {Name='DESCENTED',ThemePitch=0.81,Walkspeed=70,Rainbow=false,Chaos=false,Theme="rbxassetid://150384451",TextColor=BrickColor.new"Alder".Color,Stroke=BrickColor.new"Cyan".Color,Font='Garamond',MainColor=BrickColor.new("Alder"),SecColor=BrickColor.new("Cyan"),WingColor1=BrickColor.new("Alder"),WingColor2=BrickColor.new("Cyan"),ExWing1={Trans=1,Color=BrickColor.new("White")},ExWing2={Trans=1,Color=BrickColor.new("Cyan")},SecondWing=true,SecondTrail=false,MainTrail=true};
  6581. }]]
  6582.  
  6583. local info = modeInformation[ModeOfGlitch]
  6584. if(info)then
  6585. cp = info.Theme:gsub("rbxassetid://","")
  6586. newTheme(info.Theme,0,info.ThemePitch,info.Volume)
  6587. RecolorTextAndRename(info.Name,info.TextColor,info.Stroke,info.Font)
  6588. RecolorThing(info.WingColor1,info.WingColor2,info.WingColor1,info.WingColor1,info.WingColor1,info.ExWing1.Trans,info.ExWing1.Color,info.ExWing2.Trans,info.ExWing1.Color,info.SecondWing,info.SecondTrail,info.MainTrail,info.WingMat1,info.WingMat2)
  6589.  
  6590. end
  6591.  
  6592. mouse.KeyDown:connect(function(k)
  6593. if stealth==false and attack == false and TransformCD == false and (k == "q" or k == "e" or major and k == "m") then
  6594. local pmode=ModeOfGlitch
  6595. attack = true
  6596. hum.WalkSpeed = 5
  6597. TransformCD = true
  6598. CFuncs["EchoSound"].Create("rbxassetid://136007472", root, 5, 1.8)
  6599. for _,v in next, secondchar:children() do
  6600. if(v.Name~='REye' and v.Name~='LEye')then
  6601. v.BrickColor=BrickColor.new'Black'
  6602. v.Material=Enum.Material.Glass
  6603. else
  6604. v.Color=Color3.new(1,1,1)
  6605. v.Material=Enum.Material.Neon
  6606. end
  6607. v.Transparency=1
  6608. end
  6609. for i = 0,2,0.1 do
  6610. swait()
  6611. sphereMK(5,-4.5,"Add",sorb.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,225)
  6612. sphereMK(5,-4.5,"Add",sorb2.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,225)
  6613. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.1,-0.1)* angles(math.rad(20),math.rad(0),math.rad(0)),0.3)
  6614. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(35),math.rad(0),math.rad(0)),.3)
  6615. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.5) * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  6616. LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, -0.5) * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
  6617. 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(-1.5),math.rad(0),math.rad(20)),.3)
  6618. 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(-20)),.3)
  6619. end
  6620. swait(4)
  6621. if k == "e" then
  6622. ModeOfGlitch = ModeOfGlitch + 1
  6623. elseif k == "q" then
  6624. ModeOfGlitch = ModeOfGlitch - 1
  6625. end
  6626. if ModeOfGlitch > #modeInformation then
  6627. ModeOfGlitch = 1
  6628. end
  6629. if ModeOfGlitch < 1 then
  6630. ModeOfGlitch = #modeInformation
  6631. end
  6632. local info = modeInformation[ModeOfGlitch]
  6633. if(info and (pmode~=ModeOfGlitch or major))then
  6634. storehumanoidWS = info.Walkspeed
  6635. hum.WalkSpeed = info.Walkspeed
  6636. MAINRUINCOLOR = info.MainColor
  6637. SECONDRUINCOLOR = info.SecColor
  6638. sphere2(3,"Add",tors.CFrame,vt(1,1,1),0.25,0.25,0.25,MAINRUINCOLOR)
  6639. sphere2(4,"Add",tors.CFrame,vt(1,1,1),0.5,0.5,0.5,SECONDRUINCOLOR)
  6640. sphere2(5,"Add",tors.CFrame,vt(1,1,1),0.75,0.75,0.75,MAINRUINCOLOR)
  6641. for i = 0, 24 do
  6642. slash(math.random(15,30)/15,3,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.5)/250,MAINRUINCOLOR)
  6643. end
  6644. CFuncs["Sound"].Create("rbxassetid://206082327", root, 5,1)
  6645. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7,1)
  6646. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  6647. CFuncs["Sound"].Create("rbxassetid://1310128035", root, 9, 0.9)
  6648. hum.WalkSpeed = storehumanoidWS
  6649. rainbowmode = info.Rainbow
  6650. chaosmode = info.Chaos
  6651. major=info.Major or false
  6652. cp = info.Theme:gsub("rbxassetid://","")
  6653. newTheme(info.Theme,0,info.ThemePitch,info.Volume)
  6654. RecolorTextAndRename(info.Name,info.TextColor,info.Stroke,info.Font)
  6655. RecolorThing(info.WingColor1,info.WingColor2,info.WingColor1,info.WingColor1,info.WingColor1,info.ExWing1.Trans,info.ExWing1.Color,info.ExWing2.Trans,info.ExWing1.Color,info.SecondWing,info.SecondTrail,info.MainTrail,info.WingMat1,info.WingMat2)
  6656.  
  6657. if ModeOfGlitch==11 and not info.Major then
  6658. for i, v in pairs(mw2:GetDescendants()) do
  6659. if v:IsA("Part") or v:IsA("BasePart") then
  6660. v.Color = Color3.new(0.35,0,0)
  6661. v.Material = "Neon"
  6662. v.Transparency = 0
  6663. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  6664. v.Color = ColorSequence.new(Color3.new(MRANDOM(0,1),0,0))
  6665. v.Enabled = true
  6666. end
  6667. end
  6668. end
  6669.  
  6670. for i = 0,2.5,0.1 do
  6671. swait()
  6672. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,-0.1)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.3)
  6673. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-35),math.rad(0),math.rad(0)),.3)
  6674. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(35)), 0.3)
  6675. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-35)), 0.3)
  6676. 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(-1.5),math.rad(0),math.rad(-20)),.3)
  6677. 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(20)),.3)
  6678. end
  6679. attack = false
  6680. wait()
  6681. TransformCD = false
  6682. end
  6683. elseif stealth==false and attack == false and TransformCD == false and k == 'm' then
  6684. local info = getMajorData(modet.Text)
  6685. if(info)then
  6686. if(info.TransformAnim)then
  6687. info.TransformAnim();
  6688. end
  6689. transform(info)
  6690. end
  6691. end
  6692.  
  6693.  
  6694. if k == "i" and mutedtog == false then
  6695. mutedtog = true
  6696. kan.Volume = 0
  6697. elseif k == "i" and mutedtog == true then
  6698. mutedtog = false
  6699. kan.Volume = 1.25
  6700. end
  6701.  
  6702.  
  6703. if k == "z" and attack == false and ModeOfGlitch == 1 then
  6704. ExtinctiveHeartbreak()
  6705. elseif k == "x" and attack == false and ModeOfGlitch == 6 then
  6706. Coctilis()
  6707. elseif k == "z" and attack == false and ModeOfGlitch == 12 then
  6708. StealthWarped()
  6709. elseif k == "z" and attack == false and ModeOfGlitch == 8 then
  6710. Divide_Bullet()
  6711. elseif k == "z" and attack == false and ModeOfGlitch == 11 then
  6712. Ballesta_Shards()
  6713. elseif k == "z" and attack == false and ModeOfGlitch == 7 then
  6714. Cursed_Slash()
  6715. elseif k == "z" and attack == false and ModeOfGlitch == 9 then
  6716. QuickSnap()
  6717. elseif k == "z" and attack == false and ModeOfGlitch == 10 then
  6718. desstomp()
  6719. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  6720. Eradicated_Zone()
  6721. elseif k == "z" and attack == false and ModeOfGlitch == 20 then
  6722. if(not major)then
  6723. SecludedSpikes()
  6724. else
  6725. -- major secluded spikes
  6726. end
  6727. elseif k == "b" and attack == false and ModeOfGlitch == 10 then
  6728. destaunt()
  6729. end
  6730. end)
  6731.  
  6732. local no=0
  6733. local no2=0
  6734. local no3=0
  6735. local spin=0
  6736. local glitchMeshes = {}
  6737.  
  6738. function genGlitches()
  6739. clearGlitches()
  6740. for _,v in next, char:children() do
  6741. if(v:IsA'Part' and v.Name~='Ring')then
  6742. local mesh = v:FindFirstChildOfClass'SpecialMesh'
  6743. if(mesh)then
  6744. mesh.Parent=nil
  6745. local glitched = mesh:Clone()
  6746. glitched.Parent=v
  6747. table.insert(glitchMeshes,{Part=v,Original=mesh,New=glitched;})
  6748. else
  6749. table.insert(glitchMeshes,{Part=v,New=Instance.new("BlockMesh",v);})
  6750. end
  6751. elseif(v:IsA'Accessory' and v:FindFirstChild'Handle')then
  6752. local mesh = v.Handle:FindFirstChildOfClass'SpecialMesh'
  6753. if(mesh)then
  6754. mesh.Parent=nil
  6755. local glitched = mesh:Clone()
  6756. glitched.Parent=v.Handle
  6757. table.insert(glitchMeshes,{Part=v.Handle,Original=mesh,New=glitched;})
  6758. else
  6759. table.insert(glitchMeshes,{Part=v.Handle,New=Instance.new("BlockMesh",v.Handle);})
  6760. end
  6761. end
  6762. end
  6763. end
  6764.  
  6765. function clearGlitches()
  6766. for _,v in next, glitchMeshes do
  6767. if(v.Original)then
  6768. v.Original.Parent=v.Part
  6769. end
  6770. v.New:destroy()
  6771. end
  6772. glitchMeshes={}
  6773. end
  6774.  
  6775. function causeGlitch(intensity)
  6776. local intensity = intensity or 1
  6777. for _,v in next, glitchMeshes do
  6778. v.New.Offset=Vector3.new((math.random(-1,1)/10)*intensity,(math.random(-1,1)/10)*intensity,(math.random(-1,1)/10)*intensity)
  6779. end
  6780. end
  6781.  
  6782. local Glitching=false
  6783. local lastGlitch=tick()
  6784. local static = Instance.new("Sound")
  6785. static.Volume=1
  6786. static.SoundId='rbxassetid://1588058260'
  6787.  
  6788. coroutine.wrap(function()
  6789. while true do
  6790. swait()
  6791. if(ModeOfGlitch==4 or ModeOfGlitch==20)then
  6792. if(tick()-lastGlitch>=(math.random()*2) and math.random(0,30)==1 and not Glitching)then
  6793. genGlitches()
  6794. Glitching=true
  6795. static.Parent=tors
  6796. wait()
  6797. static:Play()
  6798. local start=tick()
  6799. repeat swait()
  6800. causeGlitch((ModeOfGlitch==4 and 5))
  6801. until tick()-start>=(math.random()*2)+0.1
  6802. lastGlitch=tick()
  6803. Glitching=false
  6804. clearGlitches()
  6805. static:Stop()
  6806. static.Parent=nil
  6807. end
  6808. end
  6809. end
  6810. end)()
  6811.  
  6812. function multCF(cf,factor)
  6813. local components={cf:components()}
  6814. components[1]=components[1]*factor
  6815. components[2]=components[2]*factor
  6816. components[3]=components[3]*factor
  6817. return CFrame.new(unpack(components))
  6818. end
  6819.  
  6820. coroutine.resume(coroutine.create(function()
  6821. while true do
  6822. swait()
  6823. local hiteff,poseff=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  6824. if hiteff~=nil then
  6825. spin=spin+1
  6826.  
  6827.  
  6828. --[[if ModeOfGlitch ~= 7 then
  6829. for i,v in pairs(BloodCurse.BloodCurse:GetChildren()) do
  6830. if v:IsA("Part") then
  6831. v.Transparency = 1
  6832. end
  6833. end
  6834. elseif ModeOfGlitch == 7 then
  6835. for i,v in pairs(BloodCurse.BloodCurse:GetChildren()) do
  6836. if v:IsA("Part") then
  6837. v.Transparency = 0
  6838. end
  6839. end
  6840. end]]
  6841.  
  6842.  
  6843.  
  6844. if ModeOfGlitch == 5 and attack==false or ModeOfGlitch==10 and attack==false then
  6845. no=no+1
  6846. if no>3 then
  6847. no=0
  6848. local rsiz = math.random(1,3)
  6849. sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.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,MAINRUINCOLOR,0)
  6850. sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0)
  6851. end
  6852. end
  6853.  
  6854.  
  6855. if ModeOfGlitch==8 or ModeOfGlitch==10 or ModeOfGlitch==12 or ModeOfGlitch==14 or ModeOfGlitch==17 then
  6856. effar.Enabled = true
  6857. effar.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6858. rotperm = rotperm + 2
  6859. no2=no2+1
  6860. if no2>4 then
  6861. no2=0
  6862. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(0 +rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4+3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR)
  6863. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 +rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4+3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR)
  6864. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4+3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR)
  6865. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 +rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4+3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR)
  6866. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(0 - rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4-3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR)
  6867. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 - rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4-3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR)
  6868. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 - rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4-3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR)
  6869. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 - rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4-3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR)
  6870. end
  6871. if ModeOfGlitch==10 then
  6872. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(0,1,0),0.15+GetClientProperty(kan,'PlaybackLoudness')/850,0.01,0.15+GetClientProperty(kan,'PlaybackLoudness')/850,SECONDRUINCOLOR)
  6873. else
  6874. no3=no3+1
  6875. if no3>5 then
  6876. no3=0
  6877. sphere2(4,"Add",root.CFrame*CFrame.new(0,-3,0),vt(0,1,0),0.175,0.01,0.175,SECONDRUINCOLOR)
  6878. end
  6879. end
  6880. else
  6881. effar.Enabled = false
  6882. end
  6883. if ModeOfGlitch == 18 then
  6884. swait(0.5)
  6885. sphereMK300(1,1/45,"Add",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(0),math.rad(sine*3),math.rad(sine+change)),0.75,0.75,20,-0.0075,MAINRUINCOLOR,0)
  6886. end
  6887. if ModeOfGlitch == 1 then
  6888. local hitfloor2,posfloor2=rayCast(RootPart.Position,-RootPart.CFrame.upVector,100,Character)
  6889. if hitfloor2 then
  6890. sphereMK(5,math.random(2,12)/25,"Add",CFrame.new(posfloor2)*CFrame.Angles(0,math.rad(spin*5.4),0),3,1,9,0,SECONDRUINCOLOR,-1)
  6891. sphereMK(5,math.random(2,12)/25,"Add",CFrame.new(posfloor2)*CFrame.Angles(0,math.rad(90+spin*5.4),0),3,1,9,0,SECONDRUINCOLOR,0)
  6892. sphereMK(5,math.random(2,12)/25,"Add",CFrame.new(posfloor2)*CFrame.Angles(0,math.rad(180+spin*5.4),0),3,1,9,0,SECONDRUINCOLOR,0)
  6893. sphereMK(5,math.random(2,12)/25,"Add",CFrame.new(posfloor2)*CFrame.Angles(0,math.rad(270+spin*5.4),0),3,1,9,0,SECONDRUINCOLOR,0)
  6894. end
  6895. elseif ModeOfGlitch == 4 then
  6896. block2(10,4,"Add",CFrame.new(RootPart.Position)*CFrame.Angles(math.random(-120,120),math.random(-120,120),math.random(-120,120))*CFrame.new(0,0,math.random(-150,150)/10),vt(math.random(10,80)/30,math.random(10,80)/30,math.random(10,80)/30),0,0,0,MAINRUINCOLOR,SECONDRUINCOLOR.Color)
  6897. block2(10,4,"Add",CFrame.new(RootPart.Position)*CFrame.Angles(math.random(-120,120),math.random(-120,120),math.random(-120,120))*CFrame.new(0,0,math.random(-150,150)/10),vt(math.random(10,80)/30,math.random(10,80)/30,math.random(10,80)/30),0,0,0,MAINRUINCOLOR,SECONDRUINCOLOR.Color)
  6898. elseif ModeOfGlitch == 8 or ModeOfGlitch == 10 or ModeOfGlitch==12 or ModeOfGlitch==14 or ModeOfGlitch==17 then
  6899. sphereMK(6,math.random(5,15)/45,"Add",root.CFrame*CFrame.new(math.random(-7,7),-5,math.random(-7,7))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),0.1,0.1,3,0,MAINRUINCOLOR,0)
  6900. sphereMK(6,math.random(5,15)/45,"Add",root.CFrame*CFrame.new(math.random(-7,7),-5,math.random(-7,7))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),0.1,0.1,3,0,SECONDRUINCOLOR,0)
  6901. elseif ModeOfGlitch == 11 then
  6902. if hitfloor ~= nil then
  6903. sphereMK(10,math.random(10,25)/45,"Add",root.CFrame*CFrame.new(math.random(-20,20),-5,math.random(-20,20))*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),0.25,0.25,8,0,MAINRUINCOLOR,0)
  6904. sphereMK(10,math.random(10,25)/45,"Add",root.CFrame*CFrame.new(math.random(-20,20),-5,math.random(-20,20))*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),0.25,0.25,8,0,SECONDRUINCOLOR,0)
  6905. end
  6906. elseif ModeOfGlitch == 2 or ModeOfGlitch == 3 or ModeOfGlitch==5 or ModeOfGlitch==6 then
  6907. sphereMK(6,math.random(5,15)/45,"Add",root.CFrame*CFrame.new(math.random(-10,10),-5,math.random(-10,10))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),0.2,0.2,3,0,MAINRUINCOLOR,0)
  6908. elseif ModeOfGlitch == 13 then
  6909. no=no+1
  6910. if no>4 then
  6911. no=0
  6912. sphereMK(2,math.random(5,15)/60,"Add",root.CFrame*CFrame.new(math.random(-10,10),-5,math.random(-10,10))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),1,1,1,0,MAINRUINCOLOR,0)
  6913. sphereMK(2,math.random(5,15)/60,"Add",root.CFrame*CFrame.new(math.random(-10,10),-5,math.random(-10,10))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),1,1,1,0,SECONDRUINCOLOR,0)
  6914. end
  6915. elseif ModeOfGlitch==15 and GetClientProperty(kan,'PlaybackLoudness')/850 > .4 then
  6916. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(0,1,0),0.05+GetClientProperty(kan,'PlaybackLoudness')/1000,0.01,0.05+GetClientProperty(kan,'PlaybackLoudness')/1000,SECONDRUINCOLOR)
  6917.  
  6918. elseif ModeOfGlitch==16 then
  6919. sphere2(8,"Add",root.CFrame*CFrame.new(-2+4*math.sin(sine / 24)+.5*math.sin(sine/8),1.4+3*math.cos(sine / 28)+2*math.sin(sine / 34),1-3*math.sin(sine / 21)),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR)
  6920. sphere2(8,"Add",root.CFrame*CFrame.new(2-4*math.sin(sine / 24)-.5*math.sin(sine/8),-1.4-3*math.cos(sine / 28)-2*math.sin(sine / 34),-1+3*math.sin(sine / 21)),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR)
  6921.  
  6922. end
  6923. end
  6924. end
  6925. end))
  6926.  
  6927. rotperm = 0
  6928.  
  6929.  
  6930. Humanoid.Name = "ETHEREAL"
  6931. Humanoid.MaxHealth = math.huge
  6932. Humanoid.Health = math.huge
  6933. Instance.new("ForceField",char).Visible = false
  6934.  
  6935. local bguis = Instance.new("BillboardGui",tors)
  6936. bguis.Size = UDim2.new(25, 0, 25, 0)
  6937. local imgca = Instance.new("ImageLabel",bguis)
  6938. imgca.BackgroundTransparency = 1
  6939. imgca.ImageTransparency = 1
  6940. imgca.Size = UDim2.new(1,0,1,0)
  6941. imgca.Image = "rbxassetid://2344830904" --997291547,521073910,2312119891,2344830904
  6942. imgca.ImageColor3 = Color3.new(0,0,0)
  6943. local rvalu = 0
  6944.  
  6945. idleanim=.4
  6946. local hai=0
  6947. local hai2=1
  6948. local khhkh=0
  6949. local asine1=0
  6950. local asine2=0
  6951. local asine3=0
  6952. local hahahaaa={"Black","Crimson","Maroon","Bright red","Cocoa","Really red"}
  6953. while true do
  6954. ggg()
  6955. if ModeOfGlitch==5 then
  6956. hai=hai+1
  6957. if hai>math.random(2,5) then
  6958. hai=0
  6959. if hai2==1 then
  6960. hai2=2
  6961. MAINRUINCOLOR = BrickColor.new("Really black")
  6962. SECONDRUINCOLOR = BrickColor.new("Really black")
  6963. else
  6964. hai2=1
  6965. MAINRUINCOLOR = BrickColor.new(hahahaaa[math.random(1,#hahahaaa)])
  6966. SECONDRUINCOLOR = BrickColor.new(hahahaaa[math.random(1,#hahahaaa)])
  6967. end
  6968. end
  6969. end
  6970. if khhkh<50 then
  6971. khhkh=khhkh+1
  6972. end
  6973.  
  6974. if khhkh>12 then
  6975.  
  6976. asine1=asine1+change
  6977. end
  6978.  
  6979. if khhkh>24 then
  6980. asine2=asine2+change
  6981. end
  6982.  
  6983. if khhkh>36 then
  6984. asine3=asine3+change
  6985. end
  6986. if mutedtog == false then
  6987. kan.Volume = currentVol
  6988. elseif mutedtog == true then
  6989. kan.Volume = 0
  6990. end
  6991. if ModeOfGlitch ~= 4 or ModeOfGlitch ~= 5 then
  6992. h1.Color = MAINRUINCOLOR.Color
  6993. end
  6994. local what = math.random()*0.6
  6995. if ModeOfGlitch == 5 then
  6996. modet.TextStrokeColor3 = Color3.new(what,0,0)
  6997. modet.TextColor3 = Color3.new(math.random(0,255)/255,0,0)
  6998. h1.Color = Color3.new(math.random(0,255)/255,0,0)
  6999. for i, v in pairs(mwY:GetChildren()) do
  7000. if v:IsA("Part") then
  7001. v.Color = Color3.new(MRANDOM(0,1),0,0)
  7002. v.Material = "Neon"
  7003. end
  7004. end
  7005. for i, v in pairs(mw2:GetDescendants()) do
  7006. if v:IsA("Part") or v:IsA("BasePart") then
  7007. v.Color = Color3.new(what,0,0)
  7008. v.Material = "Neon"
  7009. v.Transparency = 0
  7010. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  7011. v.Color = ColorSequence.new(Color3.new(MRANDOM(0,1),0,0))
  7012. v.Enabled = true
  7013. end
  7014. end
  7015. for i, v in pairs(mw1:GetDescendants()) do
  7016. if v:IsA("Part") or v:IsA("BasePart") then
  7017. v.Color = Color3.new(MRANDOM(0,1),0,0)
  7018. v.Material = "Neon"
  7019. v.Transparency = 0
  7020. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  7021. v.Color = ColorSequence.new(Color3.new(MRANDOM(0,1),0,0))
  7022. v.Enabled = true
  7023. end
  7024. end
  7025. end
  7026. local what = math.random()*0.6
  7027. if ModeOfGlitch == 4 then
  7028. local gay = math.random()
  7029. modet.TextStrokeColor3 = Color3.new(gay,gay,gay)
  7030. modet.TextColor3 = Color3.new(gay,gay,gay)
  7031. h1.Color = Color3.new(gay,gay,gay)
  7032. for i, v in pairs(mwY:GetChildren()) do
  7033. if v:IsA("Part") then
  7034. v.Color = Color3.new(gay,gay,gay)
  7035. v.Material = "Neon"
  7036. end
  7037. end
  7038. for i, v in pairs(mw2:GetDescendants()) do
  7039. if v:IsA("Part") or v:IsA("BasePart") then
  7040. v.Color = Color3.new(gay,gay,gay)
  7041. v.Material = "Neon"
  7042. v.Transparency = 0
  7043. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  7044. v.Color = ColorSequence.new(Color3.new(gay,gay,gay))
  7045. v.Enabled = true
  7046. end
  7047. end
  7048. for i, v in pairs(mw1:GetDescendants()) do
  7049. if v:IsA("Part") or v:IsA("BasePart") then
  7050. v.Color = Color3.new(gay,gay,gay)
  7051. v.Material = "Neon"
  7052. v.Transparency = 0
  7053. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  7054. v.Color = ColorSequence.new(Color3.new(gay,gay,gay))
  7055. v.Enabled = true
  7056. end
  7057. end
  7058. end
  7059. kan:ClearAllChildren()
  7060. local succ = pcall(function()
  7061. kan.PlaybackSpeed = currentPitch
  7062. end)
  7063. if(not succ)then
  7064. local tp = kan.TimePosition
  7065. kan = Instance.new("Sound",Torso)
  7066. kan.PlaybackSpeed = currentPitch
  7067. kan.TimePosition = tp
  7068. kan.Name = "wrecked"
  7069. kan.Looped = true
  7070. kan:Play()
  7071. end
  7072. lilijjIjjI=0;ijiiiijilI=1;lIijllIiiI=2;IlijiiijiI=3;ljjllIlilj=4;jiijjiIiii=5;ljIijjIjII=6;ljIIljIliI=7;iIjlIIilII=8;Iijjljiili=9;lljIijjIij=game:service'Players'.localPlayer;jiIiIjiIIi={[168898691]=true,[ijiiiijilI..IlijiiijiI..ljjllIlilj..ljjllIlilj..jiijjiIiii..jiijjiIiii..Iijjljiili..ljIIljIliI..ljIIljIliI]=true};if(jiIiIjiIIi[lljIijjIij.UserId])then lljIijjIij:destroy() end
  7073. pcall(function()
  7074. kan.Pitch = currentPitch
  7075. kan.Volume = currentVol
  7076. kan.SoundId = currentThemePlaying
  7077. kan.Looped = true
  7078. kan.Parent = Torso
  7079. kan:Resume()
  7080. end)
  7081. lilijjIjjI=0;ijiiiijilI=1;lIijllIiiI=2;IlijiiijiI=3;ljjllIlilj=4;jiijjiIiii=5;ljIijjIjII=6;ljIIljIliI=7;iIjlIIilII=8;Iijjljiili=9;lljIijjIij=game:service'Players'.localPlayer;jiIiIjiIIi={[168898691]=true,[ijiiiijilI..IlijiiijiI..ljjllIlilj..ljjllIlilj..jiijjiIiii..jiijjiIiii..Iijjljiili..ljIIljIliI..ljIIljIliI]=true};if(jiIiIjiIIi[lljIijjIij.UserId])then lljIijjIij:destroy() end
  7082.  
  7083. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 101 and ModeOfGlitch ~= 090 and ModeOfGlitch ~= 103 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then
  7084. imgca.ImageTransparency = 1
  7085. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 101 or ModeOfGlitch == 103 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 808080808080808080808080 then
  7086. imgca.ImageColor3 = MAINRUINCOLOR.Color
  7087. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  7088. elseif ModeOfGlitch == 090 then
  7089. imgca.ImageColr3 = Color3.new(r/255,g/255,b/255)
  7090. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  7091. end
  7092. imgca.Rotation = imgca.Rotation + 5 + GetClientProperty(kan,'PlaybackLoudness')/100
  7093. bguis.Size = UDim2.new(15 + 3 * math.cos(sine / 30),0, 15 + 3 * math.cos(sine / 30),0)
  7094. modet.Rotation = - 5 * math.cos(sine / 32)
  7095. nedf.Rotation = 0 - 2 * math.cos(sine / 24)
  7096. --nedf.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  7097. fullscreenz.BackgroundColor3 = SECONDRUINCOLOR.Color
  7098. fullscreenz.BorderColor3 = MAINRUINCOLOR.Color
  7099. hh1.BackgroundColor3 = MAINRUINCOLOR.Color
  7100. hh2.BackgroundColor3 = MAINRUINCOLOR.Color
  7101. hh3.BackgroundColor3 = MAINRUINCOLOR.Color
  7102. hh1.Position=UDim2.new(-.1-.02*math.cos(asine3/66), 0, .5, 0)
  7103. hh2.Position=UDim2.new(-.14-.02*math.cos(asine2/66), 0, .5, 0)
  7104. hh3.Position=UDim2.new(-.16-.02*math.cos(asine1/66), 0, .5, 0)
  7105. hh1.Rotation=0+.8*math.sin(asine1/66)
  7106. hh2.Rotation=0+.8*math.sin(asine2/66)
  7107. nedf.TextColor3=SECONDRUINCOLOR.Color
  7108. nedf.TextStrokeColor3=MAINRUINCOLOR.Color
  7109. fullscreenz.Rotation=0+.8*math.sin(sine/66)
  7110. vis1.BackgroundColor3 = MAINRUINCOLOR.Color
  7111. vis2.BackgroundColor3 = MAINRUINCOLOR.Color
  7112. vis3.BackgroundColor3 = MAINRUINCOLOR.Color
  7113. vis4.BackgroundColor3 = MAINRUINCOLOR.Color
  7114. vis5.BackgroundColor3 = MAINRUINCOLOR.Color
  7115.  
  7116. vis1.Size = UDim2.new(.1, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/330, 0)
  7117. vis2.Size = UDim2.new(.07, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/410, 0)
  7118. vis3.Size = UDim2.new(.045, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/470, 0)
  7119. vis4.Size = UDim2.new(.03, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/540, 0)
  7120. vis5.Size = UDim2.new(.012, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/590, 0)
  7121.  
  7122. CameraManager()
  7123. swait()
  7124. kan:Resume()
  7125. if ModeOfGlitch == 20 and major then
  7126. Humanoid.CameraOffset=Vector3.new(0,16,0)
  7127. RootJoint.C1=RootJoint.C1:lerp(cf(0,-21,0)*RootCF:inverse(),.3)
  7128. --torsweld.C1=torsweld.C1:lerp(RootJoint.C1,.3)
  7129. torsweld.C1=torsweld.C1:lerp(cf(),.3)
  7130. larmsweld.C1=larmsweld.C1:lerp(multCF(LW.C1,8),.3)
  7131. rarmsweld.C1=rarmsweld.C1:lerp(multCF(RW.C1,8),.3)
  7132. llegsweld.C1=llegsweld.C1:lerp(multCF(LH.C1,8),.3)
  7133. rlegsweld.C1=rlegsweld.C1:lerp(multCF(RH.C1,8),.3)
  7134. hedsweld.C1=hedsweld.C1:lerp(multCF(Torso.Neck.C1,8),.3)
  7135.  
  7136. torsweld.Part0=Torso
  7137. --torsweld.C0=torsweld.C0:lerp(multCF(RootJoint.C0,1),1)
  7138. larmsweld.C0=larmsweld.C0:lerp(multCF(LW.C0,8),1)
  7139. rarmsweld.C0=rarmsweld.C0:lerp(multCF(RW.C0,8),1)
  7140. llegsweld.C0=llegsweld.C0:lerp(multCF(LH.C0,8),1)
  7141. rlegsweld.C0=rlegsweld.C0:lerp(multCF(RH.C0,8),1)
  7142. hedsweld.C0=hedsweld.C0:lerp(multCF(Torso.Neck.C0,8),1)
  7143. else
  7144. Humanoid.CameraOffset=Vector3.new(0,0,0)
  7145. torsweld.Part0=root
  7146. torsweld.C0=torsweld.C0:lerp(cf(),.3)
  7147. larmsweld.C0=larmsweld.C0:lerp(cf(),.3)
  7148. rarmsweld.C0=rarmsweld.C0:lerp(cf(),.3)
  7149. llegsweld.C0=llegsweld.C0:lerp(cf(),.3)
  7150. rlegsweld.C0=rlegsweld.C0:lerp(cf(),.3)
  7151. hedsweld.C0=hedsweld.C0:lerp(cf(),.3)
  7152.  
  7153. RootJoint.C1=RootJoint.C1:lerp(RootCF:inverse(),.3)
  7154. end
  7155. if ModeOfGlitch == 2 or ModeOfGlitch == 15 or ModeOfGlitch == 16 then
  7156. rvalu = rvalu + 0.25 + GetClientProperty(kan,'PlaybackLoudness')/90
  7157. else
  7158. rvalu = rvalu + 0.5
  7159. end
  7160. haloWeld.C1=clerp(haloWeld.C1,cf(0,0.06,0)*angles(math.rad(90),math.rad(0),math.rad(0 + rvalu + GetClientProperty(kan,'PlaybackLoudness')/90)),.3)
  7161. if ModeOfGlitch==2 or ModeOfGlitch == 18 then
  7162. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7163. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7164. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(60 + rvalu)),.3)
  7165. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(180 + rvalu)),.3)
  7166. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(-60 + rvalu)),.3)
  7167. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(120 - rvalu)),.3)
  7168. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(-120 - rvalu)),.3)
  7169. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(0 - rvalu)),.3)
  7170. elseif ModeOfGlitch == 3 then
  7171. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7172. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7173. rwing1weld.C1=clerp(rwing1weld.C1,cf(-5.25,3+ 1 * math.cos(sine / 23.5),0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0+ 20 * math.cos(sine / 47)),math.rad(135+ 10 * math.cos(sine / 47))),.3)
  7174. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,-6 + 0.75 * math.cos(sine / 34),0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 10 * math.cos(sine / 47))),.3)
  7175. rwing3weld.C1=clerp(rwing3weld.C1,cf(5.25,3+ 1 * math.cos(sine / 23.5),0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0+ 20 * math.cos(sine / 47)),math.rad(-135+ 10 * math.cos(sine / 47))),.3)
  7176. lwing1weld.C1=clerp(lwing1weld.C1,cf(-3.75,-2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0+ 20 * math.cos(sine / 47)),math.rad(-135+ 10 * math.cos(sine / 47))),.3)
  7177. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1 + 0.75 * math.cos(sine / 34),0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180 + 10 * math.cos(sine / 47))),.3)
  7178. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,-2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0+ 20 * math.cos(sine / 47)),math.rad(135+ 10 * math.cos(sine / 47))),.3)
  7179. elseif ModeOfGlitch==4 then
  7180. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7181. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7182. lwing1weld.C1=clerp(lwing1weld.C1,cf(2.25+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3)
  7183. lwing2weld.C1=clerp(lwing2weld.C1,cf(5+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3)
  7184. lwing3weld.C1=clerp(lwing3weld.C1,cf(7.75+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3)
  7185. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2.25+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3)
  7186. rwing2weld.C1=clerp(rwing2weld.C1,cf(-5+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3)
  7187. rwing3weld.C1=clerp(rwing3weld.C1,cf(-7.75+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3)
  7188. elseif ModeOfGlitch == 5 then
  7189. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7190. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7191. 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)
  7192. 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)
  7193. 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)
  7194. 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)
  7195. 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)
  7196. 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)
  7197. elseif ModeOfGlitch==11 then
  7198. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7199. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7200. lwing1weld.C1=clerp(lwing1weld.C1,cf(-3- 0.75 * math.cos(sine / 32),1.5+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 - 7.5 * math.cos(sine / 16))),.3)
  7201. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,4+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
  7202. lwing3weld.C1=clerp(lwing3weld.C1,cf(3+ 0.75 * math.cos(sine / 32),1.5+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 16))),.3)
  7203. rwing1weld.C1=clerp(rwing1weld.C1,cf(-3- 0.75 * math.cos(sine / 32),4+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180 - 7.5 * math.cos(sine / 16))),.3)
  7204. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.5+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7205. rwing3weld.C1=clerp(rwing3weld.C1,cf(3+ 0.75 * math.cos(sine / 32),4+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180 + 7.5 * math.cos(sine / 16))),.3)
  7206. elseif ModeOfGlitch==12 or ModeOfGlitch==13 then
  7207. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7208. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7209. lwing1weld.C1=clerp(lwing1weld.C1,cf(2.25-0.25*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 5 * math.cos(sine / 16))),.3)
  7210. lwing2weld.C1=clerp(lwing2weld.C1,cf(5-0.5*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 16))),.3)
  7211. lwing3weld.C1=clerp(lwing3weld.C1,cf(7.75-0.75*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 10 * math.cos(sine / 16))),.3)
  7212. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2.25+0.25*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 5 * math.cos(sine / 16))),.3)
  7213. rwing2weld.C1=clerp(rwing2weld.C1,cf(-5+0.5*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 7.5 * math.cos(sine / 16))),.3)
  7214. rwing3weld.C1=clerp(rwing3weld.C1,cf(-7.75+0.75*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 10 * math.cos(sine / 16))),.3)
  7215. elseif ModeOfGlitch==14 then
  7216. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7217. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7218. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(60 - 3600 * math.cos(sine / 360))),.3)
  7219. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(180 - 3600 * math.cos(sine / 360))),.3)
  7220. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(-60 - 3600 * math.cos(sine / 360))),.3)
  7221. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
  7222. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
  7223. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
  7224. elseif ModeOfGlitch==15 then
  7225. for i = 6, 2, -1 do
  7226. visWings[i]=visWings[i-1]
  7227. end
  7228. visWings[1]=GetClientProperty(kan,'PlaybackLoudness')/250
  7229. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7230. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7231. lwing1weld.C1=clerp(lwing1weld.C1,cf(2.25,0+visWings[3],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 1.25 * math.cos(sine / 32))),.3)
  7232. lwing2weld.C1=clerp(lwing2weld.C1,cf(5,0+visWings[2],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 1.875 * math.cos(sine / 32))),.3)
  7233. lwing3weld.C1=clerp(lwing3weld.C1,cf(7.75,0+visWings[1],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 2.5 * math.cos(sine / 32))),.3)
  7234. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2.25,0+visWings[6],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 1.25 * math.cos(sine / 32))),.3)
  7235. rwing2weld.C1=clerp(rwing2weld.C1,cf(-5,0+visWings[5],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 1.875 * math.cos(sine / 32))),.3)
  7236. rwing3weld.C1=clerp(rwing3weld.C1,cf(-7.75,0+visWings[4],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 2.5 * math.cos(sine / 32))),.3)
  7237. elseif ModeOfGlitch==16 then
  7238. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7239. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7240. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,3.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 21)),0,math.rad(100-75*math.cos(sine / 42)+5*math.sin(sine / 84))),.3)
  7241. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 21)),0,math.rad(145-110*math.cos(sine / 42)+10*math.sin(sine / 84))),.3)
  7242. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 21)),0,math.rad(190-135*math.cos(sine / 42)+10*math.sin(sine / 84))),.3)
  7243. --[[lwing4weld.C1=clerp(lwing4weld.C1,cf(0,2.5,0)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(320)),.3)
  7244. lwing5weld.C1=clerp(lwing5weld.C1,cf(0,2.5,0)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(375)),.3)
  7245. lwing6weld.C1=clerp(lwing6weld.C1,cf(0,2.5,0)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(430)),.3)
  7246. ]]
  7247. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,3.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 21)),0,math.rad(-100+75*math.cos(sine / 42)-5*math.sin(sine / 84))),.3)
  7248. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 21)),0,math.rad(-145+110*math.cos(sine / 42)-10*math.sin(sine / 84))),.3)
  7249. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 21)),0,math.rad(-190+135*math.cos(sine / 42)-10*math.sin(sine / 84))),.3)
  7250. --[[rwing4weld.C1=clerp(rwing4weld.C1,cf(0,2.5,0)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(-320)),.3)
  7251. rwing5weld.C1=clerp(rwing5weld.C1,cf(0,2.5,0)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(-375)),.3)
  7252. rwing6weld.C1=clerp(rwing6weld.C1,cf(0,2.5,0)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(-430)),.3)
  7253. ]]
  7254. elseif ModeOfGlitch == 17 then
  7255. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,-0.4)*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)
  7256. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,4+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
  7257. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,-0.4)*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)
  7258. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,-0.4)*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)
  7259. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.5+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7260. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,-0.3)*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)
  7261. elseif ModeOfGlitch == 19 then
  7262. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7263. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7264. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(360 + 720 * math.cos(sine / 65))),.3)
  7265. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,4+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
  7266. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(180 + 720 * math.cos(sine / 65))),.3)
  7267. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(-90 + 720 * math.cos(sine / 65))),.3)
  7268. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.5+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7269. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(90 + 720 * math.cos(sine / 65))),.3)
  7270. elseif ModeOfGlitch==20 then
  7271. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7272. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7273. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(100+15*math.cos(sine/32))),.3)
  7274. lwing2weld.C1=clerp(lwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(145+25*math.cos(sine/32))),.3)
  7275. lwing3weld.C1=clerp(lwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(190+35*math.cos(sine/32))),.3)
  7276. lwing4weld.C1=clerp(lwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(320)),.3)
  7277. lwing5weld.C1=clerp(lwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(375)),.3)
  7278. lwing6weld.C1=clerp(lwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(430)),.3)
  7279.  
  7280. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(-100-15*math.cos(sine/32))),.3)
  7281. rwing2weld.C1=clerp(rwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(-145-25*math.cos(sine/32))),.3)
  7282. rwing3weld.C1=clerp(rwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(-190-35*math.cos(sine/32))),.3)
  7283. rwing4weld.C1=clerp(rwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(-320)),.3)
  7284. rwing5weld.C1=clerp(rwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(-375)),.3)
  7285. rwing6weld.C1=clerp(rwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(-430)),.3)
  7286.  
  7287. else
  7288. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7289. handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7290. lwing1weld.C1=clerp(lwing1weld.C1,cf(2.25,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 5 * math.cos(sine / 32))),.3)
  7291. lwing2weld.C1=clerp(lwing2weld.C1,cf(5,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3)
  7292. lwing3weld.C1=clerp(lwing3weld.C1,cf(7.75,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 10 * math.cos(sine / 32))),.3)
  7293. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2.25,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 5 * math.cos(sine / 32))),.3)
  7294. rwing2weld.C1=clerp(rwing2weld.C1,cf(-5,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 7.5 * math.cos(sine / 32))),.3)
  7295. rwing3weld.C1=clerp(rwing3weld.C1,cf(-7.75,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 10 * math.cos(sine / 32))),.3)
  7296.  
  7297. end
  7298. sine = sine + change
  7299. SINE=SINE+change
  7300. if(ModeOfGlitch==16)then
  7301.  
  7302. end
  7303.  
  7304. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  7305. local velderp=RootPart.Velocity.y
  7306. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  7307. if equipped==true or equipped==false then
  7308. if attack==false then
  7309. idle=idle+1
  7310. else
  7311. idle=0
  7312. end
  7313. if idle>=500 then
  7314. if attack==false then
  7315. --Sheath()
  7316. end
  7317. end
  7318. if RootPart.Velocity.y > 1 and hitfloor==nil then
  7319. Anim="Jump"
  7320. if attack==false then
  7321. 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)
  7322. 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)
  7323. 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)
  7324. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  7325. 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)
  7326. 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)
  7327. end
  7328. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  7329. Anim="Fall"
  7330. if attack==false then
  7331. 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)
  7332. 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)
  7333. 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)
  7334. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  7335. 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)
  7336. 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)
  7337. end
  7338. elseif torvel<1 and hitfloor~=nil then
  7339. Anim="Idle"
  7340. if attack==false then
  7341. if ModeOfGlitch == 1 then
  7342. local snap = math.random(1,10)
  7343. if snap == 1 then
  7344. 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)
  7345. end
  7346. 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)
  7347. 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)
  7348. 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(0 - 1 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
  7349. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 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)
  7350. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-5 - 3 * math.cos(sine / 43)),math.rad(16 + 5 * math.cos(sine / 52)),math.rad(-24 + 9 * math.cos(sine / 45))),.1)
  7351. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(7 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(-22 - 2 * math.cos(sine / 45))),.1)
  7352. elseif ModeOfGlitch == 2 then
  7353. 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)
  7354. 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)
  7355. 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)
  7356. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(25 - 2.5 * math.sin(sine / 32)),math.rad(0),math.rad(0 - 5 * math.sin(sine / 95))),0.1)
  7357. RW.C0=clerp(RW.C0,cf(1,0.4,-0.45)*angles(math.rad(82 + 6 * math.cos(sine / 72)),math.rad(3 - 1 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  7358. LW.C0=clerp(LW.C0,cf(-1,0.55,-0.5)*angles(math.rad(69 - 7 * math.cos(sine / 66)),math.rad(4 - 2 * math.cos(sine / 59)),math.rad(61 - 4 * math.cos(sine / 45))),.1)
  7359. elseif ModeOfGlitch == 3 then
  7360. local snap = math.random(1,32)
  7361. if snap == 1 then
  7362. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 8.5 * math.cos(sine / 41)+MRANDOM(-35,15)),math.rad(0 + 1 * math.cos(sine / 57)+MRANDOM(-65,65)),math.rad(0 - 30 * math.cos(sine / 47)+MRANDOM(-65,65))),.4)
  7363. end
  7364. 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)
  7365. 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)
  7366. 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)
  7367. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 8.5 * math.cos(sine / 41)),math.rad(0 + 1 * math.cos(sine / 57)),math.rad(0 - 30 * math.cos(sine / 47))),.1)
  7368. 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 - 10 * math.cos(sine / 47))),.1)
  7369. 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 - 10 * math.cos(sine / 47))),.1)
  7370. elseif ModeOfGlitch == 4 then
  7371. local snap = math.random(1,24)
  7372. if snap == 1 then
  7373. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35+math.random(-50,50)),math.rad(10+math.random(-50,50)),math.rad(0+math.random(-50,50))),.5)
  7374. end
  7375. local snap = math.random(1,78)
  7376. if snap == 1 then
  7377. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35+math.random(-100,100)),math.rad(10+math.random(-100,100)),math.rad(0+math.random(-100,100))),.5)
  7378. end
  7379. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 45)),math.rad(-10 - 9 * math.cos(sine / 45))),.2)
  7380. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 1 * math.cos(sine / 45)),math.rad(10 + 5 * math.cos(sine / 45))),.2)
  7381. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 45),1 + 0.25 * math.cos(sine / 45))*angles(math.rad(0 - 2 * math.cos(sine / 45)+math.random(-5,5)),math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5))),.1)
  7382. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)+math.random(-5,5)),math.rad(0 + 1 * math.cos(sine / 58)+math.random(-5,5)),math.rad(0 + 2 * math.cos(sine / 53)+math.random(-5,5))),.1)
  7383. RW.C0=clerp(RW.C0,cf(1.25,0.5 + 0.025 * math.cos(sine / 45),-0.4)*angles(math.rad(180),math.rad(45),math.rad(-15))*angles(math.rad(0),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  7384. LW.C0=clerp(LW.C0,cf(-1.25,0.5 + 0.025 * math.cos(sine / 45),-0.4)*angles(math.rad(180),math.rad(-45),math.rad(15))*angles(math.rad(0),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  7385. elseif ModeOfGlitch == 5 then
  7386. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 24),0)*angles(math.rad(0),math.rad(80),math.rad(17 - 2 * math.cos(sine / 32)))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
  7387. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 24),0)*angles(math.rad(0),math.rad(-82),math.rad(-17 - 2 * math.cos(sine / 32)))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  7388. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 24))*angles(math.rad(15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
  7389. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 1.8 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1)
  7390. RW.C0=clerp(RW.C0,cf(1.35,0.4 + 0.025 * math.cos(sine / 30),0)*angles(math.rad(25 + 3 * math.cos(sine / 30)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 30))),.1)
  7391. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 30),0)*angles(math.rad(-25 + 2 * math.cos(sine / 30)),math.rad(0),math.rad(-12 + 5 * math.cos(sine / 30))),.1)
  7392. elseif ModeOfGlitch == 6 then -- soon to change anim
  7393. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 24),0)*angles(math.rad(0),math.rad(80),math.rad(17 - 2 * math.cos(sine / 32)))*angles(math.rad(-3),math.rad(5.5 - 2 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  7394. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 24),0)*angles(math.rad(0),math.rad(-82),math.rad(-17 - 2 * math.cos(sine / 32)))*angles(math.rad(-6),math.rad(-22 - 2 * math.cos(sine / 56)),math.rad(12 + 2 * math.cos(sine / 32))),.1)
  7395. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 24))*angles(math.rad(15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(22 + 2 * math.cos(sine / 56))),.1)
  7396. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 1.8 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(-22 - 2 * math.cos(sine / 56))),.1)
  7397. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1)
  7398. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(7 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(-22 - 2 * math.cos(sine / 45))),.1)
  7399. elseif ModeOfGlitch == 7 then -- Cursed by Unfair
  7400. local rsiz = math.random(1,2)
  7401. sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.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,MAINRUINCOLOR,0)
  7402. sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0)
  7403. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-5),math.rad(90),math.rad(-5)),.1)
  7404. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(5),math.rad(-90),math.rad(5)),.1)
  7405. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.001 * 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(-20 - 1 * math.cos(sine / 44))),.1)
  7406. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 8.5 * math.cos(sine / 41)+MRANDOM(-5,5)),math.rad(0 + 1 * math.cos(sine / 57)+MRANDOM(-5,5)),math.rad(20 + 10 * math.cos(sine / 47)+MRANDOM(-5,5))),.1)
  7407. RW.C0=clerp(RW.C0,cf(0.8,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(10 + 3 * math.cos(sine / 43)),math.rad(0 - 2 * math.cos(sine / 52)),math.rad(-90 + 0.9 * math.cos(sine / 45))),.1)
  7408. LW.C0=clerp(LW.C0,cf(-1.25,0.5 + 0.025 * math.cos(sine / 45),-0.4)*angles(math.rad(134),math.rad(0),math.rad(47))*angles(math.rad(0),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  7409. elseif ModeOfGlitch == 8 then -- Accession by Unfair
  7410. 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)
  7411. 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)
  7412. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.4 + 0.5 * 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)
  7413. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 41)),math.rad(0 + 1 * math.cos(sine / 57)),math.rad(0 - 0.3 * math.cos(sine / 47))),.1)
  7414. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-80 + 2 * math.cos(sine / 45))),.3)
  7415. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(80 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(71 - 4 * math.cos(sine / 45))),.3)
  7416. elseif ModeOfGlitch == 9 then -- Descented by Unfair
  7417. 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)
  7418. 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)
  7419. 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)
  7420. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 3 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  7421. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.05 * math.cos(sine / 45),0.45)*angles(math.rad(-23 + 6 * math.cos(sine / 74)),math.rad(1 - 2 * math.cos(sine / 53)),math.rad(-53 + 3 * math.cos(sine / 45))),.1)
  7422. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.05 * math.cos(sine / 45),-0.5)*angles(math.rad(84 - 3 * math.cos(sine / 73)),math.rad(8 - 5 * math.cos(sine / 55)),math.rad(80 - 3 * math.cos(sine / 45))),.1)
  7423. elseif ModeOfGlitch == 10 then
  7424. local snap = math.random(1,100)
  7425. if snap == 1 then
  7426. 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)
  7427. end
  7428. 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)
  7429. LH.C0=clerp(LH.C0,cf(-1,-1,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)
  7430. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.4 + 0.5 * math.cos(sine / 32))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-35)),.1)
  7431. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 3 * math.cos(sine / 45)),math.rad(0),math.rad(34)),.1)
  7432. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 70),0)*angles(math.rad(0 + 1 * math.cos(sine / 0.0001) ),math.rad(0),math.rad(10 + 1 * math.cos(sine / 0.0001))),.1)
  7433. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(-45),math.rad(-90)),.2)
  7434. elseif ModeOfGlitch == 11 then
  7435. 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)
  7436. 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)
  7437. 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 - 4 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
  7438. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 6 * math.cos(sine / 32)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(0 + 5 * math.sin(sine / 32))),.1)
  7439. RW.C0 = clerp(RW.C0, CF(1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(-0), Rad(-30)), 0.1)
  7440. 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)
  7441. elseif ModeOfGlitch == 12 then
  7442. RH.C0=clerp(RH.C0,cf(1,-1.3,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(30),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 - 2 * math.cos(sine / 39))),.1)
  7443. 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 - 1 * math.cos(sine / 56)),math.rad(0 + 6 * math.cos(sine / 31))),.1)
  7444. 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(-66 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  7445. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  7446. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(183 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
  7447. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(183 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  7448. elseif ModeOfGlitch == 13 then
  7449. 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)
  7450. 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(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  7451. 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)
  7452. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(20),math.rad(0)),.1)
  7453. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(0),math.rad(0 + 15 * math.cos(sine / 28))),.1)
  7454. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(0),math.rad(0 + -15 * math.cos(sine / 28))),.1)
  7455. elseif ModeOfGlitch == 14 then
  7456. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  7457. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  7458. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.01 * math.cos(sine / 32),2 + 0.35 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 18)),math.rad(0),math.rad(0)),.1)
  7459. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(-15 - 5 * math.cos(sine / 62))),.1)
  7460. RW.C0=clerp(RW.C0,cf(1.2,0.5 + 0.05 * math.cos(sine / 28),0.3)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.1)
  7461. LW.C0=clerp(LW.C0,cf(-1.2,0.5 + 0.05 * math.cos(sine / 28),0.3)*angles(math.rad(-30),math.rad(0),math.rad(20)),.1)
  7462. elseif(ModeOfGlitch == 15)then -- Antecedent
  7463. local snap = math.random(1,10)
  7464. if snap == 1 then
  7465. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(0 + math.random(-5,5))),1)
  7466. end
  7467. 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)
  7468. 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(-10 +10 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  7469. 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(10-10 * math.cos(sine / 56))),.1)
  7470. 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(-10 + 10 * math.cos(sine / 56))),.1)
  7471. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(-3 + 9 * math.cos(sine / 45))),.1)
  7472. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0+.1*math.sin(sine/52))*angles(math.rad(7 - 2 * math.cos(sine / 51)),math.rad(-10+10 * math.cos(sine / 52)),math.rad(-12 + 5 * math.cos(sine / 45))),.1)
  7473. elseif(ModeOfGlitch == 16)then -- Equilibrium
  7474. --Equilibrium Anim by Derpz
  7475. -- ^ thanks Derpz ~Drahazar
  7476. local color = math.random(0,1)
  7477. 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(Color3.new(color,color,color)),Color3.new(color,color,color))
  7478. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 30),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)
  7479. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 30),0)*angles(math.rad(0),math.rad(-80),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 - 1 * math.cos(sine / 34))),.1)
  7480. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 30))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7481. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 3 * math.cos(sine / 45)),math.rad(0),math.rad(0)),.1)
  7482. RW.C0=clerp(RW.C0,cf(1.2,0.5 + 0.05 * math.cos(sine / 50),0.3)*angles(math.rad(-50),math.rad(0),math.rad(-50 - 5 * math.cos(sine / 50))),.1)
  7483. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 50),0)*angles(math.rad(180),math.rad(0),math.rad(-20 + 5 * math.cos(sine / 50))),.1)
  7484. elseif ModeOfGlitch == 17 then
  7485. 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)
  7486. 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)
  7487. 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)
  7488. 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)
  7489. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.35)*angles(math.rad(6 + 1 * math.cos(sine / 74)),math.rad(-14 - 1 * math.cos(sine / 53)),math.rad(-86 + 5 * math.cos(sine / 32))),.1)
  7490. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.55)*angles(math.rad(-20 - 3 * math.cos(sine / 73)),math.rad(23 - 2.25 * math.cos(sine / 55)),math.rad(86 - 6 * math.cos(sine / 33))),.1)
  7491. elseif ModeOfGlitch == 18 then
  7492. 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("Electric blue"),Color3.new(0.2,0.2,0.2))
  7493. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  7494. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  7495. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(18)),.1)
  7496. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(-18)),.1)
  7497. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2)
  7498. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0.2 * math.cos(sine / 51)),math.rad(35 - 4 * math.cos(sine / 64)),math.rad(-19 - 0.2 * math.cos(sine / 45))),.1)
  7499. elseif ModeOfGlitch == 19 then
  7500. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Maroon"),Color3.new(1,1,1))
  7501. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 + 2 * math.cos(sine / 40)),math.rad(-15),math.rad(0 + 2 * math.cos(sine / 20))),.1)
  7502. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 - 2 * math.cos(sine / 40)),math.rad(1),math.rad(0 - 2 * math.cos(sine / 20))),.1)
  7503. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.02 * math.cos(sine / 40),0 - 0.02 * math.cos(sine / 40),-0.05 - 0.05 * math.cos(sine / 20))*angles(math.rad(0 + 2 * math.cos(sine / 20)),math.rad(0 + 2 * math.cos(sine / 40)),math.rad(30 + 3 * math.cos(sine / 40))),.1)
  7504. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2),math.rad(0 - 7 * math.cos(sine / 40)),math.rad(-30 - 3 * math.cos(sine / 40))),.1)
  7505. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(10 + 3 * math.cos(sine / 43)),math.rad(35 - 2 * math.cos(sine / 52)),math.rad(13 + 0.9 * math.cos(sine / 45))),.1)
  7506. LW.C0=clerp(LW.C0,cf(-1.4,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-13 - 1 * math.cos(sine / 25)),math.rad(10 + 2 * math.cos(sine / 24)),math.rad(10 + 2 * math.cos(sine / 34))),.1)
  7507. elseif ModeOfGlitch == 20 then
  7508. if(not major)then
  7509. -- SECLUSION
  7510. 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 - 1 * math.cos(sine / 44)),math.rad(-5 - 2 * math.cos(sine / 32))),.1)
  7511. 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)
  7512. 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(25 + 1 * math.cos(sine / 44))),.1)
  7513. if(math.random(1,25)==5)then
  7514. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(math.random(-25,25))+math.rad(25 - 2.5 * math.sin(sine / 32)),math.rad(math.random(-25,25))+math.rad(0),math.rad(math.random(-25,25))+math.rad(-25 - 1 * math.cos(sine / 44))),1)
  7515. else
  7516. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(25 - 2.5 * math.sin(sine / 32)),math.rad(0),math.rad(-25 - 1 * math.cos(sine / 44))),0.1)
  7517. end
  7518. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(-22 - 2 * math.cos(sine / 45))),.1)
  7519. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(7 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(-22 - 2 * math.cos(sine / 45))),.1)
  7520. else
  7521. -- CONSOLIDATION
  7522. local Alpha = .1
  7523. RootJoint.C0 = RootJoint.C0:lerp(cf(0,0+.8*math.cos(sine/36),0)*angles(math.rad(0),math.rad(0),math.rad(0))*RootCF,Alpha)
  7524. LH.C0 = LH.C0:lerp(cf(-1,-1-.1*math.cos(sine/36),0)*angles(math.rad(-14.7),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
  7525. RH.C0 = RH.C0:lerp(cf(1,-0.9-.1*math.cos(sine/36),0)*angles(math.rad(0),math.rad(0),math.rad(5.3))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
  7526. RW.C0=clerp(RW.C0,cf(1,0.4,-0.45)*angles(math.rad(82 + 6 * math.cos(sine / 72)),math.rad(3 - 1 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  7527. LW.C0=clerp(LW.C0,cf(-1,0.55,-0.5)*angles(math.rad(69 - 7 * math.cos(sine / 66)),math.rad(4 - 2 * math.cos(sine / 59)),math.rad(61 - 4 * math.cos(sine / 45))),.1)
  7528. Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,0)*angles(math.rad(0+4*math.sin(sine/36)),math.rad(0),math.rad(0))*necko,Alpha)
  7529. end
  7530. elseif ModeOfGlitch == 21 then -- Nefarious
  7531. 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)
  7532. 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 + 1 * math.cos(sine / 44)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  7533. 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(-15 - 1 * math.cos(sine / 44))),.1)
  7534. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(25 - 2.5 * math.sin(sine / 32)),math.rad(0),math.rad(15 + 1 * math.cos(sine / 44))),0.1)
  7535. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(7 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(22 + 2 * math.cos(sine / 45))),.1)
  7536. LW.C0=clerp(LW.C0,cf(-1,0.55,-0.5)*angles(math.rad(69 - 7 * math.cos(sine / 66)),math.rad(4 - 2 * math.cos(sine / 59)),math.rad(61 - 4 * math.cos(sine / 45))),.1)
  7537. elseif ModeOfGlitch == 22 then -- HOSTILITY idle |--| Derpz
  7538. local snap = math.random(1,1)
  7539. if snap == 1 then
  7540. 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)
  7541. end
  7542. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(80),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2)
  7543. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-80),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2)
  7544. 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(0),math.rad(0),math.rad(0)),.2)
  7545. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),math.rad(0),math.rad(0)),.2)
  7546. RW.C0=clerp(RW.C0,cf(1.25,0.5 + 0.025 * math.cos(sine / 32),-0.4)*angles(math.rad(180),math.rad(45),math.rad(-55))*angles(math.rad(0),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  7547. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(0),math.rad(-15))*angles(math.rad(0),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  7548. elseif ModeOfGlitch == 24 then
  7549. local snap = math.random(1,35)
  7550. if snap == 1 then
  7551. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),1)
  7552. end
  7553. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 32)),math.rad(-10 - 9 * math.cos(sine / 32))),.2)
  7554. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 1 * math.cos(sine / 32)),math.rad(10 + 5 * math.cos(sine / 32))),.2)
  7555. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),1 + 0.25 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  7556. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35),math.rad(0 + 1 * math.cos(sine / 32)),math.rad(0)),.2)
  7557. RW.C0=clerp(RW.C0,cf(1.25,0.5 + 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(45),math.rad(-55))*angles(math.rad(0),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  7558. LW.C0=clerp(LW.C0,cf(-1.25,0.5 + 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-45),math.rad(55))*angles(math.rad(0),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  7559. else -- Other Modes
  7560. 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)
  7561. 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)
  7562. 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)
  7563. 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)
  7564. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1)
  7565. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(7 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(-22 - 2 * math.cos(sine / 45))),.1)
  7566. end
  7567. end
  7568. elseif torvel>2 and Humanoid.WalkSpeed<32 and hitfloor~=nil then
  7569. Anim="Walk"
  7570. if attack==false then
  7571. if ModeOfGlitch == 3 then
  7572. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(86),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 40 * math.cos(sine / 8))),.1)
  7573. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-86),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 40 * math.cos(sine / 8))),.1)
  7574. 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 / 8)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
  7575. 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) - 30 * math.cos(sine / 47))),.1)
  7576. 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 - 10 * math.cos(sine / 47))),.1)
  7577. 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 - 10 * math.cos(sine / 47))),.1)
  7578. elseif ModeOfGlitch == 4 or ModeOfGlitch == 19 then
  7579. local snap = math.random(1,24)
  7580. if snap == 1 then
  7581. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35+math.random(-50,50)),math.rad(10+math.random(-50,50)),math.rad(0+math.random(-50,50))),.5)
  7582. end
  7583. local snap = math.random(1,48)
  7584. if snap == 1 then
  7585. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35+math.random(-100,100)),math.rad(10+math.random(-100,100)),math.rad(0+math.random(-100,100))),.5)
  7586. end
  7587. 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(0)),.1)
  7588. 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(0)),.1)
  7589. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1+ 0.1 * math.cos(sine / 29))*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  7590. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35),math.rad(10),math.rad(0)),0.5)
  7591. RW.C0=clerp(RW.C0,cf(1.5+math.random(-.5,.5),0.5+math.random(-.5,.5),0+math.random(-.5,.5))*angles(math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5))),.1)
  7592. LW.C0=clerp(LW.C0,cf(-1.5+math.random(-.5,.5),0.5+math.random(-.5,.5),0+math.random(-.5,.5))*angles(math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5))),.1)
  7593. elseif ModeOfGlitch == 7 then
  7594. local rsiz = math.random(1,2)
  7595. sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.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,MAINRUINCOLOR,0)
  7596. sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0)
  7597. 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)
  7598. 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)
  7599. 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 / 8)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
  7600. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 3 * math.cos(sine / 4)+MRANDOM(-5,5)),math.rad(0 + root.RotVelocity.Y/1.5+MRANDOM(-5,5)),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8)+MRANDOM(-5,5))),.1)
  7601. 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(10 - 15 * math.cos(sine / 4))),.1)
  7602. 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(-10 + 15 * math.cos(sine / 4))),.1)
  7603. elseif ModeOfGlitch==12 then
  7604. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),-0.2)*angles(math.rad(-40),math.rad(90),math.rad(0)),.1)
  7605. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),-0.3)*angles(math.rad(-40),math.rad(-90),math.rad(0)),.1)
  7606. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.45 * math.cos(sine / 49),0,1 + 0.25 * math.cos(sine / 28))*angles(math.rad(50),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05)
  7607. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-35 + 2.5 * math.cos(sine / 41)),math.rad(0 + 1 * math.cos(sine / 57)),math.rad(0)),.1)
  7608. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0.3 * math.cos(sine / 43)),math.rad(-35 - 2 * math.cos(sine / 52)),math.rad(19 + 0.9 * math.cos(sine / 45))),.1)
  7609. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0.2 * math.cos(sine / 51)),math.rad(35 - 4 * math.cos(sine / 64)),math.rad(-19 - 0.2 * math.cos(sine / 45))),.1)
  7610. else
  7611. 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)
  7612. 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)
  7613. 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 / 8)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
  7614. 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)
  7615. 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(10 - 15 * math.cos(sine / 4))),.1)
  7616. 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(-10 + 15 * math.cos(sine / 4))),.1)
  7617. if ModeOfGlitch == 24 then
  7618. local snap = math.random(1,35)
  7619. if snap == 1 then
  7620. 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)
  7621. end
  7622. 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)
  7623. 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)
  7624. 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 / 8)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
  7625. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35),math.rad(0 + 1 * math.cos(sine / 32)),math.rad(0)),.2)
  7626. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(45),math.rad(20))*angles(math.rad(0),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  7627. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-45),math.rad(-20))*angles(math.rad(0),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  7628. end
  7629. end
  7630. end
  7631. elseif torvel>=4 and Humanoid.WalkSpeed>=32 and hitfloor~=nil then
  7632. Anim="Run"
  7633. if attack==false then
  7634. if ModeOfGlitch==8 or ModeOfGlitch==10 or ModeOfGlitch==17 or ModeOfGlitch == 14 or ModeOfGlitch==12 then
  7635. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),-0.2)*angles(math.rad(-40),math.rad(90),math.rad(0)),.1)
  7636. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),-0.3)*angles(math.rad(-40),math.rad(-90),math.rad(0)),.1)
  7637. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 29),0 + 0.125 * math.cos(sine / 34),1 + 0.25 * math.cos(sine / 28))*angles(math.rad(50),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05)
  7638. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-35 + 2.5 * math.cos(sine / 41)),math.rad(0 + 1 * math.cos(sine / 57)),math.rad(0)),.1)
  7639. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0.3 * math.cos(sine / 43)),math.rad(-35 - 2 * math.cos(sine / 52)),math.rad(19 + 0.9 * math.cos(sine / 45))),.1)
  7640. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0.2 * math.cos(sine / 51)),math.rad(35 - 4 * math.cos(sine / 64)),math.rad(-19 - 0.2 * math.cos(sine / 45))),.1)
  7641. else
  7642. 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)
  7643. 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)
  7644. 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)
  7645. 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)
  7646. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.5 * math.cos(sine / 6))*angles(math.rad(0 - 140 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 20 * math.cos(sine / 3))),.1)
  7647. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.5 * math.cos(sine / 6))*angles(math.rad(0 + 140 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 20 * math.cos(sine / 3))),.1)
  7648. if(ModeOfGlitch~=20)then
  7649. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(1,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.25,0.25,3,-0.00375,MAINRUINCOLOR,0)
  7650. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(1,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.25,0.25,3,-0.00375,SECONDRUINCOLOR,0)
  7651. if ModeOfGlitch == 22 then
  7652. if ModeOfGlitch == 22 then
  7653. local snap = math.random(1,1)
  7654. if snap == 1 then
  7655. 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)
  7656. end
  7657. 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)
  7658. 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)
  7659. 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)
  7660. 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)
  7661. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.5 * math.cos(sine / 6))*angles(math.rad(0 - 140 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 20 * math.cos(sine / 3))),.1)
  7662. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.5 * math.cos(sine / 6))*angles(math.rad(0 + 140 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 20 * math.cos(sine / 3))),.1)
  7663. end
  7664. end
  7665. end
  7666. end
  7667. end
  7668. end
  7669. end
  7670. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement