Advertisement
plytalent

star glitcher edit by plytalent or Monika#6853

May 8th, 2018
386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7.     print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8.     script.Parent = Player.Character
  9.  
  10.     --RemoteEvent for communicating
  11.     local Event = Instance.new("RemoteEvent")
  12.     Event.Name = "UserInput_Event"
  13.  
  14.     --Fake event to make stuff like Mouse.KeyDown work
  15.     local function fakeEvent()
  16.         local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17.         t.connect = t.Connect
  18.         return t
  19.     end
  20.  
  21.     --Creating fake input objects with fake variables
  22.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26.     end}
  27.     --Merged 2 functions into one by checking amount of arguments
  28.     CAS.UnbindAction = CAS.BindAction
  29.  
  30.     --This function will trigger the events that have been :Connect()'ed
  31.     local function te(self,ev,...)
  32.         local t = m[ev]
  33.         if t and t._fakeEvent and t.Function then
  34.             t.Function(...)
  35.         end
  36.     end
  37.     m.TrigEvent = te
  38.     UIS.TrigEvent = te
  39.  
  40.     Event.OnServerEvent:Connect(function(plr,io)
  41.         if plr~=Player then return end
  42.         if io.isMouse then
  43.             m.Target = io.Target
  44.             m.Hit = io.Hit
  45.         else
  46.             local b = io.UserInputState == Enum.UserInputState.Begin
  47.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49.             end
  50.             for _,t in pairs(CAS.Actions) do
  51.                 for _,k in pairs(t.Keys) do
  52.                     if k==io.KeyCode then
  53.                         t.Function(t.Name,io.UserInputState,io)
  54.                     end
  55.                 end
  56.             end
  57.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59.         end
  60.     end)
  61.     Event.Parent = NLS([==[
  62.     local Player = game:GetService("Players").LocalPlayer
  63.     local Event = script:WaitForChild("UserInput_Event")
  64.  
  65.     local UIS = game:GetService("UserInputService")
  66.     local input = function(io,a)
  67.         if a then return end
  68.         --Since InputObject is a client-side instance, we create and pass table instead
  69.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70.     end
  71.     UIS.InputBegan:Connect(input)
  72.     UIS.InputEnded:Connect(input)
  73.  
  74.     local Mouse = Player:GetMouse()
  75.     local h,t
  76.     --Give the server mouse data 30 times every second, but only if the values changed
  77.     --If player is not moving their mouse, client won't fire events
  78.     while wait(1/500000000000000) do
  79.         if h~=Mouse.Hit or t~=Mouse.Target then
  80.             h,t=Mouse.Hit,Mouse.Target
  81.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  82.         end
  83.     end]==],Player.Character)
  84.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. warn("Star Glitcher Loaded.")
  88. warn("All purpose switcher...")
  89. warn("Edit By Frepix.")
  90. warn("Edit by plytalent")
  91. warn("Moves Edited By UndeniableInfinity.")
  92. warn("Please Support The Original Creator Of This Script.")
  93. warn("key mode q e r t y u p g h j")
  94. warn("key skill l z")
  95. warn("key clock unclock f")
  96. warn("key hidden unhidden wing x")
  97. plr = owner
  98. char = plr.Character
  99. hum = char.Humanoid
  100. local cam = game.Workspace.CurrentCamera
  101. --local Controller = game:GetService("Players").plytalent.PlayerScripts:WaitForChild("ControlScript")
  102. Camera = cam
  103. local CamInterrupt = false
  104. local TwoD = false
  105. local TargetInfo = {nil, nil}
  106. cam.CameraType = "Custom"
  107. t = char.Torso
  108. h = char.Head
  109. ra = char["Right Arm"]
  110. la = char["Left Arm"]
  111. rl = char["Right Leg"]
  112. ll = char["Left Leg"]
  113. tors = char.Torso
  114. lleg = char["Left Leg"]
  115. root = char.HumanoidRootPart
  116. hed = char.Head
  117. rleg = char["Right Leg"]
  118. rarm = char["Right Arm"]
  119. larm = char["Left Arm"]
  120. radian = math.rad
  121. random = math.random
  122. Vec3 = Vector3.new
  123. Inst = Instance.new
  124. cFrame = CFrame.new
  125. Euler = CFrame.fromEulerAnglesXYZ
  126. vt = Vector3.new
  127. bc = BrickColor.new
  128. br = BrickColor.random
  129. it = Instance.new
  130. cf = CFrame.new
  131. local Booleans = {CamFollow = true, GyroUse = true}
  132. function lerp(object, newCFrame, alpha)
  133.     return object:lerp(newCFrame, alpha)
  134. end
  135.  
  136. ff = Instance.new("ForceField", owner.Character)
  137. ff.Visible = false
  138.  
  139. local Directer = Inst("BodyGyro", root)
  140. Directer.MaxTorque = Vec3(0, 0, 0)
  141. Directer.P = 600000
  142. local CPart = Inst("Part")
  143. CPart.Anchored = true
  144. CPart.CanCollide = false
  145. CPart.Locked = true
  146. CPart.Transparency = 1
  147. local rainbowmode = false
  148. local chaosmode = false
  149. kan = Instance.new("Sound", char)
  150. kan.Volume = 1.98
  151. kan.TimePosition = 0
  152. kan.PlaybackSpeed = 1
  153. kan.Pitch = 1
  154. kan.SoundId = "rbxassetid://415898123"
  155. kan.Name = "wrecked"
  156. kan.Looped = true
  157. kan:Play()
  158. function newTheme(ID, timepos, pitch, vol)
  159.     local kanz = kan
  160.     kanz.PlaybackSpeed = pitch
  161.     kanz.Pitch = pitch
  162.     kanz.SoundId = ID
  163.     kanz.Name = "wrecked"
  164.     kanz.Looped = true
  165. end
  166. function CameraShake(Times, Power, PlayerTarget)
  167.     coroutine.resume(coroutine.create(function()
  168.         FV = Instance.new("BoolValue", PlayerTarget)
  169.         FV.Name = "CameraShake"
  170.         for ShakeNum = 1, Times do
  171.             swait()
  172.             local ef = Power
  173.             if ef >= 1 then
  174.                 Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef), math.random(-ef, ef), math.random(-ef, ef))
  175.             else
  176.                 ef = Power * 10
  177.                 Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef) / 10, math.random(-ef, ef) / 10, math.random(-ef, ef) / 10)
  178.             end
  179.         end
  180.         Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  181.         FV:Destroy()
  182.     end))
  183. end
  184. function CameraEnshaking(Length, Intensity)
  185.     coroutine.resume(coroutine.create(function()
  186.         local intensity = 1 * Intensity
  187.         local rotM = 0.01 * Intensity
  188.         for i = 0, Length, 0.1 do
  189.             swait()
  190.             intensity = intensity - 0.05 * Intensity / Length
  191.             rotM = rotM - 5.0E-4 * Intensity / Length
  192.             hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  193.             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)
  194.         end
  195.         Humanoid.CameraOffset = Vec3(0, 0, 0)
  196.     end))
  197. end
  198. function CamShake(Part, Distan, Power, Times)
  199.     local de = Part.Position
  200.     for i, v in pairs(workspace:children()) do
  201.         if v:IsA("Model") and v:findFirstChild("Humanoid") then
  202.             for _, c in pairs(v:children()) do
  203.                 if c.ClassName == "Part" and Distan > (c.Position - de).magnitude then
  204.                     do
  205.                         local Noob = v.Humanoid
  206.                         if Noob ~= nil then
  207.                             coroutine.resume(coroutine.create(function()
  208.                                 FV = Instance.new("BoolValue", Noob)
  209.                                 FV.Name = "CameraShake"
  210.                                 for ShakeNum = 1, Times do
  211.                                     swait()
  212.                                     local ef = Power
  213.                                     if ef >= 1 then
  214.                                         Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef), math.random(-ef, ef), math.random(-ef, ef))
  215.                                     else
  216.                                         ef = Power * 10
  217.                                         Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef) / 10, math.random(-ef, ef) / 10, math.random(-ef, ef) / 10)
  218.                                     end
  219.                                 end
  220.                                 Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  221.                                 FV:Destroy()
  222.                             end))
  223.                             CameraShake(Times, Power, Noob)
  224.                         end
  225.                     end
  226.                 end
  227.             end
  228.         end
  229.     end
  230. end
  231. function chatfunc(text, color)
  232.     local chat = coroutine.wrap(function()
  233.         if Character:FindFirstChild("TalkingBillBoard") ~= nil then
  234.             Character:FindFirstChild("TalkingBillBoard"):destroy()
  235.         end
  236.         local naeeym2 = Instance.new("BillboardGui", Character)
  237.         naeeym2.Size = UDim2.new(0, 100, 0, 40)
  238.         naeeym2.StudsOffset = Vector3.new(0, 3, 0)
  239.         naeeym2.Adornee = Character.Head
  240.         naeeym2.Name = "TalkingBillBoard"
  241.         local tecks2 = Instance.new("TextLabel", naeeym2)
  242.         tecks2.BackgroundTransparency = 1
  243.         tecks2.BorderSizePixel = 0
  244.         tecks2.Text = ""
  245.         tecks2.Font = "SciFi"
  246.         tecks2.TextSize = 30
  247.         tecks2.TextStrokeTransparency = 0
  248.         tecks2.TextColor3 = color
  249.         tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  250.         tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  251.         local tecks3 = Instance.new("TextLabel", naeeym2)
  252.         tecks3.BackgroundTransparency = 1
  253.         tecks3.BorderSizePixel = 0
  254.         tecks3.Text = ""
  255.         tecks3.Font = "SciFi"
  256.         tecks3.TextSize = 30
  257.         tecks3.TextStrokeTransparency = 0
  258.         tecks3.TextColor3 = Color3.new(0, 0, 0)
  259.         tecks3.TextStrokeColor3 = color
  260.         tecks3.Size = UDim2.new(1, 0, 0.5, 0)
  261.         coroutine.resume(coroutine.create(function()
  262.             while true do
  263.                 swait(1)
  264.                 if chaosmode == true then
  265.                     tecks2.TextColor3 = BrickColor.random().Color
  266.                     tecks3.TextStrokeColor3 = BrickColor.random().Color
  267.                 end
  268.                 tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  269.                 tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  270.                 tecks2.Rotation = math.random(-5, 5)
  271.                 tecks3.Rotation = math.random(-5, 5)
  272.             end
  273.         end))
  274.         for i = 1, string.len(text) do
  275.             CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115)
  276.             tecks2.Text = string.sub(text, 1, i)
  277.             tecks3.Text = string.sub(text, 1, i)
  278.             swait(1)
  279.         end
  280.         wait(1)
  281.         local randomrot = math.random(1, 2)
  282.         if randomrot == 1 then
  283.             for i = 1, 50 do
  284.                 swait()
  285.                 tecks2.Rotation = tecks2.Rotation - 0.75
  286.                 tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  287.                 tecks2.TextTransparency = tecks2.TextTransparency + 0.04
  288.                 tecks3.Rotation = tecks2.Rotation + 0.75
  289.                 tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  290.                 tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  291.             end
  292.         elseif randomrot == 2 then
  293.             for i = 1, 50 do
  294.                 swait()
  295.                 tecks2.Rotation = tecks2.Rotation + 0.75
  296.                 tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  297.                 tecks2.TextTransparency = tecks2.TextTransparency + 0.04
  298.                 tecks3.Rotation = tecks2.Rotation - 0.75
  299.                 tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  300.                 tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  301.             end
  302.         end
  303.         naeeym2:Destroy()
  304.     end)
  305.     chat()
  306. end
  307. local Create = LoadLibrary("RbxUtility").Create
  308. CFuncs = {
  309.     Part = {
  310.         Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  311.             local Part = Create("Part")({
  312.                 Parent = Parent,
  313.                 Reflectance = Reflectance,
  314.                 Transparency = Transparency,
  315.                 CanCollide = false,
  316.                 Locked = true,
  317.                 BrickColor = BrickColor.new(tostring(BColor)),
  318.                 Name = Name,
  319.                 Size = Size,
  320.                 Material = Material
  321.             })
  322.             RemoveOutlines(Part)
  323.             return Part
  324.         end
  325.     },
  326.     Mesh = {
  327.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  328.             local Msh = Create(Mesh)({
  329.                 Parent = Part,
  330.                 Offset = OffSet,
  331.                 Scale = Scale
  332.             })
  333.             if Mesh == "SpecialMesh" then
  334.                 Msh.MeshType = MeshType
  335.                 Msh.MeshId = MeshId
  336.             end
  337.             return Msh
  338.         end
  339.     },
  340.     Mesh = {
  341.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  342.             local Msh = Create(Mesh)({
  343.                 Parent = Part,
  344.                 Offset = OffSet,
  345.                 Scale = Scale
  346.             })
  347.             if Mesh == "SpecialMesh" then
  348.                 Msh.MeshType = MeshType
  349.                 Msh.MeshId = MeshId
  350.             end
  351.             return Msh
  352.         end
  353.     },
  354.     Weld = {
  355.         Create = function(Parent, Part0, Part1, C0, C1)
  356.             local Weld = Create("Weld")({
  357.                 Parent = Parent,
  358.                 Part0 = Part0,
  359.                 Part1 = Part1,
  360.                 C0 = C0,
  361.                 C1 = C1
  362.             })
  363.             return Weld
  364.         end
  365.     },
  366.     Sound = {
  367.         Create = function(id, par, vol, pit)
  368.             coroutine.resume(coroutine.create(function()
  369.                 local S = Create("Sound")({
  370.                     Volume = vol,
  371.                     Pitch = pit or 1,
  372.                     SoundId = id,
  373.                     Parent = par or workspace
  374.                 })
  375.                 wait()
  376.                 S:play()
  377.                 game:GetService("Debris"):AddItem(S, 10)
  378.             end))
  379.         end
  380.     },
  381.     LongSound = {
  382.         Create = function(id, par, vol, pit)
  383.             coroutine.resume(coroutine.create(function()
  384.                 local S = Create("Sound")({
  385.                     Volume = vol,
  386.                     Pitch = pit or 1,
  387.                     SoundId = id,
  388.                     Parent = par or workspace
  389.                 })
  390.                 wait()
  391.                 S:play()
  392.                 game:GetService("Debris"):AddItem(S, 30)
  393.             end))
  394.         end
  395.     },
  396.     ParticleEmitter = {
  397.         Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  398.             local fp = Create("ParticleEmitter")({
  399.                 Parent = Parent,
  400.                 Color = ColorSequence.new(Color1, Color2),
  401.                 LightEmission = LightEmission,
  402.                 Size = Size,
  403.                 Texture = Texture,
  404.                 Transparency = Transparency,
  405.                 ZOffset = ZOffset,
  406.                 Acceleration = Accel,
  407.                 Drag = Drag,
  408.                 LockedToPart = LockedToPart,
  409.                 VelocityInheritance = VelocityInheritance,
  410.                 EmissionDirection = EmissionDirection,
  411.                 Enabled = Enabled,
  412.                 Lifetime = LifeTime,
  413.                 Rate = Rate,
  414.                 Rotation = Rotation,
  415.                 RotSpeed = RotSpeed,
  416.                 Speed = Speed,
  417.                 VelocitySpread = VelocitySpread
  418.             })
  419.             return fp
  420.         end
  421.     },
  422.     CreateTemplate = {}
  423. }
  424. function New(Object, Parent, Name, Data)
  425.     local Object = Instance.new(Object)
  426.     for Index, Value in pairs(Data or {}) do
  427.         Object[Index] = Value
  428.     end
  429.     Object.Parent = Parent
  430.     Object.Name = Name
  431.     return Object
  432. end
  433. local halocolor = BrickColor.new("Pastel light blue")
  434. local halocolor2 = BrickColor.new("Really black")
  435. local starcolor = BrickColor.new("Really black")
  436. local lunacolor = BrickColor.new("Navy blue")
  437. local lunacolor2 = BrickColor.new("Bright blue")
  438. local wepcolor = BrickColor.new("Really black")
  439. local maincolor = BrickColor.new("Really black")
  440. local m = Instance.new("Model", char)
  441. m.Name = "wing and hand"
  442. local m2 = Instance.new("Model", char)
  443. m2.Name = "right and left hand"
  444. local m3 = Instance.new("Model", char)
  445. m3.Name = "right and left hand"
  446. local mw1 = Instance.new("Model", char)
  447. mw1.Name = "left wing"
  448. local mw2 = Instance.new("Model", char)
  449. mw2.Name = "right wing and ring"
  450. local extrawingmod1 = Instance.new("Model", char)
  451. extrawingmod1.Name = "extar_wing 1"
  452. local extrawingmod2 = Instance.new("Model", char)
  453. extrawingmod2.Name = "extar_wing 2"
  454. local extrawingmod3 = Instance.new("Model", char)
  455. extrawingmod3.Name = "extar_wing 3"
  456. local extrawingmod4 = Instance.new("Model", char)
  457. extrawingmod4.Name = "extar_wing 4"
  458. local extrawingmod5 = Instance.new("Model",char)
  459. extrawingmod5.Name = "extar_wing 5"
  460. local extrawingmod6 = Instance.new("Model",char)
  461. extrawingmod5.Name = "extar_wing 6"
  462. function CreateParta(parent, transparency, reflectance, material, brickcolor)
  463.     local p = Instance.new("Part")
  464.     p.TopSurface = 0
  465.     p.BottomSurface = 0
  466.     p.Parent = parent
  467.     p.Size = Vector3.new(0.1, 0.1, 0.1)
  468.     p.Transparency = transparency
  469.     p.Reflectance = reflectance
  470.     p.CanCollide = false
  471.     p.Locked = true
  472.     p.BrickColor = brickcolor
  473.     p.Material = material
  474.     return p
  475. end
  476. function CreateMesh(parent, meshtype, x1, y1, z1)
  477.     local mesh = Instance.new("SpecialMesh", parent)
  478.     mesh.MeshType = meshtype
  479.     mesh.Scale = Vector3.new(x1 * 10, y1 * 10, z1 * 10)
  480.     return mesh
  481. end
  482. function CreateSpecialMesh(parent, meshid, x1, y1, z1)
  483.     local mesh = Instance.new("SpecialMesh", parent)
  484.     mesh.MeshType = "FileMesh"
  485.     mesh.MeshId = meshid
  486.     mesh.Scale = Vector3.new(x1, y1, z1)
  487.     return mesh
  488. end
  489. function CreateSpecialGlowMesh(parent, meshid, x1, y1, z1)
  490.     local mesh = Instance.new("SpecialMesh", parent)
  491.     mesh.MeshType = "FileMesh"
  492.     mesh.MeshId = meshid
  493.     mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  494.     mesh.Scale = Vector3.new(x1, y1, z1)
  495.     mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  496.     return mesh
  497. end
  498. function CreateWeld(parent, part0, part1, C1X, C1Y, C1Z, C1Xa, C1Ya, C1Za, C0X, C0Y, C0Z, C0Xa, C0Ya, C0Za)
  499.     local weld = Instance.new("Weld")
  500.     weld.Parent = parent
  501.     weld.Part0 = part0
  502.     weld.Part1 = part1
  503.     weld.C1 = CFrame.new(C1X, C1Y, C1Z) * CFrame.Angles(C1Xa, C1Ya, C1Za)
  504.     weld.C0 = CFrame.new(C0X, C0Y, C0Z) * CFrame.Angles(C0Xa, C0Ya, C0Za)
  505.     return weld
  506. end
  507. local handlex = CreateParta(mw2, 1, 1, "Neon", maincolor)
  508. CreateMesh(handle, "Brick", 0, 0, 0)
  509. 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))
  510. local valuaring = 10
  511. for i = 0, 49 do
  512.     valuaring = valuaring + 10
  513.     rn = CreateParta(mw2, 0, 0, "Neon", halocolor)
  514.     CreateMesh(rn, "Brick", 0.25, 0.1, 0.1)
  515.     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))
  516. end
  517. local handle = CreateParta(m, 1, 1, "Neon", maincolor)
  518. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  519. 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))
  520. local lwing1 = CreateParta(m, 1, 1, "Neon", maincolor)
  521. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  522. 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))
  523. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  524. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  525. 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))
  526. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  527. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  528. 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))
  529. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  530. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  531. 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))
  532. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  533. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  534. 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))
  535. local lwing2 = CreateParta(m, 1, 1, "Neon", maincolor)
  536. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  537. 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))
  538. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  539. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  540. 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))
  541. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  542. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  543. 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))
  544. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  545. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  546. 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))
  547. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  548. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  549. 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))
  550. local lwing3 = CreateParta(m, 1, 1, "Neon", maincolor)
  551. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  552. 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))
  553. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  554. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  555. 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))
  556. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  557. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  558. 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))
  559. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  560. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  561. 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))
  562. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  563. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  564. 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))
  565. local lwing4 = CreateParta(m, 1, 1, "Neon", maincolor)
  566. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  567. 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))
  568. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  569. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  570. 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))
  571. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  572. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  573. 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))
  574. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  575. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  576. 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))
  577. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  578. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  579. 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))
  580. local lwing5 = CreateParta(m, 1, 1, "Neon", maincolor)
  581. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  582. 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))
  583. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  584. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  585. 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))
  586. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  587. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  588. 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))
  589. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  590. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  591. 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))
  592. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  593. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  594. 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))
  595. local lwing6 = CreateParta(m, 1, 1, "Neon", maincolor)
  596. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  597. 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))
  598. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  599. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  600. 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))
  601. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  602. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  603. 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))
  604. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  605. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  606. 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))
  607. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  608. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  609. 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))
  610. --edit left wing here --
  611. local lwing7 = CreateParta(m, 1, 1, "Neon", maincolor)
  612. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  613. local lwing7weld = CreateWeld(lwing7, handle, lwing7, 8.75, 6, 0, math.rad(20), math.rad(0), math.rad(50), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  614. wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  615. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  616. CreateWeld(wed, lwing7, 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))
  617. wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  618. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  619. CreateWeld(wed, lwing7, 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))
  620. wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  621. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  622. CreateWeld(wed, lwing7, 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))
  623. wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  624. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  625. CreateWeld(wed, lwing7, 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))
  626. local lwing8 = CreateParta(m, 1, 1, "Neon", maincolor)
  627. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  628. local lwing8weld = CreateWeld(lwing8, handle, lwing8, 9.75, 7, 0, math.rad(25), math.rad(0), math.rad(62.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  629. wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  630. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  631. CreateWeld(wed, lwing8, 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))
  632. wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  633. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  634. CreateWeld(wed, lwing8, 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))
  635. wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  636. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  637. CreateWeld(wed, lwing8, 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))
  638. wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  639. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  640. CreateWeld(wed, lwing8, 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))
  641. local lwing9 = CreateParta(m, 1, 1, "Neon", maincolor)
  642. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  643. local lwing9weld = CreateWeld(lwing9, handle, lwing9, 10.75, 8, 0, math.rad(30), math.rad(0), math.rad(75), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  644. wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  645. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  646. CreateWeld(wed, lwing9, 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))
  647. wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  648. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  649. CreateWeld(wed, lwing9, 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))
  650. wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  651. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  652. CreateWeld(wed, lwing9, 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))
  653. wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  654. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  655. CreateWeld(wed, lwing9, 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))
  656. --local lwing10 = CreateParta(m, 1, 1, "Neon", maincolor)
  657. --CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  658. --local lwing10weld = CreateWeld(lwing10, handle, lwing10, 11.75, 9, 0, math.rad(30), math.rad(0), math.rad(75), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  659. --wed = CreateParta(extrawingmod5, 0, 0, "Neon", halocolor)
  660. --CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  661. --CreateWeld(wed, lwing10, 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))
  662. --wed = CreateParta(extrawingmod5, 0, 0, "Neon", halocolor)
  663. --CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  664. --CreateWeld(wed, lwing10, 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))
  665. --wed = CreateParta(extrawingmod5, 0, 0, "Neon", halocolor)
  666. --CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  667. --CreateWeld(wed, lwing10, 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))
  668. --wed = CreateParta(extrawingmod5, 0, 0, "Neon", halocolor)
  669. --CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  670. --CreateWeld(wed, lwing10, 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))
  671. --end of edit wing left--
  672. local rwing1 = CreateParta(m, 1, 1, "Neon", maincolor)
  673. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  674. 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))
  675. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  676. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  677. 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))
  678. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  679. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  680. 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))
  681. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  682. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  683. 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))
  684. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  685. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  686. 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))
  687. local rwing2 = CreateParta(m, 1, 1, "Neon", maincolor)
  688. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  689. 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))
  690. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  691. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  692. 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))
  693. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  694. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  695. 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))
  696. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  697. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  698. 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))
  699. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  700. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  701. 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))
  702. local rwing3 = CreateParta(m, 1, 1, "Neon", maincolor)
  703. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  704. 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))
  705. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  706. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  707. 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))
  708. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  709. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  710. 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))
  711. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  712. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  713. 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))
  714. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  715. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  716. 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))
  717. local rwing4 = CreateParta(m, 1, 1, "Neon", maincolor)
  718. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  719. 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))
  720. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  721. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  722. 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))
  723. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  724. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  725. 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))
  726. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  727. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  728. 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))
  729. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  730. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  731. 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))
  732. local rwing5 = CreateParta(m, 1, 1, "Neon", maincolor)
  733. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  734. 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))
  735. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  736. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  737. 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))
  738. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  739. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  740. 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))
  741. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  742. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  743. 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))
  744. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  745. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  746. 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))
  747. local rwing6 = CreateParta(m, 1, 1, "Neon", maincolor)
  748. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  749. 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))
  750. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  751. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  752. 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))
  753. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  754. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  755. 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))
  756. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  757. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  758. 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))
  759. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  760. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  761. 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))
  762. --start of edit right wing--
  763. local rwing7 = CreateParta(m, 1, 1, "Neon", maincolor)
  764. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  765. local rwing7weld = CreateWeld(rwing7, handle, rwing7, -8.75, 3, 0, math.rad(35), math.rad(0), math.rad(-87.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  766. wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  767. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  768. CreateWeld(wed, rwing7, 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))
  769. wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  770. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  771. CreateWeld(wed, rwing7, 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))
  772. wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  773. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  774. CreateWeld(wed, rwing7, 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))
  775. wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  776. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  777. CreateWeld(wed, rwing7, 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))
  778. local rwing8 = CreateParta(m, 1, 1, "Neon", maincolor)
  779. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  780. local rwing8weld = CreateWeld(rwing8, handle, rwing8, -9.75, 4, 0, math.rad(40), math.rad(0), math.rad(-100), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  781. wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  782. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  783. CreateWeld(wed, rwing8, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  784. wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  785. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  786. CreateWeld(wed, rwing8, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  787. wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  788. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  789. CreateWeld(wed, rwing8, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  790. wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  791. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  792. CreateWeld(wed, rwing8, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  793. local rwing9 = CreateParta(m, 1, 1, "Neon", maincolor)
  794. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  795. local rwing9weld = CreateWeld(rwing9, handle, rwing9, -10.75, 3, 0, math.rad(45), math.rad(0), math.rad(-112), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  796. wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  797. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  798. CreateWeld(wed, rwing9, 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))
  799. wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  800. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  801. CreateWeld(wed, rwing9, 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))
  802. wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  803. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  804. CreateWeld(wed, rwing9, 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))
  805. wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  806. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  807. CreateWeld(wed, rwing9, 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))
  808. local rwing10 = CreateParta(m, 1, 1, "Neon", maincolor)
  809. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  810. local rwing10weld = CreateWeld(rwing10, handle, rwing10, -11.75, 3, 0, math.rad(50), math.rad(0), math.rad(-124.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  811. wed = CreateParta(extrawingmod6, 0, 0, "Neon", halocolor)
  812. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  813. CreateWeld(wed, rwing9, 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))
  814. wed = CreateParta(extrawingmod6, 0, 0, "Neon", halocolor)
  815. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  816. CreateWeld(wed, rwing9, 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))
  817. --wed = CreateParta(extrawingmod6, 0, 0, "Neon", halocolor)
  818. --CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  819. --CreateWeld(wed, rwing10, 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))
  820. --wed = CreateParta(extrawingmod6, 0, 0, "Neon", halocolor)
  821. --CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  822. --CreateWeld(wed, rwing10, 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))
  823. --end of edit right wing--
  824. ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor)
  825. CreateMesh(ran, "Wedge", 1.02, 1.02, 1.02)
  826. 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))
  827. ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  828. CreateMesh(ran, "Wedge", 0.9, 0.9, 1.025)
  829. 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))
  830. ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  831. CreateMesh(ran, "Wedge", 1.025, 0.9, 0.9)
  832. 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))
  833. gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  834. CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
  835. 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))
  836. gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  837. CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
  838. 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))
  839. gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
  840. CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
  841. 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))
  842. gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
  843. CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
  844. 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))
  845. gane = CreateParta(m3, 0, 0, "SmoothPlastic", lunacolor2)
  846. CreateMesh(gane, "Brick", 1.0625, 0.2, 1.0625)
  847. 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))
  848. star = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  849. CreateSpecialMesh(star, "http://www.roblox.com/asset/?id=45428961", 2.5, 2.5, 2.5)
  850. 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))
  851. starl = CreateParta(m3, 0, 0, "SmoothPlastic", starcolor)
  852. CreateSpecialMesh(starl, "http://www.roblox.com/asset/?id=45428961", 1.95, 2.55, 1.95)
  853. 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))
  854. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  855. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  856. 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))
  857. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  858. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  859. 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))
  860. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  861. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  862. 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))
  863. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  864. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  865. 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))
  866. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  867. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  868. 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))
  869. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  870. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  871. 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))
  872. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  873. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  874. 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))
  875. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  876. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  877. 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))
  878. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  879. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  880. 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))
  881. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  882. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  883. 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))
  884. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  885. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  886. 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))
  887. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  888. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  889. 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))
  890. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  891. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  892. 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))
  893. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  894. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  895. 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))
  896. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  897. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  898. 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))
  899. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  900. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  901. 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))
  902. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  903. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  904. 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))
  905. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  906. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  907. 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))
  908. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  909. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  910. 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))
  911. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  912. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  913. 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))
  914. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  915. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  916. 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))
  917. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  918. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  919. 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))
  920. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  921. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  922. 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))
  923. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  924. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  925. 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))
  926. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  927. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  928. 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))
  929. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  930. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  931. 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))
  932. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  933. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  934. 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))
  935. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  936. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  937. 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))
  938. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  939. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  940. 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))
  941. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  942. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  943. 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))
  944. ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor)
  945. CreateMesh(ran, "Wedge", 1.02, 1.02, 1.02)
  946. 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))
  947. ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  948. CreateMesh(ran, "Wedge", 0.9, 0.9, 1.025)
  949. 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))
  950. ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  951. CreateMesh(ran, "Wedge", 1.025, 0.9, 0.9)
  952. 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))
  953. gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  954. CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
  955. 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))
  956. gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  957. CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
  958. 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))
  959. gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
  960. CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
  961. 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))
  962. gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
  963. CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
  964. 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))
  965. gane = CreateParta(m3, 0, 0, "SmoothPlastic", lunacolor2)
  966. CreateMesh(gane, "Brick", 1.0625, 0.2, 1.0625)
  967. 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))
  968. star = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  969. CreateSpecialMesh(star, "http://www.roblox.com/asset/?id=45428961", 2.5, 2.5, 2.5)
  970. 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))
  971. starl = CreateParta(m3, 0, 0, "SmoothPlastic", starcolor)
  972. CreateSpecialMesh(starl, "http://www.roblox.com/asset/?id=45428961", 1.95, 2.55, 1.95)
  973. 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))
  974. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  975. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  976. 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))
  977. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  978. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  979. 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))
  980. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  981. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  982. 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))
  983. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  984. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  985. 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))
  986. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  987. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  988. 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))
  989. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  990. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  991. 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))
  992. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  993. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  994. 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))
  995. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  996. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  997. 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))
  998. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  999. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1000. 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))
  1001. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1002. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1003. 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))
  1004. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1005. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1006. 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))
  1007. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1008. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1009. 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))
  1010. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1011. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1012. 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))
  1013. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1014. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1015. 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))
  1016. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1017. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1018. 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))
  1019. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1020. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1021. 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))
  1022. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1023. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1024. 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))
  1025. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1026. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1027. 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))
  1028. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1029. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1030. 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))
  1031. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1032. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1033. 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))
  1034. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1035. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1036. 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))
  1037. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1038. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1039. 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))
  1040. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1041. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1042. 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))
  1043. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1044. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1045. 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))
  1046. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1047. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1048. 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))
  1049. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1050. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1051. 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))
  1052. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1053. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1054. 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))
  1055. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1056. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1057. 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))
  1058. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1059. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1060. 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))
  1061. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1062. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1063. 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))
  1064. for i, v in pairs(m:GetChildren()) do
  1065.     if v:IsA("Part") then
  1066.         v.BrickColor = BrickColor.new("Really black")
  1067.         v.Material = "Glass"
  1068.     end
  1069. end
  1070. for i, v in pairs(m2:GetChildren()) do
  1071.     if v:IsA("Part") then
  1072.         v.BrickColor = BrickColor.new("Crimson")
  1073.         v.Material = "Granite"
  1074.     end
  1075. end
  1076. for i, v in pairs(m3:GetChildren()) do
  1077.     if v:IsA("Part") then
  1078.         v.BrickColor = BrickColor.new("Really red")
  1079.         v.Material = "Neon"
  1080.     end
  1081. end
  1082. for i, v in pairs(mw2:GetChildren()) do
  1083.     if v:IsA("Part") then
  1084.         v.BrickColor = BrickColor.new("Really red")
  1085.         v.Material = "Neon"
  1086.     end
  1087. end
  1088. for i, v in pairs(mw1:GetChildren()) do
  1089.     if v:IsA("Part") then
  1090.         v.Transparency = 0
  1091.         v.BrickColor = BrickColor.new("Really red")
  1092.         v.Material = "Neon"
  1093.     end
  1094. end
  1095. for i, v in pairs(extrawingmod1:GetChildren()) do
  1096.     if v:IsA("Part") then
  1097.         v.Transparency = 0
  1098.         v.BrickColor = BrickColor.new("Really red")
  1099.         v.Material = "Neon"
  1100.     end
  1101. end
  1102. for i, v in pairs(extrawingmod2:GetChildren()) do
  1103.     if v:IsA("Part") then
  1104.         v.Transparency = 0
  1105.         v.BrickColor = BrickColor.new("Really red")
  1106.         v.Material = "Neon"
  1107.     end
  1108. end
  1109. for i, v in pairs(extrawingmod3:GetChildren()) do
  1110.     if v:IsA("Part") then
  1111.         v.Transparency = 0
  1112.         v.BrickColor = BrickColor.new("Really red")
  1113.         v.Material = "Neon"
  1114.     end
  1115. end
  1116. for i, v in pairs(extrawingmod4:GetChildren()) do
  1117.     if v:IsA("Part") then
  1118.         v.Transparency = 0
  1119.         v.BrickColor = BrickColor.new("Really red")
  1120.         v.Material = "Neon"
  1121.     end
  1122. end
  1123. FHead = New("Part",char,"FHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  1124. Mesh = New("SpecialMesh",FHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  1125. Weld = New("Weld",FHead,"mot",{Part0 = FHead,Part1 = char.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  1126. FHead.CanCollide = false
  1127.  
  1128.  
  1129.  
  1130. local MAINRUINCOLOR = BrickColor.new("Really red")
  1131. function RemoveOutlines(part)
  1132.     part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1133. end
  1134. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1135.     local Part = Create("Part")({
  1136.         Parent = Parent,
  1137.         Reflectance = Reflectance,
  1138.         Transparency = Transparency,
  1139.         CanCollide = false,
  1140.         Locked = true,
  1141.         BrickColor = BrickColor.new(tostring(BColor)),
  1142.         Name = Name,
  1143.         Size = Size,
  1144.         Material = Material
  1145.     })
  1146.     Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1147.     RemoveOutlines(Part)
  1148.     return Part
  1149. end
  1150. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1151.     local Msh = Create(Mesh)({
  1152.         Parent = Part,
  1153.         Offset = OffSet,
  1154.         Scale = Scale
  1155.     })
  1156.     if Mesh == "SpecialMesh" then
  1157.         Msh.MeshType = MeshType
  1158.         Msh.MeshId = MeshId
  1159.     end
  1160.     return Msh
  1161. end
  1162. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1163.     local Weld = Create("Weld")({
  1164.         Parent = Parent,
  1165.         Part0 = Part0,
  1166.         Part1 = Part1,
  1167.         C0 = C0,
  1168.         C1 = C1
  1169.     })
  1170.     return Weld
  1171. end
  1172. Player = owner
  1173. Character = Player.Character
  1174. PlayerGui = Player.PlayerGui
  1175. Backpack = Player.Backpack
  1176. Torso = Character.Torso
  1177. Head = Character.Head
  1178. Humanoid = Character.Humanoid
  1179. m = Instance.new("Model", Character)
  1180. LeftArm = Character["Left Arm"]
  1181. LeftLeg = Character["Left Leg"]
  1182. RightArm = Character["Right Arm"]
  1183. RightLeg = Character["Right Leg"]
  1184. LS = Torso["Left Shoulder"]
  1185. LH = Torso["Left Hip"]
  1186. RS = Torso["Right Shoulder"]
  1187. RH = Torso["Right Hip"]
  1188. Face = Head.face
  1189. Neck = Torso.Neck
  1190. it = Instance.new
  1191. attacktype = 1
  1192. vt = Vector3.new
  1193. cf = CFrame.new
  1194. euler = CFrame.fromEulerAnglesXYZ
  1195. angles = CFrame.Angles
  1196. cloaked = false
  1197. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1198. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1199. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1200. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1201. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1202. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1203. RootPart = Character.HumanoidRootPart
  1204. RootJoint = RootPart.RootJoint
  1205. RootCF = euler(-1.57, 0, 3.14)
  1206. attack = false
  1207. attackdebounce = false
  1208. deb = false
  1209. equipped = true
  1210. hand = false
  1211. MMouse = nil
  1212. combo = 0
  1213. mana = 0
  1214. trispeed = 0.2
  1215. attackmode = "none"
  1216. local idle = 0
  1217. local Anim = "Idle"
  1218. local Effects = {}
  1219. local gun = false
  1220. local shoot = false
  1221. local sine = 0
  1222. local change = 1
  1223. player = nil
  1224. local toggleTag = true
  1225. local txt = Instance.new("BillboardGui", Head)
  1226. txt.Adornee = nil
  1227. txt.Name = "NameDetect"
  1228. txt.Size = UDim2.new(4, 0, 1.2, 0)
  1229. txt.StudsOffset = Vector3.new(-8, 5.333333333333333, 0)
  1230. local text = Instance.new("TextLabel", txt)
  1231. text.Size = UDim2.new(5, 0, 3.5, 0)
  1232. text.FontSize = "Size8"
  1233. text.TextScaled = true
  1234. text.TextTransparency = 0
  1235. text.BackgroundTransparency = 1
  1236. text.TextTransparency = 0
  1237. text.TextStrokeTransparency = 0
  1238. text.Font = "Fantasy"
  1239. text.TextStrokeColor3 = Color3.new(1, 0, 0)
  1240. text.TextColor3 = Color3.new(0, 0, 0)
  1241. text.Text = "Blaze"
  1242. function RecolorTextAndRename(name, col1, col2)
  1243.     text.TextStrokeColor3 = col2
  1244.     text.TextColor3 = col1
  1245.     text.Text = name
  1246. end
  1247. --mouse = Player:GetMouse()
  1248. RSH, LSH = nil, nil
  1249. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  1250. RW.Name = "Right Shoulder"
  1251. LW.Name = "Left Shoulder"
  1252. LH = Torso["Left Hip"]
  1253. RH = Torso["Right Hip"]
  1254. TorsoColor = Torso.BrickColor
  1255. function NoOutline(Part)
  1256.     Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
  1257. end
  1258. player = Player
  1259. ch = Character
  1260. RSH = ch.Torso["Right Shoulder"]
  1261. LSH = ch.Torso["Left Shoulder"]
  1262. RSH.Parent = nil
  1263. LSH.Parent = nil
  1264. RW.Name = "Right Shoulder"
  1265. RW.Part0 = ch.Torso
  1266. RW.C0 = cf(1.5, 0.5, 0)
  1267. RW.C1 = cf(0, 0.5, 0)
  1268. RW.Part1 = ch["Right Arm"]
  1269. RW.Parent = ch.Torso
  1270. LW.Name = "Left Shoulder"
  1271. LW.Part0 = ch.Torso
  1272. LW.C0 = cf(-1.5, 0.5, 0)
  1273. LW.C1 = cf(0, 0.5, 0)
  1274. LW.Part1 = ch["Left Arm"]
  1275. LW.Parent = ch.Torso
  1276. local Stats = Instance.new("BoolValue")
  1277. Stats.Name = "Stats"
  1278. Stats.Parent = Character
  1279. local Atk = Instance.new("NumberValue")
  1280. Atk.Name = "Damage"
  1281. Atk.Parent = Stats
  1282. Atk.Value = 1
  1283. local Def = Instance.new("NumberValue")
  1284. Def.Name = "Defense"
  1285. Def.Parent = Stats
  1286. Def.Value = 1
  1287. local Speed = Instance.new("NumberValue")
  1288. Speed.Name = "Speed"
  1289. Speed.Parent = Stats
  1290. Speed.Value = 1
  1291. local Mvmt = Instance.new("NumberValue")
  1292. Mvmt.Name = "Movement"
  1293. Mvmt.Parent = Stats
  1294. Mvmt.Value = 1
  1295. local donum = 0
  1296. function part(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  1297.     local fp = it("Part")
  1298.     fp.formFactor = formfactor
  1299.     fp.Parent = parent
  1300.     fp.Reflectance = reflectance
  1301.     fp.Transparency = transparency
  1302.     fp.CanCollide = false
  1303.     fp.Locked = true
  1304.     fp.BrickColor = brickcolor
  1305.     fp.Name = name
  1306.     fp.Size = size
  1307.     fp.Position = Torso.Position
  1308.     NoOutline(fp)
  1309.     fp.Material = "SmoothPlastic"
  1310.     fp:BreakJoints()
  1311.     return fp
  1312. end
  1313. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  1314.     local mesh = it(Mesh)
  1315.     mesh.Parent = part
  1316.     if Mesh == "SpecialMesh" then
  1317.         mesh.MeshType = meshtype
  1318.         if meshid ~= "nil" then
  1319.             mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  1320.         end
  1321.     end
  1322.     mesh.Offset = offset
  1323.     mesh.Scale = scale
  1324.     return mesh
  1325. end
  1326. function weld(parent, part0, part1, c0)
  1327.     local weld = it("Weld")
  1328.     weld.Parent = parent
  1329.     weld.Part0 = part0
  1330.     weld.Part1 = part1
  1331.     weld.C0 = c0
  1332.     return weld
  1333. end
  1334. local Color1 = Torso.BrickColor
  1335. local bodvel = Instance.new("BodyVelocity")
  1336. local bg = Instance.new("BodyGyro")
  1337. function swait(num)
  1338.     if num == 0 or num == nil then
  1339.         game:service("RunService").Stepped:wait(0)
  1340.     else
  1341.         for i = 0, num do
  1342.             game:service("RunService").Stepped:wait(0)
  1343.         end
  1344.     end
  1345. end
  1346. local r = 255
  1347. local g = 0
  1348. local b = 0
  1349. coroutine.resume(coroutine.create(function()
  1350.     while wait() do
  1351.         for i = 0, 50.8 do
  1352.             swait()
  1353.             g = g + 5
  1354.         end
  1355.         for i = 0, 50.8 do
  1356.             swait()
  1357.             r = r - 5
  1358.         end
  1359.         for i = 0, 50.8 do
  1360.             swait()
  1361.             b = b + 5
  1362.         end
  1363.         for i = 0, 50.8 do
  1364.             swait()
  1365.             g = g - 5
  1366.         end
  1367.         for i = 0, 50.8 do
  1368.             swait()
  1369.             r = r + 5
  1370.         end
  1371.         for i = 0, 50.8 do
  1372.             swait()
  1373.             b = b - 5
  1374.         end
  1375.     end
  1376. end))
  1377. function so(id, par, vol, pit)
  1378.     coroutine.resume(coroutine.create(function()
  1379.         local sou = Instance.new("Sound", par or workspace)
  1380.         sou.Volume = vol
  1381.         sou.Pitch = pit or 1
  1382.         sou.SoundId = id
  1383.         swait()
  1384.         sou:play()
  1385.         game:GetService("Debris"):AddItem(sou, 6)
  1386.     end))
  1387. end
  1388. function clerp(a, b, t)
  1389.     local qa = {
  1390.         QuaternionFromCFrame(a)
  1391.     }
  1392.     local qb = {
  1393.         QuaternionFromCFrame(b)
  1394.     }
  1395.     local ax, ay, az = a.x, a.y, a.z
  1396.     local bx, by, bz = b.x, b.y, b.z
  1397.     local _t = 1 - t
  1398.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1399. end
  1400. function QuaternionFromCFrame(cf)
  1401.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1402.     local trace = m00 + m11 + m22
  1403.     if trace > 0 then
  1404.         local s = math.sqrt(1 + trace)
  1405.         local recip = 0.5 / s
  1406.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1407.     else
  1408.         local i = 0
  1409.         if m00 < m11 then
  1410.             i = 1
  1411.         end
  1412.         if m22 > (i == 0 and m00 or m11) then
  1413.             i = 2
  1414.         end
  1415.         if i == 0 then
  1416.             local s = math.sqrt(m00 - m11 - m22 + 1)
  1417.             local recip = 0.5 / s
  1418.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1419.         elseif i == 1 then
  1420.             local s = math.sqrt(m11 - m22 - m00 + 1)
  1421.             local recip = 0.5 / s
  1422.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1423.         elseif i == 2 then
  1424.             local s = math.sqrt(m22 - m00 - m11 + 1)
  1425.             local recip = 0.5 / s
  1426.             return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1427.         end
  1428.     end
  1429. end
  1430. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1431.     local xs, ys, zs = x + x, y + y, z + z
  1432.     local wx, wy, wz = w * xs, w * ys, w * zs
  1433.     local xx = x * xs
  1434.     local xy = x * ys
  1435.     local xz = x * zs
  1436.     local yy = y * ys
  1437.     local yz = y * zs
  1438.     local zz = z * zs
  1439.     return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  1440. end
  1441. function QuaternionSlerp(a, b, t)
  1442.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1443.     local startInterp, finishInterp
  1444.     if cosTheta >= 1.0E-4 then
  1445.         if 1 - cosTheta > 1.0E-4 then
  1446.             local theta = math.acos(cosTheta)
  1447.             local invSinTheta = 1 / math.sin(theta)
  1448.             startInterp = math.sin((1 - t) * theta) * invSinTheta
  1449.             finishInterp = math.sin(t * theta) * invSinTheta
  1450.         else
  1451.             startInterp = 1 - t
  1452.             finishInterp = t
  1453.         end
  1454.     elseif 1 + cosTheta > 1.0E-4 then
  1455.         local theta = math.acos(-cosTheta)
  1456.         local invSinTheta = 1 / math.sin(theta)
  1457.         startInterp = math.sin((t - 1) * theta) * invSinTheta
  1458.         finishInterp = math.sin(t * theta) * invSinTheta
  1459.     else
  1460.         startInterp = t - 1
  1461.         finishInterp = t
  1462.     end
  1463.     return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  1464. end
  1465. local CFrameFromTopBack = function(at, top, back)
  1466.     local right = top:Cross(back)
  1467.     return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  1468. end
  1469. function Triangle(a, b, c)
  1470.     local edg1 = (c - a):Dot((b - a).unit)
  1471.     local edg2 = (a - b):Dot((c - b).unit)
  1472.     local edg3 = (b - c):Dot((a - c).unit)
  1473.     if edg1 <= (b - a).magnitude and edg1 >= 0 then
  1474.         a, b = a, b
  1475.     elseif edg2 <= (c - b).magnitude and edg2 >= 0 then
  1476.         a, b, c = b, c, a
  1477.     elseif edg3 <= (a - c).magnitude and edg3 >= 0 then
  1478.         a, b, c = c, a, b
  1479.     else
  1480.         assert(false, "unreachable")
  1481.     end
  1482.     local len1 = (c - a):Dot((b - a).unit)
  1483.     local len2 = (b - a).magnitude - len1
  1484.     local width = (a + (b - a).unit * len1 - c).magnitude
  1485.     local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, -(b - a).unit)
  1486.     local list = {}
  1487.     if len1 > 0.01 then
  1488.         local w1 = Instance.new("WedgePart", m)
  1489.         game:GetService("Debris"):AddItem(w1, 5)
  1490.         w1.Material = "SmoothPlastic"
  1491.         w1.FormFactor = "Custom"
  1492.         w1.BrickColor = BrickColor.new("Really red")
  1493.         w1.Transparency = 0
  1494.         w1.Reflectance = 0
  1495.         w1.Material = "SmoothPlastic"
  1496.         w1.CanCollide = false
  1497.         local l1 = Instance.new("PointLight", w1)
  1498.         l1.Color = Color3.new(170, 0, 0)
  1499.         NoOutline(w1)
  1500.         local sz = Vector3.new(0.2, width, len1)
  1501.         w1.Size = sz
  1502.         local sp = Instance.new("SpecialMesh", w1)
  1503.         sp.MeshType = "Wedge"
  1504.         sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  1505.         w1:BreakJoints()
  1506.         w1.Anchored = true
  1507.         w1.Parent = workspace
  1508.         w1.Transparency = 0.7
  1509.         table.insert(Effects, {
  1510.             w1,
  1511.             "Disappear",
  1512.             0.01
  1513.         })
  1514.         w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  1515.         table.insert(list, w1)
  1516.     end
  1517.     if len2 > 0.01 then
  1518.         local w2 = Instance.new("WedgePart", m)
  1519.         game:GetService("Debris"):AddItem(w2, 5)
  1520.         w2.Material = "SmoothPlastic"
  1521.         w2.FormFactor = "Custom"
  1522.         w2.BrickColor = BrickColor.new("Really red")
  1523.         w2.Transparency = 0
  1524.         w2.Reflectance = 0
  1525.         w2.Material = "SmoothPlastic"
  1526.         w2.CanCollide = false
  1527.         local l2 = Instance.new("PointLight", w2)
  1528.         l2.Color = Color3.new(170, 0, 0)
  1529.         NoOutline(w2)
  1530.         local sz = Vector3.new(0.2, width, len2)
  1531.         w2.Size = sz
  1532.         local sp = Instance.new("SpecialMesh", w2)
  1533.         sp.MeshType = "Wedge"
  1534.         sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  1535.         w2:BreakJoints()
  1536.         w2.Anchored = true
  1537.         w2.Parent = workspace
  1538.         w2.Transparency = 0.7
  1539.         table.insert(Effects, {
  1540.             w2,
  1541.             "Disappear",
  1542.             0.01
  1543.         })
  1544.         w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  1545.         table.insert(list, w2)
  1546.     end
  1547.     return unpack(list)
  1548. end
  1549. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1550.     if hit.Parent == nil then
  1551.         return
  1552.     end
  1553.     local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1554.     for _, v in pairs(hit.Parent:children()) do
  1555.         if v:IsA("Humanoid") then
  1556.             h = v
  1557.         end
  1558.     end
  1559.     if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1560.         if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1561.             return
  1562.         end
  1563.         local c = Create("ObjectValue")({
  1564.             Name = "creator",
  1565.             Value = owner,
  1566.             Parent = h
  1567.         })
  1568.         game:GetService("Debris"):AddItem(c, 0.5)
  1569.         if HitSound ~= nil and HitPitch ~= nil then
  1570.             CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1571.         end
  1572.         local Damage = math.random(minim, maxim)
  1573.         local blocked = false
  1574.         local block = hit.Parent:findFirstChild("Block")
  1575.         if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1576.             blocked = true
  1577.             block.Value = block.Value - 1
  1578.             print(block.Value)
  1579.         end
  1580.         if blocked == false then
  1581.             HitHealth = h.Health
  1582.             h.Health = h.Health - Damage
  1583.             if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1584.                 print("gained kill")
  1585.             end
  1586.             ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1587.         else
  1588.             h.Health = h.Health - Damage / 2
  1589.             ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1590.         end
  1591.         if Type == "Knockdown" then
  1592.             local hum = hit.Parent.Humanoid
  1593.             hum.PlatformStand = true
  1594.             coroutine.resume(coroutine.create(function(HHumanoid)
  1595.                 swait(1)
  1596.                 HHumanoid.PlatformStand = false
  1597.             end), hum)
  1598.             local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1599.             local bodvol = Create("BodyVelocity")({
  1600.                 velocity = angle * knockback,
  1601.                 P = 5000,
  1602.                 maxForce = Vector3.new(8000, 8000, 8000),
  1603.                 Parent = hit
  1604.             })
  1605.             local rl = Create("BodyAngularVelocity")({
  1606.                 P = 3000,
  1607.                 maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1608.                 angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1609.                 Parent = hit
  1610.             })
  1611.             game:GetService("Debris"):AddItem(bodvol, 0.5)
  1612.             game:GetService("Debris"):AddItem(rl, 0.5)
  1613.         elseif Type == "Normal" then
  1614.             local vp = Create("BodyVelocity")({
  1615.                 P = 500,
  1616.                 maxForce = Vector3.new(math.huge, 0, math.huge),
  1617.                 velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1618.             })
  1619.             if knockback > 0 then
  1620.                 vp.Parent = hit.Parent.Head
  1621.             end
  1622.             game:GetService("Debris"):AddItem(vp, 0.5)
  1623.         elseif Type == "Up" then
  1624.             local bodyVelocity = Create("BodyVelocity")({
  1625.                 velocity = Vector3.new(0, 20, 0),
  1626.                 P = 5000,
  1627.                 maxForce = Vector3.new(8000, 8000, 8000),
  1628.                 Parent = hit
  1629.             })
  1630.             game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1631.             local bodyVelocity = Create("BodyVelocity")({
  1632.                 velocity = Vector3.new(0, 20, 0),
  1633.                 P = 5000,
  1634.                 maxForce = Vector3.new(8000, 8000, 8000),
  1635.                 Parent = hit
  1636.             })
  1637.             game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1638.         elseif Type == "Leech" then
  1639.             local hum = hit.Parent.Humanoid
  1640.             if hum ~= nil then
  1641.                 for i = 0, 2 do
  1642.                     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)
  1643.                 end
  1644.                 Humanoid.Health = Humanoid.Health + 10
  1645.             end
  1646.         elseif Type == "UpKnock" then
  1647.             local hum = hit.Parent.Humanoid
  1648.             hum.PlatformStand = true
  1649.             if hum ~= nil then
  1650.                 hitr = true
  1651.             end
  1652.             coroutine.resume(coroutine.create(function(HHumanoid)
  1653.                 swait(5)
  1654.                 HHumanoid.PlatformStand = false
  1655.                 hitr = false
  1656.             end), hum)
  1657.             local bodyVelocity = Create("BodyVelocity")({
  1658.                 velocity = Vector3.new(0, 20, 0),
  1659.                 P = 5000,
  1660.                 maxForce = Vector3.new(8000, 8000, 8000),
  1661.                 Parent = hit
  1662.             })
  1663.             game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1664.             local bodyVelocity = Create("BodyVelocity")({
  1665.                 velocity = Vector3.new(0, 20, 0),
  1666.                 P = 5000,
  1667.                 maxForce = Vector3.new(8000, 8000, 8000),
  1668.                 Parent = hit
  1669.             })
  1670.             game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1671.         elseif Type == "Snare" then
  1672.             local bp = Create("BodyPosition")({
  1673.                 P = 2000,
  1674.                 D = 100,
  1675.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1676.                 position = hit.Parent.Torso.Position,
  1677.                 Parent = hit.Parent.Torso
  1678.             })
  1679.             game:GetService("Debris"):AddItem(bp, 1)
  1680.         elseif Type == "Slashnare" then
  1681.             Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 60, 60, 60, 12, 12, 12, 0.07)
  1682.             for i = 1, math.random(4, 5) do
  1683.                 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)
  1684.             end
  1685.             local bp = Create("BodyPosition")({
  1686.                 P = 2000,
  1687.                 D = 100,
  1688.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1689.                 position = hit.Parent.Torso.Position,
  1690.                 Parent = hit.Parent.Torso
  1691.             })
  1692.             game:GetService("Debris"):AddItem(bp, 1)
  1693.         elseif Type == "Spike" then
  1694.             CreateBigIceSword(hit.Parent.Torso.CFrame)
  1695.             local bp = Create("BodyPosition")({
  1696.                 P = 2000,
  1697.                 D = 100,
  1698.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1699.                 position = hit.Parent.Torso.Position,
  1700.                 Parent = hit.Parent.Torso
  1701.             })
  1702.             game:GetService("Debris"):AddItem(bp, 1)
  1703.         elseif Type == "Freeze" then
  1704.             local BodPos = Create("BodyPosition")({
  1705.                 P = 50000,
  1706.                 D = 1000,
  1707.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1708.                 position = hit.Parent.Torso.Position,
  1709.                 Parent = hit.Parent.Torso
  1710.             })
  1711.             local BodGy = Create("BodyGyro")({
  1712.                 maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1713.                 P = 20000,
  1714.                 Parent = hit.Parent.Torso,
  1715.                 cframe = hit.Parent.Torso.CFrame
  1716.             })
  1717.             hit.Parent.Torso.Anchored = true
  1718.             coroutine.resume(coroutine.create(function(Part)
  1719.                 swait(1.5)
  1720.                 Part.Anchored = false
  1721.             end), hit.Parent.Torso)
  1722.             game:GetService("Debris"):AddItem(BodPos, 3)
  1723.             game:GetService("Debris"):AddItem(BodGy, 3)
  1724.         end
  1725.         local debounce = Create("BoolValue")({
  1726.             Name = "DebounceHit",
  1727.             Parent = hit.Parent,
  1728.             Value = true
  1729.         })
  1730.         game:GetService("Debris"):AddItem(debounce, Delay)
  1731.         c = Instance.new("ObjectValue")
  1732.         c.Name = "creator"
  1733.         c.Value = Player
  1734.         c.Parent = h
  1735.         game:GetService("Debris"):AddItem(c, 0.5)
  1736.     end
  1737. end
  1738. function ShowDamage(Pos, Text, Time, Color)
  1739.     local Rate = 0.03333333333333333
  1740.     local Pos = Pos or Vector3.new(0, 0, 0)
  1741.     local Text = Text or ""
  1742.     local Time = Time or 2
  1743.     local Color = Color or Color3.new(1, 0, 1)
  1744.     local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1745.     EffectPart.Anchored = true
  1746.     local BillboardGui = Create("BillboardGui")({
  1747.         Size = UDim2.new(3, 0, 3, 0),
  1748.         Adornee = EffectPart,
  1749.         Parent = EffectPart
  1750.     })
  1751.     local TextLabel = Create("TextLabel")({
  1752.         BackgroundTransparency = 1,
  1753.         Size = UDim2.new(1, 0, 1, 0),
  1754.         Text = Text,
  1755.         TextColor3 = Color,
  1756.         TextScaled = true,
  1757.         Font = Enum.Font.ArialBold,
  1758.         Parent = BillboardGui
  1759.     })
  1760.     game.Debris:AddItem(EffectPart, Time + 0.1)
  1761.     EffectPart.Parent = game:GetService("Workspace")
  1762.     delay(0, function()
  1763.         local Frames = Time / Rate
  1764.         for Frame = 1, Frames do
  1765.             wait(Rate)
  1766.             local Percent = Frame / Frames
  1767.             EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1768.             TextLabel.TextTransparency = Percent
  1769.         end
  1770.         if EffectPart and EffectPart.Parent then
  1771.             EffectPart:Destroy()
  1772.         end
  1773.     end)
  1774. end
  1775. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1776.     for _, c in pairs(workspace:children()) do
  1777.         local hum = c:findFirstChildOfClass("Humanoid")
  1778.         if hum ~= nil then
  1779.             local head = c:findFirstChild("Head")
  1780.             if head ~= nil then
  1781.                 local targ = head.Position - Part.Position
  1782.                 local mag = targ.magnitude
  1783.                 if magni >= mag and c.Name ~= Player.Name then
  1784.                     Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1785.                 end
  1786.             end
  1787.         end
  1788.     end
  1789. end
  1790. function FindNearestTorso(Position, Distance, SinglePlayer)
  1791.     if SinglePlayer then
  1792.         return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  1793.     end
  1794.     local List = {}
  1795.     for i, v in pairs(workspace:GetChildren()) do
  1796.         if v:IsA("Model") then
  1797.             if v:findFirstChild("Torso") then
  1798.                 if v ~= Character then
  1799.                     if (v.Torso.Position - Position).magnitude <= Distance then
  1800.                         table.insert(List, v)
  1801.                     end
  1802.                 end
  1803.             end
  1804.         end
  1805.     end
  1806.     return List
  1807. end
  1808. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1809.     for _, c in pairs(workspace:children()) do
  1810.         local hum = c:findFirstChild("Humanoid")
  1811.         if hum ~= nil then
  1812.             local head = c:findFirstChild("Torso")
  1813.             if head ~= nil then
  1814.                 local targ = head.Position - Part.Position
  1815.                 local mag = targ.magnitude
  1816.                 if magni >= mag and c.Name ~= Player.Name then
  1817.                     MagicBlock(BrickColor.new("Pastel light blue"), head.CFrame, 5, 5, 5, 1, 1, 1, 0.05)
  1818.                     Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1819.                 end
  1820.             end
  1821.         end
  1822.     end
  1823. end
  1824. function rayCast(Pos, Dir, Max, Ignore)
  1825.     return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1826. end
  1827. function SkullEffect(brickcolor, cframe, x1, y1, z1, delay)
  1828.     local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1829.     prt.Anchored = true
  1830.     prt.CFrame = cframe
  1831.     local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
  1832.     game:GetService("Debris"):AddItem(prt, 2)
  1833.     CF = prt.CFrame
  1834.     coroutine.resume(coroutine.create(function(Part, Mesh, TehCF)
  1835.         for i = 0, 1, 0.2 do
  1836.             wait()
  1837.             Part.CFrame = CF * cf(0, 0, -0.4)
  1838.         end
  1839.         for i = 0, 1, delay do
  1840.             wait()
  1841.             Mesh.Scale = Mesh.Scale
  1842.         end
  1843.         for i = 0, 1, 0.1 do
  1844.             wait()
  1845.             Part.Transparency = i
  1846.         end
  1847.         Part.Parent = nil
  1848.     end), prt, msh, CF)
  1849. end
  1850. function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1851.     local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1852.     prt.Anchored = true
  1853.     prt.Material = "Neon"
  1854.     prt.CFrame = cframe
  1855.     prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1856.     msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1857.     game:GetService("Debris"):AddItem(prt, 5)
  1858.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1859.         for i = 0, 1, delay do
  1860.             swait()
  1861.             Part.CFrame = Part.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1862.             Part.Transparency = i
  1863.             Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1864.         end
  1865.         Part.Parent = nil
  1866.     end), prt, msh)
  1867. end
  1868. function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  1869.     local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1870.     prt.Anchored = true
  1871.     prt.Material = "Neon"
  1872.     prt.CFrame = cframe
  1873.     msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1874.     game:GetService("Debris"):AddItem(prt, 5)
  1875.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1876.         local rtype = rottype
  1877.         for i = 0, 1, delay do
  1878.             swait()
  1879.             if rtype == 1 then
  1880.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1881.             elseif rtype == 2 then
  1882.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1883.             end
  1884.             Part.Transparency = i
  1885.             Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1886.         end
  1887.         Part.Parent = nil
  1888.     end), prt, msh)
  1889. end
  1890. function MagicSphere(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1891.     local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1892.     prt.Anchored = true
  1893.     prt.CFrame = cframe
  1894.     prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1895.     msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1896.     game:GetService("Debris"):AddItem(prt, 5)
  1897.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1898.         for i = 0, 1, delay do
  1899.             wait()
  1900.             Part.Transparency = i
  1901.             Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1902.         end
  1903.         Part.Parent = nil
  1904.     end), prt, msh)
  1905. end
  1906. function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  1907.     local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1908.     prt.Anchored = true
  1909.     prt.Material = "Neon"
  1910.     prt.CFrame = cframe
  1911.     msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1912.     game:GetService("Debris"):AddItem(prt, 5)
  1913.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1914.         local rtype = rottype
  1915.         for i = 0, 1, delay do
  1916.             swait()
  1917.             if rtype == 1 then
  1918.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1919.             elseif rtype == 2 then
  1920.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1921.             end
  1922.             Part.Transparency = i
  1923.             Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1924.         end
  1925.         Part.Parent = nil
  1926.     end), prt, msh)
  1927. end
  1928. function MagicShock(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
  1929.     local prt = part(3, char, 1, 1, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1930.     prt.Anchored = true
  1931.     prt.Material = "Neon"
  1932.     prt.CFrame = cframe
  1933.     local dec = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt)
  1934.     local dec2 = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt)
  1935.     msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01))
  1936.     game:GetService("Debris"):AddItem(prt, 5)
  1937.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1938.         local rtype = rottype
  1939.         for i = 0, 1, delay do
  1940.             swait()
  1941.             if rtype == 1 then
  1942.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1943.             elseif rtype == 2 then
  1944.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1945.             end
  1946.             dec.Transparency = i
  1947.             dec2.Transparency = i
  1948.             Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
  1949.         end
  1950.         Part.Parent = nil
  1951.     end), prt, msh)
  1952. end
  1953. function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
  1954.     local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1955.     prt.Anchored = true
  1956.     prt.Material = "Neon"
  1957.     prt.CFrame = cframe
  1958.     msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01))
  1959.     game:GetService("Debris"):AddItem(prt, 5)
  1960.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1961.         local rtype = rottype
  1962.         for i = 0, 1, delay do
  1963.             swait()
  1964.             if rtype == 1 then
  1965.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1966.             elseif rtype == 2 then
  1967.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1968.             end
  1969.             prt.Transparency = i
  1970.             Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
  1971.         end
  1972.         Part.Parent = nil
  1973.     end), prt, msh)
  1974. end
  1975. function MagicShockAltCircle(brickcolor, cframe, x1, z1, x3, z3, delay, rottype)
  1976.     local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1977.     prt.Anchored = true
  1978.     prt.Material = "Neon"
  1979.     prt.CFrame = cframe
  1980.     msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, 1, z1))
  1981.     game:GetService("Debris"):AddItem(prt, 5)
  1982.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1983.         local rtype = rottype
  1984.         for i = 0, 1, delay do
  1985.             swait()
  1986.             if rtype == 1 then
  1987.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0.1, 0)
  1988.             elseif rtype == 2 then
  1989.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, -0.1, 0)
  1990.             end
  1991.             prt.Transparency = i
  1992.             Mesh.Scale = Mesh.Scale + vt(x3, 0, z3)
  1993.         end
  1994.         Part.Parent = nil
  1995.     end), prt, msh)
  1996. end
  1997. function MagicShockTrailAlt(brickcolor, cframe, x1, y1, z1, x3, y3, delay, rottype)
  1998.     local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1999.     prt.Anchored = true
  2000.     prt.Material = "Neon"
  2001.     prt.CFrame = cframe
  2002.     msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2003.     game:GetService("Debris"):AddItem(prt, 5)
  2004.     coroutine.resume(coroutine.create(function(Part, Mesh)
  2005.         local rtype = rottype
  2006.         for i = 0, 1, delay do
  2007.             swait()
  2008.             if rtype == 1 then
  2009.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  2010.             elseif rtype == 2 then
  2011.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  2012.             end
  2013.             prt.Transparency = i
  2014.             Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
  2015.         end
  2016.         Part.Parent = nil
  2017.     end), prt, msh)
  2018. end
  2019. function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  2020.     local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2021.     prt.Anchored = true
  2022.     prt.Material = "Neon"
  2023.     prt.CFrame = cframe
  2024.     msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2025.     game:GetService("Debris"):AddItem(prt, 5)
  2026.     coroutine.resume(coroutine.create(function(Part, Mesh)
  2027.         local rtype = rottype
  2028.         for i = 0, 1, delay do
  2029.             swait()
  2030.             if rtype == 1 then
  2031.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  2032.             elseif rtype == 2 then
  2033.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  2034.             end
  2035.             prt.Transparency = i
  2036.             Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2037.         end
  2038.         Part.Parent = nil
  2039.     end), prt, msh)
  2040. end
  2041. function MagicBlock2(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay)
  2042.     local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2043.     prt.Anchored = false
  2044.     prt.CFrame = cframe
  2045.     msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2046.     local wld = weld(prt, prt, Parent, cframe)
  2047.     game:GetService("Debris"):AddItem(prt, 5)
  2048.     coroutine.resume(coroutine.create(function(Part, Mesh, Weld)
  2049.         for i = 0, 1, delay do
  2050.             wait()
  2051.             Weld.C0 = euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * cframe
  2052.             Part.Transparency = i
  2053.             Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2054.         end
  2055.         Part.Parent = nil
  2056.     end), prt, msh, wld)
  2057. end
  2058. function MagicBlock3(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay)
  2059.     local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2060.     prt.Anchored = false
  2061.     prt.CFrame = cframe
  2062.     msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2063.     local wld = weld(prt, prt, Parent, euler(0, 0, 0) * cf(0, 0, 0))
  2064.     game:GetService("Debris"):AddItem(prt, 5)
  2065.     coroutine.resume(coroutine.create(function(Part, Mesh, Weld)
  2066.         for i = 0, 1, delay do
  2067.             wait()
  2068.             Weld.C0 = euler(i * 20, 0, 0)
  2069.             Part.Transparency = i
  2070.             Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2071.         end
  2072.         Part.Parent = nil
  2073.     end), prt, msh, wld)
  2074. end
  2075. function MagicCircle2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2076.     local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2077.     prt.Anchored = true
  2078.     prt.CFrame = cframe
  2079.     local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2080.     game:GetService("Debris"):AddItem(prt, 2)
  2081.     coroutine.resume(coroutine.create(function(Part, Mesh)
  2082.         for i = 0, 1, delay do
  2083.             wait()
  2084.             Part.CFrame = Part.CFrame
  2085.             Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2086.             local prt2 = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2087.             prt2.Anchored = true
  2088.             prt2.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2089.             local msh2 = mesh("SpecialMesh", prt2, "Sphere", "", vt(0, 0, 0), vt(0.5, 0.5, 0.5))
  2090.             game:GetService("Debris"):AddItem(prt2, 2)
  2091.             coroutine.resume(coroutine.create(function(Part, Mesh)
  2092.                 for i = 0, 1, 0.1 do
  2093.                     wait()
  2094.                     Part.CFrame = Part.CFrame * cf(0, 0.5, 0)
  2095.                 end
  2096.                 Part.Parent = nil
  2097.             end), prt2, msh2)
  2098.         end
  2099.         for i = 0, 1, delay * 2 do
  2100.             wait()
  2101.             Part.CFrame = Part.CFrame
  2102.             Mesh.Scale = vt(x1 + x3 - (x1 + x3) * i, y1 + y3 - (y1 + y3) * i, z1 + z3 - (z1 + z3) * i)
  2103.         end
  2104.         Part.Parent = nil
  2105.     end), prt, msh)
  2106. end
  2107. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2108.     local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2109.     prt.Anchored = true
  2110.     prt.CFrame = cframe
  2111.     local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  2112.     game:GetService("Debris"):AddItem(prt, 2)
  2113.     coroutine.resume(coroutine.create(function(Part, Mesh)
  2114.         for i = 0, 1, delay do
  2115.             wait()
  2116.             Part.CFrame = Part.CFrame
  2117.             Part.Transparency = i
  2118.             Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2119.         end
  2120.         Part.Parent = nil
  2121.     end), prt, msh)
  2122. end
  2123. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  2124.     local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2125.     prt.Anchored = true
  2126.     prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2127.     local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  2128.     game:GetService("Debris"):AddItem(prt, 2)
  2129.     coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
  2130.         CF = Part.CFrame
  2131.         Numbb = 0
  2132.         randnumb = math.random() / 10
  2133.         rand1 = math.random() / 10
  2134.         for i = 0, 1, rand1 do
  2135.             wait()
  2136.             CF = CF * cf(0, math.random() / 2, 0)
  2137.             Part.CFrame = CF * euler(Numbb, 0, 0)
  2138.             Part.Transparency = i
  2139.             Numbb = Numbb + randnumb
  2140.         end
  2141.         Part.Parent = nil
  2142.     end), prt, CF, Numbb, randnumb)
  2143. end
  2144. function MagicWaveThing(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2145.     local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2146.     prt.Anchored = true
  2147.     prt.CFrame = cframe
  2148.     msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1051557", vt(0, 0, 0), vt(x1, y1, z1))
  2149.     game:GetService("Debris"):AddItem(prt, 5)
  2150.     coroutine.resume(coroutine.create(function(Part, Mesh)
  2151.         for i = 0, 1, delay do
  2152.             wait()
  2153.             Part.CFrame = Part.CFrame * euler(0, 0.7, 0)
  2154.             Part.Transparency = i
  2155.             Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2156.         end
  2157.         Part.Parent = nil
  2158.     end), prt, msh)
  2159. end
  2160. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2161.     local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2162.     prt.Anchored = true
  2163.     prt.CFrame = cframe
  2164.     msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  2165.     game:GetService("Debris"):AddItem(prt, 2)
  2166.     coroutine.resume(coroutine.create(function(Part, Mesh)
  2167.         for i = 0, 1, delay do
  2168.             wait()
  2169.             Part.CFrame = Part.CFrame * cf(0, y3 / 2, 0)
  2170.             Part.Transparency = i
  2171.             Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2172.         end
  2173.         Part.Parent = nil
  2174.     end), prt, msh)
  2175. end
  2176. function StravEffect(brickcolor, cframe, x, y, z, x1, y1, z1, delay)
  2177.     local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2178.     prt.Anchored = true
  2179.     prt.CFrame = cframe * cf(x, y, z)
  2180.     msh = mesh("SpecialMesh", prt, "FileMesh", "rbxassetid://168892363", vt(0, 0, 0), vt(x1, y1, z1))
  2181.     game:GetService("Debris"):AddItem(prt, 5)
  2182.     coroutine.resume(coroutine.create(function(Part, Mesh, ex, why, zee)
  2183.         local num = math.random()
  2184.         local num2 = math.random(-3, 2) + math.random()
  2185.         local numm = 0
  2186.         for i = 0, 1, delay * 2 do
  2187.             swait()
  2188.             Part.CFrame = cframe * euler(0, numm * num * 10, 0) * cf(ex, why, zee) * cf(-i * 10, num2, 0)
  2189.             Part.Transparency = i
  2190.             numm = numm + 0.01
  2191.         end
  2192.         Part.Parent = nil
  2193.         Mesh.Parent = nil
  2194.     end), prt, msh, x, y, z)
  2195. end
  2196. function dmgstart(dmg, what)
  2197.     hitcon = what.Touched:connect(function(hit)
  2198.         local hum = hit.Parent:FindFirstChild("Humanoid")
  2199.         if hum and not hum:IsDescendantOf(Character) then
  2200.             hum:TakeDamage(dmg)
  2201.         end
  2202.     end)
  2203. end
  2204. function dmgstop()
  2205.     hitcon:disconnect()
  2206. end
  2207. cloaked = false
  2208. wing_clocked = false
  2209. clock_mode = true
  2210. wing_clock = true
  2211. invisible_mode = false
  2212. wing_invisible_mode = false
  2213. function Cloak_wing()
  2214.     wing_clocked = true
  2215.     Humanoid.WalkSpeed = 200
  2216.     for i, v in pairs(m:GetChildren()) do
  2217.         if v:IsA("Part") then
  2218.             v.Transparency = 1
  2219.         end
  2220.     end
  2221.     for i, v in pairs(m2:GetChildren()) do
  2222.         if v:IsA("Part") then
  2223.             v.Transparency = 1
  2224.         end
  2225.     end
  2226.     for i, v in pairs(m3:GetChildren()) do
  2227.         if v:IsA("Part") then
  2228.             v.Transparency = 1
  2229.         end
  2230.     end
  2231.     for i, v in pairs(extrawingmod1:GetChildren()) do
  2232.         if v:IsA("Part") then
  2233.             v.Transparency = 1
  2234.         end
  2235.     end
  2236.     for i, v in pairs(extrawingmod2:GetChildren()) do
  2237.         if v:IsA("Part") then
  2238.             v.Transparency = 1
  2239.         end
  2240.     end
  2241.     for i, v in pairs(mw1:GetChildren()) do
  2242.         if v:IsA("Part") then
  2243.             v.Transparency = 1
  2244.         end
  2245.     end
  2246.     for i, v in pairs(mw2:GetChildren()) do
  2247.         if v:IsA("Part") then
  2248.             v.Transparency = 1
  2249.         end
  2250.     end
  2251. end
  2252. function Cloak()
  2253.     face = char.Head.face
  2254.     cloaked = true
  2255.     for _, v in pairs(Torso.Parent:children()) do
  2256.         if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  2257.             coroutine.resume(coroutine.create(function()
  2258.                 for i = 0, 1, 0.2 do
  2259.                     wait()
  2260.                     v.Transparency = i
  2261.                     face.Transparency = 1
  2262.                 end
  2263.                 v.Transparency = 1
  2264.             end))
  2265.         end
  2266.         if v.className == "Accessory" then
  2267.             hatp = v.Handle
  2268.             coroutine.resume(coroutine.create(function(derp)
  2269.                 for i = 0, 1, 0.2 do
  2270.                     wait()
  2271.                     derp.Transparency = i
  2272.                 end
  2273.                 derp.Transparency = 1
  2274.             end), hatp)
  2275.         end
  2276.     end
  2277.     for _, v in pairs(m:children()) do
  2278.         if v.className == "Part" then
  2279.             coroutine.resume(coroutine.create(function()
  2280.                 for i = 0, 1, 0.2 do
  2281.                     wait()
  2282.                     v.Transparency = i
  2283.                 end
  2284.                 v.Transparency = 1
  2285.                
  2286.             end))
  2287.         end
  2288.     end
  2289. end
  2290. function UnCloak_wing()
  2291.     wing_clocked = false
  2292.     hum.WalkSpeed = 200
  2293.     for i, v in pairs(m:GetChildren()) do
  2294.         if v:IsA("Part") then
  2295.             v.Transparency = 0
  2296.         end
  2297.     end
  2298.     for i, v in pairs(m2:GetChildren()) do
  2299.         if v:IsA("Part") then
  2300.             v.Transparency = 0
  2301.         end
  2302.     end
  2303.     for i, v in pairs(m3:GetChildren()) do
  2304.         if v:IsA("Part") then
  2305.             v.Transparency = 0
  2306.         end
  2307.     end
  2308.     for i, v in pairs(extrawingmod1:GetChildren()) do
  2309.         if v:IsA("Part") then
  2310.             v.Transparency = 0
  2311.         end
  2312.     end
  2313.     for i, v in pairs(extrawingmod2:GetChildren()) do
  2314.         if v:IsA("Part") then
  2315.             v.Transparency = 0
  2316.         end
  2317.     end
  2318.     for i, v in pairs(mw2:GetChildren()) do
  2319.         if v:IsA("Part") then
  2320.             v.Transparency = 0
  2321.         end
  2322.     end
  2323.     for i, v in pairs(mw1:GetChildren()) do
  2324.         if v:IsA("Part") then
  2325.             v.Transparency = 0
  2326.         end
  2327.     end
  2328. end
  2329. function UnCloak()
  2330.     face = char.Head.face
  2331.     so("http://roblox.com/asset/?id=2767090", Torso, 1, 1.1)
  2332.     cloaked = false
  2333.     invisible_mode = false
  2334.     clock_mode = true
  2335.     for _, v in pairs(Torso.Parent:children()) do
  2336.         if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  2337.             coroutine.resume(coroutine.create(function()
  2338.                 for i = 0, 1, 0.1 do
  2339.                     wait()
  2340.                         face.Transparency = face.Transparency - 0.1
  2341.                     v.Transparency = v.Transparency - 0.1
  2342.                 end
  2343.                 v.Transparency = 0
  2344.             end))
  2345.         end
  2346.         if v.className == "Accessory" then
  2347.             hatp = v.Handle
  2348.             coroutine.resume(coroutine.create(function(derp)
  2349.                 for i = 0, 1, 0.1 do
  2350.                     wait()
  2351.                     derp.Transparency = derp.Transparency - 0.1
  2352.                 end
  2353.                 derp.Transparency = 0
  2354.             end), hatp)
  2355.         end
  2356.     end
  2357.     for _, v in pairs(m:children()) do
  2358.         if v.className == "Part" and v.Name ~= "hitbox" and v.Name ~= "tip" then
  2359.             coroutine.resume(coroutine.create(function()
  2360.                 for i = 0, 1, 0.1 do
  2361.                     wait()
  2362.                     v.Transparency = v.Transparency - 0.1
  2363.                 end
  2364.                 v.Transparency = 0
  2365.             end))
  2366.             v.Transparency = 0
  2367.            
  2368.         end
  2369.     end
  2370. end
  2371. local origcolor = BrickColor.new("Pastel light blue")
  2372. function Explode(rad, par, pitch, vol, mindam, maxdam)
  2373.     local expart = Instance.new("Part", char)
  2374.     local expart2 = Instance.new("Part", char)
  2375.     local rin = Instance.new("Part", char)
  2376.     local rin2 = Instance.new("Part", char)
  2377.     local partMesh = Instance.new("SpecialMesh", expart)
  2378.     partMesh.MeshType = "Sphere"
  2379.     local partMesh2 = Instance.new("SpecialMesh", expart2)
  2380.     partMesh2.MeshType = "Sphere"
  2381.     local partMesh3 = Instance.new("SpecialMesh", rin)
  2382.     partMesh3.MeshType = "Brick"
  2383.     local partMesh4 = Instance.new("SpecialMesh", rin2)
  2384.     partMesh4.MeshType = "Brick"
  2385.     CFuncs.Sound.Create("rbxassetid://165970126", expart, vol, pitch)
  2386.     partMesh.Scale = vt(rad, rad, rad)
  2387.     expart.Size = vt(1, 1, 1)
  2388.     expart.Transparency = 0
  2389.     expart.Anchored = true
  2390.     expart.Material = "Neon"
  2391.     expart.BrickColor = bc("White")
  2392.     expart.CFrame = par.CFrame
  2393.     partMesh2.Scale = vt(rad, rad, rad)
  2394.     expart2.Size = vt(1.15, 1.15, 1.15)
  2395.     expart2.Transparency = 0.5
  2396.     expart2.Anchored = true
  2397.     expart2.Material = "Neon"
  2398.     expart2.BrickColor = par.BrickColor
  2399.     expart2.CFrame = par.CFrame
  2400.     rin.Size = vt(1.15, 1.15, 1.15)
  2401.     rin.Transparency = 1
  2402.     rin.Anchored = true
  2403.     rin.Material = "Neon"
  2404.     rin.BrickColor = par.BrickColor
  2405.     rin.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)))
  2406.     rin2.Size = vt(1.15, 1.15, 1.15)
  2407.     rin2.Transparency = 1
  2408.     rin2.Anchored = true
  2409.     rin2.Material = "Neon"
  2410.     rin2.BrickColor = par.BrickColor
  2411.     rin2.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)))
  2412.     partMesh3.Scale = vt(0, 1, 0)
  2413.     partMesh4.Scale = vt(0, 1, 0)
  2414.     local dec2 = Instance.new("Decal", rin)
  2415.     dec2.Face = "Top"
  2416.     dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2417.     dec2.Parent = rin
  2418.     local dec2b = dec2:Clone()
  2419.     dec2b.Face = "Bottom"
  2420.     dec2b.Parent = rin
  2421.     local dec2a = Instance.new("Decal", rin2)
  2422.     dec2a.Face = "Top"
  2423.     dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  2424.     dec2a.Parent = rin2
  2425.     local dec2ab = dec2a:Clone()
  2426.     dec2ab.Face = "Bottom"
  2427.     dec2ab.Parent = rin2
  2428.     expart.CanCollide = false
  2429.     expart2.CanCollide = false
  2430.     rin.CanCollide = false
  2431.     rin2.CanCollide = false
  2432.     MagniDamage(par, rad * 5, mindam, maxdam, 0, "Normal")
  2433.     local value = 1 * rad / 6.5
  2434.     for i = 0, 199 do
  2435.         partMesh.Scale = partMesh.Scale + vt(value, value, value)
  2436.         expart.CFrame = expart.CFrame
  2437.         partMesh2.Scale = partMesh2.Scale + vt(value, value, value)
  2438.         expart2.CFrame = expart.CFrame
  2439.         value = value - 0.035 * rad / 30
  2440.         if value < 7.5 then
  2441.             partMesh3.Scale = partMesh3.Scale + vt(rad / 5, 0, rad / 5)
  2442.             rin.CFrame = rin.CFrame * CFrame.Angles(0, math.rad(1), 0)
  2443.             partMesh4.Scale = partMesh4.Scale + vt(rad / 7.5, 0, rad / 7.5)
  2444.             rin2.CFrame = rin2.CFrame * CFrame.Angles(0, math.rad(-1), 0)
  2445.         end
  2446.         if value < 0 then
  2447.             dec2.Transparency = dec2.Transparency + 0.025
  2448.             dec2a.Transparency = dec2a.Transparency + 0.025
  2449.             dec2b.Transparency = dec2b.Transparency + 0.025
  2450.             dec2ab.Transparency = dec2ab.Transparency + 0.025
  2451.             expart.Transparency = expart.Transparency + 0.025
  2452.             expart2.Transparency = expart2.Transparency + 0.025
  2453.             rin.Transparency = rin.Transparency + 0.025
  2454.             rin2.Transparency = rin2.Transparency + 0.025
  2455.         end
  2456.         swait()
  2457.     end
  2458.     game:GetService("Debris"):AddItem(expart, 1)
  2459.     game:GetService("Debris"):AddItem(expart2, 1)
  2460.     game:GetService("Debris"):AddItem(rin, 1)
  2461.     game:GetService("Debris"):AddItem(rin2, 1)
  2462. end
  2463. function ExplodeShort(rad, par, pitch, vol, mindam, maxdam)
  2464.     local expart = Instance.new("Part", char)
  2465.     local expart2 = Instance.new("Part", char)
  2466.     local partMesh = Instance.new("SpecialMesh", expart)
  2467.     partMesh.MeshType = "Sphere"
  2468.     local partMesh2 = Instance.new("SpecialMesh", expart2)
  2469.     partMesh2.MeshType = "Sphere"
  2470.     CFuncs.Sound.Create("http://www.roblox.com/asset/?id=142070127", expart, vol, pitch)
  2471.     partMesh.Scale = vt(rad, rad, rad)
  2472.     expart.Size = vt(1, 1, 1)
  2473.     expart.Transparency = 0
  2474.     expart.Anchored = true
  2475.     expart.Material = "Neon"
  2476.     expart.BrickColor = bc("White")
  2477.     expart.CFrame = par.CFrame
  2478.     partMesh2.Scale = vt(rad, rad, rad)
  2479.     expart2.Size = vt(1.15, 1.15, 1.15)
  2480.     expart2.Transparency = 0.5
  2481.     expart2.Anchored = true
  2482.     expart2.Material = "Neon"
  2483.     expart2.BrickColor = par.BrickColor
  2484.     expart2.CFrame = par.CFrame
  2485.     expart.CanCollide = false
  2486.     expart2.CanCollide = false
  2487.     MagniDamage(par, rad * 2.5, mindam, maxdam, 0, "Normal")
  2488.     local value = 1 * rad / 6.5
  2489.     for i = 0, 75 do
  2490.         partMesh.Scale = partMesh.Scale + vt(value, value, value)
  2491.         expart.CFrame = expart.CFrame
  2492.         partMesh2.Scale = partMesh2.Scale + vt(value, value, value)
  2493.         expart2.CFrame = expart.CFrame
  2494.         value = value - 0.035 * rad / 5
  2495.         if value < 0 then
  2496.             value = 0
  2497.             expart.Transparency = expart.Transparency + 0.05
  2498.             expart2.Transparency = expart2.Transparency + 0.05
  2499.         end
  2500.         swait()
  2501.     end
  2502.     game:GetService("Debris"):AddItem(expart, 1)
  2503.     game:GetService("Debris"):AddItem(expart2, 1)
  2504. end
  2505. function AreaDanger(rad, par, mindam, maxdam)
  2506.     local expart = Instance.new("Part", char)
  2507.     local partMesh = Instance.new("SpecialMesh", expart)
  2508.     CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15)
  2509.     partMesh.MeshType = "Sphere"
  2510.     partMesh.Scale = vt(rad, rad, rad)
  2511.     expart.Size = vt(1, 1, 1)
  2512.     expart.Transparency = 0.5
  2513.     expart.Anchored = true
  2514.     expart.Material = "Neon"
  2515.     expart.CanCollide = false
  2516.     expart.BrickColor = par.BrickColor
  2517.     expart.CFrame = par.CFrame
  2518.     local value = 1 * rad / 5
  2519.     MagicBlock(origcolor, expart.CFrame, 0, 0, 0, rad / 2, rad / 2, rad / 2, 0.1)
  2520.     for i = 0, 14 do
  2521.         wait()
  2522.         partMesh.Scale = partMesh.Scale + vt(value, value, value)
  2523.         expart.CFrame = expart.CFrame
  2524.         value = value - 0.035 * rad
  2525.         if value < 0 then
  2526.             value = 0
  2527.         end
  2528.     end
  2529.     wait(0.25)
  2530.     CFuncs.Sound.Create("rbxassetid://588738544", expart, 1.5, 1)
  2531.     wait(0.5)
  2532.     CFuncs.Sound.Create("rbxassetid://588737825", expart, 1.5, 1)
  2533.     CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 0.75)
  2534.     MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  2535.     MagicBlock(origcolor, expart.CFrame, rad * 2, rad * 2, rad * 2, 0.1, 0.1, 0.1, 0.025)
  2536.     for i = 0, 14 do
  2537.         wait()
  2538.         partMesh.Scale = partMesh.Scale + vt(value, value, value)
  2539.         expart.CFrame = expart.CFrame
  2540.         value = value - 0.035 * rad / 2
  2541.     end
  2542.     expart.Transparency = 1
  2543.     game:GetService("Debris"):AddItem(expart, 5)
  2544. end
  2545. function Swarmsplosions(negrad, rad, par, mindam, maxdam)
  2546.     CFuncs.Sound.Create("rbxassetid://588737825", par, 2.5, 2)
  2547.     CFuncs.Sound.Create("rbxassetid://231917784", par, 2.5, 1)
  2548.     CFuncs.Sound.Create("rbxassetid://231917744", par, 2.5, 1)
  2549.     CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1)
  2550.     MagniDamageWithEffect(par, 25, 5, 10, 0, "Normal")
  2551.     MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.025)
  2552.     for i = 0, 24 do
  2553.         MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 2, 2, 5, -0.01, -0.01, 25, 0.005, math.random(1, 2))
  2554.     end
  2555.     for i = 0, 24 do
  2556.         local expart = Instance.new("Part", char)
  2557.         expart.Transparency = 1
  2558.         expart.Anchored = true
  2559.         expart.CanCollide = false
  2560.         expart.CFrame = par.CFrame * CFrame.new(math.random(negrad, rad), math.random(negrad, rad), math.random(negrad, rad))
  2561.         CFuncs.Sound.Create("rbxassetid://588737825", expart, 1, 2)
  2562.         CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15)
  2563.         MagniDamage(expart, rad / 2, mindam, maxdam, 0, "Normal")
  2564.         MagicBlock(origcolor, expart.CFrame, rad, rad, rad, 0.1, 0.1, 0.1, 0.025)
  2565.         for i = 0, 9 do
  2566.             MagicShockTrailAlt2(origcolor, expart.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 2, 2, 5, -0.01, -0.01, 5, 0.05, math.random(1, 2))
  2567.         end
  2568.         game:GetService("Debris"):AddItem(expart, 2)
  2569.         wait(0.1)
  2570.     end
  2571. end
  2572. function EXterPlosion(par)
  2573.     CFuncs.Sound.Create("rbxassetid://919941001", par, 10, 1)
  2574.     CFuncs.Sound.Create("rbxassetid://138213851", par, 5, 0.85)
  2575.     CFuncs.Sound.Create("rbxassetid://157878578", par, 5, 0.2)
  2576.     CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1)
  2577.     MagniDamageWithEffect(par, 500, 80, 99, 0, "Normal")
  2578.     MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.005)
  2579.     MagicBlock(origcolor, par.CFrame, 0, 0, 0, 150, 150, 150, 0.1)
  2580.     for i = 0, 24 do
  2581.         MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 50, 50, 5, -0.5, -0.5, 500, 0.1, math.random(1, 2))
  2582.     end
  2583.     for i = 0, 24 do
  2584.         MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 50, 50, 5, -0.25, -0.25, 50, 0.005, math.random(1, 2))
  2585.     end
  2586. end
  2587. function ring(type, pos, scale, value)
  2588.     local type = type
  2589.     local rng = Instance.new("Part", char)
  2590.     rng.Anchored = true
  2591.     rng.BrickColor = origcolor
  2592.     rng.CanCollide = false
  2593.     rng.FormFactor = 3
  2594.     rng.Name = "Ring"
  2595.     rng.Size = Vector3.new(1, 1, 1)
  2596.     rng.Transparency = 0
  2597.     rng.TopSurface = 0
  2598.     rng.BottomSurface = 0
  2599.     rng.CFrame = pos
  2600.     local rngm = Instance.new("SpecialMesh", rng)
  2601.     rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2602.     rngm.Scale = scale
  2603.     local scaler2 = 1
  2604.     if type == "Add" then
  2605.         scaler2 = 1 * value
  2606.     elseif type == "Divide" then
  2607.         scaler2 = 1 / value
  2608.     end
  2609.     coroutine.resume(coroutine.create(function()
  2610.         for i = 0, 10, 0.1 do
  2611.             swait()
  2612.             if type == "Add" then
  2613.                 scaler2 = scaler2 - 0.01 * value
  2614.             elseif type == "Divide" then
  2615.                 scaler2 = scaler2 - 0.01 / value
  2616.             end
  2617.             rng.Transparency = rng.Transparency + 0.01
  2618.             rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2619.         end
  2620.         rng:Destroy()
  2621.     end))
  2622. end
  2623. function wave(type, pos, scale, value)
  2624.     local type = type
  2625.     local rng = Instance.new("Part", char)
  2626.     rng.Anchored = true
  2627.     rng.BrickColor = origcolor
  2628.     rng.CanCollide = false
  2629.     rng.FormFactor = 3
  2630.     rng.Name = "Ring"
  2631.     rng.Size = Vector3.new(1, 1, 1)
  2632.     rng.Transparency = 0
  2633.     rng.TopSurface = 0
  2634.     rng.BottomSurface = 0
  2635.     rng.CFrame = pos
  2636.     local rngm = Instance.new("SpecialMesh", rng)
  2637.     rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2638.     rngm.Scale = scale
  2639.     local scaler2 = 1
  2640.     if type == "Add" then
  2641.         scaler2 = 1 * value
  2642.     elseif type == "Divide" then
  2643.         scaler2 = 1 / value
  2644.     end
  2645.     coroutine.resume(coroutine.create(function()
  2646.         for i = 0, 10, 0.1 do
  2647.             swait()
  2648.             if type == "Add" then
  2649.                 scaler2 = scaler2 - 0.01 * value
  2650.             elseif type == "Divide" then
  2651.                 scaler2 = scaler2 - 0.01 / value
  2652.             end
  2653.             rng.Transparency = rng.Transparency + 0.01
  2654.             rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2655.         end
  2656.         rng:Destroy()
  2657.     end))
  2658. end
  2659. function wind(type, pos, scale, value, speed)
  2660.     local type = type
  2661.     local rng = Instance.new("Part", char)
  2662.     rng.Anchored = true
  2663.     rng.BrickColor = origcolor
  2664.     rng.CanCollide = false
  2665.     rng.FormFactor = 3
  2666.     rng.Name = "Ring"
  2667.     rng.Size = Vector3.new(1, 1, 1)
  2668.     rng.Transparency = 0
  2669.     rng.TopSurface = 0
  2670.     rng.BottomSurface = 0
  2671.     rng.CFrame = pos
  2672.     local rngm = Instance.new("SpecialMesh", rng)
  2673.     rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2674.     rngm.Scale = scale
  2675.     local scaler2 = 1
  2676.     if type == "Add" then
  2677.         scaler2 = 1 * value
  2678.     elseif type == "Divide" then
  2679.         scaler2 = 1 / value
  2680.     end
  2681.     coroutine.resume(coroutine.create(function()
  2682.         for i = 0, 10, 0.1 do
  2683.             swait()
  2684.             if type == "Add" then
  2685.                 scaler2 = scaler2 - 0.01 * value
  2686.             elseif type == "Divide" then
  2687.                 scaler2 = scaler2 - 0.01 / value
  2688.             end
  2689.             rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0)
  2690.             rng.Transparency = rng.Transparency + 0.01
  2691.             rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2692.         end
  2693.         rng:Destroy()
  2694.     end))
  2695. end
  2696. function groundwind(type, pos, scale, value, speed)
  2697.     local type = type
  2698.     local rng = Instance.new("Part", char)
  2699.     rng.Anchored = true
  2700.     rng.BrickColor = origcolor
  2701.     rng.CanCollide = false
  2702.     rng.FormFactor = 3
  2703.     rng.Name = "Ring"
  2704.     rng.Size = Vector3.new(1, 1, 1)
  2705.     rng.Transparency = 0
  2706.     rng.TopSurface = 0
  2707.     rng.BottomSurface = 0
  2708.     rng.CFrame = pos
  2709.     local rngm = Instance.new("SpecialMesh", rng)
  2710.     rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2711.     rngm.Scale = scale
  2712.     local scaler2 = 1
  2713.     if type == "Add" then
  2714.         scaler2 = 1 * value
  2715.     elseif type == "Divide" then
  2716.         scaler2 = 1 / value
  2717.     end
  2718.     coroutine.resume(coroutine.create(function()
  2719.         for i = 0, 10, 0.1 do
  2720.             swait()
  2721.             if type == "Add" then
  2722.                 scaler2 = scaler2 - 0.01 * value
  2723.             elseif type == "Divide" then
  2724.                 scaler2 = scaler2 - 0.01 / value
  2725.             end
  2726.             rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0)
  2727.             rng.Transparency = rng.Transparency + 0.01
  2728.             rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2 / 5, scaler2)
  2729.         end
  2730.         rng:Destroy()
  2731.     end))
  2732. end
  2733. function CameraManager()
  2734.     if TwoD and not CamInterrupt then
  2735.         if Humanoid.Health > 0 then
  2736.             Camera.CameraSubject = Humanoid
  2737.             Camera.CameraType = "Scriptable"
  2738.             Humanoid.AutoRotate = false
  2739.             if Booleans.GyroUse then
  2740.                 Directer.MaxTorque = Vec3(0, huge, 0)
  2741.             else
  2742.                 Directer.MaxTorque = Vec3(0, 0, 0)
  2743.             end
  2744.             if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2745.                 if Booleans.CamFollow then
  2746.                     CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2747.                     Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2748.                 else
  2749.                     CPart.Position = RootPart.Position
  2750.                 end
  2751.             else
  2752.                 local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2753.                 CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2754.             end
  2755.             Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2756.         else
  2757.             Camera.CameraSubject = Humanoid
  2758.             Camera.CameraType = "Custom"
  2759.             Controller.Disabled = false
  2760.         end
  2761.     end
  2762. end
  2763. function sphere(bonuspeed, type, pos, scale, value, color)
  2764.     local type = type
  2765.     local rng = Instance.new("Part", char)
  2766.     rng.Anchored = true
  2767.     rng.BrickColor = color
  2768.     rng.CanCollide = false
  2769.     rng.FormFactor = 3
  2770.     rng.Name = "Ring"
  2771.     rng.Material = "Neon"
  2772.     rng.Size = Vector3.new(1, 1, 1)
  2773.     rng.Transparency = 0
  2774.     rng.TopSurface = 0
  2775.     rng.BottomSurface = 0
  2776.     rng.CFrame = pos
  2777.     local rngm = Instance.new("SpecialMesh", rng)
  2778.     rngm.MeshType = "Sphere"
  2779.     rngm.Scale = scale
  2780.     if rainbowmode == true then
  2781.         rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2782.     end
  2783.     local scaler2 = 1
  2784.     if type == "Add" then
  2785.         scaler2 = 1 * value
  2786.     elseif type == "Divide" then
  2787.         scaler2 = 1 / value
  2788.     end
  2789.     coroutine.resume(coroutine.create(function()
  2790.         for i = 0, 10 / bonuspeed, 0.1 do
  2791.             swait()
  2792.             if rainbowmode == true then
  2793.                 rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2794.             end
  2795.             if type == "Add" then
  2796.                 scaler2 = scaler2 - 0.01 * value / bonuspeed
  2797.             elseif type == "Divide" then
  2798.                 scaler2 = scaler2 - 0.01 / value * bonuspeed
  2799.             end
  2800.             if chaosmode == true then
  2801.                 rng.BrickColor = BrickColor.random()
  2802.             end
  2803.             rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2804.             rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  2805.         end
  2806.         rng:Destroy()
  2807.     end))
  2808. end
  2809. function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  2810.     local type = type
  2811.     local rng = Instance.new("Part", char)
  2812.     rng.Anchored = true
  2813.     rng.BrickColor = color
  2814.     rng.CanCollide = false
  2815.     rng.FormFactor = 3
  2816.     rng.Name = "Ring"
  2817.     rng.Material = "Neon"
  2818.     rng.Size = Vector3.new(1, 1, 1)
  2819.     rng.Transparency = 0
  2820.     rng.TopSurface = 0
  2821.     rng.BottomSurface = 0
  2822.     rng.CFrame = pos
  2823.     rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  2824.     local rngm = Instance.new("SpecialMesh", rng)
  2825.     rngm.MeshType = "Sphere"
  2826.     rngm.Scale = vt(x1, y1, z1)
  2827.     if rainbowmode == true then
  2828.         rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2829.     end
  2830.     local scaler2 = 1
  2831.     local speeder = FastSpeed
  2832.     if type == "Add" then
  2833.         scaler2 = 1 * value
  2834.     elseif type == "Divide" then
  2835.         scaler2 = 1 / value
  2836.     end
  2837.     coroutine.resume(coroutine.create(function()
  2838.         for i = 0, 10 / bonuspeed, 0.1 do
  2839.             swait()
  2840.             if rainbowmode == true then
  2841.                 rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2842.             end
  2843.             if type == "Add" then
  2844.                 scaler2 = scaler2 - 0.01 * value / bonuspeed
  2845.             elseif type == "Divide" then
  2846.                 scaler2 = scaler2 - 0.01 / value * bonuspeed
  2847.             end
  2848.             if chaosmode == true then
  2849.                 rng.BrickColor = BrickColor.random()
  2850.             end
  2851.             speeder = speeder - 0.01 * FastSpeed * bonuspeed
  2852.             rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  2853.             rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2854.             rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  2855.         end
  2856.         rng:Destroy()
  2857.     end))
  2858. end
  2859. function sphereMKCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  2860.     local type = type
  2861.     local rng = Instance.new("Part", char)
  2862.     rng.Anchored = true
  2863.     rng.BrickColor = color
  2864.     rng.CanCollide = false
  2865.     rng.FormFactor = 3
  2866.     rng.Name = "Ring"
  2867.     rng.Material = "Neon"
  2868.     rng.Size = Vector3.new(1, 1, 1)
  2869.     rng.Transparency = 1
  2870.     rng.TopSurface = 0
  2871.     rng.BottomSurface = 0
  2872.     rng.CFrame = pos
  2873.     rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  2874.     local rngm = Instance.new("SpecialMesh", rng)
  2875.     rngm.MeshType = "Sphere"
  2876.     rngm.Scale = vt(x1, y1, z1)
  2877.     if rainbowmode == true then
  2878.         rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2879.     end
  2880.     local scaler2 = 1
  2881.     local speeder = FastSpeed
  2882.     if type == "Add" then
  2883.         scaler2 = 1 * value
  2884.     elseif type == "Divide" then
  2885.         scaler2 = 1 / value
  2886.     end
  2887.     coroutine.resume(coroutine.create(function()
  2888.         for i = 0, 10 / bonuspeed, 0.1 do
  2889.             swait()
  2890.             if rainbowmode == true then
  2891.                 rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2892.             end
  2893.             if type == "Add" then
  2894.                 scaler2 = scaler2 - 0.01 * value / bonuspeed
  2895.             elseif type == "Divide" then
  2896.                 scaler2 = scaler2 - 0.01 / value * bonuspeed
  2897.             end
  2898.             if chaosmode == true then
  2899.                 rng.BrickColor = BrickColor.random()
  2900.             end
  2901.             speeder = speeder - 0.01 * FastSpeed * bonuspeed
  2902.             rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  2903.             rng.Transparency = rng.Transparency - 0.01 * bonuspeed
  2904.             rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  2905.         end
  2906.         rng:Destroy()
  2907.     end))
  2908. end
  2909. --function brokescript(dude)   
  2910. --  if dude.Name ~= Character then
  2911. --      if targetname == dude.Parent.name
  2912. --          target == game:GetService("Players"):FindFirstChild(targetname)
  2913. --          targetscript == target:FindFirstChildOfClass("Local Script")
  2914. --          targetscript.Disabled
  2915. --      end
  2916. --  end
  2917. --end
  2918. function dmg(dude)
  2919.     if dude.Name ~= Character then
  2920.         local bgf = Instance.new("BodyGyro", dude.Head)
  2921.         bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, 0)
  2922.         local val = Instance.new("BoolValue", dude)
  2923.         val.Name = "IsHit"
  2924.         local ds = coroutine.wrap(function()
  2925.             dude:WaitForChild("Head"):BreakJoints()
  2926.             wait(0.5)
  2927.             targetted = nil
  2928.             CFuncs.Sound.Create("rbxassetid://62339698", char, 0.5, 0.3)
  2929.             coroutine.resume(coroutine.create(function()
  2930.                 for i, v in pairs(dude:GetChildren()) do
  2931.                     if v:IsA("Accessory") then
  2932.                         v:Destroy()
  2933.                     end
  2934.                     if v:IsA("Humanoid") then
  2935.                         v:Destroy()
  2936.                     end
  2937.                     if v:IsA("CharacterMesh") then
  2938.                         v:Destroy()
  2939.                     end
  2940.                     if v:IsA("Model") then
  2941.                         v:Destroy()
  2942.                     end
  2943.                     if v:IsA("Part") or v:IsA("MeshPart") then
  2944.                         for x, o in pairs(v:GetChildren()) do
  2945.                             if o:IsA("Decal") then
  2946.                                 o:Destroy()
  2947.                             end
  2948.                         end
  2949.                         coroutine.resume(coroutine.create(function()
  2950.                             v.Material = "Neon"
  2951.                             v.CanCollide = false
  2952.                             local bld = Instance.new("ParticleEmitter", v)
  2953.                             bld.LightEmission = 1
  2954.                             bld.Texture = "rbxassetid://284205403"
  2955.                             bld.Color = ColorSequence.new(Color3.new(1, 1, 1))
  2956.                             bld.Rate = 50
  2957.                             bld.Lifetime = NumberRange.new(1)
  2958.                             bld.Size = NumberSequence.new({
  2959.                                 NumberSequenceKeypoint.new(0, 0.75, 0),
  2960.                                 NumberSequenceKeypoint.new(1, 0, 0)
  2961.                             })
  2962.                             bld.Transparency = NumberSequence.new({
  2963.                                 NumberSequenceKeypoint.new(0, 0, 0),
  2964.                                 NumberSequenceKeypoint.new(1, 1, 0)
  2965.                             })
  2966.                             bld.Speed = NumberRange.new(0, 0)
  2967.                             bld.VelocitySpread = 50000
  2968.                             bld.Rotation = NumberRange.new(-500, 500)
  2969.                             bld.RotSpeed = NumberRange.new(-500, 500)
  2970.                             local sbs = Instance.new("BodyPosition", v)
  2971.                             sbs.P = 3000
  2972.                             sbs.D = 1000
  2973.                             sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2974.                             sbs.position = v.Position + Vector3.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5))
  2975.                             v.Color = Color3.new(1, 1, 1)
  2976.                             coroutine.resume(coroutine.create(function()
  2977.                                 for i = 0, 49 do
  2978.                                     swait(1)
  2979.                                     v.Transparency = v.Transparency + 0.02
  2980.                                 end
  2981.                                 CFuncs.Sound.Create("rbxassetid://1192402877", v, 0.25, 1)
  2982.                                 bld.Speed = NumberRange.new(1, 5)
  2983.                                 bld.Acceleration = vt(0, 10, 0)
  2984.                                 wait(0.5)
  2985.                                 bld.Enabled = false
  2986.                                 wait(3)
  2987.                                 v:Destroy()
  2988.                                 dude:Destroy()
  2989.                             end))
  2990.                         end))
  2991.                     end
  2992.                 end
  2993.             end))
  2994.         end)
  2995.         ds()
  2996.     end
  2997. end
  2998. function FindNearestHead(Position, Distance, SinglePlayer)
  2999.     if SinglePlayer then
  3000.         return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  3001.     end
  3002.     local List = {}
  3003.     for i, v in pairs(workspace:GetChildren()) do
  3004.         if v:IsA("Model") and v:findFirstChild("Head") and v ~= Character and Distance >= (v.Head.Position - Position).magnitude then
  3005.             table.insert(List, v)
  3006.         end
  3007.     end
  3008.     return List
  3009. end
  3010. function FaceMouse()
  3011.     Cam = workspace.CurrentCamera
  3012.     return {
  3013.         CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3014.         Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3015.     }
  3016. end
  3017. function FaceMouse2()
  3018.     Cam = workspace.CurrentCamera
  3019.     return {
  3020.         CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3021.         Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3022.     }
  3023. end
  3024. local ModeOfGlitch = 1
  3025. local storehumanoidWS = 200
  3026. function ExtinctiveHeartbreak()
  3027.     local targetted
  3028.     if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3029.         targetted = mouse.Target.Parent
  3030.     end
  3031.     if targetted ~= nil then
  3032.         attack = true
  3033.         CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
  3034.         for i = 0, 9 do
  3035.             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)
  3036.         end
  3037.         sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  3038.         local originalpos = root.CFrame
  3039.         RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0, -2, 2)
  3040.         for i = 0, 9 do
  3041.             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)
  3042.         end
  3043.         hum.WalkSpeed = 200
  3044.         targetted.Head.Anchored = true
  3045.         sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  3046.         for i = 0, 2, 0.1 do
  3047.             swait()
  3048.             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)), 0.4)
  3049.             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)), 0.4)
  3050.             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)), 0.4)
  3051.             Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8)
  3052.             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)), 0.4)
  3053.             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)), 0.4)
  3054.         end
  3055.         coroutine.resume(coroutine.create(function()
  3056.             bld = Instance.new("ParticleEmitter", targetted:WaitForChild("Torso"))
  3057.             bld.LightEmission = 0.1
  3058.             bld.Texture = "rbxassetid://284205403"
  3059.             bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
  3060.             bld.Rate = 500
  3061.             bld.Lifetime = NumberRange.new(1)
  3062.             bld.Size = NumberSequence.new({
  3063.                 NumberSequenceKeypoint.new(0, 2, 0),
  3064.                 NumberSequenceKeypoint.new(1, 0, 0)
  3065.             })
  3066.             bld.Acceleration = vt(0, -25, 0)
  3067.             bld.Transparency = NumberSequence.new({
  3068.                 NumberSequenceKeypoint.new(0, 0, 0),
  3069.                 NumberSequenceKeypoint.new(1, 0, 0)
  3070.             })
  3071.             bld.Speed = NumberRange.new(10, 50)
  3072.             bld.EmissionDirection = "Front"
  3073.             bld.VelocitySpread = 25
  3074.             bld.Rotation = NumberRange.new(-500, 500)
  3075.             bld.RotSpeed = NumberRange.new(-500, 500)
  3076.         end))
  3077.         coroutine.resume(coroutine.create(function()
  3078.             bld = Instance.new("ParticleEmitter", targetted:WaitForChild("UpperTorso"))
  3079.             bld.LightEmission = 0.1
  3080.             bld.Texture = "rbxassetid://284205403"
  3081.             bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
  3082.             bld.Rate = 500
  3083.             bld.Lifetime = NumberRange.new(1)
  3084.             bld.Size = NumberSequence.new({
  3085.                 NumberSequenceKeypoint.new(0, 2, 0),
  3086.                 NumberSequenceKeypoint.new(1, 0, 0)
  3087.             })
  3088.             bld.Acceleration = vt(0, -25, 0)
  3089.             bld.Transparency = NumberSequence.new({
  3090.                 NumberSequenceKeypoint.new(0, 0, 0),
  3091.                 NumberSequenceKeypoint.new(1, 0, 0)
  3092.             })
  3093.             bld.Speed = NumberRange.new(10, 50)
  3094.             bld.EmissionDirection = "Front"
  3095.             bld.VelocitySpread = 25
  3096.             bld.Rotation = NumberRange.new(-500, 500)
  3097.             bld.RotSpeed = NumberRange.new(-500, 500)
  3098.         end))
  3099.         CameraEnshaking(5, 5)
  3100.         game:GetService("Debris"):AddItem(bld, 3)
  3101.         dmg(targetted)
  3102.         CFuncs.Sound.Create("rbxassetid://429400881", targetted.Head, 1, 1)
  3103.         for i = 0, 1, 0.1 do
  3104.             swait()
  3105.             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)), 0.8)
  3106.             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)), 0.8)
  3107.             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)), 0.8)
  3108.             Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(80)), 0.8)
  3109.             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)), 0.8)
  3110.             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)), 0.8)
  3111.         end
  3112.         CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
  3113.         for i = 0, 9 do
  3114.             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)
  3115.         end
  3116.         sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  3117.         root.CFrame = originalpos
  3118.         for i = 0, 9 do
  3119.             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)
  3120.         end
  3121.         sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  3122.         bld.Enabled = false
  3123.         attack = false
  3124.         hum.WalkSpeed = 200
  3125.     end
  3126. end
  3127. function PureBomb()
  3128.     attack = true
  3129.     local orb = Instance.new("Part", char)
  3130.     orb.Anchored = true
  3131.     orb.BrickColor = BrickColor.new("Toothpaste")
  3132.     orb.CanCollide = false
  3133.     orb.FormFactor = 3
  3134.     orb.Name = "Ring"
  3135.     orb.Material = "Neon"
  3136.     orb.Size = Vector3.new(1, 1, 1)
  3137.     orb.Transparency = 0
  3138.     orb.TopSurface = 0
  3139.     orb.BottomSurface = 0
  3140.     local orbm = Instance.new("SpecialMesh", orb)
  3141.     orbm.MeshType = "Sphere"
  3142.     orbm.Name = "SizeMesh"
  3143.     orbm.Scale = vt(0, 0, 0)
  3144.     local scaled = 0.1
  3145.     local posid = 0
  3146.     CFuncs.Sound.Create("rbxassetid://136007472", orb, 1, 1)
  3147.     for i = 0, 5, 0.1 do
  3148.         swait()
  3149.         scaled = scaled - 0.001
  3150.         posid = posid - scaled
  3151.         orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0)
  3152.         orbm.Scale = orbm.Scale + vt(scaled, scaled, scaled)
  3153.         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)
  3154.         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))), 0.1)
  3155.         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)), 0.1)
  3156.         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)), 0.1)
  3157.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  3158.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(180), math.rad(20), math.rad(0)), 0.1)
  3159.         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)), 0.1)
  3160.     end
  3161.     for i = 0, 2, 0.1 do
  3162.         swait()
  3163.         orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0)
  3164.         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))), 0.4)
  3165.         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)), 0.4)
  3166.         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)), 0.4)
  3167.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(20)), 0.4)
  3168.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(220), math.rad(20), math.rad(0)), 0.4)
  3169.         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)), 0.4)
  3170.     end
  3171.     coroutine.resume(coroutine.create(function()
  3172.         orb.Anchored = false
  3173.         CFuncs.Sound.Create("rbxassetid://260433768", root, 1.25, 1)
  3174.         local a = Instance.new("Part", workspace)
  3175.         a.Name = "Direction"
  3176.         a.Anchored = true
  3177.         a.BrickColor = bc("Bright red")
  3178.         a.Material = "Neon"
  3179.         a.Transparency = 1
  3180.         a.CanCollide = false
  3181.         local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 250)
  3182.         local ignore = orb
  3183.         local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3184.         a.BottomSurface = 10
  3185.         a.TopSurface = 10
  3186.         local distance = (orb.CFrame.p - position).magnitude
  3187.         a.Size = Vector3.new(0.1, 0.1, 0.1)
  3188.         a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3189.         orb.CFrame = a.CFrame
  3190.         a:Destroy()
  3191.         local bv = Instance.new("BodyVelocity")
  3192.         bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3193.         bv.velocity = orb.CFrame.lookVector * 250
  3194.         bv.Parent = orb
  3195.         local hitted = false
  3196.         game:GetService("Debris"):AddItem(orb, 15)
  3197.         wait()
  3198.         local hit = orb.Touched:connect(function(hit)
  3199.             if hitted == false then
  3200.                 hitted = true
  3201.                 CameraEnshaking(10, 2.5)
  3202.                 CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
  3203.                 MagniDamage(orb, 65, 65, 90, 0, "Normal")
  3204.                 sphere(1, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickColor.new("Toothpaste"))
  3205.                 sphere(2, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickColor.new("Toothpaste"))
  3206.                 for i = 0, 9 do
  3207.                     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)
  3208.                     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)
  3209.                 end
  3210.                 orb.Anchored = true
  3211.                 orb.Transparency = 1
  3212.                 wait(0.00008)
  3213.                 orb:Destroy()
  3214.             end
  3215.         end)
  3216.     end))
  3217.     for i = 0, 1, 0.1 do
  3218.         swait()
  3219.         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))), 0.4)
  3220.         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)), 0.4)
  3221.         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)), 0.4)
  3222.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-50)), 0.4)
  3223.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(60), math.rad(20), math.rad(50)), 0.4)
  3224.         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)), 0.4)
  3225.     end
  3226.     attack = false
  3227. end
  3228. function ChaosGroundStrike()
  3229.     attack = true
  3230.     for i = 0, 2, 0.1 do
  3231.         swait()
  3232.         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)), 0.2)
  3233.         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)), 0.2)
  3234.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3235.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3236.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  3237.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  3238.     end
  3239.     CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1)
  3240.     CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1)
  3241.     CameraEnshaking(4, 12)
  3242.     for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3243.         if v:FindFirstChild("Head") then
  3244.             dmg(v)
  3245.         end
  3246.     end
  3247.     sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.random())
  3248.     sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.random())
  3249.     sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.random())
  3250.     for i = 0, 2, 0.1 do
  3251.         swait()
  3252.         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)
  3253.         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)
  3254.         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)), 0.4)
  3255.         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)), 0.4)
  3256.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  3257.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  3258.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  3259.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  3260.     end
  3261.     attack = false
  3262. end
  3263. function dataDestroyer()
  3264.     attack = true
  3265.     for i = 0, 2, 0.1 do
  3266.         swait()
  3267.         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)), 0.2)
  3268.         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)), 0.2)
  3269.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3270.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3271.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  3272.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  3273.     end
  3274.     CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1)
  3275.     CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1)
  3276.     CameraEnshaking(4, 12)
  3277.     for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3278.         if v:FindFirstChild("Head") then
  3279.             dmg(v)
  3280.         end
  3281.     end
  3282.     sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.new("Dark green"))
  3283.     sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.new("Pastel green"))
  3284.     sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.new("Lime green"))
  3285.     for i = 0, 2, 0.1 do
  3286.         swait()
  3287.         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.new("Lime green"), 0)
  3288.         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.new("Lime green"), 0)
  3289.         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)), 0.4)
  3290.         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)), 0.4)
  3291.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  3292.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  3293.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  3294.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  3295.     end
  3296.     attack = false
  3297. end
  3298. function ChaosBegone()
  3299.     attack = true
  3300.     chatfunc("This World Has Suffered Long enough..", BrickColor.random().Color)
  3301.     for i = 0, 10, 0.1 do
  3302.         swait()
  3303.         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)), 0.2)
  3304.         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)), 0.2)
  3305.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3306.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3307.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  3308.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  3309.     end
  3310.     chatfunc("DIE!!", BrickColor.random().Color)
  3311.     CFuncs.Sound.Create("rbxassetid://438666141", char, 7.5, 1)
  3312.     CFuncs.Sound.Create("rbxassetid://1208650519", char, 7.5, 1)
  3313.     CameraEnshaking(5, 25)
  3314.     for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  3315.         if v:FindFirstChild("Head") then
  3316.             dmg(v)
  3317.         end
  3318.     end
  3319.     sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1000, BrickColor.random())
  3320.     sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2000, BrickColor.random())
  3321.     sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100000, 0.1, 100000), 0.01, BrickColor.random())
  3322.     for i = 0, 3, 0.1 do
  3323.         swait()
  3324.         sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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)
  3325.         sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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)
  3326.         sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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)
  3327.         sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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)
  3328.         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)), 0.4)
  3329.         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)), 0.4)
  3330.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  3331.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  3332.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  3333.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  3334.     end
  3335.     attack = false
  3336. end
  3337. function deletdata()
  3338.     attack = true
  3339.     chatfunc("lot of data!", BrickColor.new("Dark green").color)
  3340.     for i = 0, 10, 0.1 do
  3341.         swait()
  3342.         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)), 0.2)
  3343.         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)), 0.2)
  3344.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3345.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3346.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  3347.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  3348.     end
  3349.     chatfunc("bye bye data", BrickColor.new("Dark green").Color)
  3350.     CFuncs.Sound.Create("rbxassetid://438666141", char, 7.5, 1)
  3351.     CFuncs.Sound.Create("rbxassetid://1208650519", char, 7.5, 1)
  3352.     CameraEnshaking(5, 25)
  3353.     for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  3354.         if v:FindFirstChild("Head") then
  3355.             dmg(v)
  3356.         end
  3357.     end
  3358.     sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1000, BrickColor.random())
  3359.     sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2000, Color3.fromRGB(r/ 255,g/ 255,b /255))
  3360.     sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100000, 0.1, 100000), 0.01, BrickColor.new("Pastel green"))
  3361.     for i = 0, 3, 0.1 do
  3362.         swait()
  3363.         sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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, Color3.fromRGB(r/ 255,g/ 255,b /255), 0)
  3364.         sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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.new("Pastel green"), 0)
  3365.         sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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, Color3.fromRGB(r/ 255,g/ 255,b /255), 0)
  3366.         sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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.new("Pastel green"), 0)
  3367.         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)), 0.4)
  3368.         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)), 0.4)
  3369.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  3370.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  3371.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  3372.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  3373.     end
  3374.     attack = false
  3375. end
  3376. function orb_spawn_norm(positted, timer, color, MagniBoost, min, max, volEx, ShakePower, volSummon)
  3377.     local orb = Instance.new("Part", char)
  3378.     orb.Anchored = true
  3379.     orb.BrickColor = color
  3380.     orb.CanCollide = false
  3381.     orb.FormFactor = 3
  3382.     orb.Name = "Ring"
  3383.     orb.Material = "Neon"
  3384.     orb.Size = Vector3.new(1, 1, 1)
  3385.     orb.Transparency = 0
  3386.     orb.TopSurface = 0
  3387.     orb.BottomSurface = 0
  3388.     local orbm = Instance.new("SpecialMesh", orb)
  3389.     orbm.MeshType = "Sphere"
  3390.     orb.CFrame = positted
  3391.     orbm.Name = "SizeMesh"
  3392.     orbm.Scale = vt(1, 1, 1)
  3393.     CFuncs.Sound.Create("rbxassetid://183763506", orb, volSummon, 1)
  3394.     sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.05, orb.BrickColor)
  3395.     coroutine.resume(coroutine.create(function()
  3396.         wait()
  3397.         CameraEnshaking(3, ShakePower)
  3398.         orb.Transparency = 1
  3399.         MagniDamage(orb, 3.5 * MagniBoost, min, max, 0, "Normal")
  3400.         sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.1 * MagniBoost, orb.BrickColor)
  3401.         CFuncs.Sound.Create("rbxassetid://192410089", orb, volEx, 0.7)
  3402.         wait()
  3403.         orb:Destroy()
  3404.     end))
  3405. end
  3406. function orb_spawn(positted, timer)
  3407.     local randomcol = math.random(1, 2)
  3408.     local orb = Instance.new("Part", char)
  3409.     orb.Anchored = true
  3410.     if randomcol == 1 then
  3411.         orb.BrickColor = BrickColor.new("White")
  3412.     elseif randomcol == 2 then
  3413.         orb.BrickColor = BrickColor.new("Really black")
  3414.     end
  3415.     orb.CanCollide = false
  3416.     orb.FormFactor = 3
  3417.     orb.Name = "Ring"
  3418.     orb.Material = "Neon"
  3419.     orb.Size = Vector3.new(1, 1, 1)
  3420.     orb.Transparency = 0
  3421.     orb.TopSurface = 0
  3422.     orb.BottomSurface = 0
  3423.     local orbm = Instance.new("SpecialMesh", orb)
  3424.     orbm.MeshType = "Sphere"
  3425.     orb.CFrame = positted
  3426.     orbm.Name = "SizeMesh"
  3427.     orbm.Scale = vt(1, 1, 1)
  3428.     CFuncs.Sound.Create("rbxassetid://183763506", orb, 1.5, 1)
  3429.     sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.025, orb.BrickColor)
  3430.     for i = 0, 2 do
  3431.         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)
  3432.     end
  3433.     coroutine.resume(coroutine.create(function()
  3434.         wait(timer)
  3435.         CameraEnshaking(3, 2)
  3436.         orb.Transparency = 1
  3437.         MagniDamage(orb, 17.5, 10, 50, 0, "Normal")
  3438.         sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.5, orb.BrickColor)
  3439.         for i = 0, 4 do
  3440.             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)
  3441.         end
  3442.         CFuncs.Sound.Create("rbxassetid://192410089", orb, 2, 0.7)
  3443.         wait(3)
  3444.         orb:Destroy()
  3445.     end))
  3446. end
  3447. function scattercorrupt()
  3448.     attack = true
  3449.     local rot = 0
  3450.     local randomrotations = math.random(1, 2)
  3451.     local lookv = 2.5
  3452.     local power = 5
  3453.     sphere(1, "Add", root.CFrame, vt(1, 100000, 1), 0.5, BrickColor.new("Royal purple"))
  3454.     sphere(1, "Add", root.CFrame, vt(1, 1, 1), 0.75, BrickColor.new("Royal purple"))
  3455.     for i = 0, 9 do
  3456.         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)
  3457.     end
  3458.     CFuncs.Sound.Create("rbxassetid://180204650", char, 2.5, 0.6)
  3459.     CFuncs.Sound.Create("rbxassetid://233856079", char, 1, 0.5)
  3460.     CFuncs.Sound.Create("rbxassetid://1208650519", char, 2.5, 1)
  3461.     CFuncs.Sound.Create("rbxassetid://239000203", char, 0.5, 0.75)
  3462.     CFuncs.Sound.Create("rbxassetid://579687077", char, 0.5, 0.5)
  3463.     local hite = Instance.new("Part", char)
  3464.     hite.Anchored = true
  3465.     hite.CanCollide = false
  3466.     hite.FormFactor = 3
  3467.     hite.Name = "Ring"
  3468.     hite.Material = "Neon"
  3469.     hite.Size = Vector3.new(1, 1, 1)
  3470.     hite.Transparency = 1
  3471.     hite.TopSurface = 0
  3472.     hite.BottomSurface = 0
  3473.     hite.CFrame = root.CFrame * CFrame.new(0, -2.5, 0)
  3474.     local rem = Instance.new("Part", char)
  3475.     rem.Anchored = true
  3476.     rem.CanCollide = false
  3477.     rem.FormFactor = 3
  3478.     rem.Name = "Ring"
  3479.     rem.Material = "Neon"
  3480.     rem.Size = Vector3.new(1, 1, 1)
  3481.     rem.Transparency = 1
  3482.     rem.TopSurface = 0
  3483.     rem.BottomSurface = 0
  3484.     rem.CFrame = hite.CFrame
  3485.     local rem2 = rem:Clone()
  3486.     rem2.Parent = char
  3487.     rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3488.     local rem3 = rem:Clone()
  3489.     rem3.Parent = char
  3490.     rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0)
  3491.     local rem4 = rem:Clone()
  3492.     rem4.Parent = char
  3493.     rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0)
  3494.     hite:Destroy()
  3495.     coroutine.resume(coroutine.create(function()
  3496.         for i = 0, 24 do
  3497.             swait(1)
  3498.             if randomrotations == 1 then
  3499.                 rot = rot + 1
  3500.             elseif randomrotations == 2 then
  3501.                 rot = rot - 1
  3502.             end
  3503.             power = power + 0.5
  3504.             lookv = lookv + 7.5
  3505.             rem.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(rot), 0)
  3506.             rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3507.             rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0)
  3508.             rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0)
  3509.             orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  3510.             orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  3511.             orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  3512.             orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  3513.         end
  3514.     end))
  3515.     attack = false
  3516. end
  3517. function deadworld()
  3518. hum.WalkSpeed = 200
  3519. attack = true
  3520. chatfunc("You... you will regret this!",Color3.new(0.5,0,0))
  3521. for i = 0,10,0.1 do
  3522. swait()
  3523. 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)),.1)
  3524. 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)),.1)
  3525. 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)),.1)
  3526. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 15 * math.cos(sine / 1))),.1)
  3527. RW.C0=clerp(RW.C0,cf(1.05,0.4 + 0.1 * math.cos(sine / 28),-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.1)
  3528. LW.C0=clerp(LW.C0,cf(-1.05,0.4 + 0.1 * math.cos(sine / 28),-0.5)*angles(math.rad(140),math.rad(0 + 5 * math.cos(sine / 1)),math.rad(50 - 5 * math.cos(sine / 1))),.1)
  3529. end
  3530. coroutine.resume(coroutine.create(function()
  3531. CFuncs["Sound"].Create("rbxassetid://1213175909", char, 1,1)
  3532. sphere(3,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  3533. sphere(6,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  3534. sphere(9,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  3535. coroutine.resume(coroutine.create(function()
  3536. for i = 0, 9 do
  3537. swait(3)
  3538. sphere(1,"Add",root.CFrame*CFrame.new(math.random(-75,75),math.random(-75,75),math.random(-75,75)),vt(0,0,0),2,BrickColor.new("Really red"))
  3539. end
  3540. end))
  3541. CFuncs["Sound"].Create("rbxassetid://579687077", char, 5,1)
  3542. CFuncs["Sound"].Create("rbxassetid://239000203", char, 1,1)
  3543. local blastpitch = 1
  3544. for i = 0,2 do
  3545. wait(1.5)
  3546. sphere(3,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  3547. sphere(6,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  3548. sphere(9,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  3549. coroutine.resume(coroutine.create(function()
  3550. for i = 0, 9 do
  3551. swait(3)
  3552. sphere(1,"Add",root.CFrame*CFrame.new(math.random(-75,75),math.random(-75,75),math.random(-75,75)),vt(0,0,0),2,BrickColor.new("Really red"))
  3553. end
  3554. end))
  3555. blastpitch = blastpitch - 0.15
  3556. CFuncs["Sound"].Create("rbxassetid://579687077", char, 1,blastpitch)
  3557. end
  3558. wait(2)
  3559. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 250000000)) do
  3560. wait(1)
  3561. owner.Character.Humanoid.Health = math.huge
  3562.         if v:FindFirstChild("Head") then
  3563. dmg(v)
  3564. end
  3565. end
  3566. CFuncs["Sound"].Create("rbxassetid://239000203", char, 2,0.75)
  3567. CFuncs["Sound"].Create("rbxassetid://579687077", char, 2,0.5)
  3568. sphere(1,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  3569. sphere(2,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  3570. sphere(3,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  3571. coroutine.resume(coroutine.create(function()
  3572. for i = 0, 49 do
  3573. swait(3)
  3574. sphere(1,"Add",root.CFrame*CFrame.new(math.random(-175,175),math.random(-175,175),math.random(-175,175)),vt(0,0,0),2,BrickColor.new("Really red"))
  3575. sphere(1,"Add",root.CFrame*CFrame.new(math.random(-375,375),math.random(-375,375),math.random(-375,375)),vt(0,0,0),8,BrickColor.new("Really red"))
  3576. end
  3577. end))
  3578. end))
  3579. attack = false
  3580. hum.WalkSpeed = 200
  3581. end
  3582. function yinyangi()
  3583.     attack = true
  3584.     for i = 0, 2, 0.1 do
  3585.         swait()
  3586.         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)), 0.2)
  3587.         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)), 0.2)
  3588.         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)), 0.2)
  3589.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3590.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2)
  3591.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  3592.     end
  3593.     local bv = Instance.new("BodyVelocity")
  3594.     bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3595.     bv.velocity = root.CFrame.lookVector * 200
  3596.     bv.Parent = root
  3597.     for Rotations = 0, 9 do
  3598.         for i = 0, 1, 0.5 do
  3599.             swait()
  3600.             bv.velocity = root.CFrame.lookVector * 200
  3601.             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)), 0.5)
  3602.             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)), 0.5)
  3603.             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)), 0.5)
  3604.             Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  3605.             RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  3606.             LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  3607.         end
  3608.         orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  3609.         for i = 0, 1, 0.5 do
  3610.             swait()
  3611.             bv.velocity = root.CFrame.lookVector * 175
  3612.             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)), 0.5)
  3613.             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)), 0.5)
  3614.             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)), 0.5)
  3615.             Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  3616.             RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  3617.             LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  3618.         end
  3619.         orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  3620.         for i = 0, 1, 0.5 do
  3621.             swait()
  3622.             bv.velocity = root.CFrame.lookVector * 200
  3623.             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)), 0.5)
  3624.             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)), 0.5)
  3625.             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)), 0.5)
  3626.             Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  3627.             RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  3628.             LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  3629.         end
  3630.         orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  3631.         for i = 0, 1, 0.5 do
  3632.             swait()
  3633.             bv.velocity = root.CFrame.lookVector * 200
  3634.             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)), 0.5)
  3635.             LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5)
  3636.             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)), 0.5)
  3637.             Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  3638.             RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  3639.             LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  3640.         end
  3641.         orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  3642.     end
  3643.     bv:Destroy()
  3644.     attack = false
  3645. end
  3646. function Wip()
  3647.     attack = true
  3648.     local rngb = Instance.new("Part", char)
  3649.     rngb.Anchored = true
  3650.     rngb.BrickColor = origcolor
  3651.     rngb.CanCollide = false
  3652.     rngb.FormFactor = 3
  3653.     rngb.Name = "Ring"
  3654.     rngb.Material = "Neon"
  3655.     rngb.Size = Vector3.new(1, 0.05, 1)
  3656.     rngb.Transparency = 1
  3657.     rngb.TopSurface = 0
  3658.     rngb.BottomSurface = 0
  3659.     local rngmb = Instance.new("SpecialMesh", rngb)
  3660.     rngmb.MeshType = "Brick"
  3661.     rngmb.Name = "SizeMesh"
  3662.     rngmb.Scale = vt(0, 1, 0)
  3663.     local orb = rngb:Clone()
  3664.     orb.Parent = char
  3665.     orb.Transparency = 0
  3666.     orb.BrickColor = BrickColor.new("White")
  3667.     orb.Size = vt(1, 1, 1)
  3668.     local orbmish = orb.SizeMesh
  3669.     orbmish.Scale = vt(0, 0, 0)
  3670.     orbmish.MeshType = "Sphere"
  3671.     local orbe = rngb:Clone()
  3672.     orbe.Parent = char
  3673.     orbe.Transparency = 0.5
  3674.     orbe.BrickColor = BrickColor.new("New Yeller")
  3675.     orbe.Size = vt(1, 1, 1)
  3676.     local orbmish2 = orbe.SizeMesh
  3677.     orbmish2.Scale = vt(0, 0, 0)
  3678.     orbmish2.MeshType = "Sphere"
  3679.     orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  3680.     rngb:Destroy()
  3681.     for i = 0, 5, 0.1 do
  3682.         swait()
  3683.         if rainbowmode == true then
  3684.             orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  3685.         end
  3686.         orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  3687.         orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  3688.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  3689.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  3690.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  3691.         LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  3692.         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)), 0.3)
  3693.         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)), 0.3)
  3694.         RootPart.CFrame = FaceMouse()[1]
  3695.     end
  3696.     orbe.Transparency = 1
  3697.     orb.Transparency = 1
  3698.     orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5
  3699.     CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
  3700.     local a = Instance.new("Part", Character)
  3701.     a.Name = "Direction"
  3702.     a.Anchored = true
  3703.     a.BrickColor = bc("White")
  3704.     a.Material = "Neon"
  3705.     a.Transparency = 0
  3706.     a.Shape = "Cylinder"
  3707.     a.CanCollide = false
  3708.     local a2 = Instance.new("Part", Character)
  3709.     a2.Name = "Direction"
  3710.     a2.Anchored = true
  3711.     a2.BrickColor = bc("New Yeller")
  3712.     a2.Color = Color3.new(r / 255, g / 255, b / 255)
  3713.     a2.Material = "Neon"
  3714.     a2.Transparency = 0.5
  3715.     a2.Shape = "Cylinder"
  3716.     a2.CanCollide = false
  3717.     local ba = Instance.new("Part", Character)
  3718.     ba.Name = "HitDirect"
  3719.     ba.Anchored = true
  3720.     ba.BrickColor = bc("White")
  3721.     ba.Material = "Neon"
  3722.     ba.Transparency = 1
  3723.     ba.CanCollide = false
  3724.     local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3725.     local ignore = Character
  3726.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3727.     a.BottomSurface = 10
  3728.     a.TopSurface = 10
  3729.     a2.BottomSurface = 10
  3730.     a2.TopSurface = 10
  3731.     local distance = (orb.CFrame.p - position).magnitude
  3732.     a.Size = Vector3.new(distance, 1, 1)
  3733.     a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3734.     a2.Size = Vector3.new(distance, 1, 1)
  3735.     a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3736.     ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3737.     a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3738.     a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3739.     game:GetService("Debris"):AddItem(a, 20)
  3740.     game:GetService("Debris"):AddItem(a2, 20)
  3741.     game:GetService("Debris"):AddItem(ba, 20)
  3742.     local msh = Instance.new("SpecialMesh", a)
  3743.     msh.MeshType = "Cylinder"
  3744.     msh.Scale = vt(1, 25, 25)
  3745.     local msh2 = Instance.new("SpecialMesh", a2)
  3746.     msh2.MeshType = "Cylinder"
  3747.     msh2.Scale = vt(1, 30, 30)
  3748.     for i = 0, 10, 0.1 do
  3749.         swait()
  3750.         CameraEnshaking(1, 5)
  3751.         a2.Color = Color3.new(r / 255, g / 255, b / 255)
  3752.         orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3753.         orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3754.         ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3755.         hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3756.         distance = (orb.CFrame.p - position).magnitude
  3757.         if typrot == 1 then
  3758.             rotation = rotation + 2.5
  3759.         elseif typrot == 2 then
  3760.             rotation = rotation - 2.5
  3761.         end
  3762.         RootPart.CFrame = FaceMouse()[1]
  3763.         a.Size = Vector3.new(distance, 1, 1)
  3764.         a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3765.         a2.Size = Vector3.new(distance, 1, 1)
  3766.         a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3767.         ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3768.         a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3769.         a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3770.         msh.Scale = msh.Scale - vt(0, 0.25, 0.25)
  3771.         msh2.Scale = msh2.Scale - vt(0, 0.3, 0.3)
  3772.         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)
  3773.         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)
  3774.         MagniDamage(ba, 30, 500, 60000, 0, "Normal")
  3775.     end
  3776.     a:Destroy()
  3777.     a2:Destroy()
  3778.     ba:Destroy()
  3779.     orb:Destroy()
  3780.     orbe:Destroy()
  3781.     attack = false
  3782. end
  3783. function UniversalSpark()
  3784.     attack = true
  3785.     local rngb = Instance.new("Part", char)
  3786.     rngb.Anchored = true
  3787.     rngb.BrickColor = origcolor
  3788.     rngb.CanCollide = false
  3789.     rngb.FormFactor = 3
  3790.     rngb.Name = "Ring"
  3791.     rngb.Material = "Neon"
  3792.     rngb.Size = Vector3.new(1, 0.05, 1)
  3793.     rngb.Transparency = 1
  3794.     rngb.TopSurface = 0
  3795.     rngb.BottomSurface = 0
  3796.     local rngmb = Instance.new("SpecialMesh", rngb)
  3797.     rngmb.MeshType = "Brick"
  3798.     rngmb.Name = "SizeMesh"
  3799.     rngmb.Scale = vt(0, 1, 0)
  3800.     local orb = rngb:Clone()
  3801.     orb.Parent = char
  3802.     orb.Transparency = 0
  3803.     orb.BrickColor = BrickColor.new("White")
  3804.     orb.Size = vt(1, 1, 1)
  3805.     local orbmish = orb.SizeMesh
  3806.     orbmish.Scale = vt(0, 0, 0)
  3807.     orbmish.MeshType = "Sphere"
  3808.     local orbe = rngb:Clone()
  3809.     orbe.Parent = char
  3810.     orbe.Transparency = 0.5
  3811.     orbe.BrickColor = BrickColor.new("New Yeller")
  3812.     orbe.Size = vt(1, 1, 1)
  3813.     local orbmish2 = orbe.SizeMesh
  3814.     orbmish2.Scale = vt(0, 0, 0)
  3815.     orbmish2.MeshType = "Sphere"
  3816.     orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  3817.     rngb:Destroy()
  3818.     for i = 0, 5, 0.1 do
  3819.         swait()
  3820.         if rainbowmode == true then
  3821.             orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  3822.         end
  3823.         orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  3824.         orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  3825.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  3826.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  3827.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  3828.         LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  3829.         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)), 0.3)
  3830.         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)), 0.3)
  3831.         RootPart.CFrame = FaceMouse()[1]
  3832.     end
  3833.     orbe.Transparency = 1
  3834.     orb.Transparency = 1
  3835.     orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5
  3836.     CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
  3837.     CFuncs.Sound.Create("rbxassetid://741272936", char, 0.75, 1)
  3838.     CFuncs.Sound.Create("rbxassetid://1192402877", char, 1, 1)
  3839.     CFuncs.Sound.Create("rbxassetid://1208650519", char, 0.75, 1)
  3840.     CFuncs.Sound.Create("rbxassetid://164881112", char, 0.75, 1)
  3841.     CFuncs.Sound.Create("rbxassetid://429123896", char, 1, 0.85)
  3842.     CFuncs.Sound.Create("rbxassetid://164178927", char, 1, 1)
  3843.     local xd = Instance.new("Sound", char)
  3844.     xd.SoundId = "rbxassetid://445796828"
  3845.     xd.Pitch = 0.75
  3846.     xd.Looped = true
  3847.     xd.Volume = 1.25
  3848.     xd:Play()
  3849.     local a = Instance.new("Part", Character)
  3850.     a.Name = "Direction"
  3851.     a.Anchored = true
  3852.     a.BrickColor = bc("Alder")
  3853.     a.Color = MAINRUINCOLOR.Color
  3854.     a.Material = "Neon"
  3855.     a.Transparency = 0.5
  3856.     a.Shape = "Cylinder"
  3857.     a.CanCollide = false
  3858.     local a2 = Instance.new("Part", Character)
  3859.     a2.Name = "Direction"
  3860.     a2.Anchored = true
  3861.     a2.BrickColor = bc("New Yeller")
  3862.     a2.Color = MAINRUINCOLOR.Color
  3863.     a2.Material = "Neon"
  3864.     a2.Transparency = 0.5
  3865.     a2.Shape = "Cylinder"
  3866.     a2.CanCollide = false
  3867.     local ba = Instance.new("Part", Character)
  3868.     ba.Name = "HitDirect"
  3869.     ba.Anchored = true
  3870.     ba.BrickColor = bc("Really black")
  3871.     ba.Material = "Neon"
  3872.     ba.Transparency = 1
  3873.     ba.CanCollide = false
  3874.     local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3875.     local ignore = Character
  3876.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3877.     a.BottomSurface = 10
  3878.     a.TopSurface = 10
  3879.     a2.BottomSurface = 10
  3880.     a2.TopSurface = 10
  3881.     local distance = (orb.CFrame.p - position).magnitude
  3882.     a.Size = Vector3.new(distance, 1, 1)
  3883.     a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3884.     a2.Size = Vector3.new(distance, 1, 1)
  3885.     a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3886.     ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3887.     a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3888.     a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3889.     game:GetService("Debris"):AddItem(a, 60)
  3890.     game:GetService("Debris"):AddItem(a2, 60)
  3891.     game:GetService("Debris"):AddItem(ba, 60)
  3892.     local outerscale = 0
  3893.     local msh = Instance.new("SpecialMesh", a)
  3894.     msh.MeshType = "Cylinder"
  3895.     msh.Scale = vt(1, 0, 0)
  3896.     local msh2 = Instance.new("SpecialMesh", a2)
  3897.     msh2.MeshType = "Cylinder"
  3898.     msh2.Scale = vt(1, 0, 0)
  3899.     for i = 0, 2, 0.1 do
  3900.         swait()
  3901.         CameraEnshaking(1, 1)
  3902.         msh2.Scale = msh2.Scale + vt(0, outerscale * 20, outerscale * 20)
  3903.         msh.Scale = msh.Scale + vt(0, outerscale * 15, outerscale * 15)
  3904.         outerscale = outerscale - 0.015
  3905.         orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3906.         orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3907.         ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3908.         hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3909.         distance = (orb.CFrame.p - position).magnitude
  3910.         if typrot == 1 then
  3911.             rotation = rotation + 2.5
  3912.         elseif typrot == 2 then
  3913.             rotation = rotation - 2.5
  3914.         end
  3915.         RootPart.CFrame = FaceMouse()[1]
  3916.         a.Size = Vector3.new(distance, 1, 1)
  3917.         a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3918.         a2.Size = Vector3.new(distance, 1, 1)
  3919.         a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3920.         ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3921.         a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3922.         a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3923.         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))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  3924.         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))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  3925.         MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  3926.     end
  3927.     for z = 0, 2 do
  3928.         for i = 0, 4, 0.1 do
  3929.             swait()
  3930.             CameraEnshaking(1, 1)
  3931.             msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  3932.             msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  3933.             outerscale = outerscale + 0.015
  3934.             orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3935.             orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3936.             ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3937.             hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3938.             distance = (orb.CFrame.p - position).magnitude
  3939.             if typrot == 1 then
  3940.                 rotation = rotation + 2.5
  3941.             elseif typrot == 2 then
  3942.                 rotation = rotation - 2.5
  3943.             end
  3944.             RootPart.CFrame = FaceMouse()[1]
  3945.             a.Size = Vector3.new(distance, 1, 1)
  3946.             a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3947.             a2.Size = Vector3.new(distance, 1, 1)
  3948.             a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3949.             ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3950.             a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3951.             a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3952.             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))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  3953.             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))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  3954.             MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  3955.         end
  3956.         for i = 0, 4, 0.1 do
  3957.             swait()
  3958.             CameraEnshaking(1, 1)
  3959.             msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  3960.             msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  3961.             outerscale = outerscale - 0.015
  3962.             orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3963.             orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3964.             ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3965.             hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3966.             distance = (orb.CFrame.p - position).magnitude
  3967.             if typrot == 1 then
  3968.                 rotation = rotation + 2.5
  3969.             elseif typrot == 2 then
  3970.                 rotation = rotation - 2.5
  3971.             end
  3972.             RootPart.CFrame = FaceMouse()[1]
  3973.             a.Size = Vector3.new(distance, 1, 1)
  3974.             a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3975.             a2.Size = Vector3.new(distance, 1, 1)
  3976.             a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3977.             ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3978.             a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3979.             a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3980.             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))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  3981.             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))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  3982.             MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  3983.         end
  3984.     end
  3985.     for i = 0, 4, 0.1 do
  3986.         swait()
  3987.         CameraEnshaking(1, 1)
  3988.         msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  3989.         msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  3990.         xd.Volume = xd.Volume - 0.025
  3991.         a.Transparency = a.Transparency + 0.025
  3992.         a2.Transparency = a2.Transparency + 0.025
  3993.         outerscale = outerscale - 0.015
  3994.         orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3995.         orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3996.         ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3997.         hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3998.         distance = (orb.CFrame.p - position).magnitude
  3999.         if typrot == 1 then
  4000.             rotation = rotation + 2.5
  4001.         elseif typrot == 2 then
  4002.             rotation = rotation - 2.5
  4003.         end
  4004.         RootPart.CFrame = FaceMouse()[1]
  4005.         a.Size = Vector3.new(distance, 1, 1)
  4006.         a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4007.         a2.Size = Vector3.new(distance, 1, 1)
  4008.         a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4009.         ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4010.         a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4011.         a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4012.         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))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  4013.         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))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  4014.         MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  4015.     end
  4016.     xd:Destroy()
  4017.     a:Destroy()
  4018.     a2:Destroy()
  4019.     ba:Destroy()
  4020.     orb:Destroy()
  4021.     orbe:Destroy()
  4022.     attack = false
  4023. end
  4024. function lovebeam()
  4025.     attack = true
  4026.     local rngb = Instance.new("Part", char)
  4027.     rngb.Anchored = true
  4028.     rngb.BrickColor = origcolor
  4029.     rngb.CanCollide = false
  4030.     rngb.FormFactor = 3
  4031.     rngb.Name = "Ring"
  4032.     rngb.Material = "Neon"
  4033.     rngb.Size = Vector3.new(1, 0.05, 1)
  4034.     rngb.Transparency = 1
  4035.     rngb.TopSurface = 0
  4036.     rngb.BottomSurface = 0
  4037.     local rngmb = Instance.new("SpecialMesh", rngb)
  4038.     rngmb.MeshType = "Brick"
  4039.     rngmb.Name = "SizeMesh"
  4040.     rngmb.Scale = vt(0, 1, 0)
  4041.     local orb = rngb:Clone()
  4042.     orb.Parent = char
  4043.     orb.Transparency = 0
  4044.     orb.BrickColor = BrickColor.new("Carnation pink")
  4045.     orb.Size = vt(1, 1, 1)
  4046.     local orbmish = orb.SizeMesh
  4047.     orbmish.Scale = vt(0, 0, 0)
  4048.     orbmish.MeshType = "Sphere"
  4049.     local orbe = rngb:Clone()
  4050.     orbe.Parent = char
  4051.     orbe.Transparency = 0.5
  4052.     orbe.BrickColor = BrickColor.new("Pink")
  4053.     orbe.Size = vt(1, 1, 1)
  4054.     local orbmish2 = orbe.SizeMesh
  4055.     orbmish2.Scale = vt(0, 0, 0)
  4056.     orbmish2.MeshType = "Sphere"
  4057.     orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  4058.     rngb:Destroy()
  4059.     for i = 0, 5, 0.1 do
  4060.         swait()
  4061.         if rainbowmode == true then
  4062.             orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  4063.         end
  4064.         orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  4065.         orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  4066.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  4067.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  4068.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4069.         LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4070.         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)), 0.3)
  4071.         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)), 0.3)
  4072.         RootPart.CFrame = FaceMouse()[1]
  4073.     end
  4074.     orbe.Transparency = 1
  4075.     orb.Transparency = 1
  4076.     orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5
  4077.     CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
  4078.     CFuncs.Sound.Create("rbxassetid://741272936", char, 0.75, 1)
  4079.     CFuncs.Sound.Create("rbxassetid://1192402877", char, 1, 1)
  4080.     CFuncs.Sound.Create("rbxassetid://1208650519", char, 0.75, 1)
  4081.     CFuncs.Sound.Create("rbxassetid://164881112", char, 0.75, 1)
  4082.     CFuncs.Sound.Create("rbxassetid://429123896", char, 1, 0.85)
  4083.     CFuncs.Sound.Create("rbxassetid://164178927", char, 1, 1)
  4084.     local xd = Instance.new("Sound", char)
  4085.     xd.SoundId = "rbxassetid://445796828"
  4086.     xd.Pitch = 0.75
  4087.     xd.Looped = true
  4088.     xd.Volume = 1.25
  4089.     xd:Play()
  4090.     local a = Instance.new("Part", Character)
  4091.     a.Name = "Direction"
  4092.     a.Anchored = true
  4093.     a.BrickColor = bc("Alder")
  4094.     a.Color = Color3.new(255, 152, 220)
  4095.     a.Material = "Neon"
  4096.     a.Transparency = 0.5
  4097.     a.Shape = "Cylinder"
  4098.     a.CanCollide = false
  4099.     local a2 = Instance.new("Part", Character)
  4100.     a2.Name = "Direction"
  4101.     a2.Anchored = true
  4102.     a2.BrickColor = BrickColor.new("Pink")
  4103.     a2.Color = MAINRUINCOLOR.Color
  4104.     a2.Material = "Neon"
  4105.     a2.Transparency = 0.5
  4106.     a2.Shape = "Cylinder"
  4107.     a2.CanCollide = false
  4108.     local ba = Instance.new("Part", Character)
  4109.     ba.Name = "HitDirect"
  4110.     ba.Anchored = true
  4111.     ba.BrickColor = BrickColor.new("Hot pink")
  4112.     ba.Material = "Neon"
  4113.     ba.Transparency = 1
  4114.     ba.CanCollide = false
  4115.     local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  4116.     local ignore = Character
  4117.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4118.     a.BottomSurface = 10
  4119.     a.TopSurface = 10
  4120.     a2.BottomSurface = 10
  4121.     a2.TopSurface = 10
  4122.     local distance = (orb.CFrame.p - position).magnitude
  4123.     a.Size = Vector3.new(distance, 1, 1)
  4124.     a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4125.     a2.Size = Vector3.new(distance, 1, 1)
  4126.     a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4127.     ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4128.     a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4129.     a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4130.     game:GetService("Debris"):AddItem(a, 60)
  4131.     game:GetService("Debris"):AddItem(a2, 60)
  4132.     game:GetService("Debris"):AddItem(ba, 60)
  4133.     local outerscale = 0
  4134.     local msh = Instance.new("SpecialMesh", a)
  4135.     msh.MeshType = "Cylinder"
  4136.     msh.Scale = vt(1, 0, 0)
  4137.     local msh2 = Instance.new("SpecialMesh", a2)
  4138.     msh2.MeshType = "Cylinder"
  4139.     msh2.Scale = vt(1, 0, 0)
  4140.     for i = 0, 2, 0.1 do
  4141.         swait()
  4142.         CameraEnshaking(1, 1)
  4143.         msh2.Scale = msh2.Scale + vt(0, outerscale * 20, outerscale * 20)
  4144.         msh.Scale = msh.Scale + vt(0, outerscale * 15, outerscale * 15)
  4145.         outerscale = outerscale - 0.015
  4146.         orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4147.         orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4148.         ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  4149.         hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4150.         distance = (orb.CFrame.p - position).magnitude
  4151.         if typrot == 1 then
  4152.             rotation = rotation + 2.5
  4153.         elseif typrot == 2 then
  4154.             rotation = rotation - 2.5
  4155.         end
  4156.         RootPart.CFrame = FaceMouse()[1]
  4157.         a.Size = Vector3.new(distance, 1, 1)
  4158.         a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4159.         a2.Size = Vector3.new(distance, 1, 1)
  4160.         a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4161.         ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4162.         a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4163.         a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4164.         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))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  4165.         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))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  4166.         MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  4167.     end
  4168.     for z = 0, 2 do
  4169.         for i = 0, 4, 0.1 do
  4170.             swait()
  4171.             CameraEnshaking(1, 1)
  4172.             msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  4173.             msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  4174.             outerscale = outerscale + 0.015
  4175.             orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4176.             orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4177.             ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  4178.             hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4179.             distance = (orb.CFrame.p - position).magnitude
  4180.             if typrot == 1 then
  4181.                 rotation = rotation + 2.5
  4182.             elseif typrot == 2 then
  4183.                 rotation = rotation - 2.5
  4184.             end
  4185.             RootPart.CFrame = FaceMouse()[1]
  4186.             a.Size = Vector3.new(distance, 1, 1)
  4187.             a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4188.             a2.Size = Vector3.new(distance, 1, 1)
  4189.             a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4190.             ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4191.             a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4192.             a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4193.             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))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  4194.             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))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  4195.             MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  4196.         end
  4197.         for i = 0, 4, 0.1 do
  4198.             swait()
  4199.             CameraEnshaking(1, 1)
  4200.             msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  4201.             msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  4202.             outerscale = outerscale - 0.015
  4203.             orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4204.             orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4205.             ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  4206.             hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4207.             distance = (orb.CFrame.p - position).magnitude
  4208.             if typrot == 1 then
  4209.                 rotation = rotation + 2.5
  4210.             elseif typrot == 2 then
  4211.                 rotation = rotation - 2.5
  4212.             end
  4213.             RootPart.CFrame = FaceMouse()[1]
  4214.             a.Size = Vector3.new(distance, 1, 1)
  4215.             a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4216.             a2.Size = Vector3.new(distance, 1, 1)
  4217.             a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4218.             ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4219.             a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4220.             a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4221.             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))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  4222.             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))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  4223.             MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  4224.         end
  4225.     end
  4226.     for i = 0, 4, 0.1 do
  4227.         swait()
  4228.         CameraEnshaking(1, 1)
  4229.         msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  4230.         msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  4231.         xd.Volume = xd.Volume - 0.025
  4232.         a.Transparency = a.Transparency + 0.025
  4233.         a2.Transparency = a2.Transparency + 0.025
  4234.         outerscale = outerscale - 0.015
  4235.         orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4236.         orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4237.         ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  4238.         hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4239.         distance = (orb.CFrame.p - position).magnitude
  4240.         if typrot == 1 then
  4241.             rotation = rotation + 2.5
  4242.         elseif typrot == 2 then
  4243.             rotation = rotation - 2.5
  4244.         end
  4245.         RootPart.CFrame = FaceMouse()[1]
  4246.         a.Size = Vector3.new(distance, 1, 1)
  4247.         a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4248.         a2.Size = Vector3.new(distance, 1, 1)
  4249.         a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4250.         ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4251.         a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4252.         a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4253.         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))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  4254.         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))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  4255.         MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  4256.     end
  4257.     xd:Destroy()
  4258.     a:Destroy()
  4259.     a2:Destroy()
  4260.     ba:Destroy()
  4261.     orb:Destroy()
  4262.     orbe:Destroy()
  4263.     attack = false
  4264. end
  4265.  
  4266. function resetmode()
  4267.     Editer_mode = false
  4268.     rainbowmode = false
  4269.     chaosmode = false
  4270.     RecolorTextAndRename("Sweet Dreams", Color3.new(0, 0, 0), Color3.new(1, 0, 0))
  4271.     ModeOfGlitch = 1
  4272.     storehumanoidWS = 200
  4273.     for i, v in pairs(mw2:GetChildren()) do
  4274.         if v:IsA("Part") then
  4275.             v.Transparency = 0
  4276.             v.BrickColor = BrickColor.new("Really red")
  4277.             v.Material = "Neon"
  4278.         end
  4279.     end
  4280.     for i, v in pairs(mw1:GetChildren()) do
  4281.         if v:IsA("Part") then
  4282.             v.Transparency = 0
  4283.             v.BrickColor = BrickColor.new("Really red")
  4284.             v.Material = "Neon"
  4285.         end
  4286.     end
  4287.     MAINRUINCOLOR = BrickColor.new("Really red")
  4288.     hum.WalkSpeed = 200
  4289.     newTheme("rbxassetid://415898123", 0, 1, 10)
  4290.     for i, v in pairs(m:GetChildren()) do
  4291.         if v:IsA("Part") then
  4292.             v.Transparency = 0
  4293.             v.BrickColor = BrickColor.new("Really black")
  4294.             v.Material = "Glass"
  4295.         end
  4296.     end
  4297.     for i, v in pairs(m2:GetChildren()) do
  4298.         if v:IsA("Part") then
  4299.             v.Transparency = 0
  4300.             v.BrickColor = BrickColor.new("Crimson")
  4301.             v.Material = "Granite"
  4302.         end
  4303.     end
  4304.     for i, v in pairs(m3:GetChildren()) do
  4305.         if v:IsA("Part") then
  4306.             v.Transparency = 0
  4307.             v.BrickColor = BrickColor.new("Really red")
  4308.             v.Material = "Neon"
  4309.         end
  4310.     end
  4311.     for i, v in pairs(extrawingmod1:GetChildren()) do
  4312.         if v:IsA("Part") then
  4313.             v.Transparency = 0
  4314.             v.BrickColor = BrickColor.new("Really red")
  4315.             v.Material = "Neon"
  4316.         end
  4317.     end
  4318.     for i, v in pairs(extrawingmod2:GetChildren()) do
  4319.         if v:IsA("Part") then
  4320.             v.Transparency = 0
  4321.             v.BrickColor = BrickColor.new("Crimson")
  4322.             v.Material = "Neon"
  4323.         end
  4324.     end
  4325.     for i, v in pairs(extrawingmod3:GetChildren()) do
  4326.         if v:IsA("Part") then
  4327.             v.Transparency = 0
  4328.             v.BrickColor = BrickColor.new("Really red")
  4329.             v.Material = "Neon"
  4330.         end
  4331.     end
  4332.     for i, v in pairs(extrawingmod4:GetChildren()) do
  4333.         if v:IsA("Part") then
  4334.             v.Transparency = 0
  4335.             v.BrickColor = BrickColor.new("Crimson")
  4336.             v.Material = "Neon"
  4337.         end
  4338.     end
  4339. end
  4340. function attackone()
  4341.     attack = true
  4342.     for i = 0, 1, 0.1 do
  4343.         swait()
  4344.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.2)
  4345.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(40)), 0.2)
  4346.         RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  4347.         LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  4348.         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)), 0.2)
  4349.         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)), 0.2)
  4350.     end
  4351.     CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1.1)
  4352.     local hitb = Instance.new("Part", char)
  4353.     hitb.Anchored = true
  4354.     hitb.CanCollide = false
  4355.     hitb.FormFactor = 3
  4356.     hitb.Name = "Ring"
  4357.     hitb.Material = "Neon"
  4358.     hitb.Size = Vector3.new(1, 1, 1)
  4359.     hitb.Transparency = 1
  4360.     hitb.TopSurface = 0
  4361.     hitb.BottomSurface = 0
  4362.     hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2
  4363.     MagniDamage(hitb, 3, 10, 30, 0, "Normal")
  4364.     hitb:Destroy()
  4365.     for i = 0, 1, 0.1 do
  4366.         swait()
  4367.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(70)), 0.4)
  4368.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-70)), 0.4)
  4369.         RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  4370.         LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  4371.         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)), 0.4)
  4372.         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)), 0.4)
  4373.     end
  4374.     attack = false
  4375. end
  4376. function attacktwo()
  4377.     attack = true
  4378.     for i = 0, 1, 0.1 do
  4379.         swait()
  4380.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.2)
  4381.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  4382.         RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  4383.         LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  4384.         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)), 0.2)
  4385.         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)), 0.2)
  4386.     end
  4387.     CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1)
  4388.     local hitb = Instance.new("Part", char)
  4389.     hitb.Anchored = true
  4390.     hitb.CanCollide = false
  4391.     hitb.FormFactor = 3
  4392.     hitb.Name = "Ring"
  4393.     hitb.Material = "Neon"
  4394.     hitb.Size = Vector3.new(1, 1, 1)
  4395.     hitb.Transparency = 1
  4396.     hitb.TopSurface = 0
  4397.     hitb.BottomSurface = 0
  4398.     hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2
  4399.     MagniDamage(hitb, 3, 10, 30, 0, "Normal")
  4400.     hitb:Destroy()
  4401.     for i = 0, 1, 0.1 do
  4402.         swait()
  4403.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(-70)), 0.4)
  4404.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(70)), 0.4)
  4405.         RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  4406.         LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  4407.         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)), 0.4)
  4408.         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)), 0.4)
  4409.     end
  4410.     attack = false
  4411. end
  4412. function attackthree()
  4413.     attack = true
  4414.     for i = 0, 1, 0.1 do
  4415.         swait()
  4416.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  4417.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3)
  4418.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  4419.         LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4420.         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)), 0.3)
  4421.         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)), 0.3)
  4422.     end
  4423.     local distlook = 5
  4424.     for i = 0, 4 do
  4425.         swait(2)
  4426.         CameraEnshaking(2, 3)
  4427.         local hite = Instance.new("Part", char)
  4428.         hite.Anchored = true
  4429.         hite.CanCollide = false
  4430.         hite.FormFactor = 3
  4431.         hite.Name = "Ring"
  4432.         hite.Material = "Neon"
  4433.         hite.Size = Vector3.new(1, 1, 1)
  4434.         hite.Transparency = 1
  4435.         hite.TopSurface = 0
  4436.         hite.BottomSurface = 0
  4437.         hite.CFrame = root.CFrame + root.CFrame.lookVector * distlook
  4438.         sphere(3, "Add", hite.CFrame, vt(0, 0, 0), 0.15, MAINRUINCOLOR)
  4439.         sphere(6, "Add", hite.CFrame, vt(0, 0, 0), 0.3, MAINRUINCOLOR)
  4440.         MagniDamage(hite, 10, 15, 35, 0, "Normal")
  4441.         for i = 0, 2 do
  4442.             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)
  4443.             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)
  4444.             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)
  4445.         end
  4446.         CFuncs.Sound.Create("rbxassetid://183763506", hite, 2.5, 1)
  4447.         CFuncs.Sound.Create("rbxassetid://178452221", hite, 0.25, 0.6)
  4448.         game:GetService("Debris"):AddItem(hite, 5)
  4449.         distlook = distlook + 10
  4450.     end
  4451.     attack = false
  4452. end
  4453. local attacktype = 1
  4454. mouse.Button1Down:connect(function()
  4455.     if attack == false and attacktype == 1 then
  4456.         attacktype = 2
  4457.         attackone()
  4458.     elseif attack == false and attacktype == 2 then
  4459.         attacktype = 3
  4460.         attacktwo()
  4461.     elseif attack == false and attacktype == 3 then
  4462.         attacktype = 4
  4463.         attackthree()
  4464.     elseif attack == false and attacktype == 4 then
  4465.         attacktype = 1
  4466.         attackthree()
  4467.         wait()
  4468.         attackthree()
  4469.         wait()
  4470.         attackthree()
  4471.     end
  4472. end)
  4473. clock_mode = false
  4474. wing_clock = false
  4475. mouse.KeyDown:connect(function(k)
  4476.     if k == "q" and attack == false and ModeOfGlitch ~= 2 then
  4477.         ModeOfGlitch = 2
  4478.         storehumanoidWS = 200
  4479.         hum.WalkSpeed = 200
  4480.         rainbowmode = false
  4481.         Editer_mode = false
  4482.         chaosmode = false
  4483.         RecolorTextAndRename("Purity", Color3.new(1, 1, 1), Color3.new(0, 1, 1))
  4484.         newTheme("rbxassetid://1119453744", 20.25, 1, 1)
  4485.         MAINRUINCOLOR = BrickColor.new("Toothpaste")
  4486.         for i, v in pairs(mw2:GetChildren()) do
  4487.             if v:IsA("Part") then
  4488.                 v.Transparency = 0
  4489.                 v.BrickColor = MAINRUINCOLOR
  4490.                 v.Material = "Neon"
  4491.             end
  4492.         end
  4493.         for i, v in pairs(mw1:GetChildren()) do
  4494.             if v:IsA("Part") then
  4495.                 v.Transparency = 0
  4496.                 v.BrickColor = MAINRUINCOLOR
  4497.                 v.Material = "Neon"
  4498.             end
  4499.         end
  4500.         for i, v in pairs(m:GetChildren()) do
  4501.             if v:IsA("Part") then
  4502.                 v.Transparency = 0
  4503.                 v.BrickColor = BrickColor.new("Toothpaste")
  4504.                 v.Material = "Ice"
  4505.             end
  4506.         end
  4507.         for i, v in pairs(m2:GetChildren()) do
  4508.             if v:IsA("Part") then
  4509.                 v.Transparency = 0
  4510.                 v.BrickColor = BrickColor.new("Toothpaste")
  4511.                 v.Material = "Neon"
  4512.             end
  4513.         end
  4514.         for i, v in pairs(m3:GetChildren()) do
  4515.             if v:IsA("Part") then
  4516.                 v.Transparency = 0
  4517.                 v.BrickColor = BrickColor.new("Toothpaste")
  4518.                 v.Material = "Neon"
  4519.             end
  4520.         end
  4521.         for i, v in pairs(extrawingmod1:GetChildren()) do
  4522.             if v:IsA("Part") then
  4523.                 v.Transparency = 0
  4524.                 v.BrickColor = BrickColor.new("Toothpaste")
  4525.                 v.Material = "Neon"
  4526.             end
  4527.         end
  4528.         for i, v in pairs(extrawingmod2:GetChildren()) do
  4529.             if v:IsA("Part") then
  4530.                 v.Transparency = 0
  4531.                 v.BrickColor = BrickColor.new("Toothpaste")
  4532.                 v.Material = "Neon"
  4533.             end
  4534.         end
  4535.         for i, v in pairs(extrawingmod3:GetChildren()) do
  4536.             if v:IsA("Part") then
  4537.                 v.Transparency = 0
  4538.                 v.BrickColor = BrickColor.new("Toothpaste")
  4539.                 v.Material = "Neon"
  4540.             end
  4541.         end
  4542.         for i, v in pairs(extrawingmod4:GetChildren()) do
  4543.             if v:IsA("Part") then
  4544.                 v.Transparency = 0
  4545.                 v.BrickColor = BrickColor.new("Toothpaste")
  4546.                 v.Material = "Neon"
  4547.             end
  4548.         end
  4549.     elseif k == "q" and attack == false and ModeOfGlitch == 2 then
  4550.         resetmode()
  4551.     end
  4552.     if k == "e" and attack == false and ModeOfGlitch ~= 3 then
  4553.         ModeOfGlitch = 3
  4554.         storehumanoidWS = 200
  4555.         hum.WalkSpeed = 200
  4556.         rainbowmode = false
  4557.         Editer_mode = false
  4558.         chaosmode = false
  4559.         RecolorTextAndRename("Corruption", Color3.new(0, 0, 0), Color3.new(0.35, 0, 1))
  4560.         newTheme("rbxassetid://1509634377", 58.15, 1,2)
  4561.         MAINRUINCOLOR = BrickColor.new("Royal purple")
  4562.         for i, v in pairs(mw2:GetChildren()) do
  4563.             if v:IsA("Part") then
  4564.                 v.Transparency = 0
  4565.                 v.BrickColor = MAINRUINCOLOR
  4566.                 v.Material = "Neon"
  4567.             end
  4568.         end
  4569.         for i, v in pairs(mw1:GetChildren()) do
  4570.             if v:IsA("Part") then
  4571.                 v.Transparency = 0
  4572.                 v.BrickColor = MAINRUINCOLOR
  4573.                 v.Material = "Neon"
  4574.             end
  4575.         end
  4576.         for i, v in pairs(m:GetChildren()) do
  4577.             if v:IsA("Part") then
  4578.                 v.Transparency = 0
  4579.                 v.BrickColor = BrickColor.new("Black")
  4580.                 v.Material = "Ice"
  4581.             end
  4582.         end
  4583.         for i, v in pairs(m2:GetChildren()) do
  4584.             if v:IsA("Part") then
  4585.                 v.Transparency = 0
  4586.                 v.BrickColor = BrickColor.new("Royal purple")
  4587.                 v.Material = "Glass"
  4588.             end
  4589.         end
  4590.         for i, v in pairs(m3:GetChildren()) do
  4591.             if v:IsA("Part") then
  4592.                 v.Transparency = 0
  4593.                 v.BrickColor = BrickColor.new("Royal purple")
  4594.                 v.Material = "Neon"
  4595.             end
  4596.         end
  4597.         for i, v in pairs(extrawingmod1:GetChildren()) do
  4598.             if v:IsA("Part") then
  4599.                 v.Transparency = 0
  4600.                 v.BrickColor = BrickColor.new("Royal purple")
  4601.                 v.Material = "Neon"
  4602.             end
  4603.         end
  4604.         for i, v in pairs(extrawingmod2:GetChildren()) do
  4605.             if v:IsA("Part") then
  4606.                 v.Transparency = 0
  4607.                 v.BrickColor = BrickColor.new("Royal purple")
  4608.                 v.Material = "Neon"
  4609.             end
  4610.         end
  4611.         for i, v in pairs(extrawingmod3:GetChildren()) do
  4612.             if v:IsA("Part") then
  4613.                 v.Transparency = 0
  4614.                 v.BrickColor = BrickColor.new("Royal purple")
  4615.                 v.Material = "Neon"
  4616.             end
  4617.         end
  4618.         for i, v in pairs(extrawingmod4:GetChildren()) do
  4619.             if v:IsA("Part") then
  4620.                 v.Transparency = 0
  4621.                 v.BrickColor = BrickColor.new("Royal purple")
  4622.                 v.Material = "Neon"
  4623.             end
  4624.         end
  4625.     elseif k == "e" and attack == false and ModeOfGlitch == 3 then
  4626.         resetmode()
  4627.     end
  4628.     if k == "r" and attack == false and ModeOfGlitch ~= 4 then
  4629.         ModeOfGlitch = 4
  4630.         storehumanoidWS = 200
  4631.         hum.WalkSpeed = 200
  4632.         rainbowmode = false
  4633.         Editer_mode = false
  4634.         chaosmode = true
  4635.         RecolorTextAndRename("Hatred", Color3.new(0, 0, 0), BrickColor.random().Color)
  4636.         newTheme("rbxassetid://415898123", 0, 1, 10)
  4637.         MAINRUINCOLOR = BrickColor.new("Black")
  4638.         for i, v in pairs(mw2:GetChildren()) do
  4639.             if v:IsA("Part") then
  4640.                 v.Transparency = 0.75
  4641.                 v.BrickColor = MAINRUINCOLOR
  4642.                 v.Material = "Neon"
  4643.             end
  4644.         end
  4645.         for i, v in pairs(mw1:GetChildren()) do
  4646.             if v:IsA("Part") then
  4647.                 v.Transparency = 0.75
  4648.                 v.BrickColor = BrickColor.random()
  4649.                 v.Material = "Neon"
  4650.             end
  4651.         end
  4652.         for i, v in pairs(m:GetChildren()) do
  4653.             if v:IsA("Part") then
  4654.                 v.Transparency = 0.75
  4655.                 v.BrickColor = BrickColor.random()
  4656.                 v.Material = "Neon"
  4657.             end
  4658.         end
  4659.         for i, v in pairs(m2:GetChildren()) do
  4660.             if v:IsA("Part") then
  4661.                 v.Transparency = 0.75
  4662.                 v.BrickColor = BrickColor.random()
  4663.                 v.Material = "Neon"
  4664.             end
  4665.         end
  4666.         for i, v in pairs(m3:GetChildren()) do
  4667.             if v:IsA("Part") then
  4668.                 v.Transparency = 0.75
  4669.                 v.BrickColor = BrickColor.random()
  4670.                 v.Material = "Neon"
  4671.             end
  4672.         end
  4673.         for i, v in pairs(extrawingmod1:GetChildren()) do
  4674.             if v:IsA("Part") then
  4675.                 v.Transparency = 0.75
  4676.                 v.BrickColor = BrickColor.Random()
  4677.                 v.Material = "Neon"
  4678.             end
  4679.         end
  4680.         for i, v in pairs(extrawingmod2:GetChildren()) do
  4681.             if v:IsA("Part") then
  4682.                 v.Transparency = 0.75
  4683.                 v.BrickColor = BrickColor.Random()
  4684.                 v.Material = "Neon"
  4685.             end
  4686.         end
  4687.         for i, v in pairs(extrawingmod3:GetChildren()) do
  4688.             if v:IsA("Part") then
  4689.                 v.Transparency = 0.75
  4690.                 v.BrickColor = BrickColor.Random()
  4691.                 v.Material = "Neon"
  4692.             end
  4693.         end
  4694.         for i, v in pairs(extrawingmod4:GetChildren()) do
  4695.             if v:IsA("Part") then
  4696.                 v.Transparency = 0.75
  4697.                 v.BrickColor = BrickColor.Random()
  4698.                 v.Material = "Neon"
  4699.             end
  4700.         end
  4701.     elseif k == "r" and attack == false and ModeOfGlitch == 4 then
  4702.         resetmode()
  4703.     end
  4704.         if k == "j" and attack == false and ModeOfGlitch ~= 2547 then
  4705.         ModeOfGlitch = 2547
  4706.         storehumanoidWS = 200
  4707.         hum.WalkSpeed = 200
  4708.         rainbowmode = false
  4709.         Editer_mode = false
  4710.         chaosmode = false
  4711.         love_mode = true
  4712.         RecolorTextAndRename("Love", Color3.new(255, 152, 220), Color3.new(255,0,191))
  4713.         newTheme("rbxassetid://1119453744", 20.25, 1, 1)
  4714.         MAINRUINCOLOR = BrickColor.new("Carnation pink")
  4715.         for i, v in pairs(mw2:GetChildren()) do
  4716.             if v:IsA("Part") then
  4717.                 v.Transparency = 0.75
  4718.                 v.BrickColor = BrickColor.new("Hot pink")
  4719.                 v.Material = "Neon"
  4720.             end
  4721.         end
  4722.         for i, v in pairs(mw1:GetChildren()) do
  4723.             if v:IsA("Part") then
  4724.                 v.Transparency = 0.75
  4725.                 v.BrickColor = BrickColor.new("Hot pink")
  4726.                 v.Material = "Neon"
  4727.             end
  4728.         end
  4729.         for i, v in pairs(m:GetChildren()) do
  4730.             if v:IsA("Part") then
  4731.                 v.Transparency = 0.75
  4732.                 v.BrickColor = BrickColor.new("Pink")
  4733.                 v.Material = "Neon"
  4734.             end
  4735.         end
  4736.         for i, v in pairs(m2:GetChildren()) do
  4737.             if v:IsA("Part") then
  4738.                 v.Transparency = 0.75
  4739.                 v.BrickColor = BrickColor.new("Pink")
  4740.                 v.Material = "Neon"
  4741.             end
  4742.         end
  4743.         for i, v in pairs(m3:GetChildren()) do
  4744.             if v:IsA("Part") then
  4745.                 v.Transparency = 0.75
  4746.                 v.BrickColor = BrickColor.new("Pink")
  4747.                 v.Material = "Neon"
  4748.             end
  4749.         end
  4750.         for i, v in pairs(extrawingmod1:GetChildren()) do
  4751.             if v:IsA("Part") then
  4752.                 v.Transparency = 0.75
  4753.                 v.BrickColor = BrickColor.new("Hot pink")
  4754.                 v.Material = "Neon"
  4755.             end
  4756.         end
  4757.         for i, v in pairs(extrawingmod2:GetChildren()) do
  4758.             if v:IsA("Part") then
  4759.                 v.Transparency = 0.75
  4760.                 v.BrickColor = BrickColor.new("Hot pink")
  4761.                 v.Material = "Neon"
  4762.             end
  4763.         end
  4764.         for i, v in pairs(extrawingmod3:GetChildren()) do
  4765.             if v:IsA("Part") then
  4766.                 v.Transparency = 0.75
  4767.                 v.BrickColor = BrickColor.new("Hot pink")
  4768.                 v.Material = "Neon"
  4769.             end
  4770.         end
  4771.         for i, v in pairs(extrawingmod4:GetChildren()) do
  4772.             if v:IsA("Part") then
  4773.                 v.Transparency = 0.75
  4774.                 v.BrickColor = BrickColor.new("Hot pink")
  4775.                 v.Material = "Neon"
  4776.             end
  4777.         end
  4778.     elseif k == "j" and attack == false and ModeOfGlitch == 2547 then
  4779.         resetmode()
  4780.     end
  4781.     if k == "t" and attack == false and ModeOfGlitch ~= 5 then
  4782.         ModeOfGlitch = 5
  4783.         storehumanoidWS = 200
  4784.         hum.WalkSpeed = 200
  4785.         rainbowmode = false
  4786.         Editer_mode = false
  4787.         chaosmode = false
  4788.         love_mode = false
  4789.         RecolorTextAndRename("Soltiude", Color3.new(0, 0, 0), Color3.new(255, 255, 255))
  4790.         newTheme("rbxassetid://723652641", 10, 1, 3.2)     
  4791.         MAINRUINCOLOR = BrickColor.new("Really black")
  4792.         for i, v in pairs(mw2:GetChildren()) do
  4793.             if v:IsA("Part") then
  4794.                 v.Transparency = 0
  4795.                 v.BrickColor = MAINRUINCOLOR
  4796.                 v.Material = "Neon"
  4797.             end
  4798.         end
  4799.         for i, v in pairs(mw1:GetChildren()) do
  4800.             if v:IsA("Part") then
  4801.                 v.Transparency = 0
  4802.                 v.BrickColor = MAINRUINCOLOR
  4803.                 v.Material = "Neon"
  4804.             end
  4805.         end
  4806.         for i, v in pairs(m:GetChildren()) do
  4807.             if v:IsA("Part") then
  4808.                 v.Transparency = 0
  4809.                 v.BrickColor = BrickColor.new("Really black")
  4810.                 v.Material = "Ice"
  4811.             end
  4812.         end
  4813.         for i, v in pairs(m2:GetChildren()) do
  4814.             if v:IsA("Part") then
  4815.                 v.Transparency = 0
  4816.                 v.BrickColor = BrickColor.new("Really black")
  4817.                 v.Material = "Ice"
  4818.             end
  4819.         end
  4820.         for i, v in pairs(m3:GetChildren()) do
  4821.             if v:IsA("Part") then
  4822.                 v.Transparency = 0
  4823.                 v.BrickColor = BrickColor.new("Really black")
  4824.                 v.Material = "Neon"
  4825.             end
  4826.         end
  4827.         for i, v in pairs(extrawingmod1:GetChildren()) do
  4828.             if v:IsA("Part") then
  4829.                 v.Transparency = 0
  4830.                 v.BrickColor = BrickColor.new("Really black")
  4831.                 v.Material = "Neon"
  4832.             end
  4833.         end
  4834.         for i, v in pairs(extrawingmod2:GetChildren()) do
  4835.             if v:IsA("Part") then
  4836.                 v.Transparency = 0
  4837.                 v.BrickColor = BrickColor.new("Really black")
  4838.                 v.Material = "Neon"
  4839.             end
  4840.         end
  4841.         for i, v in pairs(extrawingmod3:GetChildren()) do
  4842.             if v:IsA("Part") then
  4843.                 v.Transparency = 0
  4844.                 v.BrickColor = BrickColor.new("Really black")
  4845.                 v.Material = "Neon"
  4846.             end
  4847.         end
  4848.         for i, v in pairs(extrawingmod4:GetChildren()) do
  4849.             if v:IsA("Part") then
  4850.                 v.Transparency = 0
  4851.                 v.BrickColor = BrickColor.new("Really black")
  4852.                 v.Material = "Neon"
  4853.             end
  4854.         end
  4855.     elseif k == "t" and attack == false and ModeOfGlitch == 5 then
  4856.         resetmode()
  4857.     end
  4858.     if k == "y" and attack == false and ModeOfGlitch ~= 6 then
  4859.         ModeOfGlitch = 6
  4860.         storehumanoidWS = 200
  4861.         hum.WalkSpeed = 200
  4862.         rainbowmode = false
  4863.         chaosmode = false
  4864.         Editer_mode = false
  4865.         love_mode = false
  4866.         RecolorTextAndRename("Equality", Color3.new(0, 0, 0), Color3.new(1, 1, 1))
  4867.         newTheme("rbxassetid://519067542", 0, 1, 1)
  4868.         MAINRUINCOLOR = BrickColor.new("Really black")
  4869.         for i, v in pairs(mw2:GetChildren()) do
  4870.             if v:IsA("Part") then
  4871.                 v.Transparency = 0
  4872.                 v.BrickColor = BrickColor.new("White")
  4873.                 v.Material = "Neon"
  4874.             end
  4875.         end
  4876.         for i, v in pairs(mw1:GetChildren()) do
  4877.             if v:IsA("Part") then
  4878.                 v.Transparency = 0
  4879.                 v.BrickColor = BrickColor.new("Really black")
  4880.                 v.Material = "Neon"
  4881.             end
  4882.         end
  4883.         for i, v in pairs(m:GetChildren()) do
  4884.             if v:IsA("Part") then
  4885.                 v.Transparency = 0
  4886.                 v.BrickColor = BrickColor.new("White")
  4887.                 v.Material = "Ice"
  4888.             end
  4889.         end
  4890.         for i, v in pairs(m2:GetChildren()) do
  4891.             if v:IsA("Part") then
  4892.                 v.Transparency = 0
  4893.                 v.BrickColor = BrickColor.new("Really black")
  4894.                 v.Material = "Ice"
  4895.             end
  4896.         end
  4897.         for i, v in pairs(m3:GetChildren()) do
  4898.             if v:IsA("Part") then
  4899.                 v.Transparency = 0
  4900.                 v.BrickColor = BrickColor.new("White")
  4901.                 v.Material = "Neon"
  4902.             end
  4903.         end
  4904.         for i, v in pairs(extrawingmod1:GetChildren()) do
  4905.             if v:IsA("Part") then
  4906.                 v.Transparency = 0
  4907.                 v.BrickColor = BrickColor.new("Really black")
  4908.                 v.Material = "Neon"
  4909.             end
  4910.         end
  4911.         for i, v in pairs(extrawingmod2:GetChildren()) do
  4912.             if v:IsA("Part") then
  4913.                 v.Transparency = 0
  4914.                 v.BrickColor = BrickColor.new("White")
  4915.                 v.Material = "Neon"
  4916.             end
  4917.         end
  4918.         for i, v in pairs(extrawingmod3:GetChildren()) do
  4919.             if v:IsA("Part") then
  4920.                 v.Transparency = 0
  4921.                 v.BrickColor = BrickColor.new("Really black")
  4922.                 v.Material = "Neon"
  4923.             end
  4924.         end
  4925.         for i, v in pairs(extrawingmod4:GetChildren()) do
  4926.             if v:IsA("Part") then
  4927.                 v.Transparency = 0
  4928.                 v.BrickColor = BrickColor.new("White")
  4929.                 v.Material = "Neon"
  4930.             end
  4931.         end
  4932.     elseif k == "y" and attack == false and ModeOfGlitch == 6 then
  4933.         resetmode()
  4934.     end
  4935.     if k == "g" and attack == false and ModeOfGlitch ~= 18022547 then
  4936.         ModeOfGlitch = 18022547
  4937.         storehumanoidWS = 200
  4938.         hum.WalkSpeed = 200
  4939.         Editer_mode = true
  4940.         chaosmode = false
  4941.         rainbowmode = false
  4942.         love_mode = false
  4943.         RecolorTextAndRename("Editer", Color3.new(1,1,1), Color3.new(1, 1, 1))
  4944.         --newTheme("rbxassetid://152539141", 0, 1, 1)
  4945.         MAINRUINCOLOR = BrickColor.new("Pastel green")
  4946.         for i, v in pairs(mw2:GetChildren()) do
  4947.             if v:IsA("Part") then
  4948.                 v.Transparency = 0
  4949.                 v.BrickColor = BrickColor.new("Really blue")
  4950.                 v.Material = "Neon"
  4951.             end
  4952.         end
  4953.         for i, v in pairs(mw1:GetChildren()) do
  4954.             if v:IsA("Part") then
  4955.                 v.Transparency = 0
  4956.                 v.BrickColor = BrickColor.new("Really red")
  4957.                 v.Material = "Neon"
  4958.             end
  4959.         end
  4960.         for i, v in pairs(m:GetChildren()) do
  4961.             if v:IsA("Part") then
  4962.                 v.Transparency = 0
  4963.                 v.BrickColor = BrickColor.new("Bright green")
  4964.                 v.Material = "Neon"
  4965.             end
  4966.         end
  4967.         for i, v in pairs(m2:GetChildren()) do
  4968.             if v:IsA("Part") then
  4969.                 v.Transparency = 0
  4970.                 v.BrickColor = BrickColor.new("Bright green")
  4971.                 v.Material = "Neon"
  4972.             end
  4973.         end
  4974.         for i, v in pairs(m3:GetChildren()) do
  4975.             if v:IsA("Part") then
  4976.                 v.Transparency = 0
  4977.                 v.BrickColor = BrickColor.new("Bright green")
  4978.                 v.Material = "Neon"
  4979.             end
  4980.         end
  4981.         for i, v in pairs(extrawingmod1:GetChildren()) do
  4982.             if v:IsA("Part") then
  4983.                 v.Transparency = 0
  4984.                 v.BrickColor = BrickColor.new("Really red")
  4985.                 v.Material = "Neon"
  4986.             end
  4987.         end
  4988.         for i, v in pairs(extrawingmod2:GetChildren()) do
  4989.             if v:IsA("Part") then
  4990.                 v.Transparency = 0
  4991.                 v.BrickColor = BrickColor.new("Really blue")
  4992.                 v.Material = "Neon"
  4993.             end
  4994.         end
  4995.         for i, v in pairs(extrawingmod3:GetChildren()) do
  4996.             if v:IsA("Part") then
  4997.                 v.Transparency = 0
  4998.                 v.BrickColor = BrickColor.new("Really red")
  4999.                 v.Material = "Neon"
  5000.             end
  5001.         end
  5002.         for i, v in pairs(extrawingmod4:GetChildren()) do
  5003.             if v:IsA("Part") then
  5004.                 v.Transparency = 0
  5005.                 v.BrickColor = BrickColor.new("Really blue")
  5006.                 v.Material = "Neon"
  5007.             end
  5008.         end
  5009.     elseif k == "g" and attack == false and ModeOfGlitch == 18022547 then
  5010.         resetmode()
  5011.     end
  5012.     if k == "h" and attack == false and ModeOfGlitch ~= 18 then
  5013.         ModeOfGlitch = 18
  5014.         storehumanoidWS = 200
  5015.         hum.WalkSpeed = 200
  5016.         Editer_mode = true
  5017.         chaosmode = false
  5018.         rainbowmode = false
  5019.         love_mode = false
  5020.         RecolorTextAndRename("Anoxin", Color3.new(1,1,1), Color3.new(33, 84, 185))
  5021.         --newTheme("rbxassetid://152539141", 0, 1, 1)
  5022.         MAINRUINCOLOR = BrickColor.new("Deep blue")
  5023.         for i, v in pairs(mw2:GetChildren()) do
  5024.             if v:IsA("Part") then
  5025.                 v.Transparency = 0
  5026.                 v.BrickColor = BrickColor.new("Deep blue")
  5027.                 v.Material = "Neon"
  5028.             end
  5029.         end
  5030.         for i, v in pairs(mw1:GetChildren()) do
  5031.             if v:IsA("Part") then
  5032.                 v.Transparency = 0
  5033.                 v.BrickColor = BrickColor.new("Deep blue")
  5034.                 v.Material = "Neon"
  5035.             end
  5036.         end
  5037.         for i, v in pairs(m:GetChildren()) do
  5038.             if v:IsA("Part") then
  5039.                 v.Transparency = 0
  5040.                 v.BrickColor = BrickColor.new("Deep blue")
  5041.                 v.Material = "Neon"
  5042.             end
  5043.         end
  5044.         for i, v in pairs(m2:GetChildren()) do
  5045.             if v:IsA("Part") then
  5046.                 v.Transparency = 0
  5047.                 v.BrickColor = BrickColor.new("Deep blue")
  5048.                 v.Material = "Neon"
  5049.             end
  5050.         end
  5051.         for i, v in pairs(m3:GetChildren()) do
  5052.             if v:IsA("Part") then
  5053.                 v.Transparency = 0
  5054.                 v.BrickColor = BrickColor.new("Deep blue")
  5055.                 v.Material = "Neon"
  5056.             end
  5057.         end
  5058.         for i, v in pairs(extrawingmod1:GetChildren()) do
  5059.             if v:IsA("Part") then
  5060.                 v.Transparency = 0
  5061.                 v.BrickColor = BrickColor.new("Deep blue")
  5062.                 v.Material = "Neon"
  5063.             end
  5064.         end
  5065.         for i, v in pairs(extrawingmod2:GetChildren()) do
  5066.             if v:IsA("Part") then
  5067.                 v.Transparency = 0
  5068.                 v.BrickColor = BrickColor.new("Deep blue")
  5069.                 v.Material = "Neon"
  5070.             end
  5071.         end
  5072.         for i, v in pairs(extrawingmod3:GetChildren()) do
  5073.             if v:IsA("Part") then
  5074.                 v.Transparency = 0
  5075.                 v.BrickColor = BrickColor.new("Deep blue")
  5076.                 v.Material = "Neon"
  5077.             end
  5078.         end
  5079.         for i, v in pairs(extrawingmod4:GetChildren()) do
  5080.             if v:IsA("Part") then
  5081.                 v.Transparency = 0
  5082.                 v.BrickColor = BrickColor.new("Deep blue")
  5083.                 v.Material = "Neon"
  5084.             end
  5085.         end
  5086.     elseif k == "h" and attack == false and ModeOfGlitch == 18 then
  5087.         resetmode()
  5088.     end
  5089.     if k == "u" and attack == false and ModeOfGlitch ~= 6127843 then
  5090.         ModeOfGlitch = 6127843
  5091.         storehumanoidWS = 200
  5092.         hum.WalkSpeed = 200
  5093.         rainbowmode = true
  5094.         chaosmode = false
  5095.         Editer_mode = false
  5096.         love_mode = false
  5097.         RecolorTextAndRename("StarLight", Color3.new(1, 1, 1), Color3.new(1, 1, 1))
  5098.         newTheme("rbxassetid://152539141", 0, 1, 1)
  5099.         MAINRUINCOLOR = BrickColor.new("White")
  5100.         for i, v in pairs(mw2:GetChildren()) do
  5101.             if v:IsA("Part") then
  5102.                 v.Transparency = 0
  5103.                 v.BrickColor = MAINRUINCOLOR
  5104.                 v.Material = "Neon"
  5105.             end
  5106.         end
  5107.         for i, v in pairs(mw1:GetChildren()) do
  5108.             if v:IsA("Part") then
  5109.                 v.Transparency = 0
  5110.                 v.BrickColor = MAINRUINCOLOR
  5111.                 v.Material = "Neon"
  5112.             end
  5113.         end
  5114.         for i, v in pairs(m:GetChildren()) do
  5115.             if v:IsA("Part") then
  5116.                 v.Transparency = 0
  5117.                 v.BrickColor = BrickColor.new("White")
  5118.                 v.Material = "Neon"
  5119.             end
  5120.         end
  5121.         for i, v in pairs(m2:GetChildren()) do
  5122.             if v:IsA("Part") then
  5123.                 v.Transparency = 0
  5124.                 v.BrickColor = BrickColor.new("White")
  5125.                 v.Material = "Neon"
  5126.             end
  5127.         end
  5128.         for i, v in pairs(m3:GetChildren()) do
  5129.             if v:IsA("Part") then
  5130.                 v.Transparency = 0
  5131.                 v.BrickColor = BrickColor.new("White")
  5132.                 v.Material = "Neon"
  5133.             end
  5134.         end
  5135.         for i, v in pairs(extrawingmod1:GetChildren()) do
  5136.             if v:IsA("Part") then
  5137.                 v.Transparency = 0
  5138.                 v.BrickColor = BrickColor.new("White")
  5139.                 v.Material = "Neon"
  5140.             end
  5141.         end
  5142.         for i, v in pairs(extrawingmod2:GetChildren()) do
  5143.             if v:IsA("Part") then
  5144.                 v.Transparency = 0
  5145.                 v.BrickColor = BrickColor.new("White")
  5146.                 v.Material = "Neon"
  5147.             end
  5148.         end
  5149.         for i, v in pairs(extrawingmod4:GetChildren()) do
  5150.             if v:IsA("Part") then
  5151.                 v.Transparency = 0
  5152.                 v.BrickColor = BrickColor.new("White")
  5153.                 v.Material = "Neon"
  5154.             end
  5155.         end
  5156.         for i, v in pairs(extrawingmod4:GetChildren()) do
  5157.             if v:IsA("Part") then
  5158.                 v.Transparency = 0
  5159.                 v.BrickColor = BrickColor.new("White")
  5160.                 v.Material = "Neon"
  5161.             end
  5162.         end
  5163.     elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
  5164.         resetmode()
  5165.     end
  5166.     if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
  5167.         ModeOfGlitch = 1000000
  5168.         storehumanoidWS = 200
  5169.         hum.WalkSpeed = 200
  5170.         rainbowmode = false
  5171.         chaosmode = false
  5172.         Editer_mode = false
  5173.         love_mode = false
  5174.         RecolorTextAndRename("Antimatter", Color3.new(248, 248, 248), Color3.new(248, 248, 248))
  5175.         newTheme("rbxassetid://614032233", 0, 1, 1)
  5176.         MAINRUINCOLOR = BrickColor.new("Instiutional white")
  5177.         for i, v in pairs(mw2:GetChildren()) do
  5178.             if v:IsA("Part") then
  5179.                 v.Transparency = 0
  5180.                 v.BrickColor = MAINRUINCOLOR
  5181.                 v.Material = "Neon"
  5182.             end
  5183.         end
  5184.         for i, v in pairs(mw1:GetChildren()) do
  5185.             if v:IsA("Part") then
  5186.                 v.Transparency = 0
  5187.                 v.BrickColor = MAINRUINCOLOR
  5188.                 v.Material = "Neon"
  5189.             end
  5190.         end
  5191.         for i, v in pairs(m:GetChildren()) do
  5192.             if v:IsA("Part") then
  5193.                 v.Transparency = 0
  5194.                 v.BrickColor = MAINRUINCOLOR
  5195.                 v.Material = "Neon"
  5196.             end
  5197.         end
  5198.         for i, v in pairs(m2:GetChildren()) do
  5199.             if v:IsA("Part") then
  5200.                 v.Transparency = 0
  5201.                 v.BrickColor = MAINRUINCOLOR
  5202.                 v.Material = "Neon"
  5203.             end
  5204.         end
  5205.         for i, v in pairs(m3:GetChildren()) do
  5206.             if v:IsA("Part") then
  5207.                 v.Transparency = 0
  5208.                 v.BrickColor = MAINRUINCOLOR
  5209.                 v.Material = "Neon"
  5210.             end
  5211.         end
  5212.         for i, v in pairs(extrawingmod1:GetChildren()) do
  5213.             if v:IsA("Part") then
  5214.                 v.Transparency = 0
  5215.                 v.BrickColor = MAINRUINCOLOR
  5216.                 v.Material = "Neon"
  5217.             end
  5218.         end
  5219.         for i, v in pairs(extrawingmod2:GetChildren()) do
  5220.             if v:IsA("Part") then
  5221.                 v.Transparency = 0
  5222.                 v.BrickColor = MAINRUINCOLOR
  5223.                 v.Material = "Neon"
  5224.             end
  5225.         end
  5226.         for i, v in pairs(extrawingmod3:GetChildren()) do
  5227.             if v:IsA("Part") then
  5228.                 v.Transparency = 0
  5229.                 v.BrickColor = MAINRUINCOLOR
  5230.                 v.Material = "Neon"
  5231.             end
  5232.         end
  5233.         for i, v in pairs(extrawingmod4:GetChildren()) do
  5234.             if v:IsA("Part") then
  5235.                 v.Transparency = 0
  5236.                 v.BrickColor = MAINRUINCOLOR
  5237.                 v.Material = "Neon"
  5238.             end
  5239.         end
  5240.     elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
  5241.         resetmode()
  5242.     end
  5243.     if k == "k" and toggleTag == false then
  5244.         toggleTag = true
  5245.         text.TextTransparency = 0
  5246.         text.TextStrokeTransparency = 0
  5247.     elseif k == "k" and toggleTag == true then
  5248.         toggleTag = false
  5249.         text.TextTransparency = 1
  5250.         text.TextStrokeTransparency = 1
  5251.     end
  5252.     if k == "z" and attack == false and ModeOfGlitch == 1 then
  5253.         ExtinctiveHeartbreak()
  5254.     elseif k == "l" and attack == false and ModeOfGlitch == 1 then
  5255.         deadworld()
  5256.     elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  5257.         PureBomb()
  5258.     elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  5259.         scattercorrupt()
  5260.     elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  5261.         ChaosGroundStrike()
  5262.     elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  5263.         ExtinctiveHeartbreak()
  5264.     elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
  5265.         UniversalSpark()
  5266.     elseif k == "l" and attack == false and ModeOfGlitch == 1000000 then
  5267.         scattercorrupt()
  5268.         wait(1)
  5269.         yinyangi()
  5270.     elseif k == "l" and attack == false and ModeOfGlitch == 5 then
  5271.         scattercorrupt()
  5272.     elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  5273.         yinyangi()
  5274.     elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
  5275.         Wip()
  5276.     end
  5277.     if k == "l" and attack == false and ModeOfGlitch == 4 then
  5278.         ChaosBegone()
  5279.     end
  5280.     if k == "l" and attack == false and ModeOfGlitch == 18022547 then
  5281.         print("this ablity is broke[editer try to fix this]")
  5282.         --deletdata()
  5283.     elseif k == "z" and attack == false and ModeOfGlitch == 18022547 then      
  5284.         dataDestroyer()
  5285.     end
  5286.     if k == "l" and attack == false and ModeOfGlitch == 18 then
  5287.         print("Editer not have any idea to make new ablity")
  5288.         --deletdata()
  5289.     elseif k == "z" and attack == false and ModeOfGlitch == 18022547 then      
  5290.         dataDestroyer()
  5291.     end
  5292.     if k == "z" and attack == false and ModeOfGlitch == 2547 then
  5293.         lovebeam()
  5294.     elseif k == "l" and attack == false and ModeOfGlitch == 2547 then
  5295.         print("Editer not have any idea to make new ablity")
  5296.     end
  5297.     if k == "f" and clock_mode == false then   
  5298.         Cloak_wing()
  5299.         Cloak()
  5300.         wing_clock = true
  5301.         clock_mode = true
  5302.     elseif k == "f" and clock_mode == true then
  5303.         UnCloak_wing()     
  5304.         UnCloak()
  5305.         wing_clock = false
  5306.         clock_mode = false
  5307.     elseif k == "x" and wing_clock == false then
  5308.         repeat     
  5309.         Cloak_wing()
  5310.         until wing_clock == false
  5311.         wing_clock = true
  5312.     elseif k == "x" and wing_clock == true then
  5313.         repeat     
  5314.         UnCloak_wing()
  5315.         until wing_clock == true
  5316.         wing_clock = false
  5317.     end
  5318. end)
  5319. coroutine.resume(coroutine.create(function()
  5320.     while true do
  5321.         swait(2)
  5322.         if rainbowmode == true or ModeOfGlitch == 6 and wing_clock == false and clock_mode == false then
  5323.             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)
  5324.         end
  5325.     end
  5326. end))
  5327.  
  5328. coroutine.resume(coroutine.create(function()
  5329.     while true do
  5330.         swait(0.5)
  5331.         if ModeOfGlitch == 1000000 and wing_clock == false and clock_mode == false then
  5332.             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)
  5333.         end
  5334.     end
  5335. end))
  5336.  
  5337. coroutine.resume(coroutine.create(function()
  5338.     while true do
  5339.         swait(0.5)
  5340.         if ModeOfGlitch == 18022547 and wing_clock == false and clock_mode == false then
  5341.             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, BrickColor.new("White"), 0)
  5342.         end
  5343.     end
  5344. end))
  5345.  
  5346. coroutine.resume(coroutine.create(function()
  5347.     while true do
  5348.         swait(2)
  5349.         if chaosmode == true then
  5350.             RecolorTextAndRename("HATRED", Color3.new(0, 0, 0), BrickColor.random().Color)
  5351.         end
  5352.         if chaosmode == true and wing_clock == false and ModeOfGlitch == 4 then
  5353.             RecolorTextAndRename("HATRED", Color3.new(0, 0, 0), BrickColor.random().Color)
  5354.             for i, v in pairs(mw1:GetChildren()) do
  5355.                 if v:IsA("Part") then
  5356.                     v.Transparency = 0.75
  5357.                     v.BrickColor = BrickColor.random()
  5358.                     v.Material = "Neon"
  5359.                 end
  5360.             end
  5361.             for i, v in pairs(mw2:GetChildren()) do
  5362.                 if v:IsA("Part") then
  5363.                     v.Transparency = 0.75
  5364.                     v.BrickColor = BrickColor.random()
  5365.                     v.Material = "Neon"
  5366.                 end
  5367.             end
  5368.             for i, v in pairs(m2:GetChildren()) do
  5369.                 if v:IsA("Part") then
  5370.                     v.Transparency = 0.75
  5371.                     v.BrickColor = BrickColor.random()
  5372.                     v.Material = "Neon"
  5373.                 end
  5374.             end
  5375.             for i, v in pairs(m:GetChildren()) do
  5376.                 if v:IsA("Part") then
  5377.                     v.Transparency = 0.75
  5378.                     v.BrickColor = BrickColor.random()
  5379.                     v.Material = "Neon"
  5380.                 end
  5381.             end
  5382.             for i, v in pairs(m3:GetChildren()) do
  5383.                 if v:IsA("Part") then
  5384.                     v.Transparency = 0.75
  5385.                     v.BrickColor = BrickColor.random()
  5386.                     v.Material = "Neon"
  5387.                 end
  5388.             for i, v in pairs(extrawingmod1:GetChildren()) do
  5389.                 if v:IsA("Part") then
  5390.                     v.Transparency = 0.75
  5391.                     v.BrickColor = BrickColor.random()
  5392.                     v.Material = "Neon"
  5393.                 end
  5394.             end
  5395.             for i, v in pairs(extrawingmod2:GetChildren()) do
  5396.                 if v:IsA("Part") then
  5397.                     v.Transparency = 0.75
  5398.                     v.BrickColor = BrickColor.random()
  5399.                     v.Material = "Neon"
  5400.                 end
  5401.             end
  5402.             for i, v in pairs(extrawingmod3:GetChildren()) do
  5403.                 if v:IsA("Part") then
  5404.                     v.Transparency = 0.75
  5405.                     v.BrickColor = BrickColor.random()
  5406.                     v.Material = "Neon"
  5407.                 end
  5408.             end
  5409.             for i, v in pairs(extrawingmod4:GetChildren()) do
  5410.                 if v:IsA("Part") then
  5411.                     v.Transparency = 0.75
  5412.                     v.BrickColor = BrickColor.random()
  5413.                     v.Material = "Neon"
  5414.                 end
  5415.             end
  5416.         end
  5417.     end
  5418. end
  5419. end))
  5420. coroutine.resume(coroutine.create(function()
  5421.     while true do
  5422.         swait()
  5423.         if wing_clock == true then
  5424.             for i, v in pairs(mw1:GetChildren()) do
  5425.                 if v:IsA("Part") then
  5426.                     v.Transparency = 1
  5427.                     v.BrickColor = v.BrickColor
  5428.                     v.Material = "Neon"
  5429.                 end
  5430.             end
  5431.             for i, v in pairs(mw2:GetChildren()) do
  5432.                 if v:IsA("Part") then
  5433.                     v.Transparency = 1
  5434.                     v.BrickColor = v.BrickColor
  5435.                     v.Material = "Neon"
  5436.                 end
  5437.             end
  5438.             for i, v in pairs(m2:GetChildren()) do
  5439.                 if v:IsA("Part") then
  5440.                     v.Transparency = 1
  5441.                     v.BrickColor = v.BrickColor
  5442.                     v.Material = "Neon"
  5443.                 end
  5444.             end
  5445.             for i, v in pairs(m:GetChildren()) do
  5446.                 if v:IsA("Part") then
  5447.                     v.Transparency = 1
  5448.                     v.BrickColor = v.BrickColor
  5449.                     v.Material = "Neon"
  5450.                 end
  5451.             end
  5452.             for i, v in pairs(m3:GetChildren()) do
  5453.                 if v:IsA("Part") then
  5454.                     v.Transparency = 1
  5455.                     v.BrickColor = v.BrickColor
  5456.                     v.Material = "Neon"
  5457.                 end
  5458.             for i, v in pairs(extrawingmod1:GetChildren()) do
  5459.                 if v:IsA("Part") then
  5460.                     v.Transparency = 1
  5461.                     v.BrickColor = v.BrickColor
  5462.                     v.Material = "Neon"
  5463.                 end
  5464.             end
  5465.             for i, v in pairs(extrawingmod2:GetChildren()) do
  5466.                 if v:IsA("Part") then
  5467.                     v.Transparency = 1
  5468.                     v.BrickColor = v.BrickColor
  5469.                     v.Material = "Neon"
  5470.                 end
  5471.             end
  5472.             for i, v in pairs(extrawingmod3:GetChildren()) do
  5473.                 if v:IsA("Part") then
  5474.                     v.Transparency = 1
  5475.                     v.BrickColor = v.BrickColor
  5476.                     v.Material = "Neon"
  5477.                 end
  5478.             end
  5479.             for i, v in pairs(extrawingmod4:GetChildren()) do
  5480.                 if v:IsA("Part") then
  5481.                     v.Transparency = 1
  5482.                     v.BrickColor = v.BrickColor
  5483.                     v.Material = "Neon"
  5484.                 end
  5485.             end
  5486.         end
  5487.     end
  5488. end
  5489. end))
  5490.  
  5491. coroutine.resume(coroutine.create(function()
  5492.     while true do
  5493.         wait()
  5494.         if  love_mode == true and wing_clock == false then
  5495.             for i, v in pairs(mw1:GetChildren()) do
  5496.                 if v:IsA("Part") then
  5497.                     v.Transparency = 0.75
  5498.                     v.BrickColor = v.BrickColor
  5499.                     v.Material = "Neon"
  5500.                 end
  5501.             end
  5502.             for i, v in pairs(mw2:GetChildren()) do
  5503.                 if v:IsA("Part") then
  5504.                     v.Transparency = 0.75
  5505.                     v.BrickColor = v.BrickColor
  5506.                     v.Material = "Neon"
  5507.                 end
  5508.             end
  5509.             for i, v in pairs(m2:GetChildren()) do
  5510.                 if v:IsA("Part") then
  5511.                     v.Transparency = 0.75
  5512.                     v.BrickColor = v.BrickColor
  5513.                     v.Material = "Neon"
  5514.                 end
  5515.             end
  5516.             for i, v in pairs(m:GetChildren()) do
  5517.                 if v:IsA("Part") then
  5518.                     v.Transparency = 0.75
  5519.                     v.BrickColor = v.BrickColor
  5520.                     v.Material = "Neon"
  5521.                 end
  5522.             end
  5523.             for i, v in pairs(m3:GetChildren()) do
  5524.                 if v:IsA("Part") then
  5525.                     v.Transparency = 0.75
  5526.                     v.BrickColor = v.BrickColor
  5527.                     v.Material = "Neon"
  5528.                 end
  5529.             for i, v in pairs(extrawingmod1:GetChildren()) do
  5530.                 if v:IsA("Part") then
  5531.                     v.Transparency = 0.75
  5532.                     v.BrickColor = v.BrickColor
  5533.                     v.Material = "Neon"
  5534.                 end
  5535.             end
  5536.             for i, v in pairs(extrawingmod2:GetChildren()) do
  5537.                 if v:IsA("Part") then
  5538.                     v.Transparency = 0.75
  5539.                     v.BrickColor = v.BrickColor
  5540.                     v.Material = "Neon"
  5541.                 end
  5542.             end
  5543.             for i, v in pairs(extrawingmod3:GetChildren()) do
  5544.                 if v:IsA("Part") then
  5545.                     v.Transparency = 0.75
  5546.                     v.BrickColor = v.BrickColor
  5547.                     v.Material = "Neon"
  5548.                 end
  5549.             end
  5550.             for i, v in pairs(extrawingmod4:GetChildren()) do
  5551.                 if v:IsA("Part") then
  5552.                     v.Transparency = 0.75
  5553.                     v.BrickColor = v.BrickColor
  5554.                     v.Material = "Neon"
  5555.                 end
  5556.             end
  5557.         end
  5558.     end
  5559. end
  5560. end))
  5561.  
  5562. hum.Name = "STARGLITCHER"
  5563.  
  5564. Humanoid.MaxHealth = math.huge
  5565.  
  5566. Humanoid.Health = math.huge
  5567.  
  5568. Instance.new("ForceField", char).Visible = false
  5569.  idleanim = 0.4
  5570.  
  5571. ----while true do
  5572. ----    if Editer_mode == true then
  5573. ----        RecolorTextAndRename("Editer", Color3.new(r / 255, g / 255, b / 255), Color3.new(r / 500, g / 500, b / 500))
  5574. ----    end
  5575. ----    if Editer_mode == true and wing_clock == false and clock_mode == false and ModeOfGlitch == 18022547 then
  5576. ----        RecolorTextAndRename("Editer", Color3.new(r / 255, g / 255, b / 255), Color3.new(r / 500, g / 500, b / 500))
  5577. ----        MAINRUINCOLOR = BrickColor.new("White")
  5578. ----        for i, v in pairs(m:GetChildren()) do
  5579. ----            if v:IsA("Part") then
  5580. ----                v.Color = BrickColor.new("Toothpaste")
  5581. ----            end
  5582. ----        end
  5583. ----        for i, v in pairs(m2:GetChildren()) do
  5584. ----            if v:IsA("Part") then
  5585. ----                v.Color = BrickColor.new("Toothpaste")
  5586. ----            end
  5587. ----        end
  5588. ----        for i, v in pairs(m3:GetChildren()) do
  5589. ----            if v:IsA("Part") then
  5590. ----                v.Color = BrickColor.new("Toothpaste")
  5591. ----            end
  5592. ----        end
  5593. ----        for i, v in pairs(mw1:GetChildren()) do
  5594. ----            if v:IsA("Part") then
  5595. ----                v.Color = BrickColor.Random()
  5596. ----                v.Material = "Neon"
  5597. ----            end
  5598. ----        end
  5599. ----        for i, v in pairs(mw2:GetChildren()) do
  5600. ----            if v:IsA("Part") then
  5601. ----                v.Color = Color3.new(r / 255, g / 255, b / 255)
  5602. ----                v.Material = "Neon"
  5603. ----            end
  5604. ----        end
  5605. ----        for i, v in pairs(extrawingmod1:GetChildren()) do
  5606. ----            if v:IsA("Part") then
  5607. ----                v.Transparency = 0
  5608. ----                v.Color = BrickColor.Random()
  5609. ----                v.Material = "Neon"
  5610. ----            end
  5611. ----        end
  5612. ----        for i, v in pairs(extrawingmod2:GetChildren()) do
  5613. ----            if v:IsA("Part") then
  5614. ----                v.Transparency = 0
  5615. ----                v.Color = Color3.new(r / 255, g / 255, b / 255)
  5616. ----                v.Material = "Neon"
  5617. ----            end
  5618. ----        end
  5619. ----        for i, v in pairs(extrawingmod3:GetChildren()) do
  5620. ----            if v:IsA("Part") then
  5621. ----                v.Transparency = 0
  5622. ----                v.BrickColor = BrickColor.Random()
  5623. ----                v.Material = "Neon"
  5624. ----            end
  5625. ----        end
  5626. ----        for i, v in pairs(extrawingmod4:GetChildren()) do
  5627. ----            if v:IsA("Part") then
  5628. ----                v.Transparency = 0
  5629. ----                v.BrickColor = Color3.new(r / 255, g / 255, b / 255)
  5630. ----                v.Material = "Neon"
  5631. ----            end
  5632. ----        end
  5633. ----    end
  5634. ----end
  5635. while true do
  5636.     if rainbowmode == true then
  5637.         RecolorTextAndRename("StarLight", Color3.new(r / 255, g / 255, b / 255), Color3.new(r / 500, g / 500, b / 500))
  5638.     end
  5639.     if rainbowmode == true and wing_clock == false and clock_mode == false and ModeOfGlitch == 6127843 then
  5640.         RecolorTextAndRename("StarLight", Color3.new(r / 255, g / 255, b / 255), Color3.new(r / 500, g / 500, b / 500))
  5641.         MAINRUINCOLOR = BrickColor.new("White")
  5642.         for i, v in pairs(m:GetChildren()) do
  5643.             if v:IsA("Part") then
  5644.                 v.Color = Color3.new(r / 255, g / 255, b / 255)
  5645.             end
  5646.         end
  5647.         for i, v in pairs(m2:GetChildren()) do
  5648.             if v:IsA("Part") then
  5649.                 v.Color = Color3.new(r / 255, g / 255, b / 255)
  5650.             end
  5651.         end
  5652.         for i, v in pairs(m3:GetChildren()) do
  5653.             if v:IsA("Part") then
  5654.                 v.Color = Color3.new(r / 255, g / 255, b / 255)
  5655.             end
  5656.         end
  5657.         for i, v in pairs(mw1:GetChildren()) do
  5658.             if v:IsA("Part") then
  5659.                 v.Color = Color3.new(r / 255, g / 255, b / 255)
  5660.                 v.Material = "Neon"
  5661.             end
  5662.         end
  5663.         for i, v in pairs(mw2:GetChildren()) do
  5664.             if v:IsA("Part") then
  5665.                 v.Color = Color3.new(r / 255, g / 255, b / 255)
  5666.                 v.Material = "Neon"
  5667.             end
  5668.         end
  5669.         for i, v in pairs(extrawingmod1:GetChildren()) do
  5670.             if v:IsA("Part") then
  5671.                 v.Transparency = 0
  5672.                 v.Color = Color3.new(r / 255, g / 255, b / 255)
  5673.                 v.Material = "Neon"
  5674.             end
  5675.         end
  5676.         for i, v in pairs(extrawingmod2:GetChildren()) do
  5677.             if v:IsA("Part") then
  5678.                 v.Transparency = 0
  5679.                 v.Color = Color3.new(r / 255, g / 255, b / 255)
  5680.                 v.Material = "Neon"
  5681.             end
  5682.         end
  5683.         for i, v in pairs(extrawingmod3:GetChildren()) do
  5684.             if v:IsA("Part") then
  5685.                 v.Transparency = 0
  5686.                 v.Color = Color3.new(r / 255, g / 255, b / 255)
  5687.                 v.Material = "Neon"
  5688.             end
  5689.         end
  5690.         for i, v in pairs(extrawingmod4:GetChildren()) do
  5691.             if v:IsA("Part") then
  5692.                 v.Transparency = 0
  5693.                 v.Color = Color3.new(r / 255, g / 255, b / 255)
  5694.                 v.Material = "Neon"
  5695.             end
  5696.         end
  5697.     end
  5698.     CameraManager()
  5699.     swait()
  5700.     lwing1weld.C1 = clerp(lwing1weld.C1, cf(2, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(2.5 + 5 * math.cos(sine / 32)), math.rad(0), math.rad(6.25 + 5 * math.cos(sine / 32))), 0.3)
  5701.     lwing2weld.C1 = clerp(lwing2weld.C1, cf(3, 1, 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 + 3.5 * math.cos(sine / 32))), 0.3)
  5702.     lwing3weld.C1 = clerp(lwing3weld.C1, cf(3.5, 2, 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(18.75 + 5 * math.cos(sine / 32))), 0.3)
  5703.     lwing4weld.C1 = clerp(lwing4weld.C1, cf(4, 3, 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(25 + 6.25 * math.cos(sine / 32))), 0.3)
  5704.     lwing5weld.C1 = clerp(lwing5weld.C1, cf(4.5, 4, 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(31.25 + 7.5 * math.cos(sine / 32))), 0.3)
  5705.     lwing6weld.C1 = clerp(lwing6weld.C1, cf(5, 5, 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(37.5 + 8.75 * math.cos(sine / 32))), 0.3)
  5706.     --edit left wing here--
  5707.     lwing7weld.C1 = clerp(lwing7weld.C1, cf(5.5, 6, 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(43.75 + 10 * math.cos(sine / 32))), 0.3)
  5708.     lwing8weld.C1 = clerp(lwing8weld.C1, cf(6, 7, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(35 + 40 * math.cos(sine / 32)), math.rad(0), math.rad(50 + 11.25 * math.cos(sine / 32))), 0.3)
  5709.     lwing9weld.C1 = clerp(lwing9weld.C1, cf(6.5, 8, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(40 + 45 * math.cos(sine / 32)), math.rad(0), math.rad(56.25 + 12.5 * math.cos(sine / 32))), 0.3)
  5710. --  lwing10weld.C1 = clerp(lwing10weld.C1, cf(7, 9, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(45 + 50 * math.cos(sine / 32)), math.rad(0), math.rad(37.5 + 13.75 * math.cos(sine / 32))), 0.3)
  5711.     --end of edit --
  5712.     rwing1weld.C1 = clerp(rwing1weld.C1, cf(-2, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(2.5 + 5 * math.cos(sine / 32)), math.rad(0), math.rad(-6.25 - 5 * math.cos(sine / 32))), 0.3)
  5713.     rwing2weld.C1 = clerp(rwing2weld.C1, cf(-3, 1, 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 - 3.5 * math.cos(sine / 32))), 0.3)
  5714.     rwing3weld.C1 = clerp(rwing3weld.C1, cf(-3.5, 2, 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(-18.75 - 5 * math.cos(sine / 32))), 0.3)
  5715.     rwing4weld.C1 = clerp(rwing4weld.C1, cf(-4, 3, 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(-25 - 6.25 * math.cos(sine / 32))), 0.3)
  5716.     rwing5weld.C1 = clerp(rwing5weld.C1, cf(-4.5, 4, 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(-31.25 - 7.5 * math.cos(sine / 32))), 0.3)
  5717.     rwing6weld.C1 = clerp(rwing6weld.C1, cf(-5, 5, 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(-37.5 - 8.75 * math.cos(sine / 32))), 0.3)
  5718.     --edit right wing--
  5719.     rwing7weld.C1 = clerp(rwing7weld.C1, cf(-5.5, -6, 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(-43.75 - 10 * math.cos(sine / 32))), 0.3)
  5720.     rwing8weld.C1 = clerp(rwing8weld.C1, cf(-6, -7, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(35 + 40 * math.cos(sine / 32)), math.rad(0), math.rad(-50 - 11.25 * math.cos(sine / 32))), 0.3)
  5721.     rwing9weld.C1 = clerp(rwing9weld.C1, cf(-6.6, -8, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(40 + 45 * math.cos(sine / 32)), math.rad(0), math.rad(-56.25 - 12.5 * math.cos(sine / 32))), 0.3)
  5722. --  rwing10weld.C1 = clerp(rwing10weld.C1, cf(-7, -9, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(45 + 50 * math.cos(sine / 32)), math.rad(0), math.rad(-37.5 - 13.75 * math.cos(sine / 32))), 0.3)
  5723.     --end of edit--
  5724.     sine = sine + change
  5725.     local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  5726.     local velderp = RootPart.Velocity.y
  5727.     hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  5728.     if equipped == true or equipped == false then
  5729.         if attack == false then
  5730.             idle = idle + 1
  5731.         else
  5732.             idle = 0
  5733.         end
  5734.         if not (idle >= 500) or attack == false then
  5735.         end
  5736.         if RootPart.Velocity.y > 1 and hitfloor == nil then
  5737.             Anim = "Jump"
  5738.             if attack == false then
  5739.                 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)), 0.1)
  5740.                 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)), 0.1)
  5741.                 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)), 0.1)
  5742.                 Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.1)
  5743.                 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)), 0.1)
  5744.                 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)), 0.1)
  5745.             end
  5746.         elseif RootPart.Velocity.y < -1 and hitfloor == nil then
  5747.             Anim = "Fall"
  5748.             if attack == false then
  5749.                 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)), 0.1)
  5750.                 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)), 0.1)
  5751.                 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)), 0.1)
  5752.                 Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  5753.                 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)), 0.1)
  5754.                 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)), 0.1)
  5755.             end
  5756.         elseif torvel < 1 and hitfloor ~= nil then
  5757.             Anim = "Idle"
  5758.             if attack == false then
  5759.                 if ModeOfGlitch == 1 then
  5760.                     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)), 0.1)
  5761.                     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))), 0.1)
  5762.                     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)), 0.1)
  5763.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(25 - 2.5 * math.cos(sine / 32)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(-20 - 5 * math.cos(sine / 0.465))), 0.1)
  5764.                     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))), 0.1)
  5765.                     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(25)), 0.1)
  5766.                 elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then
  5767.                     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))), 0.1)
  5768.                     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))), 0.1)
  5769.                     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)), 0.1)
  5770.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(15 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(0)), 0.1)
  5771.                     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))), 0.1)
  5772.                     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))), 0.1)
  5773.                 elseif ModeOfGlitch == 3 then
  5774.                     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))), 0.1)
  5775.                     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))), 0.1)
  5776.                     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)), 0.1)
  5777.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(25 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(20)), 0.1)
  5778.                     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))), 0.1)
  5779.                     LW.C0 = clerp(LW.C0, cf(-1.5, 0.75, 0) * angles(math.rad(170), math.rad(-20), math.rad(20)), 0.1)
  5780.                 elseif ModeOfGlitch == 4 then
  5781.                     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)), 0.1)
  5782.                     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)), 0.1)
  5783.                     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)), 0.1)
  5784.                     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))), 0.1)
  5785.                     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))), 0.1)
  5786.                     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))), 0.1)
  5787.                 elseif ModeOfGlitch == 5 or ModeOfGlitch == 2547 then
  5788.                     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))), 0.1)
  5789.                     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))), 0.1)
  5790.                     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)), 0.1)
  5791.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(0)), 0.1)
  5792.                     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)), 0.1)
  5793.                     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)), 0.1)
  5794.                 elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 18022547 then
  5795.                     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)), 0.1)
  5796.                     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)), 0.1)
  5797.                     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)), 0.1)
  5798.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(15), math.rad(0), math.rad(0)), 0.1)
  5799.                     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))), 0.1)
  5800.                     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))), 0.1)
  5801.                 end
  5802.             end
  5803.         elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
  5804.             Anim = "Walk"
  5805.             if attack == false then
  5806.                 if ModeOfGlitch == 1 then
  5807.                     RH.C0 = clerp(RH.C0, cf(1, -0.85, -0.15 - 0.15 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 8)), math.rad(0 + 25 * math.cos(sine / 8))), 0.1)
  5808.                     LH.C0 = clerp(LH.C0, cf(-1, -0.85, -0.15 + 0.15 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 8)), math.rad(0 + 25 * math.cos(sine / 8))), 0.1)
  5809.                     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))), 0.1)
  5810.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(25 - 5 * math.cos(sine / 0.325)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(0 + 5 * math.cos(sine / 8))), 0.1)
  5811.                     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))), 0.1)
  5812.                     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(25)), 0.1)
  5813.                 elseif ModeOfGlitch == 4 then
  5814.                     RH.C0 = clerp(RH.C0, cf(1, -0.85, -0.15 - 0.15 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 12)), math.rad(5 + 25 * math.cos(sine / 12))), 0.1)
  5815.                     LH.C0 = clerp(LH.C0, cf(-1, -0.85, -0.15 + 0.15 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 12)), math.rad(-5 + 25 * math.cos(sine / 12))), 0.1)
  5816.                     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))), 0.1)
  5817.                     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))), 0.1)
  5818.                     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))), 0.1)
  5819.                     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))), 0.1)
  5820.                 elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then
  5821.                     RH.C0 = clerp(RH.C0, cf(1, -0.85, -0.15 - 0.15 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 8)), math.rad(0 + 25 * math.cos(sine / 8))), 0.1)
  5822.                     LH.C0 = clerp(LH.C0, cf(-1, -0.85, -0.15 + 0.15 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 8)), math.rad(0 + 25 * math.cos(sine / 8))), 0.1)
  5823.                     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))), 0.1)
  5824.                     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))), 0.1)
  5825.                     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))), 0.1)
  5826.                     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))), 0.1)
  5827.                 end
  5828.             end
  5829.         elseif torvel >= 22 and hitfloor ~= nil then
  5830.             Anim = "Run"
  5831.             if attack == false then
  5832.                 if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 or ModeOfGlitch ~=18022547 or ModeOfGlitch ~=2547 then
  5833.                     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))), 0.1)
  5834.                     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))), 0.1)
  5835.                     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))), 0.1)
  5836.                     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))), 0.1)
  5837.                     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0 - 155 * math.cos(sine / 6)), math.rad(0), math.rad(5 - 10 * math.cos(sine / 3))), 0.1)
  5838.                     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0 + 155 * math.cos(sine / 6)), math.rad(0), math.rad(-5 + 10 * math.cos(sine / 3))), 0.1)
  5839.                 elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 18022547 or ModeOfGlitch == 2547 then
  5840.                     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)), 0.2)
  5841.                     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)), 0.2)
  5842.                     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)), 0.2)
  5843.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  5844.                     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))), 0.2)
  5845.                     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))), 0.2)
  5846.                 end
  5847.             end
  5848.         end
  5849.     end
  5850. end
  5851. print("update log")
  5852. print("12 may 2018")
  5853. print("add new mode name lover key j")
  5854. print("close extarwing 3 and 4")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement