Advertisement
iiJosephCats205

GG

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