Advertisement
joe201501

PEARL RETURNS!!!

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