Advertisement
BlurpleOk

Untitled

Mar 1st, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 246.86 KB | None | 0 0
  1. -- FE template created by MintyLatios (V3rm) aka mikel11114 (ROBLOX)
  2. local username = "GroovyDayday828"
  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. do
  19. local GUID = {}
  20. do
  21. GUID.IDs = {};
  22. function GUID:new(len)
  23. local id;
  24. if(not len)then
  25. id = (tostring(function() end))
  26. id = id:gsub("function: ","")
  27. else
  28. local function genID(len)
  29. local newID = ""
  30. for i = 1,len do
  31. newID = newID..string.char(math.random(48,90))
  32. end
  33. return newID
  34. end
  35. repeat id = genID(len) until not GUID.IDs[id]
  36. local oid = id;
  37. id = {Trash=function() GUID.IDs[oid]=nil; end;Get=function() return oid; end}
  38. GUID.IDs[oid]=true;
  39. end
  40. return id
  41. end
  42. end
  43.  
  44. local AHB = Instance.new("BindableEvent")
  45.  
  46. local FPS = 30
  47.  
  48. local TimeFrame = 0
  49.  
  50. local LastFrame = tick()
  51. local Frame = 1/FPS
  52.  
  53. game:service'RunService'.Heartbeat:connect(function(s,p)
  54. TimeFrame = TimeFrame + s
  55. if(TimeFrame >= Frame)then
  56. for i = 1,math.floor(TimeFrame/Frame) do
  57. AHB:Fire()
  58. end
  59. LastFrame=tick()
  60. TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame)
  61. end
  62. end)
  63.  
  64.  
  65. function swait(dur)
  66. if(dur == 0 or typeof(dur) ~= 'number')then
  67. AHB.Event:wait()
  68. else
  69. for i = 1, dur*FPS do
  70. AHB.Event:wait()
  71. end
  72. end
  73. end
  74.  
  75. local oPlayer = Player
  76. local Player = oPlayer
  77.  
  78. local loudnesses={}
  79. script.Parent = Player.Character
  80. local CoAS = {Actions={}}
  81. local Event = Instance.new("RemoteEvent")
  82. Event.Name = "UserInputEvent"
  83. Event.Parent = Player.Character
  84. local Func = Instance.new("RemoteFunction")
  85. Func.Name = "GetClientProperty"
  86. Func.Parent = Player.Character
  87. local fakeEvent = function()
  88. local t = {_fakeEvent=true,Waited={},Connected={}}
  89. t.Connect = function(self,f)
  90. local ft={}
  91. ft={Disconnected=false;disconnect=function(s) if(self.Function==ft)then self.Function=nil end s.Disconnected=true end}
  92. ft.Disconnect=ft.disconnect
  93.  
  94. ft.Func=function(...)
  95. for id,_ in next, t.Waited do
  96. t.Waited[id] = true
  97. end
  98. return f(...)
  99. end;
  100.  
  101. table.insert(self.Connected,ft)
  102. return ft;
  103. end
  104. t.connect = t.Connect
  105. t.Wait = function()
  106. local guid = GUID:new(25)
  107. local waitingId = guid:Get()
  108. t.Waited[waitingId]=false
  109. repeat swait() until t.Waited[waitingId]==true
  110. t.Waited[waitingId]=nil;
  111. guid:Trash()
  112. end
  113. t.wait = t.Wait
  114. return t
  115. end
  116. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  117. local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  118. local Run = {RenderStepped=fakeEvent()}
  119.  
  120. function CoAS:BindAction(name,fun,touch,...)
  121. CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  122. end
  123. function CoAS:UnbindAction(name)
  124. CoAS.Actions[name] = nil
  125. end
  126. local function te(self,ev,...)
  127. local t = self[ev]
  128. if t and t._fakeEvent and t.Connected then
  129. for i,v in next, t.Connected do
  130. if(v.Func and not v.Disconnected)then
  131. v.Func(...)
  132. else
  133. t.Connected[i]=nil
  134. end
  135. end
  136. end
  137. end
  138. m.TrigEvent = te
  139. UsIS.TrigEvent = te
  140. Run.TrigEvent = te
  141. Event.OnServerEvent:Connect(function(plr,io)
  142. if plr~=Player then return end
  143. --[[table.foreach(io,print)
  144. print'---']]
  145. if io.Mouse then
  146. m.Target = io.Target
  147. m.Hit = io.Hit
  148. elseif io.KeyEvent then
  149. m:TrigEvent('Key'..io.KeyEvent,io.Key)
  150. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  151. if io.UserInputState == Enum.UserInputState.Begin then
  152. m:TrigEvent("Button1Down")
  153. else
  154. m:TrigEvent("Button1Up")
  155. end
  156. end
  157. if(not io.KeyEvent and not io.Mouse)then
  158.  
  159. for n,t in pairs(CoAS.Actions) do
  160. for _,k in pairs(t.Keys) do
  161. if k==io.KeyCode then
  162. t.Function(t.Name,io.UserInputState,io)
  163. end
  164. end
  165. end
  166. if io.UserInputState == Enum.UserInputState.Begin then
  167. UsIS:TrigEvent("InputBegan",io,false)
  168. else
  169. UsIS:TrigEvent("InputEnded",io,false)
  170. end
  171. end
  172. end)
  173.  
  174. Func.OnServerInvoke = function(plr,inst,play)
  175. if plr~=Player then return end
  176. if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then
  177. loudnesses[inst]=play
  178. end
  179. end
  180.  
  181. function GetClientProperty(inst,prop)
  182. if(prop == 'PlaybackLoudness' and loudnesses[inst])then
  183. return loudnesses[inst]
  184. elseif(prop == 'PlaybackLoudness')then
  185. return Func:InvokeClient(Player,'RegSound',inst)
  186. end
  187. return Func:InvokeClient(Player,inst,prop)
  188. end
  189. local oldGame = game;
  190. function GetFakePlayer()
  191. local oldPlayer = Player;
  192. local fakePlayer = newproxy(true)
  193. getmetatable(fakePlayer).__index = function(s,i)
  194. if(i == 'GetMouse')then
  195. return function() return m; end
  196. end
  197. return Player[i]
  198. end
  199. getmetatable(fakePlayer).__newindex = function(s,i,v)
  200. Player[i]=v
  201. end
  202. getmetatable(fakePlayer).__call=function(self,...)
  203. if(self == fakePlayer)then self = Player end
  204. local wh = {...}
  205. local name = table.remove(wh,1)
  206. for i,v in next, wh do
  207. wh[i]=v
  208. end
  209. if(name == 'GetMouse')then
  210. return m;
  211. end
  212. return self(name,unpack(wh))
  213. end
  214. getmetatable(fakePlayer).__namecall=function(self,...)
  215. if(self == fakePlayer)then self = Player end
  216. local tuple={...}
  217. local name = table.remove(tuple,#tuple)
  218.  
  219. if(name == 'GetMouse')then
  220. return m;
  221. else
  222. return self[name](self,unpack(tuple))
  223. end
  224. end
  225.  
  226. return fakePlayer
  227. end
  228. local oll = LoadLibrary;
  229. function LoadLibrary(libtard)
  230. local libtarddestroyed=oll(libtard)
  231. if(libtard=='RbxUtility')then
  232. local library={Create=function(obj)
  233. local inst = Instance.new(obj)
  234. return function(props)
  235. for prop,valu in next, props do
  236. inst[prop]=valu
  237. end
  238. return inst
  239. end
  240. end}
  241. setmetatable(library,{__index=libtarddestroyed,__newindex=function(s,i,v) libtarddestroyed[i]=v end})
  242.  
  243. return library
  244. else
  245. return libtarddestroyed
  246. end
  247. end
  248. fakePlayer = GetFakePlayer()
  249. local function GetService(s,i)
  250. local service = s:GetService(i)
  251. if(i == 'Players')then
  252. local oldService = service;
  253. local fakeService = newproxy(true)
  254. getmetatable(fakeService).__index = function(s,i)
  255. if(s == fakeService)then s=oldService end
  256. if(i == 'inessaG' or i == 'inessaG')then
  257. return fakePlayer
  258. elseif(i == 'oPlayer')then
  259. return oPlayer
  260. else
  261. return s[i]
  262. end
  263. end
  264. getmetatable(fakeService).__newindex = function(s,i,v)
  265. if(s == fakeService)then s=oldService end
  266. s[i]=v
  267. end
  268. getmetatable(fakeService).__call=function(self,...)
  269. if(self == fakeService)then self = oldService end
  270. local wh = {...}
  271. local name = table.remove(wh,1)
  272. for i,v in next, wh do
  273. wh[i]=v
  274. end
  275. return self(name,unpack(wh))
  276. end
  277. getmetatable(fakeService).__namecall=function(self,...)
  278. if(self == fakeService)then self = oldService end
  279. local tuple={...}
  280. local name = table.remove(tuple,#tuple)
  281.  
  282. return self[name](self,unpack(tuple))
  283. end
  284. getmetatable(fakeService).__metatable = 'gay'
  285. return fakeService
  286. elseif(i == 'RunService')then
  287. local oldService = service;
  288. local fakeService = newproxy(true)
  289. getmetatable(fakeService).__index = function(s,i)
  290. if(s == fakeService)then s=oldService end
  291. return Run[i] or s[i]
  292. end
  293. getmetatable(fakeService).__newindex = function(s,i,v)
  294. if(s == fakeService)then s=oldService end
  295. s[i]=v
  296. end
  297. getmetatable(fakeService).__call=function(self,...)
  298. if(self == fakeService)then self = oldService end
  299. local wh = {...}
  300. local name = table.remove(wh,1)
  301. for i,v in next, wh do
  302. wh[i]=v
  303. end
  304. return self(name,unpack(wh))
  305. end
  306. getmetatable(fakeService).__namecall=function(self,...)
  307. if(self == fakeService)then self = oldService end
  308. local tuple={...}
  309. local name = table.remove(tuple,#tuple)
  310.  
  311. return self[name](self,unpack(tuple))
  312. end
  313. getmetatable(fakeService).__metatable = 'gay'
  314. return fakeService
  315. elseif(i == 'UserInputService')then
  316. return UsIS
  317. elseif(i == 'ContextActionService')then
  318. return CoAS;
  319. else
  320. return service
  321. end
  322. end
  323.  
  324. local new = Instance.new;
  325. Instance = {}
  326. Instance.new = function(inst,obje)
  327. local lp = GetService(oldGame,'Players').inessaG
  328. local instance = new(inst)
  329. if(inst=='ObjectValue')then
  330. local fake = newproxy(true)
  331. getmetatable(fake).__index=function(self,index)
  332. if(self==fake)then self=instance end
  333. return self[index]
  334. end
  335. getmetatable(fake).__newindex=function(self,index,value)
  336. if(self==fake)then self=instance end
  337. if(index=='Value' and typeof(value)~='Instance' and value==fakePlayer)then
  338. self[index]=oPlayer
  339. else
  340. self[index]=value
  341. end
  342. end
  343. getmetatable(fake).__call=function(self,...)
  344. if(self == fake)then self = instance end
  345. local wh = {...}
  346. local name = table.remove(wh,1)
  347. for i,v in next, wh do
  348. if(v == fake)then v = instance end
  349. wh[i]=v
  350. end
  351. return self(name,unpack(wh))
  352. end
  353. getmetatable(fake). __namecall=function(self,...)
  354. if(self == fake)then self = instance end
  355. local tuple={...}
  356. local name = table.remove(tuple,#tuple)
  357. return self[name](self,unpack(tuple))
  358. end
  359. return fake
  360. else
  361. instance.Parent = obje
  362. return instance;
  363. end
  364.  
  365. end
  366. local serviceFunctions={
  367. service=true,
  368. GetService=true,
  369. }
  370. local fakeGame = newproxy(true)
  371. getmetatable(fakeGame).__index = function(s,i)
  372. if(s == fakeGame)then s=oldGame end
  373. local serv = GetService(oldGame,i)
  374. if serviceFunctions[i] then
  375. return GetService
  376. elseif(serv)then
  377. return serv
  378. else
  379. return s[i]
  380. end
  381. end
  382. getmetatable(fakeGame).__newindex = function(s,i,v)
  383. if(s == fakeGame)then s=oldGame end
  384. s[i]=v
  385. end
  386. getmetatable(fakeGame).__call=function(self,...)
  387. if(self == fakeGame)then self = oldGame end
  388. local wh = {...}
  389. local name = table.remove(wh,1)
  390. for i,v in next, wh do
  391. if(v == fakeGame)then v = oldGame end
  392. wh[i]=v
  393. end
  394. if serviceFunctions[name] then
  395. return GetService(self,unpack(wh))
  396. else
  397. return self(name,unpack(wh))
  398. end
  399. end
  400. getmetatable(fakeGame). __namecall=function(self,...)
  401. if(self == fakeGame)then self = oldGame end
  402. local tuple={...}
  403. local name = table.remove(tuple,#tuple)
  404.  
  405. local funcToCall=self[name]
  406.  
  407. if serviceFunctions[name] then
  408. return GetService(self,unpack(tuple))
  409. else
  410. return self[name](self,unpack(tuple))
  411. end
  412. end
  413. getmetatable(fakeGame).__metatable = 'gay'
  414.  
  415. coroutine.wrap(function()
  416. while true do
  417. Run:TrigEvent('RenderStepped')
  418. swait()
  419. end
  420. end)()
  421. game=fakeGame
  422. UserInputService,ContextActionService = UsIS,CoAS
  423. end
  424.  
  425.  
  426.  
  427.  
  428. --[[local egui = script:WaitForChild'ETHGUI':Clone();
  429. egui.Parent=game:GetService("Players").inessaG:FindFirstChildOfClass'PlayerGui'
  430.  
  431. local main = egui:WaitForChild'Main'
  432. local info = main:WaitForChild'InfoBG':WaitForChild'Info':WaitForChild'Text'
  433. local use = main:WaitForChild'Play':WaitForChild'Button'
  434. info.Text=[[
  435. Credit to Lunnekoo for StarGlitcher.
  436.  
  437. CASSIDY, THE ETHEREAL GLITCHER.
  438. PROTECTOR OF SOULS.
  439.  
  440. DEVELOPERS:
  441. mikel (SpectrumEeveez) -- LEAD DEV / OWNER
  442. wanTH092 (Filano) -- LEAD DEV / CO-OWNER
  443. KrYn0MoRe(AlmightyToast) -- CORE DEV (rip toasty he'll be missed)
  444. DerpzDeNugget_YT -- Associated Dev
  445. KillerzTH -- Associated Dev
  446. Nebula_Zorua(aka mikel11114) -- SEMI-MAIN DEV
  447. Salvo_Starly(aka Blazey) -- GUI/SEMI-MAIN DEV
  448. UnfairGaming1(Very) -- Associated Dev
  449. RoStrap Devs -- Ripple effect
  450.  
  451. CHANGELOGS:
  452. KEEP THE CHANGELOGS OF PAST 3 UPDATES.
  453. + : ADDED FEATURE
  454. - : REMOVED FEATURE
  455. * : CHANGE
  456. # : FIXES
  457. / : NOTES
  458. --------------------------
  459. mikel11114:
  460. * New Antecedent wings
  461.  
  462. / Check if your camshake is too shakey now or not.
  463. --------------------------
  464. SALVO_STARLY:
  465. + Added new boss chatfunc. Press H to show.
  466. * Make delaying time longer on showdamage.
  467. # Fixed RecolorThing(pcall)
  468. --------------------------
  469. mikel11114:
  470. * Updated EQUILIBRIUM's idle a bit
  471. * Updated the camshake.
  472. * Updated wings. Same base, just slightly different.
  473. - Removed COMMOTIAUS's X.
  474. * Removed un-needed code and coroutines
  475. * Nerfed Cursed Slash
  476.  
  477. / Check if your camshake is too shakey now or not.
  478.  
  479.  
  480.  
  481. local clickedButton=false;
  482. local hovering=false
  483.  
  484. if(game:service'RunService':IsClient())then
  485. local libraries={}
  486.  
  487. for _,v in next, script:WaitForChild'Libraries':children() do
  488. shared[v.Name:lower()]=v;
  489. end
  490.  
  491. local pseudo=require(shared.pseudoinstance)
  492. local rippl=pseudo.new'Rippler'
  493. rippl.RippleTransparency = 0.3
  494. rippl.Parent = use
  495. main:TweenPosition(UDim2.new(.165,0,.288,0),Enum.EasingDirection.Out,Enum.EasingStyle.Back,2)
  496.  
  497. use.InputBegan:connect(function(io)
  498. if(io.UserInputType==Enum.UserInputType.MouseButton1)then
  499. rippl:Down(io.Position.X,io.Position.Y)
  500. elseif(io.UserInputType==Enum.UserInputType.MouseMovement)then
  501. hovering=true
  502. use.Size=UDim2.new(1,0,1,0)
  503. use.Position=UDim2.new(0,0,0,0)
  504. use.BackgroundColor3 = Color3.fromRGB(0,200,0)
  505. end
  506. end)
  507.  
  508. use.InputEnded:connect(function(io)
  509. rippl:Up()
  510. if(io.UserInputType==Enum.UserInputType.MouseButton1 and hovering)then clickedButton=true end
  511. if(io.UserInputType==Enum.UserInputType.MouseMovement)then
  512. hovering=false
  513. use.Size=UDim2.new(.973,0,1,0)
  514. use.Position=UDim2.new(0.027,0,0,0)
  515. use.BackgroundColor3 = Color3.fromRGB(0,255,0)
  516. end
  517. end)
  518.  
  519. repeat
  520. wait()
  521. pcall(function() main.Title.Rotation=math.rad(45*math.sin(time()*2)) end)
  522. local hue = (time()%360)*30
  523. if(hue/360 >= 1)then
  524. hue = hue - math.floor(hue/360)*360
  525. end
  526. pcall(function() main.Title.TextColor3 = Color3.fromHSV(hue/360,1,1) end)
  527. until clickedButton
  528. main:TweenPosition(UDim2.new(1,0,.288,0),Enum.EasingDirection.In,Enum.EasingStyle.Back,1,true,function()
  529. egui:destroy()
  530. end)
  531. else
  532. local rem = Instance.new("RemoteEvent")
  533. rem.Name = "Clickie"
  534. rem.OnServerEvent:connect(function(plr)
  535. if(plr.Name==game:service'Players'.inessaG.Name)then
  536. print'fired'
  537. clickedButton=true
  538. rem:destroy()
  539. game:service'Debris':AddItem(egui,3)
  540. end
  541. end)
  542. script:WaitForChild'Libraries'.Parent = egui
  543. rem.Parent=egui
  544. egui:WaitForChild'EthGUICode'.Disabled=false
  545. repeat wait() print(clickedButton) until clickedButton
  546. end]]
  547.  
  548.  
  549.  
  550. NewInstance = function(instance,parent,properties)
  551. local inst = Instance.new(instance)
  552. inst.Parent = parent
  553. if(properties)then
  554. for i,v in next, properties do
  555. pcall(function() inst[i] = v end)
  556. end
  557. end
  558. return inst;
  559. end
  560. -- Script --
  561.  
  562. plr = game:GetService("Players").inessaG
  563. Player = plr
  564. char = plr.Character
  565. hum = char.Humanoid
  566. mouse = plr:GetMouse()
  567. local cam = game.Workspace.CurrentCamera
  568. Camera = cam
  569. local CamInterrupt = false
  570. local TwoD = false
  571. local TargetInfo = {nil, nil}
  572. cam.CameraType = "Custom"
  573. t = char.Torso
  574. h = char.Head
  575. ra = char["Right Arm"]
  576. la = char["Left Arm"]
  577. rl = char["Right Leg"]
  578. ll = char["Left Leg"]
  579. tors = char.Torso
  580. lleg = char["Left Leg"]
  581. root = char.HumanoidRootPart
  582. hed = char.Head
  583. rleg = char["Right Leg"]
  584. rarm = char["Right Arm"]
  585. larm = char["Left Arm"]
  586. radian = math.rad
  587. random = math.random
  588. Vec3 = Vector3.new
  589. Inst = Instance.new
  590. cFrame = CFrame.new
  591. Euler = CFrame.fromEulerAnglesXYZ
  592. vt = Vector3.new
  593. bc = BrickColor.new
  594. br = BrickColor.random
  595. it = Instance.new
  596. cf = CFrame.new
  597. local Player_Size = 0
  598. cam = game.Workspace.CurrentCamera
  599. CF = CFrame.new
  600. angles = CFrame.Angles
  601. attack = false
  602. Euler = CFrame.fromEulerAnglesXYZ
  603. Rad = math.rad
  604. IT = Instance.new
  605. BrickC = BrickColor.new
  606. Cos = math.cos
  607. Acos = math.acos
  608. Sin = math.sin
  609. Asin = math.asin
  610. Abs = math.abs
  611. Mrandom = math.random
  612. Floor = math.floor
  613. IT = Instance.new
  614. CF = CFrame.new
  615. VT = Vector3.new
  616. RAD = math.rad
  617. C3 = Color3.new
  618. UD2 = UDim2.new
  619. BRICKC = BrickColor.new
  620. ANGLES = CFrame.Angles
  621. EULER = CFrame.fromEulerAnglesXYZ
  622. COS = math.cos
  623. ACOS = math.acos
  624. SIN = math.sin
  625. ASIN = math.asin
  626. ABS = math.abs
  627. MRANDOM = math.random
  628. FLOOR = math.floor
  629. local SINE = 0
  630. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  631. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  632. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  633. local ModeOfGlitch = 1
  634. CF = CFrame.new
  635. local hed = char.Head
  636. local root = char.HumanoidRootPart
  637. local rootj = root.RootJoint
  638. local tors = char.Torso
  639. Player_Size = 1
  640. Cos = math.cos
  641. Sin = math.sin
  642. Rad = math.rad
  643. CF = CFrame.new
  644. local DoDamage = true
  645. local FlyingTypes = false
  646. local visWings={0,0,0,0,0,0}
  647.  
  648. local Booleans = {
  649. CamFollow = true,
  650. GyroUse = true
  651. }
  652.  
  653. function lerp(object, newCFrame, alpha)
  654. return object:lerp(newCFrame, alpha)
  655. end
  656.  
  657. local Directer = Inst("BodyGyro", root)
  658. Directer.MaxTorque = Vec3(0, 0, 0)
  659. Directer.P = 600000
  660. local CPart = Inst("Part")
  661. CPart.Anchored = true
  662. CPart.CanCollide = false
  663. CPart.Locked = true
  664. CPart.Transparency = 1
  665.  
  666.  
  667.  
  668. local CRAZED = false
  669. local rainbowmode = false
  670. local chaosmode = false
  671. local Error = false
  672. local unstablemode = false
  673. local MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  674. local SECONDRUINCOLOR = BrickColor.new("Pastel blue-green")
  675.  
  676. local cp="2071274388"
  677. local kan = Instance.new("Sound",Torso)
  678. kan.Volume = 1.25
  679. kan.TimePosition = 0
  680. kan.PlaybackSpeed = 1
  681. kan.Pitch = 1
  682. kan.SoundId = "rbxassetid://2071274388"
  683. kan.Name = "wrecked"
  684. kan.Looped = true
  685. kan:Play()
  686.  
  687. local currentThemePlaying = kan.SoundId
  688. local currentPitch = kan.Pitch
  689. local currentVol = kan.Volume
  690. function newTheme(ID,timepos,pitch,vol)
  691. local kanz = kan
  692. --kanz:Stop()
  693. kanz.Volume = vol
  694. --kanz.TimePosition = timepos
  695. kanz.PlaybackSpeed = pitch
  696. kanz.Pitch = pitch
  697. kanz.SoundId = ID
  698. kanz.Name = "wrecked"
  699. kanz.Looped = true
  700. currentThemePlaying = kanz.SoundId
  701. currentVol = kanz.Volume
  702. currentPitch = kanz.Pitch
  703. end
  704.  
  705.  
  706. function newThemeCust(ID,timepos,pitch,vol)
  707. local kanz = kan
  708. kanz:Stop()
  709. kanz.Volume = vol
  710. kanz.TimePosition = timepos
  711. kanz.PlaybackSpeed = pitch
  712. kanz.Pitch = pitch
  713. kanz.SoundId = ID
  714. kanz.Name = "wrecked"
  715. kanz.Looped = true
  716. currentThemePlaying = kanz.SoundId
  717. currentVol = kanz.Volume
  718. currentPitch = kanz.Pitch
  719. kanz:Play()
  720. end
  721.  
  722. local mutedtog = false
  723.  
  724. ArtificialHB = Instance.new("BindableEvent", script)
  725. ArtificialHB.Name = "ArtificialHB"
  726.  
  727. script:WaitForChild("ArtificialHB")
  728. Frame_Speed = 1 / 60
  729. frame = Frame_Speed
  730. tf = 0
  731. allowframeloss = false
  732. tossremainder = false
  733. lastframe = tick()
  734. script.ArtificialHB:Fire()
  735.  
  736. game:GetService("RunService").Heartbeat:connect(function(s, p)
  737. tf = tf + s
  738. if tf >= frame then
  739. if allowframeloss then
  740. script.ArtificialHB:Fire()
  741. lastframe = tick()
  742. else
  743. for i = 1, math.floor(tf / frame) do
  744. script.ArtificialHB:Fire()
  745. end
  746. lastframe = tick()
  747. end
  748. if tossremainder then
  749. tf = 0
  750. else
  751. tf = tf - frame * math.floor(tf / frame)
  752. end
  753. end
  754. end)
  755.  
  756. ------------------
  757. function swait(num)
  758. if num == 0 or num == nil then
  759. ArtificialHB.Event:wait()
  760. else
  761. for i = 1, num do
  762. ArtificialHB.Event:wait()
  763. end
  764. end
  765. end
  766.  
  767. 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})
  768.  
  769. --// Require stuff \\--
  770. FXFolder=script.Effects
  771. function CamShake(who,data)
  772. coroutine.wrap(function()
  773. if(FXFolder:FindFirstChild'CamShake')then
  774. local cam = FXFolder.CamShake:Clone()
  775. cam:WaitForChild'intensity'.Value = data.Intensity or 5
  776. cam:WaitForChild'duration'.Value = data.Duration or 5
  777. cam:WaitForChild'speed'.Value = data.Speed or 10;
  778. 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
  779. cam:WaitForChild'rot'.Value = data.Rotation or Vector3.new(1,1,5)
  780. cam:WaitForChild'pos'.Value = data.Position or Vector3.new(.5,.5,.5)
  781. cam:WaitForChild'startdist'.Value = data.DropDist or 25;
  782. cam:WaitForChild'enddist'.Value = data.IneffectiveDist or 150;
  783.  
  784. cam.Parent = who
  785. wait()
  786. cam.Disabled = false
  787. end
  788. end)()
  789. end
  790.  
  791. function CamShakeAll(data)
  792. for _,v in next, game:service'Players':players() do
  793. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,data)
  794. end
  795. end
  796.  
  797.  
  798. local toggleTag = true
  799. local bilguit = Instance.new("BillboardGui", hed)
  800. bilguit.Adornee = nil
  801. bilguit.Name = "ModeName"
  802. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  803. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  804. local modet = Instance.new("TextLabel", bilguit)
  805. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  806. modet.FontSize = "Size8"
  807. modet.TextScaled = true
  808. modet.TextTransparency = 0
  809. modet.BackgroundTransparency = 1
  810. modet.TextTransparency = 0
  811. modet.TextStrokeTransparency = 0
  812. modet.Font = "Antique"
  813. modet.TextStrokeColor3 = Color3.new(1,0,0)
  814. modet.TextColor3 = Color3.new(0.25,0,0)
  815. modet.Text = "COMMOTIAUS"
  816.  
  817.  
  818. function chatfunc(text,color,typet,font,timeex)
  819. local chat = coroutine.wrap(function()
  820. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  821. Character:FindFirstChild("TalkingBillBoard"):destroy()
  822. end
  823. local naeeym2 = Instance.new("BillboardGui",Character)
  824. naeeym2.Size = UDim2.new(0,100,0,40)
  825. naeeym2.StudsOffset = Vector3.new(0,3,0)
  826. naeeym2.Adornee = Character.Head
  827. naeeym2.Name = "TalkingBillBoard"
  828. local tecks2 = Instance.new("TextLabel",naeeym2)
  829. tecks2.BackgroundTransparency = 1
  830. tecks2.BorderSizePixel = 0
  831. tecks2.Text = ""
  832. tecks2.Font = font
  833. tecks2.TextSize = 30
  834. tecks2.TextStrokeTransparency = 0
  835. tecks2.TextColor3 = color
  836. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  837. tecks2.Size = UDim2.new(1,0,0.5,0)
  838. local tecks3 = Instance.new("TextLabel",naeeym2)
  839. tecks3.BackgroundTransparency = 1
  840. tecks3.BorderSizePixel = 0
  841. tecks3.Text = ""
  842. tecks3.Font = font
  843. tecks3.TextSize = 30
  844. tecks3.TextStrokeTransparency = 0
  845. if typet == "Inverted" then
  846. tecks3.TextColor3 = Color3.new(0,0,0)
  847. tecks3.TextStrokeColor3 = color
  848. elseif typet == "Normal" then
  849. tecks3.TextColor3 = color
  850. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  851. end
  852. tecks3.Size = UDim2.new(1,0,0.5,0)
  853. modet.TextTransparency = modet.TextTransparency + 1
  854. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  855. for i = 0, 74*timeex do
  856. swait()
  857. modet.TextTransparency = 1
  858. modet.TextStrokeTransparency = 1
  859. tecks2.Text = text
  860. tecks3.Text = text
  861. end
  862. local randomrot = math.random(1,2)
  863. if randomrot == 1 then
  864. for i = 1, 50 do
  865. swait()
  866. tecks2.Text = text
  867. tecks3.Text = text
  868. modet.TextTransparency = modet.TextTransparency - .02
  869. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  870. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  871. tecks2.TextTransparency = tecks2.TextTransparency + .04
  872. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  873. tecks3.TextTransparency = tecks2.TextTransparency + .04
  874. end
  875. elseif randomrot == 2 then
  876. for i = 1, 50 do
  877. swait()
  878. tecks2.Text = text
  879. tecks3.Text = text
  880. modet.TextTransparency = modet.TextTransparency - .02
  881. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  882. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  883. tecks2.TextTransparency = tecks2.TextTransparency + .04
  884. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  885. tecks3.TextTransparency = tecks2.TextTransparency + .04
  886. end
  887. end
  888. modet.TextTransparency = 0
  889. modet.TextStrokeTransparency = 0
  890. if toggleTag == false then
  891. modet.TextTransparency = 1
  892. modet.TextStrokeTransparency = 1
  893. end
  894. naeeym2:Destroy()
  895. end)
  896. chat()
  897. end
  898.  
  899. local rai = {"USER","User","USer","USEr","uSER","usER","useR","uSer","usEr","useR","PlAyEr","666"}
  900.  
  901. function bosschatfunc(text,color,watval)
  902. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  903. coroutine.resume(coroutine.create(function()
  904. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  905. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  906. end
  907. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  908. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  909. scrg.Name = "Dialog"
  910. local txtlb = Instance.new("TextLabel",scrg)
  911. txtlb.Text = ""
  912. txtlb.Font = "Arcade"
  913. txtlb.TextColor3 = Color3.new(0,0,0)
  914. txtlb.TextStrokeTransparency = 0
  915. txtlb.BackgroundTransparency = 0.75
  916. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  917. txtlb.TextStrokeColor3 = color
  918. txtlb.TextScaled = true
  919. txtlb.Size = UDim2.new(1,0,0.25,0)
  920. txtlb.TextXAlignment = "Left"
  921. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  922. local txtlb2 = Instance.new("TextLabel",scrg)
  923. txtlb2.Text = modet.Text.." USER:"
  924. txtlb2.Font = "Arcade"
  925. txtlb2.TextColor3 = Color3.new(0,0,0)
  926. txtlb2.TextStrokeTransparency = 0
  927. txtlb2.BackgroundTransparency = 1
  928. txtlb2.TextStrokeColor3 = color
  929. txtlb2.TextSize = 40
  930. txtlb2.Size = UDim2.new(1,0,0.25,0)
  931. txtlb2.TextXAlignment = "Left"
  932. txtlb2.Position = UDim2.new(0,0,1,0)
  933. local fvalen = 0.55
  934. local fval = -0.49
  935. local flol = 1.75
  936. local flil = 1.6
  937. for i = 0, 9 do
  938. swait()
  939. fval = fval + 0.05
  940. flol = flol - 0.1
  941. flil = flil - 0.1
  942. txtlb.Text = ""
  943. txtlb.Position = UDim2.new(0,0,flol,0)
  944. txtlb2.Position = UDim2.new(0,0,flil,0)
  945. end
  946. txtlb.Text = text
  947. wait(watval)
  948. local valinc = 0
  949. for i = 0, 99 do
  950. swait()
  951. valinc = valinc + 0.0001
  952. flol = flol + valinc
  953. flil = flil + valinc
  954. txtlb.Rotation = txtlb.Rotation + valinc*20
  955. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  956. txtlb.Position = UDim2.new(0,0,flol,0)
  957. txtlb2.Position = UDim2.new(0,0,flil,0)
  958. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  959. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  960. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  961. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  962. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  963. end
  964. scrg:Destroy()
  965. end))
  966. end
  967. end
  968.  
  969. --[[
  970. function CamShake(who,data)
  971. coroutine.wrap(function()
  972. if(FXFolder:FindFirstChild'CamShake')then
  973. local cam = FXFolder.CamShake:Clone()
  974. cam:WaitForChild'intensity'.Value = data.Intensity or 5
  975. cam:WaitForChild'duration'.Value = data.Duration or 5
  976. cam:WaitForChild'speed'.Value = data.Speed or 10;
  977. 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
  978. cam:WaitForChild'rot'.Value = data.Rotation or Vector3.new(1,1,5)
  979. cam:WaitForChild'pos'.Value = data.Position or Vector3.new(.5,.5,.5)
  980. cam:WaitForChild'startdist'.Value = data.DropDist or 25;
  981. cam:WaitForChild'enddist'.Value = data.IneffectiveDist or 150;
  982.  
  983. cam.Parent = who
  984. wait()
  985. cam.Disabled = false
  986. end
  987. end)()
  988. end
  989.  
  990. function CamShakeAll(data)
  991. for _,v in next, game:service'Players':players() do
  992. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,data)
  993. end
  994. end
  995. --]]
  996. function newbosschatfunc(text,color1,color2,delay)
  997. for _,v in next, game:service'Players':players() do
  998. coroutine.wrap(function()
  999. if(FXFolder:FindFirstChild'BossChat' and v.Character)then
  1000. local cha = FXFolder.BossChat:Clone()
  1001. cha.Color1.Value=color1
  1002. cha.Color2.Value=color2
  1003. cha.Text.Value=text
  1004. cha.Ghghghghgh.Value=delay
  1005. cha.Mode.Value=ModeOfGlitch
  1006. cha.ModeName.Value=modet.Text
  1007. cha.Music.Value=kan
  1008. cha.Parent=v.Character
  1009. wait()
  1010. cha.Disabled = false
  1011. game:service'Debris':AddItem(cha,(delay/60)*4)
  1012. end
  1013. end)()
  1014. end
  1015. end
  1016. local Create = LoadLibrary("RbxUtility").Create
  1017.  
  1018. CFuncs = {
  1019. ["Part"] = {
  1020. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1021. local Part = Create("Part"){
  1022. Parent = Parent,
  1023. Reflectance = Reflectance,
  1024. Transparency = Transparency,
  1025. CanCollide = false,
  1026. Locked = true,
  1027. BrickColor = BrickColor.new(tostring(BColor)),
  1028. Name = Name,
  1029. Size = Size,
  1030. Material = Material,
  1031. }
  1032. RemoveOutlines(Part)
  1033. return Part
  1034. end;
  1035. };
  1036.  
  1037. ["Mesh"] = {
  1038. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1039. local Msh = Create(Mesh){
  1040. Parent = Part,
  1041. Offset = OffSet,
  1042. Scale = Scale,
  1043. }
  1044. if Mesh == "SpecialMesh" then
  1045. Msh.MeshType = MeshType
  1046. Msh.MeshId = MeshId
  1047. end
  1048. return Msh
  1049. end;
  1050. };
  1051.  
  1052. ["Mesh"] = {
  1053. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1054. local Msh = Create(Mesh){
  1055. Parent = Part,
  1056. Offset = OffSet,
  1057. Scale = Scale,
  1058. }
  1059. if Mesh == "SpecialMesh" then
  1060. Msh.MeshType = MeshType
  1061. Msh.MeshId = MeshId
  1062. end
  1063. return Msh
  1064. end;
  1065. };
  1066.  
  1067. ["Weld"] = {
  1068. Create = function(Parent, Part0, Part1, C0, C1)
  1069. local Weld = Create("Weld"){
  1070. Parent = Parent,
  1071. Part0 = Part0,
  1072. Part1 = Part1,
  1073. C0 = C0,
  1074. C1 = C1,
  1075. }
  1076. return Weld
  1077. end;
  1078. };
  1079.  
  1080. ["Sound"] = {
  1081. Create = function(id, par, vol, pit)
  1082. local S = Create("Sound"){
  1083. Volume = vol,
  1084. Name = "EffectSoundo",
  1085. Pitch = pit or 1,
  1086. SoundId = id,
  1087. Parent = par or workspace,
  1088. }
  1089. S:play()
  1090. game:GetService("Debris"):AddItem(S, 10)
  1091. end;
  1092. };
  1093.  
  1094. ["TimeSound"] = {
  1095. Create = function(id, par, vol, pit, timepos)
  1096. local S = Create("Sound"){
  1097. Volume = vol,
  1098. Name = "EffectSoundo",
  1099. Pitch = pit or 1,
  1100. SoundId = id,
  1101. TimePosition = timepos,
  1102. Parent = par or workspace,
  1103. }
  1104. wait()
  1105. S:play()
  1106. game:GetService("Debris"):AddItem(S, 10)
  1107. end;
  1108. };
  1109. ["EchoSound"] = {
  1110. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  1111. local Sas = Create("Sound"){
  1112. Volume = vol,
  1113. Name = "EffectSoundo",
  1114. Pitch = pit or 1,
  1115. SoundId = id,
  1116. TimePosition = timepos,
  1117. Parent = par or workspace,
  1118. }
  1119. local E = Create("EchoSoundEffect"){
  1120. Delay = echodelay,
  1121. Name = "Echo",
  1122. Feedback = fedb,
  1123. DryLevel = dryl,
  1124. Parent = Sas,
  1125. }
  1126. wait()
  1127. Sas:play()
  1128. game:GetService("Debris"):AddItem(Sas, delays)
  1129. end;
  1130. };
  1131.  
  1132. ["LongSound"] = {
  1133. Create = function(id, par, vol, pit)
  1134. local S = Create("Sound"){
  1135. Volume = vol,
  1136. Pitch = pit or 1,
  1137. SoundId = id,
  1138. Parent = par or workspace,
  1139. }
  1140. wait()
  1141. S:play()
  1142. game:GetService("Debris"):AddItem(S, 60)
  1143. end;
  1144. };
  1145.  
  1146. ["ParticleEmitter"] = {
  1147. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1148. local fp = Create("ParticleEmitter"){
  1149. Parent = Parent,
  1150. Color = ColorSequence.new(Color1, Color2),
  1151. LightEmission = LightEmission,
  1152. Size = Size,
  1153. Texture = Texture,
  1154. Transparency = Transparency,
  1155. ZOffset = ZOffset,
  1156. Acceleration = Accel,
  1157. Drag = Drag,
  1158. LockedToPart = LockedToPart,
  1159. VelocityInheritance = VelocityInheritance,
  1160. EmissionDirection = EmissionDirection,
  1161. Enabled = Enabled,
  1162. Lifetime = LifeTime,
  1163. Rate = Rate,
  1164. Rotation = Rotation,
  1165. RotSpeed = RotSpeed,
  1166. Speed = Speed,
  1167. VelocitySpread = VelocitySpread,
  1168. }
  1169. return fp
  1170. end;
  1171. };
  1172.  
  1173. CreateTemplate = {
  1174.  
  1175. };
  1176. }
  1177.  
  1178.  
  1179.  
  1180. New = function(Object, Parent, Name, Data)
  1181. local Object = Instance.new(Object)
  1182. for Index, Value in pairs(Data or {}) do
  1183. Object[Index] = Value
  1184. end
  1185. Object.Parent = Parent
  1186. Object.Name = Name
  1187. return Object
  1188. end
  1189. local halocolor = BrickColor.new("Pastel light blue")
  1190. local halocolor2 = BrickColor.new("Cool yellow")
  1191. local starcolor = BrickColor.new("Bright yellow")
  1192. local lunacolor = BrickColor.new("Navy blue")
  1193. local lunacolor2 = BrickColor.new("Bright blue")
  1194. local wepcolor = BrickColor.new("Really black")
  1195. local maincolor = BrickColor.new("Really black")
  1196. local m = Instance.new("Model",char)
  1197. local m2 = Instance.new("Model",char)
  1198. local m3 = Instance.new("Model",char)
  1199. local mw1 = Instance.new("Model",char)
  1200. local mw2 = Instance.new("Model",char)
  1201. local mwN = Instance.new("Model",char)
  1202. local mwY = Instance.new("Model",char)
  1203.  
  1204. local est = {"error","Errors","eRror","erRor","errOr","erroR","ERror","ErRor","ErrOr","ErroR","eRRor","eRrOr","eRroR","erROr","erRoR","errOR","ERROR"}
  1205.  
  1206.  
  1207.  
  1208. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  1209. local gui = it(GuiType)
  1210. gui.Parent = parent
  1211. gui.Text = text
  1212. gui.BackgroundTransparency = backtrans
  1213. gui.BackgroundColor3 = backcol
  1214. gui.SizeConstraint = "RelativeXY"
  1215. gui.TextXAlignment = "Center"
  1216. gui.TextYAlignment = "Center"
  1217. gui.Position = pos
  1218. gui.Size = size
  1219. gui.Font = "SourceSans"
  1220. gui.FontSize = "Size14"
  1221. gui.TextWrapped = false
  1222. gui.TextStrokeTransparency = 0
  1223. gui.TextColor = BrickColor.new("White")
  1224. return gui
  1225. end
  1226. --------------------------- GUI STUFF
  1227. local basgui = it("GuiMain")
  1228. basgui.Parent = plr.PlayerGui
  1229. basgui.Name = "VISgui"
  1230. local fullscreenz = it("Frame")
  1231. fullscreenz.Parent = basgui
  1232. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  1233. fullscreenz.BackgroundTransparency = .5
  1234. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  1235. fullscreenz.AnchorPoint=Vector2.new(1,.5)
  1236. fullscreenz.Size = UDim2.new(.2, 0, 1.2, 0)
  1237. fullscreenz.Position = UDim2.new(1.01, 0, .5, 0)
  1238. fullscreenz.BorderSizePixel=12
  1239. fullscreenz.ZIndex=2
  1240. local fullscreenz2 = it("Frame")
  1241. fullscreenz2.Parent = fullscreenz
  1242. fullscreenz2.BackgroundTransparency = 1
  1243. fullscreenz2.AnchorPoint=Vector2.new(.5,.5)
  1244. fullscreenz2.Size = UDim2.new(1, 0, 1, 0)
  1245. fullscreenz2.Position = UDim2.new(.5, 0, .5, 0)
  1246. fullscreenz2.ClipsDescendants=true
  1247.  
  1248. local hh1 = it("Frame")
  1249. hh1.Parent = fullscreenz
  1250. hh1.BackgroundColor3 = Color3.new(255, 255, 255)
  1251. hh1.BackgroundTransparency = .5
  1252. hh1.BorderColor3 = Color3.new(17, 17, 17)
  1253. hh1.AnchorPoint=Vector2.new(.5,.5)
  1254. hh1.Size = UDim2.new(.04, 0, 1.2, 0)
  1255. hh1.Position = UDim2.new(-.1, 0, .5, 0)
  1256. hh1.BorderSizePixel=0
  1257. hh1.ZIndex=4
  1258.  
  1259.  
  1260. local hh2 = it("Frame")
  1261. hh2.Parent = fullscreenz
  1262. hh2.BackgroundColor3 = Color3.new(255, 255, 255)
  1263. hh2.BackgroundTransparency = .5
  1264. hh2.BorderColor3 = Color3.new(17, 17, 17)
  1265. hh2.AnchorPoint=Vector2.new(.5,.5)
  1266. hh2.Size = UDim2.new(.025, 0, 1.2, 0)
  1267. hh2.Position = UDim2.new(-.14, 0, .5, 0)
  1268. hh2.BorderSizePixel=0
  1269. hh2.ZIndex=4
  1270.  
  1271.  
  1272. local hh3 = it("Frame")
  1273. hh3.Parent = fullscreenz
  1274. hh3.BackgroundColor3 = Color3.new(255, 255, 255)
  1275. hh3.BackgroundTransparency = .5
  1276. hh3.BorderColor3 = Color3.new(17, 17, 17)
  1277. hh3.AnchorPoint=Vector2.new(.5,.5)
  1278. hh3.Size = UDim2.new(.01, 0, 1.2, 0)
  1279. hh3.Position = UDim2.new(-.16, 0, .5, 0)
  1280. hh3.BorderSizePixel=0
  1281. hh3.ZIndex=4
  1282.  
  1283.  
  1284. local vis1 = it("Frame")
  1285. vis1.Parent = fullscreenz2
  1286. vis1.BackgroundColor3 = Color3.new(255, 255, 255)
  1287. vis1.BackgroundTransparency = .5
  1288. vis1.BorderColor3 = Color3.new(17, 17, 17)
  1289. vis1.AnchorPoint=Vector2.new(.5,1)
  1290. vis1.Size = UDim2.new(.1, 0, 1, 0)
  1291. vis1.Position = UDim2.new(.93, 0, 1, 0)
  1292. vis1.BorderSizePixel=0
  1293. vis1.ZIndex=2
  1294. local vis2=vis1:Clone()
  1295. vis2.Parent = fullscreenz2
  1296. vis2.Size = UDim2.new(.07, 0, 1, 0)
  1297. vis2.Position = UDim2.new(.81, 0, 1, 0)
  1298.  
  1299. local vis3=vis1:Clone()
  1300. vis3.Parent = fullscreenz2
  1301. vis3.Size = UDim2.new(.045, 0, 1, 0)
  1302. vis3.Position = UDim2.new(.74, 0, 1, 0)
  1303.  
  1304. local vis4=vis1:Clone()
  1305. vis4.Parent = fullscreenz2
  1306. vis4.Size = UDim2.new(.03, 0, 1, 0)
  1307. vis4.Position = UDim2.new(.69, 0, 1, 0)
  1308.  
  1309. local vis5=vis1:Clone()
  1310. vis5.Parent = fullscreenz2
  1311. vis5.Size = UDim2.new(.012, 0, 1, 0)
  1312. vis5.Position = UDim2.new(.65, 0, 1, 0)
  1313.  
  1314. --fullscreenz
  1315. local nedf = it("TextLabel",fullscreenz)
  1316. nedf.AnchorPoint=Vector2.new(1,1)
  1317. nedf.Font = "Arcade"
  1318. nedf.BackgroundTransparency = 1
  1319. nedf.BorderSizePixel = 0.65
  1320. nedf.Size = UDim2.new(1,0,.2,0)
  1321. nedf.Position = UDim2.new(.9,0,0.95,0)
  1322. nedf.TextColor3 = Color3.new(0,0,0)
  1323. nedf.TextStrokeColor3 = Color3.new(0,0,0)
  1324. nedf.TextScaled = true
  1325. nedf.TextStrokeTransparency = 0
  1326. nedf.Text = "ETHEREAL GLITCHER"
  1327. nedf.TextSize = 24
  1328. nedf.ZIndex=101
  1329.  
  1330.  
  1331. function ggg()
  1332. local afa = it("ImageLabel",fullscreenz2)
  1333. afa.BackgroundTransparency = 1
  1334. afa.BorderSizePixel = 0
  1335. afa.AnchorPoint=Vector2.new(.5,.5)
  1336. afa.Parent = fullscreenz2
  1337. afa.ImageTransparency = 0
  1338. afa.Size = UDim2.new(0,40,0,40)
  1339. local mfmf=math.random(10,90)/100
  1340. afa.Position = UDim2.new(mfmf,0,1.2,0)
  1341. afa.ImageColor3 = MAINRUINCOLOR.Color
  1342. afa.Image = "rbxassetid://2710333451"
  1343. afa.Rotation=math.random(-360,360)
  1344. afa.ZIndex=3
  1345. coroutine.resume(coroutine.create(function(g)
  1346. local kokha=math.random(30,200)/30
  1347. local hh1=math.random(-100,100)/50
  1348. local hh2=math.random(100,400)/22
  1349. for i=0,1.1,kokha/100 do
  1350. swait()
  1351. g.Position = g.Position+UDim2.new(0,hh1,0,-hh2)
  1352. g.ImageTransparency=i
  1353. g.Rotation=g.Rotation+3
  1354. end
  1355. g:Remove()
  1356. end),afa)
  1357. end
  1358.  
  1359. local hhahaha=false
  1360. function nice(teext,h1,h2)
  1361. local ned = it("TextLabel",fullscreenz)
  1362. ned.AnchorPoint=Vector2.new(1,1)
  1363. ned.Font = "Arcade"
  1364. ned.BackgroundTransparency = 1
  1365. ned.BorderSizePixel = 0.65
  1366. ned.Size = UDim2.new(2.2,0,.2,0)
  1367. ned.Position = UDim2.new(1.4,0,0.85,0)
  1368. ned.TextColor3 = h1
  1369. ned.TextStrokeColor3 = h2
  1370. ned.TextScaled = true
  1371. ned.TextStrokeTransparency = 0
  1372. ned.Text = teext
  1373. ned.TextSize = 24
  1374. ned.Rotation = 90
  1375. ned.TextXAlignment = "Right"
  1376. ned.TextYAlignment = "Bottom"
  1377. ned.ZIndex=100
  1378. hhahaha=false
  1379. coroutine.resume(coroutine.create(function()
  1380. swait(3)
  1381. hhahaha=true
  1382. ned:TweenPosition(UDim2.new(1.4-.02* math.sin(SINE/41),0,0.55+.03* math.cos(SINE/42),0), "Out", "Quad", 1,true)
  1383. for i=1.1,0,-.02 do
  1384. swait()
  1385. ned.TextTransparency=i
  1386. ned.TextStrokeTransparency = i
  1387. ned:TweenPosition(UDim2.new(1.4-.02* math.sin(SINE/41),0,0.55+.03* math.cos(SINE/42),0), "Out", "Quad", 1,true)
  1388. if hhahaha==false then
  1389. break
  1390. end
  1391. end
  1392.  
  1393. local hai=0
  1394. local hai2=1
  1395. repeat
  1396. swait()
  1397. ned:TweenPosition(UDim2.new(1.4-.02* math.sin(SINE/41),0,0.55+.03* math.cos(SINE/42),0), "Out", "Quad", 1,true)
  1398. if ModeOfGlitch == 5 then
  1399. ned.TextColor3=Color3.new(math.random(0,255)/255,0,0)
  1400. end
  1401. until hhahaha==false
  1402. ned:TweenPosition(UDim2.new(1.4,0,0.1,0), "In", "Quart", 1,true)
  1403. for i=0,1.1,.02 do
  1404. swait()
  1405. ned.ZIndex=100-100*i
  1406. ned.TextTransparency=i
  1407. ned.TextStrokeTransparency = i
  1408. end
  1409. ned:Remove()
  1410. end))
  1411. end
  1412.  
  1413. local hhahaha2=true
  1414. function nice2(h1,h2)
  1415. local ned = it("TextLabel",fullscreenz)
  1416. ned.AnchorPoint=Vector2.new(1,1)
  1417. ned.Font = "Arcade"
  1418. ned.BackgroundTransparency = 1
  1419. ned.BorderSizePixel = 0.65
  1420. ned.Size = UDim2.new(2.2,0,.1,0)
  1421. ned.Position = UDim2.new(1.9,0,0.88,0)
  1422. ned.TextColor3 = h1
  1423. ned.TextStrokeColor3 = h2
  1424. ned.TextScaled = true
  1425. ned.TextStrokeTransparency = 0
  1426. --ned.Text = teext
  1427. ned.TextSize = 24
  1428. ned.Rotation = 90
  1429. ned.TextXAlignment = "Right"
  1430. ned.TextYAlignment = "Bottom"
  1431. ned.ZIndex=100
  1432. hhahaha2=false
  1433. coroutine.resume(coroutine.create(function()
  1434. swait(3)
  1435. hhahaha2=true
  1436. ned:TweenPosition(UDim2.new(1.9-.02* math.cos(SINE/41),0,0.48+.03* math.sin(SINE/42),0), "Out", "Quad", 1,true)
  1437. for i=1.1,0,-.02 do
  1438. swait()
  1439. ned.TextTransparency=i
  1440. ned.TextStrokeTransparency = i
  1441. ned:TweenPosition(UDim2.new(1.9-.02* math.cos(SINE/41),0,0.48+.03* math.sin(SINE/42),0), "Out", "Quad", 1,true)
  1442. local mps=game:GetService("MarketplaceService"):GetProductInfo(cp, Enum.InfoType.Asset)
  1443. ned.Text=(mps.Name)
  1444. if hhahaha2==false then
  1445. break
  1446. end
  1447. end
  1448.  
  1449. local lastnam=ned.Text
  1450. local hai=0
  1451. local hai2=1
  1452. local lastMode = ModeOfGlitch
  1453. repeat
  1454. ned:TweenPosition(UDim2.new(1.9-.02* math.cos(SINE/41),0,0.48+.03* math.sin(SINE/42),0), "Out", "Quad", 1,true)
  1455. pcall(function() local mps=game:GetService("MarketplaceService"):GetProductInfo(cp, Enum.InfoType.Asset)
  1456. ned.Text=(mps.Name) end)
  1457. if ModeOfGlitch == 5 then
  1458. ned.TextColor3=Color3.new(math.random(0,255)/255,0,0)
  1459. end
  1460.  
  1461. swait()
  1462. lastnam=ned.Text
  1463. until hhahaha2==false
  1464. ned:TweenPosition(UDim2.new(1.9,0,0.08,0), "In", "Quart", 1,true)
  1465. for i=0,1.1,.02 do
  1466. swait()
  1467. ned.Text=lastnam
  1468. ned.ZIndex=100-100*i
  1469. ned.TextTransparency=i
  1470. ned.TextStrokeTransparency = i
  1471. end
  1472. ned:Remove()
  1473. end))
  1474. end
  1475.  
  1476. local extrawingmod1 = Instance.new("Model",char)
  1477. local extrawingmod2 = Instance.new("Model",char)
  1478.  
  1479. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  1480. local p = Instance.new("Part")
  1481. p.TopSurface = 0
  1482. p.BottomSurface = 0
  1483. p.Parent = parent
  1484. p.Size = Vector3.new(0.1,0.1,0.1)
  1485. p.Transparency = transparency
  1486. p.Reflectance = reflectance
  1487. p.CanCollide = false
  1488. p.Locked = true
  1489. p.BrickColor = brickcolor
  1490. p.Material = material
  1491. return p
  1492. end
  1493.  
  1494. function CreateMesh(parent,meshtype,x1,y1,z1)
  1495. local mesh = Instance.new("SpecialMesh",parent)
  1496. mesh.MeshType = meshtype
  1497. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  1498. return mesh
  1499. end
  1500.  
  1501. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  1502. local mesh = Instance.new("SpecialMesh",parent)
  1503. mesh.MeshType = "FileMesh"
  1504. mesh.MeshId = meshid
  1505. mesh.Scale = Vector3.new(x1,y1,z1)
  1506. return mesh
  1507. end
  1508.  
  1509.  
  1510. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  1511. local mesh = Instance.new("SpecialMesh",parent)
  1512. mesh.MeshType = "FileMesh"
  1513. mesh.MeshId = meshid
  1514. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  1515. mesh.Scale = Vector3.new(x1,y1,z1)
  1516. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  1517. return mesh
  1518. end
  1519.  
  1520. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  1521. local weld = Instance.new("Weld")
  1522. weld.Parent = parent
  1523. weld.Part0 = part0
  1524. weld.Part1 = part1
  1525. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  1526. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  1527. return weld
  1528. end
  1529.  
  1530.  
  1531. --------------
  1532. -------------- ground effect
  1533. local cen = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1534. 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))
  1535. local effar = Instance.new("ParticleEmitter",cen)
  1536. effar.Texture = "rbxassetid://2344870656"
  1537. effar.LightEmission = 1
  1538. effar.Color = ColorSequence.new(Color3.new(1,0,0))
  1539. effar.Rate = 50
  1540. effar.Enabled = false
  1541. effar.EmissionDirection = "Front"
  1542. effar.Lifetime = NumberRange.new(1)
  1543. 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)})
  1544. effar.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1545. effar.Speed = NumberRange.new(80,90)
  1546. effar.Acceleration = Vector3.new(0,10,0)
  1547. effar.Drag = 5
  1548. effar.Rotation = NumberRange.new(-500,500)
  1549. effar.SpreadAngle = Vector2.new(0,900)
  1550. effar.RotSpeed = NumberRange.new(-500,500)
  1551.  
  1552. ----
  1553. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1554. 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))
  1555. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1556. 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))
  1557.  
  1558. local handlex = CreateParta(mwN,1,1,"Neon",maincolor)
  1559. CreateMesh(handle,"Brick",0,0,0)
  1560. 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))
  1561. local valuaring = 10
  1562. for i = 0, 49 do
  1563. valuaring = valuaring + 10
  1564. rn = CreateParta(mwY,0,0,"Neon",MAINRUINCOLOR)
  1565. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  1566. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1567. end
  1568.  
  1569. local refec = Instance.new("ParticleEmitter",handlex)
  1570. refec.Texture = "rbxassetid://249270319"
  1571. refec.LightEmission = 0.95
  1572. refec.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  1573. refec.Rate = 50
  1574. refec.Lifetime = NumberRange.new(0.5)
  1575. refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  1576. refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  1577. refec.Speed = NumberRange.new(0,2)
  1578. refec.Drag = 5
  1579. refec.LockedToPart = true
  1580. refec.Rotation = NumberRange.new(-500,500)
  1581. refec.VelocitySpread = 9000
  1582. refec.RotSpeed = NumberRange.new(-500,500)
  1583.  
  1584. local handle = CreateParta(m,1,1,"Neon",MAINRUINCOLOR)
  1585. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1586. 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))
  1587.  
  1588. --"rbxassetid://31727915"
  1589. --Sword
  1590.  
  1591. local sword = script.BloodCurse.BloodCurse:WaitForChild'hitbox'
  1592. for i,v in pairs(script.BloodCurse.BloodCurse:GetChildren()) do
  1593. v.Anchored = false
  1594. end
  1595. w1 = Instance.new("Weld")
  1596. w1.Parent = ra
  1597. w1.Part0 = ra
  1598. w1.Part1 = sword
  1599. w1.C0 = ra.CFrame:Inverse()
  1600. w1.C1 = sword.CFrame:Inverse()
  1601. 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)))
  1602.  
  1603. --Sword2
  1604.  
  1605. local cursedsword = script.CursedSword.CursedSword:WaitForChild'hitbox'
  1606. for i,v in pairs(script.CursedSword.CursedSword:GetChildren()) do
  1607. v.Anchored = false
  1608. end
  1609. w2 = Instance.new("Weld")
  1610. w2.Parent = ra
  1611. w2.Part0 = ra
  1612. w2.Part1 = sword
  1613. w2.C0 = ra.CFrame:Inverse()
  1614. w2.C1 = sword.CFrame:Inverse()
  1615. w2.C0 = CFrame.new(0,-0.4,-3)*CFrame.Angles(RAD(0),RAD(90),RAD(0))*CFrame.Angles(RAD(0),RAD(0),RAD(0))
  1616.  
  1617. --- Left wing.
  1618.  
  1619.  
  1620.  
  1621. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1622. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1623. 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))
  1624.  
  1625. local ae4 = script.E:Clone()
  1626. ae4.Parent = mw1
  1627. ae4.Color = MAINRUINCOLOR.Color
  1628. ae4.Anchored = false
  1629. CreateWeld(ae4,lwing1,ae4,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1630.  
  1631. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1632. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1633. 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))
  1634.  
  1635. local ae5 = script.E:Clone()
  1636. ae5.Parent = mw1
  1637. ae5.Color = MAINRUINCOLOR.Color
  1638. ae5.Anchored = false
  1639. CreateWeld(ae5,lwing2,ae5,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1640.  
  1641. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1642. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1643. 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))
  1644.  
  1645. local ae6 = script.E:Clone()
  1646. ae6.Parent = mw1
  1647. ae6.Color = MAINRUINCOLOR.Color
  1648. ae6.Anchored = false
  1649. CreateWeld(ae6,lwing3,ae6,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1650.  
  1651. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1652. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1653. 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))
  1654.  
  1655. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1656. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1657. CreateWeld(wed,lwing4,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1658. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1659. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1660. CreateWeld(wed,lwing4,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1661. A0 = Instance.new('Attachment',wed)
  1662. A0.Position = vt(0,0.25*2,0.25*2)
  1663. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1664. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1665. CreateWeld(wed,lwing4,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1666. A1 = Instance.new('Attachment',wed)
  1667. A1.Position = vt(0,-0.25*2,-2*2)
  1668. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1669. CreateMesh(wed,"Wedge",0.0*25,3*2,0.5*2)
  1670. CreateWeld(wed,lwing4,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1671.  
  1672. tl4 = Instance.new('Trail',wed)
  1673. tl4.Attachment0 = A1
  1674. tl4.Attachment1 = A0
  1675. tl4.Texture = "rbxassetid://2108945559"
  1676. tl4.LightEmission = 1
  1677. tl4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1678. tl4.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1679. tl4.Lifetime = 0.6
  1680. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1681. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1682. 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))
  1683.  
  1684. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1685. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1686. CreateWeld(wed,lwing5,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1687. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1688. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1689. CreateWeld(wed,lwing5,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1690. A0 = Instance.new('Attachment',wed)
  1691. A0.Position = vt(0,0.25*2,0.25*2)
  1692. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1693. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1694. CreateWeld(wed,lwing5,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1695. A1 = Instance.new('Attachment',wed)
  1696. A1.Position = vt(0,-0.25*2,-2*2)
  1697. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1698. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1699. CreateWeld(wed,lwing5,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1700.  
  1701. tl5 = Instance.new('Trail',wed)
  1702. tl5.Attachment0 = A1
  1703. tl5.Attachment1 = A0
  1704. tl5.Texture = "rbxassetid://2108945559"
  1705. tl5.LightEmission = 1
  1706. tl5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1707. tl5.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1708. tl5.Lifetime = 0.6
  1709. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1710. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1711. 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))
  1712.  
  1713. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1714. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1715. CreateWeld(wed,lwing6,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1716. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1717. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1718. CreateWeld(wed,lwing6,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1719. A0 = Instance.new('Attachment',wed)
  1720. A0.Position = vt(0,0.25*2,0.25*2)
  1721. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1722. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1723. CreateWeld(wed,lwing6,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1724. A1 = Instance.new('Attachment',wed)
  1725. A1.Position = vt(0,-0.25*2,-2*2)
  1726. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1727. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1728. CreateWeld(wed,lwing6,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1729. tl6 = Instance.new('Trail',wed)
  1730. tl6.Attachment0 = A1
  1731. tl6.Attachment1 = A0
  1732. tl6.Texture = "rbxassetid://2108945559"
  1733. tl6.LightEmission = 1
  1734. tl6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1735. tl6.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1736. tl6.Lifetime = 0.6
  1737.  
  1738.  
  1739. tl4.Enabled = false
  1740. tl5.Enabled = false
  1741. tl6.Enabled = false
  1742. -- Right wing.
  1743.  
  1744. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1745. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1746. 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))
  1747.  
  1748. local ae1 = script.E:Clone()
  1749. ae1.Parent = mw2
  1750. ae1.Transparency = 1
  1751. ae1.Anchored = false
  1752. CreateWeld(ae1,rwing1,ae1,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1753.  
  1754. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1755. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1756. 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))
  1757.  
  1758. local ae2 = script.E:Clone()
  1759. ae2.Parent = mw2
  1760. ae2.Transparency = 1
  1761. ae2.Anchored = false
  1762. CreateWeld(ae2,rwing2,ae2,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1763.  
  1764. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1765. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1766. 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))
  1767.  
  1768. local ae3 = script.E:Clone()
  1769. ae3.Parent = mw2
  1770. ae3.Transparency = 1
  1771. ae3.Anchored = false
  1772. CreateWeld(ae3,rwing3,ae3,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1773.  
  1774.  
  1775. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1776. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1777. 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))
  1778.  
  1779. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1780. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1781. CreateWeld(wed,rwing4,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1782. A0 = Instance.new('Attachment',wed)
  1783. A0.Position = vt(0,0.25*2,0.25*2)
  1784. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1785. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1786. CreateWeld(wed,rwing4,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1787. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1788. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1789. CreateWeld(wed,rwing4,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1790. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1791. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1792. CreateWeld(wed,rwing4,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1793. A1 = Instance.new('Attachment',wed)
  1794. A1.Position = vt(0,2,0.25)
  1795.  
  1796. tr4 = Instance.new('Trail',wed)
  1797. tr4.Attachment0 = A1
  1798. tr4.Attachment1 = A0
  1799. tr4.Texture = "rbxassetid://2108945559"
  1800. tr4.LightEmission = 1
  1801. tr4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1802. tr4.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1803. tr4.Lifetime = 0.6
  1804.  
  1805. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1806. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1807. 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))
  1808.  
  1809. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1810. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1811. CreateWeld(wed,rwing5,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1812. A0 = Instance.new('Attachment',wed)
  1813. A0.Position = vt(0,0.25*2,0.25*2)
  1814. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1815. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1816. CreateWeld(wed,rwing5,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1817. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1818. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1819. CreateWeld(wed,rwing5,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1820. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1821. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1822. CreateWeld(wed,rwing5,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1823. A1 = Instance.new('Attachment',wed)
  1824. A1.Position = vt(0,2,0.25)
  1825.  
  1826. tr5 = Instance.new('Trail',wed)
  1827. tr5.Attachment0 = A1
  1828. tr5.Attachment1 = A0
  1829. tr5.Texture = "rbxassetid://2108945559"
  1830. tr5.LightEmission = 1
  1831. tr5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1832. tr5.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1833. tr5.Lifetime = 0.6
  1834.  
  1835. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1836. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1837. 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))
  1838.  
  1839. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1840. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1841. CreateWeld(wed,rwing6,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1842. A0 = Instance.new('Attachment',wed)
  1843. A0.Position = vt(0,0.25*2,0.25*2)
  1844. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1845. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1846. CreateWeld(wed,rwing6,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1847. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1848. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1849. CreateWeld(wed,rwing6,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1850. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1851. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1852. CreateWeld(wed,rwing6,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1853. A1 = Instance.new('Attachment',wed)
  1854. A1.Position = vt(0,2,0.25)
  1855.  
  1856. tr6 = Instance.new('Trail',wed)
  1857. tr6.Attachment0 = A1
  1858. tr6.Attachment1 = A0
  1859. tr6.Texture = "rbxassetid://2108945559"
  1860. tr6.LightEmission = 1
  1861. tr6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1862. tr6.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1863. tr6.Lifetime = 0.6
  1864.  
  1865. ae4.Trail.Enabled=false
  1866. ae5.Trail.Enabled=false
  1867. ae6.Trail.Enabled=false
  1868. tr4.Enabled = false
  1869. tr5.Enabled = false
  1870. tr6.Enabled = false
  1871. ---- HERES THE RING
  1872.  
  1873.  
  1874. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1875. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1876. CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1877. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1878. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1879. CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1880. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1881. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1882. CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1883.  
  1884.  
  1885. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1886. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1887. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1888.  
  1889. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1890. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1891. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1892.  
  1893.  
  1894.  
  1895. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1896. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1897. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1898.  
  1899. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1900. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1901. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1902.  
  1903. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1904. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1905. CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1906.  
  1907. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1908. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1909. CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1910. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1911. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1912. CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1913.  
  1914. --- second ring
  1915.  
  1916. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1917. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1918. CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1919. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1920. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1921. CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1922. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1923. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1924. CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1925.  
  1926. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1927. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1928. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1929.  
  1930. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1931. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1932. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1933.  
  1934.  
  1935.  
  1936. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1937. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1938. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1939.  
  1940. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1941. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1942. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1943.  
  1944. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1945. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1946. CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1947.  
  1948. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1949. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1950. CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1951. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1952. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1953. CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  1954.  
  1955.  
  1956.  
  1957. for i, v in pairs(m:GetChildren()) do
  1958. if v:IsA("Part") then
  1959. v.BrickColor = BrickColor.new("Really black")
  1960. v.Material = "Glass"
  1961. end
  1962. end
  1963. for i, v in pairs(m2:GetChildren()) do
  1964. if v:IsA("Part") then
  1965. v.BrickColor = BrickColor.new("Crimson")
  1966. v.Material = "Granite"
  1967. end
  1968. end
  1969. for i, v in pairs(m3:GetChildren()) do
  1970. if v:IsA("Part") then
  1971. v.BrickColor = MAINRUINCOLOR
  1972. v.Material = "Neon"
  1973. end
  1974. end
  1975. for i, v in pairs(mw2:GetChildren()) do
  1976. if v:IsA("Part") then
  1977. v.BrickColor = MAINRUINCOLOR
  1978. v.Material = "Neon"
  1979. end
  1980. end
  1981. for i, v in pairs(mw1:GetChildren()) do
  1982. if v:IsA("Part") then
  1983. v.Transparency = 1
  1984. v.BrickColor = MAINRUINCOLOR
  1985. v.Material = "Neon"
  1986. end
  1987. end
  1988. for i, v in pairs(extrawingmod1:GetChildren()) do
  1989. if v:IsA("Part") then
  1990. v.Transparency = 1
  1991. v.BrickColor = BrickColor.new("White")
  1992. v.Material = "Neon"
  1993. end
  1994. end
  1995. for i, v in pairs(extrawingmod2:GetChildren()) do
  1996. if v:IsA("Part") then
  1997. v.Transparency = 1
  1998. v.BrickColor = BrickColor.new("White")
  1999. v.Material = "Neon"
  2000. end
  2001. end
  2002. ------
  2003.  
  2004.  
  2005. function RemoveOutlines(part)
  2006. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2007. end
  2008. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2009. local Part = Create("Part")({
  2010. Parent = Parent,
  2011. Reflectance = Reflectance,
  2012. Transparency = Transparency,
  2013. CanCollide = false,
  2014. Locked = true,
  2015. BrickColor = BrickColor.new(tostring(BColor)),
  2016. Name = Name,
  2017. Size = Size,
  2018. Material = Material
  2019. })
  2020. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  2021. RemoveOutlines(Part)
  2022. return Part
  2023. end
  2024. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2025. local Msh = Create(Mesh)({
  2026. Parent = Part,
  2027. Offset = OffSet,
  2028. Scale = Scale
  2029. })
  2030. if Mesh == "SpecialMesh" then
  2031. Msh.MeshType = MeshType
  2032. Msh.MeshId = MeshId
  2033. end
  2034. return Msh
  2035. end
  2036. function CreateWeld(Parent, Part0, Part1, C0, C1)
  2037. local Weld = Create("Weld")({
  2038. Parent = Parent,
  2039. Part0 = Part0,
  2040. Part1 = Part1,
  2041. C0 = C0,
  2042. C1 = C1
  2043. })
  2044. return Weld
  2045. end
  2046.  
  2047. Character=Player.Character
  2048. PlayerGui=Player.PlayerGui
  2049. Backpack=Player.Backpack
  2050. Torso=Character.Torso
  2051. Head=Character.Head
  2052. Humanoid=Character.Humanoid
  2053. m=Instance.new('Model',Character)
  2054. LeftArm=Character["Left Arm"]
  2055. LeftLeg=Character["Left Leg"]
  2056. RightArm=Character["Right Arm"]
  2057. RightLeg=Character["Right Leg"]
  2058. LS=Torso["Left Shoulder"]
  2059. LH=Torso["Left Hip"]
  2060. RS=Torso["Right Shoulder"]
  2061. RH=Torso["Right Hip"]
  2062. Face = Head.face
  2063. Neck=Torso.Neck
  2064. it=Instance.new
  2065. attacktype=1
  2066. vt=Vector3.new
  2067. cf=CFrame.new
  2068. euler=CFrame.fromEulerAnglesXYZ
  2069. angles=CFrame.Angles
  2070. cloaked=false
  2071. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2072. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2073. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  2074. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  2075. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  2076. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  2077. RootPart=Character.HumanoidRootPart
  2078. RootJoint=RootPart.RootJoint
  2079. RootCF=euler(-1.57,0,3.14)
  2080. attack = false
  2081. attackdebounce = false
  2082. deb=false
  2083. equipped=true
  2084. hand=false
  2085. MMouse=nil
  2086. combo=0
  2087. mana=0
  2088. trispeed=.2
  2089. attackmode='none'
  2090. local idle=0
  2091. local Anim="Idle"
  2092. local Effects={}
  2093. local gun=false
  2094. local shoot=false
  2095. local sine = 0
  2096. local change = 1
  2097.  
  2098.  
  2099. function RecolorTextAndRename(name,col1,col2,font)
  2100. modet.TextStrokeColor3 = col2
  2101. modet.TextColor3 = col1
  2102. modet.Font = font
  2103. modet.Text = name
  2104. --[[ned.Text = name
  2105. ned.TextColor3 = col1
  2106. ned.TextStrokeColor3 = col2]]
  2107. nice(name,col1,col2)
  2108. nice2(col1,col2)
  2109. end
  2110.  
  2111. local disably = false
  2112.  
  2113. local r = 255
  2114. local g = 0
  2115. local b = 0
  2116.  
  2117.  
  2118. LW=Torso["Left Shoulder"]
  2119. LH=Torso["Left Hip"]
  2120. RW=Torso["Right Shoulder"]
  2121. RH=Torso["Right Hip"]
  2122.  
  2123. --save shoulders
  2124. --[[RSH, LSH=nil, nil
  2125. --welds
  2126. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  2127. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  2128. LH=Torso["Left Hip"]
  2129. RH=Torso["Right Hip"]
  2130. TorsoColor=Torso.BrickColor
  2131. function NoOutline(Part)
  2132. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2133. end
  2134. ch=Character
  2135. RSH=ch.Torso["Right Shoulder"]
  2136. LSH=ch.Torso["Left Shoulder"]
  2137. --
  2138. RSH.Parent=nil
  2139. LSH.Parent=nil ]]--
  2140. --
  2141. RW.Name="Right Shoulder"
  2142. RW.Part0=char.Torso
  2143. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  2144. RW.C1=cf(0, 0.5, 0)
  2145. RW.Part1=char["Right Arm"]
  2146. RW.Parent=char.Torso
  2147. --
  2148. LW.Name="Left Shoulder"
  2149. LW.Part0=char.Torso
  2150. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  2151. LW.C1=cf(0, 0.5, 0)
  2152. LW.Part1=char["Left Arm"]
  2153. LW.Parent=char.Torso
  2154.  
  2155. local Stats=Instance.new("BoolValue")
  2156. Stats.Name="Stats"
  2157. Stats.Parent=Character
  2158. local Atk=Instance.new("NumberValue")
  2159. Atk.Name="Damage"
  2160. Atk.Parent=Stats
  2161. Atk.Value=1
  2162. local Def=Instance.new("NumberValue")
  2163. Def.Name="Defense"
  2164. Def.Parent=Stats
  2165. Def.Value=1
  2166. local Speed=Instance.new("NumberValue")
  2167. Speed.Name="Speed"
  2168. Speed.Parent=Stats
  2169. Speed.Value=1
  2170. local Mvmt=Instance.new("NumberValue")
  2171. Mvmt.Name="Movement"
  2172. Mvmt.Parent=Stats
  2173. Mvmt.Value=1
  2174.  
  2175. local donum=0
  2176.  
  2177.  
  2178. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  2179. local fp=it("Part")
  2180. fp.formFactor=formfactor
  2181. fp.Parent=parent
  2182. fp.Reflectance=reflectance
  2183. fp.Transparency=transparency
  2184. fp.CanCollide=false
  2185. fp.Locked=true
  2186. fp.BrickColor=brickcolor
  2187. fp.Name=name
  2188. fp.Size=size
  2189. fp.Position=Torso.Position
  2190. NoOutline(fp)
  2191. fp.Material="SmoothPlastic"
  2192. fp:BreakJoints()
  2193. return fp
  2194. end
  2195.  
  2196. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2197. local mesh=it(Mesh)
  2198. mesh.Parent=part
  2199. if Mesh=="SpecialMesh" then
  2200. mesh.MeshType=meshtype
  2201. if meshid~="nil" then
  2202. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  2203. end
  2204. end
  2205. mesh.Offset=offset
  2206. mesh.Scale=scale
  2207. return mesh
  2208. end
  2209.  
  2210. function weld(parent,part0,part1,c0)
  2211. local weld=it("Weld")
  2212. weld.Parent=parent
  2213. weld.Part0=part0
  2214. weld.Part1=part1
  2215. weld.C0=c0
  2216. return weld
  2217. end
  2218.  
  2219. local Color1=Torso.BrickColor
  2220.  
  2221. local bodvel=Instance.new("BodyVelocity")
  2222. local bg=Instance.new("BodyGyro")
  2223.  
  2224. --------- SazEreno's Artificial HB --------------
  2225.  
  2226. -------- RAINBOW LEAVE IT TO ME
  2227.  
  2228.  
  2229. so = function(id,par,vol,pit)
  2230. local sou = Instance.new("Sound",par or workspace)
  2231. sou.Volume=vol
  2232. sou.Pitch=pit or 1
  2233. sou.SoundId=id
  2234. swait()
  2235. sou:play()
  2236. game:GetService("Debris"):AddItem(sou,6)
  2237. end
  2238.  
  2239. function clerp(a,b,t)
  2240. local qa = {QuaternionFromCFrame(a)}
  2241. local qb = {QuaternionFromCFrame(b)}
  2242. local ax, ay, az = a.x, a.y, a.z
  2243. local bx, by, bz = b.x, b.y, b.z
  2244. local _t = 1-t
  2245. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  2246. end
  2247.  
  2248. function aclerp(startCF,endCF,alpha)
  2249. return startCF:lerp(endCF, alpha)
  2250. end
  2251.  
  2252. function QuaternionFromCFrame(cf)
  2253. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2254. local trace = m00 + m11 + m22
  2255. if trace > 0 then
  2256. local s = math.sqrt(1 + trace)
  2257. local recip = 0.5/s
  2258. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  2259. else
  2260. local i = 0
  2261. if m11 > m00 then
  2262. i = 1
  2263. end
  2264. if m22 > (i == 0 and m00 or m11) then
  2265. i = 2
  2266. end
  2267. if i == 0 then
  2268. local s = math.sqrt(m00-m11-m22+1)
  2269. local recip = 0.5/s
  2270. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  2271. elseif i == 1 then
  2272. local s = math.sqrt(m11-m22-m00+1)
  2273. local recip = 0.5/s
  2274. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  2275. elseif i == 2 then
  2276. local s = math.sqrt(m22-m00-m11+1)
  2277. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  2278. end
  2279. end
  2280. end
  2281.  
  2282. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2283. local xs, ys, zs = x + x, y + y, z + z
  2284. local wx, wy, wz = w*xs, w*ys, w*zs
  2285. local xx = x*xs
  2286. local xy = x*ys
  2287. local xz = x*zs
  2288. local yy = y*ys
  2289. local yz = y*zs
  2290. local zz = z*zs
  2291. 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))
  2292. end
  2293.  
  2294. function QuaternionSlerp(a, b, t)
  2295. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  2296. local startInterp, finishInterp;
  2297. if cosTheta >= 0.0001 then
  2298. if (1 - cosTheta) > 0.0001 then
  2299. local theta = math.acos(cosTheta)
  2300. local invSinTheta = 1/math.sin(theta)
  2301. startInterp = math.sin((1-t)*theta)*invSinTheta
  2302. finishInterp = math.sin(t*theta)*invSinTheta
  2303. else
  2304. startInterp = 1-t
  2305. finishInterp = t
  2306. end
  2307. else
  2308. if (1+cosTheta) > 0.0001 then
  2309. local theta = math.acos(-cosTheta)
  2310. local invSinTheta = 1/math.sin(theta)
  2311. startInterp = math.sin((t-1)*theta)*invSinTheta
  2312. finishInterp = math.sin(t*theta)*invSinTheta
  2313. else
  2314. startInterp = t-1
  2315. finishInterp = t
  2316. end
  2317. end
  2318. 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
  2319. end
  2320.  
  2321. local function CFrameFromTopBack(at, top, back)
  2322. local right = top:Cross(back)
  2323. return CFrame.new(at.x, at.y, at.z,
  2324. right.x, top.x, back.x,
  2325. right.y, top.y, back.y,
  2326. right.z, top.z, back.z)
  2327. end
  2328.  
  2329. function Triangle(a, b, c)
  2330. local edg1 = (c-a):Dot((b-a).unit)
  2331. local edg2 = (a-b):Dot((c-b).unit)
  2332. local edg3 = (b-c):Dot((a-c).unit)
  2333. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  2334. a, b, c = a, b, c
  2335. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  2336. a, b, c = b, c, a
  2337. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  2338. a, b, c = c, a, b
  2339. else
  2340. assert(false, "unreachable")
  2341. end
  2342.  
  2343. local len1 = (c-a):Dot((b-a).unit)
  2344. local len2 = (b-a).magnitude - len1
  2345. local width = (a + (b-a).unit*len1 - c).magnitude
  2346.  
  2347. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  2348.  
  2349. local list = {}
  2350.  
  2351. if len1 > 0.01 then
  2352. local w1 = Instance.new('WedgePart', m)
  2353. game:GetService("Debris"):AddItem(w1,5)
  2354. w1.Material = "SmoothPlastic"
  2355. w1.FormFactor = 'Custom'
  2356. w1.BrickColor = MAINRUINCOLOR
  2357. w1.Transparency = 0
  2358. w1.Reflectance = 0
  2359. w1.Material = "SmoothPlastic"
  2360. w1.CanCollide = false
  2361. local l1 = Instance.new("PointLight",w1)
  2362. l1.Color = Color3.new(170,0,0)
  2363. NoOutline(w1)
  2364. local sz = Vector3.new(0.2, width, len1)
  2365. w1.Size = sz
  2366. local sp = Instance.new("SpecialMesh",w1)
  2367. sp.MeshType = "Wedge"
  2368. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  2369. w1:BreakJoints()
  2370. w1.Anchored = true
  2371. w1.Parent = workspace
  2372. w1.Transparency = 0.7
  2373. table.insert(Effects,{w1,"Disappear",.01})
  2374. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  2375. table.insert(list,w1)
  2376. end
  2377.  
  2378. if len2 > 0.01 then
  2379. local w2 = Instance.new('WedgePart', m)
  2380. game:GetService("Debris"):AddItem(w2,5)
  2381. w2.Material = "SmoothPlastic"
  2382. w2.FormFactor = 'Custom'
  2383. w2.BrickColor = MAINRUINCOLOR
  2384. w2.Transparency = 0
  2385. w2.Reflectance = 0
  2386. w2.Material = "SmoothPlastic"
  2387. w2.CanCollide = false
  2388. local l2 = Instance.new("PointLight",w2)
  2389. l2.Color = Color3.new(170,0,0)
  2390. NoOutline(w2)
  2391. local sz = Vector3.new(0.2, width, len2)
  2392. w2.Size = sz
  2393. local sp = Instance.new("SpecialMesh",w2)
  2394. sp.MeshType = "Wedge"
  2395. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  2396. w2:BreakJoints()
  2397. w2.Anchored = true
  2398. w2.Parent = workspace
  2399. w2.Transparency = 0.7
  2400. table.insert(Effects,{w2,"Disappear",.01})
  2401. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  2402. table.insert(list,w2)
  2403. end
  2404. return unpack(list)
  2405. end
  2406.  
  2407.  
  2408. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2409. if DoDamage == true then
  2410. if hit.Parent == nil then
  2411. return
  2412. end
  2413. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  2414. for _, v in pairs(hit.Parent:children()) do
  2415. if v:IsA("Humanoid") then
  2416. h = v
  2417. end
  2418. end
  2419. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  2420. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  2421. return
  2422. end
  2423. local c = Create("ObjectValue")({
  2424. Name = "creator",
  2425. Value = game:GetService("Players").inessaG,
  2426. Parent = h
  2427. })
  2428. game:GetService("Debris"):AddItem(c, 0.5)
  2429. if HitSound ~= nil and HitPitch ~= nil then
  2430. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2431. end
  2432. local Damage = math.random(minim, maxim)
  2433. local blocked = false
  2434. local block = hit.Parent:findFirstChild("Block")
  2435. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  2436. blocked = true
  2437. block.Value = block.Value - 1
  2438. print(block.Value)
  2439. end
  2440. if blocked == false then
  2441. local HitHealth = h.Health
  2442. h.MaxHealth = 100
  2443. h.Health = h.Health - Damage
  2444. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  2445. --print("gained kill")
  2446. dmg(h.Parent)
  2447. end
  2448. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), Damage, .03, Part.BrickColor.Color)
  2449. else
  2450. h.Health = h.Health - Damage / 2
  2451. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), Damage, .03, Part.BrickColor.Color)
  2452. end
  2453. if Type == "Knockdown" then
  2454. local hum = hit.Parent.Humanoid
  2455. hum.PlatformStand = true
  2456. coroutine.resume(coroutine.create(function(HHumanoid)
  2457. swait(1)
  2458. HHumanoid.PlatformStand = false
  2459. end), hum)
  2460. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2461. local bodvol = Create("BodyVelocity")({
  2462. velocity = angle * knockback,
  2463. P = 5000,
  2464. maxForce = Vector3.new(8000, 8000, 8000),
  2465. Parent = hit
  2466. })
  2467. local rl = Create("BodyAngularVelocity")({
  2468. P = 3000,
  2469. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2470. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2471. Parent = hit
  2472. })
  2473. game:GetService("Debris"):AddItem(bodvol, 0.5)
  2474. game:GetService("Debris"):AddItem(rl, 0.5)
  2475. elseif Type == "Normal" then
  2476. local vp = Create("BodyVelocity")({
  2477. P = 500,
  2478. maxForce = Vector3.new(math.huge, 0, math.huge),
  2479. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2480. })
  2481. if knockback > 0 then
  2482. vp.Parent = hit.Parent.Head
  2483. end
  2484. game:GetService("Debris"):AddItem(vp, 0.5)
  2485. elseif Type == "Up" then
  2486. local bodyVelocity = Create("BodyVelocity")({
  2487. velocity = Vector3.new(0, 20, 0),
  2488. P = 5000,
  2489. maxForce = Vector3.new(8000, 8000, 8000),
  2490. Parent = hit
  2491. })
  2492. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2493. local bodyVelocity = Create("BodyVelocity")({
  2494. velocity = Vector3.new(0, 20, 0),
  2495. P = 5000,
  2496. maxForce = Vector3.new(8000, 8000, 8000),
  2497. Parent = hit
  2498. })
  2499. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2500. elseif Type == "Leech" then
  2501. local hum = hit.Parent.Humanoid
  2502. if hum ~= nil then
  2503. for i = 0, 2 do
  2504. 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)
  2505. end
  2506. Humanoid.Health = Humanoid.Health + 10
  2507. end
  2508. elseif Type == "UpKnock" then
  2509. local hum = hit.Parent.Humanoid
  2510. hum.PlatformStand = true
  2511. if hum ~= nil then
  2512. hitr = true
  2513. end
  2514. coroutine.resume(coroutine.create(function(HHumanoid)
  2515. swait(5)
  2516. HHumanoid.PlatformStand = false
  2517. hitr = false
  2518. end), hum)
  2519. local bodyVelocity = Create("BodyVelocity")({
  2520. velocity = Vector3.new(0, 20, 0),
  2521. P = 5000,
  2522. maxForce = Vector3.new(8000, 8000, 8000),
  2523. Parent = hit
  2524. })
  2525. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2526. local bodyVelocity = Create("BodyVelocity")({
  2527. velocity = Vector3.new(0, 20, 0),
  2528. P = 5000,
  2529. maxForce = Vector3.new(8000, 8000, 8000),
  2530. Parent = hit
  2531. })
  2532. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2533. elseif Type == "Snare" then
  2534. local bp = Create("BodyPosition")({
  2535. P = 2000,
  2536. D = 100,
  2537. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2538. position = hit.Parent.Torso.Position,
  2539. Parent = hit.Parent.Torso
  2540. })
  2541. game:GetService("Debris"):AddItem(bp, 1)
  2542. elseif Type == "Slashnare" then
  2543. 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)
  2544. for i = 1, math.random(4, 5) do
  2545. 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)
  2546. end
  2547. local bp = Create("BodyPosition")({
  2548. P = 2000,
  2549. D = 100,
  2550. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2551. position = hit.Parent.Torso.Position,
  2552. Parent = hit.Parent.Torso
  2553. })
  2554. game:GetService("Debris"):AddItem(bp, 1)
  2555. elseif Type == "Spike" then
  2556. -- CreateBigIceSword(hit.Parent.Torso.CFrame)
  2557. local bp = Create("BodyPosition")({
  2558. P = 2000,
  2559. D = 100,
  2560. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2561. position = hit.Parent.Torso.Position,
  2562. Parent = hit.Parent.Torso
  2563. })
  2564. game:GetService("Debris"):AddItem(bp, 1)
  2565. elseif Type == "Freeze" then
  2566. local BodPos = Create("BodyPosition")({
  2567. P = 50000,
  2568. D = 1000,
  2569. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2570. position = hit.Parent.Torso.Position,
  2571. Parent = hit.Parent.Torso
  2572. })
  2573. local BodGy = Create("BodyGyro")({
  2574. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  2575. P = 20000,
  2576. Parent = hit.Parent.Torso,
  2577. cframe = hit.Parent.Torso.CFrame
  2578. })
  2579. hit.Parent.Torso.Anchored = true
  2580. coroutine.resume(coroutine.create(function(Part)
  2581. swait(1.5)
  2582. Part.Anchored = false
  2583. end), hit.Parent.Torso)
  2584. game:GetService("Debris"):AddItem(BodPos, 3)
  2585. game:GetService("Debris"):AddItem(BodGy, 3)
  2586. end
  2587. local debounce = Create("BoolValue")({
  2588. Name = "DebounceHit",
  2589. Parent = hit.Parent,
  2590. Value = true
  2591. })
  2592. game:GetService("Debris"):AddItem(debounce, Delay)
  2593. c = Instance.new("ObjectValue")
  2594. c.Name = "creator"
  2595. c.Value = Player
  2596. c.Parent = h
  2597. game:GetService("Debris"):AddItem(c, 0.5)
  2598. end
  2599. elseif DoDamage == false then
  2600. print("Damage is disabled")
  2601. end
  2602.  
  2603. end
  2604. function ShowDamage(Pos, Text, Time, Color)
  2605. coroutine.resume(coroutine.create(function()
  2606. local Rate = 0.03333333333333333
  2607. local Pos = Pos or Vector3.new(0, 0, 0)
  2608. local Text = Text or ""
  2609. local Color = Color or Color3.new(1, 0, 1)
  2610. local EffectPart = CreatePart(Character, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2611. EffectPart.Anchored = true
  2612. EffectPart.CFrame = CFrame.new(Pos)
  2613. local BillboardGui = Create("BillboardGui")({
  2614. Size = UDim2.new(6, 0, 6, 0),
  2615. Adornee = EffectPart,
  2616. Parent = EffectPart,
  2617. AlwaysOnTop=true,
  2618. Active=true
  2619. })
  2620. local TextLabel = Create("TextLabel")({
  2621. BackgroundTransparency = 1,
  2622. AnchorPoint=Vector2.new(.5,.5),
  2623. Position = UDim2.new(.5, 0, .5, 0),
  2624. Size = UDim2.new(1, 0, 1, 0),
  2625. Text = Text,
  2626. TextColor3 = MAINRUINCOLOR.Color,
  2627. TextStrokeColor3 = SECONDRUINCOLOR.Color,
  2628. TextStrokeTransparency=0,
  2629. TextScaled = true,
  2630. Font = Enum.Font.Bodoni,
  2631. Parent = BillboardGui,
  2632. ZIndex=4,
  2633. })
  2634.  
  2635. local aaa=math.random(-360,360)
  2636. local bbb=math.random(-360,360)
  2637.  
  2638. local F1 = Create("Frame")({
  2639. AnchorPoint=Vector2.new(.5,.5),
  2640. Position = UDim2.new(.5, 0, .5, 0),
  2641. Size = UDim2.new(.4,0,.4,0),
  2642. BackgroundColor3 =MAINRUINCOLOR.Color,
  2643. BorderColor3 =SECONDRUINCOLOR.Color,
  2644. BorderSizePixel=4,
  2645. Parent = BillboardGui,
  2646. Rotation=aaa
  2647. })
  2648. local F2 = Create("Frame")({
  2649. AnchorPoint=Vector2.new(.5,.5),
  2650. Position = UDim2.new(.5, 0, .5, 0),
  2651. Size = UDim2.new(.4,0,.4,0),
  2652. BackgroundColor3 =MAINRUINCOLOR.Color,
  2653. BorderColor3 =SECONDRUINCOLOR.Color,
  2654. BorderSizePixel=4,
  2655. Parent = BillboardGui,
  2656. Rotation=-aaa
  2657. })
  2658. local F3 = Create("Frame")({
  2659. AnchorPoint=Vector2.new(.5,.5),
  2660. Position = UDim2.new(.5, 0, .5, 0),
  2661. Size = UDim2.new(.2,0,.2,0),
  2662. BackgroundColor3 =MAINRUINCOLOR.Color,
  2663. BorderColor3 =SECONDRUINCOLOR.Color,
  2664. BorderSizePixel=4,
  2665. Parent = BillboardGui,
  2666. ZIndex=2,
  2667. Rotation=bbb
  2668. })
  2669. local F4 = Create("Frame")({
  2670. AnchorPoint=Vector2.new(.5,.5),
  2671. Position = UDim2.new(.5, 0, .5, 0),
  2672. Size = UDim2.new(.2,0,.2,0),
  2673. BackgroundColor3 =MAINRUINCOLOR.Color,
  2674. BorderColor3 =SECONDRUINCOLOR.Color,
  2675. BorderSizePixel=4,
  2676. Parent = BillboardGui,
  2677. ZIndex=2,
  2678. Rotation=-bbb
  2679. })
  2680.  
  2681. --[[delay(0, function() -- no thank
  2682. local Frames = Time / Rate
  2683. for Frame = 1, Frames do
  2684. wait(Rate)
  2685. local Percent = Frame / Frames
  2686. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2687. TextLabel.TextTransparency = Percent
  2688. end
  2689. if EffectPart and EffectPart.Parent then
  2690. EffectPart:Destroy()
  2691. end
  2692. end)]]
  2693. local ha=EffectPart
  2694. local oring=ha.CFrame*CFrame.new(0,3.4,0)
  2695. F1:TweenPosition(UDim2.new(.2,0,.5,0), "Out", "Quint", 1,true)
  2696. F2:TweenPosition(UDim2.new(.8,0,.5,0), "Out", "Quint", 1,true)
  2697. F3:TweenPosition(UDim2.new(-.1,0,.5,0), "Out", "Quint", 1.5,true)
  2698. F4:TweenPosition(UDim2.new(1.1,0,.5,0), "Out", "Quint", 1.5,true)
  2699. for aaa=0,1.1,Time do
  2700. swait()
  2701. ha.CFrame=clerp(ha.CFrame,oring,.1)
  2702. F1.BackgroundTransparency=0+1*aaa
  2703. F2.BackgroundTransparency=0+1*aaa
  2704. F3.BackgroundTransparency=0+.5*aaa
  2705. F4.BackgroundTransparency=0+.5*aaa
  2706. F1.Rotation=F1.Rotation+math.random(5,10)
  2707. F2.Rotation=F2.Rotation-math.random(5,10)
  2708. F3.Rotation=F3.Rotation+math.random(3,6)
  2709. F4.Rotation=F4.Rotation-math.random(3,6)
  2710. end
  2711. for aaa=0,1,.1 do
  2712. swait()
  2713. TextLabel.TextTransparency=aaa
  2714. TextLabel.TextStrokeTransparency=aaa
  2715. F3.BackgroundTransparency=.5+.5*aaa
  2716. F4.BackgroundTransparency=.5+.5*aaa
  2717. F3.Rotation=F3.Rotation+math.random(3,6)
  2718. F4.Rotation=F4.Rotation-math.random(3,6)
  2719. end
  2720. --ha:Remove()
  2721. end))
  2722. end
  2723. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2724. for _, c in pairs(workspace:children()) do
  2725. local hum = c:findFirstChildOfClass("Humanoid")
  2726. if hum ~= nil then
  2727. local head = c:findFirstChild("Head")
  2728. if head ~= nil then
  2729. local targ = head.Position - Part.Position
  2730. local mag = targ.magnitude
  2731. if magni >= mag and c.Name ~= Player.Name then
  2732. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2733. end
  2734. end
  2735. end
  2736. end
  2737. end
  2738.  
  2739. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2740. for _, c in pairs(workspace:children()) do
  2741. local hum = c:findFirstChild("Humanoid")
  2742. if hum ~= nil then
  2743. local head = c:findFirstChild("Torso")
  2744. if head ~= nil then
  2745. local targ = head.Position - Part.Position
  2746. local mag = targ.magnitude
  2747. if magni >= mag and c.Name ~= Player.Name then
  2748. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2749. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2750. end
  2751. end
  2752. end
  2753. end
  2754. end
  2755.  
  2756. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2757. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2758. end
  2759.  
  2760. function waveEff(bonuspeed,type,typeoftrans,pos,scale,value,value2,color)
  2761. local type = type
  2762. local rng = Instance.new("Part", char)
  2763. rng.Anchored = true
  2764. rng.BrickColor = color
  2765. rng.CanCollide = false
  2766. rng.FormFactor = 3
  2767. rng.Name = "Ring"
  2768. rng.Material = "Neon"
  2769. rng.Size = Vector3.new(1, 1, 1)
  2770. rng.Transparency = 0
  2771. if typeoftrans == "In" then
  2772. rng.Transparency = 1
  2773. end
  2774. rng.TopSurface = 0
  2775. rng.BottomSurface = 0
  2776. rng.CFrame = pos
  2777. local rngm = Instance.new("SpecialMesh", rng)
  2778. rngm.MeshType = "FileMesh"
  2779. rngm.MeshId = "rbxassetid://20329976"
  2780. rngm.Scale = scale
  2781. local scaler2 = 1
  2782. local scaler2b = 1
  2783. if type == "Add" then
  2784. scaler2 = 1*value
  2785. scaler2b = 1*value2
  2786. elseif type == "Divide" then
  2787. scaler2 = 1/value
  2788. scaler2b = 1/value2
  2789. end
  2790. local randomrot = math.random(1,2)
  2791. coroutine.resume(coroutine.create(function()
  2792. for i = 0,10/bonuspeed,0.1 do
  2793. swait()
  2794. if type == "Add" then
  2795. scaler2 = scaler2 - 0.01*value/bonuspeed
  2796. scaler2b = scaler2b - 0.01*value/bonuspeed
  2797. elseif type == "Divide" then
  2798. scaler2 = scaler2 - 0.01/value*bonuspeed
  2799. scaler2b = scaler2b - 0.01/value*bonuspeed
  2800. end
  2801. if randomrot == 1 then
  2802. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(5*bonuspeed/2),0)
  2803. elseif randomrot == 2 then
  2804. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-5*bonuspeed/2),0)
  2805. end
  2806. if typeoftrans == "Out" then
  2807. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2808. elseif typeoftrans == "In" then
  2809. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2810. end
  2811. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2*bonuspeed)
  2812. end
  2813. rng:Destroy()
  2814. end))
  2815. end
  2816.  
  2817. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2818. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2819. prt.Anchored=true
  2820. prt.CFrame=cframe*cf(x,y,z)
  2821. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2822. game:GetService("Debris"):AddItem(prt,5)
  2823. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2824. local num=math.random()
  2825. local num2=math.random(-3,2)+math.random()
  2826. local numm=0
  2827. for i=0,1,delay*2 do
  2828. swait()
  2829. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2830. Part.Transparency=i
  2831. numm=numm+0.01
  2832. end
  2833. Part.Parent=nil
  2834. Mesh.Parent=nil
  2835. end),prt,msh,x,y,z)
  2836. end
  2837.  
  2838. function dmgstart(dmg,what)
  2839. hitcon = what.Touched:connect(function(hit)
  2840. local hum = hit.Parent:FindFirstChild("Humanoid")
  2841. if hum and not hum:IsDescendantOf(Character) then
  2842. hum:TakeDamage(dmg)
  2843. end
  2844. end)
  2845. end
  2846.  
  2847. function dmgstop()
  2848. hitcon:disconnect()
  2849. end
  2850.  
  2851. function Cloak()
  2852. Face.Parent=nil
  2853. cloaked=true
  2854. coroutine.wrap(function()
  2855. for i = 0, 1, .05 do
  2856. for _,v in next, Character:GetDescendants() do
  2857. if(v:IsA'BasePart' and v ~= RootPart)then
  2858. v.Transparency=i>v.Transparency and i or v.Transparency
  2859. end
  2860. end
  2861. swait()
  2862. end
  2863. end)()
  2864. end
  2865.  
  2866. function UnCloak()
  2867. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2868. Face.Parent=Head
  2869. cloaked=false
  2870. coroutine.wrap(function()
  2871. for i = 1, 0, -.05 do
  2872. for _,v in next, Character:GetDescendants() do
  2873. if(v:IsA'BasePart' and v ~= RootPart)then
  2874. v.Transparency=i
  2875. end
  2876. end
  2877. swait()
  2878. end
  2879. end)()
  2880. end
  2881.  
  2882. local origcolor = BrickColor.new("Pastel light blue")
  2883. ---- This section of explosions.
  2884.  
  2885. ----
  2886.  
  2887.  
  2888. function ring(type,pos,scale,value)
  2889. local type = type
  2890. local rng = Instance.new("Part", char)
  2891. rng.Anchored = true
  2892. rng.BrickColor = origcolor
  2893. rng.CanCollide = false
  2894. rng.FormFactor = 3
  2895. rng.Name = "Ring"
  2896. rng.Size = Vector3.new(1, 1, 1)
  2897. rng.Transparency = 0
  2898. rng.TopSurface = 0
  2899. rng.BottomSurface = 0
  2900. rng.CFrame = pos
  2901. local rngm = Instance.new("SpecialMesh", rng)
  2902. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2903. rngm.Scale = scale
  2904. local scaler2 = 1
  2905. if type == "Add" then
  2906. scaler2 = 1*value
  2907. elseif type == "Divide" then
  2908. scaler2 = 1/value
  2909. end
  2910. coroutine.resume(coroutine.create(function()
  2911. for i = 0,10,0.1 do
  2912. swait()
  2913. if type == "Add" then
  2914. scaler2 = scaler2 - 0.01*value
  2915. elseif type == "Divide" then
  2916. scaler2 = scaler2 - 0.01/value
  2917. end
  2918. rng.Transparency = rng.Transparency + 0.01
  2919. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2920. end
  2921. rng:Destroy()
  2922. end))
  2923. end
  2924.  
  2925.  
  2926. function wave(type,pos,scale,value)
  2927. local type = type
  2928. local rng = Instance.new("Part", char)
  2929. rng.Anchored = true
  2930. rng.BrickColor = origcolor
  2931. rng.CanCollide = false
  2932. rng.FormFactor = 3
  2933. rng.Name = "Ring"
  2934. rng.Size = Vector3.new(1, 1, 1)
  2935. rng.Transparency = 0
  2936. rng.TopSurface = 0
  2937. rng.BottomSurface = 0
  2938. rng.CFrame = pos
  2939. local rngm = Instance.new("SpecialMesh", rng)
  2940. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2941. rngm.Scale = scale
  2942. local scaler2 = 1
  2943. if type == "Add" then
  2944. scaler2 = 1*value
  2945. elseif type == "Divide" then
  2946. scaler2 = 1/value
  2947. end
  2948. coroutine.resume(coroutine.create(function()
  2949. for i = 0,10,0.1 do
  2950. swait()
  2951. if type == "Add" then
  2952. scaler2 = scaler2 - 0.01*value
  2953. elseif type == "Divide" then
  2954. scaler2 = scaler2 - 0.01/value
  2955. end
  2956. rng.Transparency = rng.Transparency + 0.01
  2957. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2958. end
  2959. rng:Destroy()
  2960. end))
  2961. end
  2962.  
  2963. function wind(type,pos,scale,value,speed)
  2964. local type = type
  2965. local rng = Instance.new("Part", char)
  2966. rng.Anchored = true
  2967. rng.BrickColor = origcolor
  2968. rng.CanCollide = false
  2969. rng.FormFactor = 3
  2970. rng.Name = "Ring"
  2971. rng.Size = Vector3.new(1, 1, 1)
  2972. rng.Transparency = 0
  2973. rng.TopSurface = 0
  2974. rng.BottomSurface = 0
  2975. rng.CFrame = pos
  2976. local rngm = Instance.new("SpecialMesh", rng)
  2977. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2978. rngm.Scale = scale
  2979. local scaler2 = 1
  2980. if type == "Add" then
  2981. scaler2 = 1*value
  2982. elseif type == "Divide" then
  2983. scaler2 = 1/value
  2984. end
  2985. coroutine.resume(coroutine.create(function()
  2986. for i = 0,10,0.1 do
  2987. swait()
  2988. if type == "Add" then
  2989. scaler2 = scaler2 - 0.01*value
  2990. elseif type == "Divide" then
  2991. scaler2 = scaler2 - 0.01/value
  2992. end
  2993. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2994. rng.Transparency = rng.Transparency + 0.01
  2995. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2996. end
  2997. rng:Destroy()
  2998. end))
  2999. end
  3000.  
  3001. function groundwind(type,pos,scale,value,speed)
  3002. local type = type
  3003. local rng = Instance.new("Part", char)
  3004. rng.Anchored = true
  3005. rng.BrickColor = origcolor
  3006. rng.CanCollide = false
  3007. rng.FormFactor = 3
  3008. rng.Name = "Ring"
  3009. rng.Size = Vector3.new(1, 1, 1)
  3010. rng.Transparency = 0
  3011. rng.TopSurface = 0
  3012. rng.BottomSurface = 0
  3013. rng.CFrame = pos
  3014. local rngm = Instance.new("SpecialMesh", rng)
  3015. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3016. rngm.Scale = scale
  3017. local scaler2 = 1
  3018. if type == "Add" then
  3019. scaler2 = 1*value
  3020. elseif type == "Divide" then
  3021. scaler2 = 1/value
  3022. end
  3023. coroutine.resume(coroutine.create(function()
  3024. for i = 0,10,0.1 do
  3025. swait()
  3026. if type == "Add" then
  3027. scaler2 = scaler2 - 0.01*value
  3028. elseif type == "Divide" then
  3029. scaler2 = scaler2 - 0.01/value
  3030. end
  3031. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  3032. rng.Transparency = rng.Transparency + 0.01
  3033. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  3034. end
  3035. rng:Destroy()
  3036. end))
  3037. end
  3038.  
  3039. function CameraManager()
  3040. if TwoD and not CamInterrupt then
  3041. if Humanoid.Health > 0 then
  3042. Camera.CameraSubject = Humanoid
  3043. Camera.CameraType = "Scriptable"
  3044. Humanoid.AutoRotate = false
  3045. if Booleans.GyroUse then
  3046. Directer.MaxTorque = Vec3(0, huge, 0)
  3047. else
  3048. Directer.MaxTorque = Vec3(0, 0, 0)
  3049. end
  3050. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  3051. if Booleans.CamFollow then
  3052. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  3053. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  3054. else
  3055. CPart.Position = RootPart.Position
  3056. end
  3057. else
  3058. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  3059. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  3060. end
  3061. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  3062. else
  3063. Camera.CameraSubject = Humanoid
  3064. Camera.CameraType = "Custom"
  3065. Controller.Disabled = false
  3066. end
  3067. end
  3068. end
  3069.  
  3070. function ring(type,pos,scale,value)
  3071. local type = type
  3072. local rng = Instance.new("Part", char)
  3073. rng.Anchored = true
  3074. rng.BrickColor = origcolor
  3075. rng.CanCollide = false
  3076. rng.FormFactor = 3
  3077. rng.Name = "Ring"
  3078. rng.Size = Vector3.new(1, 1, 1)
  3079. rng.Transparency = 0
  3080. rng.TopSurface = 0
  3081. rng.BottomSurface = 0
  3082. rng.CFrame = pos
  3083. local rngm = Instance.new("SpecialMesh", rng)
  3084. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3085. rngm.Scale = scale
  3086. local scaler2 = 1
  3087. if type == "Add" then
  3088. scaler2 = 1*value
  3089. elseif type == "Divide" then
  3090. scaler2 = 1/value
  3091. end
  3092. coroutine.resume(coroutine.create(function()
  3093. for i = 0,10,0.1 do
  3094. swait()
  3095. if type == "Add" then
  3096. scaler2 = scaler2 - 0.01*value
  3097. elseif type == "Divide" then
  3098. scaler2 = scaler2 - 0.01/value
  3099. end
  3100. rng.Transparency = rng.Transparency + 0.01
  3101. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  3102. end
  3103. rng:Destroy()
  3104. end))
  3105. end
  3106.  
  3107.  
  3108. function wave(type,pos,scale,value)
  3109. local type = type
  3110. local rng = Instance.new("Part", char)
  3111. rng.Anchored = true
  3112. rng.BrickColor = origcolor
  3113. rng.CanCollide = false
  3114. rng.FormFactor = 3
  3115. rng.Name = "Ring"
  3116. rng.Size = Vector3.new(1, 1, 1)
  3117. rng.Transparency = 0
  3118. rng.TopSurface = 0
  3119. rng.BottomSurface = 0
  3120. rng.CFrame = pos
  3121. local rngm = Instance.new("SpecialMesh", rng)
  3122. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3123. rngm.Scale = scale
  3124. local scaler2 = 1
  3125. if type == "Add" then
  3126. scaler2 = 1*value
  3127. elseif type == "Divide" then
  3128. scaler2 = 1/value
  3129. end
  3130. coroutine.resume(coroutine.create(function()
  3131. for i = 0,10,0.1 do
  3132. swait()
  3133. if type == "Add" then
  3134. scaler2 = scaler2 - 0.01*value
  3135. elseif type == "Divide" then
  3136. scaler2 = scaler2 - 0.01/value
  3137. end
  3138. rng.Transparency = rng.Transparency + 0.01
  3139. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3140. end
  3141. rng:Destroy()
  3142. end))
  3143. end
  3144.  
  3145. function sphere(bonuspeed,type,pos,scale,value,color)
  3146. local type = type
  3147. local rng = Instance.new("Part", char)
  3148. rng.Anchored = true
  3149. rng.BrickColor = color
  3150. rng.CanCollide = false
  3151. rng.FormFactor = 3
  3152. rng.Name = "Ring"
  3153. rng.Material = "Neon"
  3154. rng.Size = Vector3.new(1, 1, 1)
  3155. rng.Transparency = 0
  3156. rng.TopSurface = 0
  3157. rng.BottomSurface = 0
  3158. rng.CFrame = pos
  3159. local rngm = Instance.new("SpecialMesh", rng)
  3160. rngm.MeshType = "Sphere"
  3161. rngm.Scale = scale
  3162. if rainbowmode == true then
  3163. rng.Color = Color3.new(r/255,g/255,b/255)
  3164. end
  3165. local scaler2 = 1
  3166. if type == "Add" then
  3167. scaler2 = 1*value
  3168. elseif type == "Divide" then
  3169. scaler2 = 1/value
  3170. end
  3171. coroutine.resume(coroutine.create(function()
  3172. for i = 0,10/bonuspeed,0.1 do
  3173. swait()
  3174. if rainbowmode == true then
  3175. rng.Color = Color3.new(r/255,g/255,b/255)
  3176. end
  3177. if type == "Add" then
  3178. scaler2 = scaler2 - 0.01*value/bonuspeed
  3179. elseif type == "Divide" then
  3180. scaler2 = scaler2 - 0.01/value*bonuspeed
  3181. end
  3182. if chaosmode == true then
  3183. rng.BrickColor = BrickColor.random()
  3184. end
  3185. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3186. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3187. end
  3188. rng:Destroy()
  3189. end))
  3190. end
  3191.  
  3192. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  3193. local type = type
  3194. local rng = Instance.new("Part", char)
  3195. rng.Anchored = true
  3196. rng.BrickColor = color
  3197. rng.CanCollide = false
  3198. rng.FormFactor = 3
  3199. rng.Name = "Ring"
  3200. rng.Material = "Neon"
  3201. rng.Size = Vector3.new(1, 1, 1)
  3202. rng.Transparency = 0
  3203. rng.TopSurface = 0
  3204. rng.BottomSurface = 0
  3205. rng.CFrame = pos
  3206. local rngm = Instance.new("SpecialMesh", rng)
  3207. rngm.MeshType = "Sphere"
  3208. rngm.Scale = scale
  3209. local scaler2 = 1
  3210. local scaler2b = 1
  3211. local scaler2c = 1
  3212. if type == "Add" then
  3213. scaler2 = 1*value
  3214. scaler2b = 1*value2
  3215. scaler2c = 1*value3
  3216. elseif type == "Divide" then
  3217. scaler2 = 1/value
  3218. scaler2b = 1/value2
  3219. scaler2c = 1/value3
  3220. end
  3221. coroutine.resume(coroutine.create(function()
  3222. for i = 0,10/bonuspeed,0.1 do
  3223. swait()
  3224. if type == "Add" then
  3225. scaler2 = scaler2 - 0.01*value/bonuspeed
  3226. scaler2b = scaler2b - 0.01*value/bonuspeed
  3227. scaler2c = scaler2c - 0.01*value/bonuspeed
  3228. elseif type == "Divide" then
  3229. scaler2 = scaler2 - 0.01/value*bonuspeed
  3230. scaler2b = scaler2b - 0.01/value*bonuspeed
  3231. scaler2c = scaler2c - 0.01/value*bonuspeed
  3232. end
  3233. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3234. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3235. end
  3236. rng:Destroy()
  3237. end))
  3238. end
  3239.  
  3240.  
  3241. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  3242. local type = type
  3243. local rotenable = rotatingop
  3244. local rng = Instance.new("Part", char)
  3245. rng.Anchored = true
  3246. rng.BrickColor = color
  3247. rng.CanCollide = false
  3248. rng.FormFactor = 3
  3249. rng.Name = "Ring"
  3250. rng.Material = "Neon"
  3251. rng.Size = Vector3.new(1, 1, 1)
  3252. rng.Transparency = 0
  3253. if typeoftrans == "In" then
  3254. rng.Transparency = 1
  3255. end
  3256. rng.TopSurface = 0
  3257. rng.BottomSurface = 0
  3258. rng.CFrame = pos
  3259. local rngm = Instance.new("SpecialMesh", rng)
  3260. rngm.MeshType = "FileMesh"
  3261. if typeofshape == "Normal" then
  3262. rngm.MeshId = "rbxassetid://662586858"
  3263. elseif typeofshape == "Round" then
  3264. rngm.MeshId = "rbxassetid://662585058"
  3265. end
  3266. rngm.Scale = scale
  3267. local scaler2 = 1/10
  3268. if type == "Add" then
  3269. scaler2 = 1*value/10
  3270. elseif type == "Divide" then
  3271. scaler2 = 1/value/10
  3272. end
  3273. local randomrot = math.random(1,2)
  3274. coroutine.resume(coroutine.create(function()
  3275. for i = 0,10/bonuspeed,0.1 do
  3276. swait()
  3277. if type == "Add" then
  3278. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  3279. elseif type == "Divide" then
  3280. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  3281. end
  3282. if rotenable == true then
  3283. if randomrot == 1 then
  3284. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  3285. elseif randomrot == 2 then
  3286. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  3287. end
  3288. end
  3289. if typeoftrans == "Out" then
  3290. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3291. elseif typeoftrans == "In" then
  3292. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3293. end
  3294. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  3295. end
  3296. rng:Destroy()
  3297. end))
  3298. end
  3299.  
  3300. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3301. local type = type
  3302. local rng = Instance.new("Part", char)
  3303. rng.Anchored = true
  3304. rng.BrickColor = color
  3305. rng.CanCollide = false
  3306. rng.FormFactor = 3
  3307. rng.Name = "Ring"
  3308. rng.Material = "Neon"
  3309. rng.Size = Vector3.new(1, 1, 1)
  3310. rng.Transparency = 0
  3311. rng.TopSurface = 0
  3312. rng.BottomSurface = 0
  3313. rng.CFrame = pos
  3314. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3315. local rngm = Instance.new("SpecialMesh", rng)
  3316. rngm.MeshType = "Brick"
  3317. rngm.Scale = vt(x1,y1,z1)
  3318. if rainbowmode == true then
  3319. rng.Color = Color3.new(r/255,g/255,b/255)
  3320. end
  3321. local scaler2 = 1
  3322. local speeder = FastSpeed/10
  3323. if type == "Add" then
  3324. scaler2 = 1*value
  3325. elseif type == "Divide" then
  3326. scaler2 = 1/value
  3327. end
  3328. coroutine.resume(coroutine.create(function()
  3329. for i = 0,10/bonuspeed,0.1 do
  3330. swait()
  3331. if rainbowmode == true then
  3332. rng.Color = Color3.new(r/255,g/255,b/255)
  3333. end
  3334. if type == "Add" then
  3335. scaler2 = scaler2 - 0.01*value/bonuspeed
  3336. elseif type == "Divide" then
  3337. scaler2 = scaler2 - 0.01/value*bonuspeed
  3338. end
  3339. if chaosmode == true then
  3340. rng.BrickColor = BrickColor.random()
  3341. end
  3342. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3343. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3344. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3345. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3346. end
  3347. rng:Destroy()
  3348. end))
  3349. end
  3350.  
  3351. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3352. local type = type
  3353. local rng = Instance.new("Part", char)
  3354. rng.Anchored = true
  3355. rng.BrickColor = color
  3356. rng.CanCollide = false
  3357. rng.FormFactor = 3
  3358. rng.Name = "Ring"
  3359. if ModeOfGlitch ~= 666666 then
  3360. rng.Material = "Neon"
  3361. elseif ModeOfGlitch == 666666 then
  3362. rng.Material = "Glass"
  3363. end
  3364. rng.Size = Vector3.new(1, 1, 1)
  3365. rng.Transparency = 0
  3366. rng.TopSurface = 0
  3367. rng.BottomSurface = 0
  3368. rng.CFrame = pos
  3369. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3370. local rngm = Instance.new("SpecialMesh", rng)
  3371. rngm.MeshType = "Brick"
  3372. rngm.Scale = vt(x1,y1,z1)
  3373. if rainbowmode == true then
  3374. rng.Color = Color3.new(r/255,g/255,b/255)
  3375. end
  3376. local scaler2 = 1
  3377. local speeder = FastSpeed/10
  3378. if type == "Add" then
  3379. scaler2 = 1*value
  3380. elseif type == "Divide" then
  3381. scaler2 = 1/value
  3382. end
  3383. coroutine.resume(coroutine.create(function()
  3384. for i = 0,10/bonuspeed,0.1 do
  3385. swait()
  3386. if rainbowmode == true then
  3387. rng.Color = Color3.new(r/255,g/255,b/255)
  3388. end
  3389. if type == "Add" then
  3390. scaler2 = scaler2 - 0.01*value/bonuspeed
  3391. elseif type == "Divide" then
  3392. scaler2 = scaler2 - 0.01/value*bonuspeed
  3393. end
  3394. if chaosmode == true then
  3395. rng.BrickColor = BrickColor.random()
  3396. end
  3397. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3398. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3399. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3400. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3401. end
  3402. rng:Destroy()
  3403. end))
  3404. end
  3405.  
  3406. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3407. local type = type
  3408. local rng = Instance.new("Part", char)
  3409. rng.Anchored = true
  3410. rng.BrickColor = color
  3411. rng.CanCollide = false
  3412. rng.FormFactor = 3
  3413. rng.Name = "Ring"
  3414. rng.Material = "Neon"
  3415. rng.Size = Vector3.new(1, 1, 1)
  3416. rng.Transparency = 0
  3417. rng.TopSurface = 0
  3418. rng.BottomSurface = 0
  3419. rng.CFrame = pos
  3420. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3421. local rngm = Instance.new("SpecialMesh", rng)
  3422. rngm.MeshType = "Brick"
  3423. rngm.Scale = vt(x1,y1,z1)
  3424. if rainbowmode == true then
  3425. rng.Color = Color3.new(r/255,g/255,b/255)
  3426. end
  3427. local scaler2 = 0
  3428. local speeder = FastSpeed/10
  3429. if type == "Add" then
  3430. scaler2 = 1*value
  3431. elseif type == "Divide" then
  3432. scaler2 = 1/value
  3433. end
  3434. coroutine.resume(coroutine.create(function()
  3435. for i = 0,10/bonuspeed,0.1 do
  3436. swait()
  3437. if rainbowmode == true then
  3438. rng.Color = Color3.new(r/255,g/255,b/255)
  3439. end
  3440. if type == "Add" then
  3441. scaler2 = scaler2 - 0.01*value/bonuspeed
  3442. elseif type == "Divide" then
  3443. scaler2 = scaler2 - 0.01/value*bonuspeed
  3444. end
  3445. if chaosmode == true then
  3446. rng.BrickColor = BrickColor.random()
  3447. end
  3448. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3449. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3450. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3451. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3452. end
  3453. rng:Destroy()
  3454. end))
  3455. end
  3456.  
  3457. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3458. local type = type
  3459. local rng = Instance.new("Part", char)
  3460. rng.Anchored = true
  3461. rng.BrickColor = color
  3462. rng.Color = color3
  3463. rng.CanCollide = false
  3464. rng.FormFactor = 3
  3465. rng.Name = "Ring"
  3466. rng.Material = "Neon"
  3467. rng.Size = Vector3.new(1, 1, 1)
  3468. rng.Transparency = 0
  3469. rng.TopSurface = 0
  3470. rng.BottomSurface = 0
  3471. rng.CFrame = pos
  3472. local rngm = Instance.new("SpecialMesh", rng)
  3473. rngm.MeshType = "Brick"
  3474. rngm.Scale = scale
  3475. local scaler2 = 1
  3476. local scaler2b = 1
  3477. local scaler2c = 1
  3478. if type == "Add" then
  3479. scaler2 = 1*value
  3480. scaler2b = 1*value2
  3481. scaler2c = 1*value3
  3482. elseif type == "Divide" then
  3483. scaler2 = 1/value
  3484. scaler2b = 1/value2
  3485. scaler2c = 1/value3
  3486. end
  3487. coroutine.resume(coroutine.create(function()
  3488. for i = 0,10/bonuspeed,0.1 do
  3489. swait()
  3490. if type == "Add" then
  3491. scaler2 = scaler2 - 0.01*value/bonuspeed
  3492. scaler2b = scaler2b - 0.01*value/bonuspeed
  3493. scaler2c = scaler2c - 0.01*value/bonuspeed
  3494. elseif type == "Divide" then
  3495. scaler2 = scaler2 - 0.01/value*bonuspeed
  3496. scaler2b = scaler2b - 0.01/value*bonuspeed
  3497. scaler2c = scaler2c - 0.01/value*bonuspeed
  3498. end
  3499. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3500. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3501. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3502. end
  3503. rng:Destroy()
  3504. end))
  3505. end
  3506.  
  3507. function block2(bonuspeed,aaa,type,pos,scale,value,value2,value3,color,color3)
  3508. local type = type
  3509. local rng = Instance.new("Part", char)
  3510. rng.Anchored = true
  3511. rng.BrickColor = color
  3512. rng.Color = color3
  3513. rng.CanCollide = false
  3514. rng.FormFactor = 3
  3515. rng.Name = "Ring"
  3516. rng.Material = "Neon"
  3517. rng.Size = Vector3.new(1, 1, 1)
  3518. rng.Transparency = 0
  3519. rng.TopSurface = 0
  3520. rng.BottomSurface = 0
  3521. rng.CFrame = pos
  3522. local rngm = Instance.new("SpecialMesh", rng)
  3523. rngm.MeshType = "Brick"
  3524. rngm.Scale = scale
  3525. local scaler2 = 1
  3526. local scaler2b = 1
  3527. local scaler2c = 1
  3528. if type == "Add" then
  3529. scaler2 = 1*value
  3530. scaler2b = 1*value2
  3531. scaler2c = 1*value3
  3532. elseif type == "Divide" then
  3533. scaler2 = 1/value
  3534. scaler2b = 1/value2
  3535. scaler2c = 1/value3
  3536. end
  3537. coroutine.resume(coroutine.create(function()
  3538. for i = 0,10/bonuspeed,aaa do
  3539. swait()
  3540. if type == "Add" then
  3541. scaler2 = scaler2 - 0.01*value/bonuspeed
  3542. scaler2b = scaler2b - 0.01*value/bonuspeed
  3543. scaler2c = scaler2c - 0.01*value/bonuspeed
  3544. elseif type == "Divide" then
  3545. scaler2 = scaler2 - 0.01/value*bonuspeed
  3546. scaler2b = scaler2b - 0.01/value*bonuspeed
  3547. scaler2c = scaler2c - 0.01/value*bonuspeed
  3548. end
  3549. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3550. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3551. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3552. end
  3553. rng:Destroy()
  3554. end))
  3555. end
  3556.  
  3557. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3558. local type = type
  3559. local rng = Instance.new("Part", char)
  3560. rng.Anchored = true
  3561. rng.BrickColor = color
  3562. rng.CanCollide = false
  3563. rng.FormFactor = 3
  3564. rng.Name = "Ring"
  3565. rng.Material = "Neon"
  3566. rng.Size = Vector3.new(1, 1, 1)
  3567. rng.Transparency = 0
  3568. rng.TopSurface = 0
  3569. rng.BottomSurface = 0
  3570. rng.CFrame = pos
  3571. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3572. local rngm = Instance.new("SpecialMesh", rng)
  3573. rngm.MeshType = "Sphere"
  3574. rngm.Scale = vt(x1,y1,z1)
  3575. if rainbowmode == true then
  3576. rng.Color = Color3.new(r/255,g/255,b/255)
  3577. end
  3578. local scaler2 = 1
  3579. local speeder = FastSpeed
  3580. if type == "Add" then
  3581. scaler2 = 1*value
  3582. elseif type == "Divide" then
  3583. scaler2 = 1/value
  3584. end
  3585. coroutine.resume(coroutine.create(function()
  3586. for i = 0,10/bonuspeed,0.1 do
  3587. swait()
  3588. if rainbowmode == true then
  3589. rng.Color = Color3.new(r/255,g/255,b/255)
  3590. end
  3591. if type == "Add" then
  3592. scaler2 = scaler2 - 0.01*value/bonuspeed
  3593. elseif type == "Divide" then
  3594. scaler2 = scaler2 - 0.01/value*bonuspeed
  3595. end
  3596. if chaosmode == true then
  3597. rng.BrickColor = BrickColor.random()
  3598. end
  3599. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3600. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3601. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3602. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3603. end
  3604. rng:Destroy()
  3605. end))
  3606. end
  3607.  
  3608.  
  3609. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3610. local type = type
  3611. local rng = Instance.new("Part", char)
  3612. rng.Anchored = true
  3613. rng.BrickColor = color
  3614. rng.CanCollide = false
  3615. rng.FormFactor = 3
  3616. rng.Name = "Ring"
  3617. rng.Material = "Neon"
  3618. rng.Size = Vector3.new(1, 1, 1)
  3619. rng.Transparency = 1
  3620. rng.TopSurface = 0
  3621. rng.BottomSurface = 0
  3622. rng.CFrame = pos
  3623. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3624. local rngm = Instance.new("SpecialMesh", rng)
  3625. rngm.MeshType = "Sphere"
  3626. rngm.Scale = vt(x1,y1,z1)
  3627. if rainbowmode == true then
  3628. rng.Color = Color3.new(r/255,g/255,b/255)
  3629. end
  3630.  
  3631. local scaler2 = 1
  3632. local speeder = FastSpeed
  3633. if type == "Add" then
  3634. scaler2 = 1*value
  3635. elseif type == "Divide" then
  3636. scaler2 = 1/value
  3637. end
  3638. coroutine.resume(coroutine.create(function()
  3639. for i = 0,10/bonuspeed,0.1 do
  3640. swait()
  3641. if rainbowmode == true then
  3642. rng.Color = Color3.new(r/255,g/255,b/255)
  3643. end
  3644. if type == "Add" then
  3645. scaler2 = scaler2 - 0.01*value/bonuspeed
  3646. elseif type == "Divide" then
  3647. scaler2 = scaler2 - 0.01/value*bonuspeed
  3648. end
  3649. if chaosmode == true then
  3650. rng.BrickColor = BrickColor.random()
  3651. end
  3652. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3653. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3654. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3655. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3656. end
  3657. rng:Destroy()
  3658. end))
  3659. end
  3660.  
  3661. function dmg(dude)
  3662. if dude.Name ~= Character then
  3663. local keptcolor = MAINRUINCOLOR
  3664. local bgf = Instance.new("BodyGyro",dude.Head)
  3665. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3666. --[[local val = Instance.new("BoolValue",dude)
  3667. val.Name = "IsHit"]]--
  3668. local ds = coroutine.wrap(function()
  3669. dude:WaitForChild("Head"):BreakJoints()
  3670. for i, v in pairs(dude:GetChildren()) do
  3671. if v:IsA("Part") or v:IsA("BasePart") then
  3672. v.Name = "DEMINISHED"
  3673. end
  3674. end
  3675. wait(0.5)
  3676. targetted = nil
  3677. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3678. coroutine.resume(coroutine.create(function()
  3679. for i, v in pairs(dude:GetChildren()) do
  3680. if v:IsA("Accessory") then
  3681. v:Destroy()
  3682. end
  3683. if v:IsA("Humanoid") then
  3684. v:Destroy()
  3685. end
  3686. if v:IsA("CharacterMesh") then
  3687. v:Destroy()
  3688. end
  3689. if v:IsA("Model") then
  3690. v:Destroy()
  3691. end
  3692. if v:IsA("Part") or v:IsA("BasePart") then
  3693. for x, o in pairs(v:GetChildren()) do
  3694. if o:IsA("Decal") then
  3695. o:Destroy()
  3696. end
  3697. end
  3698. coroutine.resume(coroutine.create(function()
  3699. v.Material = "Neon"
  3700. v.CanCollide = false
  3701. v.Anchored = false
  3702. local bld = Instance.new("ParticleEmitter",v)
  3703. bld.LightEmission = 0.75
  3704. bld.Texture = "rbxassetid://363275192" ---284205403
  3705. bld.Color = ColorSequence.new(keptcolor.Color)
  3706. bld.Rate = 500
  3707. bld.Lifetime = NumberRange.new(1)
  3708. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3709. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3710. bld.Speed = NumberRange.new(2,5)
  3711. bld.VelocitySpread = 50000
  3712. bld.Rotation = NumberRange.new(-500,500)
  3713. bld.RotSpeed = NumberRange.new(-500,500)
  3714. local sbs = Instance.new("BodyPosition", v)
  3715. sbs.P = 3000
  3716. sbs.D = 1000
  3717. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3718. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3719. v.Color = keptcolor.Color
  3720. coroutine.resume(coroutine.create(function()
  3721. for i = 0, 49 do
  3722. swait(1)
  3723. v:BreakJoints()
  3724. v.Transparency = v.Transparency + 0.02
  3725. end
  3726. v:BreakJoints()
  3727. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3728. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3729. bld.Speed = NumberRange.new(10,25)
  3730. bld.Drag = 5
  3731. bld.Acceleration = vt(0,2,0)
  3732. wait(0.5)
  3733. bld.Enabled = false
  3734. wait(8)
  3735. v:Destroy()
  3736. dude:Destroy()
  3737. end))
  3738. end))
  3739. end
  3740. end
  3741. end))
  3742. end)
  3743. ds()
  3744. end
  3745. end
  3746.  
  3747.  
  3748. function FindNearestHead(Position, Distance, SinglePlayer)
  3749. if SinglePlayer then
  3750. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3751. end
  3752. local List = {}
  3753. for i, v in pairs(workspace:GetChildren()) do
  3754. if v:IsA("Model") then
  3755. if v:findFirstChild("Head") then
  3756. if v ~= Character then
  3757. if (v.Head.Position - Position).magnitude <= Distance then
  3758. table.insert(List, v)
  3759. end
  3760. end
  3761. end
  3762. end
  3763. end
  3764. return List
  3765. end
  3766.  
  3767. function FaceMouse()
  3768. Cam = workspace.CurrentCamera
  3769. return {
  3770. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3771. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3772. }
  3773. end
  3774.  
  3775. function FaceMouse2()
  3776. Cam = workspace.CurrentCamera
  3777. return {
  3778. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3779. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3780. }
  3781. end
  3782.  
  3783.  
  3784. -- Functions are ready.
  3785. local storehumanoidWS = 16
  3786.  
  3787. function createBGCircle(size,parent,color)
  3788. local bgui = Instance.new("BillboardGui",parent)
  3789. bgui.Size = UDim2.new(size, 0, size, 0)
  3790. local imgc = Instance.new("ImageLabel",bgui)
  3791. imgc.BackgroundTransparency = 1
  3792. imgc.ImageTransparency = 0
  3793. imgc.Size = UDim2.new(1,0,1,0)
  3794. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  3795. imgc.ImageColor3 = color
  3796. return bgui,imgc
  3797. end
  3798.  
  3799. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  3800. local bgui,imgc = createBGCircle(size,guipar,color)
  3801. bgui.AlwaysOnTop = true
  3802. imgc.Image = "rbxassetid://" ..img
  3803. local rrot = math.random(1,2)
  3804. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  3805. coroutine.resume(coroutine.create(function()
  3806. for i = 0, 24*delay do
  3807. swait()
  3808. if rotationenabled == true then
  3809. if rrot == 1 then
  3810. imgc.Rotation = imgc.Rotation + rotsp
  3811. elseif rrot == 2 then
  3812. imgc.Rotation = imgc.Rotation - rotsp
  3813. end
  3814. end
  3815. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  3816. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  3817. end
  3818. bgui:Destroy()
  3819. end))
  3820. end
  3821.  
  3822.  
  3823.  
  3824. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled,sectrailenabled,mainenabled)
  3825. for i, v in pairs(mwY:GetChildren()) do
  3826. if v:IsA("Part") then
  3827. v.Color = (typeof(one) == 'Color3' and one or one.Color)
  3828. v.Material = "Neon"
  3829. end
  3830. end
  3831. for i, v in pairs(mw2:GetDescendants()) do
  3832. if v:IsA("Part") or v:IsA("BasePart") then
  3833. v.Color = (typeof(one) == 'Color3' and one or one.Color)
  3834. v.Material = "Neon"
  3835. if mainenabled == true then
  3836. v.Transparency = 0
  3837. elseif mainenabled == false then
  3838. v.Transparency = 1
  3839. end
  3840. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  3841. v.Color = ColorSequence.new((typeof(one) == 'Color3' and one or one.Color))
  3842. if mainenabled == true then
  3843. v.Enabled = true
  3844. elseif mainenabled == false then
  3845. v.Enabled = false
  3846. end
  3847. end
  3848. end
  3849. for i, v in pairs(mw1:GetDescendants()) do
  3850. if v:IsA("Part") or v:IsA("BasePart") then
  3851. v.Color = (typeof(two) == 'Color3' and two or two.Color)
  3852. v.Material = "Neon"
  3853. if secondaryenabled == true then
  3854. v.Transparency = 0
  3855. elseif secondaryenabled == false then
  3856. v.Transparency = 1
  3857. end
  3858. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  3859. v.Color = ColorSequence.new((typeof(two) == 'Color3' and two or two.Color))
  3860. if secondaryenabled == true then
  3861. v.Enabled = true
  3862. elseif secondaryenabled == false then
  3863. v.Enabled = false
  3864. end
  3865. end
  3866. end
  3867. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  3868. symbolizeBlink(root,0,2092248396,(typeof(one) == 'Color3' and one or one.Color),5,3,1,847061203,root,true,10,1)
  3869. symbolizeBlink(root,0,2092248396,(typeof(one) == 'Color3' and one or one.Color),4,0,0,0,root,true,-5,1)
  3870. refec.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3871. for i, v in pairs(m:GetChildren()) do
  3872. if v:IsA("Part") then
  3873. v.BrickColor = three
  3874. v.Material = "Ice"
  3875. end
  3876. end
  3877. for i, v in pairs(m2:GetChildren()) do
  3878. if v:IsA("Part") then
  3879. v.BrickColor = four
  3880. v.Material = "Ice"
  3881. end
  3882. end
  3883. for i, v in pairs(m3:GetChildren()) do
  3884. if v:IsA("Part") then
  3885. v.BrickColor = five
  3886. v.Material = "Neon"
  3887. end
  3888. end
  3889. for i, v in pairs(extrawingmod1:GetChildren()) do
  3890. if v:IsA("Part") then
  3891. v.Transparency = exonetran
  3892. v.BrickColor = exone
  3893. v.Material = "Neon"
  3894. end
  3895. end
  3896. if sectrailenabled == true then
  3897. tl4.Enabled = true
  3898. tl5.Enabled = true
  3899. tl6.Enabled = true
  3900. tr4.Enabled = true
  3901. tr5.Enabled = true
  3902. tr6.Enabled = true
  3903. tl4.Color = ColorSequence.new(exone.Color)
  3904. tl5.Color = ColorSequence.new(exone.Color)
  3905. tl6.Color = ColorSequence.new(exone.Color)
  3906. tr4.Color = ColorSequence.new(extwo.Color)
  3907. tr5.Color = ColorSequence.new(extwo.Color)
  3908. tr6.Color = ColorSequence.new(extwo.Color)
  3909. elseif sectrailenabled == false then
  3910. tl4.Enabled = false
  3911. tl5.Enabled = false
  3912. tl6.Enabled = false
  3913. tr4.Enabled = false
  3914. tr5.Enabled = false
  3915. tr6.Enabled = false
  3916. end
  3917. for i, v in pairs(extrawingmod2:GetChildren()) do
  3918. if v:IsA("Part") then
  3919. v.Transparency = extwotran
  3920. v.BrickColor = extwo
  3921. v.Material = "Neon"
  3922. end
  3923. end
  3924. end
  3925.  
  3926. function attacktwo()
  3927. attack = true
  3928. hum.WalkSpeed = 2
  3929. local keptcolor = MAINRUINCOLOR
  3930. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  3931. 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)
  3932. 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)
  3933. for i = 0, 14 do
  3934. 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)
  3935. end
  3936. for i = 0,1,0.1 do
  3937. swait()
  3938. 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)
  3939. 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)
  3940. 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)
  3941. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  3942. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  3943. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  3944. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  3945. end
  3946. for i = 0, 1 do
  3947. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  3948. for i = 0,1,0.6 do
  3949. swait()
  3950. 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)
  3951. 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"))
  3952. 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)
  3953. 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)
  3954. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  3955. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3956. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3957. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3958. end
  3959. for i = 0,1,0.6 do
  3960. swait()
  3961. 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)
  3962. 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"))
  3963. 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)
  3964. 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)
  3965. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  3966. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3967. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3968. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3969. end
  3970. for i = 0,1,0.6 do
  3971. swait()
  3972. 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)
  3973. 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"))
  3974. 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)
  3975. 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)
  3976. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  3977. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3978. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3979. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3980. end
  3981. for i = 0,1,0.6 do
  3982. swait()
  3983. 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)
  3984. 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"))
  3985. 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)
  3986. 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)
  3987. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  3988. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3989. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3990. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3991. end
  3992. local rot = 0
  3993. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  3994. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  3995. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  3996. CreateMesh(dis,"Sphere",10,1,10)
  3997. local at1 = Instance.new("Attachment",dis)
  3998. at1.Position = vt(-5,0,0)
  3999. local at2 = Instance.new("Attachment",dis)
  4000. at2.Position = vt(5,0,0)
  4001. local trl = Instance.new('Trail',wed)
  4002. trl.Attachment0 = at1
  4003. trl.Attachment1 = at2
  4004. trl.Texture = "rbxassetid://1049219073"
  4005. trl.LightEmission = 1
  4006. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4007. trl.Color = ColorSequence.new(dis.Color)
  4008. trl.Lifetime = 0.6
  4009. local a = Instance.new("Part",workspace)
  4010. a.Name = "Direction"
  4011. a.Anchored = true
  4012. a.BrickColor = bc("Bright red")
  4013. a.Material = "Neon"
  4014. a.Transparency = 1
  4015. a.CanCollide = false
  4016. local ray = Ray.new(
  4017. dis.CFrame.p, -- origin
  4018. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  4019. )
  4020. local ignore = dis
  4021. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4022. a.BottomSurface = 10
  4023. a.TopSurface = 10
  4024. local distance = (dis.CFrame.p - position).magnitude
  4025. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4026. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  4027. dis.CFrame = a.CFrame
  4028. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4029. a:Destroy()
  4030. local bv = Instance.new("BodyVelocity")
  4031. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4032. bv.velocity = dis.CFrame.lookVector*250
  4033. bv.Parent = dis
  4034. game:GetService("Debris"):AddItem(dis, 5)
  4035. local hitted = false
  4036. coroutine.resume(coroutine.create(function()
  4037. dis.Touched:connect(function(hit)
  4038. if hitted == false and hit.Parent ~= char then
  4039. hitted = true
  4040. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  4041. CamShakeAll({
  4042. Duration=0.4; -- Lasts for .1 seconds
  4043. Intensity=3; -- Intensity of 5
  4044. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  4045. Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation)
  4046. DropDist=60; -- Camera dist from origin when the shake starts to gradually get weaker
  4047. IneffectiveDist=80; -- Camera dist from origin when the shake goes away
  4048. Origin=dis.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  4049. })
  4050. MagniDamage(dis, 30, 13,36, 0, "Normal")
  4051. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  4052. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,SECONDRUINCOLOR,SECONDRUINCOLOR.Color)
  4053. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,SECONDRUINCOLOR,SECONDRUINCOLOR.Color)
  4054. local eff = Instance.new("ParticleEmitter",dis)
  4055. eff.Texture = "rbxassetid://2344870656"
  4056. eff.LightEmission = 1
  4057. eff.Color = ColorSequence.new(dis.Color)
  4058. eff.Rate = 10000000
  4059. eff.Enabled = true
  4060. eff.EmissionDirection = "Front"
  4061. eff.Lifetime = NumberRange.new(1)
  4062. 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)})
  4063. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4064. eff.Speed = NumberRange.new(150)
  4065. eff.Drag = 5
  4066. eff.Rotation = NumberRange.new(-500,500)
  4067. eff.SpreadAngle = Vector2.new(0,900)
  4068. eff.RotSpeed = NumberRange.new(-500,500)
  4069. delay(0.2, function() eff.Enabled = false end)
  4070. coroutine.resume(coroutine.create(function()
  4071. for i = 0, 9 do
  4072. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  4073. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4074. local at1 = Instance.new("Attachment",disr)
  4075. at1.Position = vt(-5,0,0)
  4076. local at2 = Instance.new("Attachment",disr)
  4077. at2.Position = vt(5,0,0)
  4078. local trl = Instance.new('Trail',disr)
  4079. trl.Attachment0 = at1
  4080. trl.FaceCamera = true
  4081. trl.Attachment1 = at2
  4082. trl.Texture = "rbxassetid://2342682798"
  4083. trl.LightEmission = 1
  4084. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4085. trl.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
  4086. trl.Lifetime = 0.5
  4087. local bv = Instance.new("BodyVelocity")
  4088. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4089. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  4090. bv.Parent = disr
  4091. local val = 0
  4092. coroutine.resume(coroutine.create(function()
  4093. swait(30)
  4094. for i = 0, 9 do
  4095. swait()
  4096. val = val + 0.1
  4097. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  4098. end
  4099. game:GetService("Debris"):AddItem(disr, 3)
  4100. end))
  4101. end
  4102. local eff = Instance.new("ParticleEmitter",dis)
  4103. eff.Texture = "rbxassetid://2273224484"
  4104. eff.LightEmission = 1
  4105. eff.Color = ColorSequence.new(keptcolor.Color)
  4106. eff.Rate = 500000
  4107. eff.Lifetime = NumberRange.new(0.5,2)
  4108. 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)})
  4109. 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)})
  4110. eff.Speed = NumberRange.new(20,250)
  4111. eff.Drag = 5
  4112. eff.Rotation = NumberRange.new(-500,500)
  4113. eff.VelocitySpread = 9000
  4114. eff.RotSpeed = NumberRange.new(-50,50)
  4115. wait(0.25)
  4116. eff.Enabled = false
  4117. end))
  4118. for i = 0, 9 do
  4119. 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)
  4120. end
  4121. for i = 0, 19 do
  4122. 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)
  4123. end
  4124. dis.Anchored = true
  4125. dis.Transparency = 1
  4126. wait(8)
  4127. dis:Destroy()
  4128. end
  4129. end)
  4130. end))
  4131. rot = rot - 15
  4132. end
  4133. for i = 0,2,0.1 do
  4134. swait()
  4135. 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)
  4136. 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)
  4137. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  4138. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  4139. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  4140. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  4141. end
  4142. attack = false
  4143. hum.WalkSpeed = storehumanoidWS
  4144. end
  4145.  
  4146. function attackone()
  4147. attack = true
  4148. symbolizeBlink(sorb,0,2109052855,MAINRUINCOLOR.Color,1.5,5,0.9,1614005837,sorb,true,10,1)
  4149. symbolizeBlink(sorb,0,2109052855,SECONDRUINCOLOR.Color,1.6,5,1,1923591005,sorb,true,10,1)
  4150. symbolizeBlink(sorb,0,2092248396,MAINRUINCOLOR.Color,3,0,0,0,sorb,true,10,1.25)
  4151. symbolizeBlink(sorb,0,2344870656,SECONDRUINCOLOR.Color,10,0,0,0,sorb,true,10,1.5)
  4152. for i = 0,1,0.1 do
  4153. swait()
  4154. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  4155. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  4156. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  4157. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4158. 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)
  4159. 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)
  4160. end
  4161. coroutine.resume(coroutine.create(function()
  4162. local hite = Instance.new("Part", char)
  4163. hite.Anchored = true
  4164. hite.CanCollide = false
  4165. hite.FormFactor = 3
  4166. hite.Name = "Ring"
  4167. hite.Material = "Neon"
  4168. hite.Size = Vector3.new(1, 1, 1)
  4169. hite.Transparency = 1
  4170. hite.TopSurface = 0
  4171. hite.BottomSurface = 0
  4172. local eff = Instance.new("ParticleEmitter",hite)
  4173. eff.Texture = "rbxassetid://2273224484"
  4174. eff.LightEmission = 1
  4175. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4176. eff.Rate = 90000000
  4177. eff.Lifetime = NumberRange.new(0.5,2)
  4178. 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)})
  4179. 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)})
  4180. eff.Speed = NumberRange.new(20,90)
  4181. eff.Drag = 5
  4182. eff.Rotation = NumberRange.new(-500,500)
  4183. eff.VelocitySpread = 9000
  4184. eff.RotSpeed = NumberRange.new(-50,50)
  4185. local distlook = 12.5
  4186. for i = 0, 4 do
  4187. swait(4)
  4188. hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
  4189. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,SECONDRUINCOLOR)
  4190. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
  4191. CamShakeAll({
  4192. Duration=0.25; -- Lasts for .1 seconds
  4193. Intensity=1.75; -- Intensity of 5
  4194. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  4195. Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation)
  4196. DropDist=35; -- Camera dist from origin when the shake starts to gradually get weaker
  4197. IneffectiveDist=65; -- Camera dist from origin when the shake goes away
  4198. Origin=hite.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  4199. })
  4200. MagniDamage(hite, 11.5, 10,25, 0, "Normal")
  4201. for i = 0, 21 do
  4202. 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)
  4203. 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)
  4204. end
  4205. CFuncs["Sound"].Create("rbxassetid://183763506", hite, 3, 1)
  4206. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 0.6)
  4207. game:GetService("Debris"):AddItem(hite, 5)
  4208. distlook = distlook + 15
  4209. end
  4210. wait(0.5)
  4211. eff.Enabled = false
  4212. wait(3.1)
  4213. eff:Destroy()
  4214. end))
  4215. for i = 0,2,0.1 do
  4216. swait()
  4217. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  4218. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  4219. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  4220. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  4221. 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)
  4222. 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)
  4223. end
  4224. attack = false
  4225. end
  4226.  
  4227. function attackthree()
  4228. attack = true
  4229. hum.WalkSpeed = 5
  4230. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.5)
  4231. for i = 0,3.5,0.1 do
  4232. swait()
  4233. 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)
  4234. 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)
  4235. 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)
  4236. 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)
  4237. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  4238. 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)
  4239. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  4240. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  4241. end
  4242. for i = 0, 24 do
  4243. 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)
  4244. end
  4245. CamShakeAll({
  4246. Duration=1; -- Lasts for .1 seconds
  4247. Intensity=2; -- Intensity of 5
  4248. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  4249. Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation)
  4250. DropDist=50; -- Camera dist from origin when the shake starts to gradually get weaker
  4251. IneffectiveDist=120; -- Camera dist from origin when the shake goes away
  4252. Origin=root.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  4253. })
  4254. MagniDamage(root,50,20,45,0,"Normal")
  4255. coroutine.resume(coroutine.create(function()
  4256. for i = 0, 46 do
  4257. swait()
  4258. 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)
  4259. 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)
  4260. end
  4261. end))
  4262. CFuncs["Sound"].Create("rbxassetid://206082327", root, 5,1)
  4263. CFuncs["Sound"].Create("rbxassetid://847061203", root, 6,1)
  4264. CFuncs["Sound"].Create("rbxassetid://239000203", root, 5,1)
  4265. CFuncs["Sound"].Create("rbxassetid://579687077", root, 5,0.75)
  4266. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7,1)
  4267. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  4268. CFuncs["Sound"].Create("rbxassetid://782353443", root, 4.5, 1)
  4269. for i = 0,3,0.1 do
  4270. swait()
  4271. 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)
  4272. 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)
  4273. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  4274. 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)
  4275. 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)
  4276. 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)
  4277. end
  4278. hum.WalkSpeed = storehumanoidWS
  4279. attack = false
  4280. end
  4281.  
  4282. local blush = Instance.new("Decal",hed)
  4283. blush.Texture = "rbxassetid://898404027"
  4284. blush.Face = "Front"
  4285. blush.Parent = nil
  4286. blush.Transparency = 1
  4287. ----------------------------------- Abilities
  4288.  
  4289. function ExtinctiveHeartbreak()
  4290. local targetted = nil
  4291. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4292. targetted = mouse.Target.Parent
  4293. end
  4294. if targetted ~= nil then
  4295. attack = true
  4296. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  4297. for i = 0, 9 do
  4298. 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)
  4299. end
  4300. for i = 0, 24 do
  4301. 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)
  4302. end
  4303. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4304. local originalpos = root.CFrame
  4305. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  4306. for i = 0, 9 do
  4307. 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)
  4308. end
  4309. for i = 0, 24 do
  4310. 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)
  4311. end
  4312. hum.WalkSpeed = 0
  4313. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4314. local radm = math.random(1,3)
  4315. if radm == 1 then
  4316. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  4317. elseif radm == 2 then
  4318. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  4319. elseif radm == 3 then
  4320. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  4321. end
  4322. for i = 0,2,0.1 do
  4323. swait()
  4324. 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)
  4325. 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)
  4326. 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)
  4327. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  4328. 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)
  4329. 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)
  4330. end
  4331. CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
  4332. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
  4333. for i = 0,2,0.1 do
  4334. swait()
  4335. coroutine.resume(coroutine.create(function()
  4336. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  4337. for i,v in pairs(targetted:GetChildren()) do
  4338. if v:IsA("Part") or v:IsA("BasePart") then
  4339. v.Velocity = vt(0,0,0)
  4340. end
  4341. end
  4342. end))
  4343. 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)
  4344. 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)
  4345. 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)
  4346. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  4347. 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)
  4348. 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)
  4349. end
  4350. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
  4351. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
  4352. for i = 0, 1 do
  4353. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
  4354. end
  4355. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
  4356. chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  4357. for i = 0,4,0.1 do
  4358. swait()
  4359. coroutine.resume(coroutine.create(function()
  4360. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  4361. 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)))
  4362. local at1 = Instance.new("Attachment",dis)
  4363. at1.Position = vt(-25000,0,0)
  4364. local at2 = Instance.new("Attachment",dis)
  4365. at2.Position = vt(25000,0,0)
  4366. local trl = Instance.new('Trail',dis)
  4367. trl.Attachment0 = at1
  4368. trl.FaceCamera = true
  4369. trl.Attachment1 = at2
  4370. trl.Texture = "rbxassetid://1049219073"
  4371. trl.LightEmission = 1
  4372. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4373. trl.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
  4374. trl.Lifetime = 5
  4375. local bv = Instance.new("BodyVelocity")
  4376. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4377. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  4378. bv.Parent = dis
  4379. game:GetService("Debris"):AddItem(dis, 5)
  4380. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  4381. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  4382. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  4383. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  4384. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  4385. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  4386. 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)
  4387. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  4388. for i = 0, 2 do
  4389. 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)
  4390. end
  4391. symbolizeBlink(targetted.Head,0,2092248396,MAINRUINCOLOR.Color,math.random(3,35),0,0,0,targetted.Head,true,math.random(3,9),0.25)
  4392. for i,v in pairs(targetted:GetChildren()) do
  4393. if v:IsA("Part") or v:IsA("BasePart") then
  4394. v.Velocity = vt(0,0,0)
  4395. end
  4396. end
  4397. end))
  4398. CamShakeAll({
  4399. Duration=.1; -- Lasts for .1 seconds
  4400. Intensity=5; -- Intensity of 5
  4401. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  4402. Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation)
  4403. DropDist=200; -- Camera dist from origin when the shake starts to gradually get weaker
  4404. IneffectiveDist=300; -- Camera dist from origin when the shake goes away
  4405. Origin=sorb.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  4406. })
  4407. 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)
  4408. 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)
  4409. 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)
  4410. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  4411. 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)
  4412. 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)
  4413. end
  4414. for i = 0, 49 do
  4415. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  4416. 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)))
  4417. local at1 = Instance.new("Attachment",dis)
  4418. at1.Position = vt(-50000,0,0)
  4419. local at2 = Instance.new("Attachment",dis)
  4420. at2.Position = vt(50000,0,0)
  4421. local trl = Instance.new('Trail',dis)
  4422. trl.Attachment0 = at1
  4423. trl.FaceCamera = true
  4424. trl.Attachment1 = at2
  4425. trl.Texture = "rbxassetid://1049219073"
  4426. trl.LightEmission = 1
  4427. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4428. trl.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
  4429. trl.Lifetime = 5
  4430. local bv = Instance.new("BodyVelocity")
  4431. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4432. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  4433. bv.Parent = dis
  4434. game:GetService("Debris"):AddItem(dis, 5)
  4435. end
  4436. for i = 0, 49 do
  4437. 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)
  4438. 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)
  4439. end
  4440. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  4441. for i = 0, 1 do
  4442. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  4443. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  4444. end
  4445. for i = 0, 4 do
  4446. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  4447. end
  4448. symbolizeBlink(targetted.Head,0,2109052855,MAINRUINCOLOR.Color,30,0,0,0,root,false,0,1)
  4449. symbolizeBlink(targetted.Head,0,2109052855,MAINRUINCOLOR.Color,30,0,0,0,root,false,0,2)
  4450. symbolizeBlink(targetted.Head,0,2109052855,MAINRUINCOLOR.Color,30,0,0,0,root,false,0,4)
  4451. dmg(targetted)
  4452. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  4453. for i = 0, 9 do
  4454. 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)
  4455. end
  4456. for i = 0, 24 do
  4457. 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)
  4458. end
  4459. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4460. root.CFrame = originalpos
  4461. for i = 0, 9 do
  4462. 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)
  4463. end
  4464. for i = 0, 24 do
  4465. 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)
  4466. end
  4467. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4468. attack = false
  4469. hum.WalkSpeed = storehumanoidWS
  4470. end
  4471. end
  4472.  
  4473. local stealth = false
  4474. function StealthWarped()
  4475. if stealth then
  4476. return
  4477. end
  4478. attack = true
  4479. stealth = true
  4480. hum.WalkSpeed = 0
  4481. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  4482. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  4483. for i = 0, 4, 0.1 do
  4484. swait()
  4485. block(10,"Add",sorb.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4486. block(10,"Add",sorb2.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4487. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  4488. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  4489. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  4490. end
  4491. sphere2(4,"Add",sorb2.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  4492. sphere2(2,"Add",sorb2.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  4493. sphere2(4,"Add",sorb.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  4494. sphere2(2,"Add",sorb.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  4495. CFuncs["Sound"].Create("rbxassetid://840567549", root, 10, 1)
  4496. newTheme("rbxassetid://0",48.6,1,0.8)
  4497. char.Head.Transparency = 0.5
  4498. char["Left Arm"].Transparency = 0.5
  4499. char["Left Leg"].Transparency = 0.5
  4500. char["Right Arm"].Transparency = 0.5
  4501. char["Right Leg"].Transparency = 0.5
  4502. char.Torso.Transparency = 0.5
  4503. attack = false
  4504. hum.WalkSpeed = 60
  4505. storehumanoidWS = 60
  4506. swait(400)
  4507. char.Head.Transparency = 0
  4508. char["Left Arm"].Transparency = 0
  4509. char["Left Leg"].Transparency = 0
  4510. char["Right Arm"].Transparency = 0
  4511. char["Right Leg"].Transparency = 0
  4512. char.Torso.Transparency = 0
  4513. stealth = false
  4514. storehumanoidWS = 16
  4515. hum.WalkSpeed = storehumanoidWS
  4516. newTheme("rbxassetid://1119453744",48.6,1,0.8)
  4517. end
  4518.  
  4519. function QuickSnap()
  4520. hum.WalkSpeed = 1
  4521. attack = true
  4522. for i = 0,0.5,0.1 do
  4523. swait()
  4524. 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)
  4525. 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)
  4526. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4527. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.2)
  4528. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(50)),.2)
  4529. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-50)),.2)
  4530. end
  4531. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  4532. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,SECONDRUINCOLOR)
  4533. for i = 0, 24 do
  4534. 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)
  4535. end
  4536. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  4537. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  4538. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  4539. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  4540. local eff = Instance.new("ParticleEmitter",sorb2)
  4541. eff.Texture = "rbxassetid://2273224484"
  4542. eff.LightEmission = 1
  4543. eff.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
  4544. eff.Rate = 900000000
  4545. eff.Lifetime = NumberRange.new(0.5,2)
  4546. 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)})
  4547. 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)})
  4548. eff.Speed = NumberRange.new(50,250)
  4549. eff.Drag = 5
  4550. eff.Rotation = NumberRange.new(-500,500)
  4551. eff.VelocitySpread = 9000
  4552. eff.RotSpeed = NumberRange.new(-50,50)
  4553. local eff2 = eff:Clone()
  4554. eff2.Parent = sorb
  4555. eff2.LightEmission = 0
  4556. eff2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4557. for i = 0,4,0.1 do
  4558. swait(1)
  4559. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  4560. local dis = CreateParta(char,0.25,1,"Neon",SECONDRUINCOLOR)
  4561. CreateMesh(dis,"Sphere",1,1,1)
  4562. dis.Anchored = true
  4563. dis.CFrame = sorb2.CFrame
  4564. local dis2 = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  4565. CreateMesh(dis2,"Sphere",1,1,1)
  4566. dis2.Anchored = true
  4567. dis2.CFrame = sorb.CFrame
  4568. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  4569. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  4570. game:GetService("Debris"):AddItem(dis, 5)
  4571. game:GetService("Debris"):AddItem(dis2, 5)
  4572. 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)
  4573. 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)
  4574. 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)
  4575. 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)
  4576. 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)
  4577. 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)
  4578. 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)
  4579. 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)
  4580. coroutine.resume(coroutine.create(function()
  4581. swait(5)
  4582. coroutine.resume(coroutine.create(function()
  4583. CamShakeAll({
  4584. Duration=0.25; -- Lasts for .1 seconds
  4585. Intensity=0.9; -- Intensity of 5
  4586. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  4587. Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation)
  4588. DropDist=75; -- Camera dist from origin when the shake starts to gradually get weaker
  4589. IneffectiveDist=125; -- Camera dist from origin when the shake goes away
  4590. Origin=dis.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  4591. })
  4592. CamShakeAll({
  4593. Duration=0.25; -- Lasts for .1 seconds
  4594. Intensity=0.9; -- Intensity of 5
  4595. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  4596. Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation)
  4597. DropDist=75; -- Camera dist from origin when the shake starts to gradually get weaker
  4598. IneffectiveDist=125; -- Camera dist from origin when the shake goes away
  4599. Origin=dis2.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  4600. })
  4601. end))
  4602. swait(20)
  4603. dis.Transparency = 1
  4604. dis2.Transparency = 1
  4605. MagniDamage(dis, 55, 50,99, 0, "Normal")
  4606. MagniDamage(dis2, 55, 50,99, 0, "Normal")
  4607. for i = 0, 2 do
  4608. 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)
  4609. 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)
  4610. end
  4611. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  4612. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  4613. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  4614. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  4615. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  4616. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  4617. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  4618. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  4619. dis:Destroy()
  4620. dis2:Destroy()
  4621. end))
  4622. end
  4623. eff.Enabled=false
  4624. eff2.Enabled=false
  4625. attack = false
  4626. hum.WalkSpeed = storehumanoidWS
  4627. wait(2)
  4628. eff:Destroy()
  4629. eff2:Destroy()
  4630. end
  4631.  
  4632. function Ballesta_Shards()
  4633. attack = true
  4634. hum.WalkSpeed = 2
  4635. local keptcolor = BrickColor.new("Really red")
  4636. local keptcolor2 = SECONDRUINCOLOR
  4637. local rval = 0
  4638. local eval = 1
  4639. for i = 0,3,0.1 do
  4640. swait()
  4641. rval = rval + 30
  4642. eval = eval + 1.5
  4643. 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)
  4644. 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)
  4645. 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)
  4646. 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)
  4647. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35 - 2 * math.cos(sine / 37)),math.rad(0),math.rad(0)),.3)
  4648. 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)
  4649. 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)
  4650. end
  4651. for i = 0, 19 do
  4652. 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)
  4653. end
  4654. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 4,1)
  4655. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  4656. CFuncs["Sound"].Create("rbxassetid://1310128035", root, 9, 0.9)
  4657. CFuncs["Sound"].Create("rbxassetid://199145739", root, 3,1)
  4658. MagniDamage(root, 50, 40,50, 0, "Normal")
  4659. sphere2(2,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),2,2,2,keptcolor,keptcolor.Color)
  4660. sphere2(3,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),2,2,2,keptcolor2,keptcolor2.Color)
  4661.  
  4662. coroutine.resume(coroutine.create(function()
  4663. for i = 0, 51 do
  4664. swait()
  4665. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  4666. dis.BrickColor = keptcolor
  4667. dis.Anchored = true
  4668. local at1 = Instance.new("Attachment",dis)
  4669. at1.Position = vt(-0.25,0,0)
  4670. local at2 = Instance.new("Attachment",dis)
  4671. at2.Position = vt(0.25,0,0)
  4672. local trl = Instance.new('Trail',dis)
  4673. trl.Attachment0 = at1
  4674. trl.FaceCamera = true
  4675. trl.Attachment1 = at2
  4676. trl.Texture = "rbxassetid://1049219073"
  4677. trl.LightEmission = 1
  4678. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4679. trl.Color = ColorSequence.new(dis.Color)
  4680. trl.Lifetime = 0.6
  4681. dis.Velocity = vt(math.random(-50,50),math.random(125,210),math.random(-50,50))
  4682. CFuncs["Sound"].Create("rbxassetid://199145967", dis, 0.1,1)
  4683. 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)))
  4684. CreateMesh(dis,"Sphere",0.5,0.5,4)
  4685. dis.Anchored = false
  4686. coroutine.resume(coroutine.create(function()
  4687. wait(1)
  4688. local a = Instance.new("Part",workspace)
  4689. a.Name = "Direction"
  4690. a.Anchored = true
  4691. a.BrickColor = bc("Bright red")
  4692. a.Material = "Neon"
  4693. a.Transparency = 1
  4694. a.CanCollide = false
  4695. local ray = Ray.new(
  4696. dis.CFrame.p, -- origin
  4697. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  4698. )
  4699. local ignore = dis
  4700. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4701. a.BottomSurface = 10
  4702. a.TopSurface = 10
  4703. local distance = (dis.CFrame.p - position).magnitude
  4704. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4705. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  4706. dis.CFrame = a.CFrame
  4707. a:Destroy()
  4708. local bv = Instance.new("BodyVelocity")
  4709. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4710. bv.velocity = dis.CFrame.lookVector*200
  4711. bv.Parent = dis
  4712. game:GetService("Debris"):AddItem(dis, 5)
  4713. local hitted = false
  4714. coroutine.resume(coroutine.create(function()
  4715. dis.Touched:connect(function(hit)
  4716. if hitted == false and hit.Parent ~= char then
  4717. hitted = true
  4718. CFuncs["Sound"].Create("rbxassetid://199146035", dis, 1.5,1)
  4719. MagniDamage(dis, 20, 10,20, 0, "Normal")
  4720. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor2,keptcolor2.Color)
  4721. sphere2(8,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  4722. coroutine.resume(coroutine.create(function()
  4723. local eff = Instance.new("ParticleEmitter",dis)
  4724. eff.Texture = "rbxassetid://2344870656"
  4725. eff.LightEmission = 1
  4726. eff.Color = ColorSequence.new(dis.Color)
  4727. eff.Rate = 10000000
  4728. eff.Enabled = true
  4729. --eff.EmissionDirection = "Front"
  4730. eff.Lifetime = NumberRange.new(0.5)
  4731. 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)})
  4732. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4733. eff.Speed = NumberRange.new(100)
  4734. eff.Drag = 5
  4735. eff.Rotation = NumberRange.new(-500,500)
  4736. eff.SpreadAngle = Vector2.new(0,900)
  4737. eff.RotSpeed = NumberRange.new(-500,500)
  4738. wait(0.1)
  4739. eff.Enabled = false
  4740. end))
  4741. coroutine.resume(coroutine.create(function()
  4742. local eff = Instance.new("ParticleEmitter",dis)
  4743. eff.Texture = "rbxassetid://695499847"
  4744. eff.LightEmission = 1
  4745. eff.Color = ColorSequence.new(dis.Color)
  4746. eff.Rate = 500000
  4747. eff.Lifetime = NumberRange.new(0.5,2)
  4748. 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)})
  4749. 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)})
  4750. eff.Speed = NumberRange.new(20,150)
  4751. eff.Drag = 5
  4752. eff.Rotation = NumberRange.new(-500,500)
  4753. eff.VelocitySpread = 9000
  4754. eff.RotSpeed = NumberRange.new(-150,150)
  4755. wait(0.5)
  4756. eff.Enabled = false
  4757. end))
  4758. dis.Anchored = true
  4759. dis.Transparency = 1
  4760. wait(8)
  4761. dis:Destroy()
  4762. end
  4763. end)
  4764. end))
  4765. end))
  4766. end
  4767. end))
  4768. coroutine.resume(coroutine.create(function()
  4769. local eff = Instance.new("ParticleEmitter",root)
  4770. eff.Texture = "rbxassetid://695499847"
  4771. eff.LightEmission = 0
  4772. eff.Color = ColorSequence.new(BrickColor.new("Crimson").Color)
  4773. eff.Rate = 500000
  4774. eff.Lifetime = NumberRange.new(0.5,2)
  4775. 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)})
  4776. 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)})
  4777. eff.Speed = NumberRange.new(30,250)
  4778. eff.Drag = 5
  4779. eff.Rotation = NumberRange.new(-500,500)
  4780. eff.VelocitySpread = 9000
  4781. eff.RotSpeed = NumberRange.new(-150,150)
  4782. wait(1.5)
  4783. eff.Enabled = false
  4784. end))
  4785. local eval2 = 1
  4786. sphere2(1,"Add",root.CFrame,vt(12.5,1,12.5),-0.05,3,-0.05,keptcolor)
  4787. sphere2(1,"Add",root.CFrame,vt(25,1,25),-0.1,6,-0.1,keptcolor2)
  4788. CamShakeAll({
  4789. Duration=0.6; -- Lasts for .1 seconds
  4790. Intensity=2; -- Intensity of 5
  4791. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  4792. Rotation=Vector3.new(2,2,4); -- What axises the shake effects and how much (rotation)
  4793. DropDist=130; -- Camera dist from origin when the shake starts to gradually get weaker
  4794. IneffectiveDist=165; -- Camera dist from origin when the shake goes away
  4795. Origin=root.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  4796. })
  4797. for i = 0,9,0.1 do
  4798. swait()
  4799. rval = rval + 20
  4800. eval = eval + 1.5
  4801. eval2 = eval2 + 10
  4802. 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)
  4803. 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)
  4804. 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)
  4805. 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)
  4806. 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)
  4807. 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)
  4808. 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)
  4809. end
  4810. attack = false
  4811. hum.WalkSpeed = storehumanoidWS
  4812. end
  4813.  
  4814.  
  4815. function CursedSlash()
  4816. attack = true
  4817. hum.WalkSpeed = 2
  4818. local keptcolor = BrickColor.new("Black")
  4819. local keptcolor2 = SECONDRUINCOLOR
  4820. for i = 0,3,0.1 do
  4821. swait()
  4822. 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)
  4823. 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)
  4824. 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)
  4825. 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)
  4826. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0 - 1.5 * math.cos(sine / 32)), math.rad(0 - 0.5 * math.cos(sine / 32)), math.rad(0 - 0.5 * math.cos(sine / 32))), 0.1)
  4827. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(162 - 2 * math.cos(sine / 32)), math.rad(35), math.rad(-5 + 1.5 * math.cos(sine / 32))), 0.1)
  4828. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(15 - 2 * math.cos(sine / 32)), math.rad(0), math.rad(15 - 2 * math.cos(sine / 32))), 0.1)
  4829. end
  4830. MagniDamage(sword, 2, 15,30, 0, "Normal")
  4831. CamShakeAll({
  4832. Duration=0.6; -- Lasts for .1 seconds
  4833. Intensity=2; -- Intensity of 5
  4834. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  4835. Rotation=Vector3.new(2,2,4); -- What axises the shake effects and how much (rotation)
  4836. DropDist=130; -- Camera dist from origin when the shake starts to gradually get weaker
  4837. IneffectiveDist=165; -- Camera dist from origin when the shake goes away
  4838. Origin=root.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  4839. })
  4840. for i = 0,9,0.1 do
  4841. swait()
  4842. slash(math.random(40,70)/10,5,true,"Round","Add","Out",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)
  4843. MagniDamage(sword, 10, 1,5, 0, "Normal")
  4844. 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)
  4845. 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)
  4846. 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)
  4847. 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)
  4848. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),-0.2)*angles(math.rad(17),math.rad(-360),math.rad(-15)),.1)
  4849. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.1)
  4850. end
  4851. attack = false
  4852. hum.WalkSpeed = storehumanoidWS
  4853. end
  4854. function desstomp()
  4855. attack = true
  4856. bosschatfunc("To the depths of hell...",MAINRUINCOLOR.Color,4)
  4857. for i = 0, 8, 0.1 do
  4858. swait()
  4859. 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)
  4860. 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)
  4861. 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)
  4862. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4863. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4864. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4865. end
  4866. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  4867. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  4868. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do
  4869. if v:FindFirstChild('Head') then
  4870. dmg(v)
  4871. end
  4872. end
  4873. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,MAINRUINCOLOR)
  4874. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,MAINRUINCOLOR)
  4875. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,MAINRUINCOLOR)
  4876. bosschatfunc("YOU GO!",MAINRUINCOLOR.Color,4)
  4877. CamShakeAll({
  4878. Duration=0.2; -- Lasts for .1 seconds
  4879. Intensity=4; -- Intensity of 5
  4880. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  4881. Rotation=Vector3.new(2,2,4); -- What axises the shake effects and how much (rotation)
  4882. DropDist=200; -- Camera dist from origin when the shake starts to gradually get weaker
  4883. IneffectiveDist=250; -- Camera dist from origin when the shake goes away
  4884. Origin=root.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  4885. })
  4886. for i = 0, 6, 0.1 do
  4887. swait()
  4888. 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)
  4889. 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)
  4890. 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)
  4891. 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)
  4892. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4893. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  4894. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.4)
  4895. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.4)
  4896. end
  4897. attack = false
  4898. end
  4899. function destaunt()
  4900. attack = true
  4901. bosschatfunc("Did you expect a different and more recognisable name? My bad.",MAINRUINCOLOR.Color,4)
  4902. for i = 0,20,0.1 do
  4903. swait()
  4904. 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)
  4905. 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)
  4906. 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)
  4907. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 5 * math.cos(sine / 10)),math.rad(0),math.rad(34)),.1)
  4908. 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)
  4909. 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)
  4910. end
  4911. attack = false
  4912. end
  4913. -------------------------------------
  4914.  
  4915. if Humanoid:findFirstChild("Animator")~=nil then
  4916. Humanoid:findFirstChild("Animator").Parent=nil
  4917. end
  4918.  
  4919. if Character:findFirstChild("Animate")~=nil then
  4920. Character:findFirstChild("Animate").Parent=nil
  4921. end
  4922. local TransformCD = false
  4923. hum.WalkSpeed = 16
  4924. -------------------------------------
  4925.  
  4926. local NewInstance = function(instance,parent,properties)
  4927. local inst = Instance.new(instance,parent)
  4928. if(properties)then
  4929. for i,v in next, properties do
  4930. pcall(function() inst[i] = v end)
  4931. end
  4932. end
  4933. return inst;
  4934. end
  4935.  
  4936. local attacktype = 1
  4937. mouse.Button1Down:connect(function()
  4938. if attack == false and attacktype == 1 then
  4939. attacktype = 2
  4940. attackone()
  4941. elseif attack == false and attacktype == 2 then
  4942. attacktype = 3
  4943. attacktwo()
  4944. elseif attack == false and attacktype == 3 then
  4945. attacktype = 1
  4946. attackthree()
  4947. elseif attack == false and attacktype == 4 then
  4948. attacktype = 1
  4949. --attackfour()
  4950. end
  4951. end)
  4952.  
  4953. local modeInformation={
  4954. {Name='COMMOTIAUS',ThemePitch=1,Walkspeed=16,Rainbow=false,Chaos=false,Theme="rbxassetid://2071274388",Volume=1.2,TextColor=BrickColor.new("Bright bluish green").Color,Stroke=Color3.new(0,0.3,1),Font='SciFi',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};
  4955. {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};
  4956. {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};
  4957. {Name='LACONISM',ThemePitch=.8,Walkspeed=9,Rainbow=false,Chaos=false,Theme="rbxassetid://2668496921",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};
  4958. {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};
  4959. {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};
  4960. {Name='CURSED',ThemePitch=0.5,Walkspeed=20,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};
  4961. {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};
  4962. {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};
  4963. {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};
  4964. {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};
  4965. {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};
  4966. {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};
  4967. {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};
  4968. {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};
  4969. {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};
  4970. }
  4971.  
  4972.  
  4973. --Ench 565863302
  4974.  
  4975. --407122850 2128439818 1134696007
  4976. --^ die
  4977.  
  4978. --[[local modeInformation2={ v v v for future flying modetypes
  4979. {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};
  4980. {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};
  4981. {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};
  4982. }]]
  4983.  
  4984. RecolorTextAndRename("COMMOTIAUS",MAINRUINCOLOR.Color,Color3.new(0,0.3,1),Enum.Font.SciFi)
  4985.  
  4986. mouse.KeyDown:connect(function(k)
  4987. if stealth==false and k == "q" and attack == false and TransformCD == false or stealth==false and k == "e" and attack == false and FlyingTypes==false and TransformCD == false then
  4988. local pmode=ModeOfGlitch
  4989. attack = true
  4990. hum.WalkSpeed = 5
  4991. TransformCD = true
  4992. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.8)
  4993.  
  4994. for i = 0,2,0.1 do
  4995. swait()
  4996. 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)
  4997. 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)
  4998. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.1,-0.1)* angles(math.rad(20),math.rad(0),math.rad(0)),0.3)
  4999. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(35),math.rad(0),math.rad(0)),.3)
  5000. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  5001. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  5002. 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)
  5003. 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)
  5004. end
  5005. swait(4)
  5006. if k == "e" then
  5007. ModeOfGlitch = ModeOfGlitch + 1
  5008. elseif k == "q" then
  5009. ModeOfGlitch = ModeOfGlitch - 1
  5010. end
  5011. if ModeOfGlitch > #modeInformation then
  5012. ModeOfGlitch = 1
  5013. end
  5014. if ModeOfGlitch < 1 then
  5015. ModeOfGlitch = #modeInformation
  5016. end
  5017. local info = modeInformation[ModeOfGlitch]
  5018. if(info and pmode~=ModeOfGlitch)then
  5019. storehumanoidWS = info.Walkspeed
  5020. hum.WalkSpeed = info.Walkspeed
  5021. MAINRUINCOLOR = info.MainColor
  5022. SECONDRUINCOLOR = info.SecColor
  5023. sphere2(3,"Add",tors.CFrame,vt(1,1,1),0.25,0.25,0.25,MAINRUINCOLOR)
  5024. sphere2(4,"Add",tors.CFrame,vt(1,1,1),0.5,0.5,0.5,SECONDRUINCOLOR)
  5025. sphere2(5,"Add",tors.CFrame,vt(1,1,1),0.75,0.75,0.75,MAINRUINCOLOR)
  5026. for i = 0, 24 do
  5027. 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)
  5028. end
  5029. CFuncs["Sound"].Create("rbxassetid://206082327", root, 5,1)
  5030. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7,1)
  5031. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5032. CFuncs["Sound"].Create("rbxassetid://1310128035", root, 9, 0.9)
  5033. hum.WalkSpeed = storehumanoidWS
  5034. rainbowmode = info.Rainbow
  5035. chaosmode = info.Chaos
  5036. cp = info.Theme:gsub("rbxassetid://","")
  5037. newTheme(info.Theme,0,info.ThemePitch,info.Volume)
  5038. RecolorTextAndRename(info.Name,info.TextColor,info.Stroke,info.Font)
  5039. 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)
  5040. if ModeOfGlitch==11 then
  5041. for i, v in pairs(mw2:GetDescendants()) do
  5042. if v:IsA("Part") or v:IsA("BasePart") then
  5043. v.Color = Color3.new(0.35,0,0)
  5044. v.Material = "Neon"
  5045. v.Transparency = 0
  5046. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  5047. v.Color = ColorSequence.new(Color3.new(MRANDOM(0,1),0,0))
  5048. v.Enabled = true
  5049. end
  5050. end
  5051. end
  5052. for i = 0,2.5,0.1 do
  5053. swait()
  5054. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,-0.1)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.3)
  5055. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-35),math.rad(0),math.rad(0)),.3)
  5056. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(35)), 0.3)
  5057. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-35)), 0.3)
  5058. 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)
  5059. 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)
  5060. end
  5061. attack = false
  5062. wait(0.3)
  5063. TransformCD = false
  5064. end
  5065. end
  5066. if k == "i" and mutedtog == false then
  5067. mutedtog = true
  5068. kan.Volume = 0
  5069. elseif k == "i" and mutedtog == true then
  5070. mutedtog = false
  5071. kan.Volume = 1.25
  5072. end
  5073. if k == "h" then
  5074. local ggagag=math.random(1,4)
  5075. if ggagag==1 then
  5076. newbosschatfunc("ok.",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,200)
  5077. elseif ggagag==2 then
  5078. newbosschatfunc("s",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,200)
  5079. elseif ggagag==3 then
  5080. newbosschatfunc("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,200)
  5081. elseif ggagag==4 then
  5082. newbosschatfunc("g",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,200)
  5083. end
  5084. end
  5085. if k == "z" and attack == false and ModeOfGlitch == 1 then
  5086. ExtinctiveHeartbreak()
  5087. elseif k == "z" and attack == false and ModeOfGlitch == 12 then
  5088. StealthWarped()
  5089. elseif k == "z" and attack == false and ModeOfGlitch == 11 then
  5090. Ballesta_Shards()
  5091. elseif k == "z" and attack == false and ModeOfGlitch == 7 then
  5092. CursedSlash()
  5093. elseif k == "z" and attack == false and ModeOfGlitch == 9 then
  5094. QuickSnap()
  5095. elseif k == "z" and attack == false and ModeOfGlitch == 10 then
  5096. desstomp()
  5097. elseif k == "b" and attack == false and ModeOfGlitch == 10 then
  5098. destaunt()
  5099. end
  5100. end)
  5101.  
  5102. plr.Chatted:connect(function(message)
  5103. newbosschatfunc(message,MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,200)
  5104. end)
  5105.  
  5106. local no=0
  5107. local no2=0
  5108. local spin=0
  5109. coroutine.resume(coroutine.create(function()
  5110. while true do
  5111. swait()
  5112. spin=spin+1
  5113.  
  5114.  
  5115. if ModeOfGlitch ~= 7 then
  5116. for i,v in pairs(script.BloodCurse.BloodCurse:GetChildren()) do
  5117. if v:IsA("Part") then
  5118. v.Transparency = 1
  5119. end
  5120. end
  5121. elseif ModeOfGlitch == 7 then
  5122. for i,v in pairs(script.BloodCurse.BloodCurse:GetChildren()) do
  5123. if v:IsA("Part") then
  5124. v.Transparency = 0
  5125. end
  5126. end
  5127. end
  5128.  
  5129.  
  5130.  
  5131. if ModeOfGlitch == 5 and attack==false or ModeOfGlitch==10 and attack==false then
  5132. no=no+1
  5133. if no>3 then
  5134. no=0
  5135. local rsiz = math.random(1,3)
  5136. 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)
  5137. 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)
  5138. end
  5139. end
  5140.  
  5141.  
  5142. if ModeOfGlitch==8 or ModeOfGlitch==10 or ModeOfGlitch==12 or ModeOfGlitch==14 then
  5143. effar.Enabled = true
  5144. effar.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5145. rotperm = rotperm + 2
  5146. no2=no2+1
  5147. if no2>4 then
  5148. no2=0
  5149. 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)
  5150. 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)
  5151. 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)
  5152. 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)
  5153. 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)
  5154. 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)
  5155. 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)
  5156. 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)
  5157. end
  5158. if ModeOfGlitch==10 then
  5159. 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)
  5160. else
  5161. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(0,1,0),0.15,0.01,0.15,SECONDRUINCOLOR)
  5162. end
  5163. else
  5164. effar.Enabled = false
  5165. end
  5166.  
  5167. if ModeOfGlitch == 1 then
  5168. local hitfloor2,posfloor2=rayCast(RootPart.Position,-RootPart.CFrame.upVector,100,Character)
  5169. if hitfloor2 then
  5170. 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)
  5171. 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)
  5172. 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)
  5173. 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)
  5174. end
  5175. elseif ModeOfGlitch == 4 then
  5176. 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)
  5177. 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)
  5178. elseif ModeOfGlitch == 8 or ModeOfGlitch == 10 or ModeOfGlitch==12 or ModeOfGlitch==14 then
  5179. 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)
  5180. 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)
  5181. elseif ModeOfGlitch == 11 then
  5182. if hitfloor ~= nil then
  5183. 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)
  5184. 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)
  5185. end
  5186. elseif ModeOfGlitch == 2 or ModeOfGlitch == 3 or ModeOfGlitch==5 or ModeOfGlitch==6 then
  5187. 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)
  5188. elseif ModeOfGlitch == 13 then
  5189. no=no+1
  5190. if no>4 then
  5191. no=0
  5192. 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)
  5193. 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)
  5194. end
  5195. elseif ModeOfGlitch==15 and GetClientProperty(kan,'PlaybackLoudness')/850 > .4 then
  5196. 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)
  5197.  
  5198. elseif ModeOfGlitch==16 then
  5199. 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)
  5200. 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)
  5201.  
  5202. end
  5203. end
  5204. end))
  5205.  
  5206.  
  5207. for i,v in pairs(script.BloodCurse.BloodCurse:GetChildren()) do
  5208. v.Anchored = false
  5209. end
  5210.  
  5211. rotperm = 0
  5212.  
  5213.  
  5214. Humanoid.Name = "ETHEREAL"
  5215. Humanoid.MaxHealth = math.huge
  5216. Humanoid.Health = math.huge
  5217. Instance.new("ForceField",char).Visible = false
  5218.  
  5219. local bguis = Instance.new("BillboardGui",tors)
  5220. bguis.Size = UDim2.new(25, 0, 25, 0)
  5221. local imgca = Instance.new("ImageLabel",bguis)
  5222. imgca.BackgroundTransparency = 1
  5223. imgca.ImageTransparency = 1
  5224. imgca.Size = UDim2.new(1,0,1,0)
  5225. imgca.Image = "rbxassetid://2344830904" --997291547,521073910,2312119891,2344830904
  5226. imgca.ImageColor3 = Color3.new(0,0,0)
  5227. local rvalu = 0
  5228.  
  5229. idleanim=.4
  5230. local hai=0
  5231. local hai2=1
  5232. local khhkh=0
  5233. local asine1=0
  5234. local asine2=0
  5235. local asine3=0
  5236. local hahahaaa={"Black","Crimson","Maroon","Bright red","Cocoa","Really red"}
  5237. while true do
  5238. ggg()
  5239. if ModeOfGlitch==5 then
  5240. hai=hai+1
  5241. if hai>math.random(2,5) then
  5242. hai=0
  5243. if hai2==1 then
  5244. hai2=2
  5245. MAINRUINCOLOR = BrickColor.new("Really black")
  5246. SECONDRUINCOLOR = BrickColor.new("Really black")
  5247. else
  5248. hai2=1
  5249. MAINRUINCOLOR = BrickColor.new(hahahaaa[math.random(1,#hahahaaa)])
  5250. SECONDRUINCOLOR = BrickColor.new(hahahaaa[math.random(1,#hahahaaa)])
  5251. end
  5252. end
  5253. end
  5254. if khhkh<50 then
  5255. khhkh=khhkh+1
  5256. end
  5257.  
  5258. if khhkh>12 then
  5259.  
  5260. asine1=asine1+change
  5261. end
  5262.  
  5263. if khhkh>24 then
  5264. asine2=asine2+change
  5265. end
  5266.  
  5267. if khhkh>36 then
  5268. asine3=asine3+change
  5269. end
  5270. if mutedtog == false then
  5271. kan.Volume = currentVol
  5272. elseif mutedtog == true then
  5273. kan.Volume = 0
  5274. end
  5275. local what = math.random()*0.6
  5276. if ModeOfGlitch == 5 then
  5277. modet.TextStrokeColor3 = Color3.new(what,0,0)
  5278. modet.TextColor3 = Color3.new(math.random(0,255)/255,0,0)
  5279. for i, v in pairs(mwY:GetChildren()) do
  5280. if v:IsA("Part") then
  5281. v.Color = Color3.new(MRANDOM(0,1),0,0)
  5282. v.Material = "Neon"
  5283. end
  5284. end
  5285. for i, v in pairs(mw2:GetDescendants()) do
  5286. if v:IsA("Part") or v:IsA("BasePart") then
  5287. v.Color = Color3.new(what,0,0)
  5288. v.Material = "Neon"
  5289. v.Transparency = 0
  5290. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  5291. v.Color = ColorSequence.new(Color3.new(MRANDOM(0,1),0,0))
  5292. v.Enabled = true
  5293. end
  5294. end
  5295. for i, v in pairs(mw1:GetDescendants()) do
  5296. if v:IsA("Part") or v:IsA("BasePart") then
  5297. v.Color = Color3.new(MRANDOM(0,1),0,0)
  5298. v.Material = "Neon"
  5299. v.Transparency = 0
  5300. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  5301. v.Color = ColorSequence.new(Color3.new(MRANDOM(0,1),0,0))
  5302. v.Enabled = true
  5303. end
  5304. end
  5305. end
  5306. local what = math.random()*0.6
  5307. if ModeOfGlitch == 4 then
  5308. local gay = math.random()
  5309. modet.TextStrokeColor3 = Color3.new(gay,gay,gay)
  5310. modet.TextColor3 = Color3.new(gay,gay,gay)
  5311. for i, v in pairs(mwY:GetChildren()) do
  5312. if v:IsA("Part") then
  5313. v.Color = Color3.new(gay,gay,gay)
  5314. v.Material = "Neon"
  5315. end
  5316. end
  5317. for i, v in pairs(mw2:GetDescendants()) do
  5318. if v:IsA("Part") or v:IsA("BasePart") then
  5319. v.Color = Color3.new(gay,gay,gay)
  5320. v.Material = "Neon"
  5321. v.Transparency = 0
  5322. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  5323. v.Color = ColorSequence.new(Color3.new(gay,gay,gay))
  5324. v.Enabled = true
  5325. end
  5326. end
  5327. for i, v in pairs(mw1:GetDescendants()) do
  5328. if v:IsA("Part") or v:IsA("BasePart") then
  5329. v.Color = Color3.new(gay,gay,gay)
  5330. v.Material = "Neon"
  5331. v.Transparency = 0
  5332. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  5333. v.Color = ColorSequence.new(Color3.new(gay,gay,gay))
  5334. v.Enabled = true
  5335. end
  5336. end
  5337. end
  5338. kan:ClearAllChildren()
  5339. local succ = pcall(function()
  5340. kan.PlaybackSpeed = currentPitch
  5341. end)
  5342. if(not succ)then
  5343. local tp = kan.TimePosition
  5344. kan = Instance.new("Sound",Torso)
  5345. kan.PlaybackSpeed = currentPitch
  5346. kan.TimePosition = tp
  5347. kan.Name = "wrecked"
  5348. kan.Looped = true
  5349. kan:Play()
  5350. end
  5351. pcall(function()
  5352. kan.Pitch = currentPitch
  5353. kan.Volume = currentVol
  5354. kan.SoundId = currentThemePlaying
  5355. kan.Looped = true
  5356. kan.Parent = Torso
  5357. kan:Resume()
  5358. end)
  5359. 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
  5360. imgca.ImageTransparency = 1
  5361. 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
  5362. imgca.ImageColor3 = MAINRUINCOLOR.Color
  5363. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  5364. elseif ModeOfGlitch == 090 then
  5365. imgca.ImageColor3 = Color3.new(r/255,g/255,b/255)
  5366. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  5367. end
  5368. imgca.Rotation = imgca.Rotation + 5 + GetClientProperty(kan,'PlaybackLoudness')/100
  5369. bguis.Size = UDim2.new(15 + 3 * math.cos(sine / 30),0, 15 + 3 * math.cos(sine / 30),0)
  5370. modet.Rotation = - 5 * math.cos(sine / 32)
  5371. nedf.Rotation = 0 - 2 * math.cos(sine / 24)
  5372. --nedf.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  5373. fullscreenz.BackgroundColor3 = SECONDRUINCOLOR.Color
  5374. fullscreenz.BorderColor3 = MAINRUINCOLOR.Color
  5375. hh1.BackgroundColor3 = MAINRUINCOLOR.Color
  5376. hh2.BackgroundColor3 = MAINRUINCOLOR.Color
  5377. hh3.BackgroundColor3 = MAINRUINCOLOR.Color
  5378. hh1.Position=UDim2.new(-.1-.02*math.cos(asine3/66), 0, .5, 0)
  5379. hh2.Position=UDim2.new(-.14-.02*math.cos(asine2/66), 0, .5, 0)
  5380. hh3.Position=UDim2.new(-.16-.02*math.cos(asine1/66), 0, .5, 0)
  5381. hh1.Rotation=0+.8*math.sin(asine1/66)
  5382. hh2.Rotation=0+.8*math.sin(asine2/66)
  5383. nedf.TextColor3=SECONDRUINCOLOR.Color
  5384. nedf.TextStrokeColor3=MAINRUINCOLOR.Color
  5385. fullscreenz.Rotation=0+.8*math.sin(sine/66)
  5386. vis1.BackgroundColor3 = MAINRUINCOLOR.Color
  5387. vis2.BackgroundColor3 = MAINRUINCOLOR.Color
  5388. vis3.BackgroundColor3 = MAINRUINCOLOR.Color
  5389. vis4.BackgroundColor3 = MAINRUINCOLOR.Color
  5390. vis5.BackgroundColor3 = MAINRUINCOLOR.Color
  5391.  
  5392. vis1.Size = UDim2.new(.1, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/330, 0)
  5393. vis2.Size = UDim2.new(.07, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/410, 0)
  5394. vis3.Size = UDim2.new(.045, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/470, 0)
  5395. vis4.Size = UDim2.new(.03, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/540, 0)
  5396. vis5.Size = UDim2.new(.012, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/590, 0)
  5397.  
  5398. CameraManager()
  5399. swait()
  5400. kan:Resume()
  5401. if ModeOfGlitch == 2 or ModeOfGlitch == 15 or ModeOfGlitch == 16 then
  5402. rvalu = rvalu + 0.25 + GetClientProperty(kan,'PlaybackLoudness')/90
  5403. else
  5404. rvalu = rvalu + 0.5
  5405. end
  5406. if ModeOfGlitch==2 then
  5407. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5408. handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5409. 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)
  5410. 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)
  5411. 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)
  5412. 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)
  5413. 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)
  5414. 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)
  5415. elseif ModeOfGlitch == 3 or ModeOfGlitch==16 then
  5416. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5417. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5418. 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)
  5419. 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)
  5420. 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)
  5421. 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)
  5422. 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)
  5423. 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)
  5424. elseif ModeOfGlitch==4 then
  5425. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5426. handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5427. 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)
  5428. 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)
  5429. 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)
  5430. 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)
  5431. 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)
  5432. 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)
  5433. elseif ModeOfGlitch == 5 then
  5434. 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)
  5435. 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)
  5436. 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)
  5437. 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)
  5438. 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)
  5439. 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)
  5440. elseif ModeOfGlitch==11 then
  5441. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5442. handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5443. 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)
  5444. 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)
  5445. 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)
  5446. 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)
  5447. 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)
  5448. 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)
  5449. elseif ModeOfGlitch==12 or ModeOfGlitch==13 then
  5450. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5451. handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5452. 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)
  5453. 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)
  5454. 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)
  5455. 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)
  5456. 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)
  5457. 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)
  5458. elseif ModeOfGlitch==14 then
  5459. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5460. handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5461. 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)
  5462. 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)
  5463. 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)
  5464. 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)
  5465. 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)
  5466. 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)
  5467. elseif ModeOfGlitch==15 then
  5468. for i = 6, 2, -1 do
  5469. visWings[i]=visWings[i-1]
  5470. end
  5471. visWings[1]=GetClientProperty(kan,'PlaybackLoudness')/250
  5472. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5473. handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5474. 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)
  5475. 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)
  5476. 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)
  5477. 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)
  5478. 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)
  5479. 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)
  5480.  
  5481. else
  5482. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5483. handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5484. 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)
  5485. 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)
  5486. 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)
  5487. 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)
  5488. 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)
  5489. 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)
  5490. end
  5491. sine = sine + change
  5492. SINE=SINE+change
  5493. if(ModeOfGlitch==16)then
  5494.  
  5495. end
  5496.  
  5497. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  5498. local velderp=RootPart.Velocity.y
  5499. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  5500. if equipped==true or equipped==false then
  5501. if attack==false then
  5502. idle=idle+1
  5503. else
  5504. idle=0
  5505. end
  5506. if idle>=500 then
  5507. if attack==false then
  5508. --Sheath()
  5509. end
  5510. end
  5511. if RootPart.Velocity.y > 1 and hitfloor==nil then
  5512. Anim="Jump"
  5513. if attack==false then
  5514. 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)
  5515. 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)
  5516. 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)
  5517. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  5518. 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)
  5519. 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)
  5520. end
  5521. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  5522. Anim="Fall"
  5523. if attack==false then
  5524. 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)
  5525. 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)
  5526. 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)
  5527. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  5528. 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)
  5529. 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)
  5530. end
  5531. elseif torvel<1 and hitfloor~=nil then
  5532. Anim="Idle"
  5533. if attack==false then
  5534. if ModeOfGlitch == 2 then
  5535. 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)
  5536. 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)
  5537. 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)
  5538. 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)
  5539. 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)
  5540. 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)
  5541. elseif ModeOfGlitch == 3 then
  5542. local snap = math.random(1,32)
  5543. if snap == 1 then
  5544. 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)
  5545. end
  5546. 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)
  5547. 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)
  5548. 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)
  5549. 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)
  5550. 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)
  5551. 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)
  5552. elseif ModeOfGlitch == 4 then
  5553. local snap = math.random(1,24)
  5554. if snap == 1 then
  5555. 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)
  5556. end
  5557. local snap = math.random(1,78)
  5558. if snap == 1 then
  5559. 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)
  5560. end
  5561. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3.5+ 1 * math.cos(sine / 45)),math.rad(0),math.rad(0)),.1)
  5562. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3.5+ 1 * math.cos(sine / 45)),math.rad(0),math.rad(0)),.1)
  5563. 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)
  5564. 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)
  5565. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(2 + 5 * math.cos(sine / 74)+math.random(-5,5)),math.rad(1 - 3 * math.cos(sine / 53)+math.random(-5,5)),math.rad(14 + 5 * math.sin(sine / 45)+math.random(-5,5))),.1)
  5566. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5 - 3 * math.cos(sine / 73)+math.random(-5,5)),math.rad(2 - 1 * math.cos(sine / 55)+math.random(-5,5)),math.rad(-14 - 6 * math.sin(sine / 45)+math.random(-5,5))),.1)
  5567. elseif ModeOfGlitch == 5 then
  5568. 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)
  5569. 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)
  5570. 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)
  5571. 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)
  5572. 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)
  5573. 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)
  5574. elseif ModeOfGlitch == 6 then -- soon to change anim
  5575. 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)
  5576. 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)
  5577. 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)
  5578. 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)
  5579. 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)
  5580. 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)
  5581. elseif ModeOfGlitch == 7 then -- Cursed by Unfair
  5582. local rsiz = math.random(1,2)
  5583. 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)
  5584. 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)
  5585. 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)
  5586. 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)
  5587. 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)
  5588. 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)
  5589. 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)
  5590. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(134 - 0.2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(47 - 0.2 * math.cos(sine / 45))),.1)
  5591. elseif ModeOfGlitch == 8 then -- Accession by Unfair
  5592. 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)
  5593. 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)
  5594. 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)
  5595. 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)
  5596. 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)
  5597. 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)
  5598. elseif ModeOfGlitch == 9 then -- Descented by Unfair
  5599. 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)
  5600. 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)
  5601. 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)
  5602. 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)
  5603. 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)
  5604. 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)
  5605. elseif ModeOfGlitch == 10 then
  5606. local snap = math.random(1,100)
  5607. if snap == 1 then
  5608. 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)
  5609. end
  5610. 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)
  5611. 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)
  5612. 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)
  5613. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 3 * math.cos(sine / 45)),math.rad(0),math.rad(34)),.1)
  5614. 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)
  5615. 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)
  5616. elseif ModeOfGlitch == 11 then
  5617. 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)
  5618. 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)
  5619. 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)
  5620. 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)
  5621. 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)
  5622. 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)
  5623. elseif ModeOfGlitch == 12 then
  5624. 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)
  5625. 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)
  5626. 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)
  5627. 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)
  5628. 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)
  5629. 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)
  5630. elseif ModeOfGlitch == 13 then
  5631. 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)
  5632. 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)
  5633. 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)
  5634. 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)
  5635. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(180),math.rad(45),math.rad(0)),.1)
  5636. 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(10)),.1)
  5637. elseif ModeOfGlitch == 14 then
  5638. 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)
  5639. 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)
  5640. 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)
  5641. 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)
  5642. 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)
  5643. 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)
  5644.  
  5645. elseif(ModeOfGlitch == 15)then -- Antecedent
  5646. local snap = math.random(1,10)
  5647. if snap == 1 then
  5648. 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)
  5649. end
  5650. 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)
  5651. 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)
  5652. 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)
  5653. 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)
  5654. 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)
  5655. 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)
  5656. elseif(ModeOfGlitch == 16)then -- Balanced
  5657. --Balanced Anim by Derpz
  5658. -- ^ thanks Derpz
  5659. local color = math.random(0,1)
  5660. 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))
  5661.  
  5662. 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)
  5663. 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)
  5664. 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)
  5665. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 3 * math.cos(sine / 45)),math.rad(0),math.rad(0)),.1)
  5666. 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)
  5667. 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)
  5668.  
  5669. else
  5670. local snap = math.random(1,10)
  5671. if snap == 1 then
  5672. 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)
  5673. end
  5674. 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)
  5675. 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)
  5676. 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)
  5677. 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)
  5678. 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)
  5679. 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)
  5680. end
  5681. end
  5682. elseif torvel>2 and Humanoid.WalkSpeed<32 and hitfloor~=nil then
  5683. Anim="Walk"
  5684. if attack==false then
  5685. if ModeOfGlitch == 3 then
  5686. 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)
  5687. 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)
  5688. 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)
  5689. 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)
  5690. 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)
  5691. 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)
  5692. elseif ModeOfGlitch == 4 then
  5693. local snap = math.random(1,24)
  5694. if snap == 1 then
  5695. 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)
  5696. end
  5697. local snap = math.random(1,48)
  5698. if snap == 1 then
  5699. 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)
  5700. end
  5701. 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)
  5702. 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)
  5703. 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)
  5704. 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)
  5705. 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)
  5706. 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)
  5707. elseif ModeOfGlitch == 7 then
  5708. local rsiz = math.random(1,2)
  5709. 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)
  5710. 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)
  5711. 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)
  5712. 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)
  5713. 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)
  5714. 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)
  5715. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.025 * math.cos(sine / 8))*angles(math.rad(-25 - 5 * math.cos(sine / 4)),math.rad(0),math.rad(25 - 0.015 * math.cos(sine / 4))),.1)
  5716. 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)
  5717. elseif ModeOfGlitch==12 then
  5718. 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)
  5719. 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)
  5720. 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)
  5721. 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)
  5722. 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)
  5723. 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)
  5724. else
  5725. 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)
  5726. 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)
  5727. 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)
  5728. 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)
  5729. 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)
  5730. 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)
  5731. end
  5732. end
  5733. elseif torvel>=4 and Humanoid.WalkSpeed>=32 and hitfloor~=nil then
  5734. Anim="Run"
  5735. if attack==false then
  5736. if ModeOfGlitch==8 or ModeOfGlitch==10 or ModeOfGlitch == 14 or ModeOfGlitch==12 then
  5737. 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)
  5738. 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)
  5739. 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)
  5740. 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)
  5741. 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)
  5742. 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)
  5743. else
  5744. 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)
  5745. 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)
  5746. 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)
  5747. 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)
  5748. 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)
  5749. 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)
  5750. 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)
  5751. 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)
  5752. end
  5753. end
  5754. end
  5755. end
  5756. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement