Advertisement
Goo345

Untitled

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