Advertisement
joe201501

Galaxy (EDIT)

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