Advertisement
omg12

im not sure....?

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