Advertisement
Goo345

Untitled

Sep 16th, 2018
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 236.68 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
  2. print("FE Compatibility code by Mokiros")
  3. InternalData = {}
  4. do
  5. script.Parent = owner.Character
  6. local Event = Instance.new("RemoteEvent")
  7. Event.Name = "UserInput"
  8. local function NewFakeEvent()
  9. local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
  10. return Fake
  11. end
  12. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  13. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  14. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  15. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  16. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  17. local function TriggerEvent(self,Event,...)
  18. local Trigger = Mouse[Event]
  19. if Trigger and Trigger.fakeEvent and Trigger.Function then
  20. Trigger.Function(...)
  21. end
  22. end
  23. Mouse.TrigEvent = TriggerEvent
  24. UserInputService.TrigEvent = TriggerEvent
  25. Event.OnServerEvent:Connect(function(FiredBy,Input)
  26. if FiredBy.Name ~= owner.Name then end
  27. if Input.MouseEvent then
  28. Mouse.Target = Input.Target
  29. Mouse.Hit = Input.Hit
  30. else
  31. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  32. if Input.UserInputType == Enum.UserInputType.MouseButton1 then
  33. return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
  34. end
  35. for _,Action in pairs(ContextActionService.Actions) do
  36. for _,Key in pairs(Action.Keys) do
  37. if Key==Input.KeyCode then
  38. Action.Function(Action.Name,Input.UserInputState,Input)
  39. end
  40. end
  41. end
  42. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  43. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  44. end
  45. end)
  46. InternalData["Mouse"] = Mouse
  47. InternalData["ContextActionService"] = ContextActionService
  48. InternalData["UserInputService"] = UserInputService
  49. Event.Parent = NLS([[
  50. local Player = owner
  51. local Event = script:WaitForChild("UserInput")
  52. local UserInputService = game:GetService("UserInputService")
  53. local Mouse = Player:GetMouse()
  54. local Input = function(Input,gameProcessedEvent)
  55. if gameProcessedEvent then return end
  56. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  57. end
  58. UserInputService.InputBegan:Connect(Input)
  59. UserInputService.InputEnded:Connect(Input)
  60. local Hit,Target
  61. while wait(1/30) do
  62. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  63. Hit,Target = Mouse.Hit,Mouse.Target
  64. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  65. end
  66. end
  67. ]],owner.Character)
  68. end
  69. RealGame = game;game = setmetatable({},{
  70. __index = function (self,Index)
  71. local Sandbox = function (Thing)
  72. if Thing:IsA("Player") then
  73. local RealPlayer = Thing
  74. return setmetatable({},{
  75. __index = function (self,Index)
  76. local Type = type(RealPlayer[Index])
  77. if Type == "function" then
  78. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  79. return function (self)
  80. return InternalData["Mouse"]
  81. end
  82. end
  83. return function (self,...)
  84. return RealPlayer[Index](RealPlayer,...)
  85. end
  86. else
  87. if Index == "PlrObj" then
  88. return RealPlayer
  89. end
  90. return RealPlayer[Index]
  91. end
  92. end;
  93. __tostring = function(self)
  94. return RealPlayer.Name
  95. end
  96. })
  97. end
  98. end
  99. if RealGame[Index] then
  100. local Type = type(RealGame[Index])
  101. if Type == "function" then
  102. if Index:lower() == "getservice" or Index:lower() == "service" then
  103. return function (self,Service)
  104. if Service:lower() == "players" then
  105. return setmetatable({},{
  106. __index = function (self2,Index2)
  107. local RealService = RealGame:GetService(Service)
  108. local Type2 = type(Index2)
  109. if Type2 == "function" then
  110. return function (self,...)
  111. return RealService[Index2](RealService,...)
  112. end
  113. else
  114. if Index2:lower() == "localplayer" then
  115. return Sandbox(owner)
  116. end
  117. return RealService[Index2]
  118. end
  119. end;
  120. __tostring = function(self)
  121. return RealGame:GetService(Service).Name
  122. end
  123. })
  124. elseif Service:lower() == "contextactionservice" then
  125. return InternalData["ContextActionService"]
  126. elseif Service:lower() == "contextactionservice" then
  127. return InternalData["UserInputService"]
  128. elseif Service:lower() == "runservice" then
  129. return setmetatable({},{
  130. __index = function(self2,Index2)
  131. local RealService = RealGame:GetService(Service)
  132. local Type2 = type(Index2)
  133. if Type2 == "function" then
  134. return function (self,...)
  135. return RealService[Index2](RealService,...)
  136. end
  137. else
  138. if Index2:lower() == "bindtorenderstep" then
  139. return function (self,Name,Priority,Function)
  140. return RealGame:GetService("RunService").Stepped:Connect(Function)
  141. end
  142. end
  143. if Index2:lower() == "renderstepped" then
  144. return RealService["Stepped"]
  145. end
  146. return RealService[Index2]
  147. end
  148. end
  149. })
  150. else
  151. return RealGame:GetService(Service)
  152. end
  153. end
  154. end
  155. return function (self,...)
  156. return RealGame[Index](RealGame,...)
  157. end
  158. else
  159. if game:GetService(Index) then
  160. return game:GetService(Index)
  161. end
  162. return RealGame[Index]
  163. end
  164. else
  165. return nil
  166. end
  167. end
  168. });Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
  169. print("Complete! Running...")
  170.  
  171.  
  172. --//Paste script below this line.
  173.  
  174. warn([[Galaxy Glitcher Loaded.
  175. The third glitcher, once as the core is now new.
  176.  
  177. Created by Tc
  178. ]])
  179.  
  180. ---------Wielder list as of OCs:---------
  181. -- ??? (Nothing such as this yet, but wields all the Glitchers. What you're asking it's the creator.)
  182. -- Void Emily (OC of mine, can lead to any modes and mainly leading to LOVE and HARMONY, she's obviously shy sometimes.)
  183. -- Lunaria Floodio (Second OC, can lead to any modes.)
  184. -- Gacharix (Third OC, can lead to any modes and mainly leading to AZURE X, very corrupted person.)
  185. -----------------------------------------
  186.  
  187. print([[Icons:
  188. ! = New
  189. ? = Spoilers
  190. * = Exclusivity
  191. C = Changes
  192.  
  193. ]])
  194. warn([[V 3.2 Update Log:
  195. C - Huge revamp of wings.
  196. C - Walk and running are now tiltable on where you go on a side.
  197. C - Huge slight changes on all of the mode's idles.
  198. C - Even more effect changes.
  199. !C* - Love mode has been added.
  200. !C* - Love mode's transformation added..
  201. !* - Love mode's taunt added... (why.. ;~;)
  202. C - Death effect has been improved.
  203. C - Binary's Z is imporvably changed
  204. ? - Nothing seems to be new yet..
  205. ? - Some modes will have moves sooner.
  206.  
  207. Commands for visualiser mode: play/, vol/, pitch/, skipto/, telltime/]])
  208. ---- IMPORTANT READING:
  209. ---- Sources and functions might be taken from others
  210. plr = game.Players.LocalPlayer
  211.  
  212. script.Parent = workspace.CurrentCamera
  213. plr.CharacterAdded:connect(function()
  214. script.Disabled = true
  215. script:destroy()
  216. end)
  217.  
  218. char = plr.Character
  219. hum = char.Humanoid
  220. local cam = game.Workspace.CurrentCamera
  221. Camera = cam
  222. local CamInterrupt = false
  223. local TwoD = false
  224. local TargetInfo = {nil, nil}
  225. cam.CameraType = "Custom"
  226. t = char.Torso
  227. h = char.Head
  228. ra = char["Right Arm"]
  229. la = char["Left Arm"]
  230. rl = char["Right Leg"]
  231. ll = char["Left Leg"]
  232. tors = char.Torso
  233. lleg = char["Left Leg"]
  234. root = char.HumanoidRootPart
  235. hed = char.Head
  236. rleg = char["Right Leg"]
  237. rarm = char["Right Arm"]
  238. larm = char["Left Arm"]
  239. radian = math.rad
  240. random = math.random
  241. Vec3 = Vector3.new
  242. Inst = Instance.new
  243. cFrame = CFrame.new
  244. Euler = CFrame.fromEulerAnglesXYZ
  245. vt = Vector3.new
  246. bc = BrickColor.new
  247. br = BrickColor.random
  248. it = Instance.new
  249. cf = CFrame.new
  250.  
  251.  
  252. local Booleans = {
  253. CamFollow = true,
  254. GyroUse = true
  255. }
  256.  
  257. function lerp(object, newCFrame, alpha)
  258. return object:lerp(newCFrame, alpha)
  259. end
  260.  
  261. local Directer = Inst("BodyGyro", root)
  262. Directer.MaxTorque = Vec3(0, 0, 0)
  263. Directer.P = 600000
  264. local CPart = Inst("Part")
  265. CPart.Anchored = true
  266. CPart.CanCollide = false
  267. CPart.Locked = true
  268. CPart.Transparency = 1
  269.  
  270. local rainbowmode = false
  271. local chaosmode = false
  272. local duringend = false
  273. local ModeOfGlitch = 1
  274.  
  275. local kan = Instance.new("Sound",char)
  276. kan.Volume = 1.25
  277. kan.TimePosition = 0
  278. kan.PlaybackSpeed = 1
  279. kan.Pitch = 1.01
  280. kan.SoundId = "rbxassetid://435773595"
  281. kan.Name = "wreckeda"
  282. kan.Looped = true
  283. kan:Play()
  284.  
  285. local currentThemePlaying = kan.SoundId
  286. local currentPitch = kan.Pitch
  287. local currentVol = kan.Volume
  288. function newTheme(ID,timepos,pitch,vol)
  289. local kanz = kan
  290. --kanz:Stop()
  291. kanz.Volume = vol
  292. --kanz.TimePosition = timepos
  293. kanz.PlaybackSpeed = pitch
  294. kanz.Pitch = pitch
  295. kanz.SoundId = ID
  296. kanz.Name = "wrecked"
  297. kanz.Looped = true
  298. currentThemePlaying = kanz.SoundId
  299. currentVol = kanz.Volume
  300. currentPitch = kanz.Pitch
  301. --kanz:Play()
  302. --coroutine.resume(coroutine.create(function()
  303. --wait(0.05)
  304. --end))
  305. end
  306.  
  307.  
  308. function newThemeCust(ID,timepos,pitch,vol)
  309. local kanz = kan
  310. kanz:Stop()
  311. kanz.Volume = vol
  312. kanz.TimePosition = timepos
  313. kanz.PlaybackSpeed = pitch
  314. kanz.Pitch = pitch
  315. kanz.SoundId = ID
  316. kanz.Name = "wrecked"
  317. kanz.Looped = true
  318. currentThemePlaying = kanz.SoundId
  319. currentVol = kanz.Volume
  320. currentPitch = kanz.Pitch
  321. kanz:Play()
  322. coroutine.resume(coroutine.create(function()
  323. wait(0.05)
  324. end))
  325. end
  326.  
  327. local mutedtog = false
  328.  
  329. function CameraEnshaking(Length,Intensity)
  330. coroutine.resume(coroutine.create(function()
  331. local intensity = 1*Intensity
  332. local rotM = 0.01*Intensity
  333. for i = 0, Length, 0.1 do
  334. swait()
  335. intensity = intensity - 0.05*Intensity/Length
  336. rotM = rotM - 0.0005*Intensity/Length
  337. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  338. cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  339. end
  340. Humanoid.CameraOffset = Vec3(0, 0, 0)
  341. end))
  342. end
  343. CamShake=function(Part,Distan,Power,Times)
  344. local de=Part.Position
  345. for i,v in pairs(workspace:children()) do
  346. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  347. for _,c in pairs(v:children()) do
  348. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  349. local Noob=v.Humanoid
  350. if Noob~=nil then
  351. coroutine.resume(coroutine.create(function()
  352. FV = Instance.new("BoolValue", Noob)
  353. FV.Name = "CameraShake"
  354. for ShakeNum=1,Times do
  355. swait()
  356. local ef=Power
  357. if ef>=1 then
  358. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  359. else
  360. ef=Power*10
  361. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  362. end
  363. end
  364. Humanoid.CameraOffset = Vector3.new(0,0,0)
  365. FV:Destroy()
  366. end))
  367. CameraShake(Times, Power, Noob)
  368. end
  369. end
  370. end
  371. end
  372. end
  373. end
  374.  
  375. local toggleTag = true
  376. local bilguit = Instance.new("BillboardGui", hed)
  377. bilguit.Adornee = nil
  378. bilguit.Name = "ModeName"
  379. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  380. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  381. local modet = Instance.new("TextLabel", bilguit)
  382. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  383. modet.FontSize = "Size8"
  384. modet.TextScaled = true
  385. modet.TextTransparency = 0
  386. modet.BackgroundTransparency = 1
  387. modet.TextTransparency = 0
  388. modet.TextStrokeTransparency = 0
  389. modet.Font = "Code"
  390. modet.TextStrokeColor3 = Color3.new(0,0,0)
  391. modet.TextColor3 = Color3.new(1,1,1)
  392. modet.Text = "Enlightened"
  393.  
  394.  
  395. function chatfunc(text,color,typet,font,timeex)
  396. local chat = coroutine.wrap(function()
  397. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  398. Character:FindFirstChild("TalkingBillBoard"):destroy()
  399. end
  400. local naeeym2 = Instance.new("BillboardGui",Character)
  401. naeeym2.Size = UDim2.new(0,100,0,40)
  402. naeeym2.StudsOffset = Vector3.new(0,3,0)
  403. naeeym2.Adornee = Character.Head
  404. naeeym2.Name = "TalkingBillBoard"
  405. local tecks2 = Instance.new("TextLabel",naeeym2)
  406. tecks2.BackgroundTransparency = 1
  407. tecks2.BorderSizePixel = 0
  408. tecks2.Text = ""
  409. tecks2.Font = font
  410. tecks2.TextSize = 30
  411. tecks2.TextStrokeTransparency = 0
  412. tecks2.TextColor3 = color
  413. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  414. tecks2.Size = UDim2.new(1,0,0.5,0)
  415. local tecks3 = Instance.new("TextLabel",naeeym2)
  416. tecks3.BackgroundTransparency = 1
  417. tecks3.BorderSizePixel = 0
  418. tecks3.Text = ""
  419. tecks3.Font = font
  420. tecks3.TextSize = 30
  421. tecks3.TextStrokeTransparency = 0
  422. if typet == "Inverted" then
  423. tecks3.TextColor3 = Color3.new(0,0,0)
  424. tecks3.TextStrokeColor3 = color
  425. elseif typet == "Normal" then
  426. tecks3.TextColor3 = color
  427. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  428. end
  429. tecks3.Size = UDim2.new(1,0,0.5,0)
  430. coroutine.resume(coroutine.create(function()
  431. while true do
  432. swait(1)
  433. if chaosmode == true then
  434. tecks2.TextColor3 = BrickColor.random().Color
  435. tecks3.TextStrokeColor3 = BrickColor.random().Color
  436. end
  437. end
  438. end))
  439. modet.TextTransparency = modet.TextTransparency + 1
  440. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  441. for i = 0, 74*timeex do
  442. swait()
  443. modet.TextTransparency = 1
  444. modet.TextStrokeTransparency = 1
  445. tecks2.Text = text
  446. tecks3.Text = text
  447. end
  448. local randomrot = math.random(1,2)
  449. if randomrot == 1 then
  450. for i = 1, 50 do
  451. swait()
  452. tecks2.Text = text
  453. tecks3.Text = text
  454. modet.TextTransparency = modet.TextTransparency - .02
  455. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  456. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  457. tecks2.TextTransparency = tecks2.TextTransparency + .04
  458. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  459. tecks3.TextTransparency = tecks2.TextTransparency + .04
  460. end
  461. elseif randomrot == 2 then
  462. for i = 1, 50 do
  463. swait()
  464. tecks2.Text = text
  465. tecks3.Text = text
  466. modet.TextTransparency = modet.TextTransparency - .02
  467. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  468. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  469. tecks2.TextTransparency = tecks2.TextTransparency + .04
  470. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  471. tecks3.TextTransparency = tecks2.TextTransparency + .04
  472. end
  473. end
  474. modet.TextTransparency = 0
  475. modet.TextStrokeTransparency = 0
  476. if toggleTag == false then
  477. modet.TextTransparency = 1
  478. modet.TextStrokeTransparency = 1
  479. end
  480. naeeym2:Destroy()
  481. end)
  482. chat()
  483. end
  484.  
  485.  
  486. local Create = LoadLibrary("RbxUtility").Create
  487.  
  488. CFuncs = {
  489. ["Part"] = {
  490. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  491. local Part = Create("Part"){
  492. Parent = Parent,
  493. Reflectance = Reflectance,
  494. Transparency = Transparency,
  495. CanCollide = false,
  496. Locked = true,
  497. BrickColor = BrickColor.new(tostring(BColor)),
  498. Name = Name,
  499. Size = Size,
  500. Material = Material,
  501. }
  502. RemoveOutlines(Part)
  503. return Part
  504. end;
  505. };
  506.  
  507. ["Mesh"] = {
  508. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  509. local Msh = Create(Mesh){
  510. Parent = Part,
  511. Offset = OffSet,
  512. Scale = Scale,
  513. }
  514. if Mesh == "SpecialMesh" then
  515. Msh.MeshType = MeshType
  516. Msh.MeshId = MeshId
  517. end
  518. return Msh
  519. end;
  520. };
  521.  
  522. ["Mesh"] = {
  523. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  524. local Msh = Create(Mesh){
  525. Parent = Part,
  526. Offset = OffSet,
  527. Scale = Scale,
  528. }
  529. if Mesh == "SpecialMesh" then
  530. Msh.MeshType = MeshType
  531. Msh.MeshId = MeshId
  532. end
  533. return Msh
  534. end;
  535. };
  536.  
  537. ["Weld"] = {
  538. Create = function(Parent, Part0, Part1, C0, C1)
  539. local Weld = Create("Weld"){
  540. Parent = Parent,
  541. Part0 = Part0,
  542. Part1 = Part1,
  543. C0 = C0,
  544. C1 = C1,
  545. }
  546. return Weld
  547. end;
  548. };
  549.  
  550. ["Sound"] = {
  551. Create = function(id, par, vol, pit)
  552. coroutine.resume(coroutine.create(function()
  553. local S = Create("Sound"){
  554. Volume = vol,
  555. Name = "EffectSoundo",
  556. Pitch = pit or 1,
  557. SoundId = id,
  558. Parent = par or workspace,
  559. }
  560. wait()
  561. S:play()
  562. game:GetService("Debris"):AddItem(S, 10)
  563. end))
  564. end;
  565. };
  566.  
  567. ["LongSound"] = {
  568. Create = function(id, par, vol, pit)
  569. coroutine.resume(coroutine.create(function()
  570. local S = Create("Sound"){
  571. Volume = vol,
  572. Pitch = pit or 1,
  573. SoundId = id,
  574. Parent = par or workspace,
  575. }
  576. wait()
  577. S:play()
  578. game:GetService("Debris"):AddItem(S, 60)
  579. end))
  580. end;
  581. };
  582.  
  583. ["ParticleEmitter"] = {
  584. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  585. local fp = Create("ParticleEmitter"){
  586. Parent = Parent,
  587. Color = ColorSequence.new(Color1, Color2),
  588. LightEmission = LightEmission,
  589. Size = Size,
  590. Texture = Texture,
  591. Transparency = Transparency,
  592. ZOffset = ZOffset,
  593. Acceleration = Accel,
  594. Drag = Drag,
  595. LockedToPart = LockedToPart,
  596. VelocityInheritance = VelocityInheritance,
  597. EmissionDirection = EmissionDirection,
  598. Enabled = Enabled,
  599. Lifetime = LifeTime,
  600. Rate = Rate,
  601. Rotation = Rotation,
  602. RotSpeed = RotSpeed,
  603. Speed = Speed,
  604. VelocitySpread = VelocitySpread,
  605. }
  606. return fp
  607. end;
  608. };
  609.  
  610. CreateTemplate = {
  611.  
  612. };
  613. }
  614.  
  615.  
  616.  
  617. New = function(Object, Parent, Name, Data)
  618. local Object = Instance.new(Object)
  619. for Index, Value in pairs(Data or {}) do
  620. Object[Index] = Value
  621. end
  622. Object.Parent = Parent
  623. Object.Name = Name
  624. return Object
  625. end
  626. local halocolor = BrickColor.new("Pastel light blue")
  627. local halocolor2 = BrickColor.new("Cool yellow")
  628. local starcolor = BrickColor.new("Bright yellow")
  629. local lunacolor = BrickColor.new("Navy blue")
  630. local lunacolor2 = BrickColor.new("Bright blue")
  631. local wepcolor = BrickColor.new("Really black")
  632. local maincolor = BrickColor.new("Really black")
  633. local m = Instance.new("Model",char)
  634. local m2 = Instance.new("Model",char)
  635. local m3 = Instance.new("Model",char)
  636. local mw1 = Instance.new("Model",char)
  637. local mw2 = Instance.new("Model",char)
  638.  
  639.  
  640. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  641. local gui = it(GuiType)
  642. gui.Parent = parent
  643. gui.Text = text
  644. gui.BackgroundTransparency = backtrans
  645. gui.BackgroundColor3 = backcol
  646. gui.SizeConstraint = "RelativeXY"
  647. gui.TextXAlignment = "Center"
  648. gui.TextYAlignment = "Center"
  649. gui.Position = pos
  650. gui.Size = size
  651. gui.Font = "SourceSans"
  652. gui.FontSize = "Size14"
  653. gui.TextWrapped = false
  654. gui.TextStrokeTransparency = 0
  655. gui.TextColor = BrickColor.new("White")
  656. return gui
  657. end
  658. ---- GUI set
  659. local basgui = it("GuiMain")
  660. basgui.Parent = plr.PlayerGui
  661. basgui.Name = "Killcounter GUI"
  662. local basframe = it("Frame")
  663. basframe.Parent = basgui
  664. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  665. basframe.BackgroundTransparency = 1
  666. basframe.BorderColor3 = Color3.new(17, 17, 17)
  667. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  668. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  669. local uhh = gui("TextLabel", basframe, "Basic", 0.5, BrickColor.new("Really black").Color, UDim2.new(-0.5, 0, 0.45, 0), UDim2.new(1.5, 0, 0.55, 0))
  670. uhh.ZIndex = 2
  671. uhh.Font = "Bodoni"
  672. uhh.TextStrokeColor3 = Color3.new(0.05,0.05,0.05)
  673. uhh.TextColor3 = Color3.new(1,1,1)
  674. uhh.BackgroundTransparency = 0.25
  675. uhh.BorderSizePixel = 2
  676. uhh.BorderColor3 = Color3.new(0,0,0)
  677. uhh.TextScaled = true
  678. uhh.TextXAlignment = "Left"
  679. uhh.Text = "SWITCH MODE: 1-9"
  680. uhh.TextSize = 64
  681. local modeteller = gui("TextLabel", basframe, "Basic", 0.5, BrickColor.new("Really black").Color, UDim2.new(-0, 0, -0.01, 0), UDim2.new(1, 0, 0.45, 0))
  682. modeteller.ZIndex = 2
  683. modeteller.Font = "Bodoni"
  684. modeteller.TextStrokeColor3 = Color3.new(0.05,0.05,0.05)
  685. modeteller.TextColor3 = Color3.new(1,1,1)
  686. modeteller.BackgroundTransparency = 0.25
  687. modeteller.BorderSizePixel = 2
  688. modeteller.BorderColor3 = Color3.new(0,0,0)
  689. modeteller.TextScaled = true
  690. modeteller.TextXAlignment = "Right"
  691. modeteller.Text = "MAYHEM"
  692. modeteller.TextSize = 64
  693.  
  694. local extrawingmod1 = Instance.new("Model",char)
  695. local extrawingmod2 = Instance.new("Model",char)
  696.  
  697. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  698. local p = Instance.new("Part")
  699. p.TopSurface = 0
  700. p.BottomSurface = 0
  701. p.Parent = parent
  702. p.Size = Vector3.new(0.1,0.1,0.1)
  703. p.Transparency = transparency
  704. p.Reflectance = reflectance
  705. p.CanCollide = false
  706. p.Locked = true
  707. p.BrickColor = brickcolor
  708. p.Material = material
  709. return p
  710. end
  711.  
  712. function CreateMesh(parent,meshtype,x1,y1,z1)
  713. local mesh = Instance.new("SpecialMesh",parent)
  714. mesh.MeshType = meshtype
  715. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  716. return mesh
  717. end
  718.  
  719. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  720. local mesh = Instance.new("SpecialMesh",parent)
  721. mesh.MeshType = "FileMesh"
  722. mesh.MeshId = meshid
  723. mesh.Scale = Vector3.new(x1,y1,z1)
  724. return mesh
  725. end
  726.  
  727.  
  728. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  729. local mesh = Instance.new("SpecialMesh",parent)
  730. mesh.MeshType = "FileMesh"
  731. mesh.MeshId = meshid
  732. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  733. mesh.Scale = Vector3.new(x1,y1,z1)
  734. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  735. return mesh
  736. end
  737.  
  738. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  739. local weld = Instance.new("Weld")
  740. weld.Parent = parent
  741. weld.Part0 = part0
  742. weld.Part1 = part1
  743. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  744. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  745. return weld
  746. end
  747.  
  748.  
  749. --------------
  750. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  751. 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))
  752. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  753. 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))
  754.  
  755. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  756. CreateMesh(handle,"Brick",0,0,0)
  757. 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))
  758. local valuaring = 10
  759.  
  760. local refec = Instance.new("ParticleEmitter",handlex)
  761. refec.Texture = "rbxassetid://284205403"
  762. refec.LightEmission = 0.95
  763. refec.Color = ColorSequence.new(BrickColor.new("White").Color)
  764. refec.Rate = 50
  765. refec.Lifetime = NumberRange.new(0.5)
  766. refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  767. refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  768. refec.Speed = NumberRange.new(0,2)
  769. refec.Drag = 5
  770. refec.LockedToPart = true
  771. refec.Rotation = NumberRange.new(-500,500)
  772. refec.VelocitySpread = 9000
  773. refec.RotSpeed = NumberRange.new(-500,500)
  774. local refec2 = refec:Clone()
  775. refec2.LightEmission = 0.75
  776. refec2.Texture = "rbxassetid://254287058"
  777. refec2.Parent = handlex
  778. refec2.Rate = 25
  779. refec2.Lifetime = NumberRange.new(0.75)
  780. refec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(0.15,1,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  781. refec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
  782. refec2.Speed = NumberRange.new(0)
  783. local refec3 = refec:Clone()
  784. refec3.LightEmission = 0.75
  785. refec3.Texture = "rbxassetid://363275192"
  786. refec3.Parent = handlex
  787. refec3.Rate = 25
  788. refec3.Lifetime = NumberRange.new(1)
  789. refec3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0.1,0)})
  790. refec3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
  791. refec3.Speed = NumberRange.new(0)
  792. refec3.RotSpeed = NumberRange.new(-50,50)
  793.  
  794. for i = 0, 35 do
  795. valuaring = valuaring + 10
  796. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  797. CreateMesh(rn,"Wedge",0.1,0.5,0.1)
  798. CreateWeld(rn,handlex,rn,0,0.75,0,math.rad(0),math.rad(-90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  799. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  800. CreateMesh(rn,"Wedge",0.1,0.5,0.1)
  801. CreateWeld(rn,handlex,rn,0,0.75,0,math.rad(0),math.rad(90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  802. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  803. CreateMesh(rn,"Wedge",0.1,0.2,0.05)
  804. CreateWeld(rn,handlex,rn,0,-1.1,0.025,math.rad(0),math.rad(-90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  805. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  806. CreateMesh(rn,"Wedge",0.1,0.2,0.05)
  807. CreateWeld(rn,handlex,rn,0,-1.1,0.025,math.rad(0),math.rad(90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  808. end
  809.  
  810.  
  811. local handle = CreateParta(m,1,1,"Neon",maincolor)
  812. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  813. 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))
  814.  
  815. --- Left wing.
  816.  
  817. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  818. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  819. local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  820.  
  821. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  822. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  823. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  824. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  825. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  826. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  827. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  828. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  829. CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  830. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  831. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  832. CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  833. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  834. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  835. CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  836. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  837. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  838. CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  839. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  840. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  841. CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  842. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  843. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  844. CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  845. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  846. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  847. CreateWeld(wed,lwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  848. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  849. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  850. CreateWeld(wed,lwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  851.  
  852.  
  853. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  854. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  855. local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  856.  
  857. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  858. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  859. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  860. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  861. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  862. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  863. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  864. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  865. CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  866. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  867. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  868. CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  869. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  870. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  871. CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  872. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  873. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  874. CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  875. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  876. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  877. CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  878. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  879. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  880. CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  881. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  882. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  883. CreateWeld(wed,lwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  884. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  885. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  886. CreateWeld(wed,lwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  887.  
  888. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  889. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  890. local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  891.  
  892. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  893. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  894. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  895. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  896. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  897. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  898. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  899. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  900. CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  901. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  902. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  903. CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  904. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  905. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  906. CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  907. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  908. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  909. CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  910. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  911. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  912. CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  913. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  914. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  915. CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  916. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  917. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  918. CreateWeld(wed,lwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  919. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  920. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  921. CreateWeld(wed,lwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  922.  
  923. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  924. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  925. 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))
  926.  
  927. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  928. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  929. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  930. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  931. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  932. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  933. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  934. CreateMesh(wed,"Wedge",0.05,0.5,3)
  935. CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  936. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  937. CreateMesh(wed,"Wedge",0.05,3,0.5)
  938. CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  939.  
  940. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  941. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  942. 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))
  943.  
  944. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  945. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  946. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  947. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  948. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  949. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  950. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  951. CreateMesh(wed,"Wedge",0.05,0.5,3)
  952. CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  953. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  954. CreateMesh(wed,"Wedge",0.05,3,0.5)
  955. CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  956.  
  957. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  958. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  959. 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))
  960.  
  961. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  962. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  963. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  964. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  965. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  966. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  967. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  968. CreateMesh(wed,"Wedge",0.05,0.5,3)
  969. CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  970. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  971. CreateMesh(wed,"Wedge",0.05,3,0.5)
  972. CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  973.  
  974. -- Right wing.
  975.  
  976. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  977. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  978. local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  979.  
  980. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  981. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  982. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  983. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  984. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  985. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  986. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  987. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  988. CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  989. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  990. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  991. CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  992. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  993. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  994. CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  995. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  996. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  997. CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  998. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  999. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1000. CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1001. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1002. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1003. CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1004. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1005. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1006. CreateWeld(wed,rwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1007. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1008. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1009. CreateWeld(wed,rwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1010.  
  1011. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1012. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1013. local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1014.  
  1015. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1016. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1017. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1018. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1019. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1020. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1021. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1022. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1023. CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1024. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1025. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1026. CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1027. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1028. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1029. CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1030. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1031. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1032. CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1033. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1034. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1035. CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1036. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1037. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1038. CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1039. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1040. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1041. CreateWeld(wed,rwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1042. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1043. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1044. CreateWeld(wed,rwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1045.  
  1046. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1047. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1048. local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1049.  
  1050.  
  1051. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1052. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1053. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1054. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1055. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1056. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1057. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1058. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1059. CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1060. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1061. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1062. CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1063. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1064. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1065. CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1066. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1067. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1068. CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1069. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1070. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1071. CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1072. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1073. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1074. CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1075. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1076. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1077. CreateWeld(wed,rwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1078. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1079. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1080. CreateWeld(wed,rwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1081.  
  1082.  
  1083. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1084. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1085. 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))
  1086.  
  1087. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1088. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1089. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1090. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1091. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1092. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1093. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1094. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1095. CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1096. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1097. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1098. CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1099.  
  1100. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1101. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1102. 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))
  1103.  
  1104. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1105. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1106. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1107. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1108. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1109. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1110. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1111. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1112. CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1113. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1114. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1115. CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1116.  
  1117. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1118. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1119. 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))
  1120.  
  1121. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1122. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1123. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1124. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1125. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1126. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1127. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1128. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1129. CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1130. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1131. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1132. CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1133.  
  1134.  
  1135. ---- HERES THE RING
  1136.  
  1137.  
  1138. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1139. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1140. 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))
  1141. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1142. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1143. 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))
  1144. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1145. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1146. 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))
  1147.  
  1148.  
  1149. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1150. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1151. 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))
  1152.  
  1153. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1154. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1155. 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))
  1156.  
  1157.  
  1158.  
  1159. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1160. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1161. 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))
  1162.  
  1163. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1164. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1165. 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))
  1166.  
  1167. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1168. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1169. 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))
  1170.  
  1171. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1172. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1173. 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))
  1174. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1175. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1176. 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))
  1177.  
  1178. --- second ring
  1179.  
  1180. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1181. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1182. 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))
  1183. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1184. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1185. 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))
  1186. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1187. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1188. 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))
  1189.  
  1190. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1191. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1192. 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))
  1193.  
  1194. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1195. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1196. 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))
  1197.  
  1198.  
  1199.  
  1200. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1201. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1202. 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))
  1203.  
  1204. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1205. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1206. 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))
  1207.  
  1208. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1209. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1210. 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))
  1211.  
  1212. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1213. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1214. 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))
  1215. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1216. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1217. 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))]]--
  1218.  
  1219. ------------- Trails
  1220. local A0 = Instance.new("Attachment",lwing1)
  1221. A0.Position = Vector3.new(0,-0.7,0)
  1222. local A1 = Instance.new("Attachment",lwing1)
  1223. A1.Position = Vector3.new(0,-3.5,0)
  1224. tl1 = Instance.new('Trail',lwing1)
  1225. tl1.Attachment0 = A0
  1226. tl1.Attachment1 = A1
  1227. tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1228. tl1.LightEmission = 1
  1229. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1230. tl1.Color = ColorSequence.new(BrickColor.new('White').Color)
  1231. tl1.Lifetime = 0.6
  1232.  
  1233. local A0 = Instance.new("Attachment",lwing2)
  1234. A0.Position = Vector3.new(0,-0.7,0)
  1235. local A1 = Instance.new("Attachment",lwing2)
  1236. A1.Position = Vector3.new(0,-3.5,0)
  1237. tl2 = Instance.new('Trail',lwing2)
  1238. tl2.Attachment0 = A0
  1239. tl2.Attachment1 = A1
  1240. tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1241. tl2.LightEmission = 1
  1242. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1243. tl2.Color = ColorSequence.new(BrickColor.new('White').Color)
  1244. tl2.Lifetime = 0.6
  1245.  
  1246. local A0 = Instance.new("Attachment",lwing3)
  1247. A0.Position = Vector3.new(0,-0.7,0)
  1248. local A1 = Instance.new("Attachment",lwing3)
  1249. A1.Position = Vector3.new(0,-3.5,0)
  1250. tl3 = Instance.new('Trail',lwing3)
  1251. tl3.Attachment0 = A0
  1252. tl3.Attachment1 = A1
  1253. tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1254. tl3.LightEmission = 1
  1255. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1256. tl3.Color = ColorSequence.new(BrickColor.new('White').Color)
  1257. tl3.Lifetime = 0.6
  1258.  
  1259. local A0 = Instance.new("Attachment",rwing1)
  1260. A0.Position = Vector3.new(0,-0.7,0)
  1261. local A1 = Instance.new("Attachment",rwing1)
  1262. A1.Position = Vector3.new(0,-3.5,0)
  1263. tr1 = Instance.new('Trail',rwing1)
  1264. tr1.Attachment0 = A0
  1265. tr1.Attachment1 = A1
  1266. tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1267. tr1.LightEmission = 1
  1268. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1269. tr1.Color = ColorSequence.new(BrickColor.new('White').Color)
  1270. tr1.Lifetime = 0.6
  1271.  
  1272. local A0 = Instance.new("Attachment",rwing2)
  1273. A0.Position = Vector3.new(0,-0.7,0)
  1274. local A1 = Instance.new("Attachment",rwing2)
  1275. A1.Position = Vector3.new(0,-3.5,0)
  1276. tr2 = Instance.new('Trail',rwing2)
  1277. tr2.Attachment0 = A0
  1278. tr2.Attachment1 = A1
  1279. tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1280. tr2.LightEmission = 1
  1281. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1282. tr2.Color = ColorSequence.new(BrickColor.new('White').Color)
  1283. tr2.Lifetime = 0.6
  1284.  
  1285. local A0 = Instance.new("Attachment",rwing3)
  1286. A0.Position = Vector3.new(0,-0.7,0)
  1287. local A1 = Instance.new("Attachment",rwing3)
  1288. A1.Position = Vector3.new(0,-3.5,0)
  1289. tr3 = Instance.new('Trail',rwing3)
  1290. tr3.Attachment0 = A0
  1291. tr3.Attachment1 = A1
  1292. tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1293. tr3.LightEmission = 1
  1294. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1295. tr3.Color = ColorSequence.new(BrickColor.new('White').Color)
  1296. tr3.Lifetime = 0.6
  1297. --------------
  1298.  
  1299. for i, v in pairs(mw2:GetChildren()) do
  1300. if v:IsA("Part") then
  1301. v.BrickColor = BrickColor.new("White")
  1302. v.Material = "Neon"
  1303. end
  1304. end
  1305. for i, v in pairs(mw1:GetChildren()) do
  1306. if v:IsA("Part") then
  1307. v.Transparency = 0
  1308. v.BrickColor = BrickColor.new("White")
  1309. v.Material = "Neon"
  1310. end
  1311. end
  1312. for i, v in pairs(extrawingmod1:GetChildren()) do
  1313. if v:IsA("Part") then
  1314. v.Transparency = 1
  1315. v.BrickColor = BrickColor.new("White")
  1316. v.Material = "Neon"
  1317. end
  1318. end
  1319. for i, v in pairs(extrawingmod2:GetChildren()) do
  1320. if v:IsA("Part") then
  1321. v.Transparency = 1
  1322. v.BrickColor = BrickColor.new("White")
  1323. v.Material = "Neon"
  1324. end
  1325. end
  1326. local MAINRUINCOLOR = BrickColor.new("White")
  1327. ------
  1328.  
  1329.  
  1330. function RemoveOutlines(part)
  1331. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1332. end
  1333. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1334. local Part = Create("Part")({
  1335. Parent = Parent,
  1336. Reflectance = Reflectance,
  1337. Transparency = Transparency,
  1338. CanCollide = false,
  1339. Locked = true,
  1340. BrickColor = BrickColor.new(tostring(BColor)),
  1341. Name = Name,
  1342. Size = Size,
  1343. Material = Material
  1344. })
  1345. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1346. RemoveOutlines(Part)
  1347. return Part
  1348. end
  1349. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1350. local Msh = Create(Mesh)({
  1351. Parent = Part,
  1352. Offset = OffSet,
  1353. Scale = Scale
  1354. })
  1355. if Mesh == "SpecialMesh" then
  1356. Msh.MeshType = MeshType
  1357. Msh.MeshId = MeshId
  1358. end
  1359. return Msh
  1360. end
  1361. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1362. local Weld = Create("Weld")({
  1363. Parent = Parent,
  1364. Part0 = Part0,
  1365. Part1 = Part1,
  1366. C0 = C0,
  1367. C1 = C1
  1368. })
  1369. return Weld
  1370. end
  1371.  
  1372. Player=game:GetService("Players").LocalPlayer
  1373. Character=Player.Character
  1374. PlayerGui=Player.PlayerGui
  1375. Backpack=Player.Backpack
  1376. Torso=Character.Torso
  1377. Head=Character.Head
  1378. Humanoid=Character.Humanoid
  1379. m=Instance.new('Model',Character)
  1380. LeftArm=Character["Left Arm"]
  1381. LeftLeg=Character["Left Leg"]
  1382. RightArm=Character["Right Arm"]
  1383. RightLeg=Character["Right Leg"]
  1384. LS=Torso["Left Shoulder"]
  1385. LH=Torso["Left Hip"]
  1386. RS=Torso["Right Shoulder"]
  1387. RH=Torso["Right Hip"]
  1388. Face = Head.face
  1389. Neck=Torso.Neck
  1390. it=Instance.new
  1391. attacktype=1
  1392. vt=Vector3.new
  1393. cf=CFrame.new
  1394. euler=CFrame.fromEulerAnglesXYZ
  1395. angles=CFrame.Angles
  1396. cloaked=false
  1397. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1398. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1399. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1400. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1401. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1402. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1403. RootPart=Character.HumanoidRootPart
  1404. RootJoint=RootPart.RootJoint
  1405. RootCF=euler(-1.57,0,3.14)
  1406. attack = false
  1407. attackdebounce = false
  1408. deb=false
  1409. equipped=true
  1410. hand=false
  1411. MMouse=nil
  1412. combo=0
  1413. mana=0
  1414. trispeed=.2
  1415. attackmode='none'
  1416. local idle=0
  1417. local Anim="Idle"
  1418. local Effects={}
  1419. local gun=false
  1420. local shoot=false
  1421. local sine = 0
  1422. local change = 1
  1423. player=nil
  1424.  
  1425. function RecolorTextAndRename(name,col1,col2,font)
  1426. modet.TextStrokeColor3 = col2
  1427. modet.TextColor3 = col1
  1428. modet.Font = font
  1429. modet.Text = name
  1430. end
  1431. mouse=Player:GetMouse()
  1432. --save shoulders
  1433. RSH, LSH=nil, nil
  1434. --welds
  1435. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1436. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1437. LH=Torso["Left Hip"]
  1438. RH=Torso["Right Hip"]
  1439. TorsoColor=Torso.BrickColor
  1440. function NoOutline(Part)
  1441. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1442. end
  1443. player=Player
  1444. ch=Character
  1445. RSH=ch.Torso["Right Shoulder"]
  1446. LSH=ch.Torso["Left Shoulder"]
  1447. --
  1448. RSH.Parent=nil
  1449. LSH.Parent=nil
  1450. --
  1451. RW.Name="Right Shoulder"
  1452. RW.Part0=ch.Torso
  1453. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1454. RW.C1=cf(0, 0.5, 0)
  1455. RW.Part1=ch["Right Arm"]
  1456. RW.Parent=ch.Torso
  1457. --
  1458. LW.Name="Left Shoulder"
  1459. LW.Part0=ch.Torso
  1460. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1461. LW.C1=cf(0, 0.5, 0)
  1462. LW.Part1=ch["Left Arm"]
  1463. LW.Parent=ch.Torso
  1464.  
  1465. local Stats=Instance.new("BoolValue")
  1466. Stats.Name="Stats"
  1467. Stats.Parent=Character
  1468. local Atk=Instance.new("NumberValue")
  1469. Atk.Name="Damage"
  1470. Atk.Parent=Stats
  1471. Atk.Value=1
  1472. local Def=Instance.new("NumberValue")
  1473. Def.Name="Defense"
  1474. Def.Parent=Stats
  1475. Def.Value=1
  1476. local Speed=Instance.new("NumberValue")
  1477. Speed.Name="Speed"
  1478. Speed.Parent=Stats
  1479. Speed.Value=1
  1480. local Mvmt=Instance.new("NumberValue")
  1481. Mvmt.Name="Movement"
  1482. Mvmt.Parent=Stats
  1483. Mvmt.Value=1
  1484.  
  1485. local donum=0
  1486.  
  1487.  
  1488. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1489. local fp=it("Part")
  1490. fp.formFactor=formfactor
  1491. fp.Parent=parent
  1492. fp.Reflectance=reflectance
  1493. fp.Transparency=transparency
  1494. fp.CanCollide=false
  1495. fp.Locked=true
  1496. fp.BrickColor=brickcolor
  1497. fp.Name=name
  1498. fp.Size=size
  1499. fp.Position=Torso.Position
  1500. NoOutline(fp)
  1501. fp.Material="SmoothPlastic"
  1502. fp:BreakJoints()
  1503. return fp
  1504. end
  1505.  
  1506. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1507. local mesh=it(Mesh)
  1508. mesh.Parent=part
  1509. if Mesh=="SpecialMesh" then
  1510. mesh.MeshType=meshtype
  1511. if meshid~="nil" then
  1512. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1513. end
  1514. end
  1515. mesh.Offset=offset
  1516. mesh.Scale=scale
  1517. return mesh
  1518. end
  1519.  
  1520. function weld(parent,part0,part1,c0)
  1521. local weld=it("Weld")
  1522. weld.Parent=parent
  1523. weld.Part0=part0
  1524. weld.Part1=part1
  1525. weld.C0=c0
  1526. return weld
  1527. end
  1528.  
  1529. local Color1=Torso.BrickColor
  1530.  
  1531. local bodvel=Instance.new("BodyVelocity")
  1532. local bg=Instance.new("BodyGyro")
  1533.  
  1534. function swait(num)
  1535. if num==0 or num==nil then
  1536. game:service'RunService'.Stepped:wait(0)
  1537. else
  1538. for i=0,num do
  1539. game:service'RunService'.Stepped:wait(0)
  1540. end
  1541. end
  1542. end
  1543.  
  1544. -------- RAINBOW LEAVE IT TO ME
  1545. local r = 255
  1546. local g = 0
  1547. local b = 0
  1548. coroutine.resume(coroutine.create(function()
  1549. while wait() do
  1550. for i = 0, 254/5 do
  1551. swait()
  1552. g = g + 5
  1553. end
  1554. for i = 0, 254/5 do
  1555. swait()
  1556. r = r - 5
  1557. end
  1558. for i = 0, 254/5 do
  1559. swait()
  1560. b = b + 5
  1561. end
  1562. for i = 0, 254/5 do
  1563. swait()
  1564. g = g - 5
  1565. end
  1566. for i = 0, 254/5 do
  1567. swait()
  1568. r = r + 5
  1569. end
  1570. for i = 0, 254/5 do
  1571. swait()
  1572. b = b - 5
  1573. end
  1574. end
  1575. end))
  1576.  
  1577.  
  1578. so = function(id,par,vol,pit)
  1579. coroutine.resume(coroutine.create(function()
  1580. local sou = Instance.new("Sound",par or workspace)
  1581. sou.Volume=vol
  1582. sou.Pitch=pit or 1
  1583. sou.SoundId=id
  1584. swait()
  1585. sou:play()
  1586. game:GetService("Debris"):AddItem(sou,6)
  1587. end))
  1588. end
  1589.  
  1590. function clerp(a,b,t)
  1591. local qa = {QuaternionFromCFrame(a)}
  1592. local qb = {QuaternionFromCFrame(b)}
  1593. local ax, ay, az = a.x, a.y, a.z
  1594. local bx, by, bz = b.x, b.y, b.z
  1595. local _t = 1-t
  1596. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1597. end
  1598.  
  1599. function QuaternionFromCFrame(cf)
  1600. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1601. local trace = m00 + m11 + m22
  1602. if trace > 0 then
  1603. local s = math.sqrt(1 + trace)
  1604. local recip = 0.5/s
  1605. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1606. else
  1607. local i = 0
  1608. if m11 > m00 then
  1609. i = 1
  1610. end
  1611. if m22 > (i == 0 and m00 or m11) then
  1612. i = 2
  1613. end
  1614. if i == 0 then
  1615. local s = math.sqrt(m00-m11-m22+1)
  1616. local recip = 0.5/s
  1617. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1618. elseif i == 1 then
  1619. local s = math.sqrt(m11-m22-m00+1)
  1620. local recip = 0.5/s
  1621. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1622. elseif i == 2 then
  1623. local s = math.sqrt(m22-m00-m11+1)
  1624. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1625. end
  1626. end
  1627. end
  1628.  
  1629. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1630. local xs, ys, zs = x + x, y + y, z + z
  1631. local wx, wy, wz = w*xs, w*ys, w*zs
  1632. local xx = x*xs
  1633. local xy = x*ys
  1634. local xz = x*zs
  1635. local yy = y*ys
  1636. local yz = y*zs
  1637. local zz = z*zs
  1638. 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))
  1639. end
  1640.  
  1641. function QuaternionSlerp(a, b, t)
  1642. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1643. local startInterp, finishInterp;
  1644. if cosTheta >= 0.0001 then
  1645. if (1 - cosTheta) > 0.0001 then
  1646. local theta = math.acos(cosTheta)
  1647. local invSinTheta = 1/math.sin(theta)
  1648. startInterp = math.sin((1-t)*theta)*invSinTheta
  1649. finishInterp = math.sin(t*theta)*invSinTheta
  1650. else
  1651. startInterp = 1-t
  1652. finishInterp = t
  1653. end
  1654. else
  1655. if (1+cosTheta) > 0.0001 then
  1656. local theta = math.acos(-cosTheta)
  1657. local invSinTheta = 1/math.sin(theta)
  1658. startInterp = math.sin((t-1)*theta)*invSinTheta
  1659. finishInterp = math.sin(t*theta)*invSinTheta
  1660. else
  1661. startInterp = t-1
  1662. finishInterp = t
  1663. end
  1664. end
  1665. 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
  1666. end
  1667.  
  1668. local function CFrameFromTopBack(at, top, back)
  1669. local right = top:Cross(back)
  1670. return CFrame.new(at.x, at.y, at.z,
  1671. right.x, top.x, back.x,
  1672. right.y, top.y, back.y,
  1673. right.z, top.z, back.z)
  1674. end
  1675.  
  1676. function Triangle(a, b, c)
  1677. local edg1 = (c-a):Dot((b-a).unit)
  1678. local edg2 = (a-b):Dot((c-b).unit)
  1679. local edg3 = (b-c):Dot((a-c).unit)
  1680. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1681. a, b, c = a, b, c
  1682. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1683. a, b, c = b, c, a
  1684. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1685. a, b, c = c, a, b
  1686. else
  1687. assert(false, "unreachable")
  1688. end
  1689.  
  1690. local len1 = (c-a):Dot((b-a).unit)
  1691. local len2 = (b-a).magnitude - len1
  1692. local width = (a + (b-a).unit*len1 - c).magnitude
  1693.  
  1694. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1695.  
  1696. local list = {}
  1697.  
  1698. if len1 > 0.01 then
  1699. local w1 = Instance.new('WedgePart', m)
  1700. game:GetService("Debris"):AddItem(w1,5)
  1701. w1.Material = "SmoothPlastic"
  1702. w1.FormFactor = 'Custom'
  1703. w1.BrickColor = BrickColor.new("Really red")
  1704. w1.Transparency = 0
  1705. w1.Reflectance = 0
  1706. w1.Material = "SmoothPlastic"
  1707. w1.CanCollide = false
  1708. local l1 = Instance.new("PointLight",w1)
  1709. l1.Color = Color3.new(170,0,0)
  1710. NoOutline(w1)
  1711. local sz = Vector3.new(0.2, width, len1)
  1712. w1.Size = sz
  1713. local sp = Instance.new("SpecialMesh",w1)
  1714. sp.MeshType = "Wedge"
  1715. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1716. w1:BreakJoints()
  1717. w1.Anchored = true
  1718. w1.Parent = workspace
  1719. w1.Transparency = 0.7
  1720. table.insert(Effects,{w1,"Disappear",.01})
  1721. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1722. table.insert(list,w1)
  1723. end
  1724.  
  1725. if len2 > 0.01 then
  1726. local w2 = Instance.new('WedgePart', m)
  1727. game:GetService("Debris"):AddItem(w2,5)
  1728. w2.Material = "SmoothPlastic"
  1729. w2.FormFactor = 'Custom'
  1730. w2.BrickColor = BrickColor.new("Really red")
  1731. w2.Transparency = 0
  1732. w2.Reflectance = 0
  1733. w2.Material = "SmoothPlastic"
  1734. w2.CanCollide = false
  1735. local l2 = Instance.new("PointLight",w2)
  1736. l2.Color = Color3.new(170,0,0)
  1737. NoOutline(w2)
  1738. local sz = Vector3.new(0.2, width, len2)
  1739. w2.Size = sz
  1740. local sp = Instance.new("SpecialMesh",w2)
  1741. sp.MeshType = "Wedge"
  1742. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1743. w2:BreakJoints()
  1744. w2.Anchored = true
  1745. w2.Parent = workspace
  1746. w2.Transparency = 0.7
  1747. table.insert(Effects,{w2,"Disappear",.01})
  1748. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1749. table.insert(list,w2)
  1750. end
  1751. return unpack(list)
  1752. end
  1753.  
  1754.  
  1755. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1756. if hit.Parent == nil then
  1757. return
  1758. end
  1759. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1760. for _, v in pairs(hit.Parent:children()) do
  1761. if v:IsA("Humanoid") then
  1762. h = v
  1763. end
  1764. end
  1765. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1766. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1767. return
  1768. end
  1769. local c = Create("ObjectValue")({
  1770. Name = "creator",
  1771. Value = game:service("Players").LocalPlayer,
  1772. Parent = h
  1773. })
  1774. game:GetService("Debris"):AddItem(c, 0.5)
  1775. if HitSound ~= nil and HitPitch ~= nil then
  1776. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1777. end
  1778. local Damage = math.random(minim, maxim)
  1779. local blocked = false
  1780. local block = hit.Parent:findFirstChild("Block")
  1781. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1782. blocked = true
  1783. block.Value = block.Value - 1
  1784. print(block.Value)
  1785. end
  1786. if blocked == false then
  1787. HitHealth = h.Health
  1788. h.Health = h.Health - Damage
  1789. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1790. print("gained kill")
  1791. end
  1792. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1793. else
  1794. h.Health = h.Health - Damage / 2
  1795. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1796. end
  1797. if Type == "Knockdown" then
  1798. local hum = hit.Parent.Humanoid
  1799. hum.PlatformStand = true
  1800. coroutine.resume(coroutine.create(function(HHumanoid)
  1801. swait(1)
  1802. HHumanoid.PlatformStand = false
  1803. end), hum)
  1804. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1805. local bodvol = Create("BodyVelocity")({
  1806. velocity = angle * knockback,
  1807. P = 5000,
  1808. maxForce = Vector3.new(8000, 8000, 8000),
  1809. Parent = hit
  1810. })
  1811. local rl = Create("BodyAngularVelocity")({
  1812. P = 3000,
  1813. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1814. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1815. Parent = hit
  1816. })
  1817. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1818. game:GetService("Debris"):AddItem(rl, 0.5)
  1819. elseif Type == "Normal" then
  1820. local vp = Create("BodyVelocity")({
  1821. P = 500,
  1822. maxForce = Vector3.new(math.huge, 0, math.huge),
  1823. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1824. })
  1825. if knockback > 0 then
  1826. vp.Parent = hit.Parent.Head
  1827. end
  1828. game:GetService("Debris"):AddItem(vp, 0.5)
  1829. elseif Type == "Up" then
  1830. local bodyVelocity = Create("BodyVelocity")({
  1831. velocity = Vector3.new(0, 20, 0),
  1832. P = 5000,
  1833. maxForce = Vector3.new(8000, 8000, 8000),
  1834. Parent = hit
  1835. })
  1836. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1837. local bodyVelocity = Create("BodyVelocity")({
  1838. velocity = Vector3.new(0, 20, 0),
  1839. P = 5000,
  1840. maxForce = Vector3.new(8000, 8000, 8000),
  1841. Parent = hit
  1842. })
  1843. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1844. elseif Type == "Leech" then
  1845. local hum = hit.Parent.Humanoid
  1846. if hum ~= nil then
  1847. for i = 0, 2 do
  1848. 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)
  1849. end
  1850. Humanoid.Health = Humanoid.Health + 10
  1851. end
  1852. elseif Type == "UpKnock" then
  1853. local hum = hit.Parent.Humanoid
  1854. hum.PlatformStand = true
  1855. if hum ~= nil then
  1856. hitr = true
  1857. end
  1858. coroutine.resume(coroutine.create(function(HHumanoid)
  1859. swait(5)
  1860. HHumanoid.PlatformStand = false
  1861. hitr = false
  1862. end), hum)
  1863. local bodyVelocity = Create("BodyVelocity")({
  1864. velocity = Vector3.new(0, 20, 0),
  1865. P = 5000,
  1866. maxForce = Vector3.new(8000, 8000, 8000),
  1867. Parent = hit
  1868. })
  1869. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1870. local bodyVelocity = Create("BodyVelocity")({
  1871. velocity = Vector3.new(0, 20, 0),
  1872. P = 5000,
  1873. maxForce = Vector3.new(8000, 8000, 8000),
  1874. Parent = hit
  1875. })
  1876. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1877. elseif Type == "Snare" then
  1878. local bp = Create("BodyPosition")({
  1879. P = 2000,
  1880. D = 100,
  1881. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1882. position = hit.Parent.Torso.Position,
  1883. Parent = hit.Parent.Torso
  1884. })
  1885. game:GetService("Debris"):AddItem(bp, 1)
  1886. elseif Type == "Slashnare" then
  1887. 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)
  1888. for i = 1, math.random(4, 5) do
  1889. 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)
  1890. end
  1891. local bp = Create("BodyPosition")({
  1892. P = 2000,
  1893. D = 100,
  1894. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1895. position = hit.Parent.Torso.Position,
  1896. Parent = hit.Parent.Torso
  1897. })
  1898. game:GetService("Debris"):AddItem(bp, 1)
  1899. elseif Type == "Spike" then
  1900. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1901. local bp = Create("BodyPosition")({
  1902. P = 2000,
  1903. D = 100,
  1904. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1905. position = hit.Parent.Torso.Position,
  1906. Parent = hit.Parent.Torso
  1907. })
  1908. game:GetService("Debris"):AddItem(bp, 1)
  1909. elseif Type == "Freeze" then
  1910. local BodPos = Create("BodyPosition")({
  1911. P = 50000,
  1912. D = 1000,
  1913. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1914. position = hit.Parent.Torso.Position,
  1915. Parent = hit.Parent.Torso
  1916. })
  1917. local BodGy = Create("BodyGyro")({
  1918. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1919. P = 20000,
  1920. Parent = hit.Parent.Torso,
  1921. cframe = hit.Parent.Torso.CFrame
  1922. })
  1923. hit.Parent.Torso.Anchored = true
  1924. coroutine.resume(coroutine.create(function(Part)
  1925. swait(1.5)
  1926. Part.Anchored = false
  1927. end), hit.Parent.Torso)
  1928. game:GetService("Debris"):AddItem(BodPos, 3)
  1929. game:GetService("Debris"):AddItem(BodGy, 3)
  1930. end
  1931. local debounce = Create("BoolValue")({
  1932. Name = "DebounceHit",
  1933. Parent = hit.Parent,
  1934. Value = true
  1935. })
  1936. game:GetService("Debris"):AddItem(debounce, Delay)
  1937. c = Instance.new("ObjectValue")
  1938. c.Name = "creator"
  1939. c.Value = Player
  1940. c.Parent = h
  1941. game:GetService("Debris"):AddItem(c, 0.5)
  1942. end
  1943. end
  1944. function ShowDamage(Pos, Text, Time, Color)
  1945. local Rate = 0.03333333333333333
  1946. local Pos = Pos or Vector3.new(0, 0, 0)
  1947. local Text = Text or ""
  1948. local Time = Time or 2
  1949. local Color = Color or Color3.new(1, 0, 1)
  1950. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1951. EffectPart.Anchored = true
  1952. local BillboardGui = Create("BillboardGui")({
  1953. Size = UDim2.new(3, 0, 3, 0),
  1954. Adornee = EffectPart,
  1955. Parent = EffectPart
  1956. })
  1957. local TextLabel = Create("TextLabel")({
  1958. BackgroundTransparency = 1,
  1959. Size = UDim2.new(1, 0, 1, 0),
  1960. Text = Text,
  1961. TextColor3 = Color,
  1962. TextScaled = true,
  1963. Font = Enum.Font.ArialBold,
  1964. Parent = BillboardGui
  1965. })
  1966. game.Debris:AddItem(EffectPart, Time + 0.1)
  1967. EffectPart.Parent = game:GetService("Workspace")
  1968. delay(0, function()
  1969. local Frames = Time / Rate
  1970. for Frame = 1, Frames do
  1971. wait(Rate)
  1972. local Percent = Frame / Frames
  1973. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1974. TextLabel.TextTransparency = Percent
  1975. end
  1976. if EffectPart and EffectPart.Parent then
  1977. EffectPart:Destroy()
  1978. end
  1979. end)
  1980. end
  1981. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1982. for _, c in pairs(workspace:children()) do
  1983. local hum = c:findFirstChildOfClass("Humanoid")
  1984. if hum ~= nil then
  1985. local head = c:findFirstChild("Head")
  1986. if head ~= nil then
  1987. local targ = head.Position - Part.Position
  1988. local mag = targ.magnitude
  1989. if magni >= mag and c.Name ~= Player.Name then
  1990. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1991. end
  1992. end
  1993. end
  1994. end
  1995. end
  1996.  
  1997. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1998. for _, c in pairs(workspace:children()) do
  1999. local hum = c:findFirstChild("Humanoid")
  2000. if hum ~= nil then
  2001. local head = c:findFirstChild("Torso")
  2002. if head ~= nil then
  2003. local targ = head.Position - Part.Position
  2004. local mag = targ.magnitude
  2005. if magni >= mag and c.Name ~= Player.Name then
  2006. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2007. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2008. end
  2009. end
  2010. end
  2011. end
  2012. end
  2013.  
  2014. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2015. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2016. end
  2017.  
  2018. local origcolor = BrickColor.new("Pastel light blue")
  2019. ---- This section of explosions.
  2020.  
  2021. ----
  2022.  
  2023.  
  2024. function ring(type,pos,scale,value)
  2025. local type = type
  2026. local rng = Instance.new("Part", char)
  2027. rng.Anchored = true
  2028. rng.BrickColor = origcolor
  2029. rng.CanCollide = false
  2030. rng.FormFactor = 3
  2031. rng.Name = "Ring"
  2032. rng.Size = Vector3.new(1, 1, 1)
  2033. rng.Transparency = 0
  2034. rng.TopSurface = 0
  2035. rng.BottomSurface = 0
  2036. rng.CFrame = pos
  2037. local rngm = Instance.new("SpecialMesh", rng)
  2038. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2039. rngm.Scale = scale
  2040. local scaler2 = 1
  2041. if type == "Add" then
  2042. scaler2 = 1*value
  2043. elseif type == "Divide" then
  2044. scaler2 = 1/value
  2045. end
  2046. coroutine.resume(coroutine.create(function()
  2047. for i = 0,10,0.1 do
  2048. swait()
  2049. if type == "Add" then
  2050. scaler2 = scaler2 - 0.01*value
  2051. elseif type == "Divide" then
  2052. scaler2 = scaler2 - 0.01/value
  2053. end
  2054. rng.Transparency = rng.Transparency + 0.01
  2055. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2056. end
  2057. rng:Destroy()
  2058. end))
  2059. end
  2060.  
  2061.  
  2062. function wave(type,pos,scale,value)
  2063. local type = type
  2064. local rng = Instance.new("Part", char)
  2065. rng.Anchored = true
  2066. rng.BrickColor = origcolor
  2067. rng.CanCollide = false
  2068. rng.FormFactor = 3
  2069. rng.Name = "Ring"
  2070. rng.Size = Vector3.new(1, 1, 1)
  2071. rng.Transparency = 0
  2072. rng.TopSurface = 0
  2073. rng.BottomSurface = 0
  2074. rng.CFrame = pos
  2075. local rngm = Instance.new("SpecialMesh", rng)
  2076. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2077. rngm.Scale = scale
  2078. local scaler2 = 1
  2079. if type == "Add" then
  2080. scaler2 = 1*value
  2081. elseif type == "Divide" then
  2082. scaler2 = 1/value
  2083. end
  2084. coroutine.resume(coroutine.create(function()
  2085. for i = 0,10,0.1 do
  2086. swait()
  2087. if type == "Add" then
  2088. scaler2 = scaler2 - 0.01*value
  2089. elseif type == "Divide" then
  2090. scaler2 = scaler2 - 0.01/value
  2091. end
  2092. rng.Transparency = rng.Transparency + 0.01
  2093. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2094. end
  2095. rng:Destroy()
  2096. end))
  2097. end
  2098.  
  2099. function sphere(bonuspeed,type,pos,scale,value,color)
  2100. local type = type
  2101. local rng = Instance.new("Part", char)
  2102. rng.Anchored = true
  2103. if ModeOfGlitch ~= 9 then
  2104. rng.BrickColor = color
  2105. elseif ModeOfGlitch == 9 then
  2106. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2107. end
  2108. rng.CanCollide = false
  2109. rng.FormFactor = 3
  2110. rng.Name = "Ring"
  2111. rng.Material = "Neon"
  2112. rng.Size = Vector3.new(1, 1, 1)
  2113. rng.Transparency = 0
  2114. rng.TopSurface = 0
  2115. rng.BottomSurface = 0
  2116. rng.CFrame = pos
  2117. local rngm = Instance.new("SpecialMesh", rng)
  2118. rngm.MeshType = "Sphere"
  2119. rngm.Scale = scale
  2120. if rainbowmode == true then
  2121. rng.Color = Color3.new(r/255,g/255,b/255)
  2122. end
  2123. if ModeOfGlitch == 9 then
  2124. coroutine.resume(coroutine.create(function()
  2125. while true do
  2126. swait()
  2127. if rng.Parent ~= nil then
  2128. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2129. else
  2130. break
  2131. end
  2132. end
  2133. end))
  2134. end
  2135. local scaler2 = 1
  2136. if type == "Add" then
  2137. scaler2 = 1*value
  2138. elseif type == "Divide" then
  2139. scaler2 = 1/value
  2140. end
  2141. coroutine.resume(coroutine.create(function()
  2142. for i = 0,10/bonuspeed,0.1 do
  2143. swait()
  2144. if rainbowmode == true then
  2145. rng.Color = Color3.new(r/255,g/255,b/255)
  2146. end
  2147. if type == "Add" then
  2148. scaler2 = scaler2 - 0.01*value/bonuspeed
  2149. elseif type == "Divide" then
  2150. scaler2 = scaler2 - 0.01/value*bonuspeed
  2151. end
  2152. if chaosmode == true then
  2153. rng.BrickColor = BrickColor.random()
  2154. end
  2155. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2156. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2157. end
  2158. rng:Destroy()
  2159. end))
  2160. end
  2161.  
  2162. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2163. local type = type
  2164. local rng = Instance.new("Part", char)
  2165. rng.Anchored = true
  2166. if ModeOfGlitch ~= 9 then
  2167. rng.BrickColor = color
  2168. elseif ModeOfGlitch == 9 then
  2169. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2170. end
  2171. rng.CanCollide = false
  2172. rng.FormFactor = 3
  2173. rng.Name = "Ring"
  2174. rng.Material = "Neon"
  2175. rng.Size = Vector3.new(1, 1, 1)
  2176. rng.Transparency = 0
  2177. rng.TopSurface = 0
  2178. rng.BottomSurface = 0
  2179. rng.CFrame = pos
  2180. local rngm = Instance.new("SpecialMesh", rng)
  2181. rngm.MeshType = "Sphere"
  2182. rngm.Scale = scale
  2183. local scaler2 = 1
  2184. local scaler2b = 1
  2185. local scaler2c = 1
  2186. if type == "Add" then
  2187. scaler2 = 1*value
  2188. scaler2b = 1*value2
  2189. scaler2c = 1*value3
  2190. elseif type == "Divide" then
  2191. scaler2 = 1/value
  2192. scaler2b = 1/value2
  2193. scaler2c = 1/value3
  2194. end
  2195. if ModeOfGlitch == 9 then
  2196. coroutine.resume(coroutine.create(function()
  2197. while true do
  2198. swait()
  2199. if rng.Parent ~= nil then
  2200. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2201. else
  2202. break
  2203. end
  2204. end
  2205. end))
  2206. end
  2207. coroutine.resume(coroutine.create(function()
  2208. for i = 0,10/bonuspeed,0.1 do
  2209. swait()
  2210. if type == "Add" then
  2211. scaler2 = scaler2 - 0.01*value/bonuspeed
  2212. scaler2b = scaler2b - 0.01*value/bonuspeed
  2213. scaler2c = scaler2c - 0.01*value/bonuspeed
  2214. elseif type == "Divide" then
  2215. scaler2 = scaler2 - 0.01/value*bonuspeed
  2216. scaler2b = scaler2b - 0.01/value*bonuspeed
  2217. scaler2c = scaler2c - 0.01/value*bonuspeed
  2218. end
  2219. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2220. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2221. end
  2222. rng:Destroy()
  2223. end))
  2224. end
  2225.  
  2226. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2227. local type = type
  2228. local rng = Instance.new("Part", char)
  2229. rng.Anchored = true
  2230. rng.BrickColor = color
  2231. rng.CanCollide = false
  2232. rng.FormFactor = 3
  2233. rng.Name = "Ring"
  2234. rng.Material = "Neon"
  2235. rng.Size = Vector3.new(1, 1, 1)
  2236. rng.Transparency = 0
  2237. rng.TopSurface = 0
  2238. rng.BottomSurface = 0
  2239. rng.CFrame = pos
  2240. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2241. local rngm = Instance.new("SpecialMesh", rng)
  2242. rngm.MeshType = "Brick"
  2243. rngm.Scale = vt(x1,y1,z1)
  2244. if rainbowmode == true then
  2245. rng.Color = Color3.new(r/255,g/255,b/255)
  2246. end
  2247. local scaler2 = 1
  2248. local speeder = FastSpeed/10
  2249. if type == "Add" then
  2250. scaler2 = 1*value
  2251. elseif type == "Divide" then
  2252. scaler2 = 1/value
  2253. end
  2254. coroutine.resume(coroutine.create(function()
  2255. for i = 0,10/bonuspeed,0.1 do
  2256. swait()
  2257. if rainbowmode == true then
  2258. rng.Color = Color3.new(r/255,g/255,b/255)
  2259. end
  2260. if type == "Add" then
  2261. scaler2 = scaler2 - 0.01*value/bonuspeed
  2262. elseif type == "Divide" then
  2263. scaler2 = scaler2 - 0.01/value*bonuspeed
  2264. end
  2265. if chaosmode == true then
  2266. rng.BrickColor = BrickColor.random()
  2267. end
  2268. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2269. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2270. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2271. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2272. end
  2273. rng:Destroy()
  2274. end))
  2275. end
  2276.  
  2277. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2278. local type = type
  2279. local rng = Instance.new("Part", char)
  2280. rng.Anchored = true
  2281. rng.BrickColor = color
  2282. rng.CanCollide = false
  2283. rng.FormFactor = 3
  2284. rng.Name = "Ring"
  2285. rng.Material = "Neon"
  2286. rng.Size = Vector3.new(1, 1, 1)
  2287. rng.Transparency = 0
  2288. rng.TopSurface = 0
  2289. rng.BottomSurface = 0
  2290. rng.CFrame = pos
  2291. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2292. local rngm = Instance.new("SpecialMesh", rng)
  2293. rngm.MeshType = "Brick"
  2294. rngm.Scale = vt(x1,y1,z1)
  2295. if rainbowmode == true then
  2296. rng.Color = Color3.new(r/255,g/255,b/255)
  2297. end
  2298. local scaler2 = 1
  2299. local speeder = FastSpeed/10
  2300. if type == "Add" then
  2301. scaler2 = 1*value
  2302. elseif type == "Divide" then
  2303. scaler2 = 1/value
  2304. end
  2305. coroutine.resume(coroutine.create(function()
  2306. for i = 0,10/bonuspeed,0.1 do
  2307. swait()
  2308. if rainbowmode == true then
  2309. rng.Color = Color3.new(r/255,g/255,b/255)
  2310. end
  2311. if type == "Add" then
  2312. scaler2 = scaler2 - 0.01*value/bonuspeed
  2313. elseif type == "Divide" then
  2314. scaler2 = scaler2 - 0.01/value*bonuspeed
  2315. end
  2316. if chaosmode == true then
  2317. rng.BrickColor = BrickColor.random()
  2318. end
  2319. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2320. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2321. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2322. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2323. end
  2324. rng:Destroy()
  2325. end))
  2326. end
  2327.  
  2328. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2329. local type = type
  2330. local rng = Instance.new("Part", char)
  2331. rng.Anchored = true
  2332. rng.BrickColor = color
  2333. rng.CanCollide = false
  2334. rng.FormFactor = 3
  2335. rng.Name = "Ring"
  2336. rng.Material = "Neon"
  2337. rng.Size = Vector3.new(1, 1, 1)
  2338. rng.Transparency = 0
  2339. rng.TopSurface = 0
  2340. rng.BottomSurface = 0
  2341. rng.CFrame = pos
  2342. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2343. local rngm = Instance.new("SpecialMesh", rng)
  2344. rngm.MeshType = "Brick"
  2345. rngm.Scale = vt(x1,y1,z1)
  2346. if rainbowmode == true then
  2347. rng.Color = Color3.new(r/255,g/255,b/255)
  2348. end
  2349. local scaler2 = 0
  2350. local speeder = FastSpeed/10
  2351. if type == "Add" then
  2352. scaler2 = 1*value
  2353. elseif type == "Divide" then
  2354. scaler2 = 1/value
  2355. end
  2356. coroutine.resume(coroutine.create(function()
  2357. for i = 0,10/bonuspeed,0.1 do
  2358. swait()
  2359. if rainbowmode == true then
  2360. rng.Color = Color3.new(r/255,g/255,b/255)
  2361. end
  2362. if type == "Add" then
  2363. scaler2 = scaler2 - 0.01*value/bonuspeed
  2364. elseif type == "Divide" then
  2365. scaler2 = scaler2 - 0.01/value*bonuspeed
  2366. end
  2367. if chaosmode == true then
  2368. rng.BrickColor = BrickColor.random()
  2369. end
  2370. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  2371. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2372. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2373. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2374. end
  2375. rng:Destroy()
  2376. end))
  2377. end
  2378.  
  2379. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2380. local type = type
  2381. local rng = Instance.new("Part", char)
  2382. rng.Anchored = true
  2383. if ModeOfGlitch ~= 9 then
  2384. rng.BrickColor = color
  2385. elseif ModeOfGlitch == 9 then
  2386. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2387. end
  2388. rng.CanCollide = false
  2389. rng.FormFactor = 3
  2390. rng.Name = "Ring"
  2391. rng.Material = "Neon"
  2392. rng.Size = Vector3.new(1, 1, 1)
  2393. rng.Transparency = 0
  2394. rng.TopSurface = 0
  2395. rng.BottomSurface = 0
  2396. rng.CFrame = pos
  2397. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2398. local rngm = Instance.new("SpecialMesh", rng)
  2399. rngm.MeshType = "Sphere"
  2400. rngm.Scale = vt(x1,y1,z1)
  2401. if rainbowmode == true then
  2402. rng.Color = Color3.new(r/255,g/255,b/255)
  2403. end
  2404. if ModeOfGlitch == 9 then
  2405. coroutine.resume(coroutine.create(function()
  2406. while true do
  2407. swait()
  2408. if rng.Parent ~= nil then
  2409. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2410. else
  2411. break
  2412. end
  2413. end
  2414. end))
  2415. end
  2416. local scaler2 = 1
  2417. local speeder = FastSpeed
  2418. if type == "Add" then
  2419. scaler2 = 1*value
  2420. elseif type == "Divide" then
  2421. scaler2 = 1/value
  2422. end
  2423. coroutine.resume(coroutine.create(function()
  2424. for i = 0,10/bonuspeed,0.1 do
  2425. swait()
  2426. if rainbowmode == true then
  2427. rng.Color = Color3.new(r/255,g/255,b/255)
  2428. end
  2429. if type == "Add" then
  2430. scaler2 = scaler2 - 0.01*value/bonuspeed
  2431. elseif type == "Divide" then
  2432. scaler2 = scaler2 - 0.01/value*bonuspeed
  2433. end
  2434. if chaosmode == true then
  2435. rng.BrickColor = BrickColor.random()
  2436. end
  2437. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2438. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2439. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2440. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2441. end
  2442. rng:Destroy()
  2443. end))
  2444. end
  2445.  
  2446.  
  2447. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2448. local type = type
  2449. local rng = Instance.new("Part", char)
  2450. rng.Anchored = true
  2451. if ModeOfGlitch ~= 9 then
  2452. rng.BrickColor = color
  2453. elseif ModeOfGlitch == 9 then
  2454. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2455. end
  2456. rng.CanCollide = false
  2457. rng.FormFactor = 3
  2458. rng.Name = "Ring"
  2459. rng.Material = "Neon"
  2460. rng.Size = Vector3.new(1, 1, 1)
  2461. rng.Transparency = 1
  2462. rng.TopSurface = 0
  2463. rng.BottomSurface = 0
  2464. rng.CFrame = pos
  2465. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2466. local rngm = Instance.new("SpecialMesh", rng)
  2467. rngm.MeshType = "Sphere"
  2468. rngm.Scale = vt(x1,y1,z1)
  2469. if rainbowmode == true then
  2470. rng.Color = Color3.new(r/255,g/255,b/255)
  2471. end
  2472. if ModeOfGlitch == 9 then
  2473. coroutine.resume(coroutine.create(function()
  2474. while true do
  2475. swait()
  2476. if rng.Parent ~= nil then
  2477. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2478. else
  2479. break
  2480. end
  2481. end
  2482. end))
  2483. end
  2484. local scaler2 = 1
  2485. local speeder = FastSpeed
  2486. if type == "Add" then
  2487. scaler2 = 1*value
  2488. elseif type == "Divide" then
  2489. scaler2 = 1/value
  2490. end
  2491. coroutine.resume(coroutine.create(function()
  2492. for i = 0,10/bonuspeed,0.1 do
  2493. swait()
  2494. if rainbowmode == true then
  2495. rng.Color = Color3.new(r/255,g/255,b/255)
  2496. end
  2497. if type == "Add" then
  2498. scaler2 = scaler2 - 0.01*value/bonuspeed
  2499. elseif type == "Divide" then
  2500. scaler2 = scaler2 - 0.01/value*bonuspeed
  2501. end
  2502. if chaosmode == true then
  2503. rng.BrickColor = BrickColor.random()
  2504. end
  2505. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2506. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2507. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2508. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2509. end
  2510. rng:Destroy()
  2511. end))
  2512. end
  2513.  
  2514. function dmg(dude)
  2515. if dude.Name ~= Character then
  2516. local keptcolor = MAINRUINCOLOR
  2517. local bgf = Instance.new("BodyGyro",dude.Head)
  2518. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  2519. --[[local val = Instance.new("BoolValue",dude)
  2520. val.Name = "IsHit"]]--
  2521. local ds = coroutine.wrap(function()
  2522. dude:WaitForChild("Head"):BreakJoints()
  2523. for i, v in pairs(dude:GetChildren()) do
  2524. if v:IsA("Part") or v:IsA("MeshPart") then
  2525. v.Name = "DEMINISHED"
  2526. end
  2527. end
  2528. wait(0.5)
  2529. targetted = nil
  2530. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  2531. coroutine.resume(coroutine.create(function()
  2532. for i, v in pairs(dude:GetChildren()) do
  2533. if v:IsA("Accessory") then
  2534. v:Destroy()
  2535. end
  2536. if v:IsA("Humanoid") then
  2537. v:Destroy()
  2538. end
  2539. if v:IsA("CharacterMesh") then
  2540. v:Destroy()
  2541. end
  2542. if v:IsA("Model") then
  2543. v:Destroy()
  2544. end
  2545. if v:IsA("Part") or v:IsA("MeshPart") then
  2546. for x, o in pairs(v:GetChildren()) do
  2547. if o:IsA("Decal") then
  2548. o:Destroy()
  2549. end
  2550. end
  2551. coroutine.resume(coroutine.create(function()
  2552. v.Material = "Neon"
  2553. v.CanCollide = false
  2554. v.Anchored = false
  2555. local bld = Instance.new("ParticleEmitter",v)
  2556. bld.LightEmission = 0.75
  2557. bld.Texture = "rbxassetid://363275192" ---284205403
  2558. bld.Color = ColorSequence.new(keptcolor.Color)
  2559. bld.Rate = 500
  2560. bld.Lifetime = NumberRange.new(1)
  2561. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  2562. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  2563. bld.Speed = NumberRange.new(2,5)
  2564. bld.VelocitySpread = 50000
  2565. bld.Rotation = NumberRange.new(-500,500)
  2566. bld.RotSpeed = NumberRange.new(-500,500)
  2567. local sbs = Instance.new("BodyPosition", v)
  2568. sbs.P = 3000
  2569. sbs.D = 1000
  2570. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2571. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  2572. v.Color = keptcolor.Color
  2573. coroutine.resume(coroutine.create(function()
  2574. for i = 0, 49 do
  2575. swait(1)
  2576. v:BreakJoints()
  2577. v.Transparency = v.Transparency + 0.02
  2578. end
  2579. v:BreakJoints()
  2580. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  2581. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  2582. bld.Speed = NumberRange.new(10,25)
  2583. bld.Drag = 5
  2584. bld.Acceleration = vt(0,2,0)
  2585. wait(0.5)
  2586. bld.Enabled = false
  2587. wait(8)
  2588. v:Destroy()
  2589. dude:Destroy()
  2590. end))
  2591. end))
  2592. end
  2593. end
  2594. end))
  2595. end)
  2596. ds()
  2597. end
  2598. end
  2599.  
  2600.  
  2601. function FindNearestHead(Position, Distance, SinglePlayer)
  2602. if SinglePlayer then
  2603. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  2604. end
  2605. local List = {}
  2606. for i, v in pairs(workspace:GetChildren()) do
  2607. if v:IsA("Model") then
  2608. if v:findFirstChild("Head") then
  2609. if v ~= Character then
  2610. if (v.Head.Position - Position).magnitude <= Distance then
  2611. table.insert(List, v)
  2612. end
  2613. end
  2614. end
  2615. end
  2616. end
  2617. return List
  2618. end
  2619.  
  2620. function FaceMouse()
  2621. Cam = workspace.CurrentCamera
  2622. return {
  2623. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  2624. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2625. }
  2626. end
  2627.  
  2628. function FaceMouse2()
  2629. Cam = workspace.CurrentCamera
  2630. return {
  2631. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  2632. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2633. }
  2634. end
  2635.  
  2636. -- Functions are ready.
  2637. local storehumanoidWS = 16
  2638.  
  2639. function resetmode()
  2640. ModeOfGlitch = 1
  2641. storehumanoidWS = 16
  2642. hum.WalkSpeed = 16
  2643. rainbowmode = false
  2644. chaosmode = false
  2645. RecolorTextAndRename("Mayhem",Color3.new(255,1,1),Color3.new(196,0,0),"Code")
  2646. newTheme("rbxassetid://614032233",0,1.01,1.25)
  2647. MAINRUINCOLOR = BrickColor.new("Really red")
  2648. for i, v in pairs(mw2:GetChildren()) do
  2649. if v:IsA("Part") then
  2650. v.BrickColor = MAINRUINCOLOR
  2651. v.Material = "Neon"
  2652. end
  2653. end
  2654. refec.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2655. refec2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2656. refec3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2657. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2658. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2659. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2660. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2661. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2662. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2663. for i, v in pairs(mw1:GetChildren()) do
  2664. if v:IsA("Part") then
  2665. v.Transparency = 0
  2666. v.BrickColor = MAINRUINCOLOR
  2667. v.Material = "Neon"
  2668. end
  2669. end
  2670. for i, v in pairs(m:GetChildren()) do
  2671. if v:IsA("Part") then
  2672. v.BrickColor = BrickColor.new("White")
  2673. v.Material = "Ice"
  2674. end
  2675. end
  2676. for i, v in pairs(m2:GetChildren()) do
  2677. if v:IsA("Part") then
  2678. v.BrickColor = BrickColor.new("White")
  2679. v.Material = "Ice"
  2680. end
  2681. end
  2682. for i, v in pairs(m3:GetChildren()) do
  2683. if v:IsA("Part") then
  2684. v.BrickColor = BrickColor.new("White")
  2685. v.Material = "Neon"
  2686. end
  2687. end
  2688. for i, v in pairs(extrawingmod1:GetChildren()) do
  2689. if v:IsA("Part") then
  2690. v.Transparency = 1
  2691. v.BrickColor = BrickColor.new("White")
  2692. v.Material = "Neon"
  2693. end
  2694. end
  2695. for i, v in pairs(extrawingmod2:GetChildren()) do
  2696. if v:IsA("Part") then
  2697. v.Transparency = 1
  2698. v.BrickColor = BrickColor.new("White")
  2699. v.Material = "Neon"
  2700. end
  2701. end
  2702. end
  2703.  
  2704. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo)
  2705. for i, v in pairs(mw2:GetChildren()) do
  2706. if v:IsA("Part") then
  2707. v.BrickColor = one
  2708. v.Material = "Neon"
  2709. end
  2710. end
  2711. refec.Color = ColorSequence.new(one.Color)
  2712. refec2.Color = ColorSequence.new(one.Color)
  2713. refec3.Color = ColorSequence.new(one.Color)
  2714. tr1.Color = ColorSequence.new(one.Color)
  2715. tr2.Color = ColorSequence.new(one.Color)
  2716. tr3.Color = ColorSequence.new(one.Color)
  2717. for i, v in pairs(mw1:GetChildren()) do
  2718. if v:IsA("Part") then
  2719. v.Transparency = 0
  2720. v.BrickColor = two
  2721. v.Material = "Neon"
  2722. end
  2723. end
  2724. tl1.Color = ColorSequence.new(two.Color)
  2725. tl2.Color = ColorSequence.new(two.Color)
  2726. tl3.Color = ColorSequence.new(two.Color)
  2727. for i, v in pairs(m:GetChildren()) do
  2728. if v:IsA("Part") then
  2729. v.BrickColor = three
  2730. v.Material = "Ice"
  2731. end
  2732. end
  2733. for i, v in pairs(m2:GetChildren()) do
  2734. if v:IsA("Part") then
  2735. v.BrickColor = four
  2736. v.Material = "Ice"
  2737. end
  2738. end
  2739. for i, v in pairs(m3:GetChildren()) do
  2740. if v:IsA("Part") then
  2741. v.BrickColor = five
  2742. v.Material = "Neon"
  2743. end
  2744. end
  2745. for i, v in pairs(extrawingmod1:GetChildren()) do
  2746. if v:IsA("Part") then
  2747. v.Transparency = exonetran
  2748. v.BrickColor = exone
  2749. v.Material = "Neon"
  2750. end
  2751. end
  2752. for i, v in pairs(extrawingmod2:GetChildren()) do
  2753. if v:IsA("Part") then
  2754. v.Transparency = extwotran
  2755. v.BrickColor = extwo
  2756. v.Material = "Neon"
  2757. end
  2758. end
  2759. end
  2760.  
  2761. function attackone()
  2762. attack = true
  2763. local keptcolor = MAINRUINCOLOR
  2764. for i = 0,1,0.1 do
  2765. swait()
  2766. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  2767. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  2768. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  2769. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  2770. 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)
  2771. 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)
  2772. end
  2773. local distlook = 5
  2774. coroutine.resume(coroutine.create(function()
  2775. for i = 0, 4 do
  2776. swait(2)
  2777. CameraEnshaking(2,3)
  2778. local hite = Instance.new("Part", char)
  2779. hite.Anchored = true
  2780. hite.CanCollide = false
  2781. hite.FormFactor = 3
  2782. hite.Name = "Ring"
  2783. hite.Material = "Neon"
  2784. hite.Size = Vector3.new(1, 1, 1)
  2785. hite.Transparency = 1
  2786. hite.TopSurface = 0
  2787. hite.BottomSurface = 0
  2788. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  2789. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0,1,0),0.2,0.001,0.2,keptcolor)
  2790. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(8,1,8),-0.045,0.15,-0.045,keptcolor)
  2791. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(4,1,4),-0.025,0.25,-0.025,keptcolor)
  2792. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(2,1,2),-0.015,0.35,-0.015,keptcolor)
  2793. MagniDamage(hite, 9, 10,25, 0, "Normal")
  2794. for i = 0, 14 do
  2795. local rsiz = math.random(5,20)
  2796. sphereMK(math.random(1,3),0.25,"Add",hite.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  2797. end
  2798. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  2799. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  2800. game:GetService("Debris"):AddItem(hite, 5)
  2801. distlook = distlook + 10
  2802. end
  2803. end))
  2804. for i = 0,1,0.1 do
  2805. swait()
  2806. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  2807. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  2808. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  2809. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  2810. 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)
  2811. 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)
  2812. end
  2813. attack = false
  2814. end
  2815.  
  2816. function attacktwo()
  2817. attack = true
  2818. for i = 0,1,0.1 do
  2819. swait()
  2820. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  2821. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2822. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
  2823. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
  2824. 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(10)),.3)
  2825. 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)),.3)
  2826. end
  2827. CameraEnshaking(3,4)
  2828. MagniDamage(root, 12, 15,30, 0, "Normal")
  2829. sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  2830. sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  2831. sphere2(10,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  2832. coroutine.resume(coroutine.create(function()
  2833. local eff = Instance.new("ParticleEmitter",root)
  2834. eff.Texture = "rbxassetid://363275192"
  2835. eff.LightEmission = 0.95
  2836. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2837. eff.Rate = 10000
  2838. eff.Lifetime = NumberRange.new(1)
  2839. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  2840. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  2841. eff.Speed = NumberRange.new(10,125)
  2842. eff.Drag = 5
  2843. eff.Rotation = NumberRange.new(-500,500)
  2844. eff.VelocitySpread = 9000
  2845. eff.RotSpeed = NumberRange.new(-50,50)
  2846. local eff2 = eff:Clone()
  2847. eff2.Parent = root
  2848. eff2.Texture = "rbxassetid://284205403"
  2849. eff2.Rate = 10000
  2850. eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  2851. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  2852. eff2.Drag = 5
  2853. eff2.Speed = NumberRange.new(10,50)
  2854. eff2.Rotation = NumberRange.new(-500,500)
  2855. eff2.VelocitySpread = 9000
  2856. wait(0.25)
  2857. eff2.Enabled = false
  2858. eff.Enabled = false
  2859. wait(3)
  2860. eff2:Destroy()
  2861. eff:Destroy()
  2862. end))
  2863. for i = 0, 9 do
  2864. sphere2(7.5,"Add",root.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.0025,1,-0.0025,MAINRUINCOLOR)
  2865. end
  2866. for i = 0, 24 do
  2867. local rsiz = math.random(5,20)
  2868. sphereMK(math.random(1,5),0.75,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/8,rsiz/8,rsiz/8,0,MAINRUINCOLOR,0)
  2869. end
  2870. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  2871. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  2872. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  2873. for i = 0,2,0.1 do
  2874. swait()
  2875. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  2876. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2877. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  2878. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  2879. 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(-10)),.3)
  2880. 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)),.3)
  2881. end
  2882. attack = false
  2883. end
  2884.  
  2885. function attackthree()
  2886. attack = true
  2887. local keptcolor = MAINRUINCOLOR
  2888. CFuncs["Sound"].Create("rbxassetid://1042700914", root, 2, 1.75)
  2889. for i = 0,1,0.1 do
  2890. swait()
  2891. sphere2(6,"Add",root.CFrame + root.CFrame.lookVector*2.5,vt(3,3,3),0.01,0.01,0.01,MAINRUINCOLOR)
  2892. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.5)
  2893. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5)
  2894. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(-40)), 0.5)
  2895. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(40)), 0.5)
  2896. 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(0)),.5)
  2897. 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)),.5)
  2898. end
  2899. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 1.5, 0.9)
  2900. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 0.9)
  2901. local angle = -25
  2902. coroutine.resume(coroutine.create(function()
  2903. for i = 0, 2 do
  2904. local orb = Instance.new("Part", char)
  2905. orb.BrickColor = MAINRUINCOLOR
  2906. orb.CanCollide = false
  2907. orb.FormFactor = 3
  2908. orb.Name = "Ring"
  2909. orb.Material = "Neon"
  2910. orb.Size = Vector3.new(1, 1, 1)
  2911. orb.Transparency = 0.5
  2912. orb.TopSurface = 0
  2913. orb.BottomSurface = 0
  2914. local orbm = Instance.new("SpecialMesh", orb)
  2915. orbm.MeshType = "Sphere"
  2916. orbm.Name = "SizeMesh"
  2917. orbm.Scale = vt(3,3,3)
  2918. orb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(angle),0) + root.CFrame.lookVector*2.5
  2919. local bv = Instance.new("BodyVelocity")
  2920. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2921. bv.velocity = orb.CFrame.lookVector*100
  2922. bv.Parent = orb
  2923. game:GetService("Debris"):AddItem(orb, 10)
  2924. sphere2(6,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor)
  2925. sphere2(9,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor)
  2926. coroutine.resume(coroutine.create(function()
  2927. MagniDamage(orb, 6, 8,15, 0, "Normal")
  2928. for i = 0, 7 do
  2929. swait(2.5)
  2930. CameraEnshaking(1,2)
  2931. MagniDamage(orb, 6, 8,15, 0, "Normal")
  2932. CFuncs["Sound"].Create("rbxassetid://1042693018", orb, 1.5, 1.5)
  2933. for i = 0, 4 do
  2934. local rsiz = math.random(5,10)
  2935. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,1,0.5),-0.0025,0.25,-0.0025,keptcolor)
  2936. sphereMK(math.random(2,6),0.15,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  2937. end
  2938. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor)
  2939. sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor)
  2940. end
  2941. orb.Transparency = 1
  2942. orb.Anchored = false
  2943. wait(10)
  2944. orb:Destroy()
  2945. end))
  2946. angle = angle + 25
  2947. end
  2948. end))
  2949. for i = 0,1,0.1 do
  2950. swait()
  2951. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  2952. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2953. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.3)
  2954. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2955. 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(-10)),.3)
  2956. 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)),.3)
  2957. end
  2958. attack = false
  2959. end
  2960.  
  2961. ------------------------------------- Abilities ---------------------------------------------------------
  2962. function Fireball()
  2963. attack = true
  2964. hum.WalkSpeed = 0
  2965. local keptcolor = MAINRUINCOLOR
  2966. for i = 0,2,0.1 do
  2967. swait()
  2968. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  2969. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-40)),.3)
  2970. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  2971. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(40), math.rad(-40)), 0.3)
  2972. 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(0)),.3)
  2973. 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(-1),math.rad(0),math.rad(0)),.3)
  2974. end
  2975. local orb = Instance.new("Part", char)
  2976. orb.BrickColor = keptcolor
  2977. orb.CanCollide = false
  2978. orb.FormFactor = 3
  2979. orb.Name = "Ring"
  2980. orb.Material = "Neon"
  2981. orb.Size = Vector3.new(1, 1, 1)
  2982. orb.Transparency = 0
  2983. orb.TopSurface = 0
  2984. orb.BottomSurface = 0
  2985. local orbm = Instance.new("SpecialMesh", orb)
  2986. orbm.MeshType = "Sphere"
  2987. orbm.Name = "SizeMesh"
  2988. orbm.Scale = vt(4,4,4)
  2989. orb.CFrame = root.CFrame + root.CFrame.lookVector*3
  2990. local eff = Instance.new("ParticleEmitter",orb)
  2991. eff.Texture = "rbxassetid://296874871"
  2992. eff.LightEmission = 0.95
  2993. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  2994. eff.Rate = 10000
  2995. eff.Lifetime = NumberRange.new(1.5)
  2996. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2997. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  2998. eff.Speed = NumberRange.new(25)
  2999. eff.Drag = 5
  3000. eff.Rotation = NumberRange.new(-500,500)
  3001. eff.VelocitySpread = 9000
  3002. eff.RotSpeed = NumberRange.new(-500,500)
  3003. local a = Instance.new("Part",workspace)
  3004. a.Name = "Direction"
  3005. a.Anchored = true
  3006. a.BrickColor = bc("Bright red")
  3007. a.Material = "Neon"
  3008. a.Transparency = 1
  3009. a.CanCollide = false
  3010. local ray = Ray.new(
  3011. orb.CFrame.p, -- origin
  3012. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3013. )
  3014. local ignore = orb
  3015. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3016. a.BottomSurface = 10
  3017. a.TopSurface = 10
  3018. local distance = (orb.CFrame.p - position).magnitude
  3019. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3020. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3021. orb.CFrame = a.CFrame
  3022. a:Destroy()
  3023. CFuncs["Sound"].Create("rbxassetid://304448425", orb, 1.5, 0.9)
  3024. local bv = Instance.new("BodyVelocity")
  3025. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3026. bv.velocity = orb.CFrame.lookVector*75
  3027. bv.Parent = orb
  3028. game:GetService("Debris"):AddItem(orb, 10)
  3029. local hitted = false
  3030. coroutine.resume(coroutine.create(function()
  3031. while true do
  3032. swait()
  3033. if orb.Parent ~= nil and hitted == false then
  3034. sphere2(4,"Add",orb.CFrame*CFrame.new(math.random(-1,1),math.random(-1,1),0) - orb.CFrame.lookVector*1.5,vt(3,3,3),-0.03,-0.03,-0.03,keptcolor)
  3035. elseif orb.Parent == nil and hitted == true then
  3036. break
  3037. end
  3038. end
  3039. end))
  3040. local hit =orb.Touched:connect(function(hit)
  3041. if hitted == false and hit.Parent ~= char then
  3042. hitted = true
  3043. eff.Enabled = false
  3044. CameraEnshaking(4,4)
  3045. CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 4.5, 0.7)
  3046. CFuncs["Sound"].Create("rbxassetid://178452221", orb, 2.5, 0.4)
  3047. MagniDamage(orb, 25, 20,30, 0, "Normal")
  3048. sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  3049. sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  3050. sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  3051. for i = 0, 9 do
  3052. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1,1.5),-0.005,4,-0.005,keptcolor)
  3053. end
  3054. for i = 0, 49 do
  3055. local rsiz = math.random(10,30)
  3056. sphereMK(math.random(1,3),1,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  3057. end
  3058. local eff = Instance.new("ParticleEmitter",orb)
  3059. eff.Texture = "rbxassetid://296874871"
  3060. eff.LightEmission = 0.95
  3061. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  3062. eff.Rate = 10000
  3063. eff.Lifetime = NumberRange.new(1.5)
  3064. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  3065. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3066. eff.Speed = NumberRange.new(150)
  3067. eff.Drag = 5
  3068. eff.Rotation = NumberRange.new(-500,500)
  3069. eff.VelocitySpread = 9000
  3070. eff.RotSpeed = NumberRange.new(-500,500)
  3071. coroutine.resume(coroutine.create(function()
  3072. wait(0.25)
  3073. eff.Enabled = false
  3074. end))
  3075. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  3076. orb.Anchored = true
  3077. orb.Transparency = 1
  3078. coroutine.resume(coroutine.create(function()
  3079. if hfr ~= nil then
  3080. orb.Size = vt(50,1,50)
  3081. orb.Orientation = vt(0,0,0)
  3082. orb.CFrame = orb.CFrame*CFrame.new(0,-5,0)
  3083. orbm:Destroy()
  3084. local firef = eff:Clone()
  3085. firef.Parent = orb
  3086. firef.VelocitySpread = 50
  3087. firef.Rate = 500
  3088. firef.Drag = 3
  3089. firef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3090. firef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3091. firef.Speed = NumberRange.new(10,30)
  3092. for i = 0, 24 do
  3093. wait(0.25)
  3094. MagniDamage(orb, 25, 3,6, 0, "Normal")
  3095. end
  3096. firef.Enabled = false
  3097. end
  3098. end))
  3099. wait(10)
  3100. orb:Destroy()
  3101. end
  3102. end)
  3103. for i = 0,1,0.1 do
  3104. swait()
  3105. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.5)
  3106. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  3107. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5)
  3108. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.5)
  3109. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
  3110. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  3111. end
  3112. hum.WalkSpeed = storehumanoidWS
  3113. attack = false
  3114. end
  3115.  
  3116. function UniversalCollapse()
  3117. attack = true
  3118. local speedearn = 0
  3119. hum.WalkSpeed = 0
  3120. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  3121. for i = 0, 10, 0.1 do
  3122. swait()
  3123. speedearn = speedearn + 0.1
  3124. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3125. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3126. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3127. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3128. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3129. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  3130. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  3131. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3132. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  3133. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  3134. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  3135. end
  3136. CameraEnshaking(5,45)
  3137. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  3138. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  3139. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  3140. if v:FindFirstChild('Head') then
  3141. dmg(v)
  3142. end
  3143. end
  3144. hum.WalkSpeed = storehumanoidWS
  3145. attack = false
  3146. end
  3147.  
  3148. function BeamOfDeath()
  3149. attack = true
  3150. hum.WalkSpeed = 0
  3151. local keptcolor = MAINRUINCOLOR
  3152. local orb = Instance.new("Part", char)
  3153. orb.BrickColor = keptcolor
  3154. orb.CanCollide = false
  3155. orb.FormFactor = 3
  3156. orb.Name = "Ring"
  3157. orb.Material = "Neon"
  3158. orb.Size = Vector3.new(1, 1, 1)
  3159. orb.Transparency = 1
  3160. orb.TopSurface = 0
  3161. orb.BottomSurface = 0
  3162. local orbm = Instance.new("SpecialMesh", orb)
  3163. orbm.MeshType = "Sphere"
  3164. orbm.Name = "SizeMesh"
  3165. orbm.Scale = vt(22.5,10000,22.5)
  3166. orb.CFrame = mouse.Hit
  3167. orb.Anchored = true
  3168. orb.Orientation = vt(0,0,0)
  3169. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  3170. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 1.5, 1)
  3171. coroutine.resume(coroutine.create(function()
  3172. coroutine.resume(coroutine.create(function()
  3173. for i = 0, 399 do
  3174. swait()
  3175. orbm.Scale = orbm.Scale - vt(0.05,0,0.05)
  3176. orb.Transparency = orb.Transparency - 0.0025
  3177. end
  3178. end))
  3179. wait(9)
  3180. coroutine.resume(coroutine.create(function()
  3181. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  3182. if hfr ~= nil then
  3183. for i = 0, 49 do
  3184. local deb = Instance.new("Part", char)
  3185. deb.Anchored = true
  3186. deb.CanCollide = false
  3187. deb.FormFactor = 3
  3188. deb.Name = "Ring"
  3189. deb.Material = hitfloor.Material
  3190. deb.Color = hitfloor.Color
  3191. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  3192. deb.Transparency = 0
  3193. deb.TopSurface = 0
  3194. deb.BottomSurface = 0
  3195. deb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),-5,math.random(-150,150))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3196. local deb2 = Instance.new("Part", char)
  3197. deb2.CanCollide = false
  3198. deb2.FormFactor = 3
  3199. deb2.Name = "Ring"
  3200. deb2.Material = hitfloor.Material
  3201. deb2.Color = hitfloor.Color
  3202. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  3203. deb2.Transparency = 0
  3204. deb2.TopSurface = 0
  3205. deb2.BottomSurface = 0
  3206. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  3207. deb2.CFrame = orb.CFrame*CFrame.new(math.random(-60,60),-5,math.random(-60,60))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3208. local eff = Instance.new("ParticleEmitter",deb)
  3209. eff.Texture = "rbxassetid://363275192"
  3210. eff.LightEmission = 0.95
  3211. eff.Color = ColorSequence.new(keptcolor.Color)
  3212. eff.Rate = 100
  3213. eff.Lifetime = NumberRange.new(1)
  3214. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  3215. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3216. eff.Speed = NumberRange.new(0,5)
  3217. eff.Rotation = NumberRange.new(-500,500)
  3218. eff.VelocitySpread = 9000
  3219. eff.RotSpeed = NumberRange.new(-10,10)
  3220. local at1 = Instance.new('Attachment',deb2)
  3221. at1.Position = vt(0,15,0)
  3222. local at2 = Instance.new('Attachment',deb2)
  3223. at2.Position = vt(0,-15,0)
  3224. local tl = Instance.new('Trail',deb2)
  3225. tl.Attachment0 = at1
  3226. tl.Attachment1 = at2
  3227. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3228. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  3229. tl.Lifetime = 1
  3230. game:GetService("Debris"):AddItem(deb,30)
  3231. game:GetService("Debris"):AddItem(deb2,30)
  3232. coroutine.resume(coroutine.create(function()
  3233. wait(15)
  3234. eff.Enabled = false
  3235. for i = 0, 49 do
  3236. swait()
  3237. deb.Transparency = deb.Transparency + 0.02
  3238. end
  3239. wait(1)
  3240. deb:Destroy()
  3241. end))
  3242. end
  3243. end
  3244. end))
  3245. for i = 0, 199 do
  3246. swait(1.5)
  3247. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  3248. if v:FindFirstChild('Head') then
  3249. dmg(v)
  3250. end
  3251. end
  3252. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),5,5,5,keptcolor)
  3253. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),1,35,1,keptcolor)
  3254. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),0,50,0,keptcolor)
  3255. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  3256. end
  3257. orb:Destroy()
  3258. end))
  3259. hum.WalkSpeed = storehumanoidWS
  3260. attack = false
  3261. end
  3262.  
  3263.  
  3264. function Beams()
  3265. attack = true
  3266. hum.WalkSpeed = 0
  3267. local keptcolor = MAINRUINCOLOR
  3268. coroutine.resume(coroutine.create(function()
  3269. for i = 0, 24 do
  3270. swait(5)
  3271. local orb = Instance.new("Part", char)
  3272. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  3273. orb.BrickColor = keptcolor
  3274. orb.CanCollide = false
  3275. orb.FormFactor = 3
  3276. orb.Name = "Ring"
  3277. orb.Material = "Neon"
  3278. orb.Size = Vector3.new(1, 1, 1)
  3279. orb.Transparency = 0
  3280. orb.TopSurface = 0
  3281. orb.BottomSurface = 0
  3282. orb.Anchored = true
  3283. local orbm = Instance.new("SpecialMesh", orb)
  3284. orbm.MeshType = "Sphere"
  3285. orbm.Name = "SizeMesh"
  3286. orbm.Scale = vt(1.25,1.25,1.25)
  3287. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  3288. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  3289. coroutine.resume(coroutine.create(function()
  3290. wait(0.5)
  3291. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  3292. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  3293. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  3294. orb.Transparency = 1
  3295. local a = Instance.new("Part",char)
  3296. a.Name = "Direction"
  3297. a.Anchored = true
  3298. a.BrickColor = keptcolor
  3299. a.Material = "Neon"
  3300. a.Transparency = 0.25
  3301. a.Shape = "Cylinder"
  3302. local ht = Instance.new("Part",char)
  3303. ht.Name = "DirectionHit"
  3304. ht.Anchored = true
  3305. ht.BrickColor = keptcolor
  3306. ht.CanCollide = false
  3307. ht.Transparency = 1
  3308. ht.Size = vt(0.1,0.1,0.1)
  3309. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.2)
  3310. a.CanCollide = false
  3311. local ray = Ray.new(
  3312. orb.CFrame.p, -- origin
  3313. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3314. )
  3315. local ignore = char
  3316. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3317. a.BottomSurface = 10
  3318. a.TopSurface = 10
  3319. local distance = (orb.CFrame.p - position).magnitude
  3320. a.Size = Vector3.new(distance,1,1)
  3321. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  3322. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3323. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  3324. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  3325. MagniDamage(ht, 9, 10,15, 0, "Normal")
  3326. coroutine.resume(coroutine.create(function()
  3327. local eff = Instance.new("ParticleEmitter",ht)
  3328. eff.Texture = "rbxassetid://284205403"
  3329. eff.LightEmission = 0.95
  3330. eff.Color = ColorSequence.new(keptcolor.Color)
  3331. eff.Rate = 500
  3332. eff.Lifetime = NumberRange.new(0.5)
  3333. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  3334. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3335. eff.Speed = NumberRange.new(10,50)
  3336. eff.Drag = 5
  3337. eff.Rotation = NumberRange.new(-500,500)
  3338. eff.VelocitySpread = 9000
  3339. eff.RotSpeed = NumberRange.new(-500,500)
  3340. wait(0.25)
  3341. eff.Enabled = false
  3342. end))
  3343. for i = 0, 4 do
  3344. sphere2(8,"Add",orb.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.005,0.125,-0.005,keptcolor)
  3345. sphere2(4,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.01,0.5,-0.01,keptcolor)
  3346. local rsiz = math.random(10,30)
  3347. sphereMK(math.random(2,4),0.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  3348. end
  3349. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  3350. local msh = Instance.new("SpecialMesh",a)
  3351. msh.MeshType = "Cylinder"
  3352. msh.Scale = vt(1,1,1)
  3353. for i = 0, 49 do
  3354. swait()
  3355. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  3356. a.Transparency = a.Transparency + 0.02
  3357. end
  3358. orb:Destroy()
  3359. a:Destroy()
  3360. ht:Destroy()
  3361. end))
  3362. game:GetService("Debris"):AddItem(orb, 10)
  3363. end
  3364. end))
  3365. for i = 0,12,0.1 do
  3366. swait()
  3367. sphere2(7,"Add",sorb.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,0.075,-0.01,keptcolor)
  3368. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  3369. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  3370. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  3371. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  3372. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.3)
  3373. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.3)
  3374. end
  3375. hum.WalkSpeed = storehumanoidWS
  3376. attack = false
  3377. end
  3378.  
  3379. function smiter()
  3380. local targetted = nil
  3381. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3382. targetted = mouse.Target.Parent
  3383. end
  3384. if targetted ~= nil then
  3385. RootPart.CFrame = FaceMouse()[1]
  3386. attack = true
  3387. hum.WalkSpeed = 0
  3388. coroutine.resume(coroutine.create(function()
  3389. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  3390. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  3391. local vel = Instance.new("BodyPosition", targetted.Head)
  3392. vel.P = 12500
  3393. vel.D = 1000
  3394. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  3395. vel.position = targetted.Head.CFrame.p
  3396. end))
  3397. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  3398. for i = 0,4,0.1 do
  3399. swait()
  3400. sphere2(4,"Add",sorb2.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,0.125,-0.01,MAINRUINCOLOR)
  3401. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3402. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3403. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3404. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3405. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.2)
  3406. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.2)
  3407. end
  3408. coroutine.resume(coroutine.create(function()
  3409. CameraEnshaking(6,5)
  3410. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  3411. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  3412. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  3413. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  3414. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3415. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3416. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3417. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3418. coroutine.resume(coroutine.create(function()
  3419. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3420. eff.Texture = "rbxassetid://363275192"
  3421. eff.LightEmission = 0.95
  3422. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3423. eff.Rate = 10000
  3424. eff.Lifetime = NumberRange.new(1.5)
  3425. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  3426. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3427. eff.Speed = NumberRange.new(25,150)
  3428. eff.Drag = 5
  3429. eff.Rotation = NumberRange.new(-500,500)
  3430. eff.VelocitySpread = 9000
  3431. eff.RotSpeed = NumberRange.new(-50,50)
  3432. local eff2 = eff:Clone()
  3433. eff2.Parent = targetted.Head
  3434. eff2.Texture = "rbxassetid://284205403"
  3435. eff2.Rate = 10000
  3436. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3437. eff2.Drag = 5
  3438. eff2.Rotation = NumberRange.new(-500,500)
  3439. eff2.VelocitySpread = 9000
  3440. wait(0.5)
  3441. eff2.Enabled = false
  3442. eff.Enabled = false
  3443. end))
  3444. for i = 0, 9 do
  3445. sphere2(3,"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(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR)
  3446. end
  3447. for i = 0, 49 do
  3448. local rsiz = math.random(10,50)
  3449. sphereMK(math.random(1,4),1,"Add",targetted.Head.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)
  3450. end
  3451. game:GetService("Debris"):AddItem(vel,1)
  3452. dmg(targetted)
  3453. end))
  3454. for i = 0,1,0.1 do
  3455. swait()
  3456. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  3457. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  3458. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5)
  3459. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-50)), 0.5)
  3460. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
  3461. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.5)
  3462. end
  3463. attack = false
  3464. hum.WalkSpeed = storehumanoidWS
  3465. end
  3466. end
  3467.  
  3468. function supsmiter()
  3469. local targetted = nil
  3470. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3471. targetted = mouse.Target.Parent
  3472. end
  3473. if targetted ~= nil then
  3474. RootPart.CFrame = FaceMouse()[1]
  3475. attack = true
  3476. hum.WalkSpeed = 0
  3477. coroutine.resume(coroutine.create(function()
  3478. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  3479. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  3480. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.2,0.2,0.2,MAINRUINCOLOR)
  3481. local vel = Instance.new("BodyPosition", targetted.Head)
  3482. vel.P = 12500
  3483. vel.D = 1000
  3484. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  3485. vel.position = targetted.Head.CFrame.p
  3486. end))
  3487. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb2, 2.5, 0.25)
  3488. for i = 0,14,0.1 do
  3489. swait()
  3490. rsiz = math.random(5,15)
  3491. sphereMK(math.random(3,9),0.25,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,-15)
  3492. sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1.5,1.5),-0.01,0.15,-0.01,MAINRUINCOLOR)
  3493. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3494. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3495. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3496. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3497. 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),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3498. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3499. end
  3500. coroutine.resume(coroutine.create(function()
  3501. CameraEnshaking(6,5)
  3502. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  3503. MagniDamage(targetted.Head, 9, 18000,30000, 0, "Normal")
  3504. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 5.5, 0.8)
  3505. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 5.25, 0.8)
  3506. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 4, 0.8)
  3507. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3508. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3509. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3510. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3511. coroutine.resume(coroutine.create(function()
  3512. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3513. eff.Texture = "rbxassetid://363275192"
  3514. eff.LightEmission = 0.95
  3515. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3516. eff.Rate = 10000
  3517. eff.Lifetime = NumberRange.new(1.5)
  3518. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  3519. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3520. eff.Speed = NumberRange.new(25,150)
  3521. eff.Drag = 5
  3522. eff.Rotation = NumberRange.new(-500,500)
  3523. eff.VelocitySpread = 9000
  3524. eff.RotSpeed = NumberRange.new(-50,50)
  3525. local eff2 = eff:Clone()
  3526. eff2.Parent = targetted.Head
  3527. eff2.Texture = "rbxassetid://284205403"
  3528. eff2.Rate = 10000
  3529. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3530. eff2.Drag = 5
  3531. eff2.Rotation = NumberRange.new(-500,500)
  3532. eff2.VelocitySpread = 9000
  3533. wait(0.5)
  3534. eff2.Enabled = false
  3535. eff.Enabled = false
  3536. end))
  3537. for i = 0, 9 do
  3538. sphere2(3,"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(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR)
  3539. end
  3540. for i = 0, 49 do
  3541. local rsiz = math.random(10,50)
  3542. sphereMK(math.random(1,4),1,"Add",targetted.Head.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)
  3543. end
  3544. wait(0.75)
  3545. CameraEnshaking(6,6)
  3546. MagniDamage(targetted.Head, 20, 25,40, 0, "Normal")
  3547. MagniDamage(targetted.Head, 12, 18000,30000, 0, "Normal")
  3548. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.7)
  3549. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.7)
  3550. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.7)
  3551. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.5,0,0.5,MAINRUINCOLOR)
  3552. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.5,0,0.5,MAINRUINCOLOR)
  3553. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.75,0.75,0.75,MAINRUINCOLOR)
  3554. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.75,0.75,0.75,MAINRUINCOLOR)
  3555. coroutine.resume(coroutine.create(function()
  3556. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3557. eff.Texture = "rbxassetid://363275192"
  3558. eff.LightEmission = 0.95
  3559. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3560. eff.Rate = 10000
  3561. eff.Lifetime = NumberRange.new(1.5)
  3562. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,35,0),NumberSequenceKeypoint.new(1,0,0)})
  3563. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3564. eff.Speed = NumberRange.new(25,250)
  3565. eff.Drag = 5
  3566. eff.Rotation = NumberRange.new(-500,500)
  3567. eff.VelocitySpread = 9000
  3568. eff.RotSpeed = NumberRange.new(-50,50)
  3569. local eff2 = eff:Clone()
  3570. eff2.Parent = targetted.Head
  3571. eff2.Texture = "rbxassetid://284205403"
  3572. eff2.Rate = 10000
  3573. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3574. eff2.Drag = 5
  3575. eff2.Rotation = NumberRange.new(-500,500)
  3576. eff2.VelocitySpread = 9000
  3577. wait(0.5)
  3578. eff2.Enabled = false
  3579. eff.Enabled = false
  3580. end))
  3581. for i = 0, 9 do
  3582. sphere2(3,"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(2,1,2),-0.02,4.5,-0.02,MAINRUINCOLOR)
  3583. end
  3584. for i = 0, 49 do
  3585. local rsiz = math.random(15,55)
  3586. sphereMK(math.random(1,4),1.5,"Add",targetted.Head.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)
  3587. end
  3588. wait(0.75)
  3589. CameraEnshaking(6,7)
  3590. MagniDamage(targetted.Head, 23, 40,80, 0, "Normal")
  3591. MagniDamage(targetted.Head, 15, 18000,30000, 0, "Normal")
  3592. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 7.5, 0.6)
  3593. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 7.25, 0.6)
  3594. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 6, 0.6)
  3595. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.75,0,0.75,MAINRUINCOLOR)
  3596. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.75,0,0.75,MAINRUINCOLOR)
  3597. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),1,1,1,MAINRUINCOLOR)
  3598. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),1,1,1,MAINRUINCOLOR)
  3599. coroutine.resume(coroutine.create(function()
  3600. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3601. eff.Texture = "rbxassetid://363275192"
  3602. eff.LightEmission = 0.95
  3603. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3604. eff.Rate = 10000
  3605. eff.Lifetime = NumberRange.new(1.5)
  3606. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  3607. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3608. eff.Speed = NumberRange.new(50,450)
  3609. eff.Drag = 5
  3610. eff.Rotation = NumberRange.new(-500,500)
  3611. eff.VelocitySpread = 9000
  3612. eff.RotSpeed = NumberRange.new(-50,50)
  3613. local eff2 = eff:Clone()
  3614. eff2.Parent = targetted.Head
  3615. eff2.Texture = "rbxassetid://284205403"
  3616. eff2.Rate = 10000
  3617. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3618. eff2.Drag = 5
  3619. eff2.Rotation = NumberRange.new(-500,500)
  3620. eff2.VelocitySpread = 9000
  3621. wait(0.5)
  3622. eff2.Enabled = false
  3623. eff.Enabled = false
  3624. end))
  3625. for i = 0, 9 do
  3626. sphere2(3,"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(2,1,2),-0.02,6,-0.02,MAINRUINCOLOR)
  3627. end
  3628. for i = 0, 49 do
  3629. local rsiz = math.random(20,60)
  3630. sphereMK(math.random(1,4),2,"Add",targetted.Head.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)
  3631. end
  3632. dmg(targetted)
  3633. game:GetService("Debris"):AddItem(vel,1)
  3634. end))
  3635. for i = 0,7,0.1 do
  3636. swait()
  3637. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  3638. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.5)
  3639. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5)
  3640. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-60)), 0.5)
  3641. 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),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.5)
  3642. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.5)
  3643. end
  3644. attack = false
  3645. hum.WalkSpeed = storehumanoidWS
  3646. end
  3647. end
  3648.  
  3649. function BinaryBLINK()
  3650. for i = 0, 9 do
  3651. sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
  3652. end
  3653. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3654. coroutine.resume(coroutine.create(function()
  3655. local eff = Instance.new("ParticleEmitter",root)
  3656. eff.Texture = "rbxassetid://1175838406"
  3657. eff.LightEmission = 0.95
  3658. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3659. eff.Rate = 10000
  3660. eff.Lifetime = NumberRange.new(1)
  3661. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  3662. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3663. eff.Speed = NumberRange.new(30,160)
  3664. eff.Drag = 5
  3665. eff.Rotation = NumberRange.new(-500,500)
  3666. eff.VelocitySpread = 100000
  3667. wait(0.25)
  3668. eff.Enabled = false
  3669. wait(4)
  3670. eff:Destroy()
  3671. end))
  3672. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3673. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3674. CameraEnshaking(2,10)
  3675. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
  3676. if v:FindFirstChild('Head') then
  3677. dmg(v)
  3678. end
  3679. end
  3680. for i = 0, 9 do
  3681. sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
  3682. end
  3683. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3684. end
  3685.  
  3686. function BinaryE()
  3687. local posit = -2
  3688. attack = true
  3689. hum.WalkSpeed = 5
  3690. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  3691. for i = 0,2,0.1 do
  3692. swait()
  3693. sphere2(7,"Add",sorb2.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,0.075,-0.01,MAINRUINCOLOR)
  3694. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  3695. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  3696. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  3697. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  3698. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
  3699. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  3700. end
  3701. for i = 0, 2 do
  3702. CameraEnshaking(1,2)
  3703. local hite = Instance.new("Part", char)
  3704. hite.Anchored = true
  3705. hite.CanCollide = false
  3706. hite.FormFactor = 3
  3707. hite.Name = "Ring"
  3708. hite.Material = "Neon"
  3709. hite.Size = Vector3.new(1, 1, 1)
  3710. hite.Transparency = 1
  3711. hite.TopSurface = 0
  3712. hite.BottomSurface = 0
  3713. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  3714. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  3715. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  3716. coroutine.resume(coroutine.create(function()
  3717. local eff = Instance.new("ParticleEmitter",hite)
  3718. eff.Texture = "rbxassetid://1175838406"
  3719. eff.LightEmission = 0.95
  3720. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3721. eff.Rate = 1000
  3722. eff.Lifetime = NumberRange.new(1)
  3723. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  3724. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3725. eff.Speed = NumberRange.new(10,50)
  3726. eff.Drag = 5
  3727. eff.Rotation = NumberRange.new(-500,500)
  3728. eff.VelocitySpread = 100000
  3729. wait(0.25)
  3730. eff.Enabled = false
  3731. end))
  3732. coroutine.resume(coroutine.create(function()
  3733. for i = 0, 1 do
  3734. swait()
  3735. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3736. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3737. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3738. end
  3739. end))
  3740. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(2,2,2),0.5,-0.01,-0.01,MAINRUINCOLOR)
  3741. MagniDamage(hite, 3, 30,40, 0, "Normal")
  3742. game:GetService("Debris"):AddItem(hite, 5)
  3743. posit = posit + 2
  3744. end
  3745. for i = 0,1,0.1 do
  3746. swait()
  3747. sphere2(7,"Add",sorb2.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,0.075,-0.01,MAINRUINCOLOR)
  3748. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  3749. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  3750. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  3751. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  3752. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
  3753. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  3754. end
  3755. for i = 0,1,0.1 do
  3756. swait()
  3757. sphere2(7,"Add",sorb2.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,0.075,-0.01,MAINRUINCOLOR)
  3758. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,0)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  3759. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  3760. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  3761. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  3762. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(30)),.5)
  3763. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(40)),.5)
  3764. end
  3765. posit = -6
  3766. for i = 0, 6 do
  3767. CameraEnshaking(1,3)
  3768. local hite = Instance.new("Part", char)
  3769. hite.Anchored = true
  3770. hite.CanCollide = false
  3771. hite.FormFactor = 3
  3772. hite.Name = "Ring"
  3773. hite.Material = "Neon"
  3774. hite.Size = Vector3.new(1, 1, 1)
  3775. hite.Transparency = 1
  3776. hite.TopSurface = 0
  3777. hite.BottomSurface = 0
  3778. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  3779. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  3780. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  3781. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),-0.01,1,-0.01,MAINRUINCOLOR)
  3782. coroutine.resume(coroutine.create(function()
  3783. local eff = Instance.new("ParticleEmitter",hite)
  3784. eff.Texture = "rbxassetid://1175838406"
  3785. eff.LightEmission = 0.95
  3786. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3787. eff.Rate = 1000
  3788. eff.Lifetime = NumberRange.new(1)
  3789. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  3790. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3791. eff.Speed = NumberRange.new(20,70)
  3792. eff.Drag = 5
  3793. eff.Rotation = NumberRange.new(-500,500)
  3794. eff.VelocitySpread = 100000
  3795. wait(0.25)
  3796. eff.Enabled = false
  3797. end))
  3798. coroutine.resume(coroutine.create(function()
  3799. for i = 0, 2 do
  3800. swait()
  3801. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3802. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3803. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3804. end
  3805. end))
  3806. MagniDamage(hite, 5, 40,70, 0, "Normal")
  3807. game:GetService("Debris"):AddItem(hite, 5)
  3808. posit = posit + 2
  3809. end
  3810. for i = 0,1,0.1 do
  3811. swait()
  3812. sphere2(7,"Add",sorb2.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,0.075,-0.01,MAINRUINCOLOR)
  3813. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  3814. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  3815. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  3816. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  3817. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(10),math.rad(-10)),.5)
  3818. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(60)),.5)
  3819. end
  3820. hum.WalkSpeed = storehumanoidWS
  3821. attack = false
  3822. end
  3823. function AZUREFINALE()
  3824. attack = true
  3825. duringend = true
  3826. hum.WalkSpeed = 0
  3827. CFuncs["Sound"].Create("rbxassetid://1117054464", char, 7.5, 0.75)
  3828. CFuncs["LongSound"].Create("rbxassetid://1042700914", char, 3.5, 0.05)
  3829. local hite = Instance.new("Part", char)
  3830. hite.Anchored = true
  3831. hite.CanCollide = false
  3832. hite.FormFactor = 3
  3833. hite.Name = "Ring"
  3834. hite.Material = "Neon"
  3835. hite.Size = Vector3.new(1, 1, 1)
  3836. hite.Transparency = 0
  3837. hite.TopSurface = 0
  3838. hite.BottomSurface = 0
  3839. hite.BrickColor = MAINRUINCOLOR
  3840. local orbm = Instance.new("SpecialMesh", hite)
  3841. orbm.MeshType = "Sphere"
  3842. orbm.Name = "SizeMesh"
  3843. orbm.Scale = vt(0,0,0)
  3844. hite.CFrame = root.CFrame*CFrame.new(0,200,0)
  3845. for i = 0,70,0.1 do
  3846. swait()
  3847. orbm.Scale = orbm.Scale + vt(0.5,0.5,0.5)
  3848. rsiz = math.random(10,45)
  3849. kan.Volume = kan.Volume + 0.01
  3850. kan.Pitch = kan.Pitch - 0.00135
  3851. sphereMK(math.random(1,4),2.5,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/2,rsiz/2,rsiz/2,0,MAINRUINCOLOR,-300)
  3852. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,1.5,10),-0.01,10,-0.01,MAINRUINCOLOR)
  3853. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3854. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3855. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3856. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3857. 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),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3858. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3859. end
  3860. kan.Pitch = 0.1
  3861. hite.Transparency = 1
  3862. for i = 0,2 do
  3863. CFuncs["LongSound"].Create("rbxassetid://324849898", char, 10,0.9)
  3864. end
  3865. CFuncs["LongSound"].Create("rbxassetid://1117054464", char, 5, 0.75)
  3866. sphere2(1,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),-5,-5,-5,MAINRUINCOLOR)
  3867. sphere2(1,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),2,2,2,MAINRUINCOLOR)
  3868. sphere2(2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),3,3,3,MAINRUINCOLOR)
  3869. coroutine.resume(coroutine.create(function()
  3870. local eff = Instance.new("ParticleEmitter",hite)
  3871. eff.Texture = "rbxassetid://284205403"
  3872. eff.LightEmission = 0.95
  3873. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3874. eff.Rate = 10000
  3875. eff.Lifetime = NumberRange.new(5)
  3876. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,100,0),NumberSequenceKeypoint.new(1,0,0)})
  3877. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3878. eff.Speed = NumberRange.new(600,1250)
  3879. eff.Drag = 5
  3880. eff.Rotation = NumberRange.new(-500,500)
  3881. eff.VelocitySpread = 9000
  3882. eff.RotSpeed = NumberRange.new(-500,500)
  3883. wait(1)
  3884. eff.Enabled = false
  3885. end))
  3886. for i = 0,5,0.1 do
  3887. swait()
  3888. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3889. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3890. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3891. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3892. 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),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3893. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3894. end
  3895. local adsc = 0
  3896. local radiatezone = 0
  3897. for i = 0,20,0.1 do
  3898. swait()
  3899. adsc = adsc + 0.025
  3900. radiatezone = radiatezone + 1.25
  3901. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  3902. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  3903. if v:FindFirstChild('Head') then
  3904. dmg(v)
  3905. end
  3906. end
  3907. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3908. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3909. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3910. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3911. 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),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3912. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3913. end
  3914. for i = 0,2 do
  3915. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.9)
  3916. end
  3917. for i = 0,40,0.1 do
  3918. swait()
  3919. adsc = adsc + 0.05
  3920. radiatezone = radiatezone + 2.5
  3921. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  3922. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  3923. if v:FindFirstChild('Head') then
  3924. dmg(v)
  3925. end
  3926. end
  3927. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3928. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3929. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3930. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3931. 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),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3932. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3933. end
  3934. for i = 0,4 do
  3935. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.75)
  3936. CFuncs["LongSound"].Create("rbxassetid://923073285", char, 1.25,0.75)
  3937. end
  3938. for i = 0,80,0.1 do
  3939. swait()
  3940. adsc = adsc + 0.075
  3941. radiatezone = radiatezone + 3.75
  3942. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  3943. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  3944. if v:FindFirstChild('Head') then
  3945. dmg(v)
  3946. end
  3947. end
  3948. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3949. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3950. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3951. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3952. 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),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3953. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3954. end
  3955. hite:Destroy()
  3956. duringend = false
  3957. hum.WalkSpeed = storehumanoidWS
  3958. attack = false
  3959. end
  3960.  
  3961. function GalacticalBeams()
  3962. attack = true
  3963. local keptcolor = MAINRUINCOLOR
  3964. coroutine.resume(coroutine.create(function()
  3965. for i = 0, 0 do
  3966. swait(10)
  3967. local orb = Instance.new("Part", char)
  3968. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  3969. orb.BrickColor = keptcolor
  3970. orb.CanCollide = false
  3971. orb.FormFactor = 3
  3972. orb.Name = "Ring"
  3973. orb.Material = "Neon"
  3974. orb.Size = Vector3.new(1, 1, 1)
  3975. orb.Transparency = 1
  3976. orb.TopSurface = 0
  3977. orb.BottomSurface = 0
  3978. orb.Anchored = true
  3979. local orbm = Instance.new("SpecialMesh", orb)
  3980. orbm.MeshType = "Sphere"
  3981. orbm.Name = "SizeMesh"
  3982. orbm.Scale = vt(1.25,1.25,1.25)
  3983. orb.CFrame = root.CFrame*CFrame.new(math.random(-25,25),math.random(75,150),math.random(-25,25))
  3984. coroutine.resume(coroutine.create(function()
  3985. orb.Transparency = 1
  3986. local a = Instance.new("Part",char)
  3987. a.Name = "Direction"
  3988. a.Anchored = true
  3989. a.BrickColor = keptcolor
  3990. a.Material = "Neon"
  3991. a.Transparency = 1
  3992. a.Shape = "Cylinder"
  3993. local x = Instance.new("Part",char)
  3994. x.Name = "Direction"
  3995. x.Anchored = true
  3996. x.BrickColor = keptcolor
  3997. x.Material = "Neon"
  3998. x.Transparency = 1
  3999. x.Shape = "Cylinder"
  4000. local ht = Instance.new("Part",char)
  4001. ht.Name = "DirectionHit"
  4002. ht.Anchored = true
  4003. ht.BrickColor = keptcolor
  4004. ht.CanCollide = false
  4005. ht.Transparency = 1
  4006. ht.Size = vt(0.1,0.1,0.1)
  4007. a.CanCollide = false
  4008. local ray = Ray.new(
  4009. orb.CFrame.p, -- origin
  4010. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4011. )
  4012. local ignore = char
  4013. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4014. a.BottomSurface = 10
  4015. a.TopSurface = 10
  4016. local distance = (orb.CFrame.p - position).magnitude
  4017. a.Size = Vector3.new(distance,1,1)
  4018. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4019. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4020. x.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4021. local poste = 0
  4022. local rotation = 0
  4023. CFuncs["Sound"].Create("rbxassetid://153092315", char, 1.5, 1)
  4024. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(5,5,5),2.5,2.5,0,keptcolor)
  4025. CameraEnshaking(2,2)
  4026. for i = 0, 49 do
  4027. swait()
  4028. rotation = rotation + 5
  4029. poste = poste + 1
  4030. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4031. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4032. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4033. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4034. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4035. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4036. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4037. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4038. end
  4039. local A1 = Instance.new("Attachment",x)
  4040. local A2 = Instance.new("Attachment",ht)
  4041. local Beem = Instance.new("Beam",ht)
  4042. Beem.Attachment0 = A1
  4043. Beem.Attachment1 = A2
  4044. Beem.LightEmission = 1
  4045. Beem.FaceCamera = true
  4046. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, 0),NumberSequenceKeypoint.new(0.975, 0),NumberSequenceKeypoint.new(1, 1)})
  4047. Beem.Width0 = 125
  4048. Beem.Width1 = 125
  4049. Beem.Texture = "rbxassetid://1134824633"
  4050. Beem.TextureMode = "Wrap"
  4051. Beem.TextureLength = 200
  4052. Beem.TextureSpeed = 1.5
  4053. Beem.Color = ColorSequence.new(keptcolor.Color)
  4054. CameraEnshaking(3,6)
  4055. CFuncs["Sound"].Create("rbxassetid://294188875", char, 2, 1.5)
  4056. a.Transparency = 0.25
  4057. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  4058. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  4059. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  4060. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  4061. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
  4062. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
  4063. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  4064. local eff = Instance.new("ParticleEmitter",ht)
  4065. eff.Texture = "rbxassetid://284205403"
  4066. eff.LightEmission = 0.95
  4067. eff.Color = ColorSequence.new(keptcolor.Color)
  4068. eff.Rate = 500
  4069. eff.Lifetime = NumberRange.new(1)
  4070. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.2,35,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4071. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4072. eff.Speed = NumberRange.new(80,500)
  4073. eff.Drag = 5
  4074. eff.Rotation = NumberRange.new(-500,500)
  4075. eff.VelocitySpread = 9000
  4076. eff.RotSpeed = NumberRange.new(-500,500)
  4077. for i = 0, 24 do
  4078. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  4079. local rsiz = math.random(10,50)
  4080. sphereMK(math.random(3,6),1.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  4081. end
  4082. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4083. local msh = Instance.new("SpecialMesh",a)
  4084. msh.MeshType = "Cylinder"
  4085. msh.Scale = vt(1,15,15)
  4086. for i = 0, 49 do
  4087. swait()
  4088. CameraEnshaking(1,4)
  4089. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  4090. rotation = rotation + 5
  4091. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  4092. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  4093. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(25,25,5),1,1,0,keptcolor)
  4094. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4095. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4096. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4097. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4098. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4099. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4100. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4101. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4102. for i = 0, 2 do
  4103. local rsiz = math.random(50,250)
  4104. sphereMK(math.random(3,6),math.random(2,4),"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  4105. end
  4106. msh.Scale = msh.Scale + vt(0,0.25,0.25)
  4107. end
  4108. eff.Enabled = false
  4109. local visibility = 0
  4110. for i = 0, 49 do
  4111. swait()
  4112. visibility = visibility + 0.02
  4113. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, visibility),NumberSequenceKeypoint.new(0.975, visibility),NumberSequenceKeypoint.new(1, 1)})
  4114. rotation = rotation + 5
  4115. poste = poste - 1
  4116. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4117. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4118. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4119. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4120. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4121. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4122. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4123. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4124. msh.Scale = msh.Scale + vt(0,-0.5,-0.5)
  4125. a.Transparency = a.Transparency + 0.02
  4126. end
  4127. wait(1)
  4128. orb:Destroy()
  4129. a:Destroy()
  4130. ht:Destroy()
  4131. end))
  4132. game:GetService("Debris"):AddItem(orb, 10)
  4133. end
  4134. end))
  4135. hum.WalkSpeed = storehumanoidWS
  4136. attack = false
  4137. end
  4138.  
  4139.  
  4140. function WarpedDash()
  4141. attack = true
  4142. hum.WalkSpeed = 0
  4143. hum.JumpPower = 0
  4144. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  4145. local poste = 3
  4146. local rotation = 0
  4147. local rate = 0
  4148. for i = 0, 124 do
  4149. swait()
  4150. rotation = rotation + rate
  4151. poste = poste + 0.1
  4152. rate = rate + 0.1
  4153. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  4154. sphere2(8,"Add",root.CFrame*CFrame.new(math.random(-20,20),-3,math.random(-20,20)),vt(1,1,1),-0.01,0.5,-0.01,MAINRUINCOLOR)
  4155. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  4156. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  4157. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  4158. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  4159. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(30)),.5)
  4160. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.5)
  4161. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  4162. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  4163. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  4164. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  4165. end
  4166. CameraEnshaking(3,7)
  4167. local loc = Instance.new("Part", char)
  4168. loc.BrickColor = MAINRUINCOLOR
  4169. loc.CanCollide = false
  4170. loc.FormFactor = 3
  4171. loc.Name = "Ring"
  4172. loc.Material = "Neon"
  4173. loc.Size = Vector3.new(1, 1, 1)
  4174. loc.Transparency = 1
  4175. loc.TopSurface = 0
  4176. loc.BottomSurface = 0
  4177. loc.Anchored = true
  4178. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  4179. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  4180. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  4181. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  4182. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  4183. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  4184. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  4185. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  4186. coroutine.resume(coroutine.create(function()
  4187. local eff = Instance.new("ParticleEmitter",loc)
  4188. eff.Texture = "rbxassetid://363275192"
  4189. eff.LightEmission = 0.95
  4190. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4191. eff.Rate = 10000
  4192. eff.Lifetime = NumberRange.new(1)
  4193. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  4194. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4195. eff.Speed = NumberRange.new(100,500)
  4196. eff.Drag = 5
  4197. eff.Rotation = NumberRange.new(-500,500)
  4198. eff.VelocitySpread = 9000
  4199. eff.RotSpeed = NumberRange.new(-50,50)
  4200. wait(0.5)
  4201. eff.Enabled = false
  4202. end))
  4203. for i = 0, 49 do
  4204. sphere2(math.random(100,300)/100,"Add",loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
  4205. end
  4206. for i = 0, 9 do
  4207. sphere2(3,"Add",loc.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),0),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
  4208. end
  4209. game:GetService("Debris"):AddItem(loc, 5)
  4210. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  4211. hum.WalkSpeed = storehumanoidWS
  4212. hum.JumpPower = 50
  4213. attack = false
  4214. end
  4215.  
  4216. ------------------------------------
  4217. function harmonytaunty()
  4218. attack = true
  4219. hum.WalkSpeed = 0
  4220. CFuncs["Sound"].Create("rbxassetid://430312221", tors, 1.25, 1.15)
  4221. for i = 0,7,0.1 do
  4222. swait()
  4223. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-20 + 6 * math.cos(sine / 34))),.2)
  4224. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(10 - 4 * math.cos(sine / 47))),.2)
  4225. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(-2 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-2 + 4 * math.cos(sine / 62))),.2)
  4226. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 - 3 * math.cos(sine / 28)),math.rad(12 - 3 * math.cos(sine / 79)),math.rad(2 - 4 * math.cos(sine / 62))),.2)
  4227. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.01 * math.cos(sine / 28),-0.1)*angles(math.rad(34 + 2 * math.cos(sine / 33)),math.rad(0),math.rad(-13 - 3 * math.cos(sine / 28))),.2)
  4228. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(80 - 3 * math.cos(sine / 37)),math.rad(0),math.rad(10 + 5 * math.cos(sine / 30))),.2)
  4229. end
  4230. hum.WalkSpeed = storehumanoidWS
  4231. attack = false
  4232. end
  4233.  
  4234. function vistaunty()
  4235. attack = true
  4236. hum.WalkSpeed = 0
  4237. local rd = math.random(1,5)
  4238. if rd == 1 then
  4239. chatfunc("You're familiar with this, arent you?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4240. elseif rd == 2 then
  4241. chatfunc("Dance to the beat. If you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4242. elseif rd == 3 then
  4243. chatfunc("I'm just bored. Don't mess with me.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4244. elseif rd == 4 then
  4245. chatfunc("Ready to dance? If not, come back if you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4246. elseif rd == 5 then
  4247. chatfunc("Ehh, not really into something right now.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4248. end
  4249. for i = 0, 8, 0.1 do
  4250. swait()
  4251. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4)
  4252. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4)
  4253. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(60)),.4)
  4254. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-60)),.4)
  4255. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(90 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(60 - 2 * math.cos(sine / 38))),.4)
  4256. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4)
  4257. end
  4258. hum.WalkSpeed = storehumanoidWS
  4259. attack = false
  4260. end
  4261.  
  4262. function shytaunty()
  4263. attack = true
  4264. hum.WalkSpeed = 0
  4265. CFuncs["Sound"].Create("rbxassetid://543623779", tors, 0.35, 1)
  4266. local blush = Instance.new("Decal",hed)
  4267. blush.Texture = "rbxassetid://898404027"
  4268. blush.Face = "Front"
  4269. for i = 0, 13, 0.1 do
  4270. swait()
  4271. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1)
  4272. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1)
  4273. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1)
  4274. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2 - 2.5 * math.cos(sine / 28)),math.rad(20 + 5 * math.cos(sine / 62)),math.rad(35 + 5 * math.cos(sine / 59))),.1)
  4275. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 1 * math.cos(sine / 53)),math.rad(0),math.rad(-60 + 2 * math.cos(sine / 37))),.1)
  4276. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(26 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(59 - 3 * math.cos(sine / 57) )),.1)
  4277. end
  4278. coroutine.resume(coroutine.create(function()
  4279. for i = 0, 49 do
  4280. swait()
  4281. blush.Transparency = blush.Transparency + 0.02
  4282. end
  4283. blush:Destroy()
  4284. end))
  4285. hum.WalkSpeed = storehumanoidWS
  4286. attack = false
  4287. end
  4288. ------------------------------------ Mode Ascendances
  4289. function UnknownA()
  4290. hum.WalkSpeed = 0
  4291. attack = true
  4292. local keptcolor = MAINRUINCOLOR
  4293. local locat = Instance.new("Part", char)
  4294. locat.CanCollide = false
  4295. locat.FormFactor = 3
  4296. locat.Name = "Ring"
  4297. locat.Material = "Neon"
  4298. locat.Size = Vector3.new(1, 1, 1)
  4299. locat.Transparency = 1
  4300. locat.TopSurface = 0
  4301. locat.BottomSurface = 0
  4302. locat.Anchored = true
  4303. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  4304. local poste = 0
  4305. local rotation = 0
  4306. local upperpos = 0
  4307. local rate = 0
  4308. local x = locat
  4309. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
  4310. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
  4311. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  4312. sphere2(6,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  4313. sphere2(4,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  4314. sphere2(2,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  4315. CameraEnshaking(2,5)
  4316. for i = 0, 49 do
  4317. swait()
  4318. rotation = rotation + 5
  4319. poste = poste + 1
  4320. sphere2(math.random(4,6),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.05,math.random(25,100)/25,-0.05,keptcolor)
  4321. sphere2(8,"Add",tors.CFrame,vt(poste/1.5,poste/1.5,poste/1.5),0.01,0.01,0.01,keptcolor)
  4322. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4323. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4324. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4325. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4326. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4327. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4328. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4329. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4330. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5)
  4331. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
  4332. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5)
  4333. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
  4334. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.5)
  4335. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.5)
  4336. end
  4337. for i = 0, 49 do
  4338. swait()
  4339. rotation = rotation + 5
  4340. sphere2(math.random(4,6),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.05,math.random(25,100)/25,-0.05,keptcolor)
  4341. sphere2(8,"Add",tors.CFrame,vt(poste/1.5,poste/1.5,poste/1.5),0.01,0.01,0.01,keptcolor)
  4342. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4343. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4344. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4345. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4346. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4347. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4348. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4349. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4350. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5)
  4351. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
  4352. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5)
  4353. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
  4354. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.5)
  4355. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.5)
  4356. end
  4357. ModeOfGlitch = 6000000000
  4358. storehumanoidWS = 300
  4359. hum.WalkSpeed = 300
  4360. rainbowmode = false
  4361. chaosmode = false
  4362. RecolorTextAndRename("Catastrophe",BrickColor.new("Mulberry").Color,BrickColor.new("Mulberry").Color,"Highway")
  4363. newThemeCust("rbxassetid://1504604335",0,1.005,1.5)
  4364. MAINRUINCOLOR = BrickColor.new("Magenta")
  4365. keptcolor = MAINRUINCOLOR
  4366. RecolorThing(MAINRUINCOLOR,BrickColor.new("Magenta"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4367. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  4368. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  4369. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(15,0,15),5,0,5,BrickColor.new("Cool yellow"))
  4370. sphere2(2,"Add",x.CFrame*CFrame.new(0,0,0),vt(15,0,15),5,0,5,keptcolor)
  4371. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("White"))
  4372. sphere2(2,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Cool yellow"))
  4373. sphere2(4,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,keptcolor)
  4374. attack = false
  4375. hum.WalkSpeed = storehumanoidWS
  4376. for i = 0, 49 do
  4377. local rsiz = math.random(150,450)
  4378. sphere2(math.random(1,4),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(25,500)/25,-0.05,BrickColor.new("Cool yellow"))
  4379. sphere2(math.random(1,2),"Add",x.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*CFrame.new(math.random(-350,350),math.random(-350,350),math.random(-350,350)),vt(1,1,1),-0.01,math.random(50,250)/10,-0.01,BrickColor.new("Cool yellow"))
  4380. sphereMK(math.random(1,2),math.random(2,4),"Add",x.CFrame*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,BrickColor.new("White"),0)
  4381. end
  4382. coroutine.resume(coroutine.create(function()
  4383. local eff = Instance.new("ParticleEmitter",x)
  4384. eff.Texture = "rbxassetid://284205403"
  4385. eff.LightEmission = 0.95
  4386. eff.Color = ColorSequence.new(BrickColor.new("Cool yellow").Color)
  4387. eff.Rate = 50000
  4388. eff.Lifetime = NumberRange.new(2.5)
  4389. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4390. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4391. eff.Speed = NumberRange.new(250,1000)
  4392. eff.Drag = 5
  4393. eff.Rotation = NumberRange.new(-500,500)
  4394. eff.VelocitySpread = 9000
  4395. eff.RotSpeed = NumberRange.new(-500,500)
  4396. wait(0.5)
  4397. eff.Enabled = false
  4398. end))
  4399. --[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  4400. if v:FindFirstChild('Head') then
  4401. dmg(v)
  4402. end
  4403. end]]--
  4404. sphere2(3,"Add",tors.CFrame,vt(1,1,1),10,10,10,keptcolor)
  4405. sphere2(2,"Add",tors.CFrame,vt(1,1,1),10,10,10,BrickColor.new("Magenta"))
  4406. sphere2(1,"Add",tors.CFrame,vt(1,1,1),10,10,10,BrickColor.new("Mulberry"))
  4407. CameraEnshaking(8,10)
  4408. for i = 0, 99 do
  4409. swait()
  4410. rotation = rotation + 5
  4411. poste = poste + 1
  4412. upperpos = upperpos + rate
  4413. rate = rate + 0.1
  4414. sphere2(math.random(1,2),"Add",x.CFrame*CFrame.new(math.random(-350,350),0,math.random(-350,350)),vt(5,1,5),-0.05,math.random(50,250)/50,-0.05,keptcolor)
  4415. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow"))
  4416. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90+rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow"))
  4417. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180+rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow"))
  4418. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270+rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow"))
  4419. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
  4420. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
  4421. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
  4422. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
  4423. end
  4424. x:Destroy()
  4425. end
  4426.  
  4427. function loveydovey()
  4428. CameraEnshaking(4,9)
  4429. sphere2(2,"Add",root.CFrame,vt(5,5,5),0.5,0.5,0.5,keptcolor)
  4430. sphere2(2,"Add",root.CFrame,vt(5,5,5),0.75,0.75,0.75,keptcolor)
  4431. sphere2(3,"Add",root.CFrame,vt(5,5,5),1,1,1,keptcolor)
  4432. sphere2(3,"Add",root.CFrame,vt(5,5,5),1.25,1.25,1.25,keptcolor)
  4433. sphere2(1,"Add",root.CFrame,vt(5,10000,5),0.5,0.5,0.5,keptcolor)
  4434. sphere2(2,"Add",root.CFrame,vt(5,10000,5),0.6,0.6,0.6,keptcolor)
  4435. CFuncs["Sound"].Create("rbxassetid://763717897", char, 0.75, 1.25)
  4436. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 0.75, 1)
  4437. coroutine.resume(coroutine.create(function()
  4438. local eff = Instance.new("ParticleEmitter",root)
  4439. eff.Texture = "rbxassetid://363275192"
  4440. eff.LightEmission = 0.95
  4441. eff.Color = ColorSequence.new(keptcolor.Color)
  4442. eff.Rate = 10000
  4443. eff.Lifetime = NumberRange.new(1)
  4444. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  4445. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4446. eff.Speed = NumberRange.new(50,200)
  4447. eff.Drag = 5
  4448. eff.Rotation = NumberRange.new(-500,500)
  4449. eff.VelocitySpread = 9000
  4450. eff.RotSpeed = NumberRange.new(-50,50)
  4451. wait(0.5)
  4452. eff.Enabled = false
  4453. wait(5)
  4454. eff:Destroy()
  4455. end))
  4456. for i = 0, 49 do
  4457. local rsiz = math.random(70,90)
  4458. sphere2(math.random(1,4),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.005,math.random(25,100)/25,-0.005,MAINRUINCOLOR)
  4459. end
  4460. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  4461. CFuncs["Sound"].Create("rbxassetid://543623779", root, 1.5,1)
  4462. newTheme("rbxassetid://736003449",0,1,2)
  4463. ModeOfGlitch = 9600000000
  4464. MAINRUINCOLOR = BrickColor.new("Hot pink")
  4465. for i = 0, 1, 0.2 do
  4466. swait()
  4467. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  4468. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  4469. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  4470. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8)
  4471. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8)
  4472. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8)
  4473. end
  4474. for i = 0, 9, 0.1 do
  4475. swait()
  4476. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
  4477. 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),math.rad(0)),.1)
  4478. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4479. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  4480. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  4481. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  4482. end
  4483. CameraEnshaking(2,11)
  4484. sphere2(2,"Add",root.CFrame,vt(5,5,5),0.75,0.75,0.75,BrickColor.new("Pink"))
  4485. sphere2(2,"Add",root.CFrame,vt(5,5,5),1,1,1,BrickColor.new("Pink"))
  4486. sphere2(3,"Add",root.CFrame,vt(5,5,5),1.25,1.25,1.25,MAINRUINCOLOR)
  4487. sphere2(3,"Add",root.CFrame,vt(5,5,5),1.5,1.5,1.5,MAINRUINCOLOR)
  4488. sphere2(1,"Add",root.CFrame,vt(5,10000,5),0.5,0.5,0.5,BrickColor.new("Pink"))
  4489. sphere2(2,"Add",root.CFrame,vt(5,10000,5),1,1,1,MAINRUINCOLOR)
  4490. CFuncs["Sound"].Create("rbxassetid://763717897", char, 1, 1.125)
  4491. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 0.75)
  4492. for i = 0, 49 do
  4493. local rsiz = math.random(70,90)
  4494. sphere2(math.random(1,4),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.005,math.random(50,200)/25,-0.005,MAINRUINCOLOR)
  4495. sphereMK(math.random(1,2),math.random(1,3),"Add",root.CFrame*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,BrickColor.new("Pink"),0)
  4496. end
  4497. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  4498. for i = 0, 1, 0.2 do
  4499. swait()
  4500. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  4501. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  4502. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  4503. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8)
  4504. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8)
  4505. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8)
  4506. end
  4507. for i = 0, 1, 0.1 do
  4508. swait()
  4509. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
  4510. 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),math.rad(0)),.1)
  4511. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4512. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  4513. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  4514. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  4515. end
  4516. CameraEnshaking(9,14)
  4517. sphere2(4,"Add",root.CFrame,vt(5,5,5),1,1,1,BrickColor.new("Pink"))
  4518. sphere2(4,"Add",root.CFrame,vt(5,5,5),2,2,2,BrickColor.new("Pink"))
  4519. sphere2(9,"Add",root.CFrame,vt(5,5,5),3,3,3,MAINRUINCOLOR)
  4520. sphere2(9,"Add",root.CFrame,vt(5,5,5),4,4,4,MAINRUINCOLOR)
  4521. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  4522. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  4523. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4524. sphere2(1,"Add",root.CFrame,vt(5,5,5),2,2,2,BrickColor.new("Pink"))
  4525. sphere2(1,"Add",root.CFrame,vt(5,5,5),3,3,3,BrickColor.new("Pink"))
  4526. sphere2(1,"Add",root.CFrame,vt(5,5,5),4,4,4,BrickColor.new("Pink"))
  4527. sphere2(1,"Add",root.CFrame,vt(5,10000,5),2.5,2.5,2.5,BrickColor.new("Pink"))
  4528. sphere2(2,"Add",root.CFrame,vt(5,10000,5),3.5,3.5,3.5,MAINRUINCOLOR)
  4529. sphere2(1,"Add",root.CFrame,vt(5,5,5),8,8,8,BrickColor.new("Pink"))
  4530. sphere2(2,"Add",root.CFrame,vt(5,5,5),14,14,14,MAINRUINCOLOR)
  4531. sphere2(3,"Add",root.CFrame,vt(5,5,5),20,20,20,MAINRUINCOLOR)
  4532. for i = 0, 99 do
  4533. local rsiz = math.random(150,450)
  4534. sphere2(math.random(1,4),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(25,500)/25,-0.05,BrickColor.new("Pink"))
  4535. sphere2(math.random(1,2),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*CFrame.new(math.random(-350,350),math.random(-350,350),math.random(-350,350)),vt(1,1,1),-0.01,math.random(50,250)/10,-0.01,MAINRUINCOLOR)
  4536. sphereMK(math.random(1,2),math.random(4,6),"Add",root.CFrame*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,BrickColor.new("Pink"),0)
  4537. end
  4538. coroutine.resume(coroutine.create(function()
  4539. local eff = Instance.new("ParticleEmitter",root)
  4540. eff.Texture = "rbxassetid://749327003"
  4541. eff.LightEmission = 1
  4542. eff.Color = ColorSequence.new(BrickColor.new("Pink").Color)
  4543. eff.Rate = 50000
  4544. eff.Lifetime = NumberRange.new(5)
  4545. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,60,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4546. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4547. eff.Speed = NumberRange.new(250,1000)
  4548. eff.Drag = 5
  4549. eff.Rotation = NumberRange.new(-50,50)
  4550. eff.VelocitySpread = 9000
  4551. eff.RotSpeed = NumberRange.new(-50,50)
  4552. wait(0.5)
  4553. eff.Enabled = false
  4554. wait(5)
  4555. eff:Destroy()
  4556. end))
  4557. storehumanoidWS = 20
  4558. rainbowmode = false
  4559. chaosmode = false
  4560. RecolorTextAndRename("Nah I Rather Not Name This",BrickColor.new("Pink").Color,BrickColor.new("Hot pink").Color,"Cartoon")
  4561. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4562. for i = 0, 10, 0.1 do
  4563. swait()
  4564. sphere2(math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-350,350),0,math.random(-350,350)),vt(5,1,5),-0.05,math.random(50,250)/50,-0.05,MAINRUINCOLOR)
  4565. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  4566. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  4567. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  4568. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(0),math.rad(0)),.8)
  4569. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8)
  4570. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8)
  4571. end
  4572. hum.WalkSpeed = 20
  4573. attack = false
  4574. end
  4575. -------------------------------------
  4576.  
  4577. Humanoid.Animator.Parent = nil
  4578.  
  4579. -------------------------------------
  4580.  
  4581. local attacktype = 1
  4582. mouse.Button1Down:connect(function()
  4583. if attack == false and attacktype == 1 then
  4584. attacktype = 2
  4585. attackone()
  4586. elseif attack == false and attacktype == 2 then
  4587. attacktype = 3
  4588. attacktwo()
  4589. elseif attack == false and attacktype == 3 then
  4590. attacktype = 1
  4591. attackthree()
  4592. elseif attack == false and attacktype == 4 then
  4593. attacktype = 1
  4594. --attackfour()
  4595. end
  4596. end)
  4597.  
  4598. local OVMID = 1702473314
  4599. local OVMPIT = 1
  4600. local OVMVOL = 1
  4601. mouse.KeyDown:connect(function(k)
  4602. if k == "g" and attack == false and ModeOfGlitch ~= 1 then
  4603. resetmode()
  4604. end
  4605. if k == "h" and attack == false and ModeOfGlitch ~= 2 then
  4606. ModeOfGlitch = 2
  4607. storehumanoidWS = 16
  4608. hum.WalkSpeed = 16
  4609. rainbowmode = false
  4610. chaosmode = false
  4611. RecolorTextAndRename("Solitude",Color3.new(0,0,0),BrickColor.new("Really black").Color,"Code")
  4612. newTheme("rbxassetid://1564523997",0,1.02,1.25)
  4613. MAINRUINCOLOR = BrickColor.new("Really black")
  4614. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4615. end
  4616. if k == "j" and attack == false and ModeOfGlitch ~= 3 then
  4617.  
  4618. storehumanoidWS = 16
  4619. hum.WalkSpeed = 16
  4620. rainbowmode = false
  4621. chaosmode = false
  4622. RecolorTextAndRename("HaCKeR",Color3.new(0,0,0),Color3.new(0,1,0),"SciFi")
  4623. newTheme("rbxassetid://949709585",0,1.01,1.25)
  4624. MAINRUINCOLOR = BrickColor.new("Dark green")
  4625. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4626. end
  4627. if k == "k" and attack == false and ModeOfGlitch ~= 4 then
  4628. ModeOfGlitch = 4
  4629. storehumanoidWS = 16
  4630. hum.WalkSpeed = 16
  4631. rainbowmode = false
  4632. chaosmode = false
  4633. RecolorTextAndRename("Astra",Color3.new(0,0,0.25),BrickColor.new("Bright yellow").Color,"SourceSansBold")
  4634. newTheme("rbxassetid://275188871",0,1.02,1.25)
  4635. MAINRUINCOLOR = BrickColor.new("Navy blue")
  4636. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4637. end
  4638. if k == "l" and attack == false and ModeOfGlitch ~= 5 then
  4639. ModeOfGlitch = 5
  4640. storehumanoidWS = 16
  4641. hum.WalkSpeed = 16
  4642. rainbowmode = false
  4643. chaosmode = false
  4644. RecolorTextAndRename("Solar",Color3.new(1,0.5,0),Color3.new(1,1,0),"Fantasy")
  4645. newTheme("rbxassetid://2270626831",0,1.01,1.25)
  4646. MAINRUINCOLOR = BrickColor.new("Deep orange")
  4647. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4648. end
  4649. if k == "x" and attack == false and ModeOfGlitch ~= 6 then
  4650. ModeOfGlitch = 6
  4651. storehumanoidWS = 100
  4652. hum.WalkSpeed = 100
  4653. rainbowmode = false
  4654. chaosmode = false
  4655. RecolorTextAndRename("Calamity",Color3.new(0,0,0.5),Color3.new(0.75,1,1),"Fantasy")
  4656. newTheme("rbxassetid://1359036559",0,1,1.25)
  4657. MAINRUINCOLOR = BrickColor.new("Bright violet")
  4658. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4659. end
  4660. if k == "c" and attack == false and ModeOfGlitch ~= 7 then
  4661. ModeOfGlitch = 7
  4662. storehumanoidWS = 175
  4663. hum.WalkSpeed = 175
  4664. rainbowmode = false
  4665. chaosmode = false
  4666. RecolorTextAndRename("LIGHTSPEED",BrickColor.new("Cyan").Color,BrickColor.new("Toothpaste").Color,"Arcade")
  4667. newTheme("rbxassetid://983369349",0,1.01,1.25)
  4668. MAINRUINCOLOR = BrickColor.new("Navy blue")
  4669. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4670. end
  4671. if k == "v" and attack == false and ModeOfGlitch ~= 8 then
  4672. ModeOfGlitch = 8
  4673. storehumanoidWS = 100
  4674. hum.WalkSpeed = 100
  4675. rainbowmode = false
  4676. chaosmode = false
  4677. RecolorTextAndRename("DeStRuCtIoN",BrickColor.new("Really red").Color,BrickColor.new("Bright red").Color,"Antique")
  4678. newTheme("rbxassetid://723652641",0,1.01,1.65)
  4679. MAINRUINCOLOR = BrickColor.new("Really red")
  4680. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4681. end
  4682. if k == "b" and attack == false and ModeOfGlitch ~= 9 then
  4683. ModeOfGlitch = 9
  4684. storehumanoidWS = 135
  4685. hum.WalkSpeed = 135
  4686. rainbowmode = false
  4687. chaosmode = false
  4688. RecolorTextAndRename("Dance Party",BrickColor.new("Medium stone grey").Color,BrickColor.new("Black").Color,"Arcade")
  4689. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  4690. MAINRUINCOLOR = BrickColor.new("Institutional white")
  4691. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4692. end
  4693. if k == "n" and attack == false and ModeOfGlitch ~= 10 then
  4694. ModeOfGlitch = 10
  4695. storehumanoidWS = 12
  4696. hum.WalkSpeed = 12
  4697. rainbowmode = false
  4698. chaosmode = false
  4699. RecolorTextAndRename("Lucid Dream",BrickColor.new("Navy blue").Color,BrickColor.new("Black").Color,"Garamond")
  4700. newTheme("rbxassetid://639429915",0,1.01,1.65)
  4701. MAINRUINCOLOR = BrickColor.new("Black")
  4702. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4703. end
  4704. if k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 2000000000 then
  4705. ModeOfGlitch = 2000000000
  4706. storehumanoidWS = 200
  4707. hum.WalkSpeed = 200
  4708. rainbowmode = false
  4709. chaosmode = false
  4710. RecolorTextAndRename("The Big Black",BrickColor.new("Black").Color,BrickColor.new("Black").Color,"Antique")
  4711. newThemeCust("rbxassetid://183142252",2.9,1.02,1.5)
  4712. MAINRUINCOLOR = BrickColor.new("Really black")
  4713. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4714. end
  4715. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8789 then
  4716. ModeOfGlitch = 8789
  4717. storehumanoidWS = 200
  4718. hum.WalkSpeed = 200
  4719. rainbowmode = false
  4720. chaosmode = false
  4721. RecolorTextAndRename("The Last Chance",BrickColor.new("Neon orange").Color,BrickColor.new("Bright orange").Color,"Antique")
  4722. newThemeCust("rbxassetid://260951229",2.9,1.02,1.5)
  4723. MAINRUINCOLOR = BrickColor.new("Really red")
  4724. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4725. end
  4726. if k == "m" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 9999 then
  4727. ModeOfGlitch = 9999
  4728. storehumanoidWS = 16
  4729. hum.WalkSpeed = 16
  4730. rainbowmode = false
  4731. chaosmode = false
  4732. RecolorTextAndRename("Hypothermia",BrickColor.new("Pastel blue-green").Color,BrickColor.new("Pastel blue-green").Color,"Antique")
  4733. newThemeCust("rbxassetid://324512446",2.9,1.02,1.5)
  4734. MAINRUINCOLOR = BrickColor.new("Pastel blue-green")
  4735. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pastel blue-green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4736. end
  4737. if k == "m" and attack == false and ModeOfGlitch == 10 and ModeOfGlitch ~= 300 then
  4738. ModeOfGlitch = 300
  4739. storehumanoidWS = 16
  4740. hum.WalkSpeed = 16
  4741. rainbowmode = false
  4742. chaosmode = false
  4743. glitchymode = false
  4744. tl1.Enabled = true
  4745. tl2.Enabled = true
  4746. tl3.Enabled = true
  4747. RecolorTextAndRename("Divinity",Color3.new(1,1,1),Color3.new(1,1,0.5))
  4748. newTheme("rbxassetid://661079869",0,1.02,1)
  4749. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'New Yeller' end)
  4750. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'New Yeller' end)
  4751. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  4752. for i, v in pairs(mw2:GetChildren()) do
  4753. if v:IsA("Part") then
  4754. v.BrickColor = MAINRUINCOLOR
  4755. v.Material = "Neon"
  4756. end
  4757. end
  4758. for i, v in pairs(mw1:GetChildren()) do
  4759. if v:IsA("Part") then
  4760. v.Transparency = 0
  4761. v.BrickColor = MAINRUINCOLOR
  4762. v.Material = "Neon"
  4763. end
  4764. end
  4765. for i, v in pairs(m:GetChildren()) do
  4766. if v:IsA("Part") then
  4767. v.BrickColor = BrickColor.new("Cool yellow")
  4768. v.Material = "Ice"
  4769. end
  4770. end
  4771. for i, v in pairs(m2:GetChildren()) do
  4772. if v:IsA("Part") then
  4773. v.BrickColor = BrickColor.new("Bright yellow")
  4774. v.Material = "Ice"
  4775. end
  4776. end
  4777. for i, v in pairs(m3:GetChildren()) do
  4778. if v:IsA("Part") then
  4779. v.BrickColor = BrickColor.new("Bright yellow")
  4780. v.Material = "Neon"
  4781. end
  4782. end
  4783. for i, v in pairs(extrawingmod1:GetChildren()) do
  4784. if v:IsA("Part") then
  4785. v.Transparency = 1
  4786. v.BrickColor = BrickColor.new("White")
  4787. v.Material = "Neon"
  4788. end
  4789. end
  4790. for i, v in pairs(extrawingmod2:GetChildren()) do
  4791. if v:IsA("Part") then
  4792. v.Transparency = 1
  4793. v.BrickColor = BrickColor.new("White")
  4794. v.Material = "Neon"
  4795. end
  4796. end
  4797. if k == "u" and attack == false and ModeOfGlitch ~= 9600000000 then
  4798. loveydovey()
  4799. end
  4800. if k == "z" and attack == false and ModeOfGlitch == 8789 then
  4801. Starfall()
  4802. if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 6000000000 then
  4803. UnknownA()
  4804. end
  4805. if k == "t" and ModeOfGlitch == 6000000000 and attack == false then
  4806. harmonytaunty()
  4807. elseif k == "t" and ModeOfGlitch == 9 and attack == false then
  4808. vistaunty()
  4809. elseif k == "t" and ModeOfGlitch == 9600000000 and attack == false then
  4810. shytaunty()
  4811. end
  4812. if k == "z" and ModeOfGlitch == 1 and attack == false then
  4813. Beams()
  4814. elseif k == "z" and ModeOfGlitch == 2 and attack == false then
  4815. smiter()
  4816. elseif k == "z" and ModeOfGlitch == 2000000000 and attack == false then
  4817. supsmiter()
  4818. elseif k == "z" and ModeOfGlitch == 3 and attack == false then
  4819. BinaryE()
  4820. elseif k == "z" and ModeOfGlitch == 4 and attack == false then
  4821. elseif k == "z" and ModeOfGlitch == 5 and attack == false then
  4822. Fireball()
  4823. elseif k == "z" and ModeOfGlitch == 9999 and attack == false then
  4824. Fireball()
  4825. elseif k == "z" and ModeOfGlitch == 6 and attack == false then
  4826. GalacticalBeams()
  4827. elseif k == "z" and ModeOfGlitch == 7 and attack == false then
  4828. WarpedDash()
  4829. elseif k == "z" and ModeOfGlitch == 8 and attack == false then
  4830. BeamOfDeath()
  4831. elseif k == "q" and ModeOfGlitch == 9999 and attack == false then
  4832. UniversalCollapse()
  4833. end
  4834. end
  4835.  
  4836. if k == "x" and ModeOfGlitch == 3 and attack == false then
  4837.  
  4838. end
  4839. BinaryBLINK()
  4840. end
  4841. if k == "v" and ModeOfGlitch == 2000000000 and attack == false then
  4842. AZUREFINALE()
  4843. end
  4844. if k == "l" and mutedtog == false then
  4845. mutedtog = true
  4846. kan.Volume = 0
  4847. elseif k == "l" and mutedtog == true then
  4848. mutedtog = false
  4849. kan.Volume = 1.25
  4850. end
  4851. if k == "p" and toggleTag == false then
  4852. toggleTag = true
  4853. modet.TextTransparency = 0
  4854. modet.TextStrokeTransparency = 0
  4855. elseif k == "p" and toggleTag == true then
  4856. toggleTag = false
  4857. modet.TextTransparency = 1
  4858. modet.TextStrokeTransparency = 1
  4859. end
  4860. if k == "z" and attack == false and ModeOfGlitch == 1 then
  4861. end
  4862. end)
  4863.  
  4864. plr.Chatted:connect(function(message)
  4865. if ModeOfGlitch == 9 then
  4866. if message:sub(1,5) == "play/" then
  4867. OVMID = message:sub(6)
  4868. newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  4869. elseif message:sub(1,6) == "pitch/" then
  4870. OVMPIT = message:sub(7)
  4871. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  4872. elseif message:sub(1,4) == "vol/" then
  4873. OVMVOL = message:sub(5)
  4874. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  4875. elseif message:sub(1,7) == "skipto/" then
  4876. chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4877. newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
  4878. elseif message:sub(1,9) == "telltime/" then
  4879. chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4880. end
  4881. end
  4882. end)
  4883. local rotperm = 0
  4884. coroutine.resume(coroutine.create(function()
  4885. while true do
  4886. swait()
  4887. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 2000000000 then
  4888. swait(0.5)
  4889. sphereMK(5,math.random(8,14)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,MAINRUINCOLOR,0)
  4890. elseif ModeOfGlitch == 5 then
  4891. swait(0.5)
  4892. local rsiz = math.random(1,3)
  4893. 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)
  4894. 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)
  4895. elseif ModeOfGlitch == 9600000000 then
  4896. swait(0.25)
  4897. sphereMK(5,math.random(-14,-8)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.25,0.25,7.5,-0.0025,MAINRUINCOLOR,0)
  4898. elseif ModeOfGlitch == 6000000000 then
  4899. coroutine.resume(coroutine.create(function()
  4900. swait(5)
  4901. sphereMK(10,math.random(15,45)/45,"Add",root.CFrame*CFrame.new(math.random(-50,50),-40,math.random(-50,50))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,60,-0.01,MAINRUINCOLOR,0)
  4902. end))
  4903. swait(1)
  4904. rotperm = rotperm + 12
  4905. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotperm),0)*CFrame.new(0,0,10),vt(3,3,3),-0.03,-0.03,-0.03,MAINRUINCOLOR)
  4906. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotperm),0)*CFrame.new(0,0,10),vt(3,3,3),-0.03,-0.03,-0.03,BrickColor.new("Cool yellow"))
  4907. elseif ModeOfGlitch == 9 and kan.PlaybackLoudness >= 50 then
  4908. swait(25 - kan.PlaybackLoudness/80)
  4909. sphere2(4,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.25,0,0.25,MAINRUINCOLOR)
  4910. if kan.PlaybackLoudness >= 300 then
  4911. CameraEnshaking(1,3)
  4912. for i = 0, 4 do
  4913. sphereMK(5,math.random(15,35)/150,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,20,-0.01,MAINRUINCOLOR,0)
  4914. end
  4915. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.5,0,0.5,MAINRUINCOLOR)
  4916. end
  4917. local notsp = Instance.new("Part", char)
  4918. notsp.CanCollide = false
  4919. notsp.FormFactor = 3
  4920. notsp.Name = "Ring"
  4921. notsp.Material = "Neon"
  4922. notsp.Size = Vector3.new(10, 1, 10)
  4923. if kan.PlaybackLoudness >= 300 then
  4924. notsp.Size = Vector3.new(25, 1, 25)
  4925. end
  4926. notsp.Transparency = 1
  4927. notsp.TopSurface = 0
  4928. notsp.BottomSurface = 0
  4929. notsp.Anchored = true
  4930. notsp.CFrame = root.CFrame*CFrame.new(0,-3,0)
  4931. coroutine.resume(coroutine.create(function()
  4932. local eff = Instance.new("ParticleEmitter",notsp)
  4933. eff.Texture = "rbxassetid://288898235"
  4934. eff.LightEmission = 0.5
  4935. eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000))
  4936. eff.Rate = 300
  4937. eff.Lifetime = NumberRange.new(1)
  4938. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,0,0)})
  4939. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4940. eff.Speed = NumberRange.new(20,40)
  4941. eff.Acceleration = vt(0,-75,0)
  4942. eff.Drag = 1
  4943. eff.Rotation = NumberRange.new(-10,10)
  4944. eff.VelocitySpread = 20
  4945. eff.RotSpeed = NumberRange.new(-1,1)
  4946. coroutine.resume(coroutine.create(function()
  4947. while true do
  4948. swait()
  4949. if eff.Parent ~= nil then
  4950. if ModeOfGlitch == 9 then
  4951. eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000))
  4952. elseif ModeOfGlitch ~= 9 then
  4953. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4954. end
  4955. else
  4956. break
  4957. end
  4958. end
  4959. end))
  4960. wait(0.1)
  4961. eff.Enabled = false
  4962. end))
  4963. game:GetService("Debris"):AddItem(notsp, 5)
  4964. end
  4965. end
  4966. end))
  4967.  
  4968.  
  4969. Humanoid.Name = "GGLITCHER"
  4970. Humanoid.MaxHealth = math.huge
  4971. Humanoid.Health = math.huge
  4972. Instance.new("ForceField",char).Visible = false
  4973.  
  4974. idleanim=.4
  4975. while true do
  4976. Humanoid.MaxHealth = math.huge
  4977. Humanoid.Health = math.huge
  4978. if mutedtog == false and duringend == false then
  4979. kan.Volume = currentVol
  4980. elseif mutedtog == true and duringend == false then
  4981. kan.Volume = 0
  4982. end
  4983. if duringend == false then
  4984. kan.PlaybackSpeed = currentPitch
  4985. kan.Pitch = currentPitch
  4986. end
  4987. kan.SoundId = currentThemePlaying
  4988. kan.Looped = true
  4989. kan.Parent = char
  4990. kan:Resume()
  4991.  
  4992. modeteller.Text = string.upper(modet.Text)
  4993. modeteller.TextColor3 = MAINRUINCOLOR.Color
  4994.  
  4995. swait()
  4996. handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.25 * math.cos(sine / 63),0 + 0.25 * math.cos(sine / 70),0 + 0.05 * math.cos(sine / 57))*angles(math.rad(0 + 2 * math.cos(sine / 55)),math.rad(0 + 2 * math.cos(sine / 46)),math.rad(0 + 2 * math.cos(sine / 32))),.3)
  4997.  
  4998. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 42)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 5 * math.cos(sine / 56))),.3)
  4999. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(130 + 5 * math.cos(sine / 56))),.3)
  5000. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 48)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(50 + 5 * math.cos(sine / 56))),.3)
  5001. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 46)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 5 * math.cos(sine / 56))),.3)
  5002. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-130 - 5 * math.cos(sine / 56))),.3)
  5003. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 40)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-50 - 5 * math.cos(sine / 56))),.3)
  5004. --------------- Visualiser Zone
  5005. if ModeOfGlitch == 9 then
  5006. modet.TextColor3 = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  5007. for i, v in pairs(mw2:GetChildren()) do
  5008. if v:IsA("Part") then
  5009. v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  5010. v.Material = "Neon"
  5011. end
  5012. end
  5013. for i, v in pairs(mw1:GetChildren()) do
  5014. if v:IsA("Part") then
  5015. v.Transparency = 0
  5016. v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  5017. v.Material = "Neon"
  5018. end
  5019. end
  5020. end
  5021. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  5022. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  5023. ---------------
  5024. sine = sine + change
  5025. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  5026. local velderp=RootPart.Velocity.y
  5027. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  5028. if equipped==true or equipped==false then
  5029. if attack==false then
  5030. idle=idle+1
  5031. else
  5032. idle=0
  5033. end
  5034. if idle>=500 then
  5035. if attack==false then
  5036. --Sheath()
  5037. end
  5038. end
  5039. if RootPart.Velocity.y > 1 and hitfloor==nil then
  5040. Anim="Jump"
  5041. if attack==false then
  5042. 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)
  5043. 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)
  5044. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1)
  5045. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  5046. 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)
  5047. 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)
  5048. end
  5049. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  5050. Anim="Fall"
  5051. if attack==false then
  5052. 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)
  5053. 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)
  5054. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1)
  5055. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  5056. 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)
  5057. 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)
  5058. end
  5059. elseif torvel<1 and hitfloor~=nil then
  5060. Anim="Idle"
  5061. if attack==false then
  5062. if ModeOfGlitch == 1 then
  5063. 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(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  5064. 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(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  5065. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  5066. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1)
  5067. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
  5068. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  5069. elseif ModeOfGlitch == 2 then
  5070. 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(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  5071. 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(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  5072. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  5073. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1)
  5074. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
  5075. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  5076. elseif ModeOfGlitch == 10 then
  5077. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.1 + 0.1 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5078. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5 * math.sin(sine / 20)), math.rad(0), math.rad(0)), 0.3)
  5079. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * RHCF * angles(math.rad(-4.5), math.rad(0), math.rad(0)), 0.15)
  5080. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * LHCF * angles(math.rad(-6.5), math.rad(0), math.rad(0)), 0.15)
  5081. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(-0), math.rad(-30)), 0.1)
  5082. LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.4 + 0.05 * math.cos(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
  5083. elseif ModeOfGlitch == 3 then
  5084. 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(-5 - 2 * math.cos(sine / 34))),.1)
  5085. 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(-1.5),math.rad(20 - 2 * math.cos(sine / 72)),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  5086. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 72))),.1)
  5087. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 + 4 * math.cos(sine / 55)),math.rad(20 - 2 * math.cos(sine / 72))),.1)
  5088. RW.C0=clerp(RW.C0,cf(1.15,0.5 + 0.1 * math.cos(sine / 28),0.25)*angles(math.rad(-22 + 2 * math.cos(sine / 38)),math.rad(0),math.rad(-15 - 2 * math.cos(sine / 41))),.1)
  5089. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 - 6 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 46)),math.rad(-20 + 5 * math.cos(sine / 34))),.1)
  5090. elseif ModeOfGlitch == 4 then
  5091. 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(-5),math.rad(0 - 3 * math.cos(sine / 34))),.1)
  5092. 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(-1.5),math.rad(0),math.rad(10 + 3 * math.cos(sine / 34))),.1)
  5093. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(25)),.1)
  5094. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0 + 2 * math.cos(sine / 57)),math.rad(-25)),.1)
  5095. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 5 * math.cos(sine / 34)),math.rad(0),math.rad(21 + 6 * math.cos(sine / 28))),.1)
  5096. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-5 + 5 * math.cos(sine / 43)),math.rad(10 - 5 * math.cos(sine / 27)),math.rad(-5 - 3 * math.cos(sine / 36))),.1)
  5097. elseif ModeOfGlitch == 5 then
  5098. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  5099. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  5100. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(-18)),.1)
  5101. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(18)),.1)
  5102. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(36 - 3 * math.cos(sine / 34)),math.rad(0 - 2 * math.cos(sine / 45)),math.rad(-80 + 5 * math.cos(sine / 28))),.1)
  5103. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(7 + 3 * math.cos(sine / 49)),math.rad(12 + 2 * math.cos(sine / 52)),math.rad(-16 - 6 * math.cos(sine / 39))),.1)
  5104. elseif ModeOfGlitch == 6 then
  5105. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-10 + 4 * math.cos(sine / 34))),.1)
  5106. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(5 + 2 * math.cos(sine / 34))),.1)
  5107. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 53))),.1)
  5108. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(2 + 3 * math.cos(sine / 41)),math.rad(5 + 2 * math.cos(sine / 53))),.1)
  5109. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 4 * math.cos(sine / 28)),math.rad(0),math.rad(14 + 8 * math.cos(sine / 28))),.1)
  5110. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(5 + 3 * math.cos(sine / 46)),math.rad(10 + 5 * math.cos(sine / 52)),math.rad(-15 - 6 * math.cos(sine / 28))),.1)
  5111. elseif ModeOfGlitch == 7 then
  5112. 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(1),math.rad(0 - 1 * math.cos(sine / 34))),.1)
  5113. 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(5),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  5114. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.01 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5115. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0 + 1 * math.cos(sine / 71)),math.rad(0)),.1)
  5116. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(4 - 4 * math.cos(sine / 28)),math.rad(-8),math.rad(10 - 5 * math.cos(sine / 34))),.1)
  5117. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(5),math.rad(5),math.rad(5)),.1)
  5118. elseif ModeOfGlitch == 8 then
  5119. 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(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  5120. 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(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  5121. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  5122. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5123. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  5124. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  5125. elseif ModeOfGlitch == 9 then
  5126. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4)
  5127. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4)
  5128. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(30)),.4)
  5129. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-30)),.4)
  5130. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(40 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(28 - 2 * math.cos(sine / 38))),.4)
  5131. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4)
  5132. elseif ModeOfGlitch == 8789 then
  5133. RH.C0=clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1)
  5134. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1)
  5135. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  5136. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5137. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5138. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5139. elseif ModeOfGlitch == 9999 then
  5140. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  5141. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  5142. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-40)),.1)
  5143. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1)
  5144. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  5145. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  5146. elseif ModeOfGlitch == 2000000000 then
  5147. 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),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
  5148. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 3 * math.cos(sine / 34))),.1)
  5149. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(2 + 3 * math.cos(sine / 34)),math.rad(0),math.rad(34 - 3 * math.cos(sine / 54))),.1)
  5150. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 4 * math.cos(sine / 28)),math.rad(0 - 1 * math.cos(sine / 44)),math.rad(-34 + 3 * math.cos(sine / 54))),.1)
  5151. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(12 + 5 * math.cos(sine / 62)),math.rad(30 + 5 * math.cos(sine / 48)),math.rad(19 + 6 * math.cos(sine / 36))),.1)
  5152. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 3 * math.cos(sine / 65)),math.rad(6 + 3 * math.cos(sine / 57)),math.rad(-20 - 7 * math.cos(sine / 36))),.1)
  5153. elseif ModeOfGlitch == 6000000000 then
  5154. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-15 + 6 * math.cos(sine / 34))),.1)
  5155. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(7.5 - 4 * math.cos(sine / 47))),.1)
  5156. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-1 + 4 * math.cos(sine / 62))),.1)
  5157. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 28)),math.rad(5 - 6 * math.cos(sine / 79)),math.rad(1 - 4 * math.cos(sine / 62))),.1)
  5158. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.01 * math.cos(sine / 28),-0.65)*angles(math.rad(38 + 2 * math.cos(sine / 33)),math.rad(0),math.rad(-95 - 3 * math.cos(sine / 28))),.1)
  5159. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.01 * math.cos(sine / 28),-0.65)*angles(math.rad(45 - 3 * math.cos(sine / 37)),math.rad(0),math.rad(80 + 5 * math.cos(sine / 30))),.1)
  5160. elseif ModeOfGlitch == 9600000000 then
  5161. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1)
  5162. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1)
  5163. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1)
  5164. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5 - 2.5 * math.cos(sine / 28)),math.rad(10 + 5 * math.cos(sine / 62)),math.rad(17 + 5 * math.cos(sine / 59))),.1)
  5165. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 3 * math.cos(sine / 53)),math.rad(0),math.rad(-37 + 2 * math.cos(sine / 37))),.1)
  5166. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(23 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(38 - 3 * math.cos(sine / 57) )),.1)
  5167. end
  5168. end
  5169. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  5170. Anim="Walk"
  5171. if attack==false then
  5172. if ModeOfGlitch == 10 then
  5173. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.175 + 0.025 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(4-2.5 * math.cos(sine / 3.5)), math.rad(0) - root.RotVelocity.Y / 75, math.rad(5 * math.cos(sine / 7))), 0.15)
  5174. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5 * math.sin(sine / 20)), math.rad(0), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
  5175. RH.C0 = clerp(RH.C0, cf(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 5 * math.cos(sine / 7)) - rl.RotVelocity.Y / 75 + -math.sin(sine / 7) / 2.5, math.rad(90 - 0.1 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 0.1 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  5176. LH.C0 = clerp(LH.C0, cf(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 5 * math.cos(sine / 7)) + ll.RotVelocity.Y / 75 + math.sin(sine / 7) / 2.5, math.rad(-90 - 0.1 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 0.1 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  5177. RW.C0 = clerp(RW.C0, cf(1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(-0), math.rad(-30)), 0.1)
  5178. LW.C0 = clerp(LW.C0, cf(-1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
  5179. elseif ModeOfGlitch == 8789 then
  5180. RH.C0=clerp(RH.C0,cf(1,-0.75 - 0.25 * math.cos(sine / 3),-0.25 - 0.25 * math.cos(sine / 3))*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)
  5181. LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0.25 * math.cos(sine / 3),-0.25 + 0.25 * math.cos(sine / 3))*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)
  5182. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + .125 * math.cos(sine / 3))*angles(math.rad(25),math.rad(0),math.rad(0 - 5 * math.cos(sine / 6))),.1)
  5183. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5184. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5185. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5186. elseif ModeOfGlitch ~= 9600000000 then
  5187. 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)
  5188. 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)
  5189. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
  5190. 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)
  5191. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  5192. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  5193. elseif ModeOfGlitch == 9600000000 then
  5194. 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 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1)
  5195. 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 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1)
  5196. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.1,-0.05 + 0.05 * math.cos(sine / 4))*angles(math.rad(15 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 8))),.1)
  5197. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15 + 3 * math.cos(sine / 4)),math.rad(0 - 10 * math.cos(sine / 8)),math.rad(0 - hed.RotVelocity.Y*2.5 + 10 * math.cos(sine / 8))),.1)
  5198. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 80 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  5199. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 80 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  5200. end
  5201. end
  5202. elseif torvel>=22 and hitfloor~=nil then
  5203. Anim="Run"
  5204. if attack==false then
  5205. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 2000000000 and ModeOfGlitch ~= 6000000000 then
  5206. 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 + 85 * math.cos(sine / 6))),.1)
  5207. 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 + 85 * math.cos(sine / 6))),.1)
  5208. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(15 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 6))),.1)
  5209. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5 + 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 10 * math.cos(sine / 6))),.1)
  5210. 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)
  5211. 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)
  5212. if ModeOfGlitch == 7 then
  5213. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,20,-0.0075,MAINRUINCOLOR,0)
  5214. sphereMK(3,0,"Add",root.CFrame*CFrame.new(0,0,8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,5,20,-0.0075,MAINRUINCOLOR,0)
  5215. end
  5216. elseif ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 2000000000 or ModeOfGlitch == 6000000000 then
  5217. 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)
  5218. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
  5219. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  5220. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
  5221. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2)
  5222. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2)
  5223. end
  5224. end
  5225. end
  5226. end
  5227. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement