SHARE
TWEET

star glicher fe ver

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