Advertisement
plytalent

Star beta fe

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