Advertisement
REEEEEEEEEEEEEEEE

e

Jun 29th, 2019
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 341.35 KB | None | 0 0
  1. local Player = game:service'Players':GetPlayerFromCharacter(script.Parent)
  2. local FakeMouse = script.FakeMouse:Clone();
  3. FakeMouse.Parent = Player.Character;
  4. script.FakeMouse:Destroy()
  5. do
  6. local GUID = {}
  7. do
  8. GUID.IDs = {};
  9. function GUID:new(len)
  10. local id;
  11. if(not len)then
  12. id = (tostring(function() end))
  13. id = id:gsub("function: ","")
  14. else
  15. local function genID(len)
  16. local newID = ""
  17. for i = 1,len do
  18. newID = newID..string.char(math.random(48,90))
  19. end
  20. return newID
  21. end
  22. repeat id = genID(len) until not GUID.IDs[id]
  23. local oid = id;
  24. id = {Trash=function() GUID.IDs[oid]=nil; end;Get=function() return oid; end}
  25. GUID.IDs[oid]=true;
  26. end
  27. return id
  28. end
  29. end
  30.  
  31. local AHB = Instance.new("BindableEvent")
  32.  
  33. local FPS = 30
  34.  
  35. local TimeFrame = 0
  36.  
  37. local LastFrame = tick()
  38. local Frame = 1/FPS
  39.  
  40. game:service'RunService'.Heartbeat:connect(function(s,p)
  41. TimeFrame = TimeFrame + s
  42. if(TimeFrame >= Frame)then
  43. for i = 1,math.floor(TimeFrame/Frame) do
  44. AHB:Fire()
  45. end
  46. LastFrame=tick()
  47. TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame)
  48. end
  49. end)
  50.  
  51.  
  52. function swait(dur)
  53. if(dur == 0 or typeof(dur) ~= 'number')then
  54. AHB.Event:wait()
  55. else
  56. for i = 1, dur*FPS do
  57. AHB.Event:wait()
  58. end
  59. end
  60. end
  61.  
  62. local oPlayer = Player
  63. local Player = oPlayer
  64.  
  65. local loudnesses={}
  66. script.Parent = Player.Character
  67. local CoAS = {Actions={}}
  68. local Event = Instance.new("RemoteEvent")
  69. Event.Name = "UserInputEvent"
  70. Event.Parent = Player.Character
  71. local Func = Instance.new("RemoteFunction")
  72. Func.Name = "GetClientProperty"
  73. Func.Parent = Player.Character
  74. local fakeEvent = function()
  75. local t = {_fakeEvent=true,Waited={},Connected={}}
  76. t.Connect = function(self,f)
  77. local ft={}
  78. ft={Disconnected=false;disconnect=function(s) if(self.Function==ft)then self.Function=nil end s.Disconnected=true end}
  79. ft.Disconnect=ft.disconnect
  80.  
  81. ft.Func=function(...)
  82. for id,_ in next, t.Waited do
  83. t.Waited[id] = true
  84. end
  85. return f(...)
  86. end;
  87.  
  88. table.insert(self.Connected,ft)
  89. return ft;
  90. end
  91. t.connect = t.Connect
  92. t.Wait = function()
  93. local guid = GUID:new(25)
  94. local waitingId = guid:Get()
  95. t.Waited[waitingId]=false
  96. repeat swait() until t.Waited[waitingId]==true
  97. t.Waited[waitingId]=nil;
  98. guid:Trash()
  99. end
  100. t.wait = t.Wait
  101. return t
  102. end
  103. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  104. local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  105. local Run = {RenderStepped=fakeEvent()}
  106.  
  107. function CoAS:BindAction(name,fun,touch,...)
  108. CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  109. end
  110. function CoAS:UnbindAction(name)
  111. CoAS.Actions[name] = nil
  112. end
  113. local function te(self,ev,...)
  114. local t = self[ev]
  115. if t and t._fakeEvent and t.Connected then
  116. for i,v in next, t.Connected do
  117. if(v.Func and not v.Disconnected)then
  118. v.Func(...)
  119. else
  120. t.Connected[i]=nil
  121. end
  122. end
  123. end
  124. end
  125. m.TrigEvent = te
  126. UsIS.TrigEvent = te
  127. Run.TrigEvent = te
  128. Event.OnServerEvent:Connect(function(plr,io)
  129. if plr~=Player then return end
  130. --[[table.foreach(io,print)
  131. print'---']]
  132. if io.Mouse then
  133. m.Target = io.Target
  134. m.Hit = io.Hit
  135. elseif io.KeyEvent then
  136. m:TrigEvent('Key'..io.KeyEvent,io.Key)
  137. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  138. if io.UserInputState == Enum.UserInputState.Begin then
  139. m:TrigEvent("Button1Down")
  140. else
  141. m:TrigEvent("Button1Up")
  142. end
  143. end
  144. if(not io.KeyEvent and not io.Mouse)then
  145.  
  146. for n,t in pairs(CoAS.Actions) do
  147. for _,k in pairs(t.Keys) do
  148. if k==io.KeyCode then
  149. t.Function(t.Name,io.UserInputState,io)
  150. end
  151. end
  152. end
  153. if io.UserInputState == Enum.UserInputState.Begin then
  154. UsIS:TrigEvent("InputBegan",io,false)
  155. else
  156. UsIS:TrigEvent("InputEnded",io,false)
  157. end
  158. end
  159. end)
  160.  
  161. Func.OnServerInvoke = function(plr,inst,play)
  162. if plr~=Player then return end
  163. if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then
  164. loudnesses[inst]=play
  165. end
  166. end
  167.  
  168. function GetClientProperty(inst,prop)
  169. if(prop == 'PlaybackLoudness' and loudnesses[inst])then
  170. return loudnesses[inst]
  171. elseif(prop == 'PlaybackLoudness')then
  172. return Func:InvokeClient(Player,'RegSound',inst)
  173. end
  174. return Func:InvokeClient(Player,inst,prop)
  175. end
  176. local oldGame = game;
  177. function GetFakePlayer()
  178. local oldPlayer = Player;
  179. local fakePlayer = newproxy(true)
  180. getmetatable(fakePlayer).__index = function(s,i)
  181. if(i == 'GetMouse')then
  182. return function() return m; end
  183. end
  184. return Player[i]
  185. end
  186. getmetatable(fakePlayer).__newindex = function(s,i,v)
  187. Player[i]=v
  188. end
  189. getmetatable(fakePlayer).__call=function(self,...)
  190. if(self == fakePlayer)then self = Player end
  191. local wh = {...}
  192. local name = table.remove(wh,1)
  193. for i,v in next, wh do
  194. wh[i]=v
  195. end
  196. if(name == 'GetMouse')then
  197. return m;
  198. end
  199. return self(name,unpack(wh))
  200. end
  201. getmetatable(fakePlayer).__namecall=function(self,...)
  202. if(self == fakePlayer)then self = Player end
  203. local tuple={...}
  204. local name = table.remove(tuple,#tuple)
  205.  
  206. if(name == 'GetMouse')then
  207. return m;
  208. else
  209. return self[name](self,unpack(tuple))
  210. end
  211. end
  212.  
  213. return fakePlayer
  214. end
  215. local oll = LoadLibrary;
  216. function LoadLibrary(libtard)
  217. local libtarddestroyed=oll(libtard)
  218. if(libtard=='RbxUtility')then
  219. local library={Create=function(obj)
  220. local inst = Instance.new(obj)
  221. return function(props)
  222. for prop,valu in next, props do
  223. inst[prop]=valu
  224. end
  225. return inst
  226. end
  227. end}
  228. setmetatable(library,{__index=libtarddestroyed,__newindex=function(s,i,v) libtarddestroyed[i]=v end})
  229.  
  230. return library
  231. else
  232. return libtarddestroyed
  233. end
  234. end
  235. fakePlayer = GetFakePlayer()
  236. local function GetService(s,i)
  237. local service = s:GetService(i)
  238. if(i == 'Players')then
  239. local oldService = service;
  240. local fakeService = newproxy(true)
  241. getmetatable(fakeService).__index = function(s,i)
  242. if(s == fakeService)then s=oldService end
  243. if(i == 'LocalPlayer' or i == 'localPlayer')then
  244. return fakePlayer
  245. elseif(i == 'oPlayer')then
  246. return oPlayer
  247. else
  248. return s[i]
  249. end
  250. end
  251. getmetatable(fakeService).__newindex = function(s,i,v)
  252. if(s == fakeService)then s=oldService end
  253. s[i]=v
  254. end
  255. getmetatable(fakeService).__call=function(self,...)
  256. if(self == fakeService)then self = oldService end
  257. local wh = {...}
  258. local name = table.remove(wh,1)
  259. for i,v in next, wh do
  260. wh[i]=v
  261. end
  262. return self(name,unpack(wh))
  263. end
  264. getmetatable(fakeService).__namecall=function(self,...)
  265. if(self == fakeService)then self = oldService end
  266. local tuple={...}
  267. local name = table.remove(tuple,#tuple)
  268.  
  269. return self[name](self,unpack(tuple))
  270. end
  271. getmetatable(fakeService).__metatable = 'gay'
  272. return fakeService
  273. elseif(i == 'RunService')then
  274. local oldService = service;
  275. local fakeService = newproxy(true)
  276. getmetatable(fakeService).__index = function(s,i)
  277. if(s == fakeService)then s=oldService end
  278. return Run[i] or s[i]
  279. end
  280. getmetatable(fakeService).__newindex = function(s,i,v)
  281. if(s == fakeService)then s=oldService end
  282. s[i]=v
  283. end
  284. getmetatable(fakeService).__call=function(self,...)
  285. if(self == fakeService)then self = oldService end
  286. local wh = {...}
  287. local name = table.remove(wh,1)
  288. for i,v in next, wh do
  289. wh[i]=v
  290. end
  291. return self(name,unpack(wh))
  292. end
  293. getmetatable(fakeService).__namecall=function(self,...)
  294. if(self == fakeService)then self = oldService end
  295. local tuple={...}
  296. local name = table.remove(tuple,#tuple)
  297.  
  298. return self[name](self,unpack(tuple))
  299. end
  300. getmetatable(fakeService).__metatable = 'gay'
  301. return fakeService
  302. elseif(i == 'UserInputService')then
  303. return UsIS
  304. elseif(i == 'ContextActionService')then
  305. return CoAS;
  306. else
  307. return service
  308. end
  309. end
  310.  
  311. local new = Instance.new;
  312. Instance = {}
  313. Instance.new = function(inst,obje)
  314. local lp = GetService(oldGame,'Players').localPlayer
  315. local instance = new(inst)
  316. if(inst=='ObjectValue')then
  317. local fake = newproxy(true)
  318. getmetatable(fake).__index=function(self,index)
  319. if(self==fake)then self=instance end
  320. return self[index]
  321. end
  322. getmetatable(fake).__newindex=function(self,index,value)
  323. if(self==fake)then self=instance end
  324. if(index=='Value' and typeof(value)~='Instance' and value==fakePlayer)then
  325. self[index]=oPlayer
  326. else
  327. self[index]=value
  328. end
  329. end
  330. getmetatable(fake).__call=function(self,...)
  331. if(self == fake)then self = instance end
  332. local wh = {...}
  333. local name = table.remove(wh,1)
  334. for i,v in next, wh do
  335. if(v == fake)then v = instance end
  336. wh[i]=v
  337. end
  338. return self(name,unpack(wh))
  339. end
  340. getmetatable(fake). __namecall=function(self,...)
  341. if(self == fake)then self = instance end
  342. local tuple={...}
  343. local name = table.remove(tuple,#tuple)
  344. return self[name](self,unpack(tuple))
  345. end
  346. return fake
  347. elseif(inst=='aaa')then
  348. local fake = newproxy(true)
  349. getmetatable(fake).__index=function(self,index)
  350. if(self==fake)then self=instance end
  351. if(index=='PlaybackLoudnes')then
  352. return GetClientProperty(instance,'PlaybackLoudness')
  353. end
  354. return self[index]
  355. end
  356. getmetatable(fake).__newindex=function(self,index,value)
  357. if(self==fake)then self=instance end
  358. self[index]=value
  359. end
  360. getmetatable(fake).__call=function(self,...)
  361. if(self == fake)then self = instance end
  362. local wh = {...}
  363. local name = table.remove(wh,1)
  364. for i,v in next, wh do
  365. if(v == fake)then v = instance end
  366. wh[i]=v
  367. end
  368. return self(name,unpack(wh))
  369. end
  370. getmetatable(fake). __namecall=function(self,...)
  371. if(self == fake)then self = instance end
  372. local tuple={...}
  373. local name = table.remove(tuple,#tuple)
  374. return self[name](self,unpack(tuple))
  375. end
  376. return fake
  377. else
  378. instance.Parent = obje
  379. return instance;
  380. end
  381.  
  382. end
  383. local serviceFunctions={
  384. service=true,
  385. GetService=true,
  386. }
  387. local fakeGame = newproxy(true)
  388. getmetatable(fakeGame).__index = function(s,i)
  389. if(s == fakeGame)then s=oldGame end
  390. local serv = GetService(oldGame,i)
  391. if serviceFunctions[i] then
  392. return GetService
  393. elseif(serv)then
  394. return serv
  395. else
  396. return s[i]
  397. end
  398. end
  399. getmetatable(fakeGame).__newindex = function(s,i,v)
  400. if(s == fakeGame)then s=oldGame end
  401. s[i]=v
  402. end
  403. getmetatable(fakeGame).__call=function(self,...)
  404. if(self == fakeGame)then self = oldGame end
  405. local wh = {...}
  406. local name = table.remove(wh,1)
  407. for i,v in next, wh do
  408. if(v == fakeGame)then v = oldGame end
  409. wh[i]=v
  410. end
  411. if serviceFunctions[name] then
  412. return GetService(self,unpack(wh))
  413. else
  414. return self(name,unpack(wh))
  415. end
  416. end
  417. getmetatable(fakeGame). __namecall=function(self,...)
  418. if(self == fakeGame)then self = oldGame end
  419. local tuple={...}
  420. local name = table.remove(tuple,#tuple)
  421.  
  422. local funcToCall=self[name]
  423.  
  424. if serviceFunctions[name] then
  425. return GetService(self,unpack(tuple))
  426. else
  427. return self[name](self,unpack(tuple))
  428. end
  429. end
  430. getmetatable(fakeGame).__metatable = 'gay'
  431.  
  432. coroutine.wrap(function()
  433. while true do
  434. Run:TrigEvent('RenderStepped')
  435. swait()
  436. end
  437. end)()
  438. game=fakeGame
  439. UserInputService,ContextActionService = UsIS,CoAS
  440. end
  441.  
  442.  
  443.  
  444.  
  445. local egui = script:WaitForChild'ETHGUI':Clone();
  446. egui.Parent=game:GetService("Players").LocalPlayer:FindFirstChildOfClass'PlayerGui'
  447.  
  448. local main = egui:WaitForChild'Main'
  449. local info = main:WaitForChild'InfoBG':WaitForChild'Info':WaitForChild'Text'
  450. local use = main:WaitForChild'Play':WaitForChild'Button'
  451. info.Text=[[
  452. Credit to Lunnekoo for StarGlitcher.
  453.  
  454. CASSIDY, THE ETHEREAL GLITCHER.
  455. PROTECTOR OF SOULS.
  456.  
  457. DEVELOPERS:
  458. GodzPlaysRB (SpectrumEeveez) -- LEAD DEV / OWNER
  459. wanTH092 (Filano) -- LEAD DEV / CO-OWNER
  460. KrYn0MoRe(AlmightyToast) -- CORE DEV (rip toasty he'll be missed)
  461. DerpzDeNugget_YT -- Associated Dev
  462. KillerzTH -- Associated Dev
  463. Nebula_Zorua(aka Drahazar) -- SEMI-MAIN DEV
  464. Salvo_Starly(aka Blazey) -- GUI/SEMI-MAIN DEV
  465. UnfairGaming1(Very) -- Associated Dev
  466. RoStrap Devs -- Ripple effect
  467.  
  468. CHANGELOGS:
  469. KEEP THE CHANGELOGS OF PAST 3 UPDATES.
  470. + : ADDED FEATURE
  471. - : REMOVED FEATURE
  472. * : CHANGE
  473. / : NOTES
  474.  
  475. --------------------------
  476.  
  477. DRAHAZAR:
  478. * Name change.
  479. * The wings got changed.
  480. * WingColor variables in ModeInformation can be Color3s now. Finally.
  481. + GUI added.
  482. + Antecedent mode, Balanced mode (still needs an anim)
  483. / The wings were built by Salvo_Starly for NebulaGlitcher.
  484. / The camshake was never broken lol
  485.  
  486. --------------------------
  487.  
  488. UNFAIRGAMING1:
  489. + Added "Z" for Cursed.
  490.  
  491. --------------------------
  492.  
  493. DERPZDENUGGET_YT:
  494. + Added the animation needed for Balanced.
  495. * Balanced's name is changed.
  496. + Added Taunt to Disguitive.
  497. + Added "z" Move to Disguitive.
  498. * Changed transformation animations to look a bit more custom. Not just Mayhem's Transformation...
  499. * Organised the changelog.
  500. --------------------------
  501.  
  502.  
  503. ]]
  504.  
  505. local clickedButton=false;
  506. local hovering=false
  507.  
  508. if(game:service'RunService':IsClient())then
  509. local libraries={}
  510.  
  511. for _,v in next, script:WaitForChild'Libraries':children() do
  512. shared[v.Name:lower()]=v;
  513. end
  514.  
  515. local pseudo=require(shared.pseudoinstance)
  516. local rippl=pseudo.new'Rippler'
  517. rippl.RippleTransparency = 0.3
  518. rippl.Parent = use
  519. main:TweenPosition(UDim2.new(.165,0,.288,0),Enum.EasingDirection.Out,Enum.EasingStyle.Back,2)
  520.  
  521. use.InputBegan:connect(function(io)
  522. if(io.UserInputType==Enum.UserInputType.MouseButton1)then
  523. rippl:Down(io.Position.X,io.Position.Y)
  524. elseif(io.UserInputType==Enum.UserInputType.MouseMovement)then
  525. hovering=true
  526. use.Size=UDim2.new(1,0,1,0)
  527. use.Position=UDim2.new(0,0,0,0)
  528. use.BackgroundColor3 = Color3.fromRGB(0,200,0)
  529. end
  530. end)
  531.  
  532. use.InputEnded:connect(function(io)
  533. rippl:Up()
  534. if(io.UserInputType==Enum.UserInputType.MouseButton1 and hovering)then clickedButton=true end
  535. if(io.UserInputType==Enum.UserInputType.MouseMovement)then
  536. hovering=false
  537. use.Size=UDim2.new(.973,0,1,0)
  538. use.Position=UDim2.new(0.027,0,0,0)
  539. use.BackgroundColor3 = Color3.fromRGB(0,255,0)
  540. end
  541. end)
  542.  
  543. repeat
  544. wait()
  545. pcall(function() main.Title.Rotation=math.rad(45*math.sin(time()*2)) end)
  546. local hue = (time()%360)*30
  547. if(hue/360 >= 1)then
  548. hue = hue - math.floor(hue/360)*360
  549. end
  550. pcall(function() main.Title.TextColor3 = Color3.fromHSV(hue/360,1,1) end)
  551. until clickedButton
  552. main:TweenPosition(UDim2.new(1,0,.288,0),Enum.EasingDirection.In,Enum.EasingStyle.Back,1,true,function()
  553. egui:destroy()
  554. end)
  555. else
  556. local rem = Instance.new("RemoteEvent")
  557. rem.Name = "Clickie"
  558. rem.OnServerEvent:connect(function(plr)
  559. if(plr.Name==game:service'Players'.localPlayer.Name)then
  560. print'fired'
  561. clickedButton=true
  562. rem:destroy()
  563. game:service'Debris':AddItem(egui,3)
  564. end
  565. end)
  566. script:WaitForChild'Libraries'.Parent = egui
  567. rem.Parent=egui
  568. egui:WaitForChild'EthGUICode'.Disabled=false
  569. repeat wait() print(clickedButton) until clickedButton
  570. end
  571.  
  572.  
  573.  
  574. NewInstance = function(instance,parent,properties)
  575. local inst = Instance.new(instance)
  576. inst.Parent = parent
  577. if(properties)then
  578. for i,v in next, properties do
  579. pcall(function() inst[i] = v end)
  580. end
  581. end
  582. return inst;
  583. end
  584. -- Script --
  585.  
  586. plr = game:GetService("Players").LocalPlayer
  587. Player = plr
  588. char = plr.Character
  589. hum = char.Humanoid
  590. mouse = plr:GetMouse()
  591. local cam = game.Workspace.CurrentCamera
  592. Camera = cam
  593. local CamInterrupt = false
  594. local TwoD = false
  595. local TargetInfo = {nil, nil}
  596. cam.CameraType = "Custom"
  597. t = char.Torso
  598. h = char.Head
  599. ra = char["Right Arm"]
  600. la = char["Left Arm"]
  601. rl = char["Right Leg"]
  602. ll = char["Left Leg"]
  603. tors = char.Torso
  604. lleg = char["Left Leg"]
  605. root = char.HumanoidRootPart
  606. hed = char.Head
  607. rleg = char["Right Leg"]
  608. rarm = char["Right Arm"]
  609. larm = char["Left Arm"]
  610. radian = math.rad
  611. random = math.random
  612. Vec3 = Vector3.new
  613. Inst = Instance.new
  614. cFrame = CFrame.new
  615. Euler = CFrame.fromEulerAnglesXYZ
  616. vt = Vector3.new
  617. bc = BrickColor.new
  618. br = BrickColor.random
  619. it = Instance.new
  620. cf = CFrame.new
  621. local Player_Size = 0
  622. cam = game.Workspace.CurrentCamera
  623. CF = CFrame.new
  624. angles = CFrame.Angles
  625. attack = false
  626. Euler = CFrame.fromEulerAnglesXYZ
  627. Rad = math.rad
  628. IT = Instance.new
  629. BrickC = BrickColor.new
  630. Cos = math.cos
  631. Acos = math.acos
  632. Sin = math.sin
  633. Asin = math.asin
  634. Abs = math.abs
  635. Mrandom = math.random
  636. Floor = math.floor
  637. IT = Instance.new
  638. CF = CFrame.new
  639. VT = Vector3.new
  640. RAD = math.rad
  641. C3 = Color3.new
  642. UD2 = UDim2.new
  643. BRICKC = BrickColor.new
  644. ANGLES = CFrame.Angles
  645. EULER = CFrame.fromEulerAnglesXYZ
  646. COS = math.cos
  647. ACOS = math.acos
  648. SIN = math.sin
  649. ASIN = math.asin
  650. ABS = math.abs
  651. MRANDOM = math.random
  652. FLOOR = math.floor
  653. local SINE = 0
  654. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  655. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  656. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  657. local ModeOfGlitch = 1
  658. CF = CFrame.new
  659. local hed = char.Head
  660. local root = char.HumanoidRootPart
  661. local rootj = root.RootJoint
  662. local tors = char.Torso
  663. Player_Size = 1
  664. Cos = math.cos
  665. Sin = math.sin
  666. Rad = math.rad
  667. CF = CFrame.new
  668. local DoDamage = true
  669. local FlyingTypes = false
  670.  
  671.  
  672. local Booleans = {
  673. CamFollow = true,
  674. GyroUse = true
  675. }
  676.  
  677. function lerp(object, newCFrame, alpha)
  678. return object:lerp(newCFrame, alpha)
  679. end
  680.  
  681. local Directer = Inst("BodyGyro", root)
  682. Directer.MaxTorque = Vec3(0, 0, 0)
  683. Directer.P = 600000
  684. local CPart = Inst("Part")
  685. CPart.Anchored = true
  686. CPart.CanCollide = false
  687. CPart.Locked = true
  688. CPart.Transparency = 1
  689.  
  690.  
  691.  
  692. local CRAZED = false
  693. local rainbowmode = false
  694. local chaosmode = false
  695. local Error = false
  696. local unstablemode = false
  697. local MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  698. local SECONDRUINCOLOR = BrickColor.new("Pastel blue-green")
  699.  
  700. local cp="2071274388"
  701. local kan = Instance.new("Sound",char)
  702. kan.Volume = 1.25
  703. kan.TimePosition = 0
  704. kan.PlaybackSpeed = 1
  705. kan.Pitch = 1
  706. kan.SoundId = "rbxassetid://2071274388"
  707. kan.Name = "wrecked"
  708. kan.Looped = true
  709. kan:Play()
  710.  
  711. local currentThemePlaying = kan.SoundId
  712. local currentPitch = kan.Pitch
  713. local currentVol = kan.Volume
  714. function newTheme(ID,timepos,pitch,vol)
  715. local kanz = kan
  716. --kanz:Stop()
  717. kanz.Volume = vol
  718. --kanz.TimePosition = timepos
  719. kanz.PlaybackSpeed = pitch
  720. kanz.Pitch = pitch
  721. kanz.SoundId = ID
  722. kanz.Name = "wrecked"
  723. kanz.Looped = true
  724. currentThemePlaying = kanz.SoundId
  725. currentVol = kanz.Volume
  726. currentPitch = kanz.Pitch
  727. --kanz:Play()
  728. --coroutine.resume(coroutine.create(function()
  729. --wait(0.05)
  730. --end))
  731. end
  732.  
  733.  
  734. function newThemeCust(ID,timepos,pitch,vol)
  735. local kanz = kan
  736. kanz:Stop()
  737. kanz.Volume = vol
  738. kanz.TimePosition = timepos
  739. kanz.PlaybackSpeed = pitch
  740. kanz.Pitch = pitch
  741. kanz.SoundId = ID
  742. kanz.Name = "wrecked"
  743. kanz.Looped = true
  744. currentThemePlaying = kanz.SoundId
  745. currentVol = kanz.Volume
  746. currentPitch = kanz.Pitch
  747. kanz:Play()
  748. coroutine.resume(coroutine.create(function()
  749. wait(0.05)
  750. end))
  751. end
  752.  
  753. local mutedtog = false
  754.  
  755. ArtificialHB = Instance.new("BindableEvent", script)
  756. ArtificialHB.Name = "ArtificialHB"
  757.  
  758. script:WaitForChild("ArtificialHB")
  759. Frame_Speed = 1 / 60
  760. frame = Frame_Speed
  761. tf = 0
  762. allowframeloss = false
  763. tossremainder = false
  764. lastframe = tick()
  765. script.ArtificialHB:Fire()
  766.  
  767. game:GetService("RunService").Heartbeat:connect(function(s, p)
  768. tf = tf + s
  769. if tf >= frame then
  770. if allowframeloss then
  771. script.ArtificialHB:Fire()
  772. lastframe = tick()
  773. else
  774. for i = 1, math.floor(tf / frame) do
  775. script.ArtificialHB:Fire()
  776. end
  777. lastframe = tick()
  778. end
  779. if tossremainder then
  780. tf = 0
  781. else
  782. tf = tf - frame * math.floor(tf / frame)
  783. end
  784. end
  785. end)
  786.  
  787. ------------------
  788. function swait(num)
  789. if num == 0 or num == nil then
  790. ArtificialHB.Event:wait()
  791. else
  792. for i = 1, num do
  793. ArtificialHB.Event:wait()
  794. end
  795. end
  796. end
  797.  
  798. 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})
  799.  
  800. --// Require stuff \\--
  801. FXFolder=script.Effects
  802. function CamShake(who,data)
  803. coroutine.wrap(function()
  804. if(FXFolder:FindFirstChild'CamShake')then
  805. local cam = FXFolder.CamShake:Clone()
  806. cam:WaitForChild'intensity'.Value = data.Intensity or 5
  807. cam:WaitForChild'duration'.Value = data.Duration or 5
  808. cam:WaitForChild'speed'.Value = data.Speed or 10;
  809. 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
  810. cam:WaitForChild'rot'.Value = data.Rotation or Vector3.new(1,1,5)
  811. cam:WaitForChild'pos'.Value = data.Position or Vector3.new(.5,.5,.5)
  812. cam:WaitForChild'startdist'.Value = data.DropDist or 25;
  813. cam:WaitForChild'enddist'.Value = data.IneffectiveDist or 150;
  814.  
  815. cam.Parent = who
  816. wait()
  817. cam.Disabled = false
  818. wait(3)
  819. cam:Destroy()
  820. end
  821. end)()
  822. end
  823.  
  824. function CamShakeAll(data)
  825. for _,v in next, game:service'Players':players() do
  826. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,data)
  827. end
  828. end
  829.  
  830. function shakes(power,length)
  831. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  832. local var = script.Shaker:Clone()
  833. var.Parent = v.PlayerGui
  834. local pw = var.Shakeval
  835. local lgth = var.MultLength
  836. pw.Value = power
  837. lgth.Value = length
  838. var.Disabled = false
  839. end
  840. end
  841.  
  842. function ShowoffHigh1(power,length)
  843. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  844. local var = script.Showoff:Clone()
  845. var.Parent = v.PlayerGui
  846. local pw = var.Shakeval
  847. local lgth = var.MultLength
  848. pw.Value = power
  849. lgth.Value = length
  850. var.Disabled = false
  851. end
  852. end
  853.  
  854. function ShowoffHigh2(power,length)
  855. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  856. local var = script.Showoff:Clone()
  857. var.Parent = v.PlayerGui
  858. local pw = var.Shakeval
  859. local lgth = var.MultLength
  860. pw.Value = power
  861. lgth.Value = length
  862. var.Disabled = false
  863. end
  864. end
  865.  
  866. function ShowoffLow(power,length,High)
  867. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  868. local var = script.Showoff2:Clone()
  869. var.Parent = v.PlayerGui
  870. local pw = var.Shakeval
  871. local lgth = var.MultLength
  872. pw.Value = power
  873. lgth.Value = length
  874. var.Disabled = false
  875. end
  876. end
  877.  
  878. function ShowoffLow2(power,length,High)
  879. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  880. local var = script.Showoff3:Clone()
  881. var.Parent = v.PlayerGui
  882. local hi = var.High
  883. local pw = var.Shakeval
  884. local lgth = var.MultLength
  885. pw.Value = power
  886. lgth.Value = length
  887. var.Disabled = false
  888. end
  889. end
  890.  
  891. function ShowoffLow3(power,length,High)
  892. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  893. local var = script.Showoff4:Clone()
  894. var.Parent = v.PlayerGui
  895. local pw = var.Shakeval
  896. local hi = var.High
  897. local lgth = var.MultLength
  898. pw.Value = power
  899. hi.Value = High
  900. lgth.Value = length
  901. var.Disabled = false
  902. end
  903. end
  904.  
  905. local toggleTag = true
  906. local bilguit = Instance.new("BillboardGui", hed)
  907. bilguit.Adornee = nil
  908. bilguit.Name = "ModeName"
  909. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  910. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  911. local modet = Instance.new("TextLabel", bilguit)
  912. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  913. modet.FontSize = "Size8"
  914. modet.TextScaled = true
  915. modet.TextTransparency = 0
  916. modet.BackgroundTransparency = 1
  917. modet.TextTransparency = 0
  918. modet.TextStrokeTransparency = 0
  919. modet.Font = "Antique"
  920. modet.TextStrokeColor3 = Color3.new(1,0,0)
  921. modet.TextColor3 = Color3.new(0.25,0,0)
  922. modet.Text = "COMMOTIAUS"
  923.  
  924.  
  925. function chatfunc(text,color,typet,font,timeex)
  926. local chat = coroutine.wrap(function()
  927. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  928. Character:FindFirstChild("TalkingBillBoard"):destroy()
  929. end
  930. local naeeym2 = Instance.new("BillboardGui",Character)
  931. naeeym2.Size = UDim2.new(0,100,0,40)
  932. naeeym2.StudsOffset = Vector3.new(0,3,0)
  933. naeeym2.Adornee = Character.Head
  934. naeeym2.Name = "TalkingBillBoard"
  935. local tecks2 = Instance.new("TextLabel",naeeym2)
  936. tecks2.BackgroundTransparency = 1
  937. tecks2.BorderSizePixel = 0
  938. tecks2.Text = ""
  939. tecks2.Font = font
  940. tecks2.TextSize = 30
  941. tecks2.TextStrokeTransparency = 0
  942. tecks2.TextColor3 = color
  943. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  944. tecks2.Size = UDim2.new(1,0,0.5,0)
  945. local tecks3 = Instance.new("TextLabel",naeeym2)
  946. tecks3.BackgroundTransparency = 1
  947. tecks3.BorderSizePixel = 0
  948. tecks3.Text = ""
  949. tecks3.Font = font
  950. tecks3.TextSize = 30
  951. tecks3.TextStrokeTransparency = 0
  952. if typet == "Inverted" then
  953. tecks3.TextColor3 = Color3.new(0,0,0)
  954. tecks3.TextStrokeColor3 = color
  955. elseif typet == "Normal" then
  956. tecks3.TextColor3 = color
  957. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  958. end
  959. tecks3.Size = UDim2.new(1,0,0.5,0)
  960. coroutine.resume(coroutine.create(function()
  961. while true do
  962. swait(1)
  963. if Error == true then
  964. tecks2.TextColor3 = BrickColor.random().Color
  965. tecks3.TextStrokeColor3 = BrickColor.random().Color
  966. end
  967. end
  968. end))
  969. coroutine.resume(coroutine.create(function()
  970. while true do
  971. swait()
  972. if chaosmode == true then
  973. tecks2.Rotation = tecks2.Rotation + 8 * math.cos(SINE / 16)
  974. tecks3.Rotation = tecks3.Rotation + 8 * math.cos(SINE / 16)
  975. tecks2.TextColor3 = BrickColor.new("White").Color
  976. tecks2.TextColor3 = Color3.new(math.random(0.5,1),0,0)
  977. tecks3.TextStrokeColor3 = Color3.new(math.random(0.5,1),0,0)
  978. tecks3.TextStrokeColor3 = BrickColor.new("White").Color
  979. if math.random(1,10) == 1 then
  980. tecks2.TextColor3 = Color3.new(math.random(0.5,1),0,0)
  981. tecks2.TextColor3 = BrickColor.new("White").Color
  982. tecks3.TextStrokeColor3 = BrickColor.new("White").Color
  983. tecks3.TextStrokeColor3 = Color3.new(math.random(0.5,1),0,0)
  984. end
  985. end
  986. end
  987. end))
  988. coroutine.resume(coroutine.create(function()
  989. while true do
  990. swait(1)
  991. if chaosmode == true then
  992. tecks2.TextColor3 = BrickColor.random().Color
  993. tecks3.TextStrokeColor3 = BrickColor.random().Color
  994. end
  995. end
  996. end))
  997. modet.TextTransparency = modet.TextTransparency + 1
  998. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  999. for i = 0, 74*timeex do
  1000. swait()
  1001. modet.TextTransparency = 1
  1002. modet.TextStrokeTransparency = 1
  1003. tecks2.Text = text
  1004. tecks3.Text = text
  1005. end
  1006. local randomrot = math.random(1,2)
  1007. if randomrot == 1 then
  1008. for i = 1, 50 do
  1009. swait()
  1010. tecks2.Text = text
  1011. tecks3.Text = text
  1012. modet.TextTransparency = modet.TextTransparency - .02
  1013. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  1014. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1015. tecks2.TextTransparency = tecks2.TextTransparency + .04
  1016. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1017. tecks3.TextTransparency = tecks2.TextTransparency + .04
  1018. end
  1019. elseif randomrot == 2 then
  1020. for i = 1, 50 do
  1021. swait()
  1022. tecks2.Text = text
  1023. tecks3.Text = text
  1024. modet.TextTransparency = modet.TextTransparency - .02
  1025. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  1026. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1027. tecks2.TextTransparency = tecks2.TextTransparency + .04
  1028. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1029. tecks3.TextTransparency = tecks2.TextTransparency + .04
  1030. end
  1031. end
  1032. modet.TextTransparency = 0
  1033. modet.TextStrokeTransparency = 0
  1034. if toggleTag == false then
  1035. modet.TextTransparency = 1
  1036. modet.TextStrokeTransparency = 1
  1037. end
  1038. naeeym2:Destroy()
  1039. end)
  1040. chat()
  1041. end
  1042.  
  1043. local rai = {"USER","User","USer","USEr","uSER","usER","useR","uSer","usEr","useR","PlAyEr","666"}
  1044.  
  1045. function bosschatfunc(text,color,watval)
  1046. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1047. coroutine.resume(coroutine.create(function()
  1048. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  1049. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  1050. end
  1051. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1052. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  1053. scrg.Name = "Dialog"
  1054. local txtlb = Instance.new("TextLabel",scrg)
  1055. txtlb.Text = ""
  1056. txtlb.Font = "Arcade"
  1057. txtlb.TextColor3 = Color3.new(0,0,0)
  1058. txtlb.TextStrokeTransparency = 0
  1059. txtlb.BackgroundTransparency = 0.75
  1060. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  1061. txtlb.TextStrokeColor3 = color
  1062. txtlb.TextScaled = true
  1063. txtlb.Size = UDim2.new(1,0,0.25,0)
  1064. txtlb.TextXAlignment = "Left"
  1065. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  1066. local txtlb2 = Instance.new("TextLabel",scrg)
  1067. txtlb2.Text = modet.Text.." USER:"
  1068. txtlb2.Font = "Arcade"
  1069. txtlb2.TextColor3 = Color3.new(0,0,0)
  1070. txtlb2.TextStrokeTransparency = 0
  1071. txtlb2.BackgroundTransparency = 1
  1072. txtlb2.TextStrokeColor3 = color
  1073. txtlb2.TextSize = 40
  1074. txtlb2.Size = UDim2.new(1,0,0.25,0)
  1075. txtlb2.TextXAlignment = "Left"
  1076. txtlb2.Position = UDim2.new(0,0,1,0)
  1077. local fvalen = 0.55
  1078. local fval = -0.49
  1079. coroutine.resume(coroutine.create(function()
  1080. while true do
  1081. swait()
  1082. if ModeOfGlitch == 666666 then
  1083. txtlb2.Text = modet.Text.." U S E R :"
  1084. txtlb.Rotation = math.random(-2,2)
  1085. txtlb2.Rotation = math.random(-2,2)
  1086. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-2,2)/5,0,math.random(-2,2)/5)
  1087. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-2,2)/5,0,math.random(-2,2)/5)
  1088. end
  1089. end
  1090. end))
  1091. coroutine.resume(coroutine.create(function()
  1092. while true do
  1093. swait()
  1094. if Error == true then
  1095. txtlb2.Text = modet.Text..rai[math.random(1,12)]
  1096. txtlb.Rotation = math.random(-9,9)
  1097. txtlb2.Rotation = math.random(-9,9)
  1098. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-8,8)/5,0,math.random(-8,8)/5)
  1099. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-8,8)/5,0,math.random(-8,8)/5)
  1100. txtlb.TextStrokeColor3 = BrickColor.random().Color
  1101. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  1102. end
  1103. end
  1104. end))
  1105. coroutine.resume(coroutine.create(function()
  1106. while true do
  1107. swait()
  1108. if unstablemode == true then
  1109. txtlb.TextStrokeColor3 = BrickColor.new(math.random(0,1),0,0).Color
  1110. txtlb2.TextStrokeColor3 = BrickColor.new(math.random(0,1),0,0).Color
  1111. txtlb.TextColor3 = BrickColor.new(1,1,1).Color
  1112. txtlb2.TextColor3 = BrickColor.new(1,1,1).Color
  1113. if math.random(1,10) == 1 then
  1114. txtlb.TextStrokeColor3 = BrickColor.new(0,0,0).Color
  1115. txtlb2.TextStrokeColor3 = BrickColor.new(0,0,0).Color
  1116. txtlb.TextColor3 = BrickColor.new(math.random(0,1),0,0).Color
  1117. txtlb2.TextColor3 = BrickColor.new(math.random(0,1),0,0).Color
  1118.  
  1119. end
  1120. end
  1121. end
  1122. end))
  1123. coroutine.resume(coroutine.create(function()
  1124. while true do
  1125. swait()
  1126. if CRAZED == true then
  1127. txtlb.Rotation = math.random(-4,4)
  1128. txtlb2.Rotation = math.random(-4,4)
  1129. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1130. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1131. txtlb.TextStrokeColor3 = BrickColor.new(0,0,math.random(0,1)).Color
  1132. txtlb.TextColor3 = BrickColor.new(0,0,math.random(0,1)).Color
  1133. txtlb2.TextStrokeColor3 = BrickColor.new(0,0,math.random(0,1)).Color
  1134. txtlb2.TextColor3 = BrickColor.new(0,0,math.random(0,1)).Color
  1135. end
  1136. end
  1137. end))
  1138. coroutine.resume(coroutine.create(function()
  1139. while true do
  1140. swait()
  1141. if chaosmode == true then
  1142. txtlb.Rotation = math.random(-1,1)
  1143. txtlb2.Rotation = math.random(-1,1)
  1144. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1145. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1146. txtlb.TextStrokeColor3 = BrickColor.random().Color
  1147. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  1148. end
  1149. end
  1150. end))
  1151. coroutine.resume(coroutine.create(function()
  1152. while true do
  1153. swait()
  1154. if scrg.Parent ~= nil then
  1155. fvalen = fvalen - 0.0001
  1156. elseif scrg.Parent == nil then
  1157. break
  1158. end
  1159. end
  1160. end))
  1161. local flol = 1.75
  1162. local flil = 1.6
  1163. coroutine.resume(coroutine.create(function()
  1164. for i = 0, 9 do
  1165. swait()
  1166. fval = fval + 0.05
  1167. flol = flol - 0.1
  1168. flil = flil - 0.1
  1169. txtlb.Text = ""
  1170. txtlb.Position = UDim2.new(0,0,flol,0)
  1171. txtlb2.Position = UDim2.new(0,0,flil,0)
  1172. end
  1173. txtlb.Text = text
  1174. wait(watval)
  1175. local valinc = 0
  1176. for i = 0, 99 do
  1177. swait()
  1178. valinc = valinc + 0.0001
  1179. flol = flol + valinc
  1180. flil = flil + valinc
  1181. txtlb.Rotation = txtlb.Rotation + valinc*20
  1182. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  1183. txtlb.Position = UDim2.new(0,0,flol,0)
  1184. txtlb2.Position = UDim2.new(0,0,flil,0)
  1185. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  1186. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  1187. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  1188. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  1189. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  1190. end
  1191. scrg:Destroy()
  1192. end))
  1193. end))
  1194. end
  1195. end
  1196.  
  1197.  
  1198. local Create = LoadLibrary("RbxUtility").Create
  1199.  
  1200. CFuncs = {
  1201. ["Part"] = {
  1202. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1203. local Part = Create("Part"){
  1204. Parent = Parent,
  1205. Reflectance = Reflectance,
  1206. Transparency = Transparency,
  1207. CanCollide = false,
  1208. Locked = true,
  1209. BrickColor = BrickColor.new(tostring(BColor)),
  1210. Name = Name,
  1211. Size = Size,
  1212. Material = Material,
  1213. }
  1214. RemoveOutlines(Part)
  1215. return Part
  1216. end;
  1217. };
  1218.  
  1219. ["Mesh"] = {
  1220. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1221. local Msh = Create(Mesh){
  1222. Parent = Part,
  1223. Offset = OffSet,
  1224. Scale = Scale,
  1225. }
  1226. if Mesh == "SpecialMesh" then
  1227. Msh.MeshType = MeshType
  1228. Msh.MeshId = MeshId
  1229. end
  1230. return Msh
  1231. end;
  1232. };
  1233.  
  1234. ["Mesh"] = {
  1235. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1236. local Msh = Create(Mesh){
  1237. Parent = Part,
  1238. Offset = OffSet,
  1239. Scale = Scale,
  1240. }
  1241. if Mesh == "SpecialMesh" then
  1242. Msh.MeshType = MeshType
  1243. Msh.MeshId = MeshId
  1244. end
  1245. return Msh
  1246. end;
  1247. };
  1248.  
  1249. ["Weld"] = {
  1250. Create = function(Parent, Part0, Part1, C0, C1)
  1251. local Weld = Create("Weld"){
  1252. Parent = Parent,
  1253. Part0 = Part0,
  1254. Part1 = Part1,
  1255. C0 = C0,
  1256. C1 = C1,
  1257. }
  1258. return Weld
  1259. end;
  1260. };
  1261.  
  1262. ["Sound"] = {
  1263. Create = function(id, par, vol, pit)
  1264. coroutine.resume(coroutine.create(function()
  1265. local S = Create("Sound"){
  1266. Volume = vol,
  1267. Name = "EffectSoundo",
  1268. Pitch = pit or 1,
  1269. SoundId = id,
  1270. Parent = par or workspace,
  1271. }
  1272. wait()
  1273. S:play()
  1274. game:GetService("Debris"):AddItem(S, 10)
  1275. end))
  1276. end;
  1277. };
  1278.  
  1279. ["TimeSound"] = {
  1280. Create = function(id, par, vol, pit, timepos)
  1281. coroutine.resume(coroutine.create(function()
  1282. local S = Create("Sound"){
  1283. Volume = vol,
  1284. Name = "EffectSoundo",
  1285. Pitch = pit or 1,
  1286. SoundId = id,
  1287. TimePosition = timepos,
  1288. Parent = par or workspace,
  1289. }
  1290. wait()
  1291. S:play()
  1292. game:GetService("Debris"):AddItem(S, 10)
  1293. end))
  1294. end;
  1295. };
  1296. ["EchoSound"] = {
  1297. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  1298. coroutine.resume(coroutine.create(function()
  1299. local Sas = Create("Sound"){
  1300. Volume = vol,
  1301. Name = "EffectSoundo",
  1302. Pitch = pit or 1,
  1303. SoundId = id,
  1304. TimePosition = timepos,
  1305. Parent = par or workspace,
  1306. }
  1307. local E = Create("EchoSoundEffect"){
  1308. Delay = echodelay,
  1309. Name = "Echo",
  1310. Feedback = fedb,
  1311. DryLevel = dryl,
  1312. Parent = Sas,
  1313. }
  1314. wait()
  1315. Sas:play()
  1316. game:GetService("Debris"):AddItem(Sas, delays)
  1317. end))
  1318. end;
  1319. };
  1320.  
  1321. ["LongSound"] = {
  1322. Create = function(id, par, vol, pit)
  1323. coroutine.resume(coroutine.create(function()
  1324. local S = Create("Sound"){
  1325. Volume = vol,
  1326. Pitch = pit or 1,
  1327. SoundId = id,
  1328. Parent = par or workspace,
  1329. }
  1330. wait()
  1331. S:play()
  1332. game:GetService("Debris"):AddItem(S, 60)
  1333. end))
  1334. end;
  1335. };
  1336.  
  1337. ["ParticleEmitter"] = {
  1338. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1339. local fp = Create("ParticleEmitter"){
  1340. Parent = Parent,
  1341. Color = ColorSequence.new(Color1, Color2),
  1342. LightEmission = LightEmission,
  1343. Size = Size,
  1344. Texture = Texture,
  1345. Transparency = Transparency,
  1346. ZOffset = ZOffset,
  1347. Acceleration = Accel,
  1348. Drag = Drag,
  1349. LockedToPart = LockedToPart,
  1350. VelocityInheritance = VelocityInheritance,
  1351. EmissionDirection = EmissionDirection,
  1352. Enabled = Enabled,
  1353. Lifetime = LifeTime,
  1354. Rate = Rate,
  1355. Rotation = Rotation,
  1356. RotSpeed = RotSpeed,
  1357. Speed = Speed,
  1358. VelocitySpread = VelocitySpread,
  1359. }
  1360. return fp
  1361. end;
  1362. };
  1363.  
  1364. CreateTemplate = {
  1365.  
  1366. };
  1367. }
  1368.  
  1369.  
  1370.  
  1371. New = function(Object, Parent, Name, Data)
  1372. local Object = Instance.new(Object)
  1373. for Index, Value in pairs(Data or {}) do
  1374. Object[Index] = Value
  1375. end
  1376. Object.Parent = Parent
  1377. Object.Name = Name
  1378. return Object
  1379. end
  1380. local halocolor = BrickColor.new("Pastel light blue")
  1381. local halocolor2 = BrickColor.new("Cool yellow")
  1382. local starcolor = BrickColor.new("Bright yellow")
  1383. local lunacolor = BrickColor.new("Navy blue")
  1384. local lunacolor2 = BrickColor.new("Bright blue")
  1385. local wepcolor = BrickColor.new("Really black")
  1386. local maincolor = BrickColor.new("Really black")
  1387. local m = Instance.new("Model",char)
  1388. local m2 = Instance.new("Model",char)
  1389. local m3 = Instance.new("Model",char)
  1390. local mw1 = Instance.new("Model",char)
  1391. local mw2 = Instance.new("Model",char)
  1392. local mwN = Instance.new("Model",char)
  1393. local mwY = Instance.new("Model",char)
  1394.  
  1395. local est = {"error","Errors","eRror","erRor","errOr","erroR","ERror","ErRor","ErrOr","ErroR","eRRor","eRrOr","eRroR","erROr","erRoR","errOR","ERROR"}
  1396.  
  1397.  
  1398.  
  1399. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  1400. local gui = it(GuiType)
  1401. gui.Parent = parent
  1402. gui.Text = text
  1403. gui.BackgroundTransparency = backtrans
  1404. gui.BackgroundColor3 = backcol
  1405. gui.SizeConstraint = "RelativeXY"
  1406. gui.TextXAlignment = "Center"
  1407. gui.TextYAlignment = "Center"
  1408. gui.Position = pos
  1409. gui.Size = size
  1410. gui.Font = "SourceSans"
  1411. gui.FontSize = "Size14"
  1412. gui.TextWrapped = false
  1413. gui.TextStrokeTransparency = 0
  1414. gui.TextColor = BrickColor.new("White")
  1415. return gui
  1416. end
  1417. --------------------------- GUI STUFF
  1418. local basgui = it("GuiMain")
  1419. basgui.Parent = plr.PlayerGui
  1420. basgui.Name = "VISgui"
  1421. local fullscreenz = it("Frame")
  1422. fullscreenz.Parent = basgui
  1423. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  1424. fullscreenz.BackgroundTransparency = .5
  1425. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  1426. fullscreenz.AnchorPoint=Vector2.new(1,.5)
  1427. fullscreenz.Size = UDim2.new(.2, 0, 1.2, 0)
  1428. fullscreenz.Position = UDim2.new(1.01, 0, .5, 0)
  1429. fullscreenz.BorderSizePixel=12
  1430. fullscreenz.ZIndex=2
  1431. local fullscreenz2 = it("Frame")
  1432. fullscreenz2.Parent = fullscreenz
  1433. fullscreenz2.BackgroundTransparency = 1
  1434. fullscreenz2.AnchorPoint=Vector2.new(.5,.5)
  1435. fullscreenz2.Size = UDim2.new(1, 0, 1, 0)
  1436. fullscreenz2.Position = UDim2.new(.5, 0, .5, 0)
  1437. fullscreenz2.ClipsDescendants=true
  1438.  
  1439. local hh1 = it("Frame")
  1440. hh1.Parent = fullscreenz
  1441. hh1.BackgroundColor3 = Color3.new(255, 255, 255)
  1442. hh1.BackgroundTransparency = .5
  1443. hh1.BorderColor3 = Color3.new(17, 17, 17)
  1444. hh1.AnchorPoint=Vector2.new(.5,.5)
  1445. hh1.Size = UDim2.new(.04, 0, 1.2, 0)
  1446. hh1.Position = UDim2.new(-.1, 0, .5, 0)
  1447. hh1.BorderSizePixel=0
  1448. hh1.ZIndex=4
  1449.  
  1450.  
  1451. local hh2 = it("Frame")
  1452. hh2.Parent = fullscreenz
  1453. hh2.BackgroundColor3 = Color3.new(255, 255, 255)
  1454. hh2.BackgroundTransparency = .5
  1455. hh2.BorderColor3 = Color3.new(17, 17, 17)
  1456. hh2.AnchorPoint=Vector2.new(.5,.5)
  1457. hh2.Size = UDim2.new(.025, 0, 1.2, 0)
  1458. hh2.Position = UDim2.new(-.14, 0, .5, 0)
  1459. hh2.BorderSizePixel=0
  1460. hh2.ZIndex=4
  1461.  
  1462.  
  1463. local hh3 = it("Frame")
  1464. hh3.Parent = fullscreenz
  1465. hh3.BackgroundColor3 = Color3.new(255, 255, 255)
  1466. hh3.BackgroundTransparency = .5
  1467. hh3.BorderColor3 = Color3.new(17, 17, 17)
  1468. hh3.AnchorPoint=Vector2.new(.5,.5)
  1469. hh3.Size = UDim2.new(.01, 0, 1.2, 0)
  1470. hh3.Position = UDim2.new(-.16, 0, .5, 0)
  1471. hh3.BorderSizePixel=0
  1472. hh3.ZIndex=4
  1473.  
  1474.  
  1475. local vis1 = it("Frame")
  1476. vis1.Parent = fullscreenz2
  1477. vis1.BackgroundColor3 = Color3.new(255, 255, 255)
  1478. vis1.BackgroundTransparency = .5
  1479. vis1.BorderColor3 = Color3.new(17, 17, 17)
  1480. vis1.AnchorPoint=Vector2.new(.5,1)
  1481. vis1.Size = UDim2.new(.1, 0, 1, 0)
  1482. vis1.Position = UDim2.new(.93, 0, 1, 0)
  1483. vis1.BorderSizePixel=0
  1484. vis1.ZIndex=2
  1485. local vis2=vis1:Clone()
  1486. vis2.Parent = fullscreenz2
  1487. vis2.Size = UDim2.new(.07, 0, 1, 0)
  1488. vis2.Position = UDim2.new(.81, 0, 1, 0)
  1489.  
  1490. local vis3=vis1:Clone()
  1491. vis3.Parent = fullscreenz2
  1492. vis3.Size = UDim2.new(.045, 0, 1, 0)
  1493. vis3.Position = UDim2.new(.74, 0, 1, 0)
  1494.  
  1495. local vis4=vis1:Clone()
  1496. vis4.Parent = fullscreenz2
  1497. vis4.Size = UDim2.new(.03, 0, 1, 0)
  1498. vis4.Position = UDim2.new(.69, 0, 1, 0)
  1499.  
  1500. local vis5=vis1:Clone()
  1501. vis5.Parent = fullscreenz2
  1502. vis5.Size = UDim2.new(.012, 0, 1, 0)
  1503. vis5.Position = UDim2.new(.65, 0, 1, 0)
  1504.  
  1505. --fullscreenz
  1506. local nedf = it("TextLabel",fullscreenz)
  1507. nedf.AnchorPoint=Vector2.new(1,1)
  1508. nedf.Font = "Arcade"
  1509. nedf.BackgroundTransparency = 1
  1510. nedf.BorderSizePixel = 0.65
  1511. nedf.Size = UDim2.new(1,0,.2,0)
  1512. nedf.Position = UDim2.new(.9,0,0.95,0)
  1513. nedf.TextColor3 = Color3.new(0,0,0)
  1514. nedf.TextStrokeColor3 = Color3.new(0,0,0)
  1515. nedf.TextScaled = true
  1516. nedf.TextStrokeTransparency = 0
  1517. nedf.Text = "ETHEREAL GLITCHER"
  1518. nedf.TextSize = 24
  1519. nedf.ZIndex=101
  1520.  
  1521.  
  1522. function ggg()
  1523. local afa = it("ImageLabel",fullscreenz2)
  1524. afa.BackgroundTransparency = 1
  1525. afa.BorderSizePixel = 0
  1526. afa.AnchorPoint=Vector2.new(.5,.5)
  1527. afa.Parent = fullscreenz2
  1528. afa.ImageTransparency = 0
  1529. afa.Size = UDim2.new(0,40,0,40)
  1530. local mfmf=math.random(10,90)/100
  1531. afa.Position = UDim2.new(mfmf,0,1.2,0)
  1532. afa.ImageColor3 = MAINRUINCOLOR.Color
  1533. afa.Image = "rbxassetid://2710333451"
  1534. afa.Rotation=math.random(-360,360)
  1535. afa.ZIndex=3
  1536. coroutine.resume(coroutine.create(function(g)
  1537. local kokha=math.random(30,200)/30
  1538. local hh1=math.random(-100,100)/50
  1539. local hh2=math.random(100,400)/22
  1540. for i=0,1.1,kokha/100 do
  1541. swait()
  1542. g.Position = g.Position+UDim2.new(0,hh1,0,-hh2)
  1543. g.ImageTransparency=i
  1544. g.Rotation=g.Rotation+3
  1545. end
  1546. g:Remove()
  1547. end),afa)
  1548. end
  1549.  
  1550. coroutine.resume(coroutine.create(function()
  1551. while true do
  1552. swait()
  1553. ggg()
  1554. end
  1555. end))
  1556.  
  1557. local hhahaha=false
  1558. function nice(teext,h1,h2)
  1559. local ned = it("TextLabel",fullscreenz)
  1560. ned.AnchorPoint=Vector2.new(1,1)
  1561. ned.Font = "Arcade"
  1562. ned.BackgroundTransparency = 1
  1563. ned.BorderSizePixel = 0.65
  1564. ned.Size = UDim2.new(2.2,0,.2,0)
  1565. ned.Position = UDim2.new(1.4,0,0.85,0)
  1566. ned.TextColor3 = h1
  1567. ned.TextStrokeColor3 = h2
  1568. ned.TextScaled = true
  1569. ned.TextStrokeTransparency = 0
  1570. ned.Text = teext
  1571. ned.TextSize = 24
  1572. ned.Rotation = 90
  1573. ned.TextXAlignment = "Right"
  1574. ned.TextYAlignment = "Bottom"
  1575. ned.ZIndex=100
  1576. hhahaha=false
  1577. coroutine.resume(coroutine.create(function()
  1578. swait(3)
  1579. hhahaha=true
  1580. ned:TweenPosition(UDim2.new(1.4-.02* math.sin(SINE/41),0,0.55+.03* math.cos(SINE/42),0), "Out", "Quad", 1,true)
  1581. for i=1.1,0,-.02 do
  1582. swait()
  1583. ned.TextTransparency=i
  1584. ned.TextStrokeTransparency = i
  1585. ned:TweenPosition(UDim2.new(1.4-.02* math.sin(SINE/41),0,0.55+.03* math.cos(SINE/42),0), "Out", "Quad", 1,true)
  1586. if hhahaha==false then
  1587. break
  1588. end
  1589. end
  1590.  
  1591. local hai=0
  1592. local hai2=1
  1593. repeat
  1594. swait()
  1595. ned:TweenPosition(UDim2.new(1.4-.02* math.sin(SINE/41),0,0.55+.03* math.cos(SINE/42),0), "Out", "Quad", 1,true)
  1596. if ModeOfGlitch == 5 then
  1597. ned.TextColor3=Color3.new(math.random(0,255)/255,0,0)
  1598. end
  1599. until hhahaha==false
  1600. ned:TweenPosition(UDim2.new(1.4,0,0.1,0), "In", "Quart", 1,true)
  1601. for i=0,1.1,.02 do
  1602. swait()
  1603. ned.ZIndex=100-100*i
  1604. ned.TextTransparency=i
  1605. ned.TextStrokeTransparency = i
  1606. end
  1607. ned:Remove()
  1608. end))
  1609. end
  1610.  
  1611. local hhahaha2=true
  1612. function nice2(h1,h2)
  1613. local ned = it("TextLabel",fullscreenz)
  1614. ned.AnchorPoint=Vector2.new(1,1)
  1615. ned.Font = "Arcade"
  1616. ned.BackgroundTransparency = 1
  1617. ned.BorderSizePixel = 0.65
  1618. ned.Size = UDim2.new(2.2,0,.1,0)
  1619. ned.Position = UDim2.new(1.9,0,0.88,0)
  1620. ned.TextColor3 = h1
  1621. ned.TextStrokeColor3 = h2
  1622. ned.TextScaled = true
  1623. ned.TextStrokeTransparency = 0
  1624. --ned.Text = teext
  1625. ned.TextSize = 24
  1626. ned.Rotation = 90
  1627. ned.TextXAlignment = "Right"
  1628. ned.TextYAlignment = "Bottom"
  1629. ned.ZIndex=100
  1630. hhahaha2=false
  1631. coroutine.resume(coroutine.create(function()
  1632. swait(3)
  1633. hhahaha2=true
  1634. ned:TweenPosition(UDim2.new(1.9-.02* math.cos(SINE/41),0,0.48+.03* math.sin(SINE/42),0), "Out", "Quad", 1,true)
  1635. for i=1.1,0,-.02 do
  1636. swait()
  1637. ned.TextTransparency=i
  1638. ned.TextStrokeTransparency = i
  1639. ned:TweenPosition(UDim2.new(1.9-.02* math.cos(SINE/41),0,0.48+.03* math.sin(SINE/42),0), "Out", "Quad", 1,true)
  1640. local mps=game:GetService("MarketplaceService"):GetProductInfo(cp, Enum.InfoType.Asset)
  1641. ned.Text=(mps.Name)
  1642. if hhahaha2==false then
  1643. break
  1644. end
  1645. end
  1646.  
  1647. local lastnam=ned.Text
  1648. local hai=0
  1649. local hai2=1
  1650. local lastMode = ModeOfGlitch
  1651. repeat
  1652. ned:TweenPosition(UDim2.new(1.9-.02* math.cos(SINE/41),0,0.48+.03* math.sin(SINE/42),0), "Out", "Quad", 1,true)
  1653. pcall(function() local mps=game:GetService("MarketplaceService"):GetProductInfo(cp, Enum.InfoType.Asset)
  1654. ned.Text=(mps.Name) end)
  1655. if ModeOfGlitch == 5 then
  1656. ned.TextColor3=Color3.new(math.random(0,255)/255,0,0)
  1657. end
  1658.  
  1659. swait()
  1660. lastnam=ned.Text
  1661. until hhahaha2==false
  1662. ned:TweenPosition(UDim2.new(1.9,0,0.08,0), "In", "Quart", 1,true)
  1663. for i=0,1.1,.02 do
  1664. swait()
  1665. ned.Text=lastnam
  1666. ned.ZIndex=100-100*i
  1667. ned.TextTransparency=i
  1668. ned.TextStrokeTransparency = i
  1669. end
  1670. ned:Remove()
  1671. end))
  1672. end
  1673.  
  1674. local extrawingmod1 = Instance.new("Model",char)
  1675. local extrawingmod2 = Instance.new("Model",char)
  1676.  
  1677. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  1678. local p = Instance.new("Part")
  1679. p.TopSurface = 0
  1680. p.BottomSurface = 0
  1681. p.Parent = parent
  1682. p.Size = Vector3.new(0.1,0.1,0.1)
  1683. p.Transparency = transparency
  1684. p.Reflectance = reflectance
  1685. p.CanCollide = false
  1686. p.Locked = true
  1687. p.BrickColor = brickcolor
  1688. p.Material = material
  1689. return p
  1690. end
  1691.  
  1692. function CreateMesh(parent,meshtype,x1,y1,z1)
  1693. local mesh = Instance.new("SpecialMesh",parent)
  1694. mesh.MeshType = meshtype
  1695. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  1696. return mesh
  1697. end
  1698.  
  1699. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  1700. local mesh = Instance.new("SpecialMesh",parent)
  1701. mesh.MeshType = "FileMesh"
  1702. mesh.MeshId = meshid
  1703. mesh.Scale = Vector3.new(x1,y1,z1)
  1704. return mesh
  1705. end
  1706.  
  1707.  
  1708. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  1709. local mesh = Instance.new("SpecialMesh",parent)
  1710. mesh.MeshType = "FileMesh"
  1711. mesh.MeshId = meshid
  1712. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  1713. mesh.Scale = Vector3.new(x1,y1,z1)
  1714. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  1715. return mesh
  1716. end
  1717.  
  1718. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  1719. local weld = Instance.new("Weld")
  1720. weld.Parent = parent
  1721. weld.Part0 = part0
  1722. weld.Part1 = part1
  1723. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  1724. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  1725. return weld
  1726. end
  1727.  
  1728.  
  1729. --------------
  1730. -------------- ground effect
  1731. local cen = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1732. 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))
  1733. local effar = Instance.new("ParticleEmitter",cen)
  1734. effar.Texture = "rbxassetid://2344870656"
  1735. effar.LightEmission = 1
  1736. effar.Color = ColorSequence.new(Color3.new(1,0,0))
  1737. effar.Rate = 50
  1738. effar.Enabled = false
  1739. effar.EmissionDirection = "Front"
  1740. effar.Lifetime = NumberRange.new(1)
  1741. 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)})
  1742. effar.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1743. effar.Speed = NumberRange.new(80,90)
  1744. effar.Acceleration = Vector3.new(0,10,0)
  1745. effar.Drag = 5
  1746. effar.Rotation = NumberRange.new(-500,500)
  1747. effar.SpreadAngle = Vector2.new(0,900)
  1748. effar.RotSpeed = NumberRange.new(-500,500)
  1749.  
  1750. ----
  1751. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1752. 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))
  1753. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1754. 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))
  1755.  
  1756. local handlex = CreateParta(mwN,1,1,"Neon",maincolor)
  1757. CreateMesh(handle,"Brick",0,0,0)
  1758. 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))
  1759. local valuaring = 10
  1760. for i = 0, 49 do
  1761. valuaring = valuaring + 10
  1762. rn = CreateParta(mwY,0,0,"Neon",MAINRUINCOLOR)
  1763. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  1764. 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))
  1765. end
  1766.  
  1767. local refec = Instance.new("ParticleEmitter",handlex)
  1768. refec.Texture = "rbxassetid://249270319"
  1769. refec.LightEmission = 0.95
  1770. refec.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  1771. refec.Rate = 50
  1772. refec.Lifetime = NumberRange.new(0.5)
  1773. refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  1774. refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  1775. refec.Speed = NumberRange.new(0,2)
  1776. refec.Drag = 5
  1777. refec.LockedToPart = true
  1778. refec.Rotation = NumberRange.new(-500,500)
  1779. refec.VelocitySpread = 9000
  1780. refec.RotSpeed = NumberRange.new(-500,500)
  1781.  
  1782. local handle = CreateParta(m,1,1,"Neon",MAINRUINCOLOR)
  1783. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1784. 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))
  1785.  
  1786. --"rbxassetid://31727915"
  1787. --Sword
  1788.  
  1789. local sword = script.BloodCurse.BloodCurse:WaitForChild'hitbox'
  1790. for i,v in pairs(script.BloodCurse.BloodCurse:GetChildren()) do
  1791. v.Anchored = false
  1792. end
  1793. w1 = Instance.new("Weld")
  1794. w1.Parent = ra
  1795. w1.Part0 = ra
  1796. w1.Part1 = sword
  1797. w1.C0 = ra.CFrame:Inverse()
  1798. w1.C1 = sword.CFrame:Inverse()
  1799. 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)))
  1800.  
  1801. --Sword2
  1802.  
  1803. local cursedsword = script.CursedSword.CursedSword:WaitForChild'hitbox'
  1804. for i,v in pairs(script.CursedSword.CursedSword:GetChildren()) do
  1805. v.Anchored = false
  1806. end
  1807. w2 = Instance.new("Weld")
  1808. w2.Parent = ra
  1809. w2.Part0 = ra
  1810. w2.Part1 = sword
  1811. w2.C0 = ra.CFrame:Inverse()
  1812. w2.C1 = sword.CFrame:Inverse()
  1813. w2.C0 = CFrame.new(0,-0.4,-3)*CFrame.Angles(RAD(0),RAD(90),RAD(0))*CFrame.Angles(RAD(0),RAD(0),RAD(0))
  1814.  
  1815. --- Left wing.
  1816.  
  1817.  
  1818.  
  1819. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1820. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1821. 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))
  1822.  
  1823. local ae4 = script.E:Clone()
  1824. ae4.Parent = mw1
  1825. ae4.Color = MAINRUINCOLOR.Color
  1826. ae4.Anchored = false
  1827. 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))
  1828.  
  1829. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1830. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1831. 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))
  1832.  
  1833. local ae5 = script.E:Clone()
  1834. ae5.Parent = mw1
  1835. ae5.Color = MAINRUINCOLOR.Color
  1836. ae5.Anchored = false
  1837. 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))
  1838.  
  1839. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1840. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1841. 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))
  1842.  
  1843. local ae6 = script.E:Clone()
  1844. ae6.Parent = mw1
  1845. ae6.Color = MAINRUINCOLOR.Color
  1846. ae6.Anchored = false
  1847. 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))
  1848.  
  1849. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1850. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1851. 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))
  1852.  
  1853. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1854. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1855. 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))
  1856. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1857. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1858. 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))
  1859. A0 = Instance.new('Attachment',wed)
  1860. A0.Position = vt(0,0.25*2,0.25*2)
  1861. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1862. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1863. 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))
  1864. A1 = Instance.new('Attachment',wed)
  1865. A1.Position = vt(0,-0.25*2,-2*2)
  1866. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1867. CreateMesh(wed,"Wedge",0.0*25,3*2,0.5*2)
  1868. 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))
  1869.  
  1870. tl4 = Instance.new('Trail',wed)
  1871. tl4.Attachment0 = A1
  1872. tl4.Attachment1 = A0
  1873. tl4.Texture = "rbxassetid://2108945559"
  1874. tl4.LightEmission = 1
  1875. tl4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1876. tl4.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1877. tl4.Lifetime = 0.6
  1878. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1879. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1880. 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))
  1881.  
  1882. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1883. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1884. 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))
  1885. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1886. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1887. 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))
  1888. A0 = Instance.new('Attachment',wed)
  1889. A0.Position = vt(0,0.25*2,0.25*2)
  1890. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1891. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1892. 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))
  1893. A1 = Instance.new('Attachment',wed)
  1894. A1.Position = vt(0,-0.25*2,-2*2)
  1895. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1896. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1897. 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))
  1898.  
  1899. tl5 = Instance.new('Trail',wed)
  1900. tl5.Attachment0 = A1
  1901. tl5.Attachment1 = A0
  1902. tl5.Texture = "rbxassetid://2108945559"
  1903. tl5.LightEmission = 1
  1904. tl5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1905. tl5.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1906. tl5.Lifetime = 0.6
  1907. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1908. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1909. 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))
  1910.  
  1911. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1912. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1913. 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))
  1914. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1915. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1916. 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))
  1917. A0 = Instance.new('Attachment',wed)
  1918. A0.Position = vt(0,0.25*2,0.25*2)
  1919. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1920. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1921. 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))
  1922. A1 = Instance.new('Attachment',wed)
  1923. A1.Position = vt(0,-0.25*2,-2*2)
  1924. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1925. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1926. 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))
  1927. tl6 = Instance.new('Trail',wed)
  1928. tl6.Attachment0 = A1
  1929. tl6.Attachment1 = A0
  1930. tl6.Texture = "rbxassetid://2108945559"
  1931. tl6.LightEmission = 1
  1932. tl6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1933. tl6.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1934. tl6.Lifetime = 0.6
  1935.  
  1936.  
  1937. tl4.Enabled = false
  1938. tl5.Enabled = false
  1939. tl6.Enabled = false
  1940. -- Right wing.
  1941.  
  1942. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1943. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1944. 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))
  1945.  
  1946. local ae1 = script.E:Clone()
  1947. ae1.Parent = mw2
  1948. ae1.Transparency = 1
  1949. ae1.Anchored = false
  1950. 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))
  1951.  
  1952. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1953. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1954. 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))
  1955.  
  1956. local ae2 = script.E:Clone()
  1957. ae2.Parent = mw2
  1958. ae2.Transparency = 1
  1959. ae2.Anchored = false
  1960. 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))
  1961.  
  1962. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1963. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1964. 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))
  1965.  
  1966. local ae3 = script.E:Clone()
  1967. ae3.Parent = mw2
  1968. ae3.Transparency = 1
  1969. ae3.Anchored = false
  1970. 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))
  1971.  
  1972.  
  1973. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1974. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1975. 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))
  1976.  
  1977. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1978. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1979. 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))
  1980. A0 = Instance.new('Attachment',wed)
  1981. A0.Position = vt(0,0.25*2,0.25*2)
  1982. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1983. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1984. 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))
  1985. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1986. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1987. 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))
  1988. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1989. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1990. 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))
  1991. A1 = Instance.new('Attachment',wed)
  1992. A1.Position = vt(0,2,0.25)
  1993.  
  1994. tr4 = Instance.new('Trail',wed)
  1995. tr4.Attachment0 = A1
  1996. tr4.Attachment1 = A0
  1997. tr4.Texture = "rbxassetid://2108945559"
  1998. tr4.LightEmission = 1
  1999. tr4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  2000. tr4.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  2001. tr4.Lifetime = 0.6
  2002.  
  2003. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  2004. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  2005. 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))
  2006.  
  2007. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  2008. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  2009. 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))
  2010. A0 = Instance.new('Attachment',wed)
  2011. A0.Position = vt(0,0.25*2,0.25*2)
  2012. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  2013. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  2014. 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))
  2015. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  2016. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  2017. 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))
  2018. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  2019. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  2020. 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))
  2021. A1 = Instance.new('Attachment',wed)
  2022. A1.Position = vt(0,2,0.25)
  2023.  
  2024. tr5 = Instance.new('Trail',wed)
  2025. tr5.Attachment0 = A1
  2026. tr5.Attachment1 = A0
  2027. tr5.Texture = "rbxassetid://2108945559"
  2028. tr5.LightEmission = 1
  2029. tr5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  2030. tr5.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  2031. tr5.Lifetime = 0.6
  2032.  
  2033. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  2034. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  2035. 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))
  2036.  
  2037. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  2038. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  2039. 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))
  2040. A0 = Instance.new('Attachment',wed)
  2041. A0.Position = vt(0,0.25*2,0.25*2)
  2042. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  2043. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  2044. 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))
  2045. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  2046. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  2047. 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))
  2048. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  2049. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  2050. 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))
  2051. A1 = Instance.new('Attachment',wed)
  2052. A1.Position = vt(0,2,0.25)
  2053.  
  2054. tr6 = Instance.new('Trail',wed)
  2055. tr6.Attachment0 = A1
  2056. tr6.Attachment1 = A0
  2057. tr6.Texture = "rbxassetid://2108945559"
  2058. tr6.LightEmission = 1
  2059. tr6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  2060. tr6.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  2061. tr6.Lifetime = 0.6
  2062.  
  2063. ae4.Trail.Enabled=false
  2064. ae5.Trail.Enabled=false
  2065. ae6.Trail.Enabled=false
  2066. tr4.Enabled = false
  2067. tr5.Enabled = false
  2068. tr6.Enabled = false
  2069. ---- HERES THE RING
  2070.  
  2071.  
  2072. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  2073. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  2074. 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))
  2075. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  2076. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  2077. 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))
  2078. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  2079. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  2080. 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))
  2081.  
  2082.  
  2083. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  2084. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  2085. 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))
  2086.  
  2087. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  2088. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  2089. 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))
  2090.  
  2091.  
  2092.  
  2093. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  2094. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  2095. 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))
  2096.  
  2097. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  2098. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  2099. 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))
  2100.  
  2101. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  2102. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  2103. 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))
  2104.  
  2105. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  2106. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  2107. 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))
  2108. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  2109. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  2110. 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))
  2111.  
  2112. --- second ring
  2113.  
  2114. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  2115. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  2116. 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))
  2117. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  2118. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  2119. 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))
  2120. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  2121. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  2122. 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))
  2123.  
  2124. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  2125. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  2126. 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))
  2127.  
  2128. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  2129. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  2130. 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))
  2131.  
  2132.  
  2133.  
  2134. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  2135. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  2136. 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))
  2137.  
  2138. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  2139. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  2140. 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))
  2141.  
  2142. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  2143. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  2144. 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))
  2145.  
  2146. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  2147. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  2148. 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))
  2149. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  2150. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  2151. 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))]]--
  2152.  
  2153.  
  2154.  
  2155. for i, v in pairs(m:GetChildren()) do
  2156. if v:IsA("Part") then
  2157. v.BrickColor = BrickColor.new("Really black")
  2158. v.Material = "Glass"
  2159. end
  2160. end
  2161. for i, v in pairs(m2:GetChildren()) do
  2162. if v:IsA("Part") then
  2163. v.BrickColor = BrickColor.new("Crimson")
  2164. v.Material = "Granite"
  2165. end
  2166. end
  2167. for i, v in pairs(m3:GetChildren()) do
  2168. if v:IsA("Part") then
  2169. v.BrickColor = MAINRUINCOLOR
  2170. v.Material = "Neon"
  2171. end
  2172. end
  2173. for i, v in pairs(mw2:GetChildren()) do
  2174. if v:IsA("Part") then
  2175. v.BrickColor = MAINRUINCOLOR
  2176. v.Material = "Neon"
  2177. end
  2178. end
  2179. for i, v in pairs(mw1:GetChildren()) do
  2180. if v:IsA("Part") then
  2181. v.Transparency = 1
  2182. v.BrickColor = MAINRUINCOLOR
  2183. v.Material = "Neon"
  2184. end
  2185. end
  2186. for i, v in pairs(extrawingmod1:GetChildren()) do
  2187. if v:IsA("Part") then
  2188. v.Transparency = 1
  2189. v.BrickColor = BrickColor.new("White")
  2190. v.Material = "Neon"
  2191. end
  2192. end
  2193. for i, v in pairs(extrawingmod2:GetChildren()) do
  2194. if v:IsA("Part") then
  2195. v.Transparency = 1
  2196. v.BrickColor = BrickColor.new("White")
  2197. v.Material = "Neon"
  2198. end
  2199. end
  2200. ------
  2201.  
  2202.  
  2203. function RemoveOutlines(part)
  2204. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2205. end
  2206. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2207. local Part = Create("Part")({
  2208. Parent = Parent,
  2209. Reflectance = Reflectance,
  2210. Transparency = Transparency,
  2211. CanCollide = false,
  2212. Locked = true,
  2213. BrickColor = BrickColor.new(tostring(BColor)),
  2214. Name = Name,
  2215. Size = Size,
  2216. Material = Material
  2217. })
  2218. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  2219. RemoveOutlines(Part)
  2220. return Part
  2221. end
  2222. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2223. local Msh = Create(Mesh)({
  2224. Parent = Part,
  2225. Offset = OffSet,
  2226. Scale = Scale
  2227. })
  2228. if Mesh == "SpecialMesh" then
  2229. Msh.MeshType = MeshType
  2230. Msh.MeshId = MeshId
  2231. end
  2232. return Msh
  2233. end
  2234. function CreateWeld(Parent, Part0, Part1, C0, C1)
  2235. local Weld = Create("Weld")({
  2236. Parent = Parent,
  2237. Part0 = Part0,
  2238. Part1 = Part1,
  2239. C0 = C0,
  2240. C1 = C1
  2241. })
  2242. return Weld
  2243. end
  2244.  
  2245. Character=Player.Character
  2246. PlayerGui=Player.PlayerGui
  2247. Backpack=Player.Backpack
  2248. Torso=Character.Torso
  2249. Head=Character.Head
  2250. Humanoid=Character.Humanoid
  2251. m=Instance.new('Model',Character)
  2252. LeftArm=Character["Left Arm"]
  2253. LeftLeg=Character["Left Leg"]
  2254. RightArm=Character["Right Arm"]
  2255. RightLeg=Character["Right Leg"]
  2256. LS=Torso["Left Shoulder"]
  2257. LH=Torso["Left Hip"]
  2258. RS=Torso["Right Shoulder"]
  2259. RH=Torso["Right Hip"]
  2260. Face = Head.face
  2261. Neck=Torso.Neck
  2262. it=Instance.new
  2263. attacktype=1
  2264. vt=Vector3.new
  2265. cf=CFrame.new
  2266. euler=CFrame.fromEulerAnglesXYZ
  2267. angles=CFrame.Angles
  2268. cloaked=false
  2269. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2270. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2271. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  2272. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  2273. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  2274. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  2275. RootPart=Character.HumanoidRootPart
  2276. RootJoint=RootPart.RootJoint
  2277. RootCF=euler(-1.57,0,3.14)
  2278. attack = false
  2279. attackdebounce = false
  2280. deb=false
  2281. equipped=true
  2282. hand=false
  2283. MMouse=nil
  2284. combo=0
  2285. mana=0
  2286. trispeed=.2
  2287. attackmode='none'
  2288. local idle=0
  2289. local Anim="Idle"
  2290. local Effects={}
  2291. local gun=false
  2292. local shoot=false
  2293. local sine = 0
  2294. local change = 1
  2295.  
  2296.  
  2297. function RecolorTextAndRename(name,col1,col2,font)
  2298. modet.TextStrokeColor3 = col2
  2299. modet.TextColor3 = col1
  2300. modet.Font = font
  2301. modet.Text = name
  2302. --[[ned.Text = name
  2303. ned.TextColor3 = col1
  2304. ned.TextStrokeColor3 = col2]]
  2305. nice(name,col1,col2)
  2306. nice2(col1,col2)
  2307. end
  2308.  
  2309. local disably = false
  2310.  
  2311. local r = 255
  2312. local g = 0
  2313. local b = 0
  2314. coroutine.resume(coroutine.create(function()
  2315. while wait() do
  2316. for i = 0, 254/5 do
  2317. swait()
  2318. g = g + 5
  2319. end
  2320. for i = 0, 254/5 do
  2321. swait()
  2322. r = r - 5
  2323. end
  2324. for i = 0, 254/5 do
  2325. swait()
  2326. b = b + 5
  2327. end
  2328. for i = 0, 254/5 do
  2329. swait()
  2330. g = g - 5
  2331. end
  2332. for i = 0, 254/5 do
  2333. swait()
  2334. r = r + 5
  2335. end
  2336. for i = 0, 254/5 do
  2337. swait()
  2338. b = b - 5
  2339. end
  2340. end
  2341. end))
  2342.  
  2343. function warnedpeople(text,represfont,color,color2)
  2344. if disably ~= true then
  2345. CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
  2346. CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
  2347. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2348. coroutine.resume(coroutine.create(function()
  2349. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  2350. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  2351. end
  2352. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  2353. scrg.Name = "Spinny"
  2354. local frm = Instance.new("Frame",scrg)
  2355. frm.BackgroundTransparency = 0.25
  2356. frm.BackgroundColor3 = color
  2357. frm.BorderSizePixel = 0
  2358. frm.Rotation = 45
  2359. frm.Size = UDim2.new(3,0,0,100)
  2360. frm.Position = UDim2.new(-4,0,0,0)
  2361. local frm2 = frm:Clone()
  2362. frm2.Parent = scrg
  2363. frm2.BackgroundColor3 = color2
  2364. frm2.Position = UDim2.new(-4.05,0,0,0)
  2365. local imlb = Instance.new("ImageLabel",scrg)
  2366. imlb.BackgroundTransparency = 1
  2367. imlb.BackgroundColor3 = Color3.new(0,0,0)
  2368. imlb.Image = "rbxassetid://2344851144"
  2369. imlb.Size = UDim2.new(0,750,0,750)
  2370. imlb.ImageColor3 = color2
  2371. imlb.ImageTransparency = 0.25
  2372. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  2373. local imlb2 = imlb:Clone()
  2374. imlb2.Image = "rbxassetid://2076458450"
  2375. imlb2.Size = UDim2.new(1,0,1,0)
  2376. imlb2.ImageColor3 = color
  2377. imlb2.ImageTransparency = 0
  2378. imlb2.Position = UDim2.new(0,0,0,0)
  2379. local imlb3 = imlb:Clone()
  2380. imlb3.Image = "rbxassetid://2312119891"
  2381. imlb3.Size = UDim2.new(1,0,1,0)
  2382. imlb3.ImageColor3 = color2
  2383. imlb3.ImageTransparency = 0
  2384. imlb3.Position = UDim2.new(0,0,0,0)
  2385. local imlb4 = imlb:Clone()
  2386. imlb4.Image = "rbxassetid://2092248396"
  2387. imlb4.Size = UDim2.new(3,0,3,0)
  2388. imlb3.ImageColor3 = color
  2389. imlb4.ImageTransparency = 0
  2390. imlb4.Position = UDim2.new(-1,0,-1,0)
  2391. local imlb5 = imlb:Clone()
  2392. imlb5.Image = "rbxassetid://2344870656"
  2393. imlb5.Size = UDim2.new(10,0,10,0)
  2394. imlb5.ImageColor3 = color2
  2395. imlb5.ImageTransparency = 0
  2396. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  2397. imlb2.Parent = imlb
  2398. imlb3.Parent = imlb
  2399. imlb4.Parent = imlb
  2400. imlb5.Parent = imlb
  2401. local txtlb2 = Instance.new("TextLabel",imlb)
  2402. coroutine.resume(coroutine.create(function()
  2403. while true do
  2404. swait()
  2405. if Error == false then
  2406. txtlb2.Text = text
  2407. elseif Error == true then
  2408. txtlb2.Text = est[math.random(1,17)]
  2409. end
  2410. end
  2411. end))
  2412. txtlb2.Font = represfont
  2413. txtlb2.TextColor3 = color
  2414. txtlb2.TextStrokeTransparency = 0
  2415. txtlb2.BackgroundTransparency = 1
  2416. txtlb2.TextStrokeColor3 = color2
  2417. txtlb2.TextScaled = true
  2418. txtlb2.Size = UDim2.new(1,0,1,0)
  2419. txtlb2.Position = UDim2.new(0,0,0,0)
  2420. local fvalen = 0.55
  2421. local fval = -0.49
  2422. coroutine.resume(coroutine.create(function()
  2423. while true do
  2424. swait()
  2425. if unstablemode == true then
  2426. imlb.ImageColor3 = Color3.new(math.random(0.5,1),0,0)
  2427. frm.BackgroundColor3 = Color3.new(math.random(0.5,1),0,0)
  2428. frm2.BackgroundColor3 = Color3.new(math.random(0.5,1),0,0)
  2429. imlb4.ImageColor3 = Color3.new(math.random(0.5,1),0,0)
  2430. txtlb2.TextStrokeColor3 = Color3.new(math.random(0.5,1),0,0)
  2431. txtlb2.TextColor3 = Color3.new(1,1,1)
  2432. imlb.ImageColor3 = Color3.new(math.random(0.5,1),0,0)
  2433. imlb3.ImageColor3 = Color3.new(math.random(0.5,1),0,0)
  2434. imgl2b.ImageColor3 = Color3.new(math.random(0.5,1),0,0)
  2435. frm.BackgroundColor3 = Color3.new(math.random(0.5,1),0,0)
  2436. frm2.BackgroundColor3 = Color3.new(math.random(0.5,1),0,0)
  2437. if math.random(1,12) == 1 then
  2438. imlb.ImageColor3 = Color3.new(0,0,0)
  2439. frm.BackgroundColor3 = Color3.new(0,0,0)
  2440. frm2.BackgroundColor3 = Color3.new(0,0,0)
  2441. txtlb2.TextStrokeColor3 = Color3.new(0,0,0)
  2442. txtlb2.TextColor3 = Color3.new(math.random(0.2,1),0,0)
  2443. imlb4.ImageColor3 = Color3.new(0,0,0)
  2444. imlb.ImageColor3 = Color3.new(0,0,0)
  2445. imlb3.ImageColor3 = Color3.new(0,0,0)
  2446. imgl2b.ImageColor3 = Color3.new(0,0,0)
  2447. frm.BackgroundColor3 = Color3.new(0,0,0)
  2448. frm2.BackgroundColor3 = Color3.new(0,0,0)
  2449. end
  2450. end
  2451. end
  2452. end))
  2453. coroutine.resume(coroutine.create(function()
  2454. while true do
  2455. swait()
  2456. if rainbowmode == true then
  2457. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2458. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2459. txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
  2460. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  2461. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  2462. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  2463. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  2464. txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
  2465. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  2466. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  2467. imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
  2468. imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
  2469. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  2470. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  2471. end
  2472. end
  2473. end))
  2474. coroutine.resume(coroutine.create(function()
  2475. while true do
  2476. swait()
  2477. if Error == true then
  2478. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2479. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2480. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2481. txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2482. txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2483. imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2484. imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2485. imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2486. imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2487. imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2488. imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2489. frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2490. frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2491. text = est[math.random(1,17)]
  2492. end
  2493. end
  2494. end))
  2495. coroutine.resume(coroutine.create(function()
  2496. while true do
  2497. swait()
  2498. if CRAZED == true then
  2499. txtlb2.Rotation = math.random(-1,1)
  2500. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2501. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2502. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2503. txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
  2504. txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
  2505. imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  2506. imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  2507. imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  2508. imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  2509. imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  2510. imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  2511. frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  2512. frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  2513. end
  2514. end
  2515. end))
  2516. coroutine.resume(coroutine.create(function()
  2517. while true do
  2518. swait()
  2519. if chaosmode == true then
  2520. txtlb2.Rotation = math.random(-1,1)
  2521. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2522. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2523. imlb.ImageColor3 = BrickColor.random().Color
  2524. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  2525. end
  2526. end
  2527. end))
  2528. coroutine.resume(coroutine.create(function()
  2529. while true do
  2530. swait()
  2531. if scrg.Parent ~= nil then
  2532. fvalen = fvalen - 0.0001
  2533. elseif scrg.Parent == nil then
  2534. break
  2535. end
  2536. end
  2537. end))
  2538. local flol = -5
  2539. local flil = 1.6
  2540. coroutine.resume(coroutine.create(function()
  2541. for i = 0, 49 do
  2542. swait()
  2543. flol = flol + 0.125
  2544. flil = flil - 0.1
  2545. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  2546. frm.Rotation = frm.Rotation - 0.25
  2547. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  2548. frm2.Rotation = frm.Rotation + 0.325
  2549. imlb3.Rotation = imlb3.Rotation - 10
  2550. imlb2.Rotation = imlb.Rotation + 7.5
  2551. imlb.Rotation = imlb.Rotation + 5
  2552. if Error == false then
  2553. txtlb2.Rotation = txtlb2.Rotation - 5.125
  2554. elseif Error == true then
  2555. txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6)
  2556. end
  2557. imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  2558. end
  2559. for i = 0, 99 do
  2560. swait()
  2561. fval = fval + 0.05
  2562. flol = flol + 0.005
  2563. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  2564. frm.Rotation = frm.Rotation - 0.075
  2565. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  2566. frm2.Rotation = frm2.Rotation + 0.125
  2567. imlb3.Rotation = imlb3.Rotation - 2
  2568. imlb2.Rotation = imlb.Rotation + 1.5
  2569. imlb.Rotation = imlb.Rotation + 1
  2570. if Error == false then
  2571. txtlb2.Rotation = txtlb2.Rotation - 1.125
  2572. elseif Error == true then
  2573. txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6)
  2574. end
  2575. imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  2576. end
  2577. local valinc = 0
  2578. local vinc2 = 1
  2579. for i = 0, 99 do
  2580. swait()
  2581. vinc2 = vinc2 + 0.25
  2582. valinc = valinc + 0.0001
  2583. flol = flol + valinc
  2584. flil = flil + valinc
  2585. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  2586. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  2587. imlb.Rotation = imlb.Rotation + 1*vinc2
  2588. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  2589. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  2590. frm.Rotation = frm.Rotation + 0.1*vinc2
  2591. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  2592. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  2593. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  2594. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  2595. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  2596. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  2597. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  2598. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  2599. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  2600. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  2601. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  2602. end
  2603. scrg:Destroy()
  2604. end))
  2605. end))
  2606. end
  2607. end
  2608. end
  2609.  
  2610. function TheoriesMSGfunc(text,color,C3)
  2611. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2612. coroutine.resume(coroutine.create(function()
  2613. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  2614. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  2615. end
  2616. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  2617. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  2618. scrg.Name = "Dialog"
  2619. local txtlb = Instance.new("TextLabel",scrg)
  2620. txtlb.Text = ""
  2621. txtlb.Font = "Bodoni"
  2622. txtlb.TextColor3 = Color3.new(0,0,0)
  2623. txtlb.TextStrokeTransparency = 1
  2624. txtlb.BackgroundTransparency = 1
  2625. txtlb.BackgroundColor3 = color
  2626. txtlb.TextStrokeColor3 = C3
  2627. txtlb.TextColor3 = color
  2628. txtlb.TextScaled = true
  2629. txtlb.Size = UDim2.new(1,0,1,0)
  2630. txtlb.TextXAlignment = "Left"
  2631. txtlb.Position = UDim2.new(0,0,6.75 + 1,0)
  2632. local txtlb2 = Instance.new("TextLabel",scrg)
  2633. txtlb2.Text = ""
  2634. txtlb2.Font = "Bodoni"
  2635. txtlb2.TextColor3 = Color3.new(0,0,0)
  2636. txtlb2.TextStrokeTransparency = 0
  2637. txtlb2.BackgroundTransparency = 0.96
  2638. txtlb2.BackgroundColor3 = C3
  2639. txtlb2.TextStrokeColor3 = color
  2640. txtlb2.TextScaled = true
  2641. txtlb2.Size = UDim2.new(0, 999999, 0, 999)
  2642. txtlb2.TextXAlignment = "Center"
  2643. txtlb2.Position = UDim2.new(0,0,0,0)
  2644. local Iml = Instance.new("ImageLabel",scrg)
  2645. Iml.BackgroundTransparency = 1
  2646. Iml.BorderSizePixel = 0
  2647. Iml.ImageTransparency = 0
  2648. Iml.ImageColor3 = C3
  2649. Iml.Position = UDim2.new(0,0,0.75 + 1,0)
  2650. Iml.Size = UDim2.new(0, 638.82, 0, 591.5)
  2651. Iml.Image = "rbxassetid://0"
  2652. local Iml1 = Instance.new("ImageLabel",scrg)
  2653. Iml1.BackgroundTransparency = 1
  2654. Iml1.BorderSizePixel = 0
  2655. Iml1.ImageTransparency = 0
  2656. Iml1.ImageColor3 = C3
  2657. Iml1.Position = UDim2.new(0,0,0.75 + 1,0)
  2658. Iml1.Size = UDim2.new(0, 638.82, 0, 591.5)
  2659. Iml1.Image = "rbxassetid://2312119891"
  2660. local Iml2 = Instance.new("ImageLabel",scrg)
  2661. Iml2.BackgroundTransparency = 1
  2662. Iml2.BorderSizePixel = 0
  2663. Iml2.ImageTransparency = 0
  2664. Iml2.ImageColor3 = color
  2665. Iml2.Position = UDim2.new(0,0,0.75 + 1,0)
  2666. Iml2.Size = UDim2.new(0, 638.82, 0, 591.5)
  2667. Iml2.Image = "rbxassetid://2312119891"
  2668. local txtlb = Instance.new("TextLabel",Iml)
  2669. txtlb.Text = text
  2670. txtlb.Font = "SciFi"
  2671. txtlb.TextColor3 = color
  2672. txtlb.TextStrokeTransparency = 0
  2673. txtlb.BackgroundTransparency = 1
  2674. txtlb.TextStrokeColor3 = color
  2675. txtlb.TextScaled = true
  2676. txtlb.Size = UDim2.new(1,0,1,0)
  2677. txtlb.Position = UDim2.new(0,0,6.75 + 1,0)
  2678. local fvalen = 0.4
  2679. local fval = -0.49
  2680. coroutine.resume(coroutine.create(function()
  2681. while true do
  2682. swait()
  2683. if scrg.Parent ~= nil then
  2684. fvalen = fvalen - 0.0001
  2685. elseif scrg.Parent == nil then
  2686. break
  2687. end
  2688. end
  2689. end))
  2690. local flol = -0.625
  2691. local flil = -0.935
  2692. coroutine.resume(coroutine.create(function()
  2693. while true do
  2694. swait()
  2695. Iml1.Rotation = Iml1.Rotation + 2.5
  2696. Iml2.Rotation = Iml2.Rotation - 2.5
  2697. end
  2698. end))
  2699. coroutine.resume(coroutine.create(function()
  2700. for i = 0, 36 do
  2701. swait()
  2702. fval = fval + 0.0125
  2703. flol = flol + 0.025
  2704. flil = flil + 0.025
  2705. txtlb.Text = text
  2706. txtlb2.BackgroundTransparency = txtlb2.BackgroundTransparency - 0.008
  2707. txtlb.Position = UDim2.new(flil,0,0,0)
  2708. Iml.Position = UDim2.new(flol,0,-0.05,0)
  2709. Iml1.Position = UDim2.new(flol,0,-0.05,0)
  2710. Iml2.Position = UDim2.new(flol,0,-0.05,0)
  2711. end
  2712. coroutine.resume(coroutine.create(function()
  2713. for i = 0, 99 do
  2714. swait()
  2715. fval = fval + 0.00001
  2716. flol = flol + 0.0001
  2717. flil = flil + 0.0001
  2718. txtlb.Text = text
  2719. txtlb.Position = UDim2.new(flil,0,0,0)
  2720. Iml1.Position = UDim2.new(flol,0,-0.05,0)
  2721. Iml1.Position = UDim2.new(flol,0,-0.05,0)
  2722. Iml2.Position = UDim2.new(flol,0,-0.05,0)
  2723. end
  2724. end))
  2725. wait(1.6)
  2726. local valinc = 0
  2727. for i = 0, 99 do
  2728. swait()
  2729. valinc = valinc + 0.0001
  2730. flol = flol + valinc
  2731. flil = flil + valinc
  2732. Iml1.Rotation = Iml1.Rotation - valinc*50
  2733. Iml.Rotation = Iml1.Rotation - valinc*2
  2734. Iml2.Rotation = Iml2.Rotation - valinc*50
  2735. Iml.Position = UDim2.new(flol,0,0,0)
  2736. Iml1.Position = UDim2.new(flol,0,-0.05,0)
  2737. Iml2.Position = UDim2.new(flol,0,-0.05,0)
  2738. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  2739. txtlb2.BackgroundTransparency = txtlb2.BackgroundTransparency + 0.006
  2740. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  2741. Iml.ImageTransparency = Iml1.ImageTransparency + 0.01
  2742. Iml1.ImageTransparency = Iml1.ImageTransparency + 0.01
  2743. Iml2.ImageTransparency = Iml2.ImageTransparency + 0.01
  2744. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  2745. end
  2746. scrg:Destroy()
  2747. end))
  2748. end))
  2749. end
  2750. end
  2751.  
  2752. function IdolsWarn(text,represfont,color,color2)
  2753. if disably ~= true then
  2754. CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
  2755. CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
  2756. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2757. coroutine.resume(coroutine.create(function()
  2758. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  2759. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  2760. end
  2761. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  2762. scrg.Name = "Spinny"
  2763. local frm = Instance.new("Frame",scrg)
  2764. frm.BackgroundTransparency = 0.25
  2765. frm.BackgroundColor3 = color
  2766. frm.BorderSizePixel = 0
  2767. frm.Rotation = 45
  2768. frm.Size = UDim2.new(3,0,0,100)
  2769. frm.Position = UDim2.new(-4,0,0,0)
  2770. local frm2 = frm:Clone()
  2771. frm2.Parent = scrg
  2772. frm2.BackgroundColor3 = color2
  2773. frm2.Position = UDim2.new(-4.05,0,0,0)
  2774. local imlb = Instance.new("ImageLabel",scrg)
  2775. imlb.BackgroundTransparency = 1
  2776. imlb.BackgroundColor3 = color
  2777. imlb.Image = "rbxassetid://787198541"
  2778. imlb.Size = UDim2.new(0,750,0,750)
  2779. imlb.ImageColor3 = color2
  2780. imlb.ImageTransparency = 0.25
  2781. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  2782. local imlb2 = imlb:Clone()
  2783. imlb2.Image = "rbxassetid://197468643"
  2784. imlb2.Size = UDim2.new(1,0,1,0)
  2785. imlb2.ImageTransparency = 0
  2786. imlb2.Position = UDim2.new(0,0,0,0)
  2787. local imlb3 = imlb:Clone()
  2788. imlb3.Image = "rbxassetid://787191999"
  2789. imlb3.Size = UDim2.new(1,0,1,0)
  2790. imlb3.ImageColor3 = color2
  2791. imlb3.ImageTransparency = 0
  2792. imlb3.Position = UDim2.new(0,0,0,0)
  2793. local imlb4 = imlb:Clone()
  2794. imlb4.Image = "rbxassetid://2092248396"
  2795. imlb4.Size = UDim2.new(3,0,3,0)
  2796. imlb3.ImageColor3 = color
  2797. imlb4.ImageTransparency = 0
  2798. imlb4.Position = UDim2.new(-1,0,-1,0)
  2799. local imlb5 = imlb:Clone()
  2800. imlb5.Image = "rbxassetid://2344870656"
  2801. imlb5.Size = UDim2.new(10,0,10,0)
  2802. imlb5.ImageColor3 = color2
  2803. imlb5.ImageTransparency = 0
  2804. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  2805. imlb2.Parent = imlb
  2806. imlb3.Parent = imlb
  2807. imlb4.Parent = imlb
  2808. imlb5.Parent = imlb
  2809. local txtlb2 = Instance.new("TextLabel",imlb)
  2810. coroutine.resume(coroutine.create(function()
  2811. while true do
  2812. swait()
  2813. if Error == false then
  2814. txtlb2.Text = text
  2815. elseif Error == true then
  2816. txtlb2.Text = est[math.random(1,17)]
  2817. end
  2818. end
  2819. end))
  2820. txtlb2.Font = represfont
  2821. txtlb2.TextColor3 = color
  2822. txtlb2.TextStrokeTransparency = 0
  2823. txtlb2.BackgroundTransparency = 1
  2824. txtlb2.TextStrokeColor3 = color2
  2825. txtlb2.TextScaled = true
  2826. txtlb2.Size = UDim2.new(1,0,1,0)
  2827. txtlb2.Position = UDim2.new(0,0,0,0)
  2828. local fvalen = 0.55
  2829. local fval = -0.49
  2830. coroutine.resume(coroutine.create(function()
  2831. while true do
  2832. swait()
  2833. if rainbowmode == true then
  2834. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2835. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2836. txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
  2837. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  2838. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  2839. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  2840. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  2841. txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
  2842. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  2843. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  2844. imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
  2845. imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
  2846. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  2847. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  2848. end
  2849. end
  2850. end))
  2851. coroutine.resume(coroutine.create(function()
  2852. while true do
  2853. swait()
  2854. if Error == true then
  2855. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2856. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2857. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2858. txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2859. txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2860. imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2861. imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2862. imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2863. imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2864. imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2865. imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2866. frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2867. frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  2868. text = est[math.random(1,17)]
  2869. end
  2870. end
  2871. end))
  2872. coroutine.resume(coroutine.create(function()
  2873. while true do
  2874. swait()
  2875. if CRAZED == true then
  2876. txtlb2.Rotation = math.random(-1,1)
  2877. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2878. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2879. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2880. txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
  2881. txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
  2882. imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  2883. imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  2884. imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  2885. imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  2886. imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  2887. imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  2888. frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  2889. frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  2890. end
  2891. end
  2892. end))
  2893. coroutine.resume(coroutine.create(function()
  2894. while true do
  2895. swait()
  2896. if chaosmode == true then
  2897. txtlb2.Rotation = math.random(-1,1)
  2898. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2899. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2900. imlb.ImageColor3 = BrickColor.random().Color
  2901. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  2902. end
  2903. end
  2904. end))
  2905. coroutine.resume(coroutine.create(function()
  2906. while true do
  2907. swait()
  2908. if scrg.Parent ~= nil then
  2909. fvalen = fvalen - 0.0001
  2910. elseif scrg.Parent == nil then
  2911. break
  2912. end
  2913. end
  2914. end))
  2915. local flol = -5
  2916. local flil = 1.6
  2917. coroutine.resume(coroutine.create(function()
  2918. for i = 0, 49 do
  2919. swait()
  2920. flol = flol + 0.125
  2921. flil = flil - 0.1
  2922. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  2923. frm.Rotation = frm.Rotation - 0.25
  2924. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  2925. frm2.Rotation = frm.Rotation + 0.325
  2926. imlb3.Rotation = imlb3.Rotation - 10
  2927. imlb2.Rotation = imlb.Rotation + 7.5
  2928. imlb.Rotation = imlb.Rotation + 5
  2929. if Error == false then
  2930. txtlb2.Rotation = txtlb2.Rotation - 5.125
  2931. elseif Error == true then
  2932. txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6)
  2933. end
  2934. imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  2935. end
  2936. for i = 0, 99 do
  2937. swait()
  2938. fval = fval + 0.05
  2939. flol = flol + 0.005
  2940. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  2941. frm.Rotation = frm.Rotation - 0.075
  2942. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  2943. frm2.Rotation = frm2.Rotation + 0.125
  2944. imlb3.Rotation = imlb3.Rotation - 2
  2945. imlb2.Rotation = imlb.Rotation + 1.5
  2946. imlb.Rotation = imlb.Rotation + 1
  2947. if Error == false then
  2948. txtlb2.Rotation = txtlb2.Rotation - 1.125
  2949. elseif Error == true then
  2950. txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6)
  2951. end
  2952. imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  2953. end
  2954. local valinc = 0
  2955. local vinc2 = 1
  2956. for i = 0, 99 do
  2957. swait()
  2958. vinc2 = vinc2 + 0.25
  2959. valinc = valinc + 0.0001
  2960. flol = flol + valinc
  2961. flil = flil + valinc
  2962. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  2963. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  2964. imlb.Rotation = imlb.Rotation + 1*vinc2
  2965. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  2966. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  2967. frm.Rotation = frm.Rotation + 0.1*vinc2
  2968. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  2969. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  2970. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  2971. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  2972. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  2973. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  2974. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  2975. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  2976. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  2977. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  2978. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  2979. end
  2980. scrg:Destroy()
  2981. end))
  2982. end))
  2983. end
  2984. end
  2985. end
  2986.  
  2987.  
  2988. LW=Torso["Left Shoulder"]
  2989. LH=Torso["Left Hip"]
  2990. RW=Torso["Right Shoulder"]
  2991. RH=Torso["Right Hip"]
  2992.  
  2993. --save shoulders
  2994. --[[RSH, LSH=nil, nil
  2995. --welds
  2996. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  2997. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  2998. LH=Torso["Left Hip"]
  2999. RH=Torso["Right Hip"]
  3000. TorsoColor=Torso.BrickColor
  3001. function NoOutline(Part)
  3002. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  3003. end
  3004. ch=Character
  3005. RSH=ch.Torso["Right Shoulder"]
  3006. LSH=ch.Torso["Left Shoulder"]
  3007. --
  3008. RSH.Parent=nil
  3009. LSH.Parent=nil ]]--
  3010. --
  3011. RW.Name="Right Shoulder"
  3012. RW.Part0=char.Torso
  3013. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  3014. RW.C1=cf(0, 0.5, 0)
  3015. RW.Part1=char["Right Arm"]
  3016. RW.Parent=char.Torso
  3017. --
  3018. LW.Name="Left Shoulder"
  3019. LW.Part0=char.Torso
  3020. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  3021. LW.C1=cf(0, 0.5, 0)
  3022. LW.Part1=char["Left Arm"]
  3023. LW.Parent=char.Torso
  3024.  
  3025. local Stats=Instance.new("BoolValue")
  3026. Stats.Name="Stats"
  3027. Stats.Parent=Character
  3028. local Atk=Instance.new("NumberValue")
  3029. Atk.Name="Damage"
  3030. Atk.Parent=Stats
  3031. Atk.Value=1
  3032. local Def=Instance.new("NumberValue")
  3033. Def.Name="Defense"
  3034. Def.Parent=Stats
  3035. Def.Value=1
  3036. local Speed=Instance.new("NumberValue")
  3037. Speed.Name="Speed"
  3038. Speed.Parent=Stats
  3039. Speed.Value=1
  3040. local Mvmt=Instance.new("NumberValue")
  3041. Mvmt.Name="Movement"
  3042. Mvmt.Parent=Stats
  3043. Mvmt.Value=1
  3044.  
  3045. local donum=0
  3046.  
  3047.  
  3048. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  3049. local fp=it("Part")
  3050. fp.formFactor=formfactor
  3051. fp.Parent=parent
  3052. fp.Reflectance=reflectance
  3053. fp.Transparency=transparency
  3054. fp.CanCollide=false
  3055. fp.Locked=true
  3056. fp.BrickColor=brickcolor
  3057. fp.Name=name
  3058. fp.Size=size
  3059. fp.Position=Torso.Position
  3060. NoOutline(fp)
  3061. fp.Material="SmoothPlastic"
  3062. fp:BreakJoints()
  3063. return fp
  3064. end
  3065.  
  3066. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  3067. local mesh=it(Mesh)
  3068. mesh.Parent=part
  3069. if Mesh=="SpecialMesh" then
  3070. mesh.MeshType=meshtype
  3071. if meshid~="nil" then
  3072. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  3073. end
  3074. end
  3075. mesh.Offset=offset
  3076. mesh.Scale=scale
  3077. return mesh
  3078. end
  3079.  
  3080. function weld(parent,part0,part1,c0)
  3081. local weld=it("Weld")
  3082. weld.Parent=parent
  3083. weld.Part0=part0
  3084. weld.Part1=part1
  3085. weld.C0=c0
  3086. return weld
  3087. end
  3088.  
  3089. local Color1=Torso.BrickColor
  3090.  
  3091. local bodvel=Instance.new("BodyVelocity")
  3092. local bg=Instance.new("BodyGyro")
  3093.  
  3094. --------- SazEreno's Artificial HB --------------
  3095.  
  3096. -------- RAINBOW LEAVE IT TO ME
  3097.  
  3098.  
  3099. so = function(id,par,vol,pit)
  3100. coroutine.resume(coroutine.create(function()
  3101. local sou = Instance.new("Sound",par or workspace)
  3102. sou.Volume=vol
  3103. sou.Pitch=pit or 1
  3104. sou.SoundId=id
  3105. swait()
  3106. sou:play()
  3107. game:GetService("Debris"):AddItem(sou,6)
  3108. end))
  3109. end
  3110.  
  3111. function clerp(a,b,t)
  3112. local qa = {QuaternionFromCFrame(a)}
  3113. local qb = {QuaternionFromCFrame(b)}
  3114. local ax, ay, az = a.x, a.y, a.z
  3115. local bx, by, bz = b.x, b.y, b.z
  3116. local _t = 1-t
  3117. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  3118. end
  3119.  
  3120. function aclerp(startCF,endCF,alpha)
  3121. return startCF:lerp(endCF, alpha)
  3122. end
  3123.  
  3124. function QuaternionFromCFrame(cf)
  3125. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3126. local trace = m00 + m11 + m22
  3127. if trace > 0 then
  3128. local s = math.sqrt(1 + trace)
  3129. local recip = 0.5/s
  3130. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  3131. else
  3132. local i = 0
  3133. if m11 > m00 then
  3134. i = 1
  3135. end
  3136. if m22 > (i == 0 and m00 or m11) then
  3137. i = 2
  3138. end
  3139. if i == 0 then
  3140. local s = math.sqrt(m00-m11-m22+1)
  3141. local recip = 0.5/s
  3142. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  3143. elseif i == 1 then
  3144. local s = math.sqrt(m11-m22-m00+1)
  3145. local recip = 0.5/s
  3146. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  3147. elseif i == 2 then
  3148. local s = math.sqrt(m22-m00-m11+1)
  3149. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  3150. end
  3151. end
  3152. end
  3153.  
  3154. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3155. local xs, ys, zs = x + x, y + y, z + z
  3156. local wx, wy, wz = w*xs, w*ys, w*zs
  3157. local xx = x*xs
  3158. local xy = x*ys
  3159. local xz = x*zs
  3160. local yy = y*ys
  3161. local yz = y*zs
  3162. local zz = z*zs
  3163. 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))
  3164. end
  3165.  
  3166. function QuaternionSlerp(a, b, t)
  3167. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  3168. local startInterp, finishInterp;
  3169. if cosTheta >= 0.0001 then
  3170. if (1 - cosTheta) > 0.0001 then
  3171. local theta = math.acos(cosTheta)
  3172. local invSinTheta = 1/math.sin(theta)
  3173. startInterp = math.sin((1-t)*theta)*invSinTheta
  3174. finishInterp = math.sin(t*theta)*invSinTheta
  3175. else
  3176. startInterp = 1-t
  3177. finishInterp = t
  3178. end
  3179. else
  3180. if (1+cosTheta) > 0.0001 then
  3181. local theta = math.acos(-cosTheta)
  3182. local invSinTheta = 1/math.sin(theta)
  3183. startInterp = math.sin((t-1)*theta)*invSinTheta
  3184. finishInterp = math.sin(t*theta)*invSinTheta
  3185. else
  3186. startInterp = t-1
  3187. finishInterp = t
  3188. end
  3189. end
  3190. 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
  3191. end
  3192.  
  3193. local function CFrameFromTopBack(at, top, back)
  3194. local right = top:Cross(back)
  3195. return CFrame.new(at.x, at.y, at.z,
  3196. right.x, top.x, back.x,
  3197. right.y, top.y, back.y,
  3198. right.z, top.z, back.z)
  3199. end
  3200.  
  3201. function Triangle(a, b, c)
  3202. local edg1 = (c-a):Dot((b-a).unit)
  3203. local edg2 = (a-b):Dot((c-b).unit)
  3204. local edg3 = (b-c):Dot((a-c).unit)
  3205. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  3206. a, b, c = a, b, c
  3207. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  3208. a, b, c = b, c, a
  3209. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  3210. a, b, c = c, a, b
  3211. else
  3212. assert(false, "unreachable")
  3213. end
  3214.  
  3215. local len1 = (c-a):Dot((b-a).unit)
  3216. local len2 = (b-a).magnitude - len1
  3217. local width = (a + (b-a).unit*len1 - c).magnitude
  3218.  
  3219. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  3220.  
  3221. local list = {}
  3222.  
  3223. if len1 > 0.01 then
  3224. local w1 = Instance.new('WedgePart', m)
  3225. game:GetService("Debris"):AddItem(w1,5)
  3226. w1.Material = "SmoothPlastic"
  3227. w1.FormFactor = 'Custom'
  3228. w1.BrickColor = MAINRUINCOLOR
  3229. w1.Transparency = 0
  3230. w1.Reflectance = 0
  3231. w1.Material = "SmoothPlastic"
  3232. w1.CanCollide = false
  3233. local l1 = Instance.new("PointLight",w1)
  3234. l1.Color = Color3.new(170,0,0)
  3235. NoOutline(w1)
  3236. local sz = Vector3.new(0.2, width, len1)
  3237. w1.Size = sz
  3238. local sp = Instance.new("SpecialMesh",w1)
  3239. sp.MeshType = "Wedge"
  3240. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  3241. w1:BreakJoints()
  3242. w1.Anchored = true
  3243. w1.Parent = workspace
  3244. w1.Transparency = 0.7
  3245. table.insert(Effects,{w1,"Disappear",.01})
  3246. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  3247. table.insert(list,w1)
  3248. end
  3249.  
  3250. if len2 > 0.01 then
  3251. local w2 = Instance.new('WedgePart', m)
  3252. game:GetService("Debris"):AddItem(w2,5)
  3253. w2.Material = "SmoothPlastic"
  3254. w2.FormFactor = 'Custom'
  3255. w2.BrickColor = MAINRUINCOLOR
  3256. w2.Transparency = 0
  3257. w2.Reflectance = 0
  3258. w2.Material = "SmoothPlastic"
  3259. w2.CanCollide = false
  3260. local l2 = Instance.new("PointLight",w2)
  3261. l2.Color = Color3.new(170,0,0)
  3262. NoOutline(w2)
  3263. local sz = Vector3.new(0.2, width, len2)
  3264. w2.Size = sz
  3265. local sp = Instance.new("SpecialMesh",w2)
  3266. sp.MeshType = "Wedge"
  3267. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  3268. w2:BreakJoints()
  3269. w2.Anchored = true
  3270. w2.Parent = workspace
  3271. w2.Transparency = 0.7
  3272. table.insert(Effects,{w2,"Disappear",.01})
  3273. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  3274. table.insert(list,w2)
  3275. end
  3276. return unpack(list)
  3277. end
  3278.  
  3279.  
  3280. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  3281. if DoDamage == true then
  3282. if hit.Parent == nil then
  3283. return
  3284. end
  3285. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  3286. for _, v in pairs(hit.Parent:children()) do
  3287. if v:IsA("Humanoid") then
  3288. h = v
  3289. end
  3290. end
  3291. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  3292. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  3293. return
  3294. end
  3295. local c = Create("ObjectValue")({
  3296. Name = "creator",
  3297. Value = game:GetService("Players").LocalPlayer,
  3298. Parent = h
  3299. })
  3300. game:GetService("Debris"):AddItem(c, 0.5)
  3301. if HitSound ~= nil and HitPitch ~= nil then
  3302. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  3303. end
  3304. local Damage = math.random(minim, maxim)
  3305. local blocked = false
  3306. local block = hit.Parent:findFirstChild("Block")
  3307. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  3308. blocked = true
  3309. block.Value = block.Value - 1
  3310. print(block.Value)
  3311. end
  3312. if blocked == false then
  3313. local HitHealth = h.Health
  3314. h.MaxHealth = 100
  3315. h.Health = h.Health - Damage
  3316. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  3317. --print("gained kill")
  3318. dmg(h.Parent)
  3319. end
  3320. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), Damage, .03, Part.BrickColor.Color)
  3321. else
  3322. h.Health = h.Health - Damage / 2
  3323. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), Damage, .03, Part.BrickColor.Color)
  3324. end
  3325. if Type == "Knockdown" then
  3326. local hum = hit.Parent.Humanoid
  3327. hum.PlatformStand = true
  3328. coroutine.resume(coroutine.create(function(HHumanoid)
  3329. swait(1)
  3330. HHumanoid.PlatformStand = false
  3331. end), hum)
  3332. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  3333. local bodvol = Create("BodyVelocity")({
  3334. velocity = angle * knockback,
  3335. P = 5000,
  3336. maxForce = Vector3.new(8000, 8000, 8000),
  3337. Parent = hit
  3338. })
  3339. local rl = Create("BodyAngularVelocity")({
  3340. P = 3000,
  3341. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  3342. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  3343. Parent = hit
  3344. })
  3345. game:GetService("Debris"):AddItem(bodvol, 0.5)
  3346. game:GetService("Debris"):AddItem(rl, 0.5)
  3347. elseif Type == "Normal" then
  3348. local vp = Create("BodyVelocity")({
  3349. P = 500,
  3350. maxForce = Vector3.new(math.huge, 0, math.huge),
  3351. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  3352. })
  3353. if knockback > 0 then
  3354. vp.Parent = hit.Parent.Head
  3355. end
  3356. game:GetService("Debris"):AddItem(vp, 0.5)
  3357. elseif Type == "Up" then
  3358. local bodyVelocity = Create("BodyVelocity")({
  3359. velocity = Vector3.new(0, 20, 0),
  3360. P = 5000,
  3361. maxForce = Vector3.new(8000, 8000, 8000),
  3362. Parent = hit
  3363. })
  3364. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  3365. local bodyVelocity = Create("BodyVelocity")({
  3366. velocity = Vector3.new(0, 20, 0),
  3367. P = 5000,
  3368. maxForce = Vector3.new(8000, 8000, 8000),
  3369. Parent = hit
  3370. })
  3371. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  3372. elseif Type == "Leech" then
  3373. local hum = hit.Parent.Humanoid
  3374. if hum ~= nil then
  3375. for i = 0, 2 do
  3376. 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)
  3377. end
  3378. Humanoid.Health = Humanoid.Health + 10
  3379. end
  3380. elseif Type == "UpKnock" then
  3381. local hum = hit.Parent.Humanoid
  3382. hum.PlatformStand = true
  3383. if hum ~= nil then
  3384. hitr = true
  3385. end
  3386. coroutine.resume(coroutine.create(function(HHumanoid)
  3387. swait(5)
  3388. HHumanoid.PlatformStand = false
  3389. hitr = false
  3390. end), hum)
  3391. local bodyVelocity = Create("BodyVelocity")({
  3392. velocity = Vector3.new(0, 20, 0),
  3393. P = 5000,
  3394. maxForce = Vector3.new(8000, 8000, 8000),
  3395. Parent = hit
  3396. })
  3397. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  3398. local bodyVelocity = Create("BodyVelocity")({
  3399. velocity = Vector3.new(0, 20, 0),
  3400. P = 5000,
  3401. maxForce = Vector3.new(8000, 8000, 8000),
  3402. Parent = hit
  3403. })
  3404. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  3405. elseif Type == "Snare" then
  3406. local bp = Create("BodyPosition")({
  3407. P = 2000,
  3408. D = 100,
  3409. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3410. position = hit.Parent.Torso.Position,
  3411. Parent = hit.Parent.Torso
  3412. })
  3413. game:GetService("Debris"):AddItem(bp, 1)
  3414. elseif Type == "Slashnare" then
  3415. 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)
  3416. for i = 1, math.random(4, 5) do
  3417. 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)
  3418. end
  3419. local bp = Create("BodyPosition")({
  3420. P = 2000,
  3421. D = 100,
  3422. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3423. position = hit.Parent.Torso.Position,
  3424. Parent = hit.Parent.Torso
  3425. })
  3426. game:GetService("Debris"):AddItem(bp, 1)
  3427. elseif Type == "Spike" then
  3428. -- CreateBigIceSword(hit.Parent.Torso.CFrame)
  3429. local bp = Create("BodyPosition")({
  3430. P = 2000,
  3431. D = 100,
  3432. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3433. position = hit.Parent.Torso.Position,
  3434. Parent = hit.Parent.Torso
  3435. })
  3436. game:GetService("Debris"):AddItem(bp, 1)
  3437. elseif Type == "Freeze" then
  3438. local BodPos = Create("BodyPosition")({
  3439. P = 50000,
  3440. D = 1000,
  3441. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3442. position = hit.Parent.Torso.Position,
  3443. Parent = hit.Parent.Torso
  3444. })
  3445. local BodGy = Create("BodyGyro")({
  3446. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  3447. P = 20000,
  3448. Parent = hit.Parent.Torso,
  3449. cframe = hit.Parent.Torso.CFrame
  3450. })
  3451. hit.Parent.Torso.Anchored = true
  3452. coroutine.resume(coroutine.create(function(Part)
  3453. swait(1.5)
  3454. Part.Anchored = false
  3455. end), hit.Parent.Torso)
  3456. game:GetService("Debris"):AddItem(BodPos, 3)
  3457. game:GetService("Debris"):AddItem(BodGy, 3)
  3458. end
  3459. local debounce = Create("BoolValue")({
  3460. Name = "DebounceHit",
  3461. Parent = hit.Parent,
  3462. Value = true
  3463. })
  3464. game:GetService("Debris"):AddItem(debounce, Delay)
  3465. c = Instance.new("ObjectValue")
  3466. c.Name = "creator"
  3467. c.Value = Player
  3468. c.Parent = h
  3469. game:GetService("Debris"):AddItem(c, 0.5)
  3470. end
  3471. elseif DoDamage == false then
  3472. print("Damage is disabled")
  3473. end
  3474.  
  3475. end
  3476. function ShowDamage(Pos, Text, Time, Color)
  3477. coroutine.resume(coroutine.create(function()
  3478. local Rate = 0.03333333333333333
  3479. local Pos = Pos or Vector3.new(0, 0, 0)
  3480. local Text = Text or ""
  3481. local Color = Color or Color3.new(1, 0, 1)
  3482. local EffectPart = CreatePart(Character, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  3483. EffectPart.Anchored = true
  3484. EffectPart.CFrame = CFrame.new(Pos)
  3485. local BillboardGui = Create("BillboardGui")({
  3486. Size = UDim2.new(6, 0, 6, 0),
  3487. Adornee = EffectPart,
  3488. Parent = EffectPart,
  3489. AlwaysOnTop=true,
  3490. Active=true
  3491. })
  3492. local TextLabel = Create("TextLabel")({
  3493. BackgroundTransparency = 1,
  3494. AnchorPoint=Vector2.new(.5,.5),
  3495. Position = UDim2.new(.5, 0, .5, 0),
  3496. Size = UDim2.new(1, 0, 1, 0),
  3497. Text = Text,
  3498. TextColor3 = MAINRUINCOLOR.Color,
  3499. TextStrokeColor3 = SECONDRUINCOLOR.Color,
  3500. TextStrokeTransparency=0,
  3501. TextScaled = true,
  3502. Font = Enum.Font.Bodoni,
  3503. Parent = BillboardGui,
  3504. ZIndex=4,
  3505. })
  3506.  
  3507. local aaa=math.random(-360,360)
  3508. local bbb=math.random(-360,360)
  3509.  
  3510. local F1 = Create("Frame")({
  3511. AnchorPoint=Vector2.new(.5,.5),
  3512. Position = UDim2.new(.5, 0, .5, 0),
  3513. Size = UDim2.new(.4,0,.4,0),
  3514. BackgroundColor3 =MAINRUINCOLOR.Color,
  3515. BorderColor3 =SECONDRUINCOLOR.Color,
  3516. BorderSizePixel=4,
  3517. Parent = BillboardGui,
  3518. Rotation=aaa
  3519. })
  3520. local F2 = Create("Frame")({
  3521. AnchorPoint=Vector2.new(.5,.5),
  3522. Position = UDim2.new(.5, 0, .5, 0),
  3523. Size = UDim2.new(.4,0,.4,0),
  3524. BackgroundColor3 =MAINRUINCOLOR.Color,
  3525. BorderColor3 =SECONDRUINCOLOR.Color,
  3526. BorderSizePixel=4,
  3527. Parent = BillboardGui,
  3528. Rotation=-aaa
  3529. })
  3530. local F3 = Create("Frame")({
  3531. AnchorPoint=Vector2.new(.5,.5),
  3532. Position = UDim2.new(.5, 0, .5, 0),
  3533. Size = UDim2.new(.2,0,.2,0),
  3534. BackgroundColor3 =MAINRUINCOLOR.Color,
  3535. BorderColor3 =SECONDRUINCOLOR.Color,
  3536. BorderSizePixel=4,
  3537. Parent = BillboardGui,
  3538. ZIndex=2,
  3539. Rotation=bbb
  3540. })
  3541. local F4 = Create("Frame")({
  3542. AnchorPoint=Vector2.new(.5,.5),
  3543. Position = UDim2.new(.5, 0, .5, 0),
  3544. Size = UDim2.new(.2,0,.2,0),
  3545. BackgroundColor3 =MAINRUINCOLOR.Color,
  3546. BorderColor3 =SECONDRUINCOLOR.Color,
  3547. BorderSizePixel=4,
  3548. Parent = BillboardGui,
  3549. ZIndex=2,
  3550. Rotation=-bbb
  3551. })
  3552.  
  3553. --[[delay(0, function() -- no thank
  3554. local Frames = Time / Rate
  3555. for Frame = 1, Frames do
  3556. wait(Rate)
  3557. local Percent = Frame / Frames
  3558. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  3559. TextLabel.TextTransparency = Percent
  3560. end
  3561. if EffectPart and EffectPart.Parent then
  3562. EffectPart:Destroy()
  3563. end
  3564. end)]]
  3565. local ha=EffectPart
  3566. local oring=ha.CFrame*CFrame.new(0,3.4,0)
  3567. F1:TweenPosition(UDim2.new(.2,0,.5,0), "Out", "Quint", 1,true)
  3568. F2:TweenPosition(UDim2.new(.8,0,.5,0), "Out", "Quint", 1,true)
  3569. F3:TweenPosition(UDim2.new(-.1,0,.5,0), "Out", "Quint", 1.5,true)
  3570. F4:TweenPosition(UDim2.new(1.1,0,.5,0), "Out", "Quint", 1.5,true)
  3571. for aaa=0,1.1,Time do
  3572. swait()
  3573. ha.CFrame=clerp(ha.CFrame,oring,.1)
  3574. F1.BackgroundTransparency=0+1*aaa
  3575. F2.BackgroundTransparency=0+1*aaa
  3576. F3.BackgroundTransparency=0+.5*aaa
  3577. F4.BackgroundTransparency=0+.5*aaa
  3578. F1.Rotation=F1.Rotation+math.random(5,10)
  3579. F2.Rotation=F2.Rotation-math.random(5,10)
  3580. F3.Rotation=F3.Rotation+math.random(3,6)
  3581. F4.Rotation=F4.Rotation-math.random(3,6)
  3582. end
  3583. for aaa=0,1,.1 do
  3584. swait()
  3585. TextLabel.TextTransparency=aaa
  3586. TextLabel.TextStrokeTransparency=aaa
  3587. F3.BackgroundTransparency=.5+.5*aaa
  3588. F4.BackgroundTransparency=.5+.5*aaa
  3589. F3.Rotation=F3.Rotation+math.random(3,6)
  3590. F4.Rotation=F4.Rotation-math.random(3,6)
  3591. end
  3592. --ha:Remove()
  3593. end))
  3594. end
  3595. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  3596. for _, c in pairs(workspace:children()) do
  3597. local hum = c:findFirstChildOfClass("Humanoid")
  3598. if hum ~= nil then
  3599. local head = c:findFirstChild("Head")
  3600. if head ~= nil then
  3601. local targ = head.Position - Part.Position
  3602. local mag = targ.magnitude
  3603. if magni >= mag and c.Name ~= Player.Name then
  3604. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  3605. end
  3606. end
  3607. end
  3608. end
  3609. end
  3610.  
  3611. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  3612. for _, c in pairs(workspace:children()) do
  3613. local hum = c:findFirstChild("Humanoid")
  3614. if hum ~= nil then
  3615. local head = c:findFirstChild("Torso")
  3616. if head ~= nil then
  3617. local targ = head.Position - Part.Position
  3618. local mag = targ.magnitude
  3619. if magni >= mag and c.Name ~= Player.Name then
  3620. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  3621. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  3622. end
  3623. end
  3624. end
  3625. end
  3626. end
  3627.  
  3628. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  3629. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  3630. end
  3631.  
  3632. function tbeam(col1,col2)
  3633. local lookavec = 0
  3634. local mult = 1
  3635. local elocacenter = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  3636. elocacenter.Anchored = true
  3637. elocacenter.CFrame = root.CFrame
  3638. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3639. eloca1.Anchored = true
  3640. eloca1.CFrame = elocacenter.CFrame
  3641. local at1 = Instance.new("Attachment",eloca1)
  3642. at1.Position = vt(0,10,0)
  3643. local at2 = Instance.new("Attachment",eloca1)
  3644. at2.Position = vt(0,-10,0)
  3645. local trl = Instance.new('Trail',eloca1)
  3646. trl.Attachment0 = at1
  3647. trl.Attachment1 = at2
  3648. trl.Texture = "rbxassetid://1049219073"
  3649. trl.LightEmission = 1
  3650. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3651. trl.Color = ColorSequence.new(col1.Color)
  3652. trl.Lifetime = 4
  3653. local eff = Instance.new("ParticleEmitter",eloca1)
  3654. eff.Texture = "rbxassetid://2273224484"
  3655. eff.LightEmission = 1
  3656. eff.Color = ColorSequence.new(col1.Color)
  3657. eff.Rate = 500000
  3658. eff.Lifetime = NumberRange.new(0.5,1)
  3659. 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)})
  3660. 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)})
  3661. eff.Speed = NumberRange.new(20,250)
  3662. eff.Drag = 5
  3663. eff.Rotation = NumberRange.new(-500,500)
  3664. eff.VelocitySpread = 9000
  3665. eff.RotSpeed = NumberRange.new(-50,50)
  3666. local eloca2 = eloca1:Clone()
  3667. eloca2.Parent = elocacenter
  3668. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3669. eloca3.Anchored = true
  3670. eloca3.CFrame = elocacenter.CFrame
  3671. local at1 = Instance.new("Attachment",eloca3)
  3672. at1.Position = vt(0,10,0)
  3673. local at2 = Instance.new("Attachment",eloca3)
  3674. at2.Position = vt(0,-10,0)
  3675. local trl = Instance.new('Trail',eloca3)
  3676. trl.Attachment0 = at1
  3677. trl.Attachment1 = at2
  3678. trl.Texture = "rbxassetid://1049219073"
  3679. trl.LightEmission = 1
  3680. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3681. trl.Color = ColorSequence.new(col2.Color)
  3682. trl.Lifetime = 4
  3683. local eff = Instance.new("ParticleEmitter",eloca3)
  3684. eff.Texture = "rbxassetid://2273224484"
  3685. eff.LightEmission = 1
  3686. eff.Color = ColorSequence.new(col2.Color)
  3687. eff.Rate = 500000
  3688. eff.Lifetime = NumberRange.new(0.5,1)
  3689. 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)})
  3690. 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)})
  3691. eff.Speed = NumberRange.new(20,250)
  3692. eff.Drag = 5
  3693. eff.Rotation = NumberRange.new(-500,500)
  3694. eff.VelocitySpread = 9000
  3695. eff.RotSpeed = NumberRange.new(-50,50)
  3696. local eloca4 = eloca3:Clone()
  3697. eloca4.Parent = elocacenter
  3698. elocacenter.CFrame = root.CFrame
  3699. sphere2(6,"Add",root.CFrame*CFrame.Angles(0,0,0),vt(1,10000,1),0.9,7,0.9,col2)
  3700. sphere2(5,"Add",root.CFrame*CFrame.Angles(0,0,0),vt(1,10000,1),0.8,7,0.8,col1)
  3701. sphere2(4,"Add",root.CFrame*CFrame.Angles(0,0,0),vt(1,10000,1),0.6,7,0.6,col2)
  3702. sphere2(3,"Add",root.CFrame*CFrame.Angles(0,0,0),vt(1,10000,1),0.5,7,0.5,col1)
  3703. local effx = Instance.new("ParticleEmitter",root)
  3704. effx.Texture = "rbxassetid://144580273" -- 144580273 74564879
  3705. effx.LightEmission = 1
  3706. effx.Color = ColorSequence.new(col1.Color)
  3707. effx.Rate = 500000
  3708. effx.Lifetime = NumberRange.new(0.25,0.75)
  3709. effx.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,200,0)})
  3710. effx.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.5,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3711. effx.Speed = NumberRange.new(0,10)
  3712. effx.Drag = 5
  3713. effx.Rotation = NumberRange.new(-500,500)
  3714. effx.VelocitySpread = 9000
  3715. effx.RotSpeed = NumberRange.new(-50,50)
  3716. local effx2 = Instance.new("ParticleEmitter",root)
  3717. effx2.Texture = "rbxassetid://2273224484"
  3718. effx2.LightEmission = 1
  3719. effx2.Color = ColorSequence.new(col1.Color)
  3720. effx2.Rate = 500000
  3721. effx2.Lifetime = NumberRange.new(1,2)
  3722. effx2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,200,0),NumberSequenceKeypoint.new(0.1,50,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  3723. effx2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3724. effx2.Speed = NumberRange.new(50,1200)
  3725. effx2.Drag = 5
  3726. effx2.Rotation = NumberRange.new(-500,500)
  3727. effx2.VelocitySpread = 9000
  3728. effx2.RotSpeed = NumberRange.new(-50,50)
  3729. local effx3 = effx2:Clone()
  3730. effx3.Parent = root
  3731. effx3.Color = ColorSequence.new(col2.Color)
  3732. symbolizeBlink(root,0,144580273,col1.Color,20,0,0,0,root,true,-5,2)
  3733. symbolizeBlink(root,0,144580273,col2.Color,25,0,0,0,root,true,-5,1)
  3734. for i = 0, 1 do
  3735. CFuncs["Sound"].Create("rbxassetid://763717897", root, 5, 1.25)
  3736. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 5,0.75)
  3737. CFuncs["Sound"].Create("rbxassetid://1664711478", root, 2.5,1)
  3738. CFuncs["Sound"].Create("rbxassetid://763718160", root, 5, 0.75)
  3739. end
  3740. coroutine.resume(coroutine.create(function()
  3741. wait(0.05)
  3742. effx.Enabled = false
  3743. wait(0.1)
  3744. effx2.Enabled = false
  3745. effx3.Enabled = false
  3746. end))
  3747. coroutine.resume(coroutine.create(function()
  3748. for i = 0, 9, 0.1 do
  3749. swait()
  3750. mult = mult + 0.5
  3751. lookavec = lookavec + 0.1*mult
  3752. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(5*mult/10),0)
  3753. eloca1.CFrame = elocacenter.CFrame*CFrame.new(40+lookavec/5,-15+lookavec*2,0)
  3754. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-40-lookavec/5,-15+lookavec*2,0)
  3755. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,-15+lookavec*2,40+lookavec/5)
  3756. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,-15+lookavec*2,-40-lookavec/5)
  3757. end
  3758. for i,v in pairs(elocacenter:GetDescendants()) do
  3759. if v:IsA("ParticleEmitter") then
  3760. v.Enabled = false
  3761. end
  3762. end
  3763. wait(6)
  3764. effx:Destroy()
  3765. effx2:Destroy()
  3766. effx3:Destroy()
  3767. elocacenter:Destroy()
  3768. end))
  3769. end
  3770.  
  3771. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  3772. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3773. prt.Anchored=true
  3774. prt.CFrame=cframe
  3775. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  3776. --http://www.roblox.com/asset/?id=4770560
  3777. game:GetService("Debris"):AddItem(prt,2)
  3778. CF=prt.CFrame
  3779. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  3780. for i=0,1,0.2 do
  3781. wait()
  3782. Part.CFrame=CF*cf(0,0,-0.4)
  3783. end
  3784. for i=0,1,delay do
  3785. wait()
  3786. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  3787. Mesh.Scale=Mesh.Scale
  3788. end
  3789. for i=0,1,0.1 do
  3790. wait()
  3791. Part.Transparency=i
  3792. end
  3793. Part.Parent=nil
  3794. end),prt,msh,CF)
  3795. end
  3796.  
  3797. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3798. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3799. prt.Anchored=true
  3800. prt.Material = "Neon"
  3801. prt.CFrame=cframe
  3802. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3803. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3804. game:GetService("Debris"):AddItem(prt,5)
  3805. coroutine.resume(coroutine.create(function(Part,Mesh)
  3806. for i=0,1,delay do
  3807. swait()
  3808. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3809. Part.Transparency=i
  3810. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3811. end
  3812. Part.Parent=nil
  3813. end),prt,msh)
  3814. end
  3815.  
  3816. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  3817. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3818. prt.Anchored=true
  3819. prt.Material = "Neon"
  3820. prt.CFrame=cframe
  3821. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3822. game:GetService("Debris"):AddItem(prt,5)
  3823. coroutine.resume(coroutine.create(function(Part,Mesh)
  3824. local rtype = rottype
  3825. for i=0,1,delay do
  3826. swait()
  3827. if rtype == 1 then
  3828. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3829. elseif rtype == 2 then
  3830. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3831. end
  3832. Part.Transparency=i
  3833. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3834. end
  3835. Part.Parent=nil
  3836. end),prt,msh)
  3837. end
  3838.  
  3839. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3840. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3841. prt.Anchored=true
  3842. prt.CFrame=cframe
  3843. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3844. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3845. game:GetService("Debris"):AddItem(prt,5)
  3846. coroutine.resume(coroutine.create(function(Part,Mesh)
  3847. for i=0,1,delay do
  3848. wait()
  3849. Part.Transparency=i
  3850. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3851. end
  3852. Part.Parent=nil
  3853. end),prt,msh)
  3854. end
  3855.  
  3856. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  3857. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3858. prt.Anchored=true
  3859. prt.Material = "Neon"
  3860. prt.CFrame=cframe
  3861. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3862. game:GetService("Debris"):AddItem(prt,5)
  3863. coroutine.resume(coroutine.create(function(Part,Mesh)
  3864. local rtype = rottype
  3865. for i=0,1,delay do
  3866. swait()
  3867. if rtype == 1 then
  3868. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3869. elseif rtype == 2 then
  3870. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3871. end
  3872. Part.Transparency=i
  3873. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3874. end
  3875. Part.Parent=nil
  3876. end),prt,msh)
  3877. end
  3878.  
  3879. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  3880. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3881. prt.Anchored=true
  3882. prt.Material = "Neon"
  3883. prt.CFrame=cframe
  3884. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  3885. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  3886. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  3887. game:GetService("Debris"):AddItem(prt,5)
  3888. coroutine.resume(coroutine.create(function(Part,Mesh)
  3889. local rtype = rottype
  3890. for i=0,1,delay do
  3891. swait()
  3892. if rtype == 1 then
  3893. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3894. elseif rtype == 2 then
  3895. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3896. end
  3897. dec.Transparency=i
  3898. dec2.Transparency=i
  3899. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  3900. end
  3901. Part.Parent=nil
  3902. end),prt,msh)
  3903. end
  3904.  
  3905. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  3906. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3907. prt.Anchored=true
  3908. prt.Material = "Neon"
  3909. prt.CFrame=cframe
  3910. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  3911. game:GetService("Debris"):AddItem(prt,5)
  3912. coroutine.resume(coroutine.create(function(Part,Mesh)
  3913. local rtype = rottype
  3914. for i=0,1,delay do
  3915. swait()
  3916. if rtype == 1 then
  3917. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3918. elseif rtype == 2 then
  3919. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3920. end
  3921. prt.Transparency=i
  3922. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  3923. end
  3924. Part.Parent=nil
  3925. end),prt,msh)
  3926. end
  3927.  
  3928. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  3929. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3930. prt.Anchored=true
  3931. prt.Material = "Neon"
  3932. prt.CFrame=cframe
  3933. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  3934. game:GetService("Debris"):AddItem(prt,5)
  3935. coroutine.resume(coroutine.create(function(Part,Mesh)
  3936. local rtype = rottype
  3937. for i=0,1,delay do
  3938. swait()
  3939. if rtype == 1 then
  3940. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  3941. elseif rtype == 2 then
  3942. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  3943. end
  3944. prt.Transparency=i
  3945. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  3946. end
  3947. Part.Parent=nil
  3948. end),prt,msh)
  3949. end
  3950.  
  3951. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  3952. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3953. prt.Anchored=true
  3954. prt.Material = "Neon"
  3955. prt.CFrame=cframe
  3956. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3957. game:GetService("Debris"):AddItem(prt,5)
  3958. coroutine.resume(coroutine.create(function(Part,Mesh)
  3959. local rtype = rottype
  3960. for i=0,1,delay do
  3961. swait()
  3962. if rtype == 1 then
  3963. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3964. elseif rtype == 2 then
  3965. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3966. end
  3967. prt.Transparency=i
  3968. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  3969. end
  3970. Part.Parent=nil
  3971. end),prt,msh)
  3972. end
  3973.  
  3974. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  3975. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3976. prt.Anchored=true
  3977. prt.Material = "Neon"
  3978. prt.CFrame=cframe
  3979. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3980. game:GetService("Debris"):AddItem(prt,5)
  3981. coroutine.resume(coroutine.create(function(Part,Mesh)
  3982. local rtype = rottype
  3983. for i=0,1,delay do
  3984. swait()
  3985. if rtype == 1 then
  3986. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3987. elseif rtype == 2 then
  3988. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3989. end
  3990. prt.Transparency=i
  3991. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3992. end
  3993. Part.Parent=nil
  3994. end),prt,msh)
  3995. end
  3996.  
  3997. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  3998. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3999. prt.Anchored=false
  4000. prt.CFrame=cframe
  4001. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4002. local wld=weld(prt,prt,Parent,cframe)
  4003. game:GetService("Debris"):AddItem(prt,5)
  4004. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  4005. for i=0,1,delay do
  4006. wait()
  4007. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  4008. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4009. Part.Transparency=i
  4010. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4011. end
  4012. Part.Parent=nil
  4013. end),prt,msh,wld)
  4014. end
  4015.  
  4016. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  4017. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4018. prt.Anchored=false
  4019. prt.CFrame=cframe
  4020. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4021. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  4022. game:GetService("Debris"):AddItem(prt,5)
  4023. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  4024. for i=0,1,delay do
  4025. wait()
  4026. Weld.C0=euler(i*20,0,0)
  4027. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4028. Part.Transparency=i
  4029. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4030. end
  4031. Part.Parent=nil
  4032. end),prt,msh,wld)
  4033. end
  4034.  
  4035. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4036. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4037. prt.Anchored=true
  4038. prt.CFrame=cframe
  4039. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4040. game:GetService("Debris"):AddItem(prt,2)
  4041. coroutine.resume(coroutine.create(function(Part,Mesh)
  4042. for i=0,1,delay do
  4043. wait()
  4044. Part.CFrame=Part.CFrame
  4045. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4046. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4047. prt2.Anchored=true
  4048. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4049. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  4050. game:GetService("Debris"):AddItem(prt2,2)
  4051. coroutine.resume(coroutine.create(function(Part,Mesh)
  4052. for i=0,1,0.1 do
  4053. wait()
  4054. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  4055. end
  4056. Part.Parent=nil
  4057. end),prt2,msh2)
  4058. end
  4059. for i=0,1,delay*2 do
  4060. wait()
  4061. Part.CFrame=Part.CFrame
  4062. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  4063. end
  4064. Part.Parent=nil
  4065. end),prt,msh)
  4066. end
  4067.  
  4068. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4069. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4070. prt.Anchored=true
  4071. prt.CFrame=cframe
  4072. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  4073. game:GetService("Debris"):AddItem(prt,2)
  4074. coroutine.resume(coroutine.create(function(Part,Mesh)
  4075. for i=0,1,delay do
  4076. wait()
  4077. Part.CFrame=Part.CFrame
  4078. Part.Transparency=i
  4079. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4080. end
  4081. Part.Parent=nil
  4082. end),prt,msh)
  4083. end
  4084.  
  4085. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  4086. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4087. prt.Anchored=true
  4088. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4089. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  4090. game:GetService("Debris"):AddItem(prt,2)
  4091. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  4092. CF=Part.CFrame
  4093. Numbb=0
  4094. randnumb=math.random()/10
  4095. rand1=math.random()/10
  4096. for i=0,1,rand1 do
  4097. wait()
  4098. CF=CF*cf(0,math.random()/2,0)
  4099. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  4100. Part.CFrame=CF*euler(Numbb,0,0)
  4101. Part.Transparency=i
  4102. Numbb=Numbb+randnumb
  4103. end
  4104. Part.Parent=nil
  4105. end),prt,CF,Numbb,randnumb)
  4106. end
  4107.  
  4108. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4109. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4110. prt.Anchored=true
  4111. prt.CFrame=cframe
  4112. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  4113. game:GetService("Debris"):AddItem(prt,5)
  4114. coroutine.resume(coroutine.create(function(Part,Mesh)
  4115. for i=0,1,delay do
  4116. wait()
  4117. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  4118. Part.Transparency=i
  4119. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4120. end
  4121. Part.Parent=nil
  4122. end),prt,msh)
  4123. end
  4124.  
  4125. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4126. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4127. prt.Anchored=true
  4128. prt.CFrame=cframe
  4129. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  4130. game:GetService("Debris"):AddItem(prt,2)
  4131. coroutine.resume(coroutine.create(function(Part,Mesh)
  4132. for i=0,1,delay do
  4133. wait()
  4134. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  4135. Part.Transparency=i
  4136. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4137. end
  4138. Part.Parent=nil
  4139. end),prt,msh)
  4140. end
  4141.  
  4142. function waveEff(bonuspeed,type,typeoftrans,pos,scale,value,value2,color)
  4143. local type = type
  4144. local rng = Instance.new("Part", char)
  4145. rng.Anchored = true
  4146. rng.BrickColor = color
  4147. rng.CanCollide = false
  4148. rng.FormFactor = 3
  4149. rng.Name = "Ring"
  4150. rng.Material = "Neon"
  4151. rng.Size = Vector3.new(1, 1, 1)
  4152. rng.Transparency = 0
  4153. if typeoftrans == "In" then
  4154. rng.Transparency = 1
  4155. end
  4156. rng.TopSurface = 0
  4157. rng.BottomSurface = 0
  4158. rng.CFrame = pos
  4159. local rngm = Instance.new("SpecialMesh", rng)
  4160. rngm.MeshType = "FileMesh"
  4161. rngm.MeshId = "rbxassetid://20329976"
  4162. rngm.Scale = scale
  4163. local scaler2 = 1
  4164. local scaler2b = 1
  4165. if type == "Add" then
  4166. scaler2 = 1*value
  4167. scaler2b = 1*value2
  4168. elseif type == "Divide" then
  4169. scaler2 = 1/value
  4170. scaler2b = 1/value2
  4171. end
  4172. local randomrot = math.random(1,2)
  4173. coroutine.resume(coroutine.create(function()
  4174. for i = 0,10/bonuspeed,0.1 do
  4175. swait()
  4176. if type == "Add" then
  4177. scaler2 = scaler2 - 0.01*value/bonuspeed
  4178. scaler2b = scaler2b - 0.01*value/bonuspeed
  4179. elseif type == "Divide" then
  4180. scaler2 = scaler2 - 0.01/value*bonuspeed
  4181. scaler2b = scaler2b - 0.01/value*bonuspeed
  4182. end
  4183. if randomrot == 1 then
  4184. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(5*bonuspeed/2),0)
  4185. elseif randomrot == 2 then
  4186. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-5*bonuspeed/2),0)
  4187. end
  4188. if typeoftrans == "Out" then
  4189. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4190. elseif typeoftrans == "In" then
  4191. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  4192. end
  4193. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2*bonuspeed)
  4194. end
  4195. rng:Destroy()
  4196. end))
  4197. end
  4198.  
  4199. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  4200. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4201. prt.Anchored=true
  4202. prt.CFrame=cframe*cf(x,y,z)
  4203. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  4204. game:GetService("Debris"):AddItem(prt,5)
  4205. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  4206. local num=math.random()
  4207. local num2=math.random(-3,2)+math.random()
  4208. local numm=0
  4209. for i=0,1,delay*2 do
  4210. swait()
  4211. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  4212. Part.Transparency=i
  4213. numm=numm+0.01
  4214. end
  4215. Part.Parent=nil
  4216. Mesh.Parent=nil
  4217. end),prt,msh,x,y,z)
  4218. end
  4219.  
  4220. function dmgstart(dmg,what)
  4221. hitcon = what.Touched:connect(function(hit)
  4222. local hum = hit.Parent:FindFirstChild("Humanoid")
  4223. if hum and not hum:IsDescendantOf(Character) then
  4224. hum:TakeDamage(dmg)
  4225. end
  4226. end)
  4227. end
  4228.  
  4229. function dmgstop()
  4230. hitcon:disconnect()
  4231. end
  4232.  
  4233. function Cloak()
  4234. Face.Parent=nil
  4235. cloaked=true
  4236. for _,v in pairs(Torso.Parent:children()) do
  4237. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  4238. coroutine.resume(coroutine.create(function()
  4239. for i=0,1,0.2 do
  4240. wait()
  4241. v.Transparency=i
  4242. end
  4243. v.Transparency=1
  4244. end))
  4245. end
  4246. if v.className=="Hat" then
  4247. hatp=v.Handle
  4248. coroutine.resume(coroutine.create(function(derp)
  4249. for i=0,1,0.2 do
  4250. wait()
  4251. derp.Transparency=i
  4252. end
  4253. derp.Transparency=1
  4254. end),hatp)
  4255. end
  4256. end
  4257. for _,v in pairs(m:children()) do
  4258. if v.className=="Part" then
  4259. coroutine.resume(coroutine.create(function()
  4260. for i=0,1,0.2 do
  4261. wait()
  4262. v.Transparency=i
  4263. end
  4264. v.Transparency=1
  4265. end))
  4266. end
  4267. end
  4268. end
  4269.  
  4270. function UnCloak()
  4271. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  4272. Face.Parent=Head
  4273. cloaked=false
  4274. for _,v in pairs(Torso.Parent:children()) do
  4275. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  4276. coroutine.resume(coroutine.create(function()
  4277. for i=0,1,0.1 do
  4278. wait()
  4279. v.Transparency=v.Transparency-0.1
  4280. end
  4281. v.Transparency=0
  4282. end))
  4283. end
  4284. if v.className=="Hat" then
  4285. hatp=v.Handle
  4286. coroutine.resume(coroutine.create(function(derp)
  4287. for i=0,1,0.1 do
  4288. wait()
  4289. derp.Transparency=derp.Transparency-0.1
  4290. end
  4291. derp.Transparency=0
  4292. end),hatp)
  4293. end
  4294. end
  4295. for _,v in pairs(m:children()) do
  4296. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  4297. coroutine.resume(coroutine.create(function()
  4298. for i=0,1,0.1 do
  4299. wait()
  4300. v.Transparency=v.Transparency-0.1
  4301. end
  4302. v.Transparency=0
  4303. end))
  4304. v.Transparency=0
  4305. end
  4306. end
  4307. end
  4308.  
  4309. local origcolor = BrickColor.new("Pastel light blue")
  4310. ---- This section of explosions.
  4311.  
  4312. ----
  4313.  
  4314.  
  4315. function ring(type,pos,scale,value)
  4316. local type = type
  4317. local rng = Instance.new("Part", char)
  4318. rng.Anchored = true
  4319. rng.BrickColor = origcolor
  4320. rng.CanCollide = false
  4321. rng.FormFactor = 3
  4322. rng.Name = "Ring"
  4323. rng.Size = Vector3.new(1, 1, 1)
  4324. rng.Transparency = 0
  4325. rng.TopSurface = 0
  4326. rng.BottomSurface = 0
  4327. rng.CFrame = pos
  4328. local rngm = Instance.new("SpecialMesh", rng)
  4329. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4330. rngm.Scale = scale
  4331. local scaler2 = 1
  4332. if type == "Add" then
  4333. scaler2 = 1*value
  4334. elseif type == "Divide" then
  4335. scaler2 = 1/value
  4336. end
  4337. coroutine.resume(coroutine.create(function()
  4338. for i = 0,10,0.1 do
  4339. swait()
  4340. if type == "Add" then
  4341. scaler2 = scaler2 - 0.01*value
  4342. elseif type == "Divide" then
  4343. scaler2 = scaler2 - 0.01/value
  4344. end
  4345. rng.Transparency = rng.Transparency + 0.01
  4346. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  4347. end
  4348. rng:Destroy()
  4349. end))
  4350. end
  4351.  
  4352.  
  4353. function wave(type,pos,scale,value)
  4354. local type = type
  4355. local rng = Instance.new("Part", char)
  4356. rng.Anchored = true
  4357. rng.BrickColor = origcolor
  4358. rng.CanCollide = false
  4359. rng.FormFactor = 3
  4360. rng.Name = "Ring"
  4361. rng.Size = Vector3.new(1, 1, 1)
  4362. rng.Transparency = 0
  4363. rng.TopSurface = 0
  4364. rng.BottomSurface = 0
  4365. rng.CFrame = pos
  4366. local rngm = Instance.new("SpecialMesh", rng)
  4367. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  4368. rngm.Scale = scale
  4369. local scaler2 = 1
  4370. if type == "Add" then
  4371. scaler2 = 1*value
  4372. elseif type == "Divide" then
  4373. scaler2 = 1/value
  4374. end
  4375. coroutine.resume(coroutine.create(function()
  4376. for i = 0,10,0.1 do
  4377. swait()
  4378. if type == "Add" then
  4379. scaler2 = scaler2 - 0.01*value
  4380. elseif type == "Divide" then
  4381. scaler2 = scaler2 - 0.01/value
  4382. end
  4383. rng.Transparency = rng.Transparency + 0.01
  4384. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  4385. end
  4386. rng:Destroy()
  4387. end))
  4388. end
  4389.  
  4390. function wind(type,pos,scale,value,speed)
  4391. local type = type
  4392. local rng = Instance.new("Part", char)
  4393. rng.Anchored = true
  4394. rng.BrickColor = origcolor
  4395. rng.CanCollide = false
  4396. rng.FormFactor = 3
  4397. rng.Name = "Ring"
  4398. rng.Size = Vector3.new(1, 1, 1)
  4399. rng.Transparency = 0
  4400. rng.TopSurface = 0
  4401. rng.BottomSurface = 0
  4402. rng.CFrame = pos
  4403. local rngm = Instance.new("SpecialMesh", rng)
  4404. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  4405. rngm.Scale = scale
  4406. local scaler2 = 1
  4407. if type == "Add" then
  4408. scaler2 = 1*value
  4409. elseif type == "Divide" then
  4410. scaler2 = 1/value
  4411. end
  4412. coroutine.resume(coroutine.create(function()
  4413. for i = 0,10,0.1 do
  4414. swait()
  4415. if type == "Add" then
  4416. scaler2 = scaler2 - 0.01*value
  4417. elseif type == "Divide" then
  4418. scaler2 = scaler2 - 0.01/value
  4419. end
  4420. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  4421. rng.Transparency = rng.Transparency + 0.01
  4422. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  4423. end
  4424. rng:Destroy()
  4425. end))
  4426. end
  4427.  
  4428. function groundwind(type,pos,scale,value,speed)
  4429. local type = type
  4430. local rng = Instance.new("Part", char)
  4431. rng.Anchored = true
  4432. rng.BrickColor = origcolor
  4433. rng.CanCollide = false
  4434. rng.FormFactor = 3
  4435. rng.Name = "Ring"
  4436. rng.Size = Vector3.new(1, 1, 1)
  4437. rng.Transparency = 0
  4438. rng.TopSurface = 0
  4439. rng.BottomSurface = 0
  4440. rng.CFrame = pos
  4441. local rngm = Instance.new("SpecialMesh", rng)
  4442. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  4443. rngm.Scale = scale
  4444. local scaler2 = 1
  4445. if type == "Add" then
  4446. scaler2 = 1*value
  4447. elseif type == "Divide" then
  4448. scaler2 = 1/value
  4449. end
  4450. coroutine.resume(coroutine.create(function()
  4451. for i = 0,10,0.1 do
  4452. swait()
  4453. if type == "Add" then
  4454. scaler2 = scaler2 - 0.01*value
  4455. elseif type == "Divide" then
  4456. scaler2 = scaler2 - 0.01/value
  4457. end
  4458. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  4459. rng.Transparency = rng.Transparency + 0.01
  4460. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  4461. end
  4462. rng:Destroy()
  4463. end))
  4464. end
  4465.  
  4466. function CameraManager()
  4467. if TwoD and not CamInterrupt then
  4468. if Humanoid.Health > 0 then
  4469. Camera.CameraSubject = Humanoid
  4470. Camera.CameraType = "Scriptable"
  4471. Humanoid.AutoRotate = false
  4472. if Booleans.GyroUse then
  4473. Directer.MaxTorque = Vec3(0, huge, 0)
  4474. else
  4475. Directer.MaxTorque = Vec3(0, 0, 0)
  4476. end
  4477. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  4478. if Booleans.CamFollow then
  4479. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  4480. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  4481. else
  4482. CPart.Position = RootPart.Position
  4483. end
  4484. else
  4485. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  4486. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  4487. end
  4488. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  4489. else
  4490. Camera.CameraSubject = Humanoid
  4491. Camera.CameraType = "Custom"
  4492. Controller.Disabled = false
  4493. end
  4494. end
  4495. end
  4496.  
  4497. function ring(type,pos,scale,value)
  4498. local type = type
  4499. local rng = Instance.new("Part", char)
  4500. rng.Anchored = true
  4501. rng.BrickColor = origcolor
  4502. rng.CanCollide = false
  4503. rng.FormFactor = 3
  4504. rng.Name = "Ring"
  4505. rng.Size = Vector3.new(1, 1, 1)
  4506. rng.Transparency = 0
  4507. rng.TopSurface = 0
  4508. rng.BottomSurface = 0
  4509. rng.CFrame = pos
  4510. local rngm = Instance.new("SpecialMesh", rng)
  4511. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4512. rngm.Scale = scale
  4513. local scaler2 = 1
  4514. if type == "Add" then
  4515. scaler2 = 1*value
  4516. elseif type == "Divide" then
  4517. scaler2 = 1/value
  4518. end
  4519. coroutine.resume(coroutine.create(function()
  4520. for i = 0,10,0.1 do
  4521. swait()
  4522. if type == "Add" then
  4523. scaler2 = scaler2 - 0.01*value
  4524. elseif type == "Divide" then
  4525. scaler2 = scaler2 - 0.01/value
  4526. end
  4527. rng.Transparency = rng.Transparency + 0.01
  4528. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  4529. end
  4530. rng:Destroy()
  4531. end))
  4532. end
  4533.  
  4534.  
  4535. function wave(type,pos,scale,value)
  4536. local type = type
  4537. local rng = Instance.new("Part", char)
  4538. rng.Anchored = true
  4539. rng.BrickColor = origcolor
  4540. rng.CanCollide = false
  4541. rng.FormFactor = 3
  4542. rng.Name = "Ring"
  4543. rng.Size = Vector3.new(1, 1, 1)
  4544. rng.Transparency = 0
  4545. rng.TopSurface = 0
  4546. rng.BottomSurface = 0
  4547. rng.CFrame = pos
  4548. local rngm = Instance.new("SpecialMesh", rng)
  4549. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  4550. rngm.Scale = scale
  4551. local scaler2 = 1
  4552. if type == "Add" then
  4553. scaler2 = 1*value
  4554. elseif type == "Divide" then
  4555. scaler2 = 1/value
  4556. end
  4557. coroutine.resume(coroutine.create(function()
  4558. for i = 0,10,0.1 do
  4559. swait()
  4560. if type == "Add" then
  4561. scaler2 = scaler2 - 0.01*value
  4562. elseif type == "Divide" then
  4563. scaler2 = scaler2 - 0.01/value
  4564. end
  4565. rng.Transparency = rng.Transparency + 0.01
  4566. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  4567. end
  4568. rng:Destroy()
  4569. end))
  4570. end
  4571.  
  4572. function sphere(bonuspeed,type,pos,scale,value,color)
  4573. local type = type
  4574. local rng = Instance.new("Part", char)
  4575. rng.Anchored = true
  4576. rng.BrickColor = color
  4577. rng.CanCollide = false
  4578. rng.FormFactor = 3
  4579. rng.Name = "Ring"
  4580. rng.Material = "Neon"
  4581. rng.Size = Vector3.new(1, 1, 1)
  4582. rng.Transparency = 0
  4583. rng.TopSurface = 0
  4584. rng.BottomSurface = 0
  4585. rng.CFrame = pos
  4586. local rngm = Instance.new("SpecialMesh", rng)
  4587. rngm.MeshType = "Sphere"
  4588. rngm.Scale = scale
  4589. if rainbowmode == true then
  4590. rng.Color = Color3.new(r/255,g/255,b/255)
  4591. end
  4592. local scaler2 = 1
  4593. if type == "Add" then
  4594. scaler2 = 1*value
  4595. elseif type == "Divide" then
  4596. scaler2 = 1/value
  4597. end
  4598. coroutine.resume(coroutine.create(function()
  4599. for i = 0,10/bonuspeed,0.1 do
  4600. swait()
  4601. if rainbowmode == true then
  4602. rng.Color = Color3.new(r/255,g/255,b/255)
  4603. end
  4604. if type == "Add" then
  4605. scaler2 = scaler2 - 0.01*value/bonuspeed
  4606. elseif type == "Divide" then
  4607. scaler2 = scaler2 - 0.01/value*bonuspeed
  4608. end
  4609. if chaosmode == true then
  4610. rng.BrickColor = BrickColor.random()
  4611. end
  4612. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4613. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  4614. end
  4615. rng:Destroy()
  4616. end))
  4617. end
  4618.  
  4619. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  4620. local type = type
  4621. local rng = Instance.new("Part", char)
  4622. rng.Anchored = true
  4623. rng.BrickColor = color
  4624. rng.CanCollide = false
  4625. rng.FormFactor = 3
  4626. rng.Name = "Ring"
  4627. rng.Material = "Neon"
  4628. rng.Size = Vector3.new(1, 1, 1)
  4629. rng.Transparency = 0
  4630. rng.TopSurface = 0
  4631. rng.BottomSurface = 0
  4632. rng.CFrame = pos
  4633. local rngm = Instance.new("SpecialMesh", rng)
  4634. rngm.MeshType = "Sphere"
  4635. rngm.Scale = scale
  4636. local scaler2 = 1
  4637. local scaler2b = 1
  4638. local scaler2c = 1
  4639. if type == "Add" then
  4640. scaler2 = 1*value
  4641. scaler2b = 1*value2
  4642. scaler2c = 1*value3
  4643. elseif type == "Divide" then
  4644. scaler2 = 1/value
  4645. scaler2b = 1/value2
  4646. scaler2c = 1/value3
  4647. end
  4648. if ModeOfGlitch == 666666 then
  4649. coroutine.resume(coroutine.create(function()
  4650. while true do
  4651. swait()
  4652. rng.Material = "Glass"
  4653. end
  4654. end))
  4655. end
  4656. coroutine.resume(coroutine.create(function()
  4657. for i = 0,10/bonuspeed,0.1 do
  4658. swait()
  4659. if type == "Add" then
  4660. scaler2 = scaler2 - 0.01*value/bonuspeed
  4661. scaler2b = scaler2b - 0.01*value/bonuspeed
  4662. scaler2c = scaler2c - 0.01*value/bonuspeed
  4663. elseif type == "Divide" then
  4664. scaler2 = scaler2 - 0.01/value*bonuspeed
  4665. scaler2b = scaler2b - 0.01/value*bonuspeed
  4666. scaler2c = scaler2c - 0.01/value*bonuspeed
  4667. end
  4668. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4669. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  4670. end
  4671. rng:Destroy()
  4672. end))
  4673. end
  4674.  
  4675. function ragdoll(who)
  4676. pcall(function()
  4677. local ded = who
  4678. local h1 = ded:FindFirstChild("Head")
  4679. local t1 = ded:FindFirstChild("Torso") or ded:FindFirstChild("UpperTorso")
  4680. if t1.Name == "UpperTorso" then
  4681. r15r(ded)
  4682. return ragdoll
  4683. end
  4684. local ff = ded:FindFirstChildOfClass("ForceField")
  4685. if ff ~= nil then
  4686. ff:Destroy()
  4687. end
  4688. local ra1 = ded:FindFirstChild("Right Arm")
  4689. local la1 = ded:FindFirstChild("Left Arm")
  4690. local rl1 = ded:FindFirstChild("Right Leg")
  4691. local ll1 = ded:FindFirstChild("Left Leg")
  4692. local hum1 = ded:FindFirstChildOfClass("Humanoid")
  4693. local acc = ded:FindFirstChild("xdded")
  4694. if acc == nil then
  4695. local ac = Instance.new("Glue",ded) ac.Name = "xdded"
  4696. local rut1 = ded:FindFirstChild("HumanoidRootPart")
  4697. hum1.PlatformStand = true
  4698. if rut1 ~= nil then
  4699. rut1.Parent = nil
  4700. end
  4701. pcall(function()
  4702. for i,v in pairs(who:GetChildren()) do
  4703. if v:IsA("Accessory") or v:IsA("Hat") then
  4704. local gl = Instance.new("WeldConstraint",v.Handle)
  4705. gl.Part0 = h1 gl.Part1 = v.Handle
  4706. end
  4707. end
  4708. for i,v in pairs(who:GetChildren()) do
  4709. if v:IsA("Script") or v:IsA("LocalScript") then
  4710. if v.Name == "Health" then
  4711. v.Parent = nil
  4712. end
  4713. end
  4714. end
  4715. for i,v in pairs(who:GetChildren()) do
  4716. if v:IsA("BasePart") then
  4717. v.Anchored = false
  4718. end
  4719. if v:IsA("Accessory") or v:IsA("Hat") then
  4720. v.Handle.Anchored = false
  4721. end
  4722. end
  4723. end)
  4724. hum1.MaxHealth = 100
  4725. hum1.Health = math.random(10,50)
  4726. t1:BreakJoints()
  4727. ra1:BreakJoints()
  4728. la1:BreakJoints()
  4729. rl1:BreakJoints()
  4730. ll1:BreakJoints()
  4731. --//Joints~//--
  4732. --Neck--
  4733. if h1 ~= nil then
  4734. local neca = Instance.new("Glue",t1) neca.Part0 = t1 neca.Part1 = h1 neca.C0 = CFrame.new(0,t1.Size.y/2,0) neca.C1 = CFrame.new(0,-h1.Size.y/2,0) neca.Name = "yo"
  4735. local ch = Instance.new("Part",t1) ch.Name = "yo" ch.Size = Vector3.new(h1.Size.x/2,h1.Size.y/2,h1.Size.z/2 + h1.Size.z/4) ch.TopSurface = "Smooth" ch.BottomSurface = "Smooth" ch.Transparency = 1
  4736. local wh = Instance.new("Weld",ch) wh.Part0 = h1 wh.Part1 = ch
  4737. end
  4738. --Right Arm--
  4739. if ra1 ~= nil then
  4740. local rsa = Instance.new("Glue",t1) rsa.Part0 = t1 rsa.Part1 = ra1 rsa.C0 = CFrame.new(t1.Size.x/2 + t1.Size.x/4,t1.Size.y/4,0) rsa.C1 = CFrame.new(0,ra1.Size.y/4,0) rsa.Name = "yo"
  4741. local cra = Instance.new("Part",t1) cra.Name = "yo" cra.Size = Vector3.new(ra1.Size.y/2 + ra1.Size.y/4,ra1.Size.y/2,ra1.Size.z) cra.TopSurface = "Smooth" cra.BottomSurface = "Smooth" cra.Transparency = 1
  4742. local wra = Instance.new("Weld",cra) wra.Part0 = ra1 wra.Part1 = cra wra.C0 = CFrame.new(0,-ra1.Size.y/8,0) * CFrame.Angles(rad(0),rad(0),rad(90))
  4743. end
  4744. --Left Arm--
  4745. if la1 ~= nil then
  4746. local lsa = Instance.new("Glue",t1) lsa.Part0 = t1 lsa.Part1 = la1 lsa.C0 = CFrame.new(-t1.Size.x/2 - t1.Size.x/4,t1.Size.y/4,0) lsa.C1 = CFrame.new(0,la1.Size.y/4,0) lsa.Name = "yo"
  4747. local cla = Instance.new("Part",t1) cla.Name = "yo" cla.Size = Vector3.new(la1.Size.y/2 + la1.Size.y/4,la1.Size.y/2,la1.Size.z) cla.TopSurface = "Smooth" cla.BottomSurface = "Smooth" cla.Transparency = 1
  4748. local wla = Instance.new("Weld",cla) wla.Part0 = la1 wla.Part1 = cla wla.C0 = CFrame.new(0,-la1.Size.y/8,0) * CFrame.Angles(rad(0),rad(0),rad(90))
  4749. end
  4750. --Right Leg--
  4751. if rl1 ~= nil then
  4752. local rha = Instance.new("Glue",t1) rha.Part0 = t1 rha.Part1 = rl1 rha.C0 = CFrame.new(t1.Size.x/4,-t1.Size.y/2,0) rha.C1 = CFrame.new(0,rl1.Size.y/2,0) rha.Name = "yo"
  4753. local crl = Instance.new("Part",t1) crl.Name = "yo" crl.Size = Vector3.new(rl1.Size.y/2 + rl1.Size.y/4,rl1.Size.y/2,rl1.Size.z) crl.TopSurface = "Smooth" crl.BottomSurface = "Smooth" crl.Transparency = 1
  4754. local wrl = Instance.new("Weld",crl) wrl.Part0 = rl1 wrl.Part1 = crl wrl.C0 = CFrame.new(0,-rl1.Size.y/8,0) * CFrame.Angles(rad(0),rad(0),rad(90))
  4755. end
  4756. --Left Leg--
  4757. if ll1 ~= nil then
  4758. local lha = Instance.new("Glue",t1) lha.Part0 = t1 lha.Part1 = ll1 lha.C0 = CFrame.new(-t1.Size.x/4,-t1.Size.y/2,0) lha.C1 = CFrame.new(0,ll1.Size.y/2,0) lha.Name = "yo"
  4759. local cll = Instance.new("Part",t1) cll.Name = "yo" cll.Size = Vector3.new(ll1.Size.y/2 + ll1.Size.y/4,ll1.Size.y/2,ll1.Size.z) cll.TopSurface = "Smooth" cll.BottomSurface = "Smooth" cll.Transparency = 1
  4760. local wll = Instance.new("Weld",cll) wll.Part0 = ll1 wll.Part1 = cll wll.C0 = CFrame.new(0,-ll1.Size.y/8,0) * CFrame.Angles(rad(0),rad(0),rad(90))
  4761. end
  4762. --//End of Joints~//--
  4763. end
  4764. end)
  4765. end
  4766. function r15r(who)
  4767. local ded = who
  4768. local ac = ded:FindFirstChild("xdded")
  4769. if ac == nil then
  4770. Instance.new("Glue",ded).Name = "xdded"
  4771. local h2 = ded:FindFirstChild("Head")
  4772. local t2 = ded:FindFirstChild("UpperTorso")
  4773. local lt2 = ded:FindFirstChild("LowerTorso")
  4774. local rua2 = ded:FindFirstChild("RightUpperArm")
  4775. local lua2 = ded:FindFirstChild("LeftUpperArm")
  4776. local rla2 = ded:FindFirstChild("RightLowerArm")
  4777. local lla2 = ded:FindFirstChild("LeftLowerArm")
  4778. local rh2 = ded:FindFirstChild("RightHand")
  4779. local lh2 = ded:FindFirstChild("LeftHand")
  4780. local rul2 = ded:FindFirstChild("RightUpperLeg")
  4781. local lul2 = ded:FindFirstChild("LeftUpperLeg")
  4782. local rll2 = ded:FindFirstChild("RightLowerLeg")
  4783. local lll2 = ded:FindFirstChild("LeftLowerLeg")
  4784. local rf2 = ded:FindFirstChild("RightFoot")
  4785. local lf2 = ded:FindFirstChild("LeftFoot")
  4786. local rut1 = ded:FindFirstChild("HumanoidRootPart")
  4787. if rut1 ~= nil then
  4788. rut1:Destroy()
  4789. end
  4790. for i,v in pairs(who:GetChildren()) do
  4791. if v:IsA("Script") or v:IsA("LocalScript") then
  4792. if v.Name == "Health" then
  4793. v.Parent = nil
  4794. end
  4795. end
  4796. end
  4797. local hum1 = ded:FindFirstChildOfClass("Humanoid")
  4798. hum1.PlatformStand = true
  4799. hum1.MaxHealth = 100
  4800. hum1.Health = math.random(10,50)
  4801. local trans = 1
  4802. if h2 ~= nil then
  4803. h2:BreakJoints()
  4804. local nc = Instance.new("Glue",t2) nc.Name = "yo" nc.C0 = CFrame.new(0,t2.Size.y/2,0) nc.C1 = CFrame.new(0,-h2.Size.y/2,0) nc.Part0 = t2 nc.Part1 = h2
  4805. local ncc = Instance.new("Part",t2) ncc.Name = "yo" ncc.Transparency = trans ncc.Size = Vector3.new(h2.Size.x/2 + h2.Size.x/4,h2.Size.y/2,h2.Size.z)
  4806. local ncw = Instance.new("Weld",t2) ncw.Name = "yo" ncw.Part0 = h2 ncw.Part1 = ncc
  4807. end
  4808. for i,v in pairs(who:GetChildren()) do
  4809. if v:IsA("BasePart") then
  4810. v.Anchored = false
  4811. end
  4812. if v:IsA("Accessory") or v:IsA("Hat") then
  4813. v.Handle.Anchored = false
  4814. local aw = Instance.new("WeldConstraint",v) aw.Part0 = h2 aw.Part1 = v.Handle
  4815. end
  4816. end
  4817. hum1.PlatformStand = true
  4818. if lt2 ~= nil then
  4819. lt2:BreakJoints()
  4820. local tc = Instance.new("Glue",t2) tc.Name = "yo" tc.C0 = CFrame.new(0,-t2.Size.y/2,0) tc.C1 = CFrame.new(0,lt2.Size.y/2,0) tc.Part0 = t2 tc.Part1 = lt2
  4821. local tcc = Instance.new("Part",t2) tcc.Name = "yo" tcc.Transparency = trans tcc.Size = Vector3.new(lt2.Size.x/2,lt2.Size.y/2,lt2.Size.z)
  4822. local tcw = Instance.new("Weld",t2) tcw.Name = "yo" tcw.Part0 = lt2 tcw.Part1 = tcc
  4823. end
  4824. if rua2 ~= nil then
  4825. rua2:BreakJoints()
  4826. local ruac = Instance.new("Glue",t2) ruac.Name = "yo" ruac.C0 = CFrame.new(t2.Size.x/2 + t2.Size.y/4,t2.Size.y/4,0) ruac.C1 = CFrame.new(0,rua2.Size.y/4.6666,0) ruac.Part0 = t2 ruac.Part1 = rua2
  4827. local ruacc = Instance.new("Part",t2) ruacc.Name = "yo" ruacc.Transparency = trans ruacc.Size = Vector3.new(rua2.Size.x/1.2,rua2.Size.y/4,rua2.Size.z/1.2)
  4828. local ruacw = Instance.new("Weld",t2) ruacw.Name = "yo" ruacw.Part0 = rua2 ruacw.Part1 = ruacc ruacw.C0 = CFrame.new(0,rua2.Size.y/7,0)
  4829. end
  4830. if lua2 ~= nil then
  4831. lua2:BreakJoints()
  4832. local luac = Instance.new("Glue",t2) luac.Name = "yo" luac.C0 = CFrame.new(-t2.Size.x/2 + -t2.Size.y/4,t2.Size.y/4,0) luac.C1 = CFrame.new(0,lua2.Size.y/4.6666,0) luac.Part0 = t2 luac.Part1 = lua2
  4833. local luacc = Instance.new("Part",t2) luacc.Name = "yo" luacc.Transparency = trans luacc.Size = Vector3.new(lua2.Size.x/1.2,lua2.Size.y/4,lua2.Size.z/1.2)
  4834. local luacw = Instance.new("Weld",t2) luacw.Name = "yo" luacw.Part0 = lua2 luacw.Part1 = luacc luacw.C0 = CFrame.new(0,lua2.Size.y/7,0)
  4835. end
  4836. if rla2 ~= nil then
  4837. rla2:BreakJoints()
  4838. local rlac = Instance.new("Glue",t2) rlac.Name = "yo" rlac.C0 = CFrame.new(0,-rua2.Size.y/4.6666,0) rlac.C1 = CFrame.new(0,rla2.Size.y/8,0) rlac.Part0 = rua2 rlac.Part1 = rla2
  4839. local rlacc = Instance.new("Part",t2) rlacc.Name = "yo" rlacc.Transparency = trans rlacc.Size = Vector3.new(rla2.Size.x/1.2,rla2.Size.y/4,rla2.Size.z/1.2)
  4840. local rlacw = Instance.new("Weld",t2) rlacw.Name = "yo" rlacw.Part0 = rla2 rlacw.Part1 = rlacc rlacw.C0 = CFrame.new(0,-rla2.Size.y/7,0)
  4841. end
  4842. if lla2 ~= nil then
  4843. lla2:BreakJoints()
  4844. local llac = Instance.new("Glue",t2) llac.Name = "yo" llac.C0 = CFrame.new(0,-lua2.Size.y/4.6666,0) llac.C1 = CFrame.new(0,lla2.Size.y/8,0) llac.Part0 = lua2 llac.Part1 = lla2
  4845. local llacc = Instance.new("Part",t2) llacc.Name = "yo" llacc.Transparency = trans llacc.Size = Vector3.new(lla2.Size.x/1.2,lla2.Size.y/4,lla2.Size.z/1.2)
  4846. local llacw = Instance.new("Weld",t2) llacw.Name = "yo" llacw.Part0 = lla2 llacw.Part1 = llacc llacw.C0 = CFrame.new(0,-lla2.Size.y/7,0)
  4847. end
  4848. if rh2 ~= nil then
  4849. rh2:BreakJoints()
  4850. local rhc = Instance.new("Glue",t2) rhc.Name = "yo" rhc.C0 = CFrame.new(0,-rla2.Size.y/2,0) rhc.C1 = CFrame.new(0,rh2.Size.y/3,0) rhc.Part0 = rla2 rhc.Part1 = rh2
  4851. local rhcc = Instance.new("Part",t2) rhcc.Name = "yo" rhcc.Transparency = trans rhcc.Size = Vector3.new(rh2.Size.x/1.2,rh2.Size.y,rh2.Size.z/1.2)
  4852. local rhcw = Instance.new("Weld",t2) rhcw.Name = "yo" rhcw.Part0 = rh2 rhcw.Part1 = rhcc rhcw.C0 = CFrame.new(0,0,0)
  4853. end
  4854. if lh2 ~= nil then
  4855. lh2:BreakJoints()
  4856. local lhc = Instance.new("Glue",t2) lhc.Name = "yo" lhc.C0 = CFrame.new(0,-lla2.Size.y/2,0) lhc.C1 = CFrame.new(0,lh2.Size.y/3,0) lhc.Part0 = lla2 lhc.Part1 = lh2
  4857. local lhcc = Instance.new("Part",t2) lhcc.Name = "yo" lhcc.Transparency = trans lhcc.Size = Vector3.new(lh2.Size.x/1.2,lh2.Size.y,lh2.Size.z/1.2)
  4858. local lhcw = Instance.new("Weld",t2) lhcw.Name = "yo" lhcw.Part0 = lh2 lhcw.Part1 = lhcc lhcw.C0 = CFrame.new(0,0,0)
  4859. end
  4860. if rul2 ~= nil then
  4861. rul2:BreakJoints()
  4862. local rulc = Instance.new("Glue",t2) rulc.Name = "yo" rulc.C0 = CFrame.new(lt2.Size.x/4,-lt2.Size.y/2,0) rulc.C1 = CFrame.new(0,rul2.Size.y/3,0) rulc.Part0 = lt2 rulc.Part1 = rul2
  4863. local rulcc = Instance.new("Part",t2) rulcc.Name = "yo" rulcc.Transparency = trans rulcc.Size = Vector3.new(rul2.Size.x/1.2,rul2.Size.y/4,rul2.Size.z/1.2)
  4864. local rulcw = Instance.new("Weld",t2) rulcw.Name = "yo" rulcw.Part0 = rul2 rulcw.Part1 = rulcc rulcw.C0 = CFrame.new(0,rul2.Size.y/7,0)
  4865. end
  4866. if lul2 ~= nil then
  4867. lul2:BreakJoints()
  4868. local lulc = Instance.new("Glue",t2) lulc.Name = "yo" lulc.C0 = CFrame.new(-lt2.Size.x/4,-lt2.Size.y/2,0) lulc.C1 = CFrame.new(0,lul2.Size.y/3,0) lulc.Part0 = lt2 lulc.Part1 = lul2
  4869. local lulcc = Instance.new("Part",t2) lulcc.Name = "yo" lulcc.Transparency = trans lulcc.Size = Vector3.new(lul2.Size.x/1.2,lul2.Size.y/4,lul2.Size.z/1.2)
  4870. local lulcw = Instance.new("Weld",t2) lulcw.Name = "yo" lulcw.Part0 = lul2 lulcw.Part1 = lulcc lulcw.C0 = CFrame.new(0,lul2.Size.y/7,0)
  4871. end
  4872. if rll2 ~= nil then
  4873. rll2:BreakJoints()
  4874. local rllc = Instance.new("Glue",t2) rllc.Name = "yo" rllc.C0 = CFrame.new(0,-rll2.Size.y/6,0) rllc.C1 = CFrame.new(0,rll2.Size.y/5,0) rllc.Part0 = rul2 rllc.Part1 = rll2
  4875. local rllcc = Instance.new("Part",t2) rllcc.Name = "yo" rllcc.Transparency = trans rllcc.Size = Vector3.new(rll2.Size.x/1.2,rll2.Size.y/3.5,rll2.Size.z/1.2)
  4876. local rllcw = Instance.new("Weld",t2) rllcw.Name = "yo" rllcw.Part0 = rll2 rllcw.Part1 = rllcc rllcw.C0 = CFrame.new(0,-rll2.Size.y/7,0)
  4877. end
  4878. if lll2 ~= nil then
  4879. lll2:BreakJoints()
  4880. local lllc = Instance.new("Glue",t2) lllc.Name = "yo" lllc.C0 = CFrame.new(0,-lll2.Size.y/6,0) lllc.C1 = CFrame.new(0,lll2.Size.y/5,0) lllc.Part0 = lul2 lllc.Part1 = lll2
  4881. local lllcc = Instance.new("Part",t2) lllcc.Name = "yo" lllcc.Transparency = trans lllcc.Size = Vector3.new(lll2.Size.x/1.2,lll2.Size.y/3.5,lll2.Size.z/1.2)
  4882. local lllcw = Instance.new("Weld",t2) lllcw.Name = "yo" lllcw.Part0 = lll2 lllcw.Part1 = lllcc lllcw.C0 = CFrame.new(0,-lll2.Size.y/7,0)
  4883. end
  4884. if rf2 ~= nil then
  4885. rf2:BreakJoints()
  4886. local rfc = Instance.new("Glue",t2) rfc.Name = "yo" rfc.C0 = CFrame.new(0,-rul2.Size.y/2.7,0) rfc.C1 = CFrame.new(0,rll2.Size.y/6,0) rfc.Part0 = rll2 rfc.Part1 = rf2
  4887. local rfcc = Instance.new("Part",t2) rfcc.Name = "yo" rfcc.Transparency = trans rfcc.Size = Vector3.new(rf2.Size.x/1,rf2.Size.y,rf2.Size.z/1)
  4888. local rfcw = Instance.new("Weld",t2) rfcw.Name = "yo" rfcw.Part0 = rf2 rfcw.Part1 = rfcc
  4889. end
  4890. if lf2 ~= nil then
  4891. lf2:BreakJoints()
  4892. local lfc = Instance.new("Glue",t2) lfc.Name = "yo" lfc.C0 = CFrame.new(0,-lul2.Size.y/2.7,0) lfc.C1 = CFrame.new(0,lll2.Size.y/6,0) lfc.Part0 = lll2 lfc.Part1 = lf2
  4893. local lfcc = Instance.new("Part",t2) lfcc.Name = "yo" lfcc.Transparency = trans lfcc.Size = Vector3.new(lf2.Size.x/1,lf2.Size.y,lf2.Size.z/1)
  4894. local lfcw = Instance.new("Weld",t2) lfcw.Name = "yo" lfcw.Part0 = lf2 lfcw.Part1 = lfcc
  4895. end
  4896. end
  4897. end
  4898.  
  4899. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  4900. local type = type
  4901. local rotenable = rotatingop
  4902. local rng = Instance.new("Part", char)
  4903. rng.Anchored = true
  4904. rng.BrickColor = color
  4905. rng.CanCollide = false
  4906. rng.FormFactor = 3
  4907. rng.Name = "Ring"
  4908. rng.Material = "Neon"
  4909. rng.Size = Vector3.new(1, 1, 1)
  4910. rng.Transparency = 0
  4911. if typeoftrans == "In" then
  4912. rng.Transparency = 1
  4913. end
  4914. rng.TopSurface = 0
  4915. rng.BottomSurface = 0
  4916. rng.CFrame = pos
  4917. local rngm = Instance.new("SpecialMesh", rng)
  4918. rngm.MeshType = "FileMesh"
  4919. if typeofshape == "Normal" then
  4920. rngm.MeshId = "rbxassetid://662586858"
  4921. elseif typeofshape == "Round" then
  4922. rngm.MeshId = "rbxassetid://662585058"
  4923. end
  4924. rngm.Scale = scale
  4925. local scaler2 = 1/10
  4926. if type == "Add" then
  4927. scaler2 = 1*value/10
  4928. elseif type == "Divide" then
  4929. scaler2 = 1/value/10
  4930. end
  4931. local randomrot = math.random(1,2)
  4932. coroutine.resume(coroutine.create(function()
  4933. for i = 0,10/bonuspeed,0.1 do
  4934. swait()
  4935. if type == "Add" then
  4936. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  4937. elseif type == "Divide" then
  4938. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  4939. end
  4940. if rotenable == true then
  4941. if randomrot == 1 then
  4942. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  4943. elseif randomrot == 2 then
  4944. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  4945. end
  4946. end
  4947. if typeoftrans == "Out" then
  4948. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4949. elseif typeoftrans == "In" then
  4950. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  4951. end
  4952. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  4953. end
  4954. rng:Destroy()
  4955. end))
  4956. end
  4957.  
  4958. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  4959. local type = type
  4960. local rng = Instance.new("Part", char)
  4961. rng.Anchored = true
  4962. rng.BrickColor = color
  4963. rng.CanCollide = false
  4964. rng.FormFactor = 3
  4965. rng.Name = "Ring"
  4966. rng.Material = "Neon"
  4967. rng.Size = Vector3.new(1, 1, 1)
  4968. rng.Transparency = 0
  4969. rng.TopSurface = 0
  4970. rng.BottomSurface = 0
  4971. rng.CFrame = pos
  4972. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4973. local rngm = Instance.new("SpecialMesh", rng)
  4974. rngm.MeshType = "Brick"
  4975. rngm.Scale = vt(x1,y1,z1)
  4976. if rainbowmode == true then
  4977. rng.Color = Color3.new(r/255,g/255,b/255)
  4978. end
  4979. local scaler2 = 1
  4980. local speeder = FastSpeed/10
  4981. if type == "Add" then
  4982. scaler2 = 1*value
  4983. elseif type == "Divide" then
  4984. scaler2 = 1/value
  4985. end
  4986. coroutine.resume(coroutine.create(function()
  4987. for i = 0,10/bonuspeed,0.1 do
  4988. swait()
  4989. if rainbowmode == true then
  4990. rng.Color = Color3.new(r/255,g/255,b/255)
  4991. end
  4992. if type == "Add" then
  4993. scaler2 = scaler2 - 0.01*value/bonuspeed
  4994. elseif type == "Divide" then
  4995. scaler2 = scaler2 - 0.01/value*bonuspeed
  4996. end
  4997. if chaosmode == true then
  4998. rng.BrickColor = BrickColor.random()
  4999. end
  5000. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  5001. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  5002. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  5003. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  5004. end
  5005. rng:Destroy()
  5006. end))
  5007. end
  5008.  
  5009. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  5010. local type = type
  5011. local rng = Instance.new("Part", char)
  5012. rng.Anchored = true
  5013. rng.BrickColor = color
  5014. rng.CanCollide = false
  5015. rng.FormFactor = 3
  5016. rng.Name = "Ring"
  5017. if ModeOfGlitch ~= 666666 then
  5018. rng.Material = "Neon"
  5019. elseif ModeOfGlitch == 666666 then
  5020. rng.Material = "Glass"
  5021. end
  5022. rng.Size = Vector3.new(1, 1, 1)
  5023. rng.Transparency = 0
  5024. rng.TopSurface = 0
  5025. rng.BottomSurface = 0
  5026. rng.CFrame = pos
  5027. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  5028. local rngm = Instance.new("SpecialMesh", rng)
  5029. rngm.MeshType = "Brick"
  5030. rngm.Scale = vt(x1,y1,z1)
  5031. if rainbowmode == true then
  5032. rng.Color = Color3.new(r/255,g/255,b/255)
  5033. end
  5034. local scaler2 = 1
  5035. local speeder = FastSpeed/10
  5036. if type == "Add" then
  5037. scaler2 = 1*value
  5038. elseif type == "Divide" then
  5039. scaler2 = 1/value
  5040. end
  5041. coroutine.resume(coroutine.create(function()
  5042. for i = 0,10/bonuspeed,0.1 do
  5043. swait()
  5044. if rainbowmode == true then
  5045. rng.Color = Color3.new(r/255,g/255,b/255)
  5046. end
  5047. if type == "Add" then
  5048. scaler2 = scaler2 - 0.01*value/bonuspeed
  5049. elseif type == "Divide" then
  5050. scaler2 = scaler2 - 0.01/value*bonuspeed
  5051. end
  5052. if chaosmode == true then
  5053. rng.BrickColor = BrickColor.random()
  5054. end
  5055. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  5056. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  5057. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  5058. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  5059. end
  5060. rng:Destroy()
  5061. end))
  5062. end
  5063.  
  5064. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  5065. local type = type
  5066. local rng = Instance.new("Part", char)
  5067. rng.Anchored = true
  5068. rng.BrickColor = color
  5069. rng.CanCollide = false
  5070. rng.FormFactor = 3
  5071. rng.Name = "Ring"
  5072. rng.Material = "Neon"
  5073. rng.Size = Vector3.new(1, 1, 1)
  5074. rng.Transparency = 0
  5075. rng.TopSurface = 0
  5076. rng.BottomSurface = 0
  5077. rng.CFrame = pos
  5078. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  5079. local rngm = Instance.new("SpecialMesh", rng)
  5080. rngm.MeshType = "Brick"
  5081. rngm.Scale = vt(x1,y1,z1)
  5082. if rainbowmode == true then
  5083. rng.Color = Color3.new(r/255,g/255,b/255)
  5084. end
  5085. local scaler2 = 0
  5086. local speeder = FastSpeed/10
  5087. if type == "Add" then
  5088. scaler2 = 1*value
  5089. elseif type == "Divide" then
  5090. scaler2 = 1/value
  5091. end
  5092. coroutine.resume(coroutine.create(function()
  5093. for i = 0,10/bonuspeed,0.1 do
  5094. swait()
  5095. if rainbowmode == true then
  5096. rng.Color = Color3.new(r/255,g/255,b/255)
  5097. end
  5098. if type == "Add" then
  5099. scaler2 = scaler2 - 0.01*value/bonuspeed
  5100. elseif type == "Divide" then
  5101. scaler2 = scaler2 - 0.01/value*bonuspeed
  5102. end
  5103. if chaosmode == true then
  5104. rng.BrickColor = BrickColor.random()
  5105. end
  5106. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  5107. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  5108. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  5109. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  5110. end
  5111. rng:Destroy()
  5112. end))
  5113. end
  5114.  
  5115. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  5116. local type = type
  5117. local rng = Instance.new("Part", char)
  5118. rng.Anchored = true
  5119. rng.BrickColor = color
  5120. rng.Color = color3
  5121. rng.CanCollide = false
  5122. rng.FormFactor = 3
  5123. rng.Name = "Ring"
  5124. rng.Material = "Neon"
  5125. rng.Size = Vector3.new(1, 1, 1)
  5126. rng.Transparency = 0
  5127. rng.TopSurface = 0
  5128. rng.BottomSurface = 0
  5129. rng.CFrame = pos
  5130. local rngm = Instance.new("SpecialMesh", rng)
  5131. rngm.MeshType = "Brick"
  5132. rngm.Scale = scale
  5133. local scaler2 = 1
  5134. local scaler2b = 1
  5135. local scaler2c = 1
  5136. if type == "Add" then
  5137. scaler2 = 1*value
  5138. scaler2b = 1*value2
  5139. scaler2c = 1*value3
  5140. elseif type == "Divide" then
  5141. scaler2 = 1/value
  5142. scaler2b = 1/value2
  5143. scaler2c = 1/value3
  5144. end
  5145. coroutine.resume(coroutine.create(function()
  5146. for i = 0,10/bonuspeed,0.1 do
  5147. swait()
  5148. if type == "Add" then
  5149. scaler2 = scaler2 - 0.01*value/bonuspeed
  5150. scaler2b = scaler2b - 0.01*value/bonuspeed
  5151. scaler2c = scaler2c - 0.01*value/bonuspeed
  5152. elseif type == "Divide" then
  5153. scaler2 = scaler2 - 0.01/value*bonuspeed
  5154. scaler2b = scaler2b - 0.01/value*bonuspeed
  5155. scaler2c = scaler2c - 0.01/value*bonuspeed
  5156. end
  5157. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5158. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  5159. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  5160. end
  5161. rng:Destroy()
  5162. end))
  5163. end
  5164.  
  5165. function block2(bonuspeed,aaa,type,pos,scale,value,value2,value3,color,color3)
  5166. local type = type
  5167. local rng = Instance.new("Part", char)
  5168. rng.Anchored = true
  5169. rng.BrickColor = color
  5170. rng.Color = color3
  5171. rng.CanCollide = false
  5172. rng.FormFactor = 3
  5173. rng.Name = "Ring"
  5174. rng.Material = "Neon"
  5175. rng.Size = Vector3.new(1, 1, 1)
  5176. rng.Transparency = 0
  5177. rng.TopSurface = 0
  5178. rng.BottomSurface = 0
  5179. rng.CFrame = pos
  5180. local rngm = Instance.new("SpecialMesh", rng)
  5181. rngm.MeshType = "Brick"
  5182. rngm.Scale = scale
  5183. local scaler2 = 1
  5184. local scaler2b = 1
  5185. local scaler2c = 1
  5186. if type == "Add" then
  5187. scaler2 = 1*value
  5188. scaler2b = 1*value2
  5189. scaler2c = 1*value3
  5190. elseif type == "Divide" then
  5191. scaler2 = 1/value
  5192. scaler2b = 1/value2
  5193. scaler2c = 1/value3
  5194. end
  5195. coroutine.resume(coroutine.create(function()
  5196. for i = 0,10/bonuspeed,aaa do
  5197. swait()
  5198. if type == "Add" then
  5199. scaler2 = scaler2 - 0.01*value/bonuspeed
  5200. scaler2b = scaler2b - 0.01*value/bonuspeed
  5201. scaler2c = scaler2c - 0.01*value/bonuspeed
  5202. elseif type == "Divide" then
  5203. scaler2 = scaler2 - 0.01/value*bonuspeed
  5204. scaler2b = scaler2b - 0.01/value*bonuspeed
  5205. scaler2c = scaler2c - 0.01/value*bonuspeed
  5206. end
  5207. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5208. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  5209. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  5210. end
  5211. rng:Destroy()
  5212. end))
  5213. end
  5214.  
  5215. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  5216. local type = type
  5217. local rng = Instance.new("Part", char)
  5218. rng.Anchored = true
  5219. rng.BrickColor = color
  5220. rng.CanCollide = false
  5221. rng.FormFactor = 3
  5222. rng.Name = "Ring"
  5223. rng.Material = "Neon"
  5224. rng.Size = Vector3.new(1, 1, 1)
  5225. rng.Transparency = 0
  5226. rng.TopSurface = 0
  5227. rng.BottomSurface = 0
  5228. rng.CFrame = pos
  5229. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  5230. local rngm = Instance.new("SpecialMesh", rng)
  5231. rngm.MeshType = "Sphere"
  5232. rngm.Scale = vt(x1,y1,z1)
  5233. if rainbowmode == true then
  5234. rng.Color = Color3.new(r/255,g/255,b/255)
  5235. end
  5236. local scaler2 = 1
  5237. local speeder = FastSpeed
  5238. if type == "Add" then
  5239. scaler2 = 1*value
  5240. elseif type == "Divide" then
  5241. scaler2 = 1/value
  5242. end
  5243. coroutine.resume(coroutine.create(function()
  5244. for i = 0,10/bonuspeed,0.1 do
  5245. swait()
  5246. if rainbowmode == true then
  5247. rng.Color = Color3.new(r/255,g/255,b/255)
  5248. end
  5249. if type == "Add" then
  5250. scaler2 = scaler2 - 0.01*value/bonuspeed
  5251. elseif type == "Divide" then
  5252. scaler2 = scaler2 - 0.01/value*bonuspeed
  5253. end
  5254. if chaosmode == true then
  5255. rng.BrickColor = BrickColor.random()
  5256. end
  5257. speeder = speeder - 0.01*FastSpeed*bonuspeed
  5258. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  5259. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  5260. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  5261. end
  5262. rng:Destroy()
  5263. end))
  5264. end
  5265.  
  5266.  
  5267. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  5268. local type = type
  5269. local rng = Instance.new("Part", char)
  5270. rng.Anchored = true
  5271. rng.BrickColor = color
  5272. rng.CanCollide = false
  5273. rng.FormFactor = 3
  5274. rng.Name = "Ring"
  5275. rng.Material = "Neon"
  5276. rng.Size = Vector3.new(1, 1, 1)
  5277. rng.Transparency = 1
  5278. rng.TopSurface = 0
  5279. rng.BottomSurface = 0
  5280. rng.CFrame = pos
  5281. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  5282. local rngm = Instance.new("SpecialMesh", rng)
  5283. rngm.MeshType = "Sphere"
  5284. rngm.Scale = vt(x1,y1,z1)
  5285. if rainbowmode == true then
  5286. rng.Color = Color3.new(r/255,g/255,b/255)
  5287. end
  5288.  
  5289. local scaler2 = 1
  5290. local speeder = FastSpeed
  5291. if type == "Add" then
  5292. scaler2 = 1*value
  5293. elseif type == "Divide" then
  5294. scaler2 = 1/value
  5295. end
  5296. coroutine.resume(coroutine.create(function()
  5297. for i = 0,10/bonuspeed,0.1 do
  5298. swait()
  5299. if rainbowmode == true then
  5300. rng.Color = Color3.new(r/255,g/255,b/255)
  5301. end
  5302. if type == "Add" then
  5303. scaler2 = scaler2 - 0.01*value/bonuspeed
  5304. elseif type == "Divide" then
  5305. scaler2 = scaler2 - 0.01/value*bonuspeed
  5306. end
  5307. if chaosmode == true then
  5308. rng.BrickColor = BrickColor.random()
  5309. end
  5310. speeder = speeder - 0.01*FastSpeed*bonuspeed
  5311. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  5312. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  5313. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  5314. end
  5315. rng:Destroy()
  5316. end))
  5317. end
  5318.  
  5319. function dmg(dude)
  5320. if dude.Name ~= Character then
  5321. local keptcolor = MAINRUINCOLOR
  5322. local bgf = Instance.new("BodyGyro",dude.Head)
  5323. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  5324. --[[local val = Instance.new("BoolValue",dude)
  5325. val.Name = "IsHit"]]--
  5326. local ds = coroutine.wrap(function()
  5327. dude:WaitForChild("Head"):BreakJoints()
  5328. for i, v in pairs(dude:GetChildren()) do
  5329. if v:IsA("Part") or v:IsA("BasePart") then
  5330. v.Name = "DEMINISHED"
  5331. end
  5332. end
  5333. wait(0.5)
  5334. targetted = nil
  5335. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  5336. coroutine.resume(coroutine.create(function()
  5337. for i, v in pairs(dude:GetChildren()) do
  5338. if v:IsA("Accessory") then
  5339. v:Destroy()
  5340. end
  5341. if v:IsA("Humanoid") then
  5342. v:Destroy()
  5343. end
  5344. if v:IsA("CharacterMesh") then
  5345. v:Destroy()
  5346. end
  5347. if v:IsA("Model") then
  5348. v:Destroy()
  5349. end
  5350. if v:IsA("Part") or v:IsA("BasePart") then
  5351. for x, o in pairs(v:GetChildren()) do
  5352. if o:IsA("Decal") then
  5353. o:Destroy()
  5354. end
  5355. end
  5356. coroutine.resume(coroutine.create(function()
  5357. v.Material = "Neon"
  5358. v.CanCollide = false
  5359. v.Anchored = false
  5360. local bld = Instance.new("ParticleEmitter",v)
  5361. bld.LightEmission = 0.75
  5362. bld.Texture = "rbxassetid://363275192" ---284205403
  5363. bld.Color = ColorSequence.new(keptcolor.Color)
  5364. bld.Rate = 500
  5365. bld.Lifetime = NumberRange.new(1)
  5366. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  5367. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  5368. bld.Speed = NumberRange.new(2,5)
  5369. bld.VelocitySpread = 50000
  5370. bld.Rotation = NumberRange.new(-500,500)
  5371. bld.RotSpeed = NumberRange.new(-500,500)
  5372. local sbs = Instance.new("BodyPosition", v)
  5373. sbs.P = 3000
  5374. sbs.D = 1000
  5375. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  5376. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  5377. v.Color = keptcolor.Color
  5378. coroutine.resume(coroutine.create(function()
  5379. for i = 0, 49 do
  5380. swait(1)
  5381. v:BreakJoints()
  5382. v.Transparency = v.Transparency + 0.02
  5383. end
  5384. v:BreakJoints()
  5385. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  5386. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  5387. bld.Speed = NumberRange.new(10,25)
  5388. bld.Drag = 5
  5389. bld.Acceleration = vt(0,2,0)
  5390. wait(0.5)
  5391. bld.Enabled = false
  5392. wait(8)
  5393. v:Destroy()
  5394. dude:Destroy()
  5395. end))
  5396. end))
  5397. end
  5398. end
  5399. end))
  5400. end)
  5401. ds()
  5402. end
  5403. end
  5404.  
  5405.  
  5406. function FindNearestHead(Position, Distance, SinglePlayer)
  5407. if SinglePlayer then
  5408. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  5409. end
  5410. local List = {}
  5411. for i, v in pairs(workspace:GetChildren()) do
  5412. if v:IsA("Model") then
  5413. if v:findFirstChild("Head") then
  5414. if v ~= Character then
  5415. if (v.Head.Position - Position).magnitude <= Distance then
  5416. table.insert(List, v)
  5417. end
  5418. end
  5419. end
  5420. end
  5421. end
  5422. return List
  5423. end
  5424.  
  5425. function FaceMouse()
  5426. Cam = workspace.CurrentCamera
  5427. return {
  5428. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  5429. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  5430. }
  5431. end
  5432.  
  5433. function FaceMouse2()
  5434. Cam = workspace.CurrentCamera
  5435. return {
  5436. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  5437. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  5438. }
  5439. end
  5440.  
  5441.  
  5442. -- Functions are ready.
  5443. local storehumanoidWS = 16
  5444.  
  5445. function createBGCircle(size,parent,color)
  5446. local bgui = Instance.new("BillboardGui",parent)
  5447. bgui.Size = UDim2.new(size, 0, size, 0)
  5448. local imgc = Instance.new("ImageLabel",bgui)
  5449. imgc.BackgroundTransparency = 1
  5450. imgc.ImageTransparency = 0
  5451. imgc.Size = UDim2.new(1,0,1,0)
  5452. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  5453. imgc.ImageColor3 = color
  5454. return bgui,imgc
  5455. end
  5456.  
  5457. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  5458. local bgui,imgc = createBGCircle(size,guipar,color)
  5459. bgui.AlwaysOnTop = true
  5460. imgc.Image = "rbxassetid://" ..img
  5461. local rrot = math.random(1,2)
  5462. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  5463. coroutine.resume(coroutine.create(function()
  5464. for i = 0, 24*delay do
  5465. swait()
  5466. if rotationenabled == true then
  5467. if rrot == 1 then
  5468. imgc.Rotation = imgc.Rotation + rotsp
  5469. elseif rrot == 2 then
  5470. imgc.Rotation = imgc.Rotation - rotsp
  5471. end
  5472. end
  5473. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  5474. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  5475. end
  5476. bgui:Destroy()
  5477. end))
  5478. end
  5479.  
  5480.  
  5481.  
  5482. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled,sectrailenabled,mainenabled)
  5483. for i, v in pairs(mwY:GetChildren()) do
  5484. if v:IsA("Part") then
  5485. v.Color = (typeof(one) == 'Color3' and one or one.Color)
  5486. v.Material = "Neon"
  5487. end
  5488. end
  5489. for i, v in pairs(mw2:GetDescendants()) do
  5490. if v:IsA("Part") or v:IsA("BasePart") then
  5491. v.Color = (typeof(one) == 'Color3' and one or one.Color)
  5492. v.Material = "Neon"
  5493. if mainenabled == true then
  5494. v.Transparency = 0
  5495. elseif mainenabled == false then
  5496. v.Transparency = 1
  5497. end
  5498. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  5499. v.Color = ColorSequence.new((typeof(one) == 'Color3' and one or one.Color))
  5500. if mainenabled == true then
  5501. v.Enabled = true
  5502. elseif mainenabled == false then
  5503. v.Enabled = false
  5504. end
  5505. end
  5506. end
  5507. for i, v in pairs(mw1:GetDescendants()) do
  5508. if v:IsA("Part") or v:IsA("BasePart") then
  5509. v.Color = (typeof(two) == 'Color3' and two or two.Color)
  5510. v.Material = "Neon"
  5511. if secondaryenabled == true then
  5512. v.Transparency = 0
  5513. elseif secondaryenabled == false then
  5514. v.Transparency = 1
  5515. end
  5516. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  5517. v.Color = ColorSequence.new((typeof(two) == 'Color3' and two or two.Color))
  5518. if secondaryenabled == true then
  5519. v.Enabled = true
  5520. elseif secondaryenabled == false then
  5521. v.Enabled = false
  5522. end
  5523. end
  5524. end
  5525. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  5526. symbolizeBlink(root,0,2092248396,(typeof(one) == 'Color3' and one or one.Color),5,3,1,847061203,root,true,10,1)
  5527. symbolizeBlink(root,0,2092248396,(typeof(one) == 'Color3' and one or one.Color),4,0,0,0,root,true,-5,1)
  5528. refec.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5529. for i, v in pairs(m:GetChildren()) do
  5530. if v:IsA("Part") then
  5531. v.BrickColor = three
  5532. v.Material = "Ice"
  5533. end
  5534. end
  5535. for i, v in pairs(m2:GetChildren()) do
  5536. if v:IsA("Part") then
  5537. v.BrickColor = four
  5538. v.Material = "Ice"
  5539. end
  5540. end
  5541. for i, v in pairs(m3:GetChildren()) do
  5542. if v:IsA("Part") then
  5543. v.BrickColor = five
  5544. v.Material = "Neon"
  5545. end
  5546. end
  5547. for i, v in pairs(extrawingmod1:GetChildren()) do
  5548. if v:IsA("Part") then
  5549. v.Transparency = exonetran
  5550. v.BrickColor = exone
  5551. v.Material = "Neon"
  5552. end
  5553. end
  5554. if sectrailenabled == true then
  5555. tl4.Enabled = true
  5556. tl5.Enabled = true
  5557. tl6.Enabled = true
  5558. tr4.Enabled = true
  5559. tr5.Enabled = true
  5560. tr6.Enabled = true
  5561. tl4.Color = ColorSequence.new(exone.Color)
  5562. tl5.Color = ColorSequence.new(exone.Color)
  5563. tl6.Color = ColorSequence.new(exone.Color)
  5564. tr4.Color = ColorSequence.new(extwo.Color)
  5565. tr5.Color = ColorSequence.new(extwo.Color)
  5566. tr6.Color = ColorSequence.new(extwo.Color)
  5567. elseif sectrailenabled == false then
  5568. tl4.Enabled = false
  5569. tl5.Enabled = false
  5570. tl6.Enabled = false
  5571. tr4.Enabled = false
  5572. tr5.Enabled = false
  5573. tr6.Enabled = false
  5574. end
  5575. for i, v in pairs(extrawingmod2:GetChildren()) do
  5576. if v:IsA("Part") then
  5577. v.Transparency = extwotran
  5578. v.BrickColor = extwo
  5579. v.Material = "Neon"
  5580. end
  5581. end
  5582. end
  5583.  
  5584. function attacktwo()
  5585. attack = true
  5586. hum.WalkSpeed = 2
  5587. local keptcolor = MAINRUINCOLOR
  5588. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5589. 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)
  5590. 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)
  5591. for i = 0, 14 do
  5592. 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)
  5593. end
  5594. for i = 0,1,0.1 do
  5595. swait()
  5596. 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)
  5597. 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)
  5598. 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)
  5599. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5600. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  5601. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  5602. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5603. end
  5604. for i = 0, 1 do
  5605. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  5606. for i = 0,1,0.6 do
  5607. swait()
  5608. 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)
  5609. 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"))
  5610. 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)
  5611. 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)
  5612. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5613. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5614. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5615. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5616. end
  5617. for i = 0,1,0.6 do
  5618. swait()
  5619. 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)
  5620. 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"))
  5621. 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)
  5622. 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)
  5623. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  5624. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5625. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5626. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5627. end
  5628. for i = 0,1,0.6 do
  5629. swait()
  5630. 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)
  5631. 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"))
  5632. 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)
  5633. 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)
  5634. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  5635. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5636. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5637. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5638. end
  5639. for i = 0,1,0.6 do
  5640. swait()
  5641. 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)
  5642. 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"))
  5643. 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)
  5644. 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)
  5645. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  5646. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5647. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5648. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5649. end
  5650. local rot = 0
  5651. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  5652. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5653. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5654. CreateMesh(dis,"Sphere",10,1,10)
  5655. local at1 = Instance.new("Attachment",dis)
  5656. at1.Position = vt(-5,0,0)
  5657. local at2 = Instance.new("Attachment",dis)
  5658. at2.Position = vt(5,0,0)
  5659. local trl = Instance.new('Trail',wed)
  5660. trl.Attachment0 = at1
  5661. trl.Attachment1 = at2
  5662. trl.Texture = "rbxassetid://1049219073"
  5663. trl.LightEmission = 1
  5664. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5665. trl.Color = ColorSequence.new(dis.Color)
  5666. trl.Lifetime = 0.6
  5667. local a = Instance.new("Part",workspace)
  5668. a.Name = "Direction"
  5669. a.Anchored = true
  5670. a.BrickColor = bc("Bright red")
  5671. a.Material = "Neon"
  5672. a.Transparency = 1
  5673. a.CanCollide = false
  5674. local ray = Ray.new(
  5675. dis.CFrame.p, -- origin
  5676. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5677. )
  5678. local ignore = dis
  5679. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5680. a.BottomSurface = 10
  5681. a.TopSurface = 10
  5682. local distance = (dis.CFrame.p - position).magnitude
  5683. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5684. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5685. dis.CFrame = a.CFrame
  5686. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5687. a:Destroy()
  5688. local bv = Instance.new("BodyVelocity")
  5689. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5690. bv.velocity = dis.CFrame.lookVector*250
  5691. bv.Parent = dis
  5692. game:GetService("Debris"):AddItem(dis, 5)
  5693. local hitted = false
  5694. coroutine.resume(coroutine.create(function()
  5695. dis.Touched:connect(function(hit)
  5696. if hitted == false and hit.Parent ~= char then
  5697. hitted = true
  5698. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5699. CamShakeAll({
  5700. Duration=0.4; -- Lasts for .1 seconds
  5701. Intensity=3; -- Intensity of 5
  5702. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  5703. Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation)
  5704. DropDist=60; -- Camera dist from origin when the shake starts to gradually get weaker
  5705. IneffectiveDist=80; -- Camera dist from origin when the shake goes away
  5706. Origin=dis.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  5707. })
  5708. MagniDamage(dis, 30, 13,36, 0, "Normal")
  5709. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5710. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,SECONDRUINCOLOR,SECONDRUINCOLOR.Color)
  5711. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,SECONDRUINCOLOR,SECONDRUINCOLOR.Color)
  5712. coroutine.resume(coroutine.create(function()
  5713. local eff = Instance.new("ParticleEmitter",dis)
  5714. eff.Texture = "rbxassetid://2344870656"
  5715. eff.LightEmission = 1
  5716. eff.Color = ColorSequence.new(dis.Color)
  5717. eff.Rate = 10000000
  5718. eff.Enabled = true
  5719. eff.EmissionDirection = "Front"
  5720. eff.Lifetime = NumberRange.new(1)
  5721. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  5722. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5723. eff.Speed = NumberRange.new(150)
  5724. eff.Drag = 5
  5725. eff.Rotation = NumberRange.new(-500,500)
  5726. eff.SpreadAngle = Vector2.new(0,900)
  5727. eff.RotSpeed = NumberRange.new(-500,500)
  5728. wait(0.2)
  5729. eff.Enabled = false
  5730. end))
  5731. coroutine.resume(coroutine.create(function()
  5732. for i = 0, 9 do
  5733. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5734. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5735. local at1 = Instance.new("Attachment",disr)
  5736. at1.Position = vt(-5,0,0)
  5737. local at2 = Instance.new("Attachment",disr)
  5738. at2.Position = vt(5,0,0)
  5739. local trl = Instance.new('Trail',disr)
  5740. trl.Attachment0 = at1
  5741. trl.FaceCamera = true
  5742. trl.Attachment1 = at2
  5743. trl.Texture = "rbxassetid://2342682798"
  5744. trl.LightEmission = 1
  5745. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5746. trl.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
  5747. trl.Lifetime = 0.5
  5748. local bv = Instance.new("BodyVelocity")
  5749. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5750. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5751. bv.Parent = disr
  5752. local val = 0
  5753. coroutine.resume(coroutine.create(function()
  5754. swait(30)
  5755. for i = 0, 9 do
  5756. swait()
  5757. val = val + 0.1
  5758. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5759. end
  5760. game:GetService("Debris"):AddItem(disr, 3)
  5761. end))
  5762. end
  5763. local eff = Instance.new("ParticleEmitter",dis)
  5764. eff.Texture = "rbxassetid://2273224484"
  5765. eff.LightEmission = 1
  5766. eff.Color = ColorSequence.new(keptcolor.Color)
  5767. eff.Rate = 500000
  5768. eff.Lifetime = NumberRange.new(0.5,2)
  5769. 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)})
  5770. 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)})
  5771. eff.Speed = NumberRange.new(20,250)
  5772. eff.Drag = 5
  5773. eff.Rotation = NumberRange.new(-500,500)
  5774. eff.VelocitySpread = 9000
  5775. eff.RotSpeed = NumberRange.new(-50,50)
  5776. wait(0.25)
  5777. eff.Enabled = false
  5778. end))
  5779. for i = 0, 9 do
  5780. 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)
  5781. end
  5782. for i = 0, 19 do
  5783. 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)
  5784. end
  5785. dis.Anchored = true
  5786. dis.Transparency = 1
  5787. wait(8)
  5788. dis:Destroy()
  5789. end
  5790. end)
  5791. end))
  5792. rot = rot - 15
  5793. end
  5794. for i = 0,2,0.1 do
  5795. swait()
  5796. 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)
  5797. 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)
  5798. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5799. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  5800. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5801. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5802. end
  5803. attack = false
  5804. hum.WalkSpeed = storehumanoidWS
  5805. end
  5806.  
  5807. function attackone()
  5808. attack = true
  5809. symbolizeBlink(sorb,0,2109052855,MAINRUINCOLOR.Color,1.5,5,0.9,1614005837,sorb,true,10,1)
  5810. symbolizeBlink(sorb,0,2109052855,SECONDRUINCOLOR.Color,1.6,5,1,1923591005,sorb,true,10,1)
  5811. symbolizeBlink(sorb,0,2092248396,MAINRUINCOLOR.Color,3,0,0,0,sorb,true,10,1.25)
  5812. symbolizeBlink(sorb,0,2344870656,SECONDRUINCOLOR.Color,10,0,0,0,sorb,true,10,1.5)
  5813. for i = 0,1,0.1 do
  5814. swait()
  5815. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  5816. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  5817. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  5818. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5819. 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)
  5820. 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)
  5821. end
  5822. coroutine.resume(coroutine.create(function()
  5823. local hite = Instance.new("Part", char)
  5824. hite.Anchored = true
  5825. hite.CanCollide = false
  5826. hite.FormFactor = 3
  5827. hite.Name = "Ring"
  5828. hite.Material = "Neon"
  5829. hite.Size = Vector3.new(1, 1, 1)
  5830. hite.Transparency = 1
  5831. hite.TopSurface = 0
  5832. hite.BottomSurface = 0
  5833. local eff = Instance.new("ParticleEmitter",hite)
  5834. eff.Texture = "rbxassetid://2273224484"
  5835. eff.LightEmission = 1
  5836. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5837. eff.Rate = 90000000
  5838. eff.Lifetime = NumberRange.new(0.5,2)
  5839. 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)})
  5840. 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)})
  5841. eff.Speed = NumberRange.new(20,90)
  5842. eff.Drag = 5
  5843. eff.Rotation = NumberRange.new(-500,500)
  5844. eff.VelocitySpread = 9000
  5845. eff.RotSpeed = NumberRange.new(-50,50)
  5846. local distlook = 12.5
  5847. for i = 0, 4 do
  5848. swait(4)
  5849. hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
  5850. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,SECONDRUINCOLOR)
  5851. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
  5852. CamShakeAll({
  5853. Duration=0.25; -- Lasts for .1 seconds
  5854. Intensity=1.75; -- Intensity of 5
  5855. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  5856. Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation)
  5857. DropDist=35; -- Camera dist from origin when the shake starts to gradually get weaker
  5858. IneffectiveDist=65; -- Camera dist from origin when the shake goes away
  5859. Origin=hite.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  5860. })
  5861. MagniDamage(hite, 11.5, 10,25, 0, "Normal")
  5862. for i = 0, 21 do
  5863. 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)
  5864. 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)
  5865. end
  5866. CFuncs["Sound"].Create("rbxassetid://183763506", hite, 3, 1)
  5867. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 0.6)
  5868. game:GetService("Debris"):AddItem(hite, 5)
  5869. distlook = distlook + 15
  5870. end
  5871. wait(0.5)
  5872. eff.Enabled = false
  5873. wait(3.1)
  5874. eff:Destroy()
  5875. end))
  5876. for i = 0,2,0.1 do
  5877. swait()
  5878. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  5879. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  5880. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  5881. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  5882. 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)
  5883. 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)
  5884. end
  5885. attack = false
  5886. end
  5887.  
  5888. function attackthree()
  5889. attack = true
  5890. hum.WalkSpeed = 5
  5891. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.5)
  5892. for i = 0,3.5,0.1 do
  5893. swait()
  5894. 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)
  5895. 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)
  5896. 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)
  5897. 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)
  5898. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5899. 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)
  5900. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5901. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5902. end
  5903. for i = 0, 24 do
  5904. 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)
  5905. end
  5906. CamShakeAll({
  5907. Duration=1; -- Lasts for .1 seconds
  5908. Intensity=2; -- Intensity of 5
  5909. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  5910. Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation)
  5911. DropDist=50; -- Camera dist from origin when the shake starts to gradually get weaker
  5912. IneffectiveDist=120; -- Camera dist from origin when the shake goes away
  5913. Origin=root.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  5914. })
  5915. MagniDamage(root,50,20,45,0,"Normal")
  5916. coroutine.resume(coroutine.create(function()
  5917. for i = 0, 46 do
  5918. swait()
  5919. 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)
  5920. 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)
  5921. end
  5922. end))
  5923. CFuncs["Sound"].Create("rbxassetid://206082327", root, 5,1)
  5924. CFuncs["Sound"].Create("rbxassetid://847061203", root, 6,1)
  5925. CFuncs["Sound"].Create("rbxassetid://239000203", root, 5,1)
  5926. CFuncs["Sound"].Create("rbxassetid://579687077", root, 5,0.75)
  5927. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7,1)
  5928. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5929. CFuncs["Sound"].Create("rbxassetid://782353443", root, 4.5, 1)
  5930. for i = 0,3,0.1 do
  5931. swait()
  5932. 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)
  5933. 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)
  5934. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  5935. 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)
  5936. 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)
  5937. 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)
  5938. end
  5939. hum.WalkSpeed = storehumanoidWS
  5940. attack = false
  5941. end
  5942.  
  5943. local blush = Instance.new("Decal",hed)
  5944. blush.Texture = "rbxassetid://898404027"
  5945. blush.Face = "Front"
  5946. blush.Parent = nil
  5947. blush.Transparency = 1
  5948. ----------------------------------- Abilities
  5949.  
  5950. function ExtinctiveHeartbreak()
  5951. local targetted = nil
  5952. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5953. targetted = mouse.Target.Parent
  5954. end
  5955. if targetted ~= nil then
  5956. attack = true
  5957. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5958. for i = 0, 9 do
  5959. 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)
  5960. end
  5961. for i = 0, 24 do
  5962. 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)
  5963. end
  5964. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5965. local originalpos = root.CFrame
  5966. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5967. for i = 0, 9 do
  5968. 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)
  5969. end
  5970. for i = 0, 24 do
  5971. 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)
  5972. end
  5973. hum.WalkSpeed = 0
  5974. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5975. local radm = math.random(1,3)
  5976. if radm == 1 then
  5977. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  5978. elseif radm == 2 then
  5979. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  5980. elseif radm == 3 then
  5981. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  5982. end
  5983. for i = 0,2,0.1 do
  5984. swait()
  5985. 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)
  5986. 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)
  5987. 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)
  5988. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5989. 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)
  5990. 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)
  5991. end
  5992. CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
  5993. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
  5994. for i = 0,2,0.1 do
  5995. swait()
  5996. coroutine.resume(coroutine.create(function()
  5997. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5998. for i,v in pairs(targetted:GetChildren()) do
  5999. if v:IsA("Part") or v:IsA("BasePart") then
  6000. v.Velocity = vt(0,0,0)
  6001. end
  6002. end
  6003. end))
  6004. 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)
  6005. 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)
  6006. 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)
  6007. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  6008. 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)
  6009. 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)
  6010. end
  6011. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
  6012. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
  6013. for i = 0, 1 do
  6014. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
  6015. end
  6016. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
  6017. chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  6018. for i = 0,4,0.1 do
  6019. swait()
  6020. coroutine.resume(coroutine.create(function()
  6021. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6022. 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)))
  6023. local at1 = Instance.new("Attachment",dis)
  6024. at1.Position = vt(-25000,0,0)
  6025. local at2 = Instance.new("Attachment",dis)
  6026. at2.Position = vt(25000,0,0)
  6027. local trl = Instance.new('Trail',dis)
  6028. trl.Attachment0 = at1
  6029. trl.FaceCamera = true
  6030. trl.Attachment1 = at2
  6031. trl.Texture = "rbxassetid://1049219073"
  6032. trl.LightEmission = 1
  6033. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6034. trl.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
  6035. trl.Lifetime = 5
  6036. local bv = Instance.new("BodyVelocity")
  6037. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6038. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6039. bv.Parent = dis
  6040. game:GetService("Debris"):AddItem(dis, 5)
  6041. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  6042. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  6043. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  6044. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  6045. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  6046. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  6047. 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)
  6048. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  6049. for i = 0, 2 do
  6050. 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)
  6051. end
  6052. symbolizeBlink(targetted.Head,0,2092248396,MAINRUINCOLOR.Color,math.random(3,35),0,0,0,targetted.Head,true,math.random(3,9),0.25)
  6053. for i,v in pairs(targetted:GetChildren()) do
  6054. if v:IsA("Part") or v:IsA("BasePart") then
  6055. v.Velocity = vt(0,0,0)
  6056. end
  6057. end
  6058. end))
  6059. CamShakeAll({
  6060. Duration=.1; -- Lasts for .1 seconds
  6061. Intensity=5; -- Intensity of 5
  6062. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  6063. Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation)
  6064. DropDist=200; -- Camera dist from origin when the shake starts to gradually get weaker
  6065. IneffectiveDist=300; -- Camera dist from origin when the shake goes away
  6066. Origin=sorb.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  6067. })
  6068. 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)
  6069. 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)
  6070. 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)
  6071. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  6072. 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)
  6073. 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)
  6074. end
  6075. for i = 0, 49 do
  6076. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6077. 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)))
  6078. local at1 = Instance.new("Attachment",dis)
  6079. at1.Position = vt(-50000,0,0)
  6080. local at2 = Instance.new("Attachment",dis)
  6081. at2.Position = vt(50000,0,0)
  6082. local trl = Instance.new('Trail',dis)
  6083. trl.Attachment0 = at1
  6084. trl.FaceCamera = true
  6085. trl.Attachment1 = at2
  6086. trl.Texture = "rbxassetid://1049219073"
  6087. trl.LightEmission = 1
  6088. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6089. trl.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
  6090. trl.Lifetime = 5
  6091. local bv = Instance.new("BodyVelocity")
  6092. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6093. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6094. bv.Parent = dis
  6095. game:GetService("Debris"):AddItem(dis, 5)
  6096. end
  6097. for i = 0, 49 do
  6098. 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)
  6099. 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)
  6100. end
  6101. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  6102. for i = 0, 1 do
  6103. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  6104. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  6105. end
  6106. for i = 0, 4 do
  6107. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  6108. end
  6109. symbolizeBlink(targetted.Head,0,2109052855,MAINRUINCOLOR.Color,30,0,0,0,root,false,0,1)
  6110. symbolizeBlink(targetted.Head,0,2109052855,MAINRUINCOLOR.Color,30,0,0,0,root,false,0,2)
  6111. symbolizeBlink(targetted.Head,0,2109052855,MAINRUINCOLOR.Color,30,0,0,0,root,false,0,4)
  6112. dmg(targetted)
  6113. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6114. for i = 0, 9 do
  6115. 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)
  6116. end
  6117. for i = 0, 24 do
  6118. 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)
  6119. end
  6120. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  6121. root.CFrame = originalpos
  6122. for i = 0, 9 do
  6123. 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)
  6124. end
  6125. for i = 0, 24 do
  6126. 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)
  6127. end
  6128. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  6129. attack = false
  6130. hum.WalkSpeed = storehumanoidWS
  6131. end
  6132. end
  6133.  
  6134. function EndGROUND()
  6135. attack = true
  6136. hum.WalkSpeed = 0
  6137. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  6138. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  6139. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  6140. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  6141. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  6142. local keptcolor = MAINRUINCOLOR
  6143. for i = 0,4,0.1 do
  6144. swait()
  6145. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6146. slash(math.random(25,50)/10,5,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-6,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.01,0.1),-0.1,BrickColor.new("Pastel blue-green"))
  6147. RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-15),math.rad(-20)),.1)
  6148. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1)
  6149. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  6150. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  6151. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  6152. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  6153. end
  6154. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  6155. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  6156. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  6157. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  6158. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  6159. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  6160. coroutine.resume(coroutine.create(function()
  6161. CamShakeAll({
  6162. Duration=1; -- Lasts for .1 seconds
  6163. Intensity=5; -- Intensity of 5
  6164. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  6165. Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation)
  6166. DropDist=500; -- Camera dist from origin when the shake starts to gradually get weaker
  6167. IneffectiveDist=650; -- Camera dist from origin when the shake goes away
  6168. Origin=root.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  6169. })
  6170. local eff = Instance.new("ParticleEmitter",cen)
  6171. eff.Texture = "rbxassetid://2344870656"
  6172. eff.LightEmission = 1
  6173. eff.Color = ColorSequence.new(keptcolor.Color)
  6174. eff.Rate = 10000000
  6175. eff.Enabled = true
  6176. eff.EmissionDirection = "Front"
  6177. eff.Lifetime = NumberRange.new(2)
  6178. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,80,0),NumberSequenceKeypoint.new(1,140,0)})
  6179. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6180. eff.Speed = NumberRange.new(500)
  6181. eff.Drag = 5
  6182. eff.Rotation = NumberRange.new(-500,500)
  6183. eff.SpreadAngle = Vector2.new(0,900)
  6184. eff.RotSpeed = NumberRange.new(-500,500)
  6185. wait(0.2)
  6186. eff.Enabled = false
  6187. wait(5)
  6188. eff:Destroy()
  6189. end))
  6190. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6191. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6192. for i = 0, 24 do
  6193. slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Pastel blue-green"))
  6194. end
  6195. local rrot = 0
  6196. local xam = 1
  6197. coroutine.resume(coroutine.create(function()
  6198. for i = 0, 14 do
  6199. swait()
  6200. rrot = rrot + 40*xam
  6201. xam = xam + 0.25
  6202. local bonus = xam
  6203. local xa = CreateParta(char,1,1,"Neon",BrickColor.random())
  6204. xa.Anchored = true
  6205. xa.Color = BrickColor.new("Bright bluish green").Color
  6206. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  6207. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  6208. for i = 0, 9 do
  6209. PixelBlock(1,math.random(4,8*bonus),"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3*bonus,3*bonus,3*bonus,0.06*bonus,BrickColor.new("Bright bluish green"),0)
  6210. end
  6211. for i = 0, 15 do
  6212. slash(math.random(10,80)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100*bonus,300*bonus)/375,BrickColor.new("Pastel blue-green"))
  6213. end
  6214. local xc = 0
  6215. coroutine.resume(coroutine.create(function()
  6216. for i = 0, 99 do
  6217. swait()
  6218. xc = xc + 0.00025
  6219. xa.Transparency = xa.Transparency - xc
  6220. end
  6221. xa.Transparency = 1
  6222. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  6223. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  6224. for i = 0, 9 do
  6225. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01*bonus,0.01,0.01*bonus),math.random(50,125)/250*bonus,BrickColor.new("Pastel blue-green"))
  6226. end
  6227. CamShakeAll({
  6228. Duration=0.4; -- Lasts for .1 seconds
  6229. Intensity=2+bonus; -- Intensity of 5
  6230. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  6231. Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation)
  6232. DropDist=80+xam*60; -- Camera dist from origin when the shake starts to gradually get weaker
  6233. IneffectiveDist=120+xam*60; -- Camera dist from origin when the shake goes away
  6234. Origin=xa.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  6235. })
  6236. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30*bonus,30*bonus,30*bonus),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  6237. sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25*bonus,1,25*bonus),0.05*bonus,1.5*bonus,0.05*bonus,keptcolor,keptcolor.Color)
  6238. sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30*bonus,1,30*bonus),0.05*bonus,1.5*bonus,0.05*bonus,BrickColor.new("Pastel blue-green"),Color3.new(0,0,0))
  6239. game:GetService("Debris"):AddItem(xa, 5)
  6240. end))
  6241. end
  6242. end))
  6243. for i = 0,2,0.1 do
  6244. swait()
  6245. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-25),math.rad(30)),.8)
  6246. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.8)
  6247. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  6248. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  6249. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  6250. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  6251. end
  6252. attack = false
  6253. hum.WalkSpeed = storehumanoidWS
  6254. end
  6255.  
  6256. function ClearDisk()
  6257. attack = true
  6258. hum.WalkSpeed = 2
  6259. local keptcolor = MAINRUINCOLOR
  6260. local radm = math.random(1,3)
  6261. if radm == 1 then
  6262. bosschatfunc("Clear Disks!",MAINRUINCOLOR.Color,1)
  6263. elseif radm == 2 then
  6264. bosschatfunc("TAKE THAT!!!",MAINRUINCOLOR.Color,1)
  6265. elseif radm == 3 then
  6266. bosschatfunc("Hey!",MAINRUINCOLOR.Color,1)
  6267. end
  6268. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  6269. CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
  6270. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6271. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color)
  6272. for i = 0, 14 do
  6273. PixelBlock(1,math.random(1,3),"Add",larm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,BrickColor.new("Pastel Blue"),0)
  6274. end
  6275. for i = 0,2,0.1 do
  6276. swait()
  6277. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  6278. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3)
  6279. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.3)
  6280. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  6281. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  6282. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6283. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  6284. end
  6285. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  6286. for i = 0,1,0.6 do
  6287. swait()
  6288. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  6289. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  6290. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  6291. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  6292. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  6293. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6294. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6295. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6296. end
  6297. for i = 0,1,0.6 do
  6298. swait()
  6299. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  6300. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  6301. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  6302. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  6303. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  6304. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6305. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6306. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6307. end
  6308. for i = 0,1,0.6 do
  6309. swait()
  6310. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  6311. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  6312. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  6313. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  6314. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  6315. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6316. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6317. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6318. end
  6319. for i = 0,1,0.6 do
  6320. swait()
  6321. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  6322. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  6323. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  6324. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  6325. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  6326. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6327. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6328. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6329. end
  6330. local rot = 25
  6331. for i = 0, 3 do
  6332. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Pastel Blue"))
  6333. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  6334. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  6335. dis.Transparency = 0.5
  6336. CreateMesh(dis,"Sphere",10,1,10)
  6337. local at1 = Instance.new("Attachment",dis)
  6338. at1.Position = vt(-5,0,0)
  6339. local at2 = Instance.new("Attachment",dis)
  6340. at2.Position = vt(5,0,0)
  6341. local trl = Instance.new('Trail',wed)
  6342. trl.Attachment0 = at1
  6343. trl.Attachment1 = at2
  6344. trl.Texture = "rbxassetid://1049219073"
  6345. trl.LightEmission = 1
  6346. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6347. trl.Color = ColorSequence.new(dis.Color)
  6348. trl.Lifetime = 0.6
  6349. local a = Instance.new("Part",workspace)
  6350. a.Name = "Direction"
  6351. a.Anchored = true
  6352. a.BrickColor = bc("Bright red")
  6353. a.Material = "Neon"
  6354. a.Transparency = 1
  6355. a.CanCollide = false
  6356. local ray = Ray.new(
  6357. dis.CFrame.p, -- origin
  6358. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6359. )
  6360. local ignore = dis
  6361. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6362. a.BottomSurface = 10
  6363. a.TopSurface = 10
  6364. local distance = (dis.CFrame.p - position).magnitude
  6365. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6366. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6367. dis.CFrame = a.CFrame
  6368. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6369. a:Destroy()
  6370. local bv = Instance.new("BodyVelocity")
  6371. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6372. bv.velocity = dis.CFrame.lookVector*250
  6373. bv.Parent = dis
  6374. game:GetService("Debris"):AddItem(dis, 5)
  6375. local hitted = false
  6376. coroutine.resume(coroutine.create(function()
  6377. dis.Touched:connect(function(hit)
  6378. if hitted == false and hit.Parent ~= char then
  6379. hitted = true
  6380. CamShakeAll(20,35,Character)
  6381. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  6382. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  6383. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  6384. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  6385. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  6386. coroutine.resume(coroutine.create(function()
  6387. local eff = Instance.new("ParticleEmitter",dis)
  6388. eff.Texture = "rbxassetid://2344870656"
  6389. eff.LightEmission = 1
  6390. eff.Color = ColorSequence.new(dis.Color)
  6391. eff.Rate = 10000000
  6392. eff.Enabled = true
  6393. eff.EmissionDirection = "Front"
  6394. eff.Lifetime = NumberRange.new(1)
  6395. 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)})
  6396. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6397. eff.Speed = NumberRange.new(150)
  6398. eff.Drag = 5
  6399. eff.Rotation = NumberRange.new(-500,500)
  6400. eff.SpreadAngle = Vector2.new(0,900)
  6401. eff.RotSpeed = NumberRange.new(-500,500)
  6402. wait(0.2)
  6403. eff.Enabled = false
  6404. end))
  6405. coroutine.resume(coroutine.create(function()
  6406. for i = 0, 9 do
  6407. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6408. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6409. local at1 = Instance.new("Attachment",disr)
  6410. at1.Position = vt(-2,0,0)
  6411. local at2 = Instance.new("Attachment",disr)
  6412. at2.Position = vt(2,0,0)
  6413. local trl = Instance.new('Trail',disr)
  6414. trl.Attachment0 = at1
  6415. trl.FaceCamera = true
  6416. trl.Attachment1 = at2
  6417. trl.Texture = "rbxassetid://2342682798"
  6418. trl.LightEmission = 1
  6419. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6420. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6421. trl.Lifetime = 0.5
  6422. local bv = Instance.new("BodyVelocity")
  6423. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6424. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6425. bv.Parent = disr
  6426. local val = 0
  6427. coroutine.resume(coroutine.create(function()
  6428. swait(30)
  6429. for i = 0, 9 do
  6430. swait()
  6431. val = val + 0.1
  6432. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6433. end
  6434. game:GetService("Debris"):AddItem(disr, 3)
  6435. end))
  6436. end
  6437. local eff = Instance.new("ParticleEmitter",dis)
  6438. eff.Texture = "rbxassetid://2273224484"
  6439. eff.LightEmission = 1
  6440. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6441. eff.Rate = 500000
  6442. eff.Lifetime = NumberRange.new(0.5,2)
  6443. 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)})
  6444. 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)})
  6445. eff.Speed = NumberRange.new(20,250)
  6446. eff.Drag = 5
  6447. eff.Rotation = NumberRange.new(-500,500)
  6448. eff.VelocitySpread = 9000
  6449. eff.RotSpeed = NumberRange.new(-50,50)
  6450. wait(0.25)
  6451. eff.Enabled = false
  6452. end))
  6453. for i = 0, 9 do
  6454. slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
  6455. end
  6456. for i = 0, 19 do
  6457. PixelBlock(1,math.random(5,20),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Pastel Blue"),0)
  6458. end
  6459. dis.Anchored = true
  6460. dis.Transparency = 1
  6461. wait(8)
  6462. dis:Destroy()
  6463. end
  6464. end)
  6465. end))
  6466. rot = rot - 15
  6467. end
  6468. for i = 0,2,0.1 do
  6469. swait()
  6470. 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)
  6471. 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)
  6472. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6473. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  6474. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6475. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6476. end
  6477. attack = false
  6478. hum.WalkSpeed = storehumanoidWS
  6479. end
  6480.  
  6481. function HeavenlyDisk()
  6482. attack = true
  6483. hum.WalkSpeed = 2
  6484. local keptcolor = MAINRUINCOLOR
  6485. local radm = math.random(1,3)
  6486. if radm == 1 then
  6487. bosschatfunc("Dont make this too easy for you.",MAINRUINCOLOR.Color,1)
  6488. elseif radm == 2 then
  6489. bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
  6490. elseif radm == 3 then
  6491. bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  6492. end
  6493. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  6494. CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
  6495. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6496. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color)
  6497. for i = 0, 14 do
  6498. PixelBlock(1,math.random(1,3),"Add",larm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,BrickColor.new("Toothpaste"),0)
  6499. end
  6500. for i = 0,2,0.1 do
  6501. swait()
  6502. 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)
  6503. 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)
  6504. 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)
  6505. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  6506. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  6507. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6508. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  6509. end
  6510. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  6511. for i = 0,1,0.6 do
  6512. swait()
  6513. 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)
  6514. 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"))
  6515. 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)
  6516. 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)
  6517. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  6518. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6519. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6520. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6521. end
  6522. for i = 0,1,0.6 do
  6523. swait()
  6524. 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)
  6525. 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"))
  6526. 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)
  6527. 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)
  6528. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  6529. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6530. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6531. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6532. end
  6533. for i = 0,1,0.6 do
  6534. swait()
  6535. 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)
  6536. 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"))
  6537. 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)
  6538. 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)
  6539. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  6540. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6541. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6542. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6543. end
  6544. for i = 0,1,0.6 do
  6545. swait()
  6546. 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)
  6547. 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"))
  6548. 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)
  6549. 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)
  6550. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  6551. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6552. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6553. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6554. end
  6555. local rot = 15
  6556. for i = 0, 2 do
  6557. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  6558. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  6559. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  6560. CreateMesh(dis,"Sphere",10,1,10)
  6561. local at1 = Instance.new("Attachment",dis)
  6562. at1.Position = vt(-5,0,0)
  6563. local at2 = Instance.new("Attachment",dis)
  6564. at2.Position = vt(5,0,0)
  6565. local trl = Instance.new('Trail',wed)
  6566. trl.Attachment0 = at1
  6567. trl.Attachment1 = at2
  6568. trl.Texture = "rbxassetid://1049219073"
  6569. trl.LightEmission = 1
  6570. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6571. trl.Color = ColorSequence.new(dis.Color)
  6572. trl.Lifetime = 0.6
  6573. local a = Instance.new("Part",workspace)
  6574. a.Name = "Direction"
  6575. a.Anchored = true
  6576. a.BrickColor = bc("Bright red")
  6577. a.Material = "Neon"
  6578. a.Transparency = 1
  6579. a.CanCollide = false
  6580. local ray = Ray.new(
  6581. dis.CFrame.p, -- origin
  6582. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6583. )
  6584. local ignore = dis
  6585. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6586. a.BottomSurface = 10
  6587. a.TopSurface = 10
  6588. local distance = (dis.CFrame.p - position).magnitude
  6589. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6590. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6591. dis.CFrame = a.CFrame
  6592. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6593. a:Destroy()
  6594. local bv = Instance.new("BodyVelocity")
  6595. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6596. bv.velocity = dis.CFrame.lookVector*250
  6597. bv.Parent = dis
  6598. game:GetService("Debris"):AddItem(dis, 5)
  6599. local hitted = false
  6600. coroutine.resume(coroutine.create(function()
  6601. dis.Touched:connect(function(hit)
  6602. if hitted == false and hit.Parent ~= char then
  6603. hitted = true
  6604. CamShakeAll(20,35,Character)
  6605. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  6606. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  6607. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  6608. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  6609. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  6610. coroutine.resume(coroutine.create(function()
  6611. local eff = Instance.new("ParticleEmitter",dis)
  6612. eff.Texture = "rbxassetid://2344870656"
  6613. eff.LightEmission = 1
  6614. eff.Color = ColorSequence.new(dis.Color)
  6615. eff.Rate = 10000000
  6616. eff.Enabled = true
  6617. eff.EmissionDirection = "Front"
  6618. eff.Lifetime = NumberRange.new(1)
  6619. 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)})
  6620. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6621. eff.Speed = NumberRange.new(150)
  6622. eff.Drag = 5
  6623. eff.Rotation = NumberRange.new(-500,500)
  6624. eff.SpreadAngle = Vector2.new(0,900)
  6625. eff.RotSpeed = NumberRange.new(-500,500)
  6626. wait(0.2)
  6627. eff.Enabled = false
  6628. end))
  6629. coroutine.resume(coroutine.create(function()
  6630. for i = 0, 9 do
  6631. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6632. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6633. local at1 = Instance.new("Attachment",disr)
  6634. at1.Position = vt(-2,0,0)
  6635. local at2 = Instance.new("Attachment",disr)
  6636. at2.Position = vt(2,0,0)
  6637. local trl = Instance.new('Trail',disr)
  6638. trl.Attachment0 = at1
  6639. trl.FaceCamera = true
  6640. trl.Attachment1 = at2
  6641. trl.Texture = "rbxassetid://2342682798"
  6642. trl.LightEmission = 1
  6643. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6644. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6645. trl.Lifetime = 0.5
  6646. local bv = Instance.new("BodyVelocity")
  6647. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6648. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6649. bv.Parent = disr
  6650. local val = 0
  6651. coroutine.resume(coroutine.create(function()
  6652. swait(30)
  6653. for i = 0, 9 do
  6654. swait()
  6655. val = val + 0.1
  6656. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6657. end
  6658. game:GetService("Debris"):AddItem(disr, 3)
  6659. end))
  6660. end
  6661. local eff = Instance.new("ParticleEmitter",dis)
  6662. eff.Texture = "rbxassetid://2273224484"
  6663. eff.LightEmission = 1
  6664. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6665. eff.Rate = 500000
  6666. eff.Lifetime = NumberRange.new(0.5,2)
  6667. 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)})
  6668. 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)})
  6669. eff.Speed = NumberRange.new(20,250)
  6670. eff.Drag = 5
  6671. eff.Rotation = NumberRange.new(-500,500)
  6672. eff.VelocitySpread = 9000
  6673. eff.RotSpeed = NumberRange.new(-50,50)
  6674. wait(0.25)
  6675. eff.Enabled = false
  6676. end))
  6677. for i = 0, 9 do
  6678. slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
  6679. end
  6680. for i = 0, 19 do
  6681. PixelBlock(1,math.random(5,20),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
  6682. end
  6683. dis.Anchored = true
  6684. dis.Transparency = 1
  6685. wait(8)
  6686. dis:Destroy()
  6687. end
  6688. end)
  6689. end))
  6690. rot = rot - 15
  6691. end
  6692. for i = 0,2,0.1 do
  6693. swait()
  6694. 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)
  6695. 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)
  6696. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6697. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  6698. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6699. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6700. end
  6701. attack = false
  6702. hum.WalkSpeed = storehumanoidWS
  6703. end
  6704.  
  6705. function RapidBurst()
  6706. attack = true
  6707. hum.WalkSpeed = 0
  6708. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6709. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  6710. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  6711. bosschatfunc("S H A T T E R !",MAINRUINCOLOR.Color,2)
  6712. local keptcolor = MAINRUINCOLOR
  6713. for i = 0,8,0.1 do
  6714. swait()
  6715. CamShakeAll(15,30,Character)
  6716. slash(math.random(25,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,25,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,0.01,2),-2,BrickColor.random())
  6717. block(10,"Add",root.CFrame*CFrame.new(0,25,0),vt(0,0,0),0.5,0.5,0.5,BrickColor.random(),BrickColor.random().Color)
  6718. 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)
  6719. 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)
  6720. 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)
  6721. 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)
  6722. 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)
  6723. 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)
  6724. end
  6725. CamShakeAll(30,300,Character)
  6726. for i = 0, 134 do
  6727. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6728. dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6729. local at1 = Instance.new("Attachment",dis)
  6730. at1.Position = vt(-25000,0,0)
  6731. local at2 = Instance.new("Attachment",dis)
  6732. at2.Position = vt(25000,0,0)
  6733. local trl = Instance.new('Trail',dis)
  6734. trl.Attachment0 = at1
  6735. trl.FaceCamera = true
  6736. trl.Attachment1 = at2
  6737. trl.Texture = "rbxassetid://1049219073"
  6738. trl.LightEmission = 1
  6739. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6740. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6741. trl.Lifetime = 12
  6742. local bv = Instance.new("BodyVelocity")
  6743. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6744. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6745. bv.Parent = dis
  6746. game:GetService("Debris"):AddItem(dis, 5)
  6747. end
  6748. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6749. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6750. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6751. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6752. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6753. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6754. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6755. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6756. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6757. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6758. for i = 0, 24 do
  6759. slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(500,1500)/250,BrickColor.random())
  6760. end
  6761. local distam = 0
  6762. coroutine.resume(coroutine.create(function()
  6763. for i = 0, 99 do
  6764. wait()
  6765. CamShakeAll(15,100,Character)
  6766. distam = distam + 1
  6767. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6768. xa.Anchored = true
  6769. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6770. game:GetService("Debris"):AddItem(xa, 5)
  6771. for i = 0, 4 do
  6772. slash(math.random(25,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.random())
  6773. end
  6774. coroutine.resume(coroutine.create(function()
  6775. local eff = Instance.new("ParticleEmitter",xa)
  6776. eff.Texture = "rbxassetid://2344870656"
  6777. eff.LightEmission = 1
  6778. eff.Color = ColorSequence.new(xa.Color)
  6779. eff.Rate = 10000000
  6780. eff.Enabled = true
  6781. eff.Lifetime = NumberRange.new(2.5)
  6782. 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)})
  6783. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6784. eff.Speed = NumberRange.new(200)
  6785. eff.Drag = 5
  6786. eff.Rotation = NumberRange.new(-500,500)
  6787. eff.SpreadAngle = Vector2.new(0,900)
  6788. eff.RotSpeed = NumberRange.new(-500,500)
  6789. wait(0.2)
  6790. eff.Enabled = false
  6791. end))
  6792. coroutine.resume(coroutine.create(function()
  6793. local eff = Instance.new("ParticleEmitter",xa)
  6794. eff.Texture = "rbxassetid://2273224484"
  6795. eff.LightEmission = 1
  6796. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6797. eff.Rate = 500000
  6798. eff.Lifetime = NumberRange.new(1,3)
  6799. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  6800. 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)})
  6801. eff.Speed = NumberRange.new(50,500)
  6802. eff.Drag = 5
  6803. eff.Rotation = NumberRange.new(-500,500)
  6804. eff.VelocitySpread = 9000
  6805. eff.RotSpeed = NumberRange.new(-50,50)
  6806. wait(0.25)
  6807. eff.Enabled = false
  6808. end))
  6809. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6810. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6811. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6812. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6813. end
  6814. end))
  6815. attack = false
  6816. hum.WalkSpeed = storehumanoidWS
  6817. end
  6818.  
  6819. local stealth = false
  6820. function StealthWarped()
  6821. if stealth then
  6822. return
  6823. end
  6824. attack = true
  6825. stealth = true
  6826. hum.WalkSpeed = 0
  6827. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  6828. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  6829. for i = 0, 4, 0.1 do
  6830. swait()
  6831. block(10,"Add",sorb.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6832. block(10,"Add",sorb2.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6833. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  6834. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  6835. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  6836. end
  6837. sphere2(4,"Add",sorb2.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  6838. sphere2(2,"Add",sorb2.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  6839. sphere2(4,"Add",sorb.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  6840. sphere2(2,"Add",sorb.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  6841. CFuncs["Sound"].Create("rbxassetid://840567549", root, 10, 1)
  6842. newTheme("rbxassetid://0",48.6,1,0.8)
  6843. char.Head.Transparency = 0.5
  6844. char["Left Arm"].Transparency = 0.5
  6845. char["Left Leg"].Transparency = 0.5
  6846. char["Right Arm"].Transparency = 0.5
  6847. char["Right Leg"].Transparency = 0.5
  6848. char.Torso.Transparency = 0.5
  6849. attack = false
  6850. hum.WalkSpeed = 60
  6851. storehumanoidWS = 60
  6852. swait(400)
  6853. char.Head.Transparency = 0
  6854. char["Left Arm"].Transparency = 0
  6855. char["Left Leg"].Transparency = 0
  6856. char["Right Arm"].Transparency = 0
  6857. char["Right Leg"].Transparency = 0
  6858. char.Torso.Transparency = 0
  6859. stealth = false
  6860. storehumanoidWS = 16
  6861. hum.WalkSpeed = storehumanoidWS
  6862. newTheme("rbxassetid://1119453744",48.6,1,0.8)
  6863. end
  6864.  
  6865. function QuickSnap()
  6866. hum.WalkSpeed = 1
  6867. attack = true
  6868. for i = 0,0.5,0.1 do
  6869. swait()
  6870. 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)
  6871. 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)
  6872. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  6873. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.2)
  6874. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(50)),.2)
  6875. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-50)),.2)
  6876. end
  6877. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6878. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,SECONDRUINCOLOR)
  6879. for i = 0, 24 do
  6880. 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)
  6881. end
  6882. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6883. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6884. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6885. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6886. local eff = Instance.new("ParticleEmitter",sorb2)
  6887. eff.Texture = "rbxassetid://2273224484"
  6888. eff.LightEmission = 1
  6889. eff.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
  6890. eff.Rate = 900000000
  6891. eff.Lifetime = NumberRange.new(0.5,2)
  6892. 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)})
  6893. 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)})
  6894. eff.Speed = NumberRange.new(50,250)
  6895. eff.Drag = 5
  6896. eff.Rotation = NumberRange.new(-500,500)
  6897. eff.VelocitySpread = 9000
  6898. eff.RotSpeed = NumberRange.new(-50,50)
  6899. local eff2 = eff:Clone()
  6900. eff2.Parent = sorb
  6901. eff2.LightEmission = 0
  6902. eff2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6903. for i = 0,4,0.1 do
  6904. swait(1)
  6905. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  6906. local dis = CreateParta(char,0.25,1,"Neon",SECONDRUINCOLOR)
  6907. CreateMesh(dis,"Sphere",1,1,1)
  6908. dis.Anchored = true
  6909. dis.CFrame = sorb2.CFrame
  6910. local dis2 = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  6911. CreateMesh(dis2,"Sphere",1,1,1)
  6912. dis2.Anchored = true
  6913. dis2.CFrame = sorb.CFrame
  6914. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6915. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  6916. game:GetService("Debris"):AddItem(dis, 5)
  6917. game:GetService("Debris"):AddItem(dis2, 5)
  6918. 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)
  6919. 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)
  6920. 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)
  6921. 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)
  6922. 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)
  6923. 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)
  6924. 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)
  6925. 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)
  6926. coroutine.resume(coroutine.create(function()
  6927. swait(5)
  6928. coroutine.resume(coroutine.create(function()
  6929. CamShakeAll({
  6930. Duration=0.25; -- Lasts for .1 seconds
  6931. Intensity=0.9; -- Intensity of 5
  6932. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  6933. Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation)
  6934. DropDist=75; -- Camera dist from origin when the shake starts to gradually get weaker
  6935. IneffectiveDist=125; -- Camera dist from origin when the shake goes away
  6936. Origin=dis.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  6937. })
  6938. CamShakeAll({
  6939. Duration=0.25; -- Lasts for .1 seconds
  6940. Intensity=0.9; -- Intensity of 5
  6941. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  6942. Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation)
  6943. DropDist=75; -- Camera dist from origin when the shake starts to gradually get weaker
  6944. IneffectiveDist=125; -- Camera dist from origin when the shake goes away
  6945. Origin=dis2.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  6946. })
  6947. end))
  6948. swait(20)
  6949. dis.Transparency = 1
  6950. dis2.Transparency = 1
  6951. MagniDamage(dis, 55, 50,99, 0, "Normal")
  6952. MagniDamage(dis2, 55, 50,99, 0, "Normal")
  6953. for i = 0, 2 do
  6954. 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)
  6955. 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)
  6956. end
  6957. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  6958. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  6959. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  6960. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  6961. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  6962. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  6963. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  6964. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  6965. dis:Destroy()
  6966. dis2:Destroy()
  6967. end))
  6968. end
  6969. eff.Enabled=false
  6970. eff2.Enabled=false
  6971. attack = false
  6972. hum.WalkSpeed = storehumanoidWS
  6973. wait(2)
  6974. eff:Destroy()
  6975. eff2:Destroy()
  6976. end
  6977.  
  6978. function Ballesta_Shards()
  6979. attack = true
  6980. hum.WalkSpeed = 2
  6981. local keptcolor = BrickColor.new("Really red")
  6982. local keptcolor2 = SECONDRUINCOLOR
  6983. local rval = 0
  6984. local eval = 1
  6985. for i = 0,3,0.1 do
  6986. swait()
  6987. rval = rval + 30
  6988. eval = eval + 1.5
  6989. 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)
  6990. 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)
  6991. 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)
  6992. 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)
  6993. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35 - 2 * math.cos(sine / 37)),math.rad(0),math.rad(0)),.3)
  6994. 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)
  6995. 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)
  6996. end
  6997. for i = 0, 19 do
  6998. 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)
  6999. end
  7000. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 4,1)
  7001. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  7002. CFuncs["Sound"].Create("rbxassetid://1310128035", root, 9, 0.9)
  7003. CFuncs["Sound"].Create("rbxassetid://199145739", root, 3,1)
  7004. MagniDamage(root, 50, 40,50, 0, "Normal")
  7005. sphere2(2,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),2,2,2,keptcolor,keptcolor.Color)
  7006. sphere2(3,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),2,2,2,keptcolor2,keptcolor2.Color)
  7007.  
  7008. coroutine.resume(coroutine.create(function()
  7009. for i = 0, 51 do
  7010. swait()
  7011. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  7012. dis.BrickColor = keptcolor
  7013. dis.Anchored = true
  7014. local at1 = Instance.new("Attachment",dis)
  7015. at1.Position = vt(-0.25,0,0)
  7016. local at2 = Instance.new("Attachment",dis)
  7017. at2.Position = vt(0.25,0,0)
  7018. local trl = Instance.new('Trail',dis)
  7019. trl.Attachment0 = at1
  7020. trl.FaceCamera = true
  7021. trl.Attachment1 = at2
  7022. trl.Texture = "rbxassetid://1049219073"
  7023. trl.LightEmission = 1
  7024. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7025. trl.Color = ColorSequence.new(dis.Color)
  7026. trl.Lifetime = 0.6
  7027. dis.Velocity = vt(math.random(-50,50),math.random(125,210),math.random(-50,50))
  7028. CFuncs["Sound"].Create("rbxassetid://199145967", dis, 0.1,1)
  7029. 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)))
  7030. CreateMesh(dis,"Sphere",0.5,0.5,4)
  7031. dis.Anchored = false
  7032. coroutine.resume(coroutine.create(function()
  7033. wait(1)
  7034. local a = Instance.new("Part",workspace)
  7035. a.Name = "Direction"
  7036. a.Anchored = true
  7037. a.BrickColor = bc("Bright red")
  7038. a.Material = "Neon"
  7039. a.Transparency = 1
  7040. a.CanCollide = false
  7041. local ray = Ray.new(
  7042. dis.CFrame.p, -- origin
  7043. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  7044. )
  7045. local ignore = dis
  7046. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7047. a.BottomSurface = 10
  7048. a.TopSurface = 10
  7049. local distance = (dis.CFrame.p - position).magnitude
  7050. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7051. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  7052. dis.CFrame = a.CFrame
  7053. a:Destroy()
  7054. local bv = Instance.new("BodyVelocity")
  7055. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7056. bv.velocity = dis.CFrame.lookVector*200
  7057. bv.Parent = dis
  7058. game:GetService("Debris"):AddItem(dis, 5)
  7059. local hitted = false
  7060. coroutine.resume(coroutine.create(function()
  7061. dis.Touched:connect(function(hit)
  7062. if hitted == false and hit.Parent ~= char then
  7063. hitted = true
  7064. CFuncs["Sound"].Create("rbxassetid://199146035", dis, 1.5,1)
  7065. MagniDamage(dis, 20, 10,20, 0, "Normal")
  7066. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor2,keptcolor2.Color)
  7067. sphere2(8,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  7068. coroutine.resume(coroutine.create(function()
  7069. local eff = Instance.new("ParticleEmitter",dis)
  7070. eff.Texture = "rbxassetid://2344870656"
  7071. eff.LightEmission = 1
  7072. eff.Color = ColorSequence.new(dis.Color)
  7073. eff.Rate = 10000000
  7074. eff.Enabled = true
  7075. --eff.EmissionDirection = "Front"
  7076. eff.Lifetime = NumberRange.new(0.5)
  7077. 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)})
  7078. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7079. eff.Speed = NumberRange.new(100)
  7080. eff.Drag = 5
  7081. eff.Rotation = NumberRange.new(-500,500)
  7082. eff.SpreadAngle = Vector2.new(0,900)
  7083. eff.RotSpeed = NumberRange.new(-500,500)
  7084. wait(0.1)
  7085. eff.Enabled = false
  7086. end))
  7087. coroutine.resume(coroutine.create(function()
  7088. local eff = Instance.new("ParticleEmitter",dis)
  7089. eff.Texture = "rbxassetid://695499847"
  7090. eff.LightEmission = 1
  7091. eff.Color = ColorSequence.new(dis.Color)
  7092. eff.Rate = 500000
  7093. eff.Lifetime = NumberRange.new(0.5,2)
  7094. 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)})
  7095. 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)})
  7096. eff.Speed = NumberRange.new(20,150)
  7097. eff.Drag = 5
  7098. eff.Rotation = NumberRange.new(-500,500)
  7099. eff.VelocitySpread = 9000
  7100. eff.RotSpeed = NumberRange.new(-150,150)
  7101. wait(0.5)
  7102. eff.Enabled = false
  7103. end))
  7104. dis.Anchored = true
  7105. dis.Transparency = 1
  7106. wait(8)
  7107. dis:Destroy()
  7108. end
  7109. end)
  7110. end))
  7111. end))
  7112. end
  7113. end))
  7114. coroutine.resume(coroutine.create(function()
  7115. local eff = Instance.new("ParticleEmitter",root)
  7116. eff.Texture = "rbxassetid://695499847"
  7117. eff.LightEmission = 0
  7118. eff.Color = ColorSequence.new(BrickColor.new("Crimson").Color)
  7119. eff.Rate = 500000
  7120. eff.Lifetime = NumberRange.new(0.5,2)
  7121. 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)})
  7122. 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)})
  7123. eff.Speed = NumberRange.new(30,250)
  7124. eff.Drag = 5
  7125. eff.Rotation = NumberRange.new(-500,500)
  7126. eff.VelocitySpread = 9000
  7127. eff.RotSpeed = NumberRange.new(-150,150)
  7128. wait(1.5)
  7129. eff.Enabled = false
  7130. end))
  7131. local eval2 = 1
  7132. sphere2(1,"Add",root.CFrame,vt(12.5,1,12.5),-0.05,3,-0.05,keptcolor)
  7133. sphere2(1,"Add",root.CFrame,vt(25,1,25),-0.1,6,-0.1,keptcolor2)
  7134. CamShakeAll({
  7135. Duration=0.6; -- Lasts for .1 seconds
  7136. Intensity=2; -- Intensity of 5
  7137. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  7138. Rotation=Vector3.new(2,2,4); -- What axises the shake effects and how much (rotation)
  7139. DropDist=130; -- Camera dist from origin when the shake starts to gradually get weaker
  7140. IneffectiveDist=165; -- Camera dist from origin when the shake goes away
  7141. Origin=root.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  7142. })
  7143. for i = 0,9,0.1 do
  7144. swait()
  7145. rval = rval + 20
  7146. eval = eval + 1.5
  7147. eval2 = eval2 + 10
  7148. 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)
  7149. 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)
  7150. 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)
  7151. 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)
  7152. 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)
  7153. 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)
  7154. 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)
  7155. end
  7156. attack = false
  7157. hum.WalkSpeed = storehumanoidWS
  7158. end
  7159.  
  7160.  
  7161. function CursedSlash()
  7162. attack = true
  7163. hum.WalkSpeed = 2
  7164. local keptcolor = BrickColor.new("Black")
  7165. local keptcolor2 = SECONDRUINCOLOR
  7166. for i = 0,3,0.1 do
  7167. swait()
  7168. 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)
  7169. 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)
  7170. 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)
  7171. 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)
  7172. 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)
  7173. 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)
  7174. 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)
  7175. end
  7176. MagniDamage(sword, 50, 40,50, 0, "Normal")
  7177. CamShakeAll({
  7178. Duration=0.6; -- Lasts for .1 seconds
  7179. Intensity=2; -- Intensity of 5
  7180. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  7181. Rotation=Vector3.new(2,2,4); -- What axises the shake effects and how much (rotation)
  7182. DropDist=130; -- Camera dist from origin when the shake starts to gradually get weaker
  7183. IneffectiveDist=165; -- Camera dist from origin when the shake goes away
  7184. Origin=root.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  7185. })
  7186. for i = 0,9,0.1 do
  7187. swait()
  7188. 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)
  7189. 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)
  7190. 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)
  7191. 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)
  7192. 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)
  7193. 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)
  7194. 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)
  7195. end
  7196. attack = false
  7197. hum.WalkSpeed = storehumanoidWS
  7198. end
  7199. function desstomp()
  7200. attack = true
  7201. bosschatfunc("To the depths of hell...",MAINRUINCOLOR.Color,4)
  7202. for i = 0, 8, 0.1 do
  7203. swait()
  7204. 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)
  7205. 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)
  7206. 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)
  7207. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  7208. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  7209. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  7210. end
  7211. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  7212. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  7213. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do
  7214. if v:FindFirstChild('Head') then
  7215. dmg(v)
  7216. end
  7217. end
  7218. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,MAINRUINCOLOR)
  7219. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,MAINRUINCOLOR)
  7220. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,MAINRUINCOLOR)
  7221. bosschatfunc("YOU GO!",MAINRUINCOLOR.Color,4)
  7222. CamShakeAll({
  7223. Duration=0.2; -- Lasts for .1 seconds
  7224. Intensity=4; -- Intensity of 5
  7225. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  7226. Rotation=Vector3.new(2,2,4); -- What axises the shake effects and how much (rotation)
  7227. DropDist=200; -- Camera dist from origin when the shake starts to gradually get weaker
  7228. IneffectiveDist=250; -- Camera dist from origin when the shake goes away
  7229. Origin=root.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  7230. })
  7231. for i = 0, 6, 0.1 do
  7232. swait()
  7233. 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)
  7234. 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)
  7235. 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)
  7236. 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)
  7237. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  7238. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  7239. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.4)
  7240. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.4)
  7241. end
  7242. attack = false
  7243. end
  7244. function destaunt()
  7245. attack = true
  7246. bosschatfunc("Did you expect a different and more recognisable name? My bad.",MAINRUINCOLOR.Color,4)
  7247. for i = 0,20,0.1 do
  7248. swait()
  7249. 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)
  7250. 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)
  7251. 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)
  7252. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 5 * math.cos(sine / 10)),math.rad(0),math.rad(34)),.1)
  7253. 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)
  7254. 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)
  7255. end
  7256. attack = false
  7257. end
  7258. -------------------------------------
  7259.  
  7260. if Humanoid:findFirstChild("Animator")~=nil then
  7261. Humanoid:findFirstChild("Animator").Parent=nil
  7262. end
  7263.  
  7264. if Character:findFirstChild("Animate")~=nil then
  7265. Character:findFirstChild("Animate").Parent=nil
  7266. end
  7267. local TransformCD = false
  7268. hum.WalkSpeed = 16
  7269. -------------------------------------
  7270.  
  7271. local NewInstance = function(instance,parent,properties)
  7272. local inst = Instance.new(instance,parent)
  7273. if(properties)then
  7274. for i,v in next, properties do
  7275. pcall(function() inst[i] = v end)
  7276. end
  7277. end
  7278. return inst;
  7279. end
  7280.  
  7281. local attacktype = 1
  7282. mouse.Button1Down:connect(function()
  7283. if attack == false and attacktype == 1 then
  7284. attacktype = 2
  7285. attackone()
  7286. elseif attack == false and attacktype == 2 then
  7287. attacktype = 3
  7288. attacktwo()
  7289. elseif attack == false and attacktype == 3 then
  7290. attacktype = 1
  7291. attackthree()
  7292. elseif attack == false and attacktype == 4 then
  7293. attacktype = 1
  7294. --attackfour()
  7295. end
  7296. end)
  7297.  
  7298. local modeInformation={
  7299. {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};
  7300. {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};
  7301. {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};
  7302. {Name='SILENTIAC',ThemePitch=1,Walkspeed=9,Rainbow=false,Chaos=false,Theme="rbxassetid://209322206",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};
  7303. {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};
  7304. {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};
  7305. {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};
  7306. {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};
  7307. {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};
  7308. {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};
  7309. {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};
  7310. {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};
  7311. {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};
  7312. {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};
  7313. {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};
  7314. {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};
  7315. }
  7316.  
  7317.  
  7318. --Ench 565863302
  7319.  
  7320. --407122850 2128439818 1134696007
  7321. --^ die
  7322.  
  7323. --[[local modeInformation2={ v v v for future flying modetypes
  7324. {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};
  7325. {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};
  7326. {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};
  7327. }]]
  7328.  
  7329. RecolorTextAndRename("COMMOTIAUS",MAINRUINCOLOR.Color,Color3.new(0,0.3,1),Enum.Font.SciFi)
  7330.  
  7331. mouse.KeyDown:connect(function(k)
  7332. 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
  7333. local pmode=ModeOfGlitch
  7334. attack = true
  7335. hum.WalkSpeed = 5
  7336. TransformCD = true
  7337. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.8)
  7338.  
  7339. for i = 0,2,0.1 do
  7340. swait()
  7341. 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)
  7342. 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)
  7343. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.1,-0.1)* angles(math.rad(20),math.rad(0),math.rad(0)),0.3)
  7344. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(35),math.rad(0),math.rad(0)),.3)
  7345. 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)
  7346. 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)
  7347. 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)
  7348. 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)
  7349. end
  7350. swait(4)
  7351. if k == "e" then
  7352. ModeOfGlitch = ModeOfGlitch + 1
  7353. elseif k == "q" then
  7354. ModeOfGlitch = ModeOfGlitch - 1
  7355. end
  7356. if ModeOfGlitch > #modeInformation then
  7357. ModeOfGlitch = 1
  7358. end
  7359. if ModeOfGlitch < 1 then
  7360. ModeOfGlitch = #modeInformation
  7361. end
  7362. local info = modeInformation[ModeOfGlitch]
  7363. if(info and pmode~=ModeOfGlitch)then
  7364. storehumanoidWS = info.Walkspeed
  7365. hum.WalkSpeed = info.Walkspeed
  7366. MAINRUINCOLOR = info.MainColor
  7367. SECONDRUINCOLOR = info.SecColor
  7368. sphere2(3,"Add",tors.CFrame,vt(1,1,1),0.25,0.25,0.25,MAINRUINCOLOR)
  7369. sphere2(4,"Add",tors.CFrame,vt(1,1,1),0.5,0.5,0.5,SECONDRUINCOLOR)
  7370. sphere2(5,"Add",tors.CFrame,vt(1,1,1),0.75,0.75,0.75,MAINRUINCOLOR)
  7371. for i = 0, 24 do
  7372. 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)
  7373. end
  7374. CFuncs["Sound"].Create("rbxassetid://206082327", root, 5,1)
  7375. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7,1)
  7376. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  7377. CFuncs["Sound"].Create("rbxassetid://1310128035", root, 9, 0.9)
  7378. hum.WalkSpeed = storehumanoidWS
  7379. rainbowmode = info.Rainbow
  7380. chaosmode = info.Chaos
  7381. cp = info.Theme:gsub("rbxassetid://","")
  7382. newTheme(info.Theme,0,info.ThemePitch,info.Volume)
  7383. RecolorTextAndRename(info.Name,info.TextColor,info.Stroke,info.Font)
  7384. 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)
  7385. if ModeOfGlitch==11 then
  7386. for i, v in pairs(mw2:GetDescendants()) do
  7387. if v:IsA("Part") or v:IsA("BasePart") then
  7388. v.Color = Color3.new(0.35,0,0)
  7389. v.Material = "Neon"
  7390. v.Transparency = 0
  7391. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  7392. v.Color = ColorSequence.new(Color3.new(MRANDOM(0,1),0,0))
  7393. v.Enabled = true
  7394. end
  7395. end
  7396. end
  7397. for i = 0,2.5,0.1 do
  7398. swait()
  7399. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,-0.1)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.3)
  7400. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-35),math.rad(0),math.rad(0)),.3)
  7401. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(35)), 0.3)
  7402. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-35)), 0.3)
  7403. 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)
  7404. 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)
  7405. end
  7406. attack = false
  7407. wait(0.3)
  7408. TransformCD = false
  7409. end
  7410. end
  7411. if k == "i" and mutedtog == false then
  7412. mutedtog = true
  7413. kan.Volume = 0
  7414. elseif k == "i" and mutedtog == true then
  7415. mutedtog = false
  7416. kan.Volume = 1.25
  7417. end
  7418. if k == "z" and attack == false and ModeOfGlitch == 1 then
  7419. ExtinctiveHeartbreak()
  7420. elseif k == "z" and attack == false and ModeOfGlitch == 12 then
  7421. StealthWarped()
  7422. elseif k == "z" and attack == false and ModeOfGlitch == 11 then
  7423. Ballesta_Shards()
  7424. elseif k == "z" and attack == false and ModeOfGlitch == 7 then
  7425. CursedSlash()
  7426. elseif k == "z" and attack == false and ModeOfGlitch == 9 then
  7427. QuickSnap()
  7428. elseif k == "z" and attack == false and ModeOfGlitch == 10 then
  7429. desstomp()
  7430. elseif k == "b" and attack == false and ModeOfGlitch == 10 then
  7431. destaunt()
  7432. end
  7433. if k == "x" and attack == false and ModeOfGlitch == 1 then
  7434. EndGROUND()
  7435. end
  7436. end)
  7437.  
  7438. local no=0
  7439. local no2=0
  7440. local spin=0
  7441. coroutine.resume(coroutine.create(function()
  7442. while true do
  7443. swait()
  7444. spin=spin+1
  7445.  
  7446.  
  7447. if ModeOfGlitch ~= 7 then
  7448. for i,v in pairs(script.BloodCurse.BloodCurse:GetChildren()) do
  7449. if v:IsA("Part") then
  7450. v.Transparency = 1
  7451. end
  7452. end
  7453. elseif ModeOfGlitch == 7 then
  7454. for i,v in pairs(script.BloodCurse.BloodCurse:GetChildren()) do
  7455. if v:IsA("Part") then
  7456. v.Transparency = 0
  7457. end
  7458. end
  7459. end
  7460.  
  7461.  
  7462.  
  7463. if ModeOfGlitch == 5 and attack==false or ModeOfGlitch==10 and attack==false then
  7464. no=no+1
  7465. if no>3 then
  7466. no=0
  7467. local rsiz = math.random(1,3)
  7468. 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)
  7469. 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)
  7470. end
  7471. end
  7472.  
  7473.  
  7474. if ModeOfGlitch==8 or ModeOfGlitch==10 or ModeOfGlitch==12 or ModeOfGlitch==14 then
  7475. effar.Enabled = true
  7476. effar.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7477. rotperm = rotperm + 2
  7478. no2=no2+1
  7479. if no2>4 then
  7480. no2=0
  7481. 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)
  7482. 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)
  7483. 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)
  7484. 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)
  7485. 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)
  7486. 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)
  7487. 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)
  7488. 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)
  7489. end
  7490. if ModeOfGlitch==10 then
  7491. local penislol = GetClientProperty(kan,"PlaybackLoudness")
  7492. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(0,1,0),0.15+penislol/850,0.01,0.15+penislol/850,SECONDRUINCOLOR)
  7493. else
  7494. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(0,1,0),0.15,0.01,0.15,SECONDRUINCOLOR)
  7495. end
  7496. else
  7497. effar.Enabled = false
  7498. end
  7499.  
  7500. if ModeOfGlitch == 1 then
  7501. local hitfloor2,posfloor2=rayCast(RootPart.Position,-RootPart.CFrame.upVector,100,Character)
  7502. if hitfloor2 then
  7503. 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)
  7504. 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)
  7505. 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)
  7506. 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)
  7507. end
  7508. elseif ModeOfGlitch == 4 then
  7509. 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)
  7510. 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)
  7511. elseif ModeOfGlitch == 8 or ModeOfGlitch == 10 or ModeOfGlitch==12 or ModeOfGlitch==14 then
  7512. 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)
  7513. 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)
  7514. elseif ModeOfGlitch == 11 then
  7515. if hitfloor ~= nil then
  7516. 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)
  7517. 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)
  7518. end
  7519. elseif ModeOfGlitch == 2 or ModeOfGlitch == 3 or ModeOfGlitch==5 or ModeOfGlitch==6 then
  7520. 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)
  7521. elseif ModeOfGlitch == 13 then
  7522. no=no+1
  7523. if no>4 then
  7524. no=0
  7525. 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)
  7526. 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)
  7527. end
  7528. elseif ModeOfGlitch==16 then
  7529. 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)
  7530. 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)
  7531.  
  7532. end
  7533. end
  7534. end))
  7535.  
  7536.  
  7537. for i,v in pairs(script.BloodCurse.BloodCurse:GetChildren()) do
  7538. v.Anchored = false
  7539. end
  7540.  
  7541. rotperm = 0
  7542.  
  7543.  
  7544. Humanoid.Name = "ETHEREAL"
  7545. Humanoid.MaxHealth = math.huge
  7546. Humanoid.Health = math.huge
  7547. Instance.new("ForceField",char).Visible = false
  7548.  
  7549. local bguis = Instance.new("BillboardGui",tors)
  7550. bguis.Size = UDim2.new(25, 0, 25, 0)
  7551. local imgca = Instance.new("ImageLabel",bguis)
  7552. imgca.BackgroundTransparency = 1
  7553. imgca.ImageTransparency = 1
  7554. imgca.Size = UDim2.new(1,0,1,0)
  7555. imgca.Image = "rbxassetid://2344830904" --997291547,521073910,2312119891,2344830904
  7556. imgca.ImageColor3 = Color3.new(0,0,0)
  7557. local rvalu = 0
  7558.  
  7559. idleanim=.4
  7560. local hai=0
  7561. local hai2=1
  7562. local khhkh=0
  7563. local asine1=0
  7564. local asine2=0
  7565. local asine3=0
  7566. local hahahaaa={"Black","Crimson","Maroon","Bright red","Cocoa","Really red"}
  7567. while true do
  7568. if ModeOfGlitch==5 then
  7569. hai=hai+1
  7570. if hai>math.random(2,5) then
  7571. hai=0
  7572. if hai2==1 then
  7573. hai2=2
  7574. MAINRUINCOLOR = BrickColor.new("Really black")
  7575. SECONDRUINCOLOR = BrickColor.new("Really black")
  7576. else
  7577. hai2=1
  7578. MAINRUINCOLOR = BrickColor.new(hahahaaa[math.random(1,#hahahaaa)])
  7579. SECONDRUINCOLOR = BrickColor.new(hahahaaa[math.random(1,#hahahaaa)])
  7580. end
  7581. end
  7582. end
  7583. if khhkh<50 then
  7584. khhkh=khhkh+1
  7585. end
  7586.  
  7587. if khhkh>12 then
  7588.  
  7589. asine1=asine1+change
  7590. end
  7591.  
  7592. if khhkh>24 then
  7593. asine2=asine2+change
  7594. end
  7595.  
  7596. if khhkh>36 then
  7597. asine3=asine3+change
  7598. end
  7599. if mutedtog == false then
  7600. kan.Volume = currentVol
  7601. elseif mutedtog == true then
  7602. kan.Volume = 0
  7603. end
  7604. coroutine.resume(coroutine.create(function()
  7605. local what = math.random()*0.6
  7606. if ModeOfGlitch == 5 then
  7607. modet.TextStrokeColor3 = Color3.new(what,0,0)
  7608. modet.TextColor3 = Color3.new(math.random(0,255)/255,0,0)
  7609. for i, v in pairs(mwY:GetChildren()) do
  7610. if v:IsA("Part") then
  7611. v.Color = Color3.new(MRANDOM(0,1),0,0)
  7612. v.Material = "Neon"
  7613. end
  7614. end
  7615. for i, v in pairs(mw2:GetDescendants()) do
  7616. if v:IsA("Part") or v:IsA("BasePart") then
  7617. v.Color = Color3.new(what,0,0)
  7618. v.Material = "Neon"
  7619. v.Transparency = 0
  7620. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  7621. v.Color = ColorSequence.new(Color3.new(MRANDOM(0,1),0,0))
  7622. v.Enabled = true
  7623. end
  7624. end
  7625. for i, v in pairs(mw1:GetDescendants()) do
  7626. if v:IsA("Part") or v:IsA("BasePart") then
  7627. v.Color = Color3.new(MRANDOM(0,1),0,0)
  7628. v.Material = "Neon"
  7629. v.Transparency = 0
  7630. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  7631. v.Color = ColorSequence.new(Color3.new(MRANDOM(0,1),0,0))
  7632. v.Enabled = true
  7633. end
  7634. end
  7635. end
  7636. end))
  7637. kan.PlaybackSpeed = currentPitch
  7638. kan.Pitch = currentPitch
  7639. kan.SoundId = currentThemePlaying
  7640. kan.Looped = true
  7641. kan.Parent = char
  7642. kan:Resume()
  7643. 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
  7644. imgca.ImageTransparency = 1
  7645. 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
  7646. imgca.ImageColor3 = MAINRUINCOLOR.Color
  7647. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  7648. elseif ModeOfGlitch == 090 then
  7649. imgca.ImageColor3 = Color3.new(r/255,g/255,b/255)
  7650. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  7651. end
  7652. local ghh = GetClientProperty(kan,"PlaybackLoudness")
  7653. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/100
  7654. bguis.Size = UDim2.new(15 + 3 * math.cos(sine / 30),0, 15 + 3 * math.cos(sine / 30),0)
  7655. modet.Rotation = - 5 * math.cos(sine / 32)
  7656. nedf.Rotation = 0 - 2 * math.cos(sine / 24)
  7657. --nedf.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  7658. fullscreenz.BackgroundColor3 = SECONDRUINCOLOR.Color
  7659. fullscreenz.BorderColor3 = MAINRUINCOLOR.Color
  7660. hh1.BackgroundColor3 = MAINRUINCOLOR.Color
  7661. hh2.BackgroundColor3 = MAINRUINCOLOR.Color
  7662. hh3.BackgroundColor3 = MAINRUINCOLOR.Color
  7663. hh1.Position=UDim2.new(-.1-.02*math.cos(asine3/66), 0, .5, 0)
  7664. hh2.Position=UDim2.new(-.14-.02*math.cos(asine2/66), 0, .5, 0)
  7665. hh3.Position=UDim2.new(-.16-.02*math.cos(asine1/66), 0, .5, 0)
  7666. hh1.Rotation=0+.8*math.sin(asine1/66)
  7667. hh2.Rotation=0+.8*math.sin(asine2/66)
  7668. nedf.TextColor3=SECONDRUINCOLOR.Color
  7669. nedf.TextStrokeColor3=MAINRUINCOLOR.Color
  7670. fullscreenz.Rotation=0+.8*math.sin(sine/66)
  7671. vis1.BackgroundColor3 = MAINRUINCOLOR.Color
  7672. vis2.BackgroundColor3 = MAINRUINCOLOR.Color
  7673. vis3.BackgroundColor3 = MAINRUINCOLOR.Color
  7674. vis4.BackgroundColor3 = MAINRUINCOLOR.Color
  7675. vis5.BackgroundColor3 = MAINRUINCOLOR.Color
  7676.  
  7677. vis1.Size = UDim2.new(.1, 0, 0+ ghh/330, 0)
  7678. vis2.Size = UDim2.new(.07, 0, 0+ ghh/410, 0)
  7679. vis3.Size = UDim2.new(.045, 0, 0+ ghh/470, 0)
  7680. vis4.Size = UDim2.new(.03, 0, 0+ ghh/540, 0)
  7681. vis5.Size = UDim2.new(.012, 0, 0+ ghh/590, 0)
  7682.  
  7683. CameraManager()
  7684. swait()
  7685. kan:Resume()
  7686. if ModeOfGlitch == 2 or ModeOfGlitch == 15 or ModeOfGlitch == 16 then
  7687. rvalu = rvalu + 0.25 + ghh/90
  7688. else
  7689. rvalu = rvalu + 0.5
  7690. end
  7691. if ModeOfGlitch==2 or ModeOfGlitch==15 then
  7692. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7693. handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7694. 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)
  7695. 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)
  7696. 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)
  7697. 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)
  7698. 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)
  7699. 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)
  7700. elseif ModeOfGlitch == 3 or ModeOfGlitch==16 then
  7701. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7702. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7703. 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)
  7704. 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)
  7705. 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)
  7706. 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)
  7707. 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)
  7708. 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)
  7709. elseif ModeOfGlitch==4 then
  7710. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7711. handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7712. 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)
  7713. 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)
  7714. 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)
  7715. 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)
  7716. 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)
  7717. 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)
  7718. elseif ModeOfGlitch == 5 then
  7719. 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)
  7720. 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)
  7721. 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)
  7722. 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)
  7723. 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)
  7724. 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)
  7725. elseif ModeOfGlitch==11 then
  7726. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7727. handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7728. 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)
  7729. 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)
  7730. 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)
  7731. 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)
  7732. 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)
  7733. 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)
  7734. elseif ModeOfGlitch==12 or ModeOfGlitch==13 then
  7735. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7736. handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7737. 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)
  7738. 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)
  7739. 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)
  7740. 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)
  7741. 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)
  7742. 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)
  7743. elseif ModeOfGlitch==14 then
  7744. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7745. handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7746. 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)
  7747. 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)
  7748. 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)
  7749. 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)
  7750. 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)
  7751. 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)
  7752. else
  7753. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7754. handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7755. 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)
  7756. 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)
  7757. 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)
  7758. 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)
  7759. 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)
  7760. 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)
  7761. end
  7762. sine = sine + change
  7763. SINE=SINE+change
  7764. if(ModeOfGlitch==16)then
  7765.  
  7766. end
  7767.  
  7768. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  7769. local velderp=RootPart.Velocity.y
  7770. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  7771. if equipped==true or equipped==false then
  7772. if attack==false then
  7773. idle=idle+1
  7774. else
  7775. idle=0
  7776. end
  7777. if idle>=500 then
  7778. if attack==false then
  7779. --Sheath()
  7780. end
  7781. end
  7782. if RootPart.Velocity.y > 1 and hitfloor==nil then
  7783. Anim="Jump"
  7784. if attack==false then
  7785. 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)
  7786. 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)
  7787. 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)
  7788. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  7789. 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)
  7790. 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)
  7791. end
  7792. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  7793. Anim="Fall"
  7794. if attack==false then
  7795. 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)
  7796. 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)
  7797. 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)
  7798. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  7799. 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)
  7800. 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)
  7801. end
  7802. elseif torvel<1 and hitfloor~=nil then
  7803. Anim="Idle"
  7804. if attack==false then
  7805. if ModeOfGlitch == 2 then
  7806. 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)
  7807. 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)
  7808. 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)
  7809. 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)
  7810. 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)
  7811. 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)
  7812. elseif ModeOfGlitch == 3 then
  7813. local snap = math.random(1,32)
  7814. if snap == 1 then
  7815. 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)
  7816. end
  7817. 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)
  7818. 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)
  7819. 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)
  7820. 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)
  7821. 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)
  7822. 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)
  7823. elseif ModeOfGlitch == 4 then
  7824. local snap = math.random(1,24)
  7825. if snap == 1 then
  7826. 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)
  7827. end
  7828. local snap = math.random(1,78)
  7829. if snap == 1 then
  7830. 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)
  7831. end
  7832. 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)
  7833. 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)
  7834. 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)
  7835. 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)
  7836. 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)
  7837. 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)
  7838. elseif ModeOfGlitch == 5 then
  7839. 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)
  7840. 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)
  7841. 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)
  7842. 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)
  7843. 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)
  7844. 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)
  7845. elseif ModeOfGlitch == 6 then -- soon to change anim
  7846. 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)
  7847. 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)
  7848. 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)
  7849. 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)
  7850. 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)
  7851. 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)
  7852. elseif ModeOfGlitch == 7 then -- Cursed by Unfair
  7853. local rsiz = math.random(1,2)
  7854. 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)
  7855. 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)
  7856. 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)
  7857. 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)
  7858. 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)
  7859. 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)
  7860. 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)
  7861. 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)
  7862. elseif ModeOfGlitch == 8 then -- Accession by Unfair
  7863. 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)
  7864. 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)
  7865. 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)
  7866. 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)
  7867. 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)
  7868. 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)
  7869. elseif ModeOfGlitch == 9 then -- Descented by Unfair
  7870. 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)
  7871. 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)
  7872. 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)
  7873. 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)
  7874. 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)
  7875. 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)
  7876. elseif ModeOfGlitch == 10 then
  7877. local snap = math.random(1,100)
  7878. if snap == 1 then
  7879. 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)
  7880. end
  7881. 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)
  7882. 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)
  7883. 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)
  7884. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 3 * math.cos(sine / 45)),math.rad(0),math.rad(34)),.1)
  7885. 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)
  7886. 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)
  7887. elseif ModeOfGlitch == 11 then
  7888. 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)
  7889. 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)
  7890. 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)
  7891. 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)
  7892. 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)
  7893. 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)
  7894. elseif ModeOfGlitch == 12 then
  7895. 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)
  7896. 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)
  7897. 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)
  7898. 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)
  7899. 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)
  7900. 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)
  7901. elseif ModeOfGlitch == 13 then
  7902. 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)
  7903. 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)
  7904. 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)
  7905. 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)
  7906. 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)
  7907. 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)
  7908. elseif ModeOfGlitch == 14 then
  7909. 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)
  7910. 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)
  7911. 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)
  7912. 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)
  7913. 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)
  7914. 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)
  7915.  
  7916. elseif(ModeOfGlitch == 15)then -- Antecedent
  7917. local snap = math.random(1,10)
  7918. if snap == 1 then
  7919. 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)
  7920. end
  7921. 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)
  7922. 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)
  7923. 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)
  7924. 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)
  7925. 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)
  7926. 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)
  7927. elseif(ModeOfGlitch == 16)then -- Balanced
  7928. --Balanced Anim by Derpz
  7929. 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,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  7930.  
  7931. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * 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 / 36))),.1)
  7932. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * 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 / 30))),.1)
  7933. 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)
  7934. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 3 * math.cos(sine / 45)),math.rad(0),math.rad(0)),.1)
  7935. 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)
  7936. 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)
  7937.  
  7938. else
  7939. local snap = math.random(1,10)
  7940. if snap == 1 then
  7941. 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)
  7942. end
  7943. 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)
  7944. 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)
  7945. 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)
  7946. 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)
  7947. 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)
  7948. 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)
  7949. end
  7950. end
  7951. elseif torvel>2 and Humanoid.WalkSpeed<32 and hitfloor~=nil then
  7952. Anim="Walk"
  7953. if attack==false then
  7954. if ModeOfGlitch == 3 then
  7955. 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)
  7956. 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)
  7957. 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)
  7958. 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)
  7959. 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)
  7960. 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)
  7961. elseif ModeOfGlitch == 4 then
  7962. local snap = math.random(1,24)
  7963. if snap == 1 then
  7964. 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)
  7965. end
  7966. local snap = math.random(1,48)
  7967. if snap == 1 then
  7968. 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)
  7969. end
  7970. 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)
  7971. 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)
  7972. 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)
  7973. 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)
  7974. 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)
  7975. 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)
  7976. elseif ModeOfGlitch == 7 then
  7977. local rsiz = math.random(1,2)
  7978. 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)
  7979. 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)
  7980. 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)
  7981. 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)
  7982. 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)
  7983. 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)
  7984. 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)
  7985. 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)
  7986. elseif ModeOfGlitch==12 then
  7987. 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)
  7988. 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)
  7989. 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)
  7990. 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)
  7991. 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)
  7992. 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)
  7993. else
  7994. 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)
  7995. 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)
  7996. 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)
  7997. 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)
  7998. 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)
  7999. 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)
  8000. end
  8001. end
  8002. elseif torvel>=4 and Humanoid.WalkSpeed>=32 and hitfloor~=nil then
  8003. Anim="Run"
  8004. if attack==false then
  8005. if ModeOfGlitch==8 or ModeOfGlitch==10 or ModeOfGlitch == 14 or ModeOfGlitch==12 then
  8006. 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)
  8007. 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)
  8008. 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)
  8009. 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)
  8010. 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)
  8011. 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)
  8012. else
  8013. 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)
  8014. 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)
  8015. 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)
  8016. 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)
  8017. 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)
  8018. 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)
  8019. 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)
  8020. 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)
  8021. end
  8022. end
  8023. end
  8024. end
  8025. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement