SHARE
TWEET

if game:GetService("RunService"):IsClient() then error("Plea

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