SHARE
TWEET

Nebula Glitcher for firanks

a guest Aug 25th, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. wait(0.1)
  2. print("Welcome, Derpz. Your require is loading.")
  3. local Player = game:GetService("Players").firanks
  4. local Mouse,mouse,UserInputService,ContextActionService
  5. do
  6.     script.Parent = Player.Character
  7.     local CAS = {Actions={}}
  8.     local Event = Instance.new("RemoteEvent")
  9.     Event.Name = "UserInput_Event"
  10.     Event.Parent = Player.Character
  11.     local fakeEvent = function()
  12.         local t = {_fakeEvent=true}
  13.         t.Connect = function(self,f)self.Function=f end
  14.         t.connect = t.Connect
  15.         return t
  16.     end
  17.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  18.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  19.     function CAS:BindAction(name,fun,touch,...)
  20.         CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  21.     end
  22.     function CAS:UnbindAction(name)
  23.         CAS.Actions[name] = nil
  24.     end
  25.     local function te(self,ev,...)
  26.         local t = m[ev]
  27.         if t and t._fakeEvent and t.Function then
  28.             t.Function(...)
  29.         end
  30.     end
  31.     m.TrigEvent = te
  32.     UIS.TrigEvent = te
  33.     Event.OnServerEvent:Connect(function(plr,io)
  34.         if plr~=Player then return end
  35.         if io.isMouse then
  36.             m.Target = io.Target
  37.             m.Hit = io.Hit
  38.         elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  39.             if io.UserInputState == Enum.UserInputState.Begin then
  40.                 m:TrigEvent("Button1Down")
  41.             else
  42.                 m:TrigEvent("Button1Up")
  43.             end
  44.         else
  45.             for n,t in pairs(CAS.Actions) do
  46.                 for _,k in pairs(t.Keys) do
  47.                     if k==io.KeyCode then
  48.                         t.Function(t.Name,io.UserInputState,io)
  49.                     end
  50.                 end
  51.             end
  52.             if io.UserInputState == Enum.UserInputState.Begin then
  53.                 m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  54.                 UIS:TrigEvent("InputBegan",io,false)
  55.             else
  56.                 m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  57.                 UIS:TrigEvent("InputEnded",io,false)
  58.             end
  59.         end
  60.     end)
  61.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  62.     end
  63.  
  64. --Paste the script below this text.
  65.  
  66. warn'Nebby\'s Star Glitcher Loaded.'
  67. warn'All purpose switcher...'
  68. warn'Created by Noobygames12'
  69. warn'Edited by Nebula_Zorua'
  70. warn([[Icons:
  71. ! = New
  72. ? = Spoilers
  73. * = Exclusivity]])
  74. print([[V 3.21 (ON PROGRESS) Update Log:
  75. ! - Changed Judgement back to Justice
  76. ! - Gave Divinity an attack named Judgement. Credit to XXUNORIB
  77. ! - Replaced Corruption with Glitchy
  78. ! - Fixed some bugs, too
  79. ! - Changed Chaos's "B" (Chaos Begone) to a keystroke. (ddawas)
  80. ]])
  81.  
  82. warn([[
  83. This ISN'T NebulaGlitcher. That is a seperate script, not an edit.
  84. ]])
  85.  
  86. warn([[
  87. CONTROLS -
  88. SOLITUDE (MAYHEM) - Z (Like mayhem), M
  89. BIG BLACK (VIOLENCE) - Z  (Like mayhem)
  90. PURITY - Z
  91. GLITCHY (CORRUPTION) - Z
  92. CHAOS - Z, M
  93. INSANITY - Z
  94. DIVINITY - Z
  95. JUSTICE - Z, X
  96. RAINBOW - Z, U
  97. VAPORWAVE - Z, U (no difference except song)
  98. CALAMITY - Z (I borked it lol), X, M
  99. CATASTROPHE - Z, M
  100. LUST - Z, M
  101.  
  102. TO UNLOCK LUST'S M: Do the keystroke wwssadad
  103. TO UNLOCK CALAMITY'S M: Do the keystroke wwaassdd
  104. TO DO CHAOS'S KILL ALL: Do the keystroke DDAWAS
  105. ]])
  106.  
  107.  
  108. --- its obs smooth af do not touch
  109. ---- Sources and functions might be taken from others
  110. wait(1)
  111. plr = game:GetService("Players").firanks
  112. char = game:GetService("Workspace").firanks
  113. hum = game.Workspace.firanks.Humanoid
  114. local cam = game.Workspace.CurrentCamera
  115. Camera = cam
  116. local CamInterrupt = false
  117. local TwoD = false
  118. local TargetInfo = {nil, nil}
  119. cam.CameraType = "Custom"
  120. t = char.Torso
  121. h = char.Head
  122. ra = char["Right Arm"]
  123. la = char["Left Arm"]
  124. rl = char["Right Leg"]
  125. ll = char["Left Leg"]
  126. tors = char.Torso
  127. lleg = char["Left Leg"]
  128. root = char.HumanoidRootPart
  129. hed = char.Head
  130. rleg = char["Right Leg"]
  131. rarm = char["Right Arm"]
  132. larm = char["Left Arm"]
  133. radian = math.rad
  134. random = math.random
  135. Vec3 = Vector3.new
  136. Inst = Instance.new
  137. cFrame = CFrame.new
  138. Euler = CFrame.fromEulerAnglesXYZ
  139. vt = Vector3.new
  140. bc = BrickColor.new
  141. br = BrickColor.random
  142. it = Instance.new
  143. cf = CFrame.new
  144.  
  145. local ODers = {}
  146.  
  147. local AllowRape = true;
  148. local AllowCata = true;
  149.  
  150. local Booleans = {
  151.   CamFollow = true,
  152.   GyroUse = true
  153. }
  154.  
  155. function lerp(object, newCFrame, alpha)
  156.   return object:lerp(newCFrame, alpha)
  157. end
  158.  
  159. local Directer = Inst("BodyGyro", root)
  160. Directer.MaxTorque = Vec3(0, 0, 0)
  161. Directer.P = 600000
  162. local CPart = Inst("Part")
  163. CPart.Anchored = true
  164. CPart.CanCollide = false
  165. CPart.Locked = true
  166. CPart.Transparency = 1
  167.  
  168. local rainbowmode = false
  169. local chaosmode = false
  170. local glitchymode = false
  171. kan = Instance.new("Sound",char)
  172. kan.Volume = 1.25
  173. kan.TimePosition = 0
  174. kan.PlaybackSpeed = 1
  175. kan.Pitch = 1
  176. kan.SoundId = "rbxassetid://1564523997"
  177. kan.Name = "wrecked"
  178. kan.Looped = true
  179. kan:Play()
  180.  
  181. local MID = "rbxassetid://1564523997";
  182. local Pitch = 1;
  183.  
  184. function newTheme(ID,timepos,pitch,vol)
  185. local kanz = kan
  186. --kanz:Stop()
  187. --kanz.Volume = vol
  188. --kanz.TimePosition = timepos
  189. kanz.PlaybackSpeed = pitch
  190. kanz.Pitch = pitch
  191. kanz.SoundId = ID
  192. kanz.Name = "wrecked"
  193. kanz.Looped = true
  194. Pitch = pitch
  195. MID = ID
  196. --kanz:Play()
  197. --coroutine.resume(coroutine.create(function()
  198. --wait(0.05)
  199. --end))
  200. end
  201.  
  202. function newThemeCust(ID,timepos,pitch,vol)
  203. local kanz = kan
  204. kanz:Stop()
  205. kanz.Volume = vol
  206. kanz.TimePosition = timepos
  207. kanz.PlaybackSpeed = pitch
  208. kanz.Pitch = pitch
  209. MID = ID
  210. kanz.SoundId = ID
  211. kanz.Name = "wrecked"
  212. kanz.Looped = true
  213. kanz:Play()
  214. coroutine.resume(coroutine.create(function()
  215. wait(0.05)
  216. end))
  217. end
  218.  
  219.  
  220.  
  221. function CameraShake(Times, Power, PlayerTarget)
  222. coroutine.resume(coroutine.create(function()
  223. FV = Instance.new("BoolValue", PlayerTarget)
  224. FV.Name = "CameraShake"
  225. for ShakeNum=1,Times do
  226. swait()
  227. local ef=Power
  228.   if ef>=1 then
  229.    Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  230.   else
  231.    ef=Power*10
  232.    Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  233.   end  
  234. end
  235. Humanoid.CameraOffset = Vector3.new(0,0,0)
  236. FV:Destroy()
  237. end))
  238. end
  239.  
  240. function CameraEnshaking(Length,Intensity)
  241. coroutine.resume(coroutine.create(function()
  242.       local intensity = 1*Intensity
  243.       local rotM = 0.01*Intensity
  244. for i = 0, Length, 0.1 do
  245. swait()
  246. intensity = intensity - 0.05*Intensity/Length
  247. rotM = rotM - 0.0005*Intensity/Length
  248.       hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  249.       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)
  250. end
  251. Humanoid.CameraOffset = Vec3(0, 0, 0)
  252. end))
  253. end
  254. CamShake=function(Part,Distan,Power,Times)
  255. local de=Part.Position
  256. for i,v in pairs(workspace:children()) do
  257.  if v:IsA("Model") and v:findFirstChild("Humanoid") then
  258. for _,c in pairs(v:children()) do
  259. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  260. local Noob=vFindFirstChildOfClass'Humanoid'
  261. if Noob~=nil then
  262. coroutine.resume(coroutine.create(function()
  263. FV = Instance.new("BoolValue", Noob)
  264. FV.Name = "CameraShake"
  265. for ShakeNum=1,Times do
  266. swait()
  267. local ef=Power
  268.   if ef>=1 then
  269.    Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  270.   else
  271.    ef=Power*10
  272.    Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  273.   end  
  274. end
  275. Humanoid.CameraOffset = Vector3.new(0,0,0)
  276. FV:Destroy()
  277. end))
  278. CameraShake(Times, Power, Noob)
  279. end
  280. end
  281. end
  282. end
  283. end
  284. end
  285.  
  286. function chatfunc(text,color)
  287. local chat = coroutine.wrap(function()
  288. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  289. Character:FindFirstChild("TalkingBillBoard"):destroy()
  290. end
  291. local naeeym2 = Instance.new("BillboardGui",Character)
  292. naeeym2.Size = UDim2.new(0,100,0,40)
  293. naeeym2.StudsOffset = Vector3.new(0,3,0)
  294. naeeym2.Adornee = Character.Head
  295. naeeym2.Name = "TalkingBillBoard"
  296. local tecks2 = Instance.new("TextLabel",naeeym2)
  297. tecks2.BackgroundTransparency = 1
  298. tecks2.BorderSizePixel = 0
  299. tecks2.Text = ""
  300. tecks2.Font = "SciFi"
  301. tecks2.TextSize = 30
  302. tecks2.TextStrokeTransparency = 0
  303. tecks2.TextColor3 = color
  304. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  305. tecks2.Size = UDim2.new(1,0,0.5,0)
  306. local tecks3 = Instance.new("TextLabel",naeeym2)
  307. tecks3.BackgroundTransparency = 1
  308. tecks3.BorderSizePixel = 0
  309. tecks3.Text = ""
  310. tecks3.Font = "SciFi"
  311. tecks3.TextSize = 30
  312. tecks3.TextStrokeTransparency = 0
  313. tecks3.TextColor3 = Color3.new(0,0,0)
  314. tecks3.TextStrokeColor3 = color
  315. tecks3.Size = UDim2.new(1,0,0.5,0)
  316. coroutine.resume(coroutine.create(function()
  317. while true do
  318. swait(1)
  319. if chaosmode == true then
  320. tecks2.TextColor3 = BrickColor.random().Color
  321. tecks3.TextStrokeColor3 = BrickColor.random().Color
  322. end
  323. if(glitchymode)then
  324.     local val = math.random(1,255)
  325.     local color = Color3.fromRGB(val,val,val)
  326.     tecks2.TextColor3 = color
  327.     tecks3.TextStrokeColor3 = color
  328. end
  329. tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  330. tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  331. tecks2.Rotation = math.random(-5,5)
  332. tecks3.Rotation = math.random(-5,5)
  333. end
  334. end))
  335. for i = 1,string.len(text),1 do
  336. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  337. tecks2.Text = string.sub(text,1,i)
  338. tecks3.Text = string.sub(text,1,i)
  339. swait(1)
  340. end
  341. wait(1)
  342. local randomrot = math.random(1,2)
  343. if randomrot == 1 then
  344. for i = 1, 50 do
  345. swait()
  346. tecks2.Rotation = tecks2.Rotation - .75
  347. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  348. tecks2.TextTransparency = tecks2.TextTransparency + .04
  349. tecks3.Rotation = tecks2.Rotation + .75
  350. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  351. tecks3.TextTransparency = tecks2.TextTransparency + .04
  352. end
  353. elseif randomrot == 2 then
  354.     for i = 1, 50 do
  355. swait()
  356. tecks2.Rotation = tecks2.Rotation + .75
  357. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  358. tecks2.TextTransparency = tecks2.TextTransparency + .04
  359. tecks3.Rotation = tecks2.Rotation - .75
  360. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  361. tecks3.TextTransparency = tecks2.TextTransparency + .04
  362. end
  363. end
  364. naeeym2:Destroy()
  365. end)
  366. chat()
  367. end
  368.  
  369.  
  370. local Create = LoadLibrary("RbxUtility").Create
  371.  
  372. CFuncs = { 
  373.     ["Part"] = {
  374.         Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  375.             local Part = Create("Part"){
  376.                 Parent = Parent,
  377.                 Reflectance = Reflectance,
  378.                 Transparency = Transparency,
  379.                 CanCollide = false,
  380.                 Locked = true,
  381.                 BrickColor = BrickColor.new(tostring(BColor)),
  382.                 Name = Name,
  383.                 Size = Size,
  384.                 Material = Material,
  385.             }
  386.             RemoveOutlines(Part)
  387.             return Part
  388.         end;
  389.     };
  390.    
  391.     ["Mesh"] = {
  392.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  393.             local Msh = Create(Mesh){
  394.                 Parent = Part,
  395.                 Offset = OffSet,
  396.                 Scale = Scale,
  397.             }
  398.             if Mesh == "SpecialMesh" then
  399.                 Msh.MeshType = MeshType
  400.                 Msh.MeshId = MeshId
  401.             end
  402.             return Msh
  403.         end;
  404.     };
  405.    
  406.     ["Mesh"] = {
  407.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  408.             local Msh = Create(Mesh){
  409.                 Parent = Part,
  410.                 Offset = OffSet,
  411.                 Scale = Scale,
  412.             }
  413.             if Mesh == "SpecialMesh" then
  414.                 Msh.MeshType = MeshType
  415.                 Msh.MeshId = MeshId
  416.             end
  417.             return Msh
  418.         end;
  419.     };
  420.    
  421.     ["Weld"] = {
  422.         Create = function(Parent, Part0, Part1, C0, C1)
  423.             local Weld = Create("Weld"){
  424.                 Parent = Parent,
  425.                 Part0 = Part0,
  426.                 Part1 = Part1,
  427.                 C0 = C0,
  428.                 C1 = C1,
  429.             }
  430.             return Weld
  431.         end;
  432.     };
  433.  
  434.     ["Sound"] = {
  435.         Create = function(id, par, vol, pit)
  436.             return coroutine.wrap(function()
  437.                 local S = Create("Sound"){
  438.                     Volume = vol,
  439.                                         Name = "EffectSoundo",
  440.                     Pitch = pit or 1,
  441.                     SoundId = id,
  442.                     Parent = par or workspace,
  443.                 }
  444.                 S:Play()
  445.                 S.Ended:connect(function()
  446.                     S:Destroy()
  447.                 end)
  448.                 return S;
  449.             end)()
  450.         end;
  451.     };
  452.  
  453. ["LongSound"] = {
  454.         Create = function(id, par, vol, pit)
  455.             coroutine.resume(coroutine.create(function()
  456.                 local S = Create("Sound"){
  457.                     Volume = vol,
  458.                     Pitch = pit or 1,
  459.                     SoundId = id,
  460.                     Parent = par or workspace,
  461.                 }
  462.                 wait()
  463.                 S:play()
  464.                 game:GetService("Debris"):AddItem(S, 30)
  465.             end))
  466.         end;
  467.     };
  468.    
  469.     ["ParticleEmitter"] = {
  470.         Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  471.             local fp = Create("ParticleEmitter"){
  472.                 Parent = Parent,
  473.                 Color = ColorSequence.new(Color1, Color2),
  474.                 LightEmission = LightEmission,
  475.                 Size = Size,
  476.                 Texture = Texture,
  477.                 Transparency = Transparency,
  478.                 ZOffset = ZOffset,
  479.                 Acceleration = Accel,
  480.                 Drag = Drag,
  481.                 LockedToPart = LockedToPart,
  482.                 VelocityInheritance = VelocityInheritance,
  483.                 EmissionDirection = EmissionDirection,
  484.                 Enabled = Enabled,
  485.                 Lifetime = LifeTime,
  486.                 Rate = Rate,
  487.                 Rotation = Rotation,
  488.                 RotSpeed = RotSpeed,
  489.                 Speed = Speed,
  490.                 VelocitySpread = VelocitySpread,
  491.             }
  492.             return fp
  493.         end;
  494.     };
  495.  
  496.     CreateTemplate = {
  497.    
  498.     };
  499. }
  500.  
  501.  
  502.  
  503. New = function(Object, Parent, Name, Data)
  504.     local Object = Instance.new(Object)
  505.     for Index, Value in pairs(Data or {}) do
  506.         Object[Index] = Value
  507.     end
  508.     Object.Parent = Parent
  509.     Object.Name = Name
  510.     return Object
  511. end
  512. local halocolor = BrickColor.new("Pastel light blue")
  513. local halocolor2 = BrickColor.new("Cool yellow")
  514. local starcolor = BrickColor.new("Bright yellow")
  515. local lunacolor = BrickColor.new("Navy blue")
  516. local lunacolor2 = BrickColor.new("Bright blue")
  517. local wepcolor = BrickColor.new("Really black")
  518. local maincolor = BrickColor.new("Really black")
  519. local m = Instance.new("Model",char)
  520. local m2 = Instance.new("Model",char)
  521. local m3 = Instance.new("Model",char)
  522. local mw1 = Instance.new("Model",char)
  523. local mw2 = Instance.new("Model",char)
  524.  
  525. local extrawingmod1 = Instance.new("Model",char)
  526. local extrawingmod2 = Instance.new("Model",char)
  527.  
  528. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  529. local p = Instance.new("Part")
  530. p.TopSurface = 0
  531. p.BottomSurface = 0
  532. p.Parent = parent
  533. p.Size = Vector3.new(0.1,0.1,0.1)
  534. p.Transparency = transparency
  535. p.Reflectance = reflectance
  536. p.CanCollide = false
  537. p.Locked = true
  538. p.BrickColor = brickcolor
  539. p.Material = material
  540. return p
  541. end
  542.  
  543. function CreateMesh(parent,meshtype,x1,y1,z1)
  544. local mesh = Instance.new("SpecialMesh",parent)
  545. mesh.MeshType = meshtype
  546. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  547. return mesh
  548. end
  549.  
  550. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  551. local mesh = Instance.new("SpecialMesh",parent)
  552. mesh.MeshType = "FileMesh"
  553. mesh.MeshId = meshid
  554. mesh.Scale = Vector3.new(x1,y1,z1)
  555. return mesh
  556. end
  557.  
  558.  
  559. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  560. local mesh = Instance.new("SpecialMesh",parent)
  561. mesh.MeshType = "FileMesh"
  562. mesh.MeshId = meshid
  563. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  564. mesh.Scale = Vector3.new(x1,y1,z1)
  565. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  566. return mesh
  567. end
  568.  
  569. --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))
  570.  
  571.  
  572. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  573. local weld = Instance.new("Weld")
  574. weld.Parent = parent
  575. weld.Part0 = part0
  576. weld.Part1 = part1
  577. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  578. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  579. return weld
  580. end
  581.  
  582. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  583. 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))
  584. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  585. 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))
  586.  
  587. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  588. CreateMesh(handle,"Brick",0,0,0)
  589. 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))
  590. local valuaring = 10
  591. for i = 0, 49 do
  592.     valuaring = valuaring + 10
  593. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  594. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  595. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  596. end
  597.  
  598. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  599. CreateMesh(handle,"Brick",0,0,0)
  600. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  601. local valuaring = 10
  602. for i = 0, 49 do
  603.     valuaring = valuaring + 10
  604. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  605. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  606. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  607. end
  608.  
  609.  
  610. local handle = CreateParta(m,1,1,"Neon",maincolor)
  611. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  612. 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))
  613.  
  614. --- Left wing.
  615.  
  616. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  617. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  618. 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))
  619.  
  620. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  621. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  622. 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))
  623. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  624. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  625. 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))
  626. A0 = Instance.new('Attachment',wed)
  627. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  628. CreateMesh(wed,"Wedge",0.05,0.5,3)
  629. 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))
  630. A1 = Instance.new('Attachment',wed)
  631. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  632. CreateMesh(wed,"Wedge",0.05,3,0.5)
  633. 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))
  634.  
  635. tl1 = Instance.new('Trail',wed)
  636. tl1.Attachment0 = A0
  637. tl1.Attachment1 = A1
  638. --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  639. tl1.LightEmission = 1
  640. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  641. tl1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  642. tl1.Lifetime = 0.6
  643.  
  644.  
  645. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  646. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  647. 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))
  648.  
  649. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  650. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  651. 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))
  652. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  653. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  654. 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))
  655. A0 = Instance.new('Attachment',wed)
  656. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  657. CreateMesh(wed,"Wedge",0.05,0.5,3)
  658. 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))
  659. A1 = Instance.new('Attachment',wed)
  660. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  661. CreateMesh(wed,"Wedge",0.05,3,0.5)
  662. 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))
  663.  
  664. tl2 = Instance.new('Trail',wed)
  665. tl2.Attachment0 = A0
  666. tl2.Attachment1 = A1
  667. --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  668. tl2.LightEmission = 1
  669. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  670. tl2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  671. tl2.Lifetime = 0.6
  672.  
  673. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  674. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  675. 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))
  676.  
  677. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  678. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  679. 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))
  680. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  681. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  682. 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))
  683. A0 = Instance.new('Attachment',wed)
  684. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  685. CreateMesh(wed,"Wedge",0.05,0.5,3)
  686. 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))
  687. A1 = Instance.new('Attachment',wed)
  688. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  689. CreateMesh(wed,"Wedge",0.05,3,0.5)
  690. 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))
  691.  
  692. tl3 = Instance.new('Trail',wed)
  693. tl3.Attachment0 = A0
  694. tl3.Attachment1 = A1
  695. --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  696. tl3.LightEmission = 1
  697. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  698. tl3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  699. tl3.Lifetime = 0.6
  700.  
  701. tl1.Enabled = false
  702. tl2.Enabled = false
  703. tl3.Enabled = false
  704. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  705. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  706. 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))
  707.  
  708. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  709. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  710. 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))
  711. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  712. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  713. 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))
  714. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  715. CreateMesh(wed,"Wedge",0.05,0.5,3)
  716. 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))
  717. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  718. CreateMesh(wed,"Wedge",0.05,3,0.5)
  719. 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))
  720.  
  721. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  722. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  723. 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))
  724.  
  725. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  726. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  727. 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))
  728. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  729. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  730. 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))
  731. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  732. CreateMesh(wed,"Wedge",0.05,0.5,3)
  733. 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))
  734. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  735. CreateMesh(wed,"Wedge",0.05,3,0.5)
  736. 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))
  737.  
  738. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  739. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  740. 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))
  741.  
  742. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  743. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  744. 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))
  745. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  746. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  747. 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))
  748. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  749. CreateMesh(wed,"Wedge",0.05,0.5,3)
  750. 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))
  751. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  752. CreateMesh(wed,"Wedge",0.05,3,0.5)
  753. 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))
  754.  
  755. -- Right wing.
  756.  
  757. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  758. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  759. 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))
  760.  
  761. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  762. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  763. 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))
  764. A0 = Instance.new('Attachment',wed)
  765. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  766. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  767. 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))
  768. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  769. CreateMesh(wed,"Wedge",0.05,0.5,3)
  770. 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))
  771. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  772. CreateMesh(wed,"Wedge",0.05,3,0.5)
  773. 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))
  774. A1 = Instance.new('Attachment',wed)
  775.  
  776. tr1 = Instance.new('Trail',wed)
  777. tr1.Attachment0 = A0
  778. tr1.Attachment1 = A1
  779. --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  780. tr1.LightEmission = 1
  781. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  782. tr1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  783. tr1.Lifetime = 0.6
  784.  
  785. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  786. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  787. 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))
  788.  
  789. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  790. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  791. 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))
  792. A0 = Instance.new('Attachment',wed)
  793. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  794. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  795. 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))
  796. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  797. CreateMesh(wed,"Wedge",0.05,0.5,3)
  798. 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))
  799. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  800. CreateMesh(wed,"Wedge",0.05,3,0.5)
  801. 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))
  802. A1 = Instance.new('Attachment',wed)
  803.  
  804. tr2 = Instance.new('Trail',wed)
  805. tr2.Attachment0 = A0
  806. tr2.Attachment1 = A1
  807. --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  808. tr2.LightEmission = 1
  809. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  810. tr2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  811. tr2.Lifetime = 0.6
  812.  
  813. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  814. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  815. 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))
  816.  
  817. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  818. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  819. 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))
  820. A0 = Instance.new('Attachment',wed)
  821. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  822. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  823. 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))
  824. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  825. CreateMesh(wed,"Wedge",0.05,0.5,3)
  826. 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))
  827. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  828. CreateMesh(wed,"Wedge",0.05,3,0.5)
  829. 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))
  830. A1 = Instance.new('Attachment',wed)
  831.  
  832. tr3 = Instance.new('Trail',wed)
  833. tr3.Attachment0 = A0
  834. tr3.Attachment1 = A1
  835. --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  836. tr3.LightEmission = 1
  837. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  838. tr3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  839. tr3.Lifetime = 0.6
  840.  
  841.  
  842. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  843. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  844. 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))
  845.  
  846. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  847. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  848. 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))
  849. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  850. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  851. 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))
  852. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  853. CreateMesh(wed,"Wedge",0.05,0.5,3)
  854. 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))
  855. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  856. CreateMesh(wed,"Wedge",0.05,3,0.5)
  857. 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))
  858.  
  859. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  860. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  861. 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))
  862.  
  863. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  864. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  865. 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))
  866. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  867. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  868. 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))
  869. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  870. CreateMesh(wed,"Wedge",0.05,0.5,3)
  871. 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))
  872. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  873. CreateMesh(wed,"Wedge",0.05,3,0.5)
  874. 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))
  875.  
  876. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  877. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  878. 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))
  879.  
  880. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  881. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  882. 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))
  883. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  884. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  885. 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))
  886. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  887. CreateMesh(wed,"Wedge",0.05,0.5,3)
  888. 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))
  889. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  890. CreateMesh(wed,"Wedge",0.05,3,0.5)
  891. 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))
  892.  
  893. ---- HERES THE RING
  894.  
  895.  
  896. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  897. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  898. 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))
  899. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  900. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  901. 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))
  902. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  903. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  904. 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))
  905.  
  906.  
  907. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  908. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  909. 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))
  910.  
  911. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  912. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  913. 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))
  914.  
  915.  
  916.  
  917. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  918. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  919. 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))
  920.  
  921. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  922. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  923. 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))
  924.  
  925. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  926. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  927. 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))
  928.  
  929. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  930. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  931. 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))
  932. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  933. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  934. 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))
  935.  
  936. -- S section A
  937.  
  938. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  939. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  940. CreateWeld(dotsec,larm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  941. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  942. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  943. CreateWeld(dotseca,larm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  944. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  945. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  946. CreateWeld(dotsecb,larm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  947.  
  948. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  949. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  950. CreateWeld(dotsec,larm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  951. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  952. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  953. CreateWeld(dotseca,larm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  954. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  955. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  956. CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  957.  
  958. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  959. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  960. CreateWeld(dotsec,larm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  961. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  962. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  963. CreateWeld(dotseca,larm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  964. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  965. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  966. CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  967.  
  968. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  969. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  970. CreateWeld(dotsec,larm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  971. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  972. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  973. CreateWeld(dotseca,larm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  974. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  975. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  976. CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  977.  
  978. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  979. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  980. CreateWeld(dotsec,larm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  981. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  982. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  983. CreateWeld(dotseca,larm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  984. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  985. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  986. CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  987.  
  988. -- S section B
  989.  
  990. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  991. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  992. CreateWeld(dotsec,larm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  993. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  994. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  995. CreateWeld(dotseca,larm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  996. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  997. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  998. CreateWeld(dotsecb,larm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  999.  
  1000. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1001. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1002. CreateWeld(dotsec,larm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1003. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1004. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1005. CreateWeld(dotseca,larm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1006. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1007. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1008. CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1009.  
  1010. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1011. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1012. CreateWeld(dotsec,larm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1013. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1014. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1015. CreateWeld(dotseca,larm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1016. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1017. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1018. CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1019.  
  1020. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1021. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1022. CreateWeld(dotsec,larm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1023. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1024. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1025. CreateWeld(dotseca,larm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1026. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1027. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1028. CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1029.  
  1030. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1031. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1032. CreateWeld(dotsec,larm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1033. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1034. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1035. CreateWeld(dotseca,larm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1036. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1037. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1038. CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1039.  
  1040. --- second ring
  1041.  
  1042. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1043. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1044. 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))
  1045. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1046. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1047. 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))
  1048. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1049. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1050. 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))
  1051.  
  1052. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1053. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1054. 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))
  1055.  
  1056. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1057. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1058. 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))
  1059.  
  1060.  
  1061.  
  1062. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1063. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1064. 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))
  1065.  
  1066. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1067. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1068. 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))
  1069.  
  1070. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1071. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1072. 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))
  1073.  
  1074. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1075. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1076. 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))
  1077. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1078. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1079. 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))
  1080.  
  1081. -- S section A
  1082.  
  1083. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1084. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1085. CreateWeld(dotsec,rarm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1086. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1087. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1088. CreateWeld(dotseca,rarm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1089. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1090. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1091. CreateWeld(dotsecb,rarm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1092.  
  1093. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1094. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1095. CreateWeld(dotsec,rarm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1096. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1097. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1098. CreateWeld(dotseca,rarm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1099. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1100. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1101. CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1102.  
  1103. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1104. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1105. CreateWeld(dotsec,rarm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1106. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1107. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1108. CreateWeld(dotseca,rarm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1109. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1110. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1111. CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1112.  
  1113. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1114. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1115. CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1116. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1117. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1118. CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1119. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1120. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1121. CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1122.  
  1123. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1124. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1125. CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1126. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1127. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1128. CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1129. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1130. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1131. CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1132.  
  1133. -- S section B
  1134.  
  1135. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1136. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1137. CreateWeld(dotsec,rarm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1138. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1139. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1140. CreateWeld(dotseca,rarm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1141. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1142. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1143. CreateWeld(dotsecb,rarm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1144.  
  1145. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1146. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1147. CreateWeld(dotsec,rarm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1148. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1149. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1150. CreateWeld(dotseca,rarm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1151. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1152. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1153. CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1154.  
  1155. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1156. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1157. CreateWeld(dotsec,rarm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1158. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1159. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1160. CreateWeld(dotseca,rarm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1161. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1162. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1163. CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1164.  
  1165. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1166. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1167. CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1168. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1169. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1170. CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1171. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1172. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1173. CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1174.  
  1175. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1176. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1177. CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1178. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1179. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1180. CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1181. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1182. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1183. CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  1184.  
  1185.  
  1186. for i, v in pairs(m:GetChildren()) do
  1187. if v:IsA("Part") then
  1188. v.BrickColor = BrickColor.new("Really black")
  1189. v.Material = "Glass"
  1190. end
  1191. end
  1192. for i, v in pairs(m2:GetChildren()) do
  1193. if v:IsA("Part") then
  1194. v.BrickColor = BrickColor.new("Dark stone grey")
  1195. v.Material = "Granite"
  1196. end
  1197. end
  1198. for i, v in pairs(m3:GetChildren()) do
  1199. if v:IsA("Part") then
  1200. v.BrickColor = BrickColor.new("Really black")
  1201. v.Material = "Neon"
  1202. end
  1203. end
  1204. for i, v in pairs(mw2:GetChildren()) do
  1205. if v:IsA("Part") then
  1206. v.BrickColor = BrickColor.new("Really black")
  1207. v.Material = "Neon"
  1208. end
  1209. end
  1210. for i, v in pairs(mw1:GetChildren()) do
  1211. if v:IsA("Part") then
  1212. v.Transparency = 1
  1213. v.BrickColor = BrickColor.new("Really black")
  1214. v.Material = "Neon"
  1215. end
  1216. end
  1217. for i, v in pairs(extrawingmod1:GetChildren()) do
  1218. if v:IsA("Part") then
  1219. v.Transparency = 1
  1220. v.BrickColor = BrickColor.new("White")
  1221. v.Material = "Neon"
  1222. end
  1223. end
  1224. for i, v in pairs(extrawingmod2:GetChildren()) do
  1225. if v:IsA("Part") then
  1226. v.Transparency = 1
  1227. v.BrickColor = BrickColor.new("White")
  1228. v.Material = "Neon"
  1229. end
  1230. end
  1231. local MAINRUINCOLOR = BrickColor.new("Really black")
  1232. ------
  1233.  
  1234.  
  1235. function RemoveOutlines(part)
  1236.   part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1237. end
  1238. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1239.   local Part = Create("Part")({
  1240.     Parent = Parent,
  1241.     Reflectance = Reflectance,
  1242.     Transparency = Transparency,
  1243.     CanCollide = false,
  1244.     Locked = true,
  1245.     BrickColor = BrickColor.new(tostring(BColor)),
  1246.     Name = Name,
  1247.     Size = Size,
  1248.     Material = Material
  1249.   })
  1250.   Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1251.   RemoveOutlines(Part)
  1252.   return Part
  1253. end
  1254. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1255.   local Msh = Create(Mesh)({
  1256.     Parent = Part,
  1257.     Offset = OffSet,
  1258.     Scale = Scale
  1259.   })
  1260.   if Mesh == "SpecialMesh" then
  1261.     Msh.MeshType = MeshType
  1262.     Msh.MeshId = MeshId
  1263.   end
  1264.   return Msh
  1265. end
  1266. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1267.   local Weld = Create("Weld")({
  1268.     Parent = Parent,
  1269.     Part0 = Part0,
  1270.     Part1 = Part1,
  1271.     C0 = C0,
  1272.     C1 = C1
  1273.   })
  1274.   return Weld
  1275. end
  1276.  
  1277. Player=game:GetService("Players").firanks
  1278. Character=Player.Character
  1279. PlayerGui=Player.PlayerGui
  1280. Backpack=Player.Backpack
  1281. Torso=Character.Torso
  1282. Head=Character.Head
  1283. Humanoid=Character:FindFirstChildOfClass'Humanoid'
  1284. m=Instance.new('Model',Character)
  1285. LeftArm=Character["Left Arm"]
  1286. LeftLeg=Character["Left Leg"]
  1287. RightArm=Character["Right Arm"]
  1288. RightLeg=Character["Right Leg"]
  1289. LS=Torso["Left Shoulder"]
  1290. LH=Torso["Left Hip"]
  1291. RS=Torso["Right Shoulder"]
  1292. RH=Torso["Right Hip"]
  1293. Face = Head.face
  1294. Neck=Torso.Neck
  1295. it=Instance.new
  1296. attacktype=1
  1297. vt=Vector3.new
  1298. cf=CFrame.new
  1299. euler=CFrame.fromEulerAnglesXYZ
  1300. angles=CFrame.Angles
  1301. cloaked=false
  1302. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1303. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1304. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1305. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1306. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1307. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1308. RootPart=Character.HumanoidRootPart
  1309. RootJoint=RootPart.RootJoint
  1310. RootCF=euler(-1.57,0,3.14)
  1311. attack = false
  1312. attackdebounce = false
  1313. deb=false
  1314. equipped=true
  1315. hand=false
  1316. MMouse=nil
  1317. combo=0
  1318. mana=0
  1319. trispeed=.2
  1320. attackmode='none'
  1321. local idle=0
  1322. local Anim="Idle"
  1323. local Effects={}
  1324. local gun=false
  1325. local shoot=false
  1326. local sine = 0
  1327. local change = 1
  1328. player=nil
  1329. pcall(function()char.LeftWing:destroy()end)
  1330. pcall(function()char.Halo:destroy()end)
  1331. local toggleTag = true
  1332. local txt = Instance.new("BillboardGui", Head)
  1333. txt.Adornee = nil
  1334. txt.Name = "NameDetect"
  1335. txt.Size = UDim2.new(4, 0, 1.2, 0)
  1336. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  1337. local text = Instance.new("TextLabel", txt)
  1338. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  1339. text.FontSize = "Size8"
  1340. text.TextScaled = true
  1341. text.TextTransparency = 0
  1342. text.BackgroundTransparency = 1
  1343. text.TextTransparency = 0
  1344. text.TextStrokeTransparency = 0
  1345. text.Font = "Fantasy"
  1346. text.TextStrokeColor3 = Color3.new(1,1,1)
  1347. text.TextColor3 = Color3.new(0,0,0)
  1348. text.Text = "Solitude"
  1349.  
  1350. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  1351. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
  1352.  
  1353. function RecolorTextAndRename(name,col1,col2)
  1354. text.TextStrokeColor3 = col2
  1355. text.TextColor3 = col1
  1356. text.Text = name
  1357. end
  1358. --save shoulders
  1359. RSH, LSH=nil, nil
  1360. --welds
  1361. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1362. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1363. LH=Torso["Left Hip"]
  1364. RH=Torso["Right Hip"]
  1365. TorsoColor=Torso.BrickColor
  1366. function NoOutline(Part)
  1367. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1368. end
  1369. player=Player
  1370. ch=Character
  1371. RSH=ch.Torso["Right Shoulder"]
  1372. LSH=ch.Torso["Left Shoulder"]
  1373. --
  1374. RSH.Parent=nil
  1375. LSH.Parent=nil
  1376. --
  1377. RW.Name="Right Shoulder"
  1378. RW.Part0=ch.Torso
  1379. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1380. RW.C1=cf(0, 0.5, 0)
  1381. RW.Part1=ch["Right Arm"]
  1382. RW.Parent=ch.Torso
  1383. --
  1384. LW.Name="Left Shoulder"
  1385. LW.Part0=ch.Torso
  1386. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1387. LW.C1=cf(0, 0.5, 0)
  1388. LW.Part1=ch["Left Arm"]
  1389. LW.Parent=ch.Torso
  1390.  
  1391. local Stats=Instance.new("BoolValue")
  1392. Stats.Name="Stats"
  1393. Stats.Parent=Character
  1394. local Atk=Instance.new("NumberValue")
  1395. Atk.Name="Damage"
  1396. Atk.Parent=Stats
  1397. Atk.Value=1
  1398. local Def=Instance.new("NumberValue")
  1399. Def.Name="Defense"
  1400. Def.Parent=Stats
  1401. Def.Value=1
  1402. local Speed=Instance.new("NumberValue")
  1403. Speed.Name="Speed"
  1404. Speed.Parent=Stats
  1405. Speed.Value=1
  1406. local Mvmt=Instance.new("NumberValue")
  1407. Mvmt.Name="Movement"
  1408. Mvmt.Parent=Stats
  1409. Mvmt.Value=1
  1410.  
  1411. local donum=0
  1412.  
  1413.  
  1414. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1415. local fp=it("Part")
  1416. fp.formFactor=formfactor
  1417. fp.Parent=parent
  1418. fp.Reflectance=reflectance
  1419. fp.Transparency=transparency
  1420. fp.CanCollide=false
  1421. fp.Locked=true
  1422. fp.BrickColor=brickcolor
  1423. fp.Name=name
  1424. fp.Size=size
  1425. fp.Position=Torso.Position
  1426. NoOutline(fp)
  1427. fp.Material="SmoothPlastic"
  1428. fp:BreakJoints()
  1429. return fp
  1430. end
  1431.  
  1432. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1433. local mesh=it(Mesh)
  1434. mesh.Parent=part
  1435. if Mesh=="SpecialMesh" then
  1436. mesh.MeshType=meshtype
  1437. if meshid~="nil" then
  1438. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1439. end
  1440. end
  1441. mesh.Offset=offset
  1442. mesh.Scale=scale
  1443. return mesh
  1444. end
  1445.  
  1446. function weld(parent,part0,part1,c0)
  1447. local weld=it("Weld")
  1448. weld.Parent=parent
  1449. weld.Part0=part0
  1450. weld.Part1=part1
  1451. weld.C0=c0
  1452. return weld
  1453. end
  1454.  
  1455. local Color1=Torso.BrickColor
  1456.  
  1457. local bodvel=Instance.new("BodyVelocity")
  1458. local bg=Instance.new("BodyGyro")
  1459.  
  1460. --// Artificial HB \\--
  1461.  
  1462. local ArtificialHB = Instance.new("BindableEvent", script)
  1463. ArtificialHB.Name = "Heartbeat"
  1464.  
  1465. script:WaitForChild("Heartbeat")
  1466.  
  1467. local tf = 0
  1468. local allowframeloss = false
  1469. local tossremainder = false
  1470. local lastframe = tick()
  1471. local frame = 1/60
  1472. ArtificialHB:Fire()
  1473.  
  1474. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1475.     tf = tf + s
  1476.     if tf >= frame then
  1477.         if allowframeloss then
  1478.             script.Heartbeat:Fire()
  1479.             lastframe = tick()
  1480.         else
  1481.             for i = 1, math.floor(tf / frame) do
  1482.                 ArtificialHB:Fire()
  1483.             end
  1484.             lastframe = tick()
  1485.         end
  1486.         if tossremainder then
  1487.             tf = 0
  1488.         else
  1489.             tf = tf - frame * math.floor(tf / frame)
  1490.         end
  1491.     end
  1492. end)
  1493.  
  1494. function swait(num)
  1495.     if num == 0 or num == nil then
  1496.         ArtificialHB.Event:wait()
  1497.     else
  1498.         for i = 0, num do
  1499.             ArtificialHB.Event:wait()
  1500.         end
  1501.     end
  1502. end
  1503.  
  1504. -------- RAINBOW LEAVE IT TO ME
  1505. local r = 255
  1506. local g = 0
  1507. local b = 0
  1508. coroutine.resume(coroutine.create(function()
  1509. while wait() do
  1510.     for i = 0, 254/5 do
  1511.         swait()
  1512.         g = g + 5
  1513.     end
  1514.     for i = 0, 254/5 do
  1515.         swait()
  1516.         r = r - 5
  1517.     end
  1518.     for i = 0, 254/5 do
  1519.         swait()
  1520.         b = b + 5
  1521.     end
  1522.     for i = 0, 254/5 do
  1523.         swait()
  1524.         g = g - 5
  1525.     end
  1526.     for i = 0, 254/5 do
  1527.         swait()
  1528.         r = r + 5
  1529.     end
  1530.     for i = 0, 254/5 do
  1531.         swait()
  1532.         b = b - 5
  1533.     end
  1534. end
  1535. end))
  1536.  
  1537.  
  1538. so = function(id,par,vol,pit)
  1539. coroutine.resume(coroutine.create(function()
  1540. local sou = Instance.new("Sound",par or workspace)
  1541. sou.Volume=vol
  1542. sou.Pitch=pit or 1
  1543. sou.SoundId=id
  1544. swait()
  1545. sou:play()
  1546. game:GetService("Debris"):AddItem(sou,6)
  1547. end))
  1548. end
  1549.  
  1550. function clerp(a,b,t)
  1551.     return a:lerp(b,t)
  1552. end
  1553.  
  1554. local function CFrameFromTopBack(at, top, back)
  1555. local right = top:Cross(back)
  1556. return CFrame.new(at.x, at.y, at.z,
  1557. right.x, top.x, back.x,
  1558. right.y, top.y, back.y,
  1559. right.z, top.z, back.z)
  1560. end
  1561.  
  1562. function Triangle(a, b, c)
  1563. local edg1 = (c-a):Dot((b-a).unit)
  1564. local edg2 = (a-b):Dot((c-b).unit)
  1565. local edg3 = (b-c):Dot((a-c).unit)
  1566. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1567. a, b, c = a, b, c
  1568. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1569. a, b, c = b, c, a
  1570. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1571. a, b, c = c, a, b
  1572. else
  1573. assert(false, "unreachable")
  1574. end
  1575.  
  1576. local len1 = (c-a):Dot((b-a).unit)
  1577. local len2 = (b-a).magnitude - len1
  1578. local width = (a + (b-a).unit*len1 - c).magnitude
  1579.  
  1580. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1581.  
  1582. local list = {}
  1583.  
  1584. if len1 > 0.01 then
  1585. local w1 = Instance.new('WedgePart', m)
  1586. game:GetService("Debris"):AddItem(w1,5)
  1587. w1.Material = "SmoothPlastic"
  1588. w1.FormFactor = 'Custom'
  1589. w1.BrickColor = BrickColor.new("Really black")
  1590. w1.Transparency = 0
  1591. w1.Reflectance = 0
  1592. w1.Material = "SmoothPlastic"
  1593. w1.CanCollide = false
  1594. local l1 = Instance.new("PointLight",w1)
  1595. l1.Color = Color3.new(170,0,0)
  1596. NoOutline(w1)
  1597. local sz = Vector3.new(0.2, width, len1)
  1598. w1.Size = sz
  1599. local sp = Instance.new("SpecialMesh",w1)
  1600. sp.MeshType = "Wedge"
  1601. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1602. w1:BreakJoints()
  1603. w1.Anchored = true
  1604. w1.Parent = workspace
  1605. w1.Transparency = 0.7
  1606. table.insert(Effects,{w1,"Disappear",.01})
  1607. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1608. table.insert(list,w1)
  1609. end
  1610.  
  1611. if len2 > 0.01 then
  1612. local w2 = Instance.new('WedgePart', m)
  1613. game:GetService("Debris"):AddItem(w2,5)
  1614. w2.Material = "SmoothPlastic"
  1615. w2.FormFactor = 'Custom'
  1616. w2.BrickColor = BrickColor.new("Really black")
  1617. w2.Transparency = 0
  1618. w2.Reflectance = 0
  1619. w2.Material = "SmoothPlastic"
  1620. w2.CanCollide = false
  1621. local l2 = Instance.new("PointLight",w2)
  1622. l2.Color = Color3.new(170,0,0)
  1623. NoOutline(w2)
  1624. local sz = Vector3.new(0.2, width, len2)
  1625. w2.Size = sz
  1626. local sp = Instance.new("SpecialMesh",w2)
  1627. sp.MeshType = "Wedge"
  1628. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1629. w2:BreakJoints()
  1630. w2.Anchored = true
  1631. w2.Parent = workspace
  1632. w2.Transparency = 0.7
  1633. table.insert(Effects,{w2,"Disappear",.01})
  1634. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1635. table.insert(list,w2)
  1636. end
  1637. return unpack(list)
  1638. end
  1639.  
  1640.  
  1641. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1642.   if hit.Parent == nil then
  1643.     return
  1644.   end
  1645.   local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1646.   for _, v in pairs(hit.Parent:children()) do
  1647.     if v:IsA("Humanoid") then
  1648.       h = v
  1649.     end
  1650.   end
  1651.   if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1652.     if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1653.       return
  1654.     end
  1655.     local c = Create("ObjectValue")({
  1656.       Name = "creator",
  1657.       Value = game:GetService("Players").FoxyGamerBoyXD,
  1658.       Parent = h
  1659.     })
  1660.     game:GetService("Debris"):AddItem(c, 0.5)
  1661.     if HitSound ~= nil and HitPitch ~= nil then
  1662.       CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1663.     end
  1664.     local Damage = math.random(minim, maxim)
  1665.     local blocked = false
  1666.     local block = hit.Parent:findFirstChild("Block")
  1667.     if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1668.       blocked = true
  1669.       block.Value = block.Value - 1
  1670.       print(block.Value)
  1671.     end
  1672.     if blocked == false then
  1673.       HitHealth = h.Health
  1674.       h.Health = h.Health - Damage
  1675.       if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1676.         print("gained kill")
  1677.       end
  1678.       ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1679.     else
  1680.       h.Health = h.Health - Damage / 2
  1681.       ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1682.     end
  1683.     if Type == "Knockdown" then
  1684.       local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1685.       hum.PlatformStand = true
  1686.       coroutine.resume(coroutine.create(function(HHumanoid)
  1687.         swait(1)
  1688.         HHumanoid.PlatformStand = false
  1689.       end), hum)
  1690.       local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1691.       local bodvol = Create("BodyVelocity")({
  1692.         velocity = angle * knockback,
  1693.         P = 5000,
  1694.         maxForce = Vector3.new(8000, 8000, 8000),
  1695.         Parent = hit
  1696.       })
  1697.       local rl = Create("BodyAngularVelocity")({
  1698.         P = 3000,
  1699.         maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1700.         angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1701.         Parent = hit
  1702.       })
  1703.       game:GetService("Debris"):AddItem(bodvol, 0.5)
  1704.       game:GetService("Debris"):AddItem(rl, 0.5)
  1705.     elseif Type == "Normal" then
  1706.       local vp = Create("BodyVelocity")({
  1707.         P = 500,
  1708.         maxForce = Vector3.new(math.huge, 0, math.huge),
  1709.         velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1710.       })
  1711.       if knockback > 0 then
  1712.         vp.Parent = hit.Parent.Head
  1713.       end
  1714.       game:GetService("Debris"):AddItem(vp, 0.5)
  1715.     elseif Type == "Up" then
  1716.       local bodyVelocity = Create("BodyVelocity")({
  1717.         velocity = Vector3.new(0, 20, 0),
  1718.         P = 5000,
  1719.         maxForce = Vector3.new(8000, 8000, 8000),
  1720.         Parent = hit
  1721.       })
  1722.       game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1723.       local bodyVelocity = Create("BodyVelocity")({
  1724.         velocity = Vector3.new(0, 20, 0),
  1725.         P = 5000,
  1726.         maxForce = Vector3.new(8000, 8000, 8000),
  1727.         Parent = hit
  1728.       })
  1729.       game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1730.     elseif Type == "Leech" then
  1731.       local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1732.       if hum ~= nil then
  1733.         for i = 0, 2 do
  1734.           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)
  1735.         end
  1736.         Humanoid.Health = Humanoid.Health + 10
  1737.       end
  1738.     elseif Type == "UpKnock" then
  1739.       local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1740.       hum.PlatformStand = true
  1741.       if hum ~= nil then
  1742.         hitr = true
  1743.       end
  1744.       coroutine.resume(coroutine.create(function(HHumanoid)
  1745.         swait(5)
  1746.         HHumanoid.PlatformStand = false
  1747.         hitr = false
  1748.       end), hum)
  1749.       local bodyVelocity = Create("BodyVelocity")({
  1750.         velocity = Vector3.new(0, 20, 0),
  1751.         P = 5000,
  1752.         maxForce = Vector3.new(8000, 8000, 8000),
  1753.         Parent = hit
  1754.       })
  1755.       game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1756.       local bodyVelocity = Create("BodyVelocity")({
  1757.         velocity = Vector3.new(0, 20, 0),
  1758.         P = 5000,
  1759.         maxForce = Vector3.new(8000, 8000, 8000),
  1760.         Parent = hit
  1761.       })
  1762.       game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1763.     elseif Type == "Snare" then
  1764.       local bp = Create("BodyPosition")({
  1765.         P = 2000,
  1766.         D = 100,
  1767.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1768.         position = hit.Parent.Torso.Position,
  1769.         Parent = hit.Parent.Torso
  1770.       })
  1771.       game:GetService("Debris"):AddItem(bp, 1)
  1772.     elseif Type == "Slashnare" then
  1773.       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)
  1774.       for i = 1, math.random(4, 5) do
  1775.         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)
  1776.       end
  1777.       local bp = Create("BodyPosition")({
  1778.         P = 2000,
  1779.         D = 100,
  1780.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1781.         position = hit.Parent.Torso.Position,
  1782.         Parent = hit.Parent.Torso
  1783.       })
  1784.       game:GetService("Debris"):AddItem(bp, 1)
  1785.     elseif Type == "Spike" then
  1786.       CreateBigIceSword(hit.Parent.Torso.CFrame)
  1787.       local bp = Create("BodyPosition")({
  1788.         P = 2000,
  1789.         D = 100,
  1790.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1791.         position = hit.Parent.Torso.Position,
  1792.         Parent = hit.Parent.Torso
  1793.       })
  1794.       game:GetService("Debris"):AddItem(bp, 1)
  1795.     elseif Type == "Freeze" then
  1796.       local BodPos = Create("BodyPosition")({
  1797.         P = 50000,
  1798.         D = 1000,
  1799.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1800.         position = hit.Parent.Torso.Position,
  1801.         Parent = hit.Parent.Torso
  1802.       })
  1803.       local BodGy = Create("BodyGyro")({
  1804.         maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1805.         P = 20000,
  1806.         Parent = hit.Parent.Torso,
  1807.         cframe = hit.Parent.Torso.CFrame
  1808.       })
  1809.       hit.Parent.Torso.Anchored = true
  1810.       coroutine.resume(coroutine.create(function(Part)
  1811.         swait(1.5)
  1812.         Part.Anchored = false
  1813.       end), hit.Parent.Torso)
  1814.       game:GetService("Debris"):AddItem(BodPos, 3)
  1815.       game:GetService("Debris"):AddItem(BodGy, 3)
  1816.     end
  1817.     local debounce = Create("BoolValue")({
  1818.       Name = "DebounceHit",
  1819.       Parent = hit.Parent,
  1820.       Value = true
  1821.     })
  1822.     game:GetService("Debris"):AddItem(debounce, Delay)
  1823.     c = Instance.new("ObjectValue")
  1824.     c.Name = "creator"
  1825.     c.Value = Player
  1826.     c.Parent = h
  1827.     game:GetService("Debris"):AddItem(c, 0.5)
  1828.   end
  1829. end
  1830. function ShowDamage(Pos, Text, Time, Color)
  1831.   local Rate = 0.03333333333333333
  1832.   local Pos = Pos or Vector3.new(0, 0, 0)
  1833.   local Text = Text or ""
  1834.   local Time = Time or 2
  1835.   local Color = Color or Color3.new(1, 0, 1)
  1836.   local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1837.   EffectPart.Anchored = true
  1838.   local BillboardGui = Create("BillboardGui")({
  1839.     Size = UDim2.new(3, 0, 3, 0),
  1840.     Adornee = EffectPart,
  1841.     Parent = EffectPart
  1842.   })
  1843.   local TextLabel = Create("TextLabel")({
  1844.     BackgroundTransparency = 1,
  1845.     Size = UDim2.new(1, 0, 1, 0),
  1846.     Text = Text,
  1847.     TextColor3 = Color,
  1848.     TextScaled = true,
  1849.     Font = Enum.Font.ArialBold,
  1850.     Parent = BillboardGui
  1851.   })
  1852.   game.Debris:AddItem(EffectPart, Time + 0.1)
  1853.   EffectPart.Parent = game:GetService("Workspace")
  1854.   delay(0, function()
  1855.     local Frames = Time / Rate
  1856.     for Frame = 1, Frames do
  1857.       wait(Rate)
  1858.       local Percent = Frame / Frames
  1859.       EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1860.       TextLabel.TextTransparency = Percent
  1861.     end
  1862.     if EffectPart and EffectPart.Parent then
  1863.       EffectPart:Destroy()
  1864.     end
  1865.   end)
  1866. end
  1867. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1868.   for _, c in pairs(workspace:children()) do
  1869.     local hum = c:findFirstChildOfClass("Humanoid")
  1870.     if hum ~= nil then
  1871.       local head = c:findFirstChild("Head")
  1872.       if head ~= nil then
  1873.         local targ = head.Position - Part.Position
  1874.         local mag = targ.magnitude
  1875.         if magni >= mag and c.Name ~= Player.Name then
  1876.           Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1877.         end
  1878.       end
  1879.     end
  1880.   end
  1881. end
  1882.  
  1883. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1884.   for _, c in pairs(workspace:children()) do
  1885.     local hum = c:findFirstChild("Humanoid")
  1886.     if hum ~= nil then
  1887.       local head = c:findFirstChild("Torso")
  1888.       if head ~= nil then
  1889.         local targ = head.Position - Part.Position
  1890.         local mag = targ.magnitude
  1891.         if magni >= mag and c.Name ~= Player.Name then
  1892.     MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1893.           Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1894.         end
  1895.       end
  1896.     end
  1897.   end
  1898. end
  1899.  
  1900. function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1901. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1902. end
  1903.  
  1904. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1905. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1906. prt.Anchored=true
  1907. prt.CFrame=cframe
  1908. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1909. --http://www.roblox.com/asset/?id=4770560
  1910. game:GetService("Debris"):AddItem(prt,2)
  1911. CF=prt.CFrame
  1912. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1913. for i=0,1,0.2 do
  1914. wait()
  1915. Part.CFrame=CF*cf(0,0,-0.4)
  1916. end
  1917. for i=0,1,delay do
  1918. wait()
  1919. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  1920. Mesh.Scale=Mesh.Scale
  1921. end
  1922. for i=0,1,0.1 do
  1923. wait()
  1924. Part.Transparency=i
  1925. end
  1926. Part.Parent=nil
  1927. end),prt,msh,CF)
  1928. end
  1929.  
  1930. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1931. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1932. prt.Anchored=true
  1933. prt.Material = "Neon"
  1934. prt.CFrame=cframe
  1935. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1936. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1937. game:GetService("Debris"):AddItem(prt,5)
  1938. coroutine.resume(coroutine.create(function(Part,Mesh)
  1939. for i=0,1,delay do
  1940. swait()
  1941. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1942. Part.Transparency=i
  1943. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1944. end
  1945. Part.Parent=nil
  1946. end),prt,msh)
  1947. end
  1948.  
  1949. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1950. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1951. prt.Anchored=true
  1952. prt.Material = "Neon"
  1953. prt.CFrame=cframe
  1954. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1955. game:GetService("Debris"):AddItem(prt,5)
  1956. coroutine.resume(coroutine.create(function(Part,Mesh)
  1957.     local rtype = rottype
  1958. for i=0,1,delay do
  1959. swait()
  1960. if rtype == 1 then
  1961. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1962. elseif rtype == 2 then
  1963. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1964. end
  1965. Part.Transparency=i
  1966. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1967. end
  1968. Part.Parent=nil
  1969. end),prt,msh)
  1970. end
  1971.  
  1972. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1973. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1974. prt.Anchored=true
  1975. prt.CFrame=cframe
  1976. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1977. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1978. game:GetService("Debris"):AddItem(prt,5)
  1979. coroutine.resume(coroutine.create(function(Part,Mesh)
  1980. for i=0,1,delay do
  1981. wait()
  1982. Part.Transparency=i
  1983. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1984. end
  1985. Part.Parent=nil
  1986. end),prt,msh)
  1987. end
  1988.  
  1989. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1990. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1991. prt.Anchored=true
  1992. prt.Material = "Neon"
  1993. prt.CFrame=cframe
  1994. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1995. game:GetService("Debris"):AddItem(prt,5)
  1996. coroutine.resume(coroutine.create(function(Part,Mesh)
  1997.     local rtype = rottype
  1998. for i=0,1,delay do
  1999. swait()
  2000. if rtype == 1 then
  2001. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2002. elseif rtype == 2 then
  2003. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2004. end
  2005. Part.Transparency=i
  2006. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2007. end
  2008. Part.Parent=nil
  2009. end),prt,msh)
  2010. end
  2011.  
  2012. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2013. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2014. prt.Anchored=true
  2015. prt.Material = "Neon"
  2016. prt.CFrame=cframe
  2017. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2018. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2019. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2020. game:GetService("Debris"):AddItem(prt,5)
  2021. coroutine.resume(coroutine.create(function(Part,Mesh)
  2022.     local rtype = rottype
  2023. for i=0,1,delay do
  2024. swait()
  2025. if rtype == 1 then
  2026. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2027. elseif rtype == 2 then
  2028. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2029. end
  2030. dec.Transparency=i
  2031. dec2.Transparency=i
  2032. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2033. end
  2034. Part.Parent=nil
  2035. end),prt,msh)
  2036. end
  2037.  
  2038. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2039. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2040. prt.Anchored=true
  2041. prt.Material = "Neon"
  2042. prt.CFrame=cframe
  2043. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2044. game:GetService("Debris"):AddItem(prt,5)
  2045. coroutine.resume(coroutine.create(function(Part,Mesh)
  2046.     local rtype = rottype
  2047. for i=0,1,delay do
  2048. swait()
  2049. if rtype == 1 then
  2050. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2051. elseif rtype == 2 then
  2052. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2053. end
  2054. prt.Transparency=i
  2055. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2056. end
  2057. Part.Parent=nil
  2058. end),prt,msh)
  2059. end
  2060.  
  2061. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2062. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2063. prt.Anchored=true
  2064. prt.Material = "Neon"
  2065. prt.CFrame=cframe
  2066. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2067. game:GetService("Debris"):AddItem(prt,5)
  2068. coroutine.resume(coroutine.create(function(Part,Mesh)
  2069.     local rtype = rottype
  2070. for i=0,1,delay do
  2071. swait()
  2072. if rtype == 1 then
  2073. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2074. elseif rtype == 2 then
  2075. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2076. end
  2077. prt.Transparency=i
  2078. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2079. end
  2080. Part.Parent=nil
  2081. end),prt,msh)
  2082. end
  2083.  
  2084. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2085. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2086. prt.Anchored=true
  2087. prt.Material = "Neon"
  2088. prt.CFrame=cframe
  2089. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2090. game:GetService("Debris"):AddItem(prt,5)
  2091. coroutine.resume(coroutine.create(function(Part,Mesh)
  2092.     local rtype = rottype
  2093. for i=0,1,delay do
  2094. swait()
  2095. if rtype == 1 then
  2096. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2097. elseif rtype == 2 then
  2098. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2099. end
  2100. prt.Transparency=i
  2101. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2102. end
  2103. Part.Parent=nil
  2104. end),prt,msh)
  2105. end
  2106.  
  2107. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2108. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2109. prt.Anchored=true
  2110. prt.Material = "Neon"
  2111. prt.CFrame=cframe
  2112. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2113. game:GetService("Debris"):AddItem(prt,5)
  2114. coroutine.resume(coroutine.create(function(Part,Mesh)
  2115.     local rtype = rottype
  2116. for i=0,1,delay do
  2117. swait()
  2118. if rtype == 1 then
  2119. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2120. elseif rtype == 2 then
  2121. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2122. end
  2123. prt.Transparency=i
  2124. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2125. end
  2126. Part.Parent=nil
  2127. end),prt,msh)
  2128. end
  2129.  
  2130. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2131. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2132. prt.Anchored=false
  2133. prt.CFrame=cframe
  2134. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2135. local wld=weld(prt,prt,Parent,cframe)
  2136. game:GetService("Debris"):AddItem(prt,5)
  2137. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2138. for i=0,1,delay do
  2139. wait()
  2140. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2141. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2142. Part.Transparency=i
  2143. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2144. end
  2145. Part.Parent=nil
  2146. end),prt,msh,wld)
  2147. end
  2148.  
  2149. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2150. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2151. prt.Anchored=false
  2152. prt.CFrame=cframe
  2153. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2154. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2155. game:GetService("Debris"):AddItem(prt,5)
  2156. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2157. for i=0,1,delay do
  2158. wait()
  2159. Weld.C0=euler(i*20,0,0)
  2160. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2161. Part.Transparency=i
  2162. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2163. end
  2164. Part.Parent=nil
  2165. end),prt,msh,wld)
  2166. end
  2167.  
  2168. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2169. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2170. prt.Anchored=true
  2171. prt.CFrame=cframe
  2172. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2173. game:GetService("Debris"):AddItem(prt,2)
  2174. coroutine.resume(coroutine.create(function(Part,Mesh)
  2175. for i=0,1,delay do
  2176. wait()
  2177. Part.CFrame=Part.CFrame
  2178. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2179. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2180. prt2.Anchored=true
  2181. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2182. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2183. game:GetService("Debris"):AddItem(prt2,2)
  2184. coroutine.resume(coroutine.create(function(Part,Mesh)
  2185. for i=0,1,0.1 do
  2186. wait()
  2187. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2188. end
  2189. Part.Parent=nil
  2190. end),prt2,msh2)
  2191. end
  2192. for i=0,1,delay*2 do
  2193. wait()
  2194. Part.CFrame=Part.CFrame
  2195. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2196. end
  2197. Part.Parent=nil
  2198. end),prt,msh)
  2199. end
  2200.  
  2201. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2202. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2203. prt.Anchored=true
  2204. prt.CFrame=cframe
  2205. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2206. game:GetService("Debris"):AddItem(prt,2)
  2207. coroutine.resume(coroutine.create(function(Part,Mesh)
  2208. for i=0,1,delay do
  2209. wait()
  2210. Part.CFrame=Part.CFrame
  2211. Part.Transparency=i
  2212. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2213. end
  2214. Part.Parent=nil
  2215. end),prt,msh)
  2216. end
  2217.  
  2218. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2219. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2220. prt.Anchored=true
  2221. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2222. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2223. game:GetService("Debris"):AddItem(prt,2)
  2224. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2225. CF=Part.CFrame
  2226. Numbb=0
  2227. randnumb=math.random()/10
  2228. rand1=math.random()/10
  2229. for i=0,1,rand1 do
  2230. wait()
  2231. CF=CF*cf(0,math.random()/2,0)
  2232. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2233. Part.CFrame=CF*euler(Numbb,0,0)
  2234. Part.Transparency=i
  2235. Numbb=Numbb+randnumb
  2236. end
  2237. Part.Parent=nil
  2238. end),prt,CF,Numbb,randnumb)
  2239. end
  2240.  
  2241. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2242. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2243. prt.Anchored=true
  2244. prt.CFrame=cframe
  2245. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2246. game:GetService("Debris"):AddItem(prt,5)
  2247. coroutine.resume(coroutine.create(function(Part,Mesh)
  2248. for i=0,1,delay do
  2249. wait()
  2250. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2251. Part.Transparency=i
  2252. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2253. end
  2254. Part.Parent=nil
  2255. end),prt,msh)
  2256. end
  2257.  
  2258. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2259. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2260. prt.Anchored=true
  2261. prt.CFrame=cframe
  2262. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2263. game:GetService("Debris"):AddItem(prt,2)
  2264. coroutine.resume(coroutine.create(function(Part,Mesh)
  2265. for i=0,1,delay do
  2266. wait()
  2267. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2268. Part.Transparency=i
  2269. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2270. end
  2271. Part.Parent=nil
  2272. end),prt,msh)
  2273. end
  2274.  
  2275. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2276. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2277. prt.Anchored=true
  2278. prt.CFrame=cframe*cf(x,y,z)
  2279. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2280. game:GetService("Debris"):AddItem(prt,5)
  2281. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2282. local num=math.random()
  2283. local num2=math.random(-3,2)+math.random()
  2284. local numm=0
  2285. for i=0,1,delay*2 do
  2286. swait()
  2287. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2288. Part.Transparency=i
  2289. numm=numm+0.01
  2290. end
  2291. Part.Parent=nil
  2292. Mesh.Parent=nil
  2293. end),prt,msh,x,y,z)
  2294. end
  2295.  
  2296. function dmgstart(dmg,what)
  2297.     hitcon = what.Touched:connect(function(hit)
  2298.         local hum = hit.Parent:FindFirstChild("Humanoid")
  2299.         if hum and not hum:IsDescendantOf(Character) then
  2300.             hum:TakeDamage(dmg)
  2301.         end
  2302.     end)
  2303. end
  2304.  
  2305. function dmgstop()
  2306.     hitcon:disconnect()
  2307. end
  2308.  
  2309. function Cloak()
  2310. Face.Parent=nil
  2311. cloaked=true
  2312.         for _,v in pairs(Torso.Parent:children()) do
  2313.                 if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2314.                 coroutine.resume(coroutine.create(function()
  2315.                 for i=0,1,0.2 do
  2316.                 wait()
  2317.                 v.Transparency=i
  2318.                 end
  2319.                 v.Transparency=1
  2320.                 end))
  2321.                 end
  2322.                 if v.className=="Hat" then
  2323.                 hatp=v.Handle
  2324.                 coroutine.resume(coroutine.create(function(derp)
  2325.                 for i=0,1,0.2 do
  2326.                 wait()
  2327.                 derp.Transparency=i
  2328.                 end
  2329.                 derp.Transparency=1
  2330.                 end),hatp)
  2331.                 end
  2332.         end
  2333.         for _,v in pairs(m:children()) do
  2334.                 if v.className=="Part" then
  2335.                 coroutine.resume(coroutine.create(function()
  2336.                 for i=0,1,0.2 do
  2337.                 wait()
  2338.                 v.Transparency=i
  2339.                 end
  2340.                 v.Transparency=1
  2341.                 end))
  2342.                 end
  2343.         end
  2344. end
  2345.  
  2346. function UnCloak()
  2347. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2348. Face.Parent=Head
  2349. cloaked=false
  2350.         for _,v in pairs(Torso.Parent:children()) do
  2351.                 if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2352.                 coroutine.resume(coroutine.create(function()
  2353.                 for i=0,1,0.1 do
  2354.                 wait()
  2355.                 v.Transparency=v.Transparency-0.1
  2356.                 end
  2357.                 v.Transparency=0
  2358.                 end))
  2359.                 end
  2360.                 if v.className=="Hat" then
  2361.                 hatp=v.Handle
  2362.                 coroutine.resume(coroutine.create(function(derp)
  2363.                 for i=0,1,0.1 do
  2364.                 wait()
  2365.                 derp.Transparency=derp.Transparency-0.1
  2366.                 end
  2367.                 derp.Transparency=0
  2368.                 end),hatp)
  2369.                 end
  2370.         end
  2371.         for _,v in pairs(m:children()) do
  2372.                 if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2373.                 coroutine.resume(coroutine.create(function()
  2374.                 for i=0,1,0.1 do
  2375.                 wait()
  2376.                 v.Transparency=v.Transparency-0.1
  2377.                 end
  2378.                 v.Transparency=0
  2379.                 end))
  2380.                 v.Transparency=0
  2381.                 end
  2382.         end
  2383. end
  2384.  
  2385. local origcolor = BrickColor.new("Pastel light blue")
  2386. ---- This section of explosions.
  2387. function Explode(rad,par,pitch,vol,mindam,maxdam)
  2388.     local expart = Instance.new("Part",char)
  2389.     local expart2 = Instance.new("Part",char)
  2390.     local rin = Instance.new("Part",char)
  2391.     local rin2 = Instance.new("Part",char)
  2392.     local partMesh = Instance.new("SpecialMesh",expart)
  2393.     partMesh.MeshType = "Sphere"
  2394.     local partMesh2 = Instance.new("SpecialMesh",expart2)
  2395.     partMesh2.MeshType = "Sphere"
  2396.     local partMesh3 = Instance.new("SpecialMesh",rin)
  2397.     partMesh3.MeshType = "Brick"
  2398.     local partMesh4 = Instance.new("SpecialMesh",rin2)
  2399.     partMesh4.MeshType = "Brick"
  2400.     CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  2401.     partMesh.Scale = vt(rad,rad,rad)
  2402.     expart.Size = vt(1,1,1)
  2403.     expart.Transparency = 0
  2404.     expart.Anchored = true
  2405.     expart.Material = "Neon"
  2406.     expart.BrickColor = bc("White")
  2407.     expart.CFrame = par.CFrame
  2408.     partMesh2.Scale = vt(rad,rad,rad)
  2409.     expart2.Size = vt(1.15,1.15,1.15)
  2410.     expart2.Transparency = 0.5
  2411.     expart2.Anchored = true
  2412.     expart2.Material = "Neon"
  2413.     expart2.BrickColor = par.BrickColor
  2414.     expart2.CFrame = par.CFrame
  2415.     rin.Size = vt(1.15,1.15,1.15)
  2416.     rin.Transparency = 1
  2417.     rin.Anchored = true
  2418.     rin.Material = "Neon"
  2419.     rin.BrickColor = par.BrickColor
  2420.     rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2421.     rin2.Size = vt(1.15,1.15,1.15)
  2422.     rin2.Transparency = 1
  2423.     rin2.Anchored = true
  2424.     rin2.Material = "Neon"
  2425.     rin2.BrickColor = par.BrickColor
  2426.     rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2427.     partMesh3.Scale = vt(0,1,0)
  2428.     partMesh4.Scale = vt(0,1,0)
  2429. local dec2 = Instance.new("Decal", rin)
  2430. dec2.Face = "Top"
  2431. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2432. dec2.Parent = rin
  2433. local dec2b = dec2:Clone()
  2434. dec2b.Face = "Bottom"
  2435. dec2b.Parent = rin
  2436.  
  2437. local dec2a = Instance.new("Decal", rin2)
  2438. dec2a.Face = "Top"
  2439. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  2440. dec2a.Parent = rin2
  2441. local dec2ab = dec2a:Clone()
  2442. dec2ab.Face = "Bottom"
  2443. dec2ab.Parent = rin2
  2444. expart.CanCollide = false
  2445. expart2.CanCollide = false
  2446. rin.CanCollide = false
  2447. rin2.CanCollide = false
  2448. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  2449.         local value = 1*rad/6.5
  2450.     for i = 0, 199 do
  2451.                 partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2452.         expart.CFrame = expart.CFrame
  2453.                 partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2454.         expart2.CFrame = expart.CFrame
  2455.                 value = value - 0.035*rad/30
  2456.                 if value < 7.5 then
  2457.     partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  2458.         rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  2459.     partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  2460.         rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  2461.         end
  2462.                 if value < 0 then
  2463. dec2.Transparency = dec2.Transparency + 0.025
  2464. dec2a.Transparency = dec2a.Transparency + 0.025
  2465. dec2b.Transparency = dec2b.Transparency + 0.025
  2466. dec2ab.Transparency = dec2ab.Transparency + 0.025
  2467.         expart.Transparency = expart.Transparency + 0.025
  2468.         expart2.Transparency = expart2.Transparency + 0.025
  2469.         rin.Transparency = rin.Transparency + 0.025
  2470.         rin2.Transparency = rin2.Transparency + 0.025
  2471.                 end
  2472.         swait()
  2473.     end
  2474. game:GetService("Debris"):AddItem(expart, 1)
  2475. game:GetService("Debris"):AddItem(expart2, 1)
  2476. game:GetService("Debris"):AddItem(rin, 1)
  2477. game:GetService("Debris"):AddItem(rin2, 1)
  2478. end
  2479.  
  2480. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  2481.     local expart = Instance.new("Part",char)
  2482.     local expart2 = Instance.new("Part",char)
  2483.     local partMesh = Instance.new("SpecialMesh",expart)
  2484.     partMesh.MeshType = "Sphere"
  2485.     local partMesh2 = Instance.new("SpecialMesh",expart2)
  2486.     partMesh2.MeshType = "Sphere"
  2487.     CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  2488.     partMesh.Scale = vt(rad,rad,rad)
  2489.     expart.Size = vt(1,1,1)
  2490.     expart.Transparency = 0
  2491.     expart.Anchored = true
  2492.     expart.Material = "Neon"
  2493.     expart.BrickColor = bc("White")
  2494.     expart.CFrame = par.CFrame
  2495.     partMesh2.Scale = vt(rad,rad,rad)
  2496.     expart2.Size = vt(1.15,1.15,1.15)
  2497.     expart2.Transparency = 0.5
  2498.     expart2.Anchored = true
  2499.     expart2.Material = "Neon"
  2500.     expart2.BrickColor = par.BrickColor
  2501.     expart2.CFrame = par.CFrame
  2502. expart.CanCollide = false
  2503. expart2.CanCollide = false
  2504. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  2505.         local value = 1*rad/6.5
  2506.     for i = 0, 75 do
  2507.                 partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2508.         expart.CFrame = expart.CFrame
  2509.                 partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2510.         expart2.CFrame = expart.CFrame
  2511.                 value = value - 0.035*rad/5
  2512.                 if value < 0 then
  2513. value = 0
  2514.         expart.Transparency = expart.Transparency + 0.05
  2515.         expart2.Transparency = expart2.Transparency + 0.05
  2516.                 end
  2517.         swait()
  2518.     end
  2519. game:GetService("Debris"):AddItem(expart, 1)
  2520. game:GetService("Debris"):AddItem(expart2, 1)
  2521. end
  2522.  
  2523. function AreaDanger(rad,par,mindam,maxdam)
  2524.     local expart = Instance.new("Part",char)
  2525.     local partMesh = Instance.new("SpecialMesh",expart)
  2526.     CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2527.     partMesh.MeshType = "Sphere"
  2528.     partMesh.Scale = vt(rad,rad,rad)
  2529.     expart.Size = vt(1,1,1)
  2530.     expart.Transparency = 0.5
  2531.     expart.Anchored = true
  2532.     expart.Material = "Neon"
  2533.     expart.CanCollide = false
  2534.     expart.BrickColor = par.BrickColor
  2535.     expart.CFrame = par.CFrame
  2536.         local value = 1*rad/5
  2537. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  2538.     for i = 0, 14 do
  2539.         wait()
  2540.                 partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2541.         expart.CFrame = expart.CFrame
  2542.                 value = value - 0.035*rad
  2543.                 if value < 0 then
  2544.     value = 0
  2545. end
  2546.     end
  2547.     wait(0.25)
  2548. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  2549. wait(0.5)
  2550. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  2551. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  2552. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  2553. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  2554. for i = 0, 14 do
  2555.         wait()
  2556.                 partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2557.         expart.CFrame = expart.CFrame
  2558.                 value = value - 0.035*rad/2
  2559. end
  2560. expart.Transparency = 1
  2561. game:GetService("Debris"):AddItem(expart, 5)
  2562. end
  2563.  
  2564. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  2565.         CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  2566.     CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  2567.     CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  2568.     CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2569.             MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  2570.             MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  2571.     for i = 0, 24 do
  2572.         MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2))
  2573.     end
  2574.     for i = 0, 24 do
  2575.     local expart = Instance.new("Part",char)
  2576.     expart.Transparency = 1
  2577.     expart.Anchored = true
  2578.     expart.CanCollide = false
  2579.     expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  2580. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  2581. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2582. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  2583. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  2584. for i = 0, 9 do
  2585.         MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2))
  2586.     end
  2587. game:GetService("Debris"):AddItem(expart, 2)
  2588. wait(0.1)
  2589.     end
  2590. end
  2591.  
  2592. function EXterPlosion(par)
  2593.         CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  2594.     CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  2595.     CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  2596.     CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2597.             MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  2598.             MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  2599.             MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  2600.     for i = 0, 24 do
  2601.         MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2))
  2602.     end
  2603.     for i = 0, 24 do
  2604.         MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2))
  2605.     end
  2606. end
  2607. ----
  2608.  
  2609.  
  2610. function ring(type,pos,scale,value)
  2611. local type = type
  2612. local rng = Instance.new("Part", char)
  2613.         rng.Anchored = true
  2614.         rng.BrickColor = origcolor
  2615.         rng.CanCollide = false
  2616.         rng.FormFactor = 3
  2617.         rng.Name = "Ring"
  2618.         rng.Size = Vector3.new(1, 1, 1)
  2619.         rng.Transparency = 0
  2620.         rng.TopSurface = 0
  2621.         rng.BottomSurface = 0
  2622.         rng.CFrame = pos
  2623.         local rngm = Instance.new("SpecialMesh", rng)
  2624.         rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2625. rngm.Scale = scale
  2626. local scaler2 = 1
  2627. if type == "Add" then
  2628. scaler2 = 1*value
  2629. elseif type == "Divide" then
  2630. scaler2 = 1/value
  2631. end
  2632. coroutine.resume(coroutine.create(function()
  2633. for i = 0,10,0.1 do
  2634. swait()
  2635. if type == "Add" then
  2636. scaler2 = scaler2 - 0.01*value
  2637. elseif type == "Divide" then
  2638. scaler2 = scaler2 - 0.01/value
  2639. end
  2640. rng.Transparency = rng.Transparency + 0.01
  2641. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2642. end
  2643. rng:Destroy()
  2644. end))
  2645. end
  2646.  
  2647.  
  2648. function wave(type,pos,scale,value)
  2649. local type = type
  2650. local rng = Instance.new("Part", char)
  2651.         rng.Anchored = true
  2652.         rng.BrickColor = origcolor
  2653.         rng.CanCollide = false
  2654.         rng.FormFactor = 3
  2655.         rng.Name = "Ring"
  2656.         rng.Size = Vector3.new(1, 1, 1)
  2657.         rng.Transparency = 0
  2658.         rng.TopSurface = 0
  2659.         rng.BottomSurface = 0
  2660.         rng.CFrame = pos
  2661.         local rngm = Instance.new("SpecialMesh", rng)
  2662.         rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2663. rngm.Scale = scale
  2664. local scaler2 = 1
  2665. if type == "Add" then
  2666. scaler2 = 1*value
  2667. elseif type == "Divide" then
  2668. scaler2 = 1/value
  2669. end
  2670. coroutine.resume(coroutine.create(function()
  2671. for i = 0,10,0.1 do
  2672. swait()
  2673. if type == "Add" then
  2674. scaler2 = scaler2 - 0.01*value
  2675. elseif type == "Divide" then
  2676. scaler2 = scaler2 - 0.01/value
  2677. end
  2678. rng.Transparency = rng.Transparency + 0.01
  2679. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2680. end
  2681. rng:Destroy()
  2682. end))
  2683. end
  2684.  
  2685. function wind(type,pos,scale,value,speed)
  2686. local type = type
  2687. local rng = Instance.new("Part", char)
  2688.         rng.Anchored = true
  2689.         rng.BrickColor = origcolor
  2690.         rng.CanCollide = false
  2691.         rng.FormFactor = 3
  2692.         rng.Name = "Ring"
  2693.         rng.Size = Vector3.new(1, 1, 1)
  2694.         rng.Transparency = 0
  2695.         rng.TopSurface = 0
  2696.         rng.BottomSurface = 0
  2697.         rng.CFrame = pos
  2698.         local rngm = Instance.new("SpecialMesh", rng)
  2699.         rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2700. rngm.Scale = scale
  2701. local scaler2 = 1
  2702. if type == "Add" then
  2703. scaler2 = 1*value
  2704. elseif type == "Divide" then
  2705. scaler2 = 1/value
  2706. end
  2707. coroutine.resume(coroutine.create(function()
  2708. for i = 0,10,0.1 do
  2709. swait()
  2710. if type == "Add" then
  2711. scaler2 = scaler2 - 0.01*value
  2712. elseif type == "Divide" then
  2713. scaler2 = scaler2 - 0.01/value
  2714. end
  2715. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2716. rng.Transparency = rng.Transparency + 0.01
  2717. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2718. end
  2719. rng:Destroy()
  2720. end))
  2721. end
  2722.  
  2723. function groundwind(type,pos,scale,value,speed)
  2724. local type = type
  2725. local rng = Instance.new("Part", char)
  2726.         rng.Anchored = true
  2727.         rng.BrickColor = origcolor
  2728.         rng.CanCollide = false
  2729.         rng.FormFactor = 3
  2730.         rng.Name = "Ring"
  2731.         rng.Size = Vector3.new(1, 1, 1)
  2732.         rng.Transparency = 0
  2733.         rng.TopSurface = 0
  2734.         rng.BottomSurface = 0
  2735.         rng.CFrame = pos
  2736.         local rngm = Instance.new("SpecialMesh", rng)
  2737.         rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2738. rngm.Scale = scale
  2739. local scaler2 = 1
  2740. if type == "Add" then
  2741. scaler2 = 1*value
  2742. elseif type == "Divide" then
  2743. scaler2 = 1/value
  2744. end
  2745. coroutine.resume(coroutine.create(function()
  2746. for i = 0,10,0.1 do
  2747. swait()
  2748. if type == "Add" then
  2749. scaler2 = scaler2 - 0.01*value
  2750. elseif type == "Divide" then
  2751. scaler2 = scaler2 - 0.01/value
  2752. end
  2753. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2754. rng.Transparency = rng.Transparency + 0.01
  2755. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2756. end
  2757. rng:Destroy()
  2758. end))
  2759. end
  2760.  
  2761. function CameraManager()
  2762.   if TwoD and not CamInterrupt then
  2763.     if Humanoid.Health > 0 then
  2764.       Camera.CameraSubject = Humanoid
  2765.       Camera.CameraType = "Scriptable"
  2766.       Humanoid.AutoRotate = false
  2767.       if Booleans.GyroUse then
  2768.         Directer.MaxTorque = Vec3(0, huge, 0)
  2769.       else
  2770.         Directer.MaxTorque = Vec3(0, 0, 0)
  2771.       end
  2772.       if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2773.         if Booleans.CamFollow then
  2774.           CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2775.           Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2776.         else
  2777.           CPart.Position = RootPart.Position
  2778.         end
  2779.       else
  2780.         local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2781.         CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2782.       end
  2783.       Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2784.     else
  2785.       Camera.CameraSubject = Humanoid
  2786.       Camera.CameraType = "Custom"
  2787.       Controller.Disabled = false
  2788.     end
  2789.   end
  2790. end
  2791.  
  2792. function sphere(bonuspeed,type,pos,scale,value,color,heart,invert,notaffectbychaosrainbow)
  2793. local type = type
  2794. local rng = Instance.new("Part", char)
  2795.         rng.Anchored = true
  2796.         rng.BrickColor = color
  2797.         rng.CanCollide = false
  2798.         rng.FormFactor = 3
  2799.         rng.Name = "Ring"
  2800.         rng.Material = "Neon"
  2801.         rng.Size = Vector3.new(1, 1, 1)
  2802.         rng.Transparency = 0
  2803.         rng.TopSurface = 0
  2804.         rng.BottomSurface = 0
  2805.         rng.CFrame = pos
  2806.         local rngm = Instance.new("SpecialMesh", rng)
  2807.         rngm.MeshType = "Sphere"
  2808.    
  2809.  
  2810. if(heart)then
  2811.     rngm.MeshType = Enum.MeshType.FileMesh
  2812.     rngm.MeshId = "rbxassetid://105992239"
  2813.     rngm.Offset = Vector3.new(0,0,-.25)
  2814. end
  2815. rngm.Scale = scale
  2816. if rainbowmode == true and not notaffectbychaosrainbow then
  2817. rng.Color = Color3.new(r/255,g/255,b/255)
  2818. end
  2819. local scaler2 = 1
  2820. if type == "Add" then
  2821. scaler2 = 1*value
  2822. elseif type == "Divide" then
  2823. scaler2 = 1/value
  2824. end
  2825. coroutine.resume(coroutine.create(function()
  2826. for i = 0,10/bonuspeed,0.1 do
  2827. swait()
  2828. if rainbowmode == true and not notaffectbychaosrainbow then
  2829. rng.Color = Color3.new(r/255,g/255,b/255)
  2830. end
  2831. if type == "Add" then
  2832. scaler2 = scaler2 - 0.01*value/bonuspeed
  2833. elseif type == "Divide" then
  2834. scaler2 = scaler2 - 0.01/value*bonuspeed
  2835. end
  2836. if chaosmode == true and not notaffectbychaosrainbow then
  2837. rng.BrickColor = BrickColor.random()
  2838. end
  2839.         if glitchymode then
  2840.             local val = math.random(1,255)
  2841.             local color = Color3.fromRGB(val,val,val)
  2842.             rng.Color = color
  2843.         end
  2844. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2845. if(invert)then
  2846.     if(heart)then
  2847.         rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2848.     else
  2849.         rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2850.     end
  2851. else
  2852.     if(heart)then
  2853.         rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2854.     else
  2855.         rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2856.     end
  2857. end
  2858. rng.CFrame = pos
  2859. end
  2860. rng:Destroy()
  2861. end))
  2862. end
  2863.  
  2864. function newBezier(startpos, pos2, pos3, endpos, t)
  2865.   local A = clerp(startpos, pos2, t)
  2866.   local B = clerp(pos2, pos3, t)
  2867.   local C = clerp(pos3, endpos, t)
  2868.   local lerp1 = clerp(A, B, t)
  2869.   local lerp2 = clerp(B, C, t)
  2870.   local cubic = clerp(lerp1, lerp2, t)
  2871.   return cubic
  2872. end
  2873.  
  2874.  
  2875. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  2876. local type = type
  2877. local rng = Instance.new("Part", char)
  2878.         rng.Anchored = true
  2879.         rng.BrickColor = color
  2880.         rng.CanCollide = false
  2881.         rng.FormFactor = 3
  2882.         rng.Name = "Ring"
  2883.         rng.Material = "Neon"
  2884.         rng.Size = Vector3.new(1, 1, 1)
  2885.         rng.Transparency = 0
  2886.         rng.TopSurface = 0
  2887.         rng.BottomSurface = 0
  2888.         rng.CFrame = pos
  2889. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2890.         local rngm = Instance.new("SpecialMesh", rng)
  2891.         rngm.MeshType = "Brick"
  2892. if(heart)then
  2893.     rngm.MeshType = Enum.MeshType.FileMesh
  2894.     rngm.MeshId = "rbxassetid://105992239"
  2895.     rngm.Offset = Vector3.new(0,0,-.25)
  2896. end
  2897. rngm.Scale = vt(x1,y1,z1)
  2898. if rainbowmode == true then
  2899. rng.Color = Color3.new(r/255,g/255,b/255)
  2900. end
  2901. local scaler2 = 1
  2902. local speeder = FastSpeed/10
  2903. if type == "Add" then
  2904. scaler2 = 1*value
  2905. elseif type == "Divide" then
  2906. scaler2 = 1/value
  2907. end
  2908. coroutine.resume(coroutine.create(function()
  2909. for i = 0,10/bonuspeed,0.1 do
  2910. swait()
  2911. if rainbowmode == true then
  2912. rng.Color = Color3.new(r/255,g/255,b/255)
  2913. end
  2914. if type == "Add" then
  2915. scaler2 = scaler2 - 0.01*value/bonuspeed
  2916. elseif type == "Divide" then
  2917. scaler2 = scaler2 - 0.01/value*bonuspeed
  2918. end
  2919. if chaosmode == true then
  2920. rng.BrickColor = BrickColor.random()
  2921. end
  2922.         if glitchymode then
  2923.             local val = math.random(1,255)
  2924.             local color = Color3.fromRGB(val,val,val)
  2925.             rng.Color = color
  2926.         end
  2927. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2928. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  2929. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2930. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2931. end
  2932. rng:Destroy()
  2933. end))
  2934. end
  2935.  
  2936.  
  2937. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  2938. local type = type
  2939. local rng = Instance.new("Part", char)
  2940.         rng.Anchored = true
  2941.         rng.BrickColor = color
  2942.         rng.CanCollide = false
  2943.         rng.FormFactor = 3
  2944.         rng.Name = "Ring"
  2945.         rng.Material = "Neon"
  2946.         rng.Size = Vector3.new(1, 1, 1)
  2947.         rng.Transparency = 0
  2948.         rng.TopSurface = 0
  2949.         rng.BottomSurface = 0
  2950.         rng.CFrame = pos
  2951. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2952.         local rngm = Instance.new("SpecialMesh", rng)
  2953.         rngm.MeshType = "Brick"
  2954. if(heart)then
  2955.     rngm.MeshType = Enum.MeshType.FileMesh
  2956.     rngm.MeshId = "rbxassetid://105992239"
  2957.     rngm.Offset = Vector3.new(0,0,-.25)
  2958. end
  2959. rngm.Scale = vt(x1,y1,z1)
  2960. if rainbowmode == true then
  2961. rng.Color = Color3.new(r/255,g/255,b/255)
  2962. end
  2963. local scaler2 = 0
  2964. local speeder = FastSpeed/10
  2965. if type == "Add" then
  2966. scaler2 = 1*value
  2967. elseif type == "Divide" then
  2968. scaler2 = 1/value
  2969. end
  2970. coroutine.resume(coroutine.create(function()
  2971. for i = 0,10/bonuspeed,0.1 do
  2972. swait()
  2973. if rainbowmode == true then
  2974. rng.Color = Color3.new(r/255,g/255,b/255)
  2975. end
  2976. if type == "Add" then
  2977. scaler2 = scaler2 - 0.01*value/bonuspeed
  2978. elseif type == "Divide" then
  2979. scaler2 = scaler2 - 0.01/value*bonuspeed
  2980. end
  2981. if chaosmode == true then
  2982. rng.BrickColor = BrickColor.random()
  2983. end
  2984.         if glitchymode then
  2985.             local val = math.random(1,255)
  2986.             local color = Color3.fromRGB(val,val,val)
  2987.             rng.Color = color
  2988.         end
  2989. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  2990. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2991. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  2992. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2993. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2994. end
  2995. rng:Destroy()
  2996. end))
  2997. end
  2998.  
  2999. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3000. local type = type
  3001. local rng = Instance.new("Part", char)
  3002.         rng.Anchored = true
  3003.         rng.BrickColor = color
  3004.         rng.CanCollide = false
  3005.         rng.FormFactor = 3
  3006.         rng.Name = "Ring"
  3007.         rng.Material = "Neon"
  3008.         rng.Size = Vector3.new(1, 1, 1)
  3009.         rng.Transparency = 0
  3010.         rng.TopSurface = 0
  3011.         rng.BottomSurface = 0
  3012.         rng.CFrame = pos
  3013. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3014.         local rngm = Instance.new("SpecialMesh", rng)
  3015.         rngm.MeshType = "Sphere"
  3016. rngm.Scale = vt(x1,y1,z1)
  3017. if rainbowmode == true then
  3018. rng.Color = Color3.new(r/255,g/255,b/255)
  3019. end
  3020. local scaler2 = 1
  3021. local speeder = FastSpeed
  3022. if type == "Add" then
  3023. scaler2 = 1*value
  3024. elseif type == "Divide" then
  3025. scaler2 = 1/value
  3026. end
  3027. coroutine.resume(coroutine.create(function()
  3028. for i = 0,10/bonuspeed,0.1 do
  3029. swait()
  3030. if rainbowmode == true then
  3031. rng.Color = Color3.new(r/255,g/255,b/255)
  3032. end
  3033. if type == "Add" then
  3034. scaler2 = scaler2 - 0.01*value/bonuspeed
  3035. elseif type == "Divide" then
  3036. scaler2 = scaler2 - 0.01/value*bonuspeed
  3037. end
  3038. if chaosmode == true then
  3039. rng.BrickColor = BrickColor.random()
  3040. end
  3041.         if glitchymode then
  3042.             local val = math.random(1,255)
  3043.             local color = Color3.fromRGB(val,val,val)
  3044.             rng.Color = color
  3045.         end
  3046. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3047. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3048. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3049. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3050. end
  3051. rng:Destroy()
  3052. end))
  3053. end
  3054.  
  3055.  
  3056. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3057. local type = type
  3058. local rng = Instance.new("Part", char)
  3059.         rng.Anchored = true
  3060.         rng.BrickColor = color
  3061.         rng.CanCollide = false
  3062.         rng.FormFactor = 3
  3063.         rng.Name = "Ring"
  3064.         rng.Material = "Neon"
  3065.         rng.Size = Vector3.new(1, 1, 1)
  3066.         rng.Transparency = 1
  3067.         rng.TopSurface = 0
  3068.         rng.BottomSurface = 0
  3069.         rng.CFrame = pos
  3070. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3071.         local rngm = Instance.new("SpecialMesh", rng)
  3072.         rngm.MeshType = "Sphere"
  3073. rngm.Scale = vt(x1,y1,z1)
  3074. if rainbowmode == true then
  3075. rng.Color = Color3.new(r/255,g/255,b/255)
  3076. end
  3077. local scaler2 = 1
  3078. local speeder = FastSpeed
  3079. if type == "Add" then
  3080. scaler2 = 1*value
  3081. elseif type == "Divide" then
  3082. scaler2 = 1/value
  3083. end
  3084. coroutine.resume(coroutine.create(function()
  3085. for i = 0,10/bonuspeed,0.1 do
  3086. swait()
  3087. if rainbowmode == true then
  3088. rng.Color = Color3.new(r/255,g/255,b/255)
  3089. end
  3090. if type == "Add" then
  3091. scaler2 = scaler2 - 0.01*value/bonuspeed
  3092. elseif type == "Divide" then
  3093. scaler2 = scaler2 - 0.01/value*bonuspeed
  3094. end
  3095. if chaosmode == true then
  3096. rng.BrickColor = BrickColor.random()
  3097. end
  3098.         if glitchymode then
  3099.             local val = math.random(1,255)
  3100.             local color = Color3.fromRGB(val,val,val)
  3101.             rng.Color = color
  3102.         end
  3103. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3104. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3105. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3106. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3107. end
  3108. rng:Destroy()
  3109. end))
  3110. end
  3111.  
  3112. function dmg(dude)
  3113. if dude.Name ~= Character then
  3114. local bgf = Instance.new("BodyGyro",dude.Head)
  3115. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3116. local val = Instance.new("BoolValue",dude)
  3117. val.Name = "IsHit"
  3118. local ds = coroutine.wrap(function()
  3119. local torso = dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso'
  3120. for i = 1, 10 do
  3121.     sphereMK(1.5,2,"Add",torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,25,-.01,BrickColor.new("White"),0,true)
  3122. end
  3123. dude:WaitForChild("Head"):BreakJoints()
  3124. wait(0.5)
  3125. targetted = nil
  3126. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  3127.  
  3128. coroutine.resume(coroutine.create(function()
  3129. for i, v in pairs(dude:GetChildren()) do
  3130. if v:IsA("Accessory") then
  3131. v:Destroy()
  3132. end
  3133. if v:IsA("Humanoid") then
  3134. v:Destroy()
  3135. end
  3136. if v:IsA("CharacterMesh") then
  3137. v:Destroy()
  3138. end
  3139. if v:IsA("Model") then
  3140. v:Destroy()
  3141. end
  3142. if v:IsA("Part") or v:IsA("MeshPart") then
  3143. for x, o in pairs(v:GetChildren()) do
  3144. if o:IsA("Decal") then
  3145. o:Destroy()
  3146. end
  3147. end
  3148. coroutine.resume(coroutine.create(function()
  3149. v.Material = "Neon"
  3150. v.CanCollide = false
  3151. local bld = Instance.new("ParticleEmitter",v)
  3152. bld.LightEmission = 1
  3153. bld.Texture = "rbxassetid://284205403"
  3154. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  3155. bld.Rate = 50
  3156. bld.Lifetime = NumberRange.new(1)
  3157. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  3158. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3159. bld.Speed = NumberRange.new(0,0)
  3160. bld.VelocitySpread = 50000
  3161. bld.Rotation = NumberRange.new(-500,500)
  3162. bld.RotSpeed = NumberRange.new(-500,500)
  3163.         local sbs = Instance.new("BodyPosition", v)
  3164.         sbs.P = 3000
  3165.         sbs.D = 1000
  3166.         sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3167.         sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3168. v.Color = Color3.new(1,1,1)
  3169. coroutine.resume(coroutine.create(function()
  3170. for i = 0, 49 do
  3171. swait(1)
  3172. v.Transparency = v.Transparency + 0.02
  3173. end
  3174. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
  3175. bld.Speed = NumberRange.new(1,5)
  3176. bld.Acceleration = vt(0,10,0)
  3177. wait(0.5)
  3178. bld.Enabled = false
  3179. wait(3)
  3180. v:Destroy()
  3181. dude:Destroy()
  3182. end))
  3183. end))
  3184. end
  3185. end
  3186. end))
  3187. end)
  3188. ds()
  3189. end
  3190. end
  3191.  
  3192.  
  3193. function FindNearestHead(Position, Distance, SinglePlayer)
  3194.     if SinglePlayer then
  3195.         return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3196.     end
  3197.     local List = {}
  3198.     for i, v in pairs(workspace:GetChildren()) do
  3199.         if v:IsA("Model") then
  3200.             if v:findFirstChild("Head") then
  3201.                 if v ~= Character then
  3202.                     if (v.Head.Position - Position).magnitude <= Distance then
  3203.                         table.insert(List, v)
  3204.                     end
  3205.                 end
  3206.             end
  3207.         end
  3208.     end
  3209.     return List
  3210. end
  3211.  
  3212. function FaceMouse()
  3213.   Cam = workspace.CurrentCamera
  3214.   return {
  3215.     CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3216.     Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3217.   }
  3218. end
  3219.  
  3220. function FaceMouse2()
  3221.   Cam = workspace.CurrentCamera
  3222.   return {
  3223.     CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3224.     Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3225.   }
  3226. end
  3227.  
  3228. local ModeOfGlitch = 1
  3229. -- Functions are ready.
  3230. local storehumanoidWS = 16
  3231.  
  3232. function CorruptBlink()
  3233. for i = 0, 14 do
  3234. PixelBlock(3,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.03,MAINRUINCOLOR,0)
  3235. end
  3236. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3237. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3238. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3239. CameraEnshaking(2,10)
  3240. if(ModeOfGlitch == 1 or ModeOfGlitch == 3 or ModeOfGlitch == 4 or ModeOfGlitch == 666666)then for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3241. if v:FindFirstChild('Head') then
  3242. dmg(v)
  3243. end
  3244. end end
  3245. for i = 0, 14 do
  3246. PixelBlock(3,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.03,MAINRUINCOLOR,0)
  3247. end
  3248. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3249. end
  3250.  
  3251. function ExtinctiveHeartbreak()
  3252. local targetted = nil
  3253. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3254. targetted = mouse.Target.Parent
  3255. end
  3256. if targetted ~= nil then
  3257. attack = true
  3258. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3259. for i = 0, 9 do
  3260. 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("Really black"),0)
  3261. end
  3262. for i = 0, 24 do
  3263. 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("Really black"),0)
  3264. end
  3265. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3266. local originalpos = root.CFrame
  3267. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  3268. for i = 0, 9 do
  3269. 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("Really black"),0)
  3270. end
  3271. for i = 0, 24 do
  3272. 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("Really black"),0)
  3273. end
  3274. hum.WalkSpeed = 0
  3275. targetted.Head.Anchored = true
  3276. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3277. for i = 0,2,0.1 do
  3278. swait()
  3279. 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)
  3280. 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)
  3281. 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)
  3282. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  3283. 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)
  3284. 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)
  3285. end
  3286. coroutine.resume(coroutine.create(function()
  3287. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  3288. bld.LightEmission = 0.1
  3289. bld.Texture = "rbxassetid://284205403"
  3290. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3291. bld.Rate = 500
  3292. bld.Lifetime = NumberRange.new(1)
  3293. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3294. bld.Acceleration = vt(0,-25,0)
  3295. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3296. bld.Speed = NumberRange.new(10,50)
  3297. bld.EmissionDirection = "Front"
  3298. bld.VelocitySpread = 25
  3299. bld.Rotation = NumberRange.new(-500,500)
  3300. bld.RotSpeed = NumberRange.new(-500,500)
  3301. end))
  3302. coroutine.resume(coroutine.create(function()
  3303. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
  3304. bld.LightEmission = 0.1
  3305. bld.Texture = "rbxassetid://284205403"
  3306. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3307. bld.Rate = 500
  3308. bld.Lifetime = NumberRange.new(1)
  3309. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3310. bld.Acceleration = vt(0,-25,0)
  3311. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3312. bld.Speed = NumberRange.new(10,50)
  3313. bld.EmissionDirection = "Front"
  3314. bld.VelocitySpread = 25
  3315. bld.Rotation = NumberRange.new(-500,500)
  3316. bld.RotSpeed = NumberRange.new(-500,500)
  3317. end))
  3318. CameraEnshaking(5,5)
  3319. game:GetService("Debris"):AddItem(bld,3)
  3320. dmg(targetted)
  3321. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1)
  3322. for i = 0,1,0.1 do
  3323. swait()
  3324. 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)
  3325. 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)
  3326. 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)
  3327. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  3328. 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)
  3329. 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)
  3330. end
  3331. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3332. for i = 0, 9 do
  3333. 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("Really black"),0)
  3334. end
  3335. for i = 0, 24 do
  3336. 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("Really black"),0)
  3337. end
  3338. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3339. root.CFrame = originalpos
  3340. for i = 0, 9 do
  3341. 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("Really black"),0)
  3342. end
  3343. for i = 0, 24 do
  3344. 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("Really black"),0)
  3345. end
  3346. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3347. bld.Enabled = false
  3348. attack = false
  3349. hum.WalkSpeed = storehumanoidWS
  3350. end
  3351. end
  3352. function PureBomb()
  3353. attack = true
  3354.  
  3355. local orb = Instance.new("Part", char)
  3356.         orb.Anchored = true
  3357.         orb.BrickColor = BrickColor.new("Toothpaste")
  3358.         orb.CanCollide = false
  3359.         orb.FormFactor = 3
  3360.         orb.Name = "Ring"
  3361.         orb.Material = "Neon"
  3362.         orb.Size = Vector3.new(1, 1, 1)
  3363.         orb.Transparency = 0
  3364.         orb.TopSurface = 0
  3365.         orb.BottomSurface = 0
  3366.         local orbm = Instance.new("SpecialMesh", orb)
  3367.         orbm.MeshType = "Sphere"
  3368. orbm.Name = "SizeMesh"
  3369. orbm.Scale = vt(0,0,0)
  3370. local scaled = 0.1
  3371. local posid = 0
  3372. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3373. for i = 0, 5, 0.1 do
  3374. swait()
  3375. scaled = scaled - 0.001
  3376. posid = posid - scaled
  3377. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3378. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3379. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10)
  3380. PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0)
  3381. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  3382. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  3383. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3384. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3385. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3386. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  3387. end
  3388. for i = 0, 2, 0.1 do
  3389. swait()
  3390. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3391. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3392. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3393. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  3394. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3395. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3396. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3397. end
  3398. coroutine.resume(coroutine.create(function()
  3399. orb.Anchored = false
  3400. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3401.     local a = Instance.new("Part",workspace)
  3402.     a.Name = "Direction"   
  3403.     a.Anchored = true
  3404.     a.BrickColor = bc("Bright red")
  3405. a.Material = "Neon"
  3406. a.Transparency = 1
  3407.     a.CanCollide = false
  3408.     local ray = Ray.new(
  3409.         orb.CFrame.p,                           -- origin
  3410.         (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3411.     )
  3412.     local ignore = orb
  3413.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3414.     a.BottomSurface = 10
  3415.     a.TopSurface = 10
  3416.     local distance = (orb.CFrame.p - position).magnitude
  3417.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  3418.     a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3419. orb.CFrame = a.CFrame
  3420. a:Destroy()
  3421. local bv = Instance.new("BodyVelocity")
  3422. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3423. bv.velocity = orb.CFrame.lookVector*125
  3424. bv.Parent = orb
  3425. local hitted = false
  3426. game:GetService("Debris"):AddItem(orb, 15)
  3427. wait()
  3428. local hit =orb.Touched:connect(function(hit)
  3429.     if hitted == false then
  3430.     hitted = true
  3431. CameraEnshaking(10,2.5)
  3432. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3433.     MagniDamage(orb, 65, 65,90, 0, "Normal")
  3434. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3435. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3436. for i = 0, 49 do
  3437. PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
  3438. end
  3439. for i = 0, 9 do
  3440. sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  3441. sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  3442. end
  3443. orb.Anchored = true
  3444. orb.Transparency = 1
  3445. wait(8)
  3446. orb:Destroy()
  3447. end
  3448. end)
  3449. end))
  3450. for i = 0, 1, 0.1 do
  3451. swait()
  3452. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3453. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3454. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  3455. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3456. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3457. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3458. end
  3459. attack = false
  3460. end
  3461.  
  3462. function ChaosGroundStrike()
  3463. attack = true
  3464. for i = 0, 2, 0.1 do
  3465. swait()
  3466. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3467. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3468. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3469. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3470. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3471. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3472. end
  3473. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3474. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3475. CameraEnshaking(4,12)
  3476. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3477. if v:FindFirstChild('Head') then
  3478. dmg(v)
  3479. end
  3480. end
  3481. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3482. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3483. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3484. for i = 0, 2, 0.1 do
  3485. swait()
  3486. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3487. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3488. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3489. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3490. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3491. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3492. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3493. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3494. end
  3495. attack = false
  3496. end
  3497.  
  3498. function InsaneGroundStrike()
  3499. attack = true
  3500. chatfunc("Succumb to the insanity!",Color3.new(0,0,0))
  3501. for i = 0, 8, 0.1 do
  3502. swait()
  3503. PixelBlockNeg(2,1,"Add",RightLeg.CFrame*cf(0,-1.35,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0)
  3504.  
  3505. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3506. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3507. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3508. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3509. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3510. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3511. end
  3512. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3513. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3514. CameraEnshaking(8,24)
  3515. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do
  3516. if v:FindFirstChild('Head') then
  3517. dmg(v)
  3518. end
  3519. end
  3520. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3521. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3522. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,BrickColor.random())
  3523. CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 1)
  3524. chatfunc("Leave the dead where they fall!",Color3.new(0,0,0))
  3525. for i = 0, 2, 0.1 do
  3526. swait()
  3527. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3528. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3529. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3530. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3531. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3532. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3533. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3534. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3535. end
  3536. attack = false
  3537. end
  3538.  
  3539. function Starfall()
  3540. attack = true
  3541. hum.WalkSpeed = 0
  3542. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3543. for i = 0, 5, 0.1 do
  3544. swait()
  3545. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3546. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3547. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3548. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  3549. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3550. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3551. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3552. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  3553. end
  3554. local Overed = false
  3555. CameraEnshaking(2,20)
  3556. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3557. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3558. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3559. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3560. local orb = Instance.new("Part", char)
  3561.         orb.Anchored = true
  3562.         orb.BrickColor = BrickColor.new("Toothpaste")
  3563.         orb.CanCollide = false
  3564.         orb.FormFactor = 3
  3565.         orb.Name = "Remenant"
  3566.         orb.Material = "Neon"
  3567. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3568.         orb.Size = Vector3.new(1, 1, 1)
  3569.         orb.Transparency = 1
  3570.         orb.TopSurface = 0
  3571.         orb.BottomSurface = 0
  3572. hum.WalkSpeed = storehumanoidWS
  3573. coroutine.resume(coroutine.create(function()
  3574. for i = 0, 9 do
  3575. swait(10)
  3576.                  local lb = Instance.new("Part")
  3577.     lb.Color = MAINRUINCOLOR.Color
  3578.      lb.CanCollide = false
  3579. lb.Material = "Neon"
  3580.      lb.Anchored = true
  3581. lb.TopSurface = 0
  3582.         lb.BottomSurface = 0
  3583.      lb.Transparency = 0
  3584.      lb.Size = vt(1,1,1)
  3585.      lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  3586. lb.Anchored = false
  3587.   lb.Parent = char
  3588. local thingery = Instance.new("SpecialMesh",lb)
  3589.      thingery.MeshType = "Sphere"
  3590. thingery.Scale = vt(20,20,20)
  3591. game:GetService("Debris"):AddItem(lb, 10)
  3592.   local bv = Instance.new("BodyVelocity")
  3593.   bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3594.   bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3595.   bv.Parent = lb
  3596. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3597. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3598. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3599. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3600. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3601. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3602. local hitted = false
  3603. coroutine.resume(coroutine.create(function()
  3604. while true do
  3605. swait(1)
  3606. if lb.Parent ~= nil and hitted == false then
  3607. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  3608. elseif lb.Parent == nil then
  3609. break
  3610. end
  3611. end
  3612. end))
  3613.  
  3614. game:GetService("Debris"):AddItem(a, 0.1)
  3615.  
  3616. coroutine.resume(coroutine.create(function()
  3617. swait(1)
  3618. lb.Touched:connect(function(hit)
  3619. if hitted == false then
  3620. hitted = true
  3621. lb.Transparency = 1
  3622. lb.Anchored = true
  3623. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3624. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3625. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3626. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3627. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3628. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3629. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3630. CameraEnshaking(1,5)
  3631. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3632. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3633. for i = 0, 9 do
  3634. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  3635. end
  3636. for i = 0, 49 do
  3637. swait()
  3638. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3639. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  3640. end
  3641. end
  3642. end)
  3643. end))
  3644. end
  3645. Overed = true
  3646. orb:Destroy()
  3647. end))
  3648.  
  3649. attack = false
  3650. end
  3651.  
  3652. function StarfallEX()
  3653. attack = true
  3654. hum.WalkSpeed = 0
  3655. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3656. for i = 0, 5, 0.1 do
  3657. swait()
  3658. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3659. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3660. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3661. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  3662. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3663. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3664. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3665. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  3666. end
  3667. local Overed = false
  3668. CameraEnshaking(2,20)
  3669. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3670. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3671. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3672. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3673. local orb = Instance.new("Part", char)
  3674.         orb.Anchored = true
  3675.         orb.BrickColor = BrickColor.new("Toothpaste")
  3676.         orb.CanCollide = false
  3677.         orb.FormFactor = 3
  3678.         orb.Name = "Remenant"
  3679.         orb.Material = "Neon"
  3680. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3681.         orb.Size = Vector3.new(1, 1, 1)
  3682.         orb.Transparency = 1
  3683.         orb.TopSurface = 0
  3684.         orb.BottomSurface = 0
  3685. hum.WalkSpeed = storehumanoidWS
  3686. coroutine.resume(coroutine.create(function()
  3687. for i = 1, 5 do
  3688. swait(10)
  3689.                  local lb = Instance.new("Part")
  3690.     lb.Color = MAINRUINCOLOR.Color
  3691.      lb.CanCollide = false
  3692. lb.Material = "Neon"
  3693.      lb.Anchored = true
  3694. lb.TopSurface = 0
  3695.         lb.BottomSurface = 0
  3696.      lb.Transparency = 0
  3697.      lb.Size = vt(1,1,1)
  3698.      lb.CFrame = orb.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  3699. lb.Anchored = false
  3700.   lb.Parent = char
  3701. local thingery = Instance.new("SpecialMesh",lb)
  3702.      thingery.MeshType = "Sphere"
  3703. thingery.Scale = vt(20,20,20)
  3704. game:GetService("Debris"):AddItem(lb, 10)
  3705.   local bv = Instance.new("BodyVelocity")
  3706.   bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3707.   bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3708.   bv.Parent = lb
  3709. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3710. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3711. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3712. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3713. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3714. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3715. local hitted = false
  3716. coroutine.resume(coroutine.create(function()
  3717. while true do
  3718. swait(1)
  3719. if lb.Parent ~= nil and hitted == false then
  3720. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  3721. elseif lb.Parent == nil then
  3722. break
  3723. end
  3724. end
  3725. end))
  3726.  
  3727. game:GetService("Debris"):AddItem(a, 0.1)
  3728.  
  3729. coroutine.resume(coroutine.create(function()
  3730. swait(5)
  3731. lb.Touched:connect(function(hit)
  3732. if hitted == false and not hit:IsDescendantOf(Character) then
  3733. hitted = true
  3734. lb.Transparency = 1
  3735. lb.Anchored = true
  3736. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3737. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3738. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3739. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3740. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3741. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3742. MagniDamage(lb, 45, 90,170, 0, "Normal")
  3743. CameraEnshaking(1,5)
  3744. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3745. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3746. for i = 0, 9 do
  3747. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  3748. end
  3749. for i = 0, 49 do
  3750. swait()
  3751. MagniDamage(lb, 60, 20,40, 0, "Normal")
  3752. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  3753. end
  3754. end
  3755. end)
  3756. end))
  3757. end
  3758. Overed = true
  3759. orb:Destroy()
  3760. end))
  3761.  
  3762. attack = false
  3763. end
  3764.  
  3765.  
  3766. function StarDivision()
  3767. attack = true
  3768. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  3769. for i = 0, 2, 0.1 do
  3770. swait()
  3771. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3772. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.6)
  3773. 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)),.6)
  3774. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90)),.6)
  3775. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6)
  3776. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  3777. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6)
  3778. end
  3779. local orb = Instance.new("Part", char)
  3780.         orb.BrickColor = MAINRUINCOLOR
  3781.         orb.CanCollide = false
  3782.         orb.FormFactor = 3
  3783.         orb.Name = "Ring"
  3784.         orb.Material = "Neon"
  3785.         orb.Size = Vector3.new(1, 1, 1)
  3786.         orb.Transparency = 0
  3787.         orb.TopSurface = 0
  3788.         orb.BottomSurface = 0
  3789.         local orbm = Instance.new("SpecialMesh", orb)
  3790.         orbm.MeshType = "Sphere"
  3791. orbm.Name = "SizeMesh"
  3792. orbm.Scale = vt(2,2,2)
  3793. local a = Instance.new("Part",workspace)
  3794.     a.Name = "Direction"   
  3795.     a.Anchored = true
  3796.     a.BrickColor = bc("Bright red")
  3797. a.Material = "Neon"
  3798. a.Transparency = 1
  3799.     a.CanCollide = false
  3800.     local ray = Ray.new(
  3801.         sorb.CFrame.p,                           -- origin
  3802.         (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  3803.     )
  3804.     local ignore = sorb
  3805.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3806.     a.BottomSurface = 10
  3807.     a.TopSurface = 10
  3808.     local distance = (sorb.CFrame.p - position).magnitude
  3809.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  3810.     a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3811. orb.CFrame = a.CFrame
  3812. a:Destroy()
  3813. local bv = Instance.new("BodyVelocity")
  3814. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3815. bv.velocity = orb.CFrame.lookVector*100
  3816. bv.Parent = orb
  3817. local hitted = false
  3818. game:GetService("Debris"):AddItem(orb, 10)
  3819. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  3820. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  3821. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  3822. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  3823. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  3824. coroutine.resume(coroutine.create(function()
  3825. while true do
  3826. swait(1)
  3827. if orb.Parent ~= nil and hitted == false then
  3828. PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2)
  3829. elseif orb.Parent == nil then
  3830. break
  3831. end
  3832. end
  3833. end))
  3834. coroutine.resume(coroutine.create(function()
  3835. swait(1)
  3836. orb.Touched:connect(function(hit)
  3837. if hitted == false then
  3838. hitted = true
  3839. game:GetService("Debris"):AddItem(orb, 5)
  3840. orb.Transparency = 1
  3841. orb.Anchored = true
  3842. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3843. elocacenter.Anchored = true
  3844. elocacenter.CFrame = orb.CFrame
  3845. elocacenter.Orientation = vt(0,0,0)
  3846. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3847. eloca1.Anchored = true
  3848. eloca1.CFrame = elocacenter.CFrame
  3849. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3850. eloca2.Anchored = true
  3851. eloca2.CFrame = elocacenter.CFrame
  3852. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3853. eloca3.Anchored = true
  3854. eloca3.CFrame = elocacenter.CFrame
  3855. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3856. eloca4.Anchored = true
  3857. eloca4.CFrame = elocacenter.CFrame
  3858. local lookavec = 0
  3859. local speeds = 0
  3860. CameraEnshaking(1,1)
  3861. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  3862. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3863. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3864. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3865. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3866. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3867. for i = 0, 99 do
  3868. swait()
  3869. lookavec = lookavec + 1
  3870. speeds = speeds + 0.1
  3871. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3872. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3873. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3874.  
  3875. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3876. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3877.  
  3878. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3879. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3880.  
  3881. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3882. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3883. end
  3884.  
  3885. for i = 0, 149 do
  3886. swait()
  3887. speeds = speeds + 0.1
  3888. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3889. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3890. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3891.  
  3892. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3893. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3894.  
  3895. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3896. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3897.  
  3898. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3899. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3900. end
  3901. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  3902. if v:FindFirstChild('Head') then
  3903. dmg(v)
  3904. end
  3905. end
  3906. CameraEnshaking(7,30)
  3907. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  3908. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  3909. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  3910. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  3911. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  3912. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  3913. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  3914. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3915. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3916. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3917. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3918. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3919. for i = 0, 24 do
  3920. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  3921. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  3922. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  3923. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  3924. end
  3925. coroutine.resume(coroutine.create(function()
  3926. for i = 0, 499 do
  3927. swait(1)
  3928. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  3929. PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5)
  3930. end
  3931. elocacenter:Destroy()
  3932. eloca1:Destroy()
  3933. eloca2:Destroy()
  3934. eloca3:Destroy()
  3935. eloca4:Destroy()
  3936. end))
  3937. end
  3938. end)
  3939. end))
  3940. attack = false
  3941. end
  3942.  
  3943.  
  3944. function UniversalCollapse()
  3945. attack = true
  3946. local speedearn = 0
  3947. hum.WalkSpeed = 0
  3948. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  3949. for i = 0, 10, 0.1 do
  3950. swait()
  3951. speedearn = speedearn + 0.1
  3952. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3953. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3954. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3955. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3956. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3957. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  3958. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  3959. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3960. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  3961. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  3962. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  3963. end
  3964. CameraEnshaking(5,45)
  3965. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  3966. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  3967. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  3968. if v:FindFirstChild('Head') then
  3969. dmg(v)
  3970. end
  3971. end
  3972. hum.WalkSpeed = storehumanoidWS
  3973. attack = false
  3974. end
  3975. function ChaosBegone()
  3976. attack = true
  3977. local speedearn = 0
  3978. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75)
  3979. for i = 0, 10, 0.1 do
  3980. swait()
  3981. speedearn = speedearn + 0.1
  3982. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3983. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3984. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3985. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3986. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3987. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3988. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3989. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3990. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3991. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3992. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3993. end
  3994. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  3995. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1)
  3996. CameraEnshaking(5,25)
  3997. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  3998. if v:FindFirstChild('Head') then
  3999. dmg(v)
  4000. end
  4001. end
  4002. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4003. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4004. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4005. for i = 0, 3, 0.1 do
  4006. swait()
  4007. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4008. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4009. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4010. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4011. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  4012. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  4013. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4014. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4015. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4016. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4017. end
  4018. attack = false
  4019. end
  4020.  
  4021. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4022. local orb = Instance.new("Part", char)
  4023.         orb.Anchored = true
  4024.         orb.BrickColor = color
  4025.         orb.CanCollide = false
  4026.         orb.FormFactor = 3
  4027.         orb.Name = "Ring"
  4028.         orb.Material = "Neon"
  4029.         orb.Size = Vector3.new(1, 1, 1)
  4030.         orb.Transparency = 0
  4031.         orb.TopSurface = 0
  4032.         orb.BottomSurface = 0
  4033.         local orbm = Instance.new("SpecialMesh", orb)
  4034.         orbm.MeshType = "Sphere"
  4035. orb.CFrame = positted
  4036. orbm.Name = "SizeMesh"
  4037. orbm.Scale = vt(1,1,1)
  4038. coroutine.wrap(function()
  4039.     while orb and orb.Parent do
  4040.         if glitchymode then
  4041.             local val = math.random(1,255)
  4042.             local color = Color3.fromRGB(val,val,val)
  4043.             orb.Color = color
  4044.         end
  4045.         swait()
  4046.     end
  4047. end)()
  4048. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4049. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4050. --[[for i = 0, 2 do
  4051. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  4052. end]]--
  4053. coroutine.resume(coroutine.create(function()
  4054. wait(timer)
  4055. CameraEnshaking(3,ShakePower)
  4056. orb.Transparency = 1
  4057. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4058. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4059. --[[for i = 0, 4 do
  4060. sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  4061. end]]--
  4062. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4063. wait(3)
  4064. orb:Destroy()
  4065. end))
  4066. end
  4067.  
  4068. function orb_spawn(positted,timer)
  4069. local orb = Instance.new("Part", char)
  4070.         orb.Anchored = true
  4071.         orb.BrickColor = BrickColor.new("White")
  4072.  
  4073.         orb.CanCollide = false
  4074.         orb.FormFactor = 3
  4075.         orb.Name = "Ring"
  4076.         orb.Material = "Neon"
  4077.         orb.Size = Vector3.new(1, 1, 1)
  4078.         orb.Transparency = 0
  4079.         orb.TopSurface = 0
  4080.         orb.BottomSurface = 0
  4081.         local orbm = Instance.new("SpecialMesh", orb)
  4082.         orbm.MeshType = "Sphere"
  4083. orb.CFrame = positted
  4084. orbm.Name = "SizeMesh"
  4085. orbm.Scale = vt(1,1,1)
  4086. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  4087. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4088. coroutine.wrap(function()
  4089.     while orb and orb.Parent do
  4090.         if glitchymode then
  4091.             local val = math.random(1,255)
  4092.             local color = Color3.fromRGB(val,val,val)
  4093.             orb.Color = color
  4094.         end
  4095.         swait()
  4096.     end
  4097. end)()
  4098. for i = 0, 2 do
  4099. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  4100. end
  4101.  
  4102. coroutine.resume(coroutine.create(function()
  4103. wait(timer)
  4104. CameraEnshaking(3,2)
  4105. orb.Transparency = 1
  4106. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4107. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4108. for i = 0, 4 do
  4109. sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  4110. end
  4111. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  4112. wait(3)
  4113. orb:Destroy()
  4114. end))
  4115. end
  4116.  
  4117. function scattercorrupt()
  4118. attack = true
  4119. local rot = 0
  4120. local randomrotations = math.random(1,2)
  4121. local lookv = 2.5
  4122. local power = 5
  4123. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4124. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4125. for i = 0, 9 do
  4126. sphereMK(1,1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,45,-0.1,BrickColor.new("Royal purple"),0)
  4127. end
  4128.     CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  4129.     CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  4130.     CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  4131. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  4132. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  4133. local hite = Instance.new("Part", char)
  4134.         hite.Anchored = true
  4135.         hite.CanCollide = false
  4136.         hite.FormFactor = 3
  4137.         hite.Name = "Ring"
  4138.         hite.Material = "Neon"
  4139.         hite.Size = Vector3.new(1, 1, 1)
  4140.         hite.Transparency = 1
  4141.         hite.TopSurface = 0
  4142.         hite.BottomSurface = 0
  4143. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4144. local rem = Instance.new("Part", char)
  4145.         rem.Anchored = true
  4146.         rem.CanCollide = false
  4147.         rem.FormFactor = 3
  4148.         rem.Name = "Ring"
  4149.         rem.Material = "Neon"
  4150.         rem.Size = Vector3.new(1, 1, 1)
  4151.         rem.Transparency = 1
  4152.         rem.TopSurface = 0
  4153.         rem.BottomSurface = 0
  4154. rem.CFrame = hite.CFrame
  4155. local rem2 = rem:Clone()
  4156. rem2.Parent = char
  4157. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4158. local rem3 = rem:Clone()
  4159. rem3.Parent = char
  4160. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4161. local rem4 = rem:Clone()
  4162. rem4.Parent = char
  4163. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4164. hite:Destroy()
  4165. coroutine.resume(coroutine.create(function()
  4166. for i = 0, 24 do
  4167. swait(1)
  4168. if randomrotations == 1 then
  4169. rot = rot + 1
  4170. elseif randomrotations == 2 then
  4171. rot = rot - 1
  4172. end
  4173. power = power + 0.5
  4174. lookv = lookv + 7.5
  4175. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4176. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4177. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4178. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4179. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4180. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4181. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4182. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4183. end
  4184. end))
  4185. attack = false
  4186. end
  4187. function yinyangi()
  4188. attack = true
  4189. for i = 0, 2, 0.1 do
  4190. swait()
  4191. 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)
  4192. 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)
  4193. 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)
  4194. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4195. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  4196. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  4197. end
  4198. local bv = Instance.new("BodyVelocity")
  4199. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4200. bv.velocity = root.CFrame.lookVector*175
  4201. bv.Parent = root
  4202. for Rotations = 0, 9 do
  4203.  
  4204. for i = 0, 1, 0.5 do
  4205. swait()
  4206. bv.velocity = root.CFrame.lookVector*175
  4207. 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)),.5)
  4208. 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)),.5)
  4209. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5)
  4210. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4211. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4212. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4213. end
  4214.  
  4215. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4216. for i = 0, 1, 0.5 do
  4217. swait()
  4218. bv.velocity = root.CFrame.lookVector*175
  4219. 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)),.5)
  4220. 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)),.5)
  4221. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5)
  4222. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4223. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4224. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4225. end
  4226.  
  4227. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4228. for i = 0, 1, 0.5 do
  4229. swait()
  4230. bv.velocity = root.CFrame.lookVector*175
  4231. 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)),.5)
  4232. 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)),.5)
  4233. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5)
  4234. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4235. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4236. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4237. end
  4238.  
  4239. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4240. for i = 0, 1, 0.5 do
  4241. swait()
  4242. bv.velocity = root.CFrame.lookVector*175
  4243. 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)),.5)
  4244. 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)),.5)
  4245. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5)
  4246. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4247. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4248. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4249. end
  4250.  
  4251. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4252. end
  4253. bv:Destroy()
  4254. attack = false
  4255. end
  4256.  
  4257. function JusticeBeam()
  4258. attack = true
  4259.  
  4260. local rngb = Instance.new("Part", char)
  4261.         rngb.Anchored = true
  4262.         rngb.BrickColor = origcolor
  4263.         rngb.CanCollide = false
  4264.         rngb.FormFactor = 3
  4265.         rngb.Name = "Ring"
  4266.         rngb.Material = "Neon"
  4267.         rngb.Size = Vector3.new(1, 0.05, 1)
  4268.         rngb.Transparency = 1
  4269.         rngb.TopSurface = 0
  4270.         rngb.BottomSurface = 0
  4271.         local rngmb = Instance.new("SpecialMesh", rngb)
  4272.         rngmb.MeshType = "Brick"
  4273. rngmb.Name = "SizeMesh"
  4274. rngmb.Scale = vt(0,1,0)
  4275.  
  4276. local orb = rngb:Clone()
  4277. orb.Parent = char
  4278. orb.Transparency = 0
  4279. orb.BrickColor = BrickColor.new("White")
  4280. orb.Size = vt(1,1,1)
  4281. local orbmish = orb.SizeMesh
  4282. orbmish.Scale = vt(0,0,0)
  4283. orbmish.MeshType = "Sphere"
  4284.  
  4285. local orbe = rngb:Clone()
  4286. orbe.Parent = char
  4287. orbe.Transparency = 0.5
  4288. orbe.BrickColor = BrickColor.new("New Yeller")
  4289. orbe.Size = vt(1,1,1)
  4290. local orbmish2 = orbe.SizeMesh
  4291. orbmish2.Scale = vt(0,0,0)
  4292. orbmish2.MeshType = "Sphere"
  4293. orbe.Color = Color3.new(1,1,1)
  4294.  
  4295. rngb:Destroy()
  4296. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4297. local scaled = 1
  4298. for i = 0,5,0.1 do
  4299. swait()
  4300. scaled = scaled - 0.02
  4301. if rainbowmode == true then
  4302. orbe.Color = Color3.new(r/255,g/255,b/255)
  4303. end
  4304. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4305. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4306. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4307. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4308. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  4309.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4310. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4311. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4312. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4313. 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(0)),.3)
  4314. 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(10),math.rad(0)),.3)
  4315. RootPart.CFrame = FaceMouse()[1]
  4316. end]]--
  4317. for i = 0,5,0.1 do
  4318. swait()
  4319. if rainbowmode == true then
  4320. orbe.Color = Color3.new(r/255,g/255,b/255)
  4321. end
  4322.         if glitchymode then
  4323.             local val = math.random(1,255)
  4324.             local color = Color3.fromRGB(val,val,val)
  4325.             orbe.Color = color
  4326.         end
  4327. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4328. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4329. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  4330. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  4331. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4332. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  4333. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  4334. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  4335. end
  4336. orbe.Transparency = 1
  4337. orb.Transparency = 1
  4338. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4339. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4340. local a2 = Instance.new("Part",Character)
  4341.     a2.Name = "Direction"  
  4342.     a2.Anchored = true
  4343.     a2.BrickColor = bc("New Yeller")
  4344. a2.Color = Color3.new(1,1,1)
  4345. a2.Material = "Neon"
  4346. a2.Transparency = 0.5
  4347. a2.Shape = "Cylinder"
  4348.     a2.CanCollide = false
  4349. local ba = Instance.new("Part",Character)
  4350.     ba.Name = "HitDirect"  
  4351.     ba.Anchored = true
  4352.     ba.BrickColor = bc("Cool yellow")
  4353. ba.Material = "Neon"
  4354. ba.Transparency = 1
  4355.     ba.CanCollide = false
  4356.     local ray = Ray.new(
  4357.         orb.CFrame.p,                           -- origin
  4358.         root.CFrame.lookVector.unit * 1000 -- direction
  4359.     )
  4360.     local ignore = Character
  4361.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4362.     a2.Transparency = .75
  4363.     a2.BottomSurface = 10
  4364.     a2.TopSurface = 10
  4365.     local distance = (orb.CFrame.p - position).magnitude
  4366.     a2.Size = Vector3.new(distance, 1, 1)
  4367.     a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4368. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4369. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4370. game:GetService("Debris"):AddItem(a2, 20)
  4371. game:GetService("Debris"):AddItem(ba, 20)
  4372. local msh2 = Instance.new("SpecialMesh",a2)
  4373. msh2.MeshType = "Cylinder"
  4374. msh2.Scale = vt(1,6*5,6*5)
  4375.  
  4376. local snd = CFuncs.Sound.Create("rbxassetid://294188875", Torso, 10, 1)
  4377. for i = 1, 80*2 do
  4378. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  4379. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  4380. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4381. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  4382. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  4383. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  4384. swait()
  4385. CameraEnshaking(1,5)
  4386. a2.Color = Color3.new(1,1,1)
  4387. a2.Transparency = .25
  4388. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4389. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4390.     ray = Ray.new(
  4391.         orb.CFrame.p,                           -- origin
  4392.         root.CFrame.lookVector.unit * 1000 -- direction
  4393.     )
  4394. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4395. distance = (orb.CFrame.p - position).magnitude
  4396. if typrot == 1 then
  4397. rotation = rotation + 2.5
  4398. elseif typrot == 2 then
  4399. rotation = rotation - 2.5
  4400. end
  4401. a2.Size = Vector3.new(distance, 1, 1)
  4402. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4403. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4404. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4405. msh2.Scale = msh2.Scale - vt(0,.19,.19)
  4406. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4407. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4408. MagniDamage(ba, 30, 5,25, 0, "Normal")
  4409. end
  4410. a2:Destroy()
  4411. ba:Destroy()
  4412. orb:Destroy()
  4413. orbe:Destroy()
  4414. attack = false
  4415. end
  4416.  
  4417. function Wip()
  4418. attack = true
  4419.  
  4420. local rngb = Instance.new("Part", char)
  4421.         rngb.Anchored = true
  4422.         rngb.BrickColor = origcolor
  4423.         rngb.CanCollide = false
  4424.         rngb.FormFactor = 3
  4425.         rngb.Name = "Ring"
  4426.         rngb.Material = "Neon"
  4427.         rngb.Size = Vector3.new(1, 0.05, 1)
  4428.         rngb.Transparency = 1
  4429.         rngb.TopSurface = 0
  4430.         rngb.BottomSurface = 0
  4431.         local rngmb = Instance.new("SpecialMesh", rngb)
  4432.         rngmb.MeshType = "Brick"
  4433. rngmb.Name = "SizeMesh"
  4434. rngmb.Scale = vt(0,1,0)
  4435.  
  4436. local orb = rngb:Clone()
  4437. orb.Parent = char
  4438. orb.Transparency = 0
  4439. orb.BrickColor = BrickColor.new("White")
  4440. orb.Size = vt(1,1,1)
  4441. local orbmish = orb.SizeMesh
  4442. orbmish.Scale = vt(0,0,0)
  4443. orbmish.MeshType = "Sphere"
  4444.  
  4445. local orbe = rngb:Clone()
  4446. orbe.Parent = char
  4447. orbe.Transparency = 0.5
  4448. orbe.BrickColor = BrickColor.new("New Yeller")
  4449. orbe.Size = vt(1,1,1)
  4450. local orbmish2 = orbe.SizeMesh
  4451. orbmish2.Scale = vt(0,0,0)
  4452. orbmish2.MeshType = "Sphere"
  4453. orbe.Color = Color3.new(r/255,g/255,b/255)
  4454.  
  4455. hum.AutoRotate = false
  4456. rngb:Destroy()
  4457. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4458. local scaled = 1
  4459. for i = 0,5,0.1 do
  4460. swait()
  4461. scaled = scaled - 0.02
  4462. if rainbowmode == true then
  4463. orbe.Color = Color3.new(r/255,g/255,b/255)
  4464. end
  4465. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4466. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4467. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4468. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4469. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  4470.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4471. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4472. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4473. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4474. 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(0)),.3)
  4475. 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(10),math.rad(0)),.3)
  4476. RootPart.CFrame = FaceMouse()[1]
  4477. end]]--
  4478. for i = 0,5,0.1 do
  4479. swait()
  4480. if rainbowmode == true then
  4481. orbe.Color = Color3.new(r/255,g/255,b/255)
  4482. end
  4483.         if glitchymode then
  4484.             local val = math.random(1,255)
  4485.             local color = Color3.fromRGB(val,val,val)
  4486.             orbe.Color = color
  4487.         end
  4488. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4489. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4490.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4491. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4492. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4493. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4494. 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(0)),.3)
  4495. 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(10),math.rad(0)),.3)
  4496. RootPart.CFrame = FaceMouse()[1]
  4497. end
  4498. orbe.Transparency = 1
  4499. orb.Transparency = 1
  4500. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4501. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4502. local a = Instance.new("Part",Character)
  4503.     a.Name = "Direction"   
  4504.     a.Anchored = true
  4505.     a.BrickColor = bc("White")
  4506. a.Material = "Neon"
  4507. a.Transparency = 0
  4508. a.Shape = "Cylinder"
  4509.     a.CanCollide = false
  4510. local a2 = Instance.new("Part",Character)
  4511.     a2.Name = "Direction"  
  4512.     a2.Anchored = true
  4513.     a2.BrickColor = bc("New Yeller")
  4514. a2.Color = Color3.new(r/255,g/255,b/255)
  4515. a2.Material = "Neon"
  4516. a2.Transparency = 0.5
  4517. a2.Shape = "Cylinder"
  4518.     a2.CanCollide = false
  4519. local ba = Instance.new("Part",Character)
  4520.     ba.Name = "HitDirect"  
  4521.     ba.Anchored = true
  4522.     ba.BrickColor = bc("Cool yellow")
  4523. ba.Material = "Neon"
  4524. ba.Transparency = 1
  4525.     ba.CanCollide = false
  4526.     local ray = Ray.new(
  4527.         orb.CFrame.p,                           -- origin
  4528.         (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4529.     )
  4530.     local ignore = Character
  4531.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4532.     a.BottomSurface = 10
  4533.     a.TopSurface = 10
  4534.     a2.BottomSurface = 10
  4535.     a2.TopSurface = 10
  4536.     local distance = (orb.CFrame.p - position).magnitude
  4537.     a.Size = Vector3.new(distance, 1, 1)
  4538.     a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4539.     a2.Size = Vector3.new(distance, 1, 1)
  4540.     a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4541. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4542. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4543. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4544. game:GetService("Debris"):AddItem(a, 20)
  4545. game:GetService("Debris"):AddItem(a2, 20)
  4546. game:GetService("Debris"):AddItem(ba, 20)
  4547. local msh = Instance.new("SpecialMesh",a)
  4548. msh.MeshType = "Cylinder"
  4549. msh.Scale = vt(1,5*5,5*5)
  4550. local msh2 = Instance.new("SpecialMesh",a2)
  4551. msh2.MeshType = "Cylinder"
  4552. msh2.Scale = vt(1,6*5,6*5)
  4553.  
  4554. for i = 0,10,0.1 do
  4555. swait()
  4556. CameraEnshaking(1,5)
  4557. a2.Color = Color3.new(r/255,g/255,b/255)
  4558. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4559. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4560. ray = Ray.new(
  4561.         orb.CFrame.p,                           -- origin
  4562.         (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4563.     )
  4564. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4565. distance = (orb.CFrame.p - position).magnitude
  4566. if typrot == 1 then
  4567. rotation = rotation + 2.5
  4568. elseif typrot == 2 then
  4569. rotation = rotation - 2.5
  4570. end
  4571. RootPart.CFrame = FaceMouse()[1]
  4572. a.Size = Vector3.new(distance, 1, 1)
  4573. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4574. a2.Size = Vector3.new(distance, 1, 1)
  4575. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4576. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4577. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4578. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4579. msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5)
  4580. msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5)
  4581. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4582. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4583. MagniDamage(ba, 30, 5,25, 0, "Normal")
  4584. end
  4585. a:Destroy()
  4586. a2:Destroy()
  4587. ba:Destroy()
  4588. orb:Destroy()
  4589. orbe:Destroy()
  4590. hum.AutoRotate = true
  4591. attack = false
  4592. end
  4593.  
  4594.  
  4595. function UniversalSpark()
  4596. attack = true
  4597.  
  4598. local rngb = Instance.new("Part", char)
  4599.         rngb.Anchored = true
  4600.         rngb.BrickColor = origcolor
  4601.         rngb.CanCollide = false
  4602.         rngb.FormFactor = 3
  4603.         rngb.Name = "Ring"
  4604.         rngb.Material = "Neon"
  4605.         rngb.Size = Vector3.new(1, 0.05, 1)
  4606.         rngb.Transparency = 1
  4607.         rngb.TopSurface = 0
  4608.         rngb.BottomSurface = 0
  4609.         local rngmb = Instance.new("SpecialMesh", rngb)
  4610.         rngmb.MeshType = "Brick"
  4611. rngmb.Name = "SizeMesh"
  4612. rngmb.Scale = vt(0,1,0)
  4613.  
  4614. local orb = rngb:Clone()
  4615. orb.Parent = char
  4616. orb.Transparency = 0
  4617. orb.BrickColor = BrickColor.new("White")
  4618. orb.Size = vt(1,1,1)
  4619. local orbmish = orb.SizeMesh
  4620. orbmish.Scale = vt(0,0,0)
  4621. orbmish.MeshType = "Sphere"
  4622.  
  4623. local orbe = rngb:Clone()
  4624. orbe.Parent = char
  4625. orbe.Transparency = 0.5
  4626. orbe.BrickColor = BrickColor.new("New Yeller")
  4627. orbe.Size = vt(1,1,1)
  4628. local orbmish2 = orbe.SizeMesh
  4629. orbmish2.Scale = vt(0,0,0)
  4630. orbmish2.MeshType = "Sphere"
  4631. orbe.Color = Color3.new(r/255,g/255,b/255)
  4632.  
  4633. rngb:Destroy()
  4634. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4635. local scaled = 1
  4636. for i = 0,5,0.1 do
  4637. swait()
  4638. scaled = scaled - 0.02
  4639. if rainbowmode == true then
  4640. orbe.Color = Color3.new(r/255,g/255,b/255)
  4641. end
  4642. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4643. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4644. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4645. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4646. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  4647.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4648. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4649. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4650. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4651. 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(0)),.3)
  4652. 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(10),math.rad(0)),.3)
  4653. RootPart.CFrame = FaceMouse()[1]
  4654. end]]--
  4655. for i = 0,5,0.1 do
  4656. swait()
  4657. if rainbowmode == true then
  4658. orbe.Color = Color3.new(r/255,g/255,b/255)
  4659. end
  4660.         if glitchymode then
  4661.             local val = math.random(1,255)
  4662.             local color = Color3.fromRGB(val,val,val)
  4663.             orbe.Color = color
  4664.         end
  4665. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4666. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4667.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4668. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4669. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4670. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4671. 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(0)),.3)
  4672. 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(10),math.rad(0)),.3)
  4673. RootPart.CFrame = FaceMouse()[1]
  4674. end
  4675. orbe.Transparency = 1
  4676. orb.Transparency = 1
  4677. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4678. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  4679. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  4680. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  4681.  
  4682. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4683. CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1)
  4684. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  4685. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1)
  4686. CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1)
  4687. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  4688. CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1)
  4689. local xd= Instance.new("Sound",char)
  4690. xd.SoundId = "rbxassetid://445796828"
  4691. xd.Pitch = 0.75
  4692. xd.Looped = true
  4693. xd.Volume = 1.25
  4694. xd:Play()
  4695. local a = Instance.new("Part",Character)
  4696.     a.Name = "Direction"   
  4697.     a.Anchored = true
  4698.     a.BrickColor = bc("Alder")
  4699. a.Color = MAINRUINCOLOR.Color
  4700. a.Material = "Neon"
  4701. a.Transparency = 0.5
  4702. a.Shape = "Cylinder"
  4703.     a.CanCollide = false
  4704. local a2 = Instance.new("Part",Character)
  4705.     a2.Name = "Direction"  
  4706.     a2.Anchored = true
  4707.     a2.BrickColor = bc("New Yeller")
  4708. a2.Color = MAINRUINCOLOR.Color
  4709. a2.Material = "Neon"
  4710. a2.Transparency = 0.5
  4711. a2.Shape = "Cylinder"
  4712.     a2.CanCollide = false
  4713. local ba = Instance.new("Part",Character)
  4714.     ba.Name = "HitDirect"  
  4715.     ba.Anchored = true
  4716.     ba.BrickColor = bc("Cool yellow")
  4717. ba.Material = "Neon"
  4718. ba.Transparency = 1
  4719.     ba.CanCollide = false
  4720.     local ray = Ray.new(
  4721.         orb.CFrame.p,                           -- origin
  4722.         (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4723.     )
  4724.     local ignore = Character
  4725.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4726.     a.BottomSurface = 10
  4727.     a.TopSurface = 10
  4728.     a2.BottomSurface = 10
  4729.     a2.TopSurface = 10
  4730.     local distance = (orb.CFrame.p - position).magnitude
  4731.     a.Size = Vector3.new(distance, 1, 1)
  4732.     a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4733.     a2.Size = Vector3.new(distance, 1, 1)
  4734.     a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4735. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4736. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4737. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4738. game:GetService("Debris"):AddItem(a, 60)
  4739. game:GetService("Debris"):AddItem(a2, 60)
  4740. game:GetService("Debris"):AddItem(ba, 60)
  4741. local outerscale = 0
  4742. local msh = Instance.new("SpecialMesh",a)
  4743. msh.MeshType = "Cylinder"
  4744. msh.Scale = vt(1,0,0)
  4745. local msh2 = Instance.new("SpecialMesh",a2)
  4746. msh2.MeshType = "Cylinder"
  4747. msh2.Scale = vt(1,0,0)
  4748. for i = 0,2,0.1 do
  4749. swait()
  4750. CameraEnshaking(1,1)
  4751. msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20)
  4752. msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15)
  4753. outerscale = outerscale - 0.015
  4754. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4755. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4756. ray = Ray.new(
  4757.         orb.CFrame.p,                           -- origin
  4758.         (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4759.     )
  4760. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4761. distance = (orb.CFrame.p - position).magnitude
  4762. if typrot == 1 then
  4763. rotation = rotation + 2.5
  4764. elseif typrot == 2 then
  4765. rotation = rotation - 2.5
  4766. end
  4767. RootPart.CFrame = FaceMouse()[1]
  4768. a.Size = Vector3.new(distance, 1, 1)
  4769. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4770. a2.Size = Vector3.new(distance, 1, 1)
  4771. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4772. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4773. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4774. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4775. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4776. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4777. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4778. end
  4779. for z = 0, 2 do
  4780. for i = 0,4,0.1 do
  4781. swait()
  4782. CameraEnshaking(1,1)
  4783. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4784. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4785. outerscale = outerscale + 0.015
  4786. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4787. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4788. ray = Ray.new(
  4789.         orb.CFrame.p,                           -- origin
  4790.         (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4791.     )
  4792. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4793. distance = (orb.CFrame.p - position).magnitude
  4794. if typrot == 1 then
  4795. rotation = rotation + 2.5
  4796. elseif typrot == 2 then
  4797. rotation = rotation - 2.5
  4798. end
  4799. RootPart.CFrame = FaceMouse()[1]
  4800. a.Size = Vector3.new(distance, 1, 1)
  4801. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4802. a2.Size = Vector3.new(distance, 1, 1)
  4803. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4804. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4805. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4806. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4807. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4808. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4809. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4810. end
  4811. for i = 0,4,0.1 do
  4812. swait()
  4813. CameraEnshaking(1,1)
  4814. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4815. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4816. outerscale = outerscale - 0.015
  4817. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4818. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4819. ray = Ray.new(
  4820.         orb.CFrame.p,                           -- origin
  4821.         (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4822.     )
  4823. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4824. distance = (orb.CFrame.p - position).magnitude
  4825. if typrot == 1 then
  4826. rotation = rotation + 2.5
  4827. elseif typrot == 2 then
  4828. rotation = rotation - 2.5
  4829. end
  4830. RootPart.CFrame = FaceMouse()[1]
  4831. a.Size = Vector3.new(distance, 1, 1)
  4832. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4833. a2.Size = Vector3.new(distance, 1, 1)
  4834. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4835. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4836. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4837. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4838. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4839. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4840. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4841. end
  4842. end
  4843. for i = 0,4,0.1 do
  4844. swait()
  4845. CameraEnshaking(1,1)
  4846. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4847. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4848. xd.Volume = xd.Volume - 0.025
  4849. a.Transparency = a.Transparency + 0.025
  4850. a2.Transparency = a2.Transparency + 0.025
  4851. outerscale = outerscale - 0.015
  4852. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4853. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4854. ray = Ray.new(
  4855.         orb.CFrame.p,                           -- origin
  4856.         (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4857.     )
  4858. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4859. distance = (orb.CFrame.p - position).magnitude
  4860. if typrot == 1 then
  4861. rotation = rotation + 2.5
  4862. elseif typrot == 2 then
  4863. rotation = rotation - 2.5
  4864. end
  4865. RootPart.CFrame = FaceMouse()[1]
  4866. a.Size = Vector3.new(distance, 1, 1)
  4867. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4868. a2.Size = Vector3.new(distance, 1, 1)
  4869. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4870. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4871. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4872. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4873. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4874. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4875. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4876. end
  4877. xd:Destroy()
  4878. a:Destroy()
  4879. a2:Destroy()
  4880. ba:Destroy()
  4881. orb:Destroy()
  4882. orbe:Destroy()
  4883. attack = false
  4884. end
  4885.  
  4886.  
  4887.  
  4888. function attackone()
  4889.     attack = true
  4890.     for i = 0,1,0.1 do
  4891.         swait()
  4892.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
  4893.             Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
  4894.              RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  4895.              LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  4896. RH.C0=clerp(RH.C0,cf(1,-1 - 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)),.2)
  4897. 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(10)),.2)
  4898.     end
  4899.     CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
  4900.  
  4901. local hitb = Instance.new("Part", char)
  4902.         hitb.Anchored = true
  4903.         hitb.CanCollide = false
  4904.         hitb.FormFactor = 3
  4905.         hitb.Name = "Ring"
  4906.         hitb.Material = "Neon"
  4907.         hitb.Size = Vector3.new(1, 1, 1)
  4908.         hitb.Transparency = 1
  4909.         hitb.TopSurface = 0
  4910.         hitb.BottomSurface = 0
  4911. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  4912. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  4913. hitb:Destroy()
  4914.     for i = 0,1,0.1 do
  4915.         swait()
  4916.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
  4917.             Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
  4918.              RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  4919.              LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  4920. RH.C0=clerp(RH.C0,cf(1,-1 - 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(-40)),.4)
  4921. 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(-10)),.4)
  4922.     end
  4923.  
  4924.     attack = false
  4925. end
  4926.  
  4927. function attacktwo()
  4928.     attack = true
  4929.     for i = 0,1,0.1 do
  4930.         swait()
  4931.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
  4932.             Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  4933.              RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  4934.              LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  4935. RH.C0=clerp(RH.C0,cf(1,-1 - 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)),.2)
  4936. 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(10)),.2)
  4937.     end
  4938.     CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
  4939. local hitb = Instance.new("Part", char)
  4940.         hitb.Anchored = true
  4941.         hitb.CanCollide = false
  4942.         hitb.FormFactor = 3
  4943.         hitb.Name = "Ring"
  4944.         hitb.Material = "Neon"
  4945.         hitb.Size = Vector3.new(1, 1, 1)
  4946.         hitb.Transparency = 1
  4947.         hitb.TopSurface = 0
  4948.         hitb.BottomSurface = 0
  4949. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  4950. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  4951. hitb:Destroy()
  4952.     for i = 0,1,0.1 do
  4953.         swait()
  4954.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
  4955.             Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
  4956.              RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  4957.              LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  4958. 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(-5),math.rad(0),math.rad(-40)),.4)
  4959. 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(-10)),.4)
  4960.     end
  4961.     attack = false
  4962. end
  4963.  
  4964. function attackthree()
  4965.     attack = true
  4966.     for i = 0,1,0.1 do
  4967.         swait()
  4968.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3)
  4969. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
  4970. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  4971. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4972. 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(0)),.3)
  4973. 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(10),math.rad(0)),.3)
  4974.     end
  4975. local distlook = 5
  4976. for i = 0, 4 do
  4977. swait(2)
  4978. CameraEnshaking(2,3)
  4979. local hite = Instance.new("Part", char)
  4980.         hite.Anchored = true
  4981.         hite.CanCollide = false
  4982.         hite.FormFactor = 3
  4983.         hite.Name = "Ring"
  4984.         hite.Material = "Neon"
  4985.         hite.Size = Vector3.new(1, 1, 1)
  4986.         hite.Transparency = 1
  4987.         hite.TopSurface = 0
  4988.         hite.BottomSurface = 0
  4989. hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
  4990. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR)
  4991. sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
  4992. MagniDamage(hite, 10, 15,35, 0, "Normal")
  4993. for i = 0, 2 do
  4994. sphereMK(2,0.2,"Add",rarm.CFrame*CFrame.Angles(math.rad(-90+math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  4995. sphereMK(3,0.2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  4996. sphereMK(6,0.35,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  4997. end
  4998. CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
  4999. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
  5000. game:GetService("Debris"):AddItem(hite, 5)
  5001. distlook = distlook + 10
  5002. end
  5003.     attack = false
  5004. end
  5005.  
  5006. function FinalCalamity()
  5007. end
  5008.  
  5009. function resetmode()
  5010. rainbowmode = false
  5011. chaosmode = false
  5012. glitchymode = false
  5013. tl1.Enabled = false
  5014. tl2.Enabled = false
  5015. tl3.Enabled = false
  5016. local lust = ModeOfGlitch == 69
  5017.                ModeOfGlitch = 1
  5018. storehumanoidWS = 16
  5019. if(not lust)then
  5020.     newTheme("rbxassetid://1564523997",48.6,1,1)
  5021. end
  5022. coroutine.resume(coroutine.create(function()
  5023. attack = true
  5024. hum.WalkSpeed = 0
  5025. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5026. for i = 0,4,0.1 do
  5027. swait()
  5028. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5029. 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(30)),.2)
  5030. 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(-30)),.2)
  5031. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5032. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5033. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5034. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5035. end
  5036. if(lust)then
  5037. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5038. sphere(2.5,"Add",root.CFrame*angles(0,0,0),vt(100,100,2),1.25,BrickColor.new'Pink',true,true)
  5039. for i = 0, 49 do
  5040. PixelBlock(1,15,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*cf(0,0,-80),6,6,6,0.12,BrickColor.new("Pink"),0,true,true)
  5041. end
  5042.  
  5043. for i = 0,4,0.05 do
  5044. swait()
  5045. Pitch = 1-i/4
  5046.     sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5047.     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(30)),.2)
  5048. 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(-30)),.2)
  5049. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5050. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5051. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5052. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5053. end
  5054. for i = 0,3,0.1 do
  5055. swait()
  5056. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5057. 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(30)),.2)
  5058. 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(-30)),.2)
  5059. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5060. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5061. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5062. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5063. end
  5064. newTheme("rbxassetid://1564523997",48.6,1,1)
  5065. end
  5066. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5067. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5068. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5069. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5070. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  5071. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
  5072. RecolorTextAndRename("Solitude",Color3.new(0,0,0),Color3.new(1,1,1))
  5073. CameraEnshaking(5,2.5)
  5074. MAINRUINCOLOR = BrickColor.new("Really black")
  5075. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5076. for i = 0, 49 do
  5077. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  5078. end
  5079. for i = 0,3,0.1 do
  5080. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  5081. end
  5082. for i, v in pairs(mw2:GetChildren()) do
  5083. if v:IsA("Part") then
  5084. v.BrickColor = BrickColor.new("Really black")
  5085. v.Material = "Neon"
  5086. end
  5087. end
  5088. for i, v in pairs(mw1:GetChildren()) do
  5089. if v:IsA("Part") then
  5090. v.Transparency = 1
  5091. v.BrickColor = BrickColor.new("Really black")
  5092. v.Material = "Neon"
  5093. end
  5094. end
  5095. for i, v in pairs(m:GetChildren()) do
  5096. if v:IsA("Part") then
  5097. v.BrickColor = BrickColor.new("Really black")
  5098. v.Material = "Glass"
  5099. end
  5100. end
  5101. for i, v in pairs(m2:GetChildren()) do
  5102. if v:IsA("Part") then
  5103. v.BrickColor = BrickColor.new("Dark stone grey")
  5104. v.Material = "Granite"
  5105. end
  5106. end
  5107. for i, v in pairs(m3:GetChildren()) do
  5108. if v:IsA("Part") then
  5109. v.BrickColor = BrickColor.new("Really black")
  5110. v.Material = "Neon"
  5111. end
  5112. end
  5113. for i, v in pairs(extrawingmod1:GetChildren()) do
  5114. if v:IsA("Part") then
  5115. v.Transparency = 1
  5116. v.BrickColor = BrickColor.new("White")
  5117. v.Material = "Neon"
  5118. end
  5119. end
  5120. for i, v in pairs(extrawingmod2:GetChildren()) do
  5121. if v:IsA("Part") then
  5122. v.Transparency = 1
  5123. v.BrickColor = BrickColor.new("White")
  5124. v.Material = "Neon"
  5125. end
  5126. end
  5127. for i = 0,2,0.1 do
  5128. swait()
  5129. 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(-30)),.2)
  5130. 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(30)),.2)
  5131. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5132. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2)
  5133. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2)
  5134. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2)
  5135. end
  5136. hum.WalkSpeed = storehumanoidWS
  5137. attack = false
  5138. end))
  5139. end
  5140.  
  5141. function lustmode()
  5142.  
  5143.                ModeOfGlitch = 69
  5144. storehumanoidWS = 16
  5145. rainbowmode = false
  5146. chaosmode = false
  5147. glitchymode = false
  5148. tl1.Enabled = false
  5149. tl2.Enabled = false
  5150. tl3.Enabled = false
  5151. newTheme("rbxassetid://1203355187",0,1,1)
  5152. coroutine.wrap(function()
  5153. attack = true
  5154. hum.WalkSpeed = 0
  5155. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5156. for i = 0,4,0.1 do
  5157. swait()
  5158. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5159. 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(30)),.2)
  5160. 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(-30)),.2)
  5161. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5162. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5163. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5164. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5165. end
  5166. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5167. sphere(2.5,"Add",root.CFrame*cf(0,0,0),vt(0,0,2),1.5,BrickColor.new'Pink',true)
  5168.  
  5169. for i = 0,4,0.1 do
  5170. swait()
  5171. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5172. 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(30)),.2)
  5173. 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(-30)),.2)
  5174. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5175. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5176. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5177. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5178. end
  5179. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5180. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5181. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5182. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5183. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Pink' end)
  5184. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Pink' end)
  5185. CameraEnshaking(5,2.5)
  5186. MAINRUINCOLOR = BrickColor.new("Pink")
  5187. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5188. for i = 0, 49 do
  5189. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,6,0.12,MAINRUINCOLOR,0,true)
  5190. end
  5191. for i = 0,3,0.1 do
  5192. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0,true)
  5193. end
  5194. RecolorTextAndRename("'I don't wanna be banned kthx' - Derpz",Color3.new(1,1,1),BrickColor.new'Pink'.Color)
  5195. for i, v in pairs(mw2:GetChildren()) do
  5196. if v:IsA("Part") then
  5197. v.BrickColor = MAINRUINCOLOR
  5198. v.Material = "Neon"
  5199. end
  5200. end
  5201. for i, v in pairs(mw1:GetChildren()) do
  5202. if v:IsA("Part") then
  5203. v.Transparency = 1
  5204. v.BrickColor = MAINRUINCOLOR
  5205. v.Material = "Neon"
  5206. end
  5207. end
  5208. for i, v in pairs(m:GetChildren()) do
  5209. if v:IsA("Part") then
  5210. v.BrickColor = BrickColor.new("Pink")
  5211. v.Material = "Ice"
  5212. end
  5213. end
  5214. for i, v in pairs(m2:GetChildren()) do
  5215. if v:IsA("Part") then
  5216. v.BrickColor = BrickColor.new("Pink")
  5217. v.Material = "Glass"
  5218. end
  5219. end
  5220. for i, v in pairs(m3:GetChildren()) do
  5221. if v:IsA("Part") then
  5222. v.BrickColor = BrickColor.new("Pink")
  5223. v.Material = "Neon"
  5224. end
  5225. end
  5226. for i, v in pairs(extrawingmod1:GetChildren()) do
  5227. if v:IsA("Part") then
  5228. v.Transparency = 1
  5229. v.BrickColor = BrickColor.new("Pink")
  5230. v.Material = "Neon"
  5231. end
  5232. end
  5233. for i, v in pairs(extrawingmod2:GetChildren()) do
  5234. if v:IsA("Part") then
  5235. v.Transparency = 1
  5236. v.BrickColor = BrickColor.new("Pink")
  5237. v.Material = "Neon"
  5238. end
  5239. end
  5240. for i = 0,2,0.1 do
  5241. swait()
  5242. 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(-30)),.2)
  5243. 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(30)),.2)
  5244. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5245. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2)
  5246. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2)
  5247. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2)
  5248. end
  5249. hum.WalkSpeed = storehumanoidWS
  5250. attack = false
  5251. end)()
  5252. end
  5253.  
  5254. function insanitymode()
  5255. storehumanoidWS = 16
  5256. hum.WalkSpeed = 0
  5257. rainbowmode = false
  5258. glitchymode = false
  5259. chaosmode = true
  5260. tl1.Enabled = true 
  5261. tl2.Enabled = true
  5262. tl3.Enabled = true
  5263. local lust = ModeOfGlitch == 69
  5264. newTheme("rbxassetid://919231299",0,1,1)
  5265. coroutine.resume(coroutine.create(function()
  5266. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5267. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5268. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5269. attack = true
  5270. hum.WalkSpeed = 0
  5271. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5272. for i = 0,4,0.1 do
  5273. swait()
  5274. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5275. 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(30)),.2)
  5276. 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(-30)),.2)
  5277. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5278. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5279. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5280. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5281. end
  5282. for i = 0,8,0.1 do
  5283. swait()
  5284. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5285. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,.035,MAINRUINCOLOR,0)
  5286. 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(30)),.2)
  5287. 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(-30)),.2)
  5288. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5289. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5290. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5291. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5292. end
  5293.  
  5294. for i = 0,3,0.1 do
  5295. swait()
  5296. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5297. 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(30)),.2)
  5298. 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(-30)),.2)
  5299. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5300. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5301. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5302. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5303. end
  5304. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5305. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5306. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5307. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5308. CameraEnshaking(5,2.5)
  5309. MAINRUINCOLOR = BrickColor.new("Black")
  5310. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5311. for i = 0, 49 do
  5312. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  5313. end
  5314. for i = 0,3,0.1 do
  5315. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  5316. end
  5317. ModeOfGlitch = 666666
  5318. for i, v in pairs(mw2:GetChildren()) do
  5319. if v:IsA("Part") then
  5320. v.BrickColor = MAINRUINCOLOR
  5321. v.Material = "Neon"
  5322. end
  5323. end
  5324. for i, v in pairs(mw1:GetChildren()) do
  5325. if v:IsA("Part") then
  5326. v.Transparency = 0.75
  5327. v.BrickColor = BrickColor.random()
  5328. v.Material = "Neon"
  5329. end
  5330. end
  5331. for i, v in pairs(m:GetChildren()) do
  5332. if v:IsA("Part") then
  5333. v.BrickColor = BrickColor.new("Black")
  5334. v.Material = "Neon"
  5335. end
  5336. end
  5337. for i, v in pairs(m2:GetChildren()) do
  5338. if v:IsA("Part") then
  5339. v.BrickColor = BrickColor.random()
  5340. v.Material = "Neon"
  5341. end
  5342. end
  5343. for i, v in pairs(m3:GetChildren()) do
  5344. if v:IsA("Part") then
  5345. v.BrickColor = BrickColor.new("Black")
  5346. v.Material = "Neon"
  5347. end
  5348. end
  5349. for i, v in pairs(extrawingmod1:GetChildren()) do
  5350. if v:IsA("Part") then
  5351. v.Transparency = .75
  5352. v.BrickColor = BrickColor.Random()
  5353. v.Material = "Neon"
  5354. end
  5355. end
  5356. for i, v in pairs(extrawingmod2:GetChildren()) do
  5357. if v:IsA("Part") then
  5358. v.Transparency = 0
  5359. v.BrickColor = BrickColor.new("Black")
  5360. v.Material = "Neon"
  5361. end
  5362. end
  5363. for i = 0,2,0.1 do
  5364. swait()
  5365. 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(-30)),.2)
  5366. 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(30)),.2)
  5367. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5368. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  5369. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  5370. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  5371. end
  5372. hum.WalkSpeed = storehumanoidWS
  5373. attack = false
  5374. end))
  5375. end
  5376.  
  5377. local attacktype = 1
  5378. mouse.Button1Down:connect(function()
  5379.   if attack == false and attacktype == 1 then
  5380.     attacktype = 2
  5381.     attackone()
  5382.   elseif attack == false and attacktype == 2 then
  5383.     attacktype = 3
  5384.     attacktwo()
  5385.   elseif attack == false and attacktype == 3 then
  5386.     attacktype = 1
  5387.     attackthree()
  5388.   elseif attack == false and attacktype == 4 then
  5389.     attacktype = 1
  5390.     --attackfour()
  5391.   end
  5392. end)
  5393.  
  5394. function Judgement()
  5395.     attack = true
  5396.     hum.WalkSpeed = 0
  5397.     local p = Instance.new("Part",root)
  5398.     p.Anchored = true
  5399.     p.CanCollide = false
  5400.     p.BrickColor = MAINRUINCOLOR
  5401.     p.Material = Enum.Material.Neon
  5402.     p.Size = Vector3.new(1,1,1)
  5403.     p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5404.     p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5405.     local m = Instance.new("SpecialMesh",p)
  5406.     m.MeshType = "Cylinder"
  5407.     m.Scale = Vector3.new(2000,2,2)
  5408.     local targ = Instance.new("Part",root)
  5409.     targ.Transparency = 1
  5410.     targ.CanCollide = false
  5411.     targ.Size = Vector3.new(1,1,1)
  5412.     targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5413.     CFuncs.Sound.Create("rbxassetid://164178927", targ, 5, 1)
  5414.     CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
  5415.     for i = 1,15 do
  5416.         targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5417.         RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  5418.         Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  5419.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  5420.     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  5421.     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(-20)),.2)
  5422.     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(10),math.rad(20)),.2)
  5423.         sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
  5424.         sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0)
  5425.         m.Scale = m.Scale+Vector3.new(0,1,1)
  5426.         p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5427.         p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5428.         swait()
  5429.     end
  5430.     sphereMK(3, 0.2, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
  5431.     for i = 1,200 do
  5432.         targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5433.         sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0)
  5434.         sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
  5435.         p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5436.         p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5437.         MagniDamage(targ, 25, 5, 8, 0, "Normal")
  5438.         swait()
  5439.     end
  5440.     for i =1,15 do
  5441.     m.Scale = m.Scale-Vector3.new(1,1,1)
  5442.     p.Transparency = i / 15
  5443.     swait()
  5444.     end
  5445.     p:Destroy()
  5446.     hum.WalkSpeed = storehumanoidWS
  5447.     attack = false
  5448. end
  5449.  
  5450. local ODerDB = false
  5451. function ChooseODer()
  5452.     if(not ODerDB)then
  5453.         coroutine.wrap(function()
  5454.            
  5455.             local allowOD = true
  5456.             local whom = (mouse.Target and mouse.Target.Parent)
  5457.             if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Head')then
  5458.                 ODerDB = true
  5459.                 for _,v in next, ODers do
  5460.                     if(v == whom)then
  5461.                         print'nO OD SELF'
  5462.                         allowOD = false
  5463.                     end
  5464.                 end
  5465.                 if(allowOD)then
  5466.                     local ref=CFuncs.Part.Create(m,Enum.Material.Neon,0,.4,(whom.Name == 'Nebula_Zorua' and 'Royal purple' or MAINRUINCOLOR),"ref",Vector3.new(0.05,0.05,0.05))
  5467.                     local refz = CFuncs.Mesh.Create("SpecialMesh",ref,"Sphere","",Vector3.new(0, 0, 0),Vector3.new(14, 14, 14))
  5468.                    
  5469.                     ref.CFrame = Torso.CFrame
  5470.                     ref.Anchored = true
  5471.                     local e1 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.25) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
  5472.                     local e2 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.75) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
  5473.                     local MPos = whom.Head.CFrame*cf(0,4,0)
  5474.                     for i = 0, 1, .05 do
  5475.                         swait()
  5476.                         ref.CFrame = newBezier(Torso.CFrame, e1, e2, MPos, i)
  5477.                    
  5478.                         sphere(10,"Add",ref.CFrame,vt(6,6,3),0,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true)
  5479.                         if whom:FindFirstChild'Head' == nil then
  5480.                         break
  5481.                         end
  5482.                     end
  5483.                     ref:destroy()
  5484.                     if whom:FindFirstChild'Head' then
  5485.                         table.insert(ODers,whom)
  5486.                         if(#ODers > 2)then
  5487.                             table.remove(ODers,1)
  5488.                         end
  5489.                         sphere(1.5,"Add",whom.Head.CFrame * cf(0,4,0),vt(6,6,3),.15,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true)
  5490.                     end
  5491.                 end
  5492.                 ODerDB = false
  5493.             end
  5494.         end)()
  5495.     end
  5496. end
  5497.  
  5498. function RiddleMeThisRiddleMeThat()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
  5499.     attack = true
  5500.     hum.WalkSpeed = 0
  5501.     storehumanoidWS = 75
  5502.     hum.JumpPower = 0
  5503.     newThemeCust("rbxassetid://1420353940",0,1,1)
  5504.     kan.TimePosition = 0
  5505.     ModeOfGlitch = 8376532578634534
  5506.     repeat swait() until kan.IsLoaded
  5507.     chatfunc("Riddle me this..",text.TextStrokeColor3)
  5508.     for i = 0, 14, .1 do
  5509.         swait()
  5510.         RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5511.         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)
  5512.         RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)  
  5513.         Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  5514.         RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5515.         LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5516.     end
  5517.     chatfunc("Riddle me that..",text.TextStrokeColor3)
  5518.     for i = 0, 12, .1 do
  5519.         swait()
  5520.         RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5521.         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)
  5522.         RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)  
  5523.         Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(25),0),.1)
  5524.         RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5525.         LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5526.     end
  5527.     chatfunc("Who's afraid of the big black..",Color3.new(1,1,1))
  5528.     for i = 0, 16, .1 do
  5529.         swait()
  5530.         RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5531.         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)
  5532.         RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)  
  5533.         Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  5534.         RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5535.         LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5536.     end
  5537.     CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5538.     CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5539.     CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5540.     CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5541.     pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Black' end)
  5542.     pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Black' end)
  5543.     RecolorTextAndRename("The Big Black",Color3.new(0,0,0),Color3.new(1,1,1))
  5544.     CameraEnshaking(5,2.5)
  5545.     MAINRUINCOLOR = BrickColor.new("Really black")
  5546.     sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5547. tl1.Enabled = true
  5548. tl2.Enabled = true
  5549. tl3.Enabled = true
  5550.     for i = 0, 49 do
  5551.     PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  5552.     end
  5553.     for i = 0,3,0.1 do
  5554.     sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  5555.     end
  5556.     for i, v in pairs(mw2:GetChildren()) do
  5557.     if v:IsA("Part") then
  5558.     v.BrickColor = BrickColor.new("Really black")
  5559.     v.Material = "Glass"
  5560.     end
  5561.     end
  5562.     for i, v in pairs(mw1:GetChildren()) do
  5563.     if v:IsA("Part") then
  5564.     v.Transparency = 0
  5565.     v.BrickColor = BrickColor.new("Really black")
  5566.     v.Material = "Glass"
  5567.     end
  5568.     end
  5569.     for i, v in pairs(m:GetChildren()) do
  5570.     if v:IsA("Part") then
  5571.     v.BrickColor = BrickColor.new("Really black")
  5572.     v.Material = "Glass"
  5573.     end
  5574.     end
  5575.     for i, v in pairs(m2:GetChildren()) do
  5576.     if v:IsA("Part") then
  5577.     v.BrickColor = BrickColor.new("Dark stone grey")
  5578.     v.Material = "Granite"
  5579.     end
  5580.     end
  5581.     for i, v in pairs(m3:GetChildren()) do
  5582.     if v:IsA("Part") then
  5583.     v.BrickColor = BrickColor.new("Really black")
  5584.     v.Material = "Glass"
  5585.     end
  5586.     end
  5587.     for i, v in pairs(extrawingmod1:GetChildren()) do
  5588.     if v:IsA("Part") then
  5589.     v.Transparency = 0
  5590.     v.BrickColor = BrickColor.new("Dark stone grey")
  5591.     v.Material = "Glass"
  5592.     end
  5593.     end
  5594.     for i, v in pairs(extrawingmod2:GetChildren()) do
  5595.     if v:IsA("Part") then
  5596.     v.Transparency = 0
  5597.     v.BrickColor = BrickColor.new("Dark stone grey")
  5598.     v.Material = "Glass"
  5599.     end
  5600.     end
  5601.     for i = 0,2,0.1 do
  5602.     swait()
  5603.     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(-30)),.2)
  5604.     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(30)),.2)
  5605.     RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5606.     Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2)
  5607.     RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2)
  5608.     LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2)
  5609.     end
  5610.     hum.JumpPower = 50
  5611.     hum.WalkSpeed = storehumanoidWS
  5612.     attack = false
  5613. end
  5614.  
  5615. function FuckMeSidewaysAndCallMeGay()
  5616.     local whom = (mouse.Target and mouse.Target.Parent)
  5617.     --[[local fuckThisBoi = false
  5618.     if(whom and whom:FindFirstChildOfClass'Humanoid')then
  5619.         for _,v in next, ODers do
  5620.             if(v == whom)then
  5621.                 fuckThisBoi = false
  5622.             end
  5623.         end
  5624.     end
  5625.     if(not fuckThisBoi)then
  5626.         attack = false
  5627.         warn'to fuck that boi you need to target them with z'
  5628.     else]]
  5629.     if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso')then
  5630.         local hed = whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso'
  5631.         local hum = whom:FindFirstChildOfClass'Humanoid'
  5632.         local ocf = RootPart.CFrame
  5633.         hum.WalkSpeed = 0
  5634.         hum.JumpPower = 0
  5635.         hed.Anchored = true
  5636.         RootPart.Anchored = true
  5637.         Humanoid.WalkSpeed = 0
  5638.         Humanoid.JumpPower = 0
  5639.         RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5640.         CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5641.         for i = 0, 9 do
  5642.         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("Pink"),0)
  5643.         end
  5644.         for i = 0, 24 do
  5645.         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("Pink"),0)
  5646.         end
  5647.         sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  5648.         attack = true
  5649.         local speed = 1
  5650.         local heck;
  5651.         local stopitlol = false;
  5652.         heck = mouse.KeyUp:connect(function(k)
  5653.             if(k:lower() == 'm')then
  5654.                 stopitlol = true
  5655.                 heck:disconnect()
  5656.             end
  5657.         end)
  5658.         local times = 0
  5659.         repeat swait()
  5660.             speed = speed - .01
  5661.             times = times + 1
  5662.             if(speed < .1)then
  5663.                 speed = .1
  5664.             end
  5665.             for i = 0, speed, .05 do
  5666.                 RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5667.                 swait()
  5668.                 RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  5669.                 LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  5670.                 RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)   
  5671.                 Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5672.                 RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5673.                 LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5674.             end
  5675.             CameraEnshaking(5,5)
  5676.            
  5677.             CFuncs["Sound"].Create("rbxassetid://836796971", Torso, 10,1)  
  5678.            
  5679.             for i = 0, speed, .05 do
  5680.                 RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5681.                 swait()
  5682.                 RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  5683.                 LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  5684.                 RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  5685.                 Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5686.                 RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5687.                 LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5688.             end
  5689.         until stopitlol and times >= 3
  5690.         for i = 1, 3 do
  5691.             for i = 0, 1.5, .05 do
  5692.                 RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5693.                 swait()
  5694.                 RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  5695.                 LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  5696.                 RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)   
  5697.                 Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5698.                 RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5699.                 LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5700.             end
  5701.             CameraEnshaking(5,25)
  5702.            
  5703.             CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  5704.            
  5705.  
  5706.             coroutine.resume(coroutine.create(function()
  5707.             bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  5708.             bld.LightEmission = 0.1
  5709.             bld.Texture = "rbxassetid://284205403"
  5710.             bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5711.             bld.Rate = 500
  5712.             bld.Lifetime = NumberRange.new(1)
  5713.             bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5714.             bld.Acceleration = vt(0,-25,0)
  5715.             bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5716.             bld.Speed = NumberRange.new(10,50)
  5717.             bld.EmissionDirection = "Back"
  5718.             bld.VelocitySpread = 25
  5719.             bld.Rotation = NumberRange.new(-500,500)
  5720.             bld.RotSpeed = NumberRange.new(-500,500)
  5721.             bld.Enabled = false
  5722.             bld:Emit(250)
  5723.             end))
  5724.             coroutine.resume(coroutine.create(function()
  5725.             bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  5726.             bld.LightEmission = 0.1
  5727.             bld.Texture = "rbxassetid://284205403"
  5728.             bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5729.             bld.Rate = 500
  5730.             bld.Lifetime = NumberRange.new(1)
  5731.             bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5732.             bld.Acceleration = vt(0,-25,0)
  5733.             bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5734.             bld.Speed = NumberRange.new(10,50)
  5735.             bld.EmissionDirection = "Back"
  5736.             bld.VelocitySpread = 25
  5737.             bld.Rotation = NumberRange.new(-500,500)
  5738.             bld.RotSpeed = NumberRange.new(-500,500)
  5739.             bld.Enabled = false
  5740.             bld:Emit(250)
  5741.             end))
  5742.             for i = 0, 1.5, .05 do
  5743.                 RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5744.                 swait()
  5745.                 RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  5746.                 LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  5747.                 RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  5748.                 Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5749.                 RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5750.                 LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5751.             end
  5752.         end
  5753.             for i = 0, 4, .05 do
  5754.                 RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5755.                 swait()
  5756.                 RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(100),0,0)*angles(0,math.rad(90),0),.1)
  5757.                 LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5758.                 RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(-50),0,0)*RootCF,.1)  
  5759.                 Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  5760.                 RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  5761.                 LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  5762.             end
  5763.             CameraEnshaking(5,25)
  5764.             CFuncs["Sound"].Create("rbxassetid://429400881", hed, 3,1)
  5765.             CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  5766.            
  5767.             dmg(whom)
  5768.             coroutine.resume(coroutine.create(function()
  5769.             bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  5770.             bld.LightEmission = 0.1
  5771.             bld.Texture = "rbxassetid://284205403"
  5772.             bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5773.             bld.Rate = 500
  5774.             bld.Lifetime = NumberRange.new(1)
  5775.             bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5776.             bld.Acceleration = vt(0,-25,0)
  5777.             bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5778.             bld.Speed = NumberRange.new(10,50)
  5779.             bld.EmissionDirection = "Back"
  5780.             bld.VelocitySpread = 25
  5781.             bld.Rotation = NumberRange.new(-500,500)
  5782.             bld.RotSpeed = NumberRange.new(-500,500)
  5783.             bld.Enabled = true
  5784.             end))
  5785.             coroutine.resume(coroutine.create(function()
  5786.             bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  5787.             bld.LightEmission = 0.1
  5788.             bld.Texture = "rbxassetid://284205403"
  5789.             bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5790.             bld.Rate = 500
  5791.             bld.Lifetime = NumberRange.new(1)
  5792.             bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5793.             bld.Acceleration = vt(0,-25,0)
  5794.             bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5795.             bld.Speed = NumberRange.new(10,50)
  5796.             bld.EmissionDirection = "Back"
  5797.             bld.VelocitySpread = 25
  5798.             bld.Rotation = NumberRange.new(-500,500)
  5799.             bld.RotSpeed = NumberRange.new(-500,500)
  5800.             bld.Enabled = true
  5801.             end))
  5802.             for i = 0, 3, .05 do
  5803.                 RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5804.                 swait()
  5805.                 RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-100),0,0)*angles(0,math.rad(90),0),.4)
  5806.                 LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  5807.                 RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(50),0,0)*RootCF,.4)   
  5808.                 Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5809.                 RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5810.                 LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5811.             end
  5812.        
  5813.         RootPart.CFrame = ocf
  5814.         CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5815.         for i = 0, 9 do
  5816.         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("Pink"),0)
  5817.         end
  5818.         for i = 0, 24 do
  5819.         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("Pink"),0)
  5820.         end
  5821.         sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  5822.         RootPart.Anchored = false
  5823.         Humanoid.WalkSpeed = storehumanoidWS
  5824.         Humanoid.JumpPower = 50
  5825.         attack = false
  5826.     end
  5827. end
  5828.  
  5829. local input = ""
  5830.  
  5831. mouse.KeyDown:connect(function(k)
  5832.     if(k == "w" or k == "a" or k == "s" or k == "d")then
  5833.         input = input .. k
  5834.         local newInput = input
  5835.         coroutine.wrap(function()
  5836.             for i = 1, 25 do
  5837.                 if(newInput ~= input)then break end
  5838.                 swait()
  5839.             end
  5840.             if(newInput == input)then input = "" end
  5841.         end)()
  5842.         if(input == "wwssadad" and not AllowRape)then
  5843.             AllowRape = true
  5844.             warn("Rape unlocked! Have fun ;)")
  5845.         elseif(input == "wwaassdd" and not AllowCata)then
  5846.             AllowCata = true
  5847.             warn("You unlocked CATASTROPHE.")
  5848.         elseif(input == 'ddawas' and ModeOfGlitch == 4 and not attack)then
  5849.             ChaosBegone()
  5850.         end
  5851.     end
  5852. end)
  5853.  
  5854. mouse.KeyDown:connect(function(k)
  5855.     if k == "h" then
  5856.    
  5857.     end
  5858.    
  5859.         if k == "q" and attack == false and ModeOfGlitch ~= 2 then
  5860.                ModeOfGlitch = 2
  5861. storehumanoidWS = 16
  5862. hum.WalkSpeed = 16
  5863. rainbowmode = false
  5864. chaosmode = false
  5865. glitchymode = false
  5866. tl1.Enabled = false
  5867. tl2.Enabled = false
  5868. tl3.Enabled = false
  5869. RecolorTextAndRename("Purity",Color3.new(1,1,1),Color3.new(0,1,1))
  5870. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Teal' end)
  5871. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Teal' end)
  5872. newTheme("rbxassetid://1539245059",0,1,1)
  5873. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  5874. for i, v in pairs(mw2:GetChildren()) do
  5875. if v:IsA("Part") then
  5876. v.BrickColor = MAINRUINCOLOR
  5877. v.Material = "Neon"
  5878. end
  5879. end
  5880. for i, v in pairs(mw1:GetChildren()) do
  5881. if v:IsA("Part") then
  5882. v.Transparency = 1
  5883. v.BrickColor = MAINRUINCOLOR
  5884. v.Material = "Neon"
  5885. end
  5886. end
  5887. for i, v in pairs(m:GetChildren()) do
  5888. if v:IsA("Part") then
  5889. v.BrickColor = BrickColor.new("White")
  5890. v.Material = "Ice"
  5891. end
  5892. end
  5893. for i, v in pairs(m2:GetChildren()) do
  5894. if v:IsA("Part") then
  5895. v.BrickColor = BrickColor.new("Pastel light blue")
  5896. v.Material = "Glass"
  5897. end
  5898. end
  5899. for i, v in pairs(m3:GetChildren()) do
  5900. if v:IsA("Part") then
  5901. v.BrickColor = BrickColor.new("Toothpaste")
  5902. v.Material = "Neon"
  5903. end
  5904. end
  5905. for i, v in pairs(extrawingmod1:GetChildren()) do
  5906. if v:IsA("Part") then
  5907. v.Transparency = 1
  5908. v.BrickColor = BrickColor.new("White")
  5909. v.Material = "Neon"
  5910. end
  5911. end
  5912. for i, v in pairs(extrawingmod2:GetChildren()) do
  5913. if v:IsA("Part") then
  5914. v.Transparency = 1
  5915. v.BrickColor = BrickColor.new("White")
  5916. v.Material = "Neon"
  5917. end
  5918. end
  5919. elseif k == "q" and attack == false and ModeOfGlitch == 2 then
  5920. resetmode()
  5921. end
  5922. if k == "f" and attack == false and ModeOfGlitch ~= 69 then
  5923. lustmode()
  5924. elseif k == "f" and attack == false and ModeOfGlitch == 69 then
  5925. resetmode()
  5926. end
  5927. if k == "m" and attack == false and ModeOfGlitch == 1 then
  5928.     RiddleMeThisRiddleMeThat()
  5929. elseif k == "m" and attack == false and ModeOfGlitch == 8376532578634534 then
  5930.     resetmode()
  5931. end
  5932. if k == "e" and attack == false and ModeOfGlitch ~= 3 then
  5933.                ModeOfGlitch = 3
  5934. storehumanoidWS = 16
  5935. hum.WalkSpeed = 16
  5936. rainbowmode = false
  5937. chaosmode = false
  5938. glitchymode = true
  5939. tl1.Enabled = true
  5940. tl2.Enabled = true
  5941. tl3.Enabled = true
  5942. RecolorTextAndRename("gLiTcHy",Color3.new(0,0,0),Color3.new(0.35,0,1))
  5943. newTheme("rbxassetid://1274310715",0,.93,1.25) -- 474074203
  5944. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
  5945. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  5946. MAINRUINCOLOR = BrickColor.new("White")
  5947. for i, v in pairs(mw2:GetChildren()) do
  5948. if v:IsA("Part") then
  5949. v.BrickColor = MAINRUINCOLOR
  5950. v.Material = "Neon"
  5951. end
  5952. end
  5953. for i, v in pairs(mw1:GetChildren()) do
  5954. if v:IsA("Part") then
  5955. v.Transparency = 0
  5956. v.BrickColor = MAINRUINCOLOR
  5957. v.Material = "Neon"
  5958. end
  5959. end
  5960. for i, v in pairs(m:GetChildren()) do
  5961. if v:IsA("Part") then
  5962. v.BrickColor = BrickColor.new("Really black")
  5963. v.Material = "Ice"
  5964. end
  5965. end
  5966. for i, v in pairs(m2:GetChildren()) do
  5967. if v:IsA("Part") then
  5968. v.BrickColor = BrickColor.new("Dark indigo")
  5969. v.Material = "Glass"
  5970. end
  5971. end
  5972. for i, v in pairs(m3:GetChildren()) do
  5973. if v:IsA("Part") then
  5974. v.Transparency = 1
  5975. v.BrickColor = BrickColor.new("Royal purple")
  5976. v.Material = "Neon"
  5977. end
  5978. end
  5979. for i, v in pairs(extrawingmod1:GetChildren()) do
  5980. if v:IsA("Part") then
  5981. v.Transparency = 1
  5982. v.BrickColor = BrickColor.new("White")
  5983. v.Material = "Neon"
  5984. end
  5985. end
  5986. for i, v in pairs(extrawingmod2:GetChildren()) do
  5987. if v:IsA("Part") then
  5988. v.Transparency = 1
  5989. v.BrickColor = BrickColor.new("White")
  5990. v.Material = "Neon"
  5991. end
  5992. end
  5993. elseif k == "e" and attack == false and ModeOfGlitch == 3 then
  5994. resetmode()
  5995. end
  5996. if k == "r" and attack == false and ModeOfGlitch ~= 4 then
  5997.                ModeOfGlitch = 4
  5998. storehumanoidWS = 16
  5999. hum.WalkSpeed = 16
  6000. rainbowmode = false
  6001. glitchymode = false
  6002. chaosmode = true
  6003. tl1.Enabled = true
  6004. tl2.Enabled = true
  6005. tl3.Enabled = true
  6006. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color)
  6007. newTheme("rbxassetid://1369263130",0,1,1)
  6008. MAINRUINCOLOR = BrickColor.new("Black")
  6009. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6010. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6011. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6012. for i, v in pairs(mw2:GetChildren()) do
  6013. if v:IsA("Part") then
  6014. v.BrickColor = MAINRUINCOLOR
  6015. v.Material = "Neon"
  6016. end
  6017. end
  6018. for i, v in pairs(mw1:GetChildren()) do
  6019. if v:IsA("Part") then
  6020. v.Transparency = 0.75
  6021. v.BrickColor = BrickColor.random()
  6022. v.Material = "Neon"
  6023. end
  6024. end
  6025. for i, v in pairs(m:GetChildren()) do
  6026. if v:IsA("Part") then
  6027. v.BrickColor = BrickColor.new("Black")
  6028. v.Material = "Neon"
  6029. end
  6030. end
  6031. for i, v in pairs(m2:GetChildren()) do
  6032. if v:IsA("Part") then
  6033. v.BrickColor = BrickColor.random()
  6034. v.Material = "Neon"
  6035. end
  6036. end
  6037. for i, v in pairs(m3:GetChildren()) do
  6038. if v:IsA("Part") then
  6039. v.BrickColor = BrickColor.new("Black")
  6040. v.Material = "Neon"
  6041. end
  6042. end
  6043. for i, v in pairs(extrawingmod1:GetChildren()) do
  6044. if v:IsA("Part") then
  6045. v.Transparency = 1
  6046. v.BrickColor = BrickColor.new("White")
  6047. v.Material = "Neon"
  6048. end
  6049. end
  6050. for i, v in pairs(extrawingmod2:GetChildren()) do
  6051. if v:IsA("Part") then
  6052. v.Transparency = 1
  6053. v.BrickColor = BrickColor.new("White")
  6054. v.Material = "Neon"
  6055. end
  6056. end
  6057. elseif k == "r" and attack == false and ModeOfGlitch == 4 then
  6058. resetmode()
  6059. end
  6060.  
  6061. if k == "m" and attack == false and ModeOfGlitch == 4 then
  6062. insanitymode()
  6063. elseif k == "m" and attack == false and ModeOfGlitch == 666666 then
  6064. resetmode()
  6065. end
  6066. if k == "t" and attack == false and ModeOfGlitch ~= 5 then
  6067.                ModeOfGlitch = 5
  6068. storehumanoidWS = 16
  6069. hum.WalkSpeed = 16
  6070. rainbowmode = false
  6071. chaosmode = false
  6072. glitchymode = false
  6073. tl1.Enabled = true
  6074. tl2.Enabled = true
  6075. tl3.Enabled = true
  6076. RecolorTextAndRename("Divinity",Color3.new(1,1,1),Color3.new(1,1,0.5))
  6077. newTheme("rbxassetid://661079869",0,1.02,1)
  6078. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'New Yeller' end)
  6079. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'New Yeller' end)
  6080. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  6081. for i, v in pairs(mw2:GetChildren()) do
  6082. if v:IsA("Part") then
  6083. v.BrickColor = MAINRUINCOLOR
  6084. v.Material = "Neon"
  6085. end
  6086. end
  6087. for i, v in pairs(mw1:GetChildren()) do
  6088. if v:IsA("Part") then
  6089. v.Transparency = 0
  6090. v.BrickColor = MAINRUINCOLOR
  6091. v.Material = "Neon"
  6092. end
  6093. end
  6094. for i, v in pairs(m:GetChildren()) do
  6095. if v:IsA("Part") then
  6096. v.BrickColor = BrickColor.new("Cool yellow")
  6097. v.Material = "Ice"
  6098. end
  6099. end
  6100. for i, v in pairs(m2:GetChildren()) do
  6101. if v:IsA("Part") then
  6102. v.BrickColor = BrickColor.new("Bright yellow")
  6103. v.Material = "Ice"
  6104. end
  6105. end
  6106. for i, v in pairs(m3:GetChildren()) do
  6107. if v:IsA("Part") then
  6108. v.BrickColor = BrickColor.new("Bright yellow")
  6109. v.Material = "Neon"
  6110. end
  6111. end
  6112. for i, v in pairs(extrawingmod1:GetChildren()) do
  6113. if v:IsA("Part") then
  6114. v.Transparency = 1
  6115. v.BrickColor = BrickColor.new("White")
  6116. v.Material = "Neon"
  6117. end
  6118. end
  6119. for i, v in pairs(extrawingmod2:GetChildren()) do
  6120. if v:IsA("Part") then
  6121. v.Transparency = 1
  6122. v.BrickColor = BrickColor.new("White")
  6123. v.Material = "Neon"
  6124. end
  6125. end
  6126. elseif k == "t" and attack == false and ModeOfGlitch == 5 then
  6127. resetmode()
  6128. end
  6129. if k == "y" and attack == false and ModeOfGlitch ~= 6 then
  6130.                ModeOfGlitch = 6
  6131. storehumanoidWS = 75
  6132. hum.WalkSpeed = 75
  6133. rainbowmode = false
  6134. chaosmode = false
  6135. glitchymode = false
  6136. tl1.Enabled = true
  6137. tl2.Enabled = true
  6138. tl3.Enabled = true
  6139. RecolorTextAndRename("Justice",Color3.new(0,0,0),Color3.new(1,1,1))
  6140. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
  6141. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  6142. newTheme("rbxassetid://1102271169",0,1,1)
  6143. MAINRUINCOLOR = BrickColor.new("White")
  6144. for i, v in pairs(mw2:GetChildren()) do
  6145. if v:IsA("Part") then
  6146. v.BrickColor = MAINRUINCOLOR
  6147. v.Material = "Neon"
  6148. end
  6149. end
  6150. for i, v in pairs(mw1:GetChildren()) do
  6151. if v:IsA("Part") then
  6152. v.Transparency = 0
  6153. v.BrickColor = MAINRUINCOLOR
  6154. v.Material = "Neon"
  6155. end
  6156. end
  6157. for i, v in pairs(m:GetChildren()) do
  6158. if v:IsA("Part") then
  6159. v.BrickColor = BrickColor.new("White")
  6160. v.Material = "Ice"
  6161. end
  6162. end
  6163. for i, v in pairs(m2:GetChildren()) do
  6164. if v:IsA("Part") then
  6165. v.BrickColor = BrickColor.new("White")
  6166. v.Material = "Ice"
  6167. end
  6168. end
  6169. for i, v in pairs(m3:GetChildren()) do
  6170. if v:IsA("Part") then
  6171. v.BrickColor = BrickColor.new("White")
  6172. v.Material = "Neon"
  6173. end
  6174. end
  6175. for i, v in pairs(extrawingmod1:GetChildren()) do
  6176. if v:IsA("Part") then
  6177. v.Transparency = 1
  6178. v.BrickColor = BrickColor.new("White")
  6179. v.Material = "Neon"
  6180. end
  6181. end
  6182. for i, v in pairs(extrawingmod2:GetChildren()) do
  6183. if v:IsA("Part") then
  6184. v.Transparency = 1
  6185. v.BrickColor = BrickColor.new("White")
  6186. v.Material = "Neon"
  6187. end
  6188. end
  6189. elseif k == "y" and attack == false and ModeOfGlitch == 6 then
  6190. resetmode()
  6191. end
  6192. if k == "u" and attack == false then
  6193.  
  6194. storehumanoidWS = 50
  6195. hum.WalkSpeed = 50
  6196. rainbowmode = true
  6197. chaosmode = false
  6198. glitchymode = false
  6199. tl1.Enabled = true
  6200. tl2.Enabled = true
  6201. tl3.Enabled = true
  6202.  
  6203. if(ModeOfGlitch == 6127843)then
  6204.     vaporwave = not vaporwave
  6205. end
  6206.  
  6207. if(not vaporwave)then
  6208. RecolorTextAndRename("RAINBOW",Color3.new(1,1,1),Color3.new(1,1,1))
  6209. newTheme("rbxassetid://147930134",0,1,1)
  6210. else
  6211. RecolorTextAndRename("Vaporwave",Color3.new(1,1,1),Color3.new(1,1,1))
  6212. newTheme("rbxassetid://1308711379",0,1,1)  
  6213. end
  6214.  
  6215.  
  6216.                ModeOfGlitch = 6127843
  6217. MAINRUINCOLOR = BrickColor.new("White")
  6218. for i, v in pairs(mw2:GetChildren()) do
  6219. if v:IsA("Part") then
  6220. v.BrickColor = MAINRUINCOLOR
  6221. v.Material = "Neon"
  6222. end
  6223. end
  6224. for i, v in pairs(mw1:GetChildren()) do
  6225. if v:IsA("Part") then
  6226. v.Transparency = 0
  6227. v.BrickColor = MAINRUINCOLOR
  6228. v.Material = "Neon"
  6229. end
  6230. end
  6231. for i, v in pairs(m:GetChildren()) do
  6232. if v:IsA("Part") then
  6233. v.BrickColor = BrickColor.new("White")
  6234. v.Material = "Neon"
  6235. end
  6236. end
  6237. for i, v in pairs(m2:GetChildren()) do
  6238. if v:IsA("Part") then
  6239. v.BrickColor = BrickColor.new("White")
  6240. v.Material = "Neon"
  6241. end
  6242. end
  6243. for i, v in pairs(m3:GetChildren()) do
  6244. if v:IsA("Part") then
  6245. v.BrickColor = BrickColor.new("White")
  6246. v.Material = "Neon"
  6247. end
  6248. end
  6249. for i, v in pairs(extrawingmod1:GetChildren()) do
  6250. if v:IsA("Part") then
  6251. v.Transparency = 1
  6252. v.BrickColor = BrickColor.new("White")
  6253. v.Material = "Neon"
  6254. end
  6255. end
  6256. for i, v in pairs(extrawingmod2:GetChildren()) do
  6257. if v:IsA("Part") then
  6258. v.Transparency = 1
  6259. v.BrickColor = BrickColor.new("White")
  6260. v.Material = "Neon"
  6261. end
  6262. end
  6263. elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
  6264. resetmode()
  6265. end
  6266. if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
  6267.                ModeOfGlitch = 1000000
  6268. storehumanoidWS = 100
  6269. hum.WalkSpeed = 100
  6270. rainbowmode = false
  6271. chaosmode = false
  6272. glitchymode = false
  6273. tl1.Enabled = true
  6274. tl2.Enabled = true
  6275. tl3.Enabled = true
  6276. RecolorTextAndRename("CALAMITY",Color3.new(0.25,0,1),Color3.new(0.5,0,1))
  6277. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Bright violet' end)
  6278. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Bright violet' end)
  6279. newTheme("rbxassetid://1359036559",0,1,1)
  6280. MAINRUINCOLOR = BrickColor.new("Bright violet")
  6281. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6282. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6283. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6284. for i, v in pairs(mw2:GetChildren()) do
  6285. if v:IsA("Part") then
  6286. v.BrickColor = MAINRUINCOLOR
  6287. v.Material = "Neon"
  6288. end
  6289. end
  6290. for i, v in pairs(mw1:GetChildren()) do
  6291. if v:IsA("Part") then
  6292. v.Transparency = 0
  6293. v.BrickColor = MAINRUINCOLOR
  6294. v.Material = "Neon"
  6295. end
  6296. end
  6297. for i, v in pairs(m:GetChildren()) do
  6298. if v:IsA("Part") then
  6299. v.Color = Color3.new(0.5,0,1)
  6300. v.Material = "Neon"
  6301. end
  6302. end
  6303. for i, v in pairs(m2:GetChildren()) do
  6304. if v:IsA("Part") then
  6305. v.Color = Color3.new(0.25,0,1)
  6306. v.Material = "Neon"
  6307. end
  6308. end
  6309. for i, v in pairs(m3:GetChildren()) do
  6310. if v:IsA("Part") then
  6311. v.Color = Color3.new(0.45,0,1)
  6312. v.Material = "Neon"
  6313. end
  6314. end
  6315. for i, v in pairs(extrawingmod1:GetChildren()) do
  6316. if v:IsA("Part") then
  6317. v.Transparency = 0.75
  6318. v.Color = Color3.new(0.25,0,1)
  6319. v.Material = "Neon"
  6320. end
  6321. end
  6322. for i, v in pairs(extrawingmod2:GetChildren()) do
  6323. if v:IsA("Part") then
  6324. v.Transparency = 0.75
  6325. v.Color = Color3.new(0.5,0,1)
  6326. v.Material = "Neon"
  6327. end
  6328. end
  6329. elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
  6330. resetmode()
  6331. end
  6332. if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 then
  6333. newThemeCust("rbxassetid://1504604335",0,1,1)
  6334. attack = true
  6335. hum.WalkSpeed = 0
  6336. MAINRUINCOLOR = BrickColor.new("Royal purple")
  6337. for i = 0, 24, 0.1 do
  6338. swait()
  6339. sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100)
  6340. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  6341. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  6342. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  6343. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6344. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  6345. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  6346. end
  6347. CameraEnshaking(1,1)
  6348. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6349. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  6350. wait(0.55)
  6351. CameraEnshaking(1,2)
  6352. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6353. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6354. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6355. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  6356. wait(0.55)
  6357. CameraEnshaking(1,3)
  6358. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  6359. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6360. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6361. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6362. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6363. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  6364. wait(0.55)
  6365. CameraEnshaking(10,5)
  6366. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  6367. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  6368. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  6369. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  6370. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  6371. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  6372. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  6373. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  6374. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  6375. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6376. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  6377. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  6378. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  6379. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  6380. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  6381. for i = 0, 49 do
  6382. sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
  6383. sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
  6384. sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
  6385. sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
  6386. end
  6387. ModeOfGlitch = 12345678987654321
  6388. storehumanoidWS = 200
  6389. hum.WalkSpeed = 200
  6390. rainbowmode = false
  6391. chaosmode = false
  6392. glitchymode = false
  6393. tl1.Enabled = true
  6394. tl2.Enabled = true
  6395. tl3.Enabled = true
  6396. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Dark indigo' end)
  6397. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Dark indigo' end)
  6398. RecolorTextAndRename("CATASTROPHE",Color3.new(0.5,0,1),Color3.new(0.75,0,1))
  6399. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6400. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6401. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6402. for i, v in pairs(mw2:GetChildren()) do
  6403. if v:IsA("Part") then
  6404. v.BrickColor = MAINRUINCOLOR
  6405. v.Material = "Neon"
  6406. end
  6407. end
  6408. for i, v in pairs(mw1:GetChildren()) do
  6409. if v:IsA("Part") then
  6410. v.Transparency = 0
  6411. v.BrickColor = MAINRUINCOLOR
  6412. v.Material = "Neon"
  6413. end
  6414. end
  6415. for i, v in pairs(m:GetChildren()) do
  6416. if v:IsA("Part") then
  6417. v.Color = Color3.new(0.5,0,1)
  6418. v.Material = "Neon"
  6419. end
  6420. end
  6421. for i, v in pairs(m2:GetChildren()) do
  6422. if v:IsA("Part") then
  6423. v.Color = Color3.new(0.5,0,1)
  6424. v.Material = "Neon"
  6425. end
  6426. end
  6427. for i, v in pairs(m3:GetChildren()) do
  6428. if v:IsA("Part") then
  6429. v.Color = Color3.new(0.5,0,1)
  6430. v.Material = "Neon"
  6431. end
  6432. end
  6433. for i, v in pairs(extrawingmod1:GetChildren()) do
  6434. if v:IsA("Part") then
  6435. v.Transparency = 0
  6436. v.Color = Color3.new(0.5,0,1)
  6437. v.Material = "Neon"
  6438. end
  6439. end
  6440. for i, v in pairs(extrawingmod2:GetChildren()) do
  6441. if v:IsA("Part") then
  6442. v.Transparency = 0
  6443. v.Color = Color3.new(0.5,0,1)
  6444. v.Material = "Neon"
  6445. end
  6446. attack = false
  6447. end
  6448. elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then
  6449. resetmode()
  6450. end
  6451. if k == "l" and toggleTag == false then
  6452. toggleTag = true
  6453. text.TextTransparency = 0
  6454. text.TextStrokeTransparency = 0
  6455. elseif k == "l" and toggleTag == true then
  6456. toggleTag = false
  6457. text.TextTransparency = 1
  6458. text.TextStrokeTransparency = 1
  6459. end
  6460. if k == "z" and attack == false and (ModeOfGlitch == 1 or ModeOfGlitch == 8376532578634534) then
  6461. ExtinctiveHeartbreak()
  6462. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  6463. PureBomb()
  6464. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  6465. scattercorrupt()
  6466. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  6467. Judgement()
  6468. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  6469. ChaosGroundStrike()
  6470. elseif k == "z" and attack == false and ModeOfGlitch == 666666 then
  6471. InsaneGroundStrike()
  6472. elseif k == "b" and attack == false and ModeOfGlitch == 666666 then
  6473. ChaosBegone()
  6474. elseif k == "z" and attack == false and ModeOfGlitch == 69 then
  6475.     ChooseODer()
  6476. elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
  6477. Starfall()
  6478. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  6479. yinyangi()
  6480. elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
  6481. Wip()
  6482. elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then
  6483. StarfallEX()
  6484. end
  6485. if k == "x" and attack == false and ModeOfGlitch == 1000000 then
  6486. StarDivision()
  6487. elseif k == "x" and attack == false and ModeOfGlitch == 6 then
  6488. JusticeBeam()
  6489. end
  6490. if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then
  6491. UniversalCollapse()
  6492. end
  6493. if k == "b" and attack == false and ModeOfGlitch == 4 then
  6494.  
  6495. end
  6496. if k == "n" and attack == false then
  6497. CorruptBlink()
  6498. end
  6499. if k == "m" and attack == false and ModeOfGlitch == 69 then
  6500. FuckMeSidewaysAndCallMeGay()
  6501. end
  6502. end)
  6503. coroutine.resume(coroutine.create(function()
  6504. while true do
  6505. swait(2)
  6506. if rainbowmode == true or ModeOfGlitch == 6 or glitchymode then
  6507. sphereMK(5,0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),-6,math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),1.5,1.5,10,-0.015,MAINRUINCOLOR,0)
  6508. end
  6509.  
  6510. end
  6511. end))
  6512.  
  6513.  
  6514. coroutine.resume(coroutine.create(function()
  6515. while true do
  6516. if ModeOfGlitch == 1000000 then
  6517. swait(0.5)
  6518. end
  6519. swait()
  6520. if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 then
  6521. sphereMK(5,0.5,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),0),1,1,15,-0.01,MAINRUINCOLOR,0)
  6522. end
  6523. if ModeOfGlitch == 12345678987654321 then
  6524. sphereMK(5,math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-75,75),-25,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),0),1,1,50,-0.01,MAINRUINCOLOR,0)
  6525. end
  6526. end
  6527. end))
  6528.  
  6529.  
  6530. function RandomMaterial()
  6531.     local getRandom;
  6532.     local material;
  6533.     local function IsTerrainMaterial(mat)
  6534.         local isMaterial = pcall(function() workspace:FindFirstChildOfClass'Terrain':GetMaterialColor(mat) end)
  6535.         return isMaterial
  6536.     end
  6537.     getRandom = function()
  6538.         local mat = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())]
  6539.         if(not IsTerrainMaterial(mat))then material = mat else getRandom() end
  6540.     end
  6541.     getRandom()
  6542.     repeat wait() until material
  6543.     return material
  6544. end
  6545. function RandomCaps(str)
  6546.     local new = ""
  6547.     for i = 1, #str do
  6548.         if(math.random(1,2) == 1)then
  6549.             new = new .. (str:sub(i,i):upper())
  6550.         else
  6551.             new = new .. str:sub(i,i)
  6552.         end
  6553.     end
  6554.     return new
  6555. end
  6556.  
  6557. coroutine.resume(coroutine.create(function()
  6558. while true do
  6559. for i = 1, #ODers do
  6560.     local ODer = ODers[i]
  6561.     if(ODer)then
  6562.         local hed = ODer:FindFirstChild'Head'
  6563.         if(ODer.Parent and hed)then
  6564.             sphere(10,"Add",hed.CFrame * cf(0,4,0),vt(6,6,3),0,(ODer.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true,false,true)
  6565.         else
  6566.             table.remove(ODers,i)
  6567.         end
  6568.     else
  6569.         table.remove(ODers,i)
  6570.     end
  6571. end
  6572. if(not kan)then
  6573.     kan = Instance.new("Sound",char)
  6574. end
  6575. kan.Parent = char
  6576. if(plr.UserId == 5719877)then kan.Volume = 3 else  kan.Volume = 1 end
  6577. kan.Pitch = Pitch
  6578. kan.SoundId = MID
  6579. kan.Name = "wrecked"
  6580. kan.Looped = true
  6581. kan:Resume()
  6582. swait()
  6583. if glitchymode == true then
  6584.     local val = math.random(1,255)
  6585.     local color = Color3.fromRGB(val,val,val)
  6586.     pcall(function() Character.ReaperShadowHead.Eye1.Color = color end)
  6587.     pcall(function() Character.ReaperShadowHead.Eye2.Color = color end)
  6588.     tl1.Color = ColorSequence.new(color)
  6589.     tl2.Color = ColorSequence.new(color)
  6590.     tl3.Color = ColorSequence.new(color)
  6591.     tr1.Color = ColorSequence.new(color)
  6592.     tr2.Color = ColorSequence.new(color)
  6593.     tr3.Color = ColorSequence.new(color)
  6594.     for i, v in pairs(mw1:GetChildren()) do
  6595.     if v:IsA("Part") then
  6596.     v.Transparency = 0
  6597.     v.Color = color
  6598.     v.Material = "Neon"
  6599.     end
  6600.     end
  6601.     for i, v in pairs(mw2:GetChildren()) do
  6602.     if v:IsA("Part") then
  6603.     v.Color = color
  6604.     v.Material = "Neon"
  6605.     end
  6606.     end
  6607.     for i, v in pairs(m2:GetChildren()) do
  6608.     if v:IsA("Part") then
  6609.     v.Color = color
  6610.     v.Material = "Neon"
  6611.     end
  6612.     end
  6613.     RecolorTextAndRename((ModeOfGlitch == 3 and RandomCaps"glitchy"),Color3.new(0,0,0),color)
  6614. end
  6615. if chaosmode or glitchymode then
  6616.     pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
  6617.     pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
  6618. else
  6619.     pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material.Neon end)
  6620.     pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material.Neon end)
  6621. end
  6622. if chaosmode == true then
  6623. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  6624. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  6625. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  6626. RecolorTextAndRename((ModeOfGlitch == 666666 and "INSANITY" or "CHAOS"),Color3.new(0,0,0),BrickColor.random().Color)
  6627. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.random() end)
  6628. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.random() end)
  6629. for i, v in pairs(mw1:GetChildren()) do
  6630. if v:IsA("Part") then
  6631. v.Transparency = 0.75
  6632. v.BrickColor = BrickColor.random()
  6633. v.Material = "Neon"
  6634. end
  6635. end
  6636. for i, v in pairs(extrawingmod1:GetChildren()) do
  6637. if v:IsA("Part") and ModeOfGlitch == 666666 then
  6638. v.Transparency = 0.75
  6639. v.BrickColor = BrickColor.random()
  6640. v.Material = "Neon"
  6641. elseif v:IsA("Part") then
  6642. v.Transparency = 1
  6643. end
  6644. end
  6645. for i, v in pairs(m2:GetChildren()) do
  6646. if v:IsA("Part") then
  6647. v.BrickColor = BrickColor.random()
  6648. v.Material = "Neon"
  6649. end
  6650. end
  6651. end
  6652. end
  6653. end))
  6654. Humanoid.Name = "STARGLITCHER"
  6655. Humanoid.MaxHealth = math.huge
  6656. Humanoid.Health = math.huge
  6657. Instance.new("ForceField",char).Visible = false
  6658. Humanoid.Animator.Parent = nil
  6659. idleanim=.4
  6660. while true do
  6661. if rainbowmode == false and chaosmode == false and glitchymode == false then
  6662. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6663. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6664. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6665. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6666. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6667. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6668. end
  6669. if rainbowmode == true then
  6670. pcall(function() Character.ReaperShadowHead.Eye1.Color = Color3.new(r/255,g/255,b/255) end)
  6671. pcall(function() Character.ReaperShadowHead.Eye2.Color = Color3.new(r/255,g/255,b/255) end)
  6672. if(not vaporwave)then
  6673.     RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  6674. else
  6675.     RecolorTextAndRename("Vaporwave",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  6676. end
  6677. MAINRUINCOLOR = BrickColor.new("White")
  6678. tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6679. tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6680. tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6681. tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6682. tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6683. tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6684. for i, v in pairs(m:GetChildren()) do
  6685. if v:IsA("Part") then
  6686. v.Color = Color3.new(r/255,g/255,b/255)
  6687. end
  6688. end
  6689. for i, v in pairs(m2:GetChildren()) do
  6690. if v:IsA("Part") then
  6691. v.Color = Color3.new(r/255,g/255,b/255)
  6692. end
  6693. end
  6694. for i, v in pairs(m3:GetChildren()) do
  6695. if v:IsA("Part") then
  6696. v.Color = Color3.new(r/255,g/255,b/255)
  6697. end
  6698. end
  6699. for i, v in pairs(mw1:GetChildren()) do
  6700. if v:IsA("Part") then
  6701. v.Color = Color3.new(r/255,g/255,b/255)
  6702. v.Material = "Neon"
  6703. end
  6704. end
  6705. for i, v in pairs(mw2:GetChildren()) do
  6706. if v:IsA("Part") then
  6707. v.Color = Color3.new(r/255,g/255,b/255)
  6708. v.Material = "Neon"
  6709. end
  6710. end
  6711. end
  6712. CameraManager()
  6713. swait()
  6714. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
  6715. lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
  6716. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
  6717. 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)
  6718. 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)
  6719. 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)
  6720.  
  6721. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
  6722. rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
  6723. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
  6724. 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)
  6725. 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)
  6726. 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)
  6727.   sine = sine + change
  6728. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  6729. local velderp=RootPart.Velocity.y
  6730. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  6731. if equipped==true or equipped==false then
  6732. if attack==false then
  6733. idle=idle+1
  6734. else
  6735. idle=0
  6736. end
  6737. if idle>=500 then
  6738. if attack==false then
  6739. --Sheath()
  6740. end
  6741. end
  6742. if RootPart.Velocity.y > 1 and hitfloor==nil then
  6743. Anim="Jump"
  6744. if attack==false then
  6745. 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(-5),math.rad(0),math.rad(-20)),.1)
  6746. 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)
  6747. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  6748. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  6749. 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)
  6750. 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)
  6751. end
  6752. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  6753. Anim="Fall"
  6754. if attack==false then
  6755. 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(-5),math.rad(0),math.rad(-20)),.1)
  6756. 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)
  6757. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6758. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6759. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(50)),.1)
  6760. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1)
  6761. end
  6762. elseif torvel<1 and hitfloor~=nil then
  6763. Anim="Idle"
  6764. if attack==false then
  6765. if ModeOfGlitch == 1 then
  6766. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  6767. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  6768. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  6769. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1)
  6770. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
  6771. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  6772.  
  6773. elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then
  6774. 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(-7.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  6775. 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 + 1 * math.cos(sine / 34))),.1)
  6776. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  6777. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  6778. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  6779. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  6780.  
  6781. elseif ModeOfGlitch == 3 then
  6782. 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 - 1 * math.cos(sine / 34))),.1)
  6783. 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(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  6784. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1)
  6785. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
  6786. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(-5),math.rad(15 + 7.5 * math.cos(sine / 12.5))),.1)
  6787. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(5),math.rad(-15 - 7.5 * math.cos(sine / 12.5))),.1)
  6788. elseif ModeOfGlitch == 4 then
  6789. 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)
  6790. 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)
  6791. 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)
  6792. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
  6793. RW.C0=clerp(RW.C0,cf(1.5,0.5,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))),.1)
  6794. LW.C0=clerp(LW.C0,cf(-1.5,0.5,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))),.1)
  6795. elseif ModeOfGlitch == 69 then
  6796. RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1)
  6797. Torso.Neck.C0 = Torso.Neck.C0:lerp(necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1)
  6798. LH.C0 = LH.C0:lerp(cf(-1-math.rad(0+5*math.cos(sine/16)),-1+math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(-15),math.rad(25),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6799. RH.C0 = RH.C0:lerp(cf(1-math.rad(0+5*math.cos(sine/16)),-1-math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  6800. LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1)
  6801. RW.C0 = RW.C0:lerp(cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1)
  6802. elseif ModeOfGlitch == 8376532578634534 then
  6803. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6804. 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)
  6805. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)  
  6806. 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)
  6807. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6808. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6809.        
  6810. elseif ModeOfGlitch == 666666 then
  6811. 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)
  6812. 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)
  6813. 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)
  6814. 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)
  6815. 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)
  6816. 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)
  6817.  
  6818. elseif ModeOfGlitch == 5 then
  6819. 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 + 1 * math.cos(sine / 34))),.1)
  6820. 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 + 1 * math.cos(sine / 34))),.1)
  6821. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  6822. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  6823. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(-30)),.1)
  6824. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  6825.  
  6826. elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 6 then
  6827. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  6828. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  6829. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  6830. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  6831. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  6832. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  6833.  
  6834. elseif ModeOfGlitch == 12345678987654321 then
  6835. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  6836. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  6837. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-40)),.1)
  6838. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1)
  6839. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  6840. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  6841. end
  6842. end
  6843. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  6844. Anim="Walk"
  6845. if attack==false then
  6846. if ModeOfGlitch == 1 then
  6847. RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
  6848. LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
  6849. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.1 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
  6850. 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)
  6851. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
  6852. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  6853. elseif ModeOfGlitch == 4 then
  6854. RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/4)/2)*angles(math.rad(2-4*math.cos(sine/10))-math.sin(sine/10)/2,0,0)*angles(0,math.rad(90),0),.1)
  6855. LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/4)/2)*angles(math.rad(2+3*math.cos(sine/10))+math.sin(sine/10)/2,0,0)*angles(0,math.rad(-90),0),.1)
  6856. 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)
  6857. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
  6858. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 - 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1)
  6859. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1)
  6860. elseif ModeOfGlitch == 666666 then
  6861. 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)
  6862. 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)
  6863. 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)
  6864. 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)
  6865. 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)
  6866. 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)
  6867.  
  6868. elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then
  6869. RH.C0=clerp(RH.C0,cf(1,-.85-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
  6870. LH.C0=clerp(LH.C0,cf(-1,-.85+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
  6871. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
  6872. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 5 * math.cos(sine / 8))),.1)
  6873. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
  6874. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 10 * math.cos(sine / 4))),.1)
  6875. end
  6876. end
  6877. elseif torvel>=22 and hitfloor~=nil then
  6878. Anim="Run"
  6879. if attack==false then
  6880. if ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 4 and ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8376532578634534 then
  6881. RH.C0=clerp(RH.C0,cf(1,-1-.4*math.cos(sine/6)/2,.8*math.cos(sine/6)/2)*angles(math.rad(0-65*math.cos(sine/6))-math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(90),0),.1)
  6882. LH.C0=clerp(LH.C0,cf(-1,-1+.4*math.cos(sine/6)/2,-.8*math.cos(sine/6)/2)*angles(math.rad(0+65*math.cos(sine/6))+math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(-90),0),.1)
  6883. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + 0.125 * math.cos(sine / 3))*angles(math.rad(20),math.rad(0),math.rad(0 - 15 * math.cos(sine / 6))),.1)
  6884. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 15 * math.cos(sine / 6))),.1)
  6885. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 105 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 3))),.1)
  6886. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 105 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 3))),.1)
  6887. elseif ModeOfGlitch == 666666 then
  6888. RH.C0=clerp(RH.C0,cf(1,-0.75 - 0.25 * math.cos(sine / 3),-0.25 - 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  6889. LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0.25 * math.cos(sine / 3),-0.25 + 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  6890. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + .125 * math.cos(sine / 3))*angles(math.rad(25),math.rad(0),math.rad(0 - 5 * math.cos(sine / 6))),.1)
  6891. 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)
  6892. 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)
  6893. 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)
  6894.  
  6895. elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 4 or ModeOfGlitch == 6 or ModeOfGlitch == 8376532578634534 then
  6896. 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)
  6897. 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)
  6898. 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)
  6899. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6900. 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)
  6901. 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)
  6902. end
  6903. end
  6904. end
  6905. end
  6906. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top