Advertisement
maczohackzo

dgfdfghf

May 22nd, 2021
639
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 186.43 KB | None | 0 0
  1. warn("Star Glitcher Loaded.")
  2. warn("All purpose switcher...")
  3. plr = game.Players.LocalPlayer
  4. char = plr.Character
  5. hum = char.Humanoid
  6. local cam = game.Workspace.CurrentCamera
  7. local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
  8. Camera = cam
  9. local CamInterrupt = false
  10. local TwoD = false
  11. local TargetInfo = {nil, nil}
  12. cam.CameraType = "Custom"
  13. t = char.Torso
  14. h = char.Head
  15. ra = char["Right Arm"]
  16. la = char["Left Arm"]
  17. rl = char["Right Leg"]
  18. ll = char["Left Leg"]
  19. tors = char.Torso
  20. lleg = char["Left Leg"]
  21. root = char.HumanoidRootPart
  22. hed = char.Head
  23. rleg = char["Right Leg"]
  24. rarm = char["Right Arm"]
  25. larm = char["Left Arm"]
  26. radian = math.rad
  27. random = math.random
  28. Vec3 = Vector3.new
  29. Inst = Instance.new
  30. cFrame = CFrame.new
  31. Euler = CFrame.fromEulerAnglesXYZ
  32. vt = Vector3.new
  33. bc = BrickColor.new
  34. br = BrickColor.random
  35. it = Instance.new
  36. cf = CFrame.new
  37. local Booleans = {CamFollow = true, GyroUse = true}
  38. function lerp(object, newCFrame, alpha)
  39.     return object:lerp(newCFrame, alpha)
  40. end
  41. local Directer = Inst("BodyGyro", root)
  42. Directer.MaxTorque = Vec3(0, 0, 0)
  43. Directer.P = 600000
  44. local CPart = Inst("Part")
  45. CPart.Anchored = true
  46. CPart.CanCollide = false
  47. CPart.Locked = true
  48. CPart.Transparency = 1
  49. local rainbowmode = false
  50. local chaosmode = false
  51. kan = Instance.new("Sound", char)
  52. kan.Volume = 1.25
  53. kan.TimePosition = 0
  54. kan.PlaybackSpeed = 1
  55. kan.Pitch = 1
  56. kan.SoundId = "rbxassetid://292715599"
  57. kan.Name = "wrecked"
  58. kan.Looped = true
  59. kan:Play()
  60. function newTheme(ID, timepos, pitch, vol)
  61.     local kanz = kan
  62.     kanz.PlaybackSpeed = pitch
  63.     kanz.Pitch = pitch
  64.     kanz.SoundId = ID
  65.     kanz.Name = "wrecked"
  66.     kanz.Looped = true
  67. end
  68. function CameraShake(Times, Power, PlayerTarget)
  69.     coroutine.resume(coroutine.create(function()
  70.         FV = Instance.new("BoolValue", PlayerTarget)
  71.         FV.Name = "CameraShake"
  72.         for ShakeNum = 1, Times do
  73.             swait()
  74.             local ef = Power
  75.             if ef >= 1 then
  76.                 Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef), math.random(-ef, ef), math.random(-ef, ef))
  77.             else
  78.                 ef = Power * 10
  79.                 Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef) / 10, math.random(-ef, ef) / 10, math.random(-ef, ef) / 10)
  80.             end
  81.         end
  82.         Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  83.         FV:Destroy()
  84.     end))
  85. end
  86. function CameraEnshaking(Length, Intensity)
  87.     coroutine.resume(coroutine.create(function()
  88.         local intensity = 1 * Intensity
  89.         local rotM = 0.01 * Intensity
  90.         for i = 0, Length, 0.1 do
  91.             swait()
  92.             intensity = intensity - 0.05 * Intensity / Length
  93.             rotM = rotM - 5.0E-4 * Intensity / Length
  94.             hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  95.             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)
  96.         end
  97.         Humanoid.CameraOffset = Vec3(0, 0, 0)
  98.     end))
  99. end
  100. function CamShake(Part, Distan, Power, Times)
  101.     local de = Part.Position
  102.     for i, v in pairs(workspace:children()) do
  103.         if v:IsA("Model") and v:findFirstChild("Humanoid") then
  104.             for _, c in pairs(v:children()) do
  105.                 if c.ClassName == "Part" and Distan > (c.Position - de).magnitude then
  106.                     do
  107.                         local Noob = v.Humanoid
  108.                         if Noob ~= nil then
  109.                             coroutine.resume(coroutine.create(function()
  110.                                 FV = Instance.new("BoolValue", Noob)
  111.                                 FV.Name = "CameraShake"
  112.                                 for ShakeNum = 1, Times do
  113.                                     swait()
  114.                                     local ef = Power
  115.                                     if ef >= 1 then
  116.                                         Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef), math.random(-ef, ef), math.random(-ef, ef))
  117.                                     else
  118.                                         ef = Power * 10
  119.                                         Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef) / 10, math.random(-ef, ef) / 10, math.random(-ef, ef) / 10)
  120.                                     end
  121.                                 end
  122.                                 Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  123.                                 FV:Destroy()
  124.                             end))
  125.                             CameraShake(Times, Power, Noob)
  126.                         end
  127.                     end
  128.                 end
  129.             end
  130.         end
  131.     end
  132. end
  133. function chatfunc(text, color)
  134.     local chat = coroutine.wrap(function()
  135.         if Character:FindFirstChild("TalkingBillBoard") ~= nil then
  136.             Character:FindFirstChild("TalkingBillBoard"):destroy()
  137.         end
  138.         local naeeym2 = Instance.new("BillboardGui", Character)
  139.         naeeym2.Size = UDim2.new(0, 100, 0, 40)
  140.         naeeym2.StudsOffset = Vector3.new(0, 3, 0)
  141.         naeeym2.Adornee = Character.Head
  142.         naeeym2.Name = "TalkingBillBoard"
  143.         local tecks2 = Instance.new("TextLabel", naeeym2)
  144.         tecks2.BackgroundTransparency = 1
  145.         tecks2.BorderSizePixel = 0
  146.         tecks2.Text = ""
  147.         tecks2.Font = "SciFi"
  148.         tecks2.TextSize = 30
  149.         tecks2.TextStrokeTransparency = 0
  150.         tecks2.TextColor3 = color
  151.         tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  152.         tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  153.         local tecks3 = Instance.new("TextLabel", naeeym2)
  154.         tecks3.BackgroundTransparency = 1
  155.         tecks3.BorderSizePixel = 0
  156.         tecks3.Text = ""
  157.         tecks3.Font = "SciFi"
  158.         tecks3.TextSize = 30
  159.         tecks3.TextStrokeTransparency = 0
  160.         tecks3.TextColor3 = Color3.new(0, 0, 0)
  161.         tecks3.TextStrokeColor3 = color
  162.         tecks3.Size = UDim2.new(1, 0, 0.5, 0)
  163.         coroutine.resume(coroutine.create(function()
  164.             while true do
  165.                 swait(1)
  166.                 if chaosmode == true then
  167.                     tecks2.TextColor3 = BrickColor.random().Color
  168.                     tecks3.TextStrokeColor3 = BrickColor.random().Color
  169.                 end
  170.                 tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  171.                 tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  172.                 tecks2.Rotation = math.random(-5, 5)
  173.                 tecks3.Rotation = math.random(-5, 5)
  174.             end
  175.         end))
  176.         for i = 1, string.len(text) do
  177.             CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115)
  178.             tecks2.Text = string.sub(text, 1, i)
  179.             tecks3.Text = string.sub(text, 1, i)
  180.             swait(1)
  181.         end
  182.         wait(1)
  183.         local randomrot = math.random(1, 2)
  184.         if randomrot == 1 then
  185.             for i = 1, 50 do
  186.                 swait()
  187.                 tecks2.Rotation = tecks2.Rotation - 0.75
  188.                 tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  189.                 tecks2.TextTransparency = tecks2.TextTransparency + 0.04
  190.                 tecks3.Rotation = tecks2.Rotation + 0.75
  191.                 tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  192.                 tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  193.             end
  194.         elseif randomrot == 2 then
  195.             for i = 1, 50 do
  196.                 swait()
  197.                 tecks2.Rotation = tecks2.Rotation + 0.75
  198.                 tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  199.                 tecks2.TextTransparency = tecks2.TextTransparency + 0.04
  200.                 tecks3.Rotation = tecks2.Rotation - 0.75
  201.                 tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  202.                 tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  203.             end
  204.         end
  205.         naeeym2:Destroy()
  206.     end)
  207.     chat()
  208. end
  209. local Create = LoadLibrary("RbxUtility").Create
  210. CFuncs = {
  211.     Part = {
  212.         Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  213.             local Part = Create("Part")({
  214.                 Parent = Parent,
  215.                 Reflectance = Reflectance,
  216.                 Transparency = Transparency,
  217.                 CanCollide = false,
  218.                 Locked = true,
  219.                 BrickColor = BrickColor.new(tostring(BColor)),
  220.                 Name = Name,
  221.                 Size = Size,
  222.                 Material = Material
  223.             })
  224.             RemoveOutlines(Part)
  225.             return Part
  226.         end
  227.     },
  228.     Mesh = {
  229.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  230.             local Msh = Create(Mesh)({
  231.                 Parent = Part,
  232.                 Offset = OffSet,
  233.                 Scale = Scale
  234.             })
  235.             if Mesh == "SpecialMesh" then
  236.                 Msh.MeshType = MeshType
  237.                 Msh.MeshId = MeshId
  238.             end
  239.             return Msh
  240.         end
  241.     },
  242.     Mesh = {
  243.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  244.             local Msh = Create(Mesh)({
  245.                 Parent = Part,
  246.                 Offset = OffSet,
  247.                 Scale = Scale
  248.             })
  249.             if Mesh == "SpecialMesh" then
  250.                 Msh.MeshType = MeshType
  251.                 Msh.MeshId = MeshId
  252.             end
  253.             return Msh
  254.         end
  255.     },
  256.     Weld = {
  257.         Create = function(Parent, Part0, Part1, C0, C1)
  258.             local Weld = Create("Weld")({
  259.                 Parent = Parent,
  260.                 Part0 = Part0,
  261.                 Part1 = Part1,
  262.                 C0 = C0,
  263.                 C1 = C1
  264.             })
  265.             return Weld
  266.         end
  267.     },
  268.     Sound = {
  269.         Create = function(id, par, vol, pit)
  270.             coroutine.resume(coroutine.create(function()
  271.                 local S = Create("Sound")({
  272.                     Volume = vol,
  273.                     Pitch = pit or 1,
  274.                     SoundId = id,
  275.                     Parent = par or workspace
  276.                 })
  277.                 wait()
  278.                 S:play()
  279.                 game:GetService("Debris"):AddItem(S, 10)
  280.             end))
  281.         end
  282.     },
  283.     LongSound = {
  284.         Create = function(id, par, vol, pit)
  285.             coroutine.resume(coroutine.create(function()
  286.                 local S = Create("Sound")({
  287.                     Volume = vol,
  288.                     Pitch = pit or 1,
  289.                     SoundId = id,
  290.                     Parent = par or workspace
  291.                 })
  292.                 wait()
  293.                 S:play()
  294.                 game:GetService("Debris"):AddItem(S, 30)
  295.             end))
  296.         end
  297.     },
  298.     ParticleEmitter = {
  299.         Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  300.             local fp = Create("ParticleEmitter")({
  301.                 Parent = Parent,
  302.                 Color = ColorSequence.new(Color1, Color2),
  303.                 LightEmission = LightEmission,
  304.                 Size = Size,
  305.                 Texture = Texture,
  306.                 Transparency = Transparency,
  307.                 ZOffset = ZOffset,
  308.                 Acceleration = Accel,
  309.                 Drag = Drag,
  310.                 LockedToPart = LockedToPart,
  311.                 VelocityInheritance = VelocityInheritance,
  312.                 EmissionDirection = EmissionDirection,
  313.                 Enabled = Enabled,
  314.                 Lifetime = LifeTime,
  315.                 Rate = Rate,
  316.                 Rotation = Rotation,
  317.                 RotSpeed = RotSpeed,
  318.                 Speed = Speed,
  319.                 VelocitySpread = VelocitySpread
  320.             })
  321.             return fp
  322.         end
  323.     },
  324.     CreateTemplate = {}
  325. }
  326. function New(Object, Parent, Name, Data)
  327.     local Object = Instance.new(Object)
  328.     for Index, Value in pairs(Data or {}) do
  329.         Object[Index] = Value
  330.     end
  331.     Object.Parent = Parent
  332.     Object.Name = Name
  333.     return Object
  334. end
  335. local halocolor = BrickColor.new("Pastel light blue")
  336. local halocolor2 = BrickColor.new("Cool yellow")
  337. local starcolor = BrickColor.new("Bright yellow")
  338. local lunacolor = BrickColor.new("Navy blue")
  339. local lunacolor2 = BrickColor.new("Bright blue")
  340. local wepcolor = BrickColor.new("Really black")
  341. local maincolor = BrickColor.new("Really black")
  342. local m = Instance.new("Model", char)
  343. local m2 = Instance.new("Model", char)
  344. local m3 = Instance.new("Model", char)
  345. local mw1 = Instance.new("Model", char)
  346. local mw2 = Instance.new("Model", char)
  347. local extrawingmod1 = Instance.new("Model", char)
  348. local extrawingmod2 = Instance.new("Model", char)
  349. function CreateParta(parent, transparency, reflectance, material, brickcolor)
  350.     local p = Instance.new("Part")
  351.     p.TopSurface = 0
  352.     p.BottomSurface = 0
  353.     p.Parent = parent
  354.     p.Size = Vector3.new(0.1, 0.1, 0.1)
  355.     p.Transparency = transparency
  356.     p.Reflectance = reflectance
  357.     p.CanCollide = false
  358.     p.Locked = true
  359.     p.BrickColor = brickcolor
  360.     p.Material = material
  361.     return p
  362. end
  363. function CreateMesh(parent, meshtype, x1, y1, z1)
  364.     local mesh = Instance.new("SpecialMesh", parent)
  365.     mesh.MeshType = meshtype
  366.     mesh.Scale = Vector3.new(x1 * 10, y1 * 10, z1 * 10)
  367.     return mesh
  368. end
  369. function CreateSpecialMesh(parent, meshid, x1, y1, z1)
  370.     local mesh = Instance.new("SpecialMesh", parent)
  371.     mesh.MeshType = "FileMesh"
  372.     mesh.MeshId = meshid
  373.     mesh.Scale = Vector3.new(x1, y1, z1)
  374.     return mesh
  375. end
  376. function CreateSpecialGlowMesh(parent, meshid, x1, y1, z1)
  377.     local mesh = Instance.new("SpecialMesh", parent)
  378.     mesh.MeshType = "FileMesh"
  379.     mesh.MeshId = meshid
  380.     mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  381.     mesh.Scale = Vector3.new(x1, y1, z1)
  382.     mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  383.     return mesh
  384. end
  385. function CreateWeld(parent, part0, part1, C1X, C1Y, C1Z, C1Xa, C1Ya, C1Za, C0X, C0Y, C0Z, C0Xa, C0Ya, C0Za)
  386.     local weld = Instance.new("Weld")
  387.     weld.Parent = parent
  388.     weld.Part0 = part0
  389.     weld.Part1 = part1
  390.     weld.C1 = CFrame.new(C1X, C1Y, C1Z) * CFrame.Angles(C1Xa, C1Ya, C1Za)
  391.     weld.C0 = CFrame.new(C0X, C0Y, C0Z) * CFrame.Angles(C0Xa, C0Ya, C0Za)
  392.     return weld
  393. end
  394. local handlex = CreateParta(mw2, 1, 1, "Neon", maincolor)
  395. CreateMesh(handle, "Brick", 0, 0, 0)
  396. 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))
  397. local valuaring = 10
  398. for i = 0, 49 do
  399.     valuaring = valuaring + 10
  400.     rn = CreateParta(mw2, 0, 0, "Neon", halocolor)
  401.     CreateMesh(rn, "Brick", 0.25, 0.1, 0.1)
  402.     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))
  403. end
  404. local handle = CreateParta(m, 1, 1, "Neon", maincolor)
  405. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  406. 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))
  407. local lwing1 = CreateParta(m, 1, 1, "Neon", maincolor)
  408. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  409. 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))
  410. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  411. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  412. 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))
  413. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  414. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  415. 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))
  416. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  417. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  418. 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))
  419. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  420. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  421. 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))
  422. local lwing2 = CreateParta(m, 1, 1, "Neon", maincolor)
  423. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  424. 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))
  425. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  426. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  427. 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))
  428. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  429. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  430. 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))
  431. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  432. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  433. 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))
  434. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  435. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  436. 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))
  437. local lwing3 = CreateParta(m, 1, 1, "Neon", maincolor)
  438. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  439. local lwing3weld = CreateWeld(lwing3, handle, lwing3, 4.75, 2, 0, math.rad(15), math.rad(0), math.rad(37.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  440. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  441. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  442. 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))
  443. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  444. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  445. 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))
  446. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  447. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  448. 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))
  449. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  450. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  451. 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))
  452. local lwing4 = CreateParta(m, 1, 1, "Neon", maincolor)
  453. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  454. local lwing4weld = CreateWeld(lwing4, handle, lwing4, 5.75, 3, 0, math.rad(20), math.rad(0), math.rad(50), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  455. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  456. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  457. 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))
  458. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  459. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  460. 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))
  461. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  462. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  463. 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))
  464. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  465. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  466. 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))
  467. local lwing5 = CreateParta(m, 1, 1, "Neon", maincolor)
  468. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  469. local lwing5weld = CreateWeld(lwing5, handle, lwing5, 6.75, 4, 0, math.rad(25), math.rad(0), math.rad(62.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  470. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  471. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  472. 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))
  473. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  474. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  475. 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))
  476. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  477. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  478. 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))
  479. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  480. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  481. 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))
  482. local lwing6 = CreateParta(m, 1, 1, "Neon", maincolor)
  483. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  484. local lwing6weld = CreateWeld(lwing6, handle, lwing6, 7.75, 5, 0, math.rad(30), math.rad(0), math.rad(75), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  485. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  486. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  487. 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))
  488. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  489. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  490. 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))
  491. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  492. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  493. 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))
  494. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  495. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  496. 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))
  497. local rwing1 = CreateParta(m, 1, 1, "Neon", maincolor)
  498. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  499. 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))
  500. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  501. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  502. 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))
  503. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  504. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  505. 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))
  506. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  507. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  508. 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))
  509. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  510. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  511. 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))
  512. local rwing2 = CreateParta(m, 1, 1, "Neon", maincolor)
  513. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  514. 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))
  515. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  516. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  517. 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))
  518. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  519. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  520. 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))
  521. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  522. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  523. 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))
  524. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  525. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  526. 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))
  527. local rwing3 = CreateParta(m, 1, 1, "Neon", maincolor)
  528. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  529. local rwing3weld = CreateWeld(rwing3, handle, rwing3, -4.75, 2, 0, math.rad(15), math.rad(0), math.rad(-37.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  530. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  531. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  532. 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))
  533. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  534. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  535. 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))
  536. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  537. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  538. 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))
  539. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  540. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  541. 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))
  542. local rwing4 = CreateParta(m, 1, 1, "Neon", maincolor)
  543. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  544. local rwing4weld = CreateWeld(rwing4, handle, rwing4, -5.75, 3, 0, math.rad(20), math.rad(0), math.rad(-50), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  545. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  546. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  547. 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))
  548. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  549. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  550. 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))
  551. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  552. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  553. 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))
  554. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  555. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  556. 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))
  557. local rwing5 = CreateParta(m, 1, 1, "Neon", maincolor)
  558. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  559. local rwing5weld = CreateWeld(rwing5, handle, rwing5, -6.75, 4, 0, math.rad(25), math.rad(0), math.rad(-62.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  560. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  561. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  562. 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))
  563. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  564. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  565. 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))
  566. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  567. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  568. 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))
  569. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  570. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  571. 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))
  572. local rwing6 = CreateParta(m, 1, 1, "Neon", maincolor)
  573. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  574. local rwing6weld = CreateWeld(rwing6, handle, rwing6, -7.75, 3, 0, math.rad(30), math.rad(0), math.rad(-75), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  575. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  576. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  577. 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))
  578. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  579. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  580. 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))
  581. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  582. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  583. 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))
  584. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  585. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  586. 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))
  587. ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor)
  588. CreateMesh(ran, "Wedge", 1.02, 1.02, 1.02)
  589. 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))
  590. ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  591. CreateMesh(ran, "Wedge", 0.9, 0.9, 1.025)
  592. 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))
  593. ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  594. CreateMesh(ran, "Wedge", 1.025, 0.9, 0.9)
  595. 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))
  596. gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  597. CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
  598. 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))
  599. gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  600. CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
  601. 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))
  602. gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
  603. CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
  604. 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))
  605. gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
  606. CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
  607. 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))
  608. gane = CreateParta(m3, 0, 0, "SmoothPlastic", lunacolor2)
  609. CreateMesh(gane, "Brick", 1.0625, 0.2, 1.0625)
  610. 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))
  611. star = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  612. CreateSpecialMesh(star, "http://www.roblox.com/asset/?id=45428961", 2.5, 2.5, 2.5)
  613. 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))
  614. starl = CreateParta(m3, 0, 0, "SmoothPlastic", starcolor)
  615. CreateSpecialMesh(starl, "http://www.roblox.com/asset/?id=45428961", 1.95, 2.55, 1.95)
  616. 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))
  617. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  618. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  619. 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))
  620. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  621. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  622. 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))
  623. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  624. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  625. 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))
  626. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  627. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  628. 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))
  629. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  630. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  631. 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))
  632. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  633. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  634. 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))
  635. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  636. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  637. 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))
  638. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  639. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  640. 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))
  641. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  642. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  643. 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))
  644. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  645. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  646. 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))
  647. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  648. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  649. 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))
  650. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  651. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  652. 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))
  653. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  654. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  655. 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))
  656. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  657. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  658. 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))
  659. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  660. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  661. 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))
  662. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  663. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  664. 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))
  665. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  666. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  667. 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))
  668. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  669. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  670. 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))
  671. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  672. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  673. 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))
  674. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  675. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  676. 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))
  677. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  678. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  679. 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))
  680. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  681. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  682. 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))
  683. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  684. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  685. 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))
  686. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  687. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  688. 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))
  689. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  690. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  691. 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))
  692. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  693. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  694. 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))
  695. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  696. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  697. 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))
  698. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  699. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  700. 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))
  701. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  702. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  703. 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))
  704. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  705. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  706. 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))
  707. ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor)
  708. CreateMesh(ran, "Wedge", 1.02, 1.02, 1.02)
  709. 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))
  710. ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  711. CreateMesh(ran, "Wedge", 0.9, 0.9, 1.025)
  712. 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))
  713. ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  714. CreateMesh(ran, "Wedge", 1.025, 0.9, 0.9)
  715. 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))
  716. gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  717. CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
  718. 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))
  719. gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  720. CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
  721. 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))
  722. gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
  723. CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
  724. 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))
  725. gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
  726. CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
  727. 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))
  728. gane = CreateParta(m3, 0, 0, "SmoothPlastic", lunacolor2)
  729. CreateMesh(gane, "Brick", 1.0625, 0.2, 1.0625)
  730. 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))
  731. star = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  732. CreateSpecialMesh(star, "http://www.roblox.com/asset/?id=45428961", 2.5, 2.5, 2.5)
  733. 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))
  734. starl = CreateParta(m3, 0, 0, "SmoothPlastic", starcolor)
  735. CreateSpecialMesh(starl, "http://www.roblox.com/asset/?id=45428961", 1.95, 2.55, 1.95)
  736. 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))
  737. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  738. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  739. 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))
  740. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  741. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  742. 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))
  743. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  744. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  745. 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))
  746. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  747. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  748. 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))
  749. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  750. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  751. 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))
  752. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  753. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  754. 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))
  755. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  756. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  757. 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))
  758. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  759. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  760. 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))
  761. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  762. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  763. 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))
  764. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  765. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  766. 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))
  767. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  768. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  769. 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))
  770. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  771. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  772. 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))
  773. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  774. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  775. 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))
  776. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  777. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  778. 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))
  779. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  780. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  781. 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))
  782. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  783. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  784. 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))
  785. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  786. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  787. 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))
  788. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  789. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  790. 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))
  791. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  792. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  793. 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))
  794. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  795. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  796. 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))
  797. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  798. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  799. 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))
  800. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  801. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  802. 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))
  803. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  804. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  805. 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))
  806. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  807. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  808. 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))
  809. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  810. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  811. 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))
  812. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  813. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  814. 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))
  815. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  816. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  817. 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))
  818. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  819. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  820. 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))
  821. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  822. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  823. 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))
  824. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  825. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  826. 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))
  827. for i, v in pairs(m:GetChildren()) do
  828.     if v:IsA("Part") then
  829.         v.BrickColor = BrickColor.new("Really black")
  830.         v.Material = "Glass"
  831.     end
  832. end
  833. for i, v in pairs(m2:GetChildren()) do
  834.     if v:IsA("Part") then
  835.         v.BrickColor = BrickColor.new("Crimson")
  836.         v.Material = "Granite"
  837.     end
  838. end
  839. for i, v in pairs(m3:GetChildren()) do
  840.     if v:IsA("Part") then
  841.         v.BrickColor = BrickColor.new("Really red")
  842.         v.Material = "Neon"
  843.     end
  844. end
  845. for i, v in pairs(mw2:GetChildren()) do
  846.     if v:IsA("Part") then
  847.         v.BrickColor = BrickColor.new("Really red")
  848.         v.Material = "Neon"
  849.     end
  850. end
  851. for i, v in pairs(mw1:GetChildren()) do
  852.     if v:IsA("Part") then
  853.         v.Transparency = 1
  854.         v.BrickColor = BrickColor.new("Really red")
  855.         v.Material = "Neon"
  856.     end
  857. end
  858. for i, v in pairs(extrawingmod1:GetChildren()) do
  859.     if v:IsA("Part") then
  860.         v.Transparency = 1
  861.         v.BrickColor = BrickColor.new("White")
  862.         v.Material = "Neon"
  863.     end
  864. end
  865. for i, v in pairs(extrawingmod2:GetChildren()) do
  866.     if v:IsA("Part") then
  867.         v.Transparency = 1
  868.         v.BrickColor = BrickColor.new("White")
  869.         v.Material = "Neon"
  870.     end
  871. end
  872. local MAINRUINCOLOR = BrickColor.new("Really red")
  873. function RemoveOutlines(part)
  874.     part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  875. end
  876. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  877.     local Part = Create("Part")({
  878.         Parent = Parent,
  879.         Reflectance = Reflectance,
  880.         Transparency = Transparency,
  881.         CanCollide = false,
  882.         Locked = true,
  883.         BrickColor = BrickColor.new(tostring(BColor)),
  884.         Name = Name,
  885.         Size = Size,
  886.         Material = Material
  887.     })
  888.     Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  889.     RemoveOutlines(Part)
  890.     return Part
  891. end
  892. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  893.     local Msh = Create(Mesh)({
  894.         Parent = Part,
  895.         Offset = OffSet,
  896.         Scale = Scale
  897.     })
  898.     if Mesh == "SpecialMesh" then
  899.         Msh.MeshType = MeshType
  900.         Msh.MeshId = MeshId
  901.     end
  902.     return Msh
  903. end
  904. function CreateWeld(Parent, Part0, Part1, C0, C1)
  905.     local Weld = Create("Weld")({
  906.         Parent = Parent,
  907.         Part0 = Part0,
  908.         Part1 = Part1,
  909.         C0 = C0,
  910.         C1 = C1
  911.     })
  912.     return Weld
  913. end
  914. Player = game:GetService("Players").LocalPlayer
  915. Character = Player.Character
  916. PlayerGui = Player.PlayerGui
  917. Backpack = Player.Backpack
  918. Torso = Character.Torso
  919. Head = Character.Head
  920. Humanoid = Character.Humanoid
  921. m = Instance.new("Model", Character)
  922. LeftArm = Character["Left Arm"]
  923. LeftLeg = Character["Left Leg"]
  924. RightArm = Character["Right Arm"]
  925. RightLeg = Character["Right Leg"]
  926. LS = Torso["Left Shoulder"]
  927. LH = Torso["Left Hip"]
  928. RS = Torso["Right Shoulder"]
  929. RH = Torso["Right Hip"]
  930. Face = Head.face
  931. Neck = Torso.Neck
  932. it = Instance.new
  933. attacktype = 1
  934. vt = Vector3.new
  935. cf = CFrame.new
  936. euler = CFrame.fromEulerAnglesXYZ
  937. angles = CFrame.Angles
  938. cloaked = false
  939. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  940. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  941. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  942. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  943. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  944. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  945. RootPart = Character.HumanoidRootPart
  946. RootJoint = RootPart.RootJoint
  947. RootCF = euler(-1.57, 0, 3.14)
  948. attack = false
  949. attackdebounce = false
  950. deb = false
  951. equipped = true
  952. hand = false
  953. MMouse = nil
  954. combo = 0
  955. mana = 0
  956. trispeed = 0.2
  957. attackmode = "none"
  958. local idle = 0
  959. local Anim = "Idle"
  960. local Effects = {}
  961. local gun = false
  962. local shoot = false
  963. local sine = 0
  964. local change = 1
  965. player = nil
  966. local toggleTag = true
  967. local txt = Instance.new("BillboardGui", Head)
  968. txt.Adornee = nil
  969. txt.Name = "NameDetect"
  970. txt.Size = UDim2.new(4, 0, 1.2, 0)
  971. txt.StudsOffset = Vector3.new(-8, 5.333333333333333, 0)
  972. local text = Instance.new("TextLabel", txt)
  973. text.Size = UDim2.new(5, 0, 3.5, 0)
  974. text.FontSize = "Size8"
  975. text.TextScaled = true
  976. text.TextTransparency = 0
  977. text.BackgroundTransparency = 1
  978. text.TextTransparency = 0
  979. text.TextStrokeTransparency = 0
  980. text.Font = "Fantasy"
  981. text.TextStrokeColor3 = Color3.new(1, 0, 0)
  982. text.TextColor3 = Color3.new(0, 0, 0)
  983. text.Text = "Insanity"
  984. function RecolorTextAndRename(name, col1, col2)
  985.     text.TextStrokeColor3 = col2
  986.     text.TextColor3 = col1
  987.     text.Text = name
  988. end
  989. mouse = Player:GetMouse()
  990. RSH, LSH = nil, nil
  991. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  992. RW.Name = "Right Shoulder"
  993. LW.Name = "Left Shoulder"
  994. LH = Torso["Left Hip"]
  995. RH = Torso["Right Hip"]
  996. TorsoColor = Torso.BrickColor
  997. function NoOutline(Part)
  998.     Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
  999. end
  1000. player = Player
  1001. ch = Character
  1002. RSH = ch.Torso["Right Shoulder"]
  1003. LSH = ch.Torso["Left Shoulder"]
  1004. RSH.Parent = nil
  1005. LSH.Parent = nil
  1006. RW.Name = "Right Shoulder"
  1007. RW.Part0 = ch.Torso
  1008. RW.C0 = cf(1.5, 0.5, 0)
  1009. RW.C1 = cf(0, 0.5, 0)
  1010. RW.Part1 = ch["Right Arm"]
  1011. RW.Parent = ch.Torso
  1012. LW.Name = "Left Shoulder"
  1013. LW.Part0 = ch.Torso
  1014. LW.C0 = cf(-1.5, 0.5, 0)
  1015. LW.C1 = cf(0, 0.5, 0)
  1016. LW.Part1 = ch["Left Arm"]
  1017. LW.Parent = ch.Torso
  1018. local Stats = Instance.new("BoolValue")
  1019. Stats.Name = "Stats"
  1020. Stats.Parent = Character
  1021. local Atk = Instance.new("NumberValue")
  1022. Atk.Name = "Damage"
  1023. Atk.Parent = Stats
  1024. Atk.Value = 1
  1025. local Def = Instance.new("NumberValue")
  1026. Def.Name = "Defense"
  1027. Def.Parent = Stats
  1028. Def.Value = 1
  1029. local Speed = Instance.new("NumberValue")
  1030. Speed.Name = "Speed"
  1031. Speed.Parent = Stats
  1032. Speed.Value = 1
  1033. local Mvmt = Instance.new("NumberValue")
  1034. Mvmt.Name = "Movement"
  1035. Mvmt.Parent = Stats
  1036. Mvmt.Value = 1
  1037. local donum = 0
  1038. function part(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  1039.     local fp = it("Part")
  1040.     fp.formFactor = formfactor
  1041.     fp.Parent = parent
  1042.     fp.Reflectance = reflectance
  1043.     fp.Transparency = transparency
  1044.     fp.CanCollide = false
  1045.     fp.Locked = true
  1046.     fp.BrickColor = brickcolor
  1047.     fp.Name = name
  1048.     fp.Size = size
  1049.     fp.Position = Torso.Position
  1050.     NoOutline(fp)
  1051.     fp.Material = "SmoothPlastic"
  1052.     fp:BreakJoints()
  1053.     return fp
  1054. end
  1055. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  1056.     local mesh = it(Mesh)
  1057.     mesh.Parent = part
  1058.     if Mesh == "SpecialMesh" then
  1059.         mesh.MeshType = meshtype
  1060.         if meshid ~= "nil" then
  1061.             mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  1062.         end
  1063.     end
  1064.     mesh.Offset = offset
  1065.     mesh.Scale = scale
  1066.     return mesh
  1067. end
  1068. function weld(parent, part0, part1, c0)
  1069.     local weld = it("Weld")
  1070.     weld.Parent = parent
  1071.     weld.Part0 = part0
  1072.     weld.Part1 = part1
  1073.     weld.C0 = c0
  1074.     return weld
  1075. end
  1076. local Color1 = Torso.BrickColor
  1077. local bodvel = Instance.new("BodyVelocity")
  1078. local bg = Instance.new("BodyGyro")
  1079. function swait(num)
  1080.     if num == 0 or num == nil then
  1081.         game:service("RunService").Stepped:wait(0)
  1082.     else
  1083.         for i = 0, num do
  1084.             game:service("RunService").Stepped:wait(0)
  1085.         end
  1086.     end
  1087. end
  1088. local r = 255
  1089. local g = 0
  1090. local b = 0
  1091. coroutine.resume(coroutine.create(function()
  1092.     while wait() do
  1093.         for i = 0, 50.8 do
  1094.             swait()
  1095.             g = g + 5
  1096.         end
  1097.         for i = 0, 50.8 do
  1098.             swait()
  1099.             r = r - 5
  1100.         end
  1101.         for i = 0, 50.8 do
  1102.             swait()
  1103.             b = b + 5
  1104.         end
  1105.         for i = 0, 50.8 do
  1106.             swait()
  1107.             g = g - 5
  1108.         end
  1109.         for i = 0, 50.8 do
  1110.             swait()
  1111.             r = r + 5
  1112.         end
  1113.         for i = 0, 50.8 do
  1114.             swait()
  1115.             b = b - 5
  1116.         end
  1117.     end
  1118. end))
  1119. function so(id, par, vol, pit)
  1120.     coroutine.resume(coroutine.create(function()
  1121.         local sou = Instance.new("Sound", par or workspace)
  1122.         sou.Volume = vol
  1123.         sou.Pitch = pit or 1
  1124.         sou.SoundId = id
  1125.         swait()
  1126.         sou:play()
  1127.         game:GetService("Debris"):AddItem(sou, 6)
  1128.     end))
  1129. end
  1130. function clerp(a, b, t)
  1131.     local qa = {
  1132.         QuaternionFromCFrame(a)
  1133.     }
  1134.     local qb = {
  1135.         QuaternionFromCFrame(b)
  1136.     }
  1137.     local ax, ay, az = a.x, a.y, a.z
  1138.     local bx, by, bz = b.x, b.y, b.z
  1139.     local _t = 1 - t
  1140.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1141. end
  1142. function QuaternionFromCFrame(cf)
  1143.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1144.     local trace = m00 + m11 + m22
  1145.     if trace > 0 then
  1146.         local s = math.sqrt(1 + trace)
  1147.         local recip = 0.5 / s
  1148.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1149.     else
  1150.         local i = 0
  1151.         if m00 < m11 then
  1152.             i = 1
  1153.         end
  1154.         if m22 > (i == 0 and m00 or m11) then
  1155.             i = 2
  1156.         end
  1157.         if i == 0 then
  1158.             local s = math.sqrt(m00 - m11 - m22 + 1)
  1159.             local recip = 0.5 / s
  1160.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1161.         elseif i == 1 then
  1162.             local s = math.sqrt(m11 - m22 - m00 + 1)
  1163.             local recip = 0.5 / s
  1164.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1165.         elseif i == 2 then
  1166.             local s = math.sqrt(m22 - m00 - m11 + 1)
  1167.             local recip = 0.5 / s
  1168.             return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1169.         end
  1170.     end
  1171. end
  1172. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1173.     local xs, ys, zs = x + x, y + y, z + z
  1174.     local wx, wy, wz = w * xs, w * ys, w * zs
  1175.     local xx = x * xs
  1176.     local xy = x * ys
  1177.     local xz = x * zs
  1178.     local yy = y * ys
  1179.     local yz = y * zs
  1180.     local zz = z * zs
  1181.     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))
  1182. end
  1183. function QuaternionSlerp(a, b, t)
  1184.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1185.     local startInterp, finishInterp
  1186.     if cosTheta >= 1.0E-4 then
  1187.         if 1 - cosTheta > 1.0E-4 then
  1188.             local theta = math.acos(cosTheta)
  1189.             local invSinTheta = 1 / math.sin(theta)
  1190.             startInterp = math.sin((1 - t) * theta) * invSinTheta
  1191.             finishInterp = math.sin(t * theta) * invSinTheta
  1192.         else
  1193.             startInterp = 1 - t
  1194.             finishInterp = t
  1195.         end
  1196.     elseif 1 + cosTheta > 1.0E-4 then
  1197.         local theta = math.acos(-cosTheta)
  1198.         local invSinTheta = 1 / math.sin(theta)
  1199.         startInterp = math.sin((t - 1) * theta) * invSinTheta
  1200.         finishInterp = math.sin(t * theta) * invSinTheta
  1201.     else
  1202.         startInterp = t - 1
  1203.         finishInterp = t
  1204.     end
  1205.     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
  1206. end
  1207. local CFrameFromTopBack = function(at, top, back)
  1208.     local right = top:Cross(back)
  1209.     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)
  1210. end
  1211. function Triangle(a, b, c)
  1212.     local edg1 = (c - a):Dot((b - a).unit)
  1213.     local edg2 = (a - b):Dot((c - b).unit)
  1214.     local edg3 = (b - c):Dot((a - c).unit)
  1215.     if edg1 <= (b - a).magnitude and edg1 >= 0 then
  1216.         a, b = a, b
  1217.     elseif edg2 <= (c - b).magnitude and edg2 >= 0 then
  1218.         a, b, c = b, c, a
  1219.     elseif edg3 <= (a - c).magnitude and edg3 >= 0 then
  1220.         a, b, c = c, a, b
  1221.     else
  1222.         assert(false, "unreachable")
  1223.     end
  1224.     local len1 = (c - a):Dot((b - a).unit)
  1225.     local len2 = (b - a).magnitude - len1
  1226.     local width = (a + (b - a).unit * len1 - c).magnitude
  1227.     local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, -(b - a).unit)
  1228.     local list = {}
  1229.     if len1 > 0.01 then
  1230.         local w1 = Instance.new("WedgePart", m)
  1231.         game:GetService("Debris"):AddItem(w1, 5)
  1232.         w1.Material = "SmoothPlastic"
  1233.         w1.FormFactor = "Custom"
  1234.         w1.BrickColor = BrickColor.new("Really red")
  1235.         w1.Transparency = 0
  1236.         w1.Reflectance = 0
  1237.         w1.Material = "SmoothPlastic"
  1238.         w1.CanCollide = false
  1239.         local l1 = Instance.new("PointLight", w1)
  1240.         l1.Color = Color3.new(170, 0, 0)
  1241.         NoOutline(w1)
  1242.         local sz = Vector3.new(0.2, width, len1)
  1243.         w1.Size = sz
  1244.         local sp = Instance.new("SpecialMesh", w1)
  1245.         sp.MeshType = "Wedge"
  1246.         sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  1247.         w1:BreakJoints()
  1248.         w1.Anchored = true
  1249.         w1.Parent = workspace
  1250.         w1.Transparency = 0.7
  1251.         table.insert(Effects, {
  1252.             w1,
  1253.             "Disappear",
  1254.             0.01
  1255.         })
  1256.         w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  1257.         table.insert(list, w1)
  1258.     end
  1259.     if len2 > 0.01 then
  1260.         local w2 = Instance.new("WedgePart", m)
  1261.         game:GetService("Debris"):AddItem(w2, 5)
  1262.         w2.Material = "SmoothPlastic"
  1263.         w2.FormFactor = "Custom"
  1264.         w2.BrickColor = BrickColor.new("Really red")
  1265.         w2.Transparency = 0
  1266.         w2.Reflectance = 0
  1267.         w2.Material = "SmoothPlastic"
  1268.         w2.CanCollide = false
  1269.         local l2 = Instance.new("PointLight", w2)
  1270.         l2.Color = Color3.new(170, 0, 0)
  1271.         NoOutline(w2)
  1272.         local sz = Vector3.new(0.2, width, len2)
  1273.         w2.Size = sz
  1274.         local sp = Instance.new("SpecialMesh", w2)
  1275.         sp.MeshType = "Wedge"
  1276.         sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  1277.         w2:BreakJoints()
  1278.         w2.Anchored = true
  1279.         w2.Parent = workspace
  1280.         w2.Transparency = 0.7
  1281.         table.insert(Effects, {
  1282.             w2,
  1283.             "Disappear",
  1284.             0.01
  1285.         })
  1286.         w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  1287.         table.insert(list, w2)
  1288.     end
  1289.     return unpack(list)
  1290. end
  1291. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1292.     if hit.Parent == nil then
  1293.         return
  1294.     end
  1295.     local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1296.     for _, v in pairs(hit.Parent:children()) do
  1297.         if v:IsA("Humanoid") then
  1298.             h = v
  1299.         end
  1300.     end
  1301.     if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1302.         if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1303.             return
  1304.         end
  1305.         local c = Create("ObjectValue")({
  1306.             Name = "creator",
  1307.             Value = game:service("Players").LocalPlayer,
  1308.             Parent = h
  1309.         })
  1310.         game:GetService("Debris"):AddItem(c, 0.5)
  1311.         if HitSound ~= nil and HitPitch ~= nil then
  1312.             CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1313.         end
  1314.         local Damage = math.random(minim, maxim)
  1315.         local blocked = false
  1316.         local block = hit.Parent:findFirstChild("Block")
  1317.         if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1318.             blocked = true
  1319.             block.Value = block.Value - 1
  1320.             print(block.Value)
  1321.         end
  1322.         if blocked == false then
  1323.             HitHealth = h.Health
  1324.             h.Health = h.Health - Damage
  1325.             if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1326.                 print("gained kill")
  1327.             end
  1328.             ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1329.         else
  1330.             h.Health = h.Health - Damage / 2
  1331.             ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1332.         end
  1333.         if Type == "Knockdown" then
  1334.             local hum = hit.Parent.Humanoid
  1335.             hum.PlatformStand = true
  1336.             coroutine.resume(coroutine.create(function(HHumanoid)
  1337.                 swait(1)
  1338.                 HHumanoid.PlatformStand = false
  1339.             end), hum)
  1340.             local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1341.             local bodvol = Create("BodyVelocity")({
  1342.                 velocity = angle * knockback,
  1343.                 P = 5000,
  1344.                 maxForce = Vector3.new(8000, 8000, 8000),
  1345.                 Parent = hit
  1346.             })
  1347.             local rl = Create("BodyAngularVelocity")({
  1348.                 P = 3000,
  1349.                 maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1350.                 angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1351.                 Parent = hit
  1352.             })
  1353.             game:GetService("Debris"):AddItem(bodvol, 0.5)
  1354.             game:GetService("Debris"):AddItem(rl, 0.5)
  1355.         elseif Type == "Normal" then
  1356.             local vp = Create("BodyVelocity")({
  1357.                 P = 500,
  1358.                 maxForce = Vector3.new(math.huge, 0, math.huge),
  1359.                 velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1360.             })
  1361.             if knockback > 0 then
  1362.                 vp.Parent = hit.Parent.Head
  1363.             end
  1364.             game:GetService("Debris"):AddItem(vp, 0.5)
  1365.         elseif Type == "Up" then
  1366.             local bodyVelocity = Create("BodyVelocity")({
  1367.                 velocity = Vector3.new(0, 20, 0),
  1368.                 P = 5000,
  1369.                 maxForce = Vector3.new(8000, 8000, 8000),
  1370.                 Parent = hit
  1371.             })
  1372.             game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1373.             local bodyVelocity = Create("BodyVelocity")({
  1374.                 velocity = Vector3.new(0, 20, 0),
  1375.                 P = 5000,
  1376.                 maxForce = Vector3.new(8000, 8000, 8000),
  1377.                 Parent = hit
  1378.             })
  1379.             game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1380.         elseif Type == "Leech" then
  1381.             local hum = hit.Parent.Humanoid
  1382.             if hum ~= nil then
  1383.                 for i = 0, 2 do
  1384.                     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)
  1385.                 end
  1386.                 Humanoid.Health = Humanoid.Health + 10
  1387.             end
  1388.         elseif Type == "UpKnock" then
  1389.             local hum = hit.Parent.Humanoid
  1390.             hum.PlatformStand = true
  1391.             if hum ~= nil then
  1392.                 hitr = true
  1393.             end
  1394.             coroutine.resume(coroutine.create(function(HHumanoid)
  1395.                 swait(5)
  1396.                 HHumanoid.PlatformStand = false
  1397.                 hitr = false
  1398.             end), hum)
  1399.             local bodyVelocity = Create("BodyVelocity")({
  1400.                 velocity = Vector3.new(0, 20, 0),
  1401.                 P = 5000,
  1402.                 maxForce = Vector3.new(8000, 8000, 8000),
  1403.                 Parent = hit
  1404.             })
  1405.             game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1406.             local bodyVelocity = Create("BodyVelocity")({
  1407.                 velocity = Vector3.new(0, 20, 0),
  1408.                 P = 5000,
  1409.                 maxForce = Vector3.new(8000, 8000, 8000),
  1410.                 Parent = hit
  1411.             })
  1412.             game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1413.         elseif Type == "Snare" then
  1414.             local bp = Create("BodyPosition")({
  1415.                 P = 2000,
  1416.                 D = 100,
  1417.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1418.                 position = hit.Parent.Torso.Position,
  1419.                 Parent = hit.Parent.Torso
  1420.             })
  1421.             game:GetService("Debris"):AddItem(bp, 1)
  1422.         elseif Type == "Slashnare" then
  1423.             Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 60, 60, 60, 12, 12, 12, 0.07)
  1424.             for i = 1, math.random(4, 5) do
  1425.                 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)
  1426.             end
  1427.             local bp = Create("BodyPosition")({
  1428.                 P = 2000,
  1429.                 D = 100,
  1430.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1431.                 position = hit.Parent.Torso.Position,
  1432.                 Parent = hit.Parent.Torso
  1433.             })
  1434.             game:GetService("Debris"):AddItem(bp, 1)
  1435.         elseif Type == "Spike" then
  1436.             CreateBigIceSword(hit.Parent.Torso.CFrame)
  1437.             local bp = Create("BodyPosition")({
  1438.                 P = 2000,
  1439.                 D = 100,
  1440.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1441.                 position = hit.Parent.Torso.Position,
  1442.                 Parent = hit.Parent.Torso
  1443.             })
  1444.             game:GetService("Debris"):AddItem(bp, 1)
  1445.         elseif Type == "Freeze" then
  1446.             local BodPos = Create("BodyPosition")({
  1447.                 P = 50000,
  1448.                 D = 1000,
  1449.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1450.                 position = hit.Parent.Torso.Position,
  1451.                 Parent = hit.Parent.Torso
  1452.             })
  1453.             local BodGy = Create("BodyGyro")({
  1454.                 maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1455.                 P = 20000,
  1456.                 Parent = hit.Parent.Torso,
  1457.                 cframe = hit.Parent.Torso.CFrame
  1458.             })
  1459.             hit.Parent.Torso.Anchored = true
  1460.             coroutine.resume(coroutine.create(function(Part)
  1461.                 swait(1.5)
  1462.                 Part.Anchored = false
  1463.             end), hit.Parent.Torso)
  1464.             game:GetService("Debris"):AddItem(BodPos, 3)
  1465.             game:GetService("Debris"):AddItem(BodGy, 3)
  1466.         end
  1467.         local debounce = Create("BoolValue")({
  1468.             Name = "DebounceHit",
  1469.             Parent = hit.Parent,
  1470.             Value = true
  1471.         })
  1472.         game:GetService("Debris"):AddItem(debounce, Delay)
  1473.         c = Instance.new("ObjectValue")
  1474.         c.Name = "creator"
  1475.         c.Value = Player
  1476.         c.Parent = h
  1477.         game:GetService("Debris"):AddItem(c, 0.5)
  1478.     end
  1479. end
  1480. function ShowDamage(Pos, Text, Time, Color)
  1481.     local Rate = 0.03333333333333333
  1482.     local Pos = Pos or Vector3.new(0, 0, 0)
  1483.     local Text = Text or ""
  1484.     local Time = Time or 2
  1485.     local Color = Color or Color3.new(1, 0, 1)
  1486.     local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1487.     EffectPart.Anchored = true
  1488.     local BillboardGui = Create("BillboardGui")({
  1489.         Size = UDim2.new(3, 0, 3, 0),
  1490.         Adornee = EffectPart,
  1491.         Parent = EffectPart
  1492.     })
  1493.     local TextLabel = Create("TextLabel")({
  1494.         BackgroundTransparency = 1,
  1495.         Size = UDim2.new(1, 0, 1, 0),
  1496.         Text = Text,
  1497.         TextColor3 = Color,
  1498.         TextScaled = true,
  1499.         Font = Enum.Font.ArialBold,
  1500.         Parent = BillboardGui
  1501.     })
  1502.     game.Debris:AddItem(EffectPart, Time + 0.1)
  1503.     EffectPart.Parent = game:GetService("Workspace")
  1504.     delay(0, function()
  1505.         local Frames = Time / Rate
  1506.         for Frame = 1, Frames do
  1507.             wait(Rate)
  1508.             local Percent = Frame / Frames
  1509.             EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1510.             TextLabel.TextTransparency = Percent
  1511.         end
  1512.         if EffectPart and EffectPart.Parent then
  1513.             EffectPart:Destroy()
  1514.         end
  1515.     end)
  1516. end
  1517. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1518.     for _, c in pairs(workspace:children()) do
  1519.         local hum = c:findFirstChildOfClass("Humanoid")
  1520.         if hum ~= nil then
  1521.             local head = c:findFirstChild("Head")
  1522.             if head ~= nil then
  1523.                 local targ = head.Position - Part.Position
  1524.                 local mag = targ.magnitude
  1525.                 if magni >= mag and c.Name ~= Player.Name then
  1526.                     Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1527.                 end
  1528.             end
  1529.         end
  1530.     end
  1531. end
  1532. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1533.     for _, c in pairs(workspace:children()) do
  1534.         local hum = c:findFirstChild("Humanoid")
  1535.         if hum ~= nil then
  1536.             local head = c:findFirstChild("Torso")
  1537.             if head ~= nil then
  1538.                 local targ = head.Position - Part.Position
  1539.                 local mag = targ.magnitude
  1540.                 if magni >= mag and c.Name ~= Player.Name then
  1541.                     MagicBlock(BrickColor.new("Pastel light blue"), head.CFrame, 5, 5, 5, 1, 1, 1, 0.05)
  1542.                     Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1543.                 end
  1544.             end
  1545.         end
  1546.     end
  1547. end
  1548. function rayCast(Pos, Dir, Max, Ignore)
  1549.     return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1550. end
  1551. function SkullEffect(brickcolor, cframe, x1, y1, z1, delay)
  1552.     local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1553.     prt.Anchored = true
  1554.     prt.CFrame = cframe
  1555.     local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
  1556.     game:GetService("Debris"):AddItem(prt, 2)
  1557.     CF = prt.CFrame
  1558.     coroutine.resume(coroutine.create(function(Part, Mesh, TehCF)
  1559.         for i = 0, 1, 0.2 do
  1560.             wait()
  1561.             Part.CFrame = CF * cf(0, 0, -0.4)
  1562.         end
  1563.         for i = 0, 1, delay do
  1564.             wait()
  1565.             Mesh.Scale = Mesh.Scale
  1566.         end
  1567.         for i = 0, 1, 0.1 do
  1568.             wait()
  1569.             Part.Transparency = i
  1570.         end
  1571.         Part.Parent = nil
  1572.     end), prt, msh, CF)
  1573. end
  1574. function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1575.     local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1576.     prt.Anchored = true
  1577.     prt.Material = "Neon"
  1578.     prt.CFrame = cframe
  1579.     prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1580.     msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1581.     game:GetService("Debris"):AddItem(prt, 5)
  1582.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1583.         for i = 0, 1, delay do
  1584.             swait()
  1585.             Part.CFrame = Part.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1586.             Part.Transparency = i
  1587.             Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1588.         end
  1589.         Part.Parent = nil
  1590.     end), prt, msh)
  1591. end
  1592. function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  1593.     local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1594.     prt.Anchored = true
  1595.     prt.Material = "Neon"
  1596.     prt.CFrame = cframe
  1597.     msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1598.     game:GetService("Debris"):AddItem(prt, 5)
  1599.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1600.         local rtype = rottype
  1601.         for i = 0, 1, delay do
  1602.             swait()
  1603.             if rtype == 1 then
  1604.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1605.             elseif rtype == 2 then
  1606.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1607.             end
  1608.             Part.Transparency = i
  1609.             Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1610.         end
  1611.         Part.Parent = nil
  1612.     end), prt, msh)
  1613. end
  1614. function MagicSphere(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1615.     local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1616.     prt.Anchored = true
  1617.     prt.CFrame = cframe
  1618.     prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1619.     msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1620.     game:GetService("Debris"):AddItem(prt, 5)
  1621.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1622.         for i = 0, 1, delay do
  1623.             wait()
  1624.             Part.Transparency = i
  1625.             Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1626.         end
  1627.         Part.Parent = nil
  1628.     end), prt, msh)
  1629. end
  1630. function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  1631.     local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1632.     prt.Anchored = true
  1633.     prt.Material = "Neon"
  1634.     prt.CFrame = cframe
  1635.     msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1636.     game:GetService("Debris"):AddItem(prt, 5)
  1637.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1638.         local rtype = rottype
  1639.         for i = 0, 1, delay do
  1640.             swait()
  1641.             if rtype == 1 then
  1642.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1643.             elseif rtype == 2 then
  1644.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1645.             end
  1646.             Part.Transparency = i
  1647.             Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1648.         end
  1649.         Part.Parent = nil
  1650.     end), prt, msh)
  1651. end
  1652. function MagicShock(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
  1653.     local prt = part(3, char, 1, 1, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1654.     prt.Anchored = true
  1655.     prt.Material = "Neon"
  1656.     prt.CFrame = cframe
  1657.     local dec = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt)
  1658.     local dec2 = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt)
  1659.     msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01))
  1660.     game:GetService("Debris"):AddItem(prt, 5)
  1661.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1662.         local rtype = rottype
  1663.         for i = 0, 1, delay do
  1664.             swait()
  1665.             if rtype == 1 then
  1666.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1667.             elseif rtype == 2 then
  1668.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1669.             end
  1670.             dec.Transparency = i
  1671.             dec2.Transparency = i
  1672.             Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
  1673.         end
  1674.         Part.Parent = nil
  1675.     end), prt, msh)
  1676. end
  1677. function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
  1678.     local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1679.     prt.Anchored = true
  1680.     prt.Material = "Neon"
  1681.     prt.CFrame = cframe
  1682.     msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01))
  1683.     game:GetService("Debris"):AddItem(prt, 5)
  1684.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1685.         local rtype = rottype
  1686.         for i = 0, 1, delay do
  1687.             swait()
  1688.             if rtype == 1 then
  1689.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1690.             elseif rtype == 2 then
  1691.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1692.             end
  1693.             prt.Transparency = i
  1694.             Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
  1695.         end
  1696.         Part.Parent = nil
  1697.     end), prt, msh)
  1698. end
  1699. function MagicShockAltCircle(brickcolor, cframe, x1, z1, x3, z3, delay, rottype)
  1700.     local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1701.     prt.Anchored = true
  1702.     prt.Material = "Neon"
  1703.     prt.CFrame = cframe
  1704.     msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, 1, z1))
  1705.     game:GetService("Debris"):AddItem(prt, 5)
  1706.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1707.         local rtype = rottype
  1708.         for i = 0, 1, delay do
  1709.             swait()
  1710.             if rtype == 1 then
  1711.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0.1, 0)
  1712.             elseif rtype == 2 then
  1713.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, -0.1, 0)
  1714.             end
  1715.             prt.Transparency = i
  1716.             Mesh.Scale = Mesh.Scale + vt(x3, 0, z3)
  1717.         end
  1718.         Part.Parent = nil
  1719.     end), prt, msh)
  1720. end
  1721. function MagicShockTrailAlt(brickcolor, cframe, x1, y1, z1, x3, y3, delay, rottype)
  1722.     local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1723.     prt.Anchored = true
  1724.     prt.Material = "Neon"
  1725.     prt.CFrame = cframe
  1726.     msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1727.     game:GetService("Debris"):AddItem(prt, 5)
  1728.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1729.         local rtype = rottype
  1730.         for i = 0, 1, delay do
  1731.             swait()
  1732.             if rtype == 1 then
  1733.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1734.             elseif rtype == 2 then
  1735.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1736.             end
  1737.             prt.Transparency = i
  1738.             Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
  1739.         end
  1740.         Part.Parent = nil
  1741.     end), prt, msh)
  1742. end
  1743. function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  1744.     local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1745.     prt.Anchored = true
  1746.     prt.Material = "Neon"
  1747.     prt.CFrame = cframe
  1748.     msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1749.     game:GetService("Debris"):AddItem(prt, 5)
  1750.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1751.         local rtype = rottype
  1752.         for i = 0, 1, delay do
  1753.             swait()
  1754.             if rtype == 1 then
  1755.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1756.             elseif rtype == 2 then
  1757.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1758.             end
  1759.             prt.Transparency = i
  1760.             Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1761.         end
  1762.         Part.Parent = nil
  1763.     end), prt, msh)
  1764. end
  1765. function MagicBlock2(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay)
  1766.     local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1767.     prt.Anchored = false
  1768.     prt.CFrame = cframe
  1769.     msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1770.     local wld = weld(prt, prt, Parent, cframe)
  1771.     game:GetService("Debris"):AddItem(prt, 5)
  1772.     coroutine.resume(coroutine.create(function(Part, Mesh, Weld)
  1773.         for i = 0, 1, delay do
  1774.             wait()
  1775.             Weld.C0 = euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * cframe
  1776.             Part.Transparency = i
  1777.             Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1778.         end
  1779.         Part.Parent = nil
  1780.     end), prt, msh, wld)
  1781. end
  1782. function MagicBlock3(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay)
  1783.     local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1784.     prt.Anchored = false
  1785.     prt.CFrame = cframe
  1786.     msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1787.     local wld = weld(prt, prt, Parent, euler(0, 0, 0) * cf(0, 0, 0))
  1788.     game:GetService("Debris"):AddItem(prt, 5)
  1789.     coroutine.resume(coroutine.create(function(Part, Mesh, Weld)
  1790.         for i = 0, 1, delay do
  1791.             wait()
  1792.             Weld.C0 = euler(i * 20, 0, 0)
  1793.             Part.Transparency = i
  1794.             Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1795.         end
  1796.         Part.Parent = nil
  1797.     end), prt, msh, wld)
  1798. end
  1799. function MagicCircle2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1800.     local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1801.     prt.Anchored = true
  1802.     prt.CFrame = cframe
  1803.     local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1804.     game:GetService("Debris"):AddItem(prt, 2)
  1805.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1806.         for i = 0, 1, delay do
  1807.             wait()
  1808.             Part.CFrame = Part.CFrame
  1809.             Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1810.             local prt2 = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1811.             prt2.Anchored = true
  1812.             prt2.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1813.             local msh2 = mesh("SpecialMesh", prt2, "Sphere", "", vt(0, 0, 0), vt(0.5, 0.5, 0.5))
  1814.             game:GetService("Debris"):AddItem(prt2, 2)
  1815.             coroutine.resume(coroutine.create(function(Part, Mesh)
  1816.                 for i = 0, 1, 0.1 do
  1817.                     wait()
  1818.                     Part.CFrame = Part.CFrame * cf(0, 0.5, 0)
  1819.                 end
  1820.                 Part.Parent = nil
  1821.             end), prt2, msh2)
  1822.         end
  1823.         for i = 0, 1, delay * 2 do
  1824.             wait()
  1825.             Part.CFrame = Part.CFrame
  1826.             Mesh.Scale = vt(x1 + x3 - (x1 + x3) * i, y1 + y3 - (y1 + y3) * i, z1 + z3 - (z1 + z3) * i)
  1827.         end
  1828.         Part.Parent = nil
  1829.     end), prt, msh)
  1830. end
  1831. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1832.     local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1833.     prt.Anchored = true
  1834.     prt.CFrame = cframe
  1835.     local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1836.     game:GetService("Debris"):AddItem(prt, 2)
  1837.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1838.         for i = 0, 1, delay do
  1839.             wait()
  1840.             Part.CFrame = Part.CFrame
  1841.             Part.Transparency = i
  1842.             Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1843.         end
  1844.         Part.Parent = nil
  1845.     end), prt, msh)
  1846. end
  1847. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  1848.     local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1849.     prt.Anchored = true
  1850.     prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1851.     local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1852.     game:GetService("Debris"):AddItem(prt, 2)
  1853.     coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
  1854.         CF = Part.CFrame
  1855.         Numbb = 0
  1856.         randnumb = math.random() / 10
  1857.         rand1 = math.random() / 10
  1858.         for i = 0, 1, rand1 do
  1859.             wait()
  1860.             CF = CF * cf(0, math.random() / 2, 0)
  1861.             Part.CFrame = CF * euler(Numbb, 0, 0)
  1862.             Part.Transparency = i
  1863.             Numbb = Numbb + randnumb
  1864.         end
  1865.         Part.Parent = nil
  1866.     end), prt, CF, Numbb, randnumb)
  1867. end
  1868. function MagicWaveThing(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1869.     local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1870.     prt.Anchored = true
  1871.     prt.CFrame = cframe
  1872.     msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1051557", vt(0, 0, 0), vt(x1, y1, z1))
  1873.     game:GetService("Debris"):AddItem(prt, 5)
  1874.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1875.         for i = 0, 1, delay do
  1876.             wait()
  1877.             Part.CFrame = Part.CFrame * euler(0, 0.7, 0)
  1878.             Part.Transparency = i
  1879.             Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1880.         end
  1881.         Part.Parent = nil
  1882.     end), prt, msh)
  1883. end
  1884. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1885.     local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1886.     prt.Anchored = true
  1887.     prt.CFrame = cframe
  1888.     msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1889.     game:GetService("Debris"):AddItem(prt, 2)
  1890.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1891.         for i = 0, 1, delay do
  1892.             wait()
  1893.             Part.CFrame = Part.CFrame * cf(0, y3 / 2, 0)
  1894.             Part.Transparency = i
  1895.             Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1896.         end
  1897.         Part.Parent = nil
  1898.     end), prt, msh)
  1899. end
  1900. function StravEffect(brickcolor, cframe, x, y, z, x1, y1, z1, delay)
  1901.     local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1902.     prt.Anchored = true
  1903.     prt.CFrame = cframe * cf(x, y, z)
  1904.     msh = mesh("SpecialMesh", prt, "FileMesh", "rbxassetid://168892363", vt(0, 0, 0), vt(x1, y1, z1))
  1905.     game:GetService("Debris"):AddItem(prt, 5)
  1906.     coroutine.resume(coroutine.create(function(Part, Mesh, ex, why, zee)
  1907.         local num = math.random()
  1908.         local num2 = math.random(-3, 2) + math.random()
  1909.         local numm = 0
  1910.         for i = 0, 1, delay * 2 do
  1911.             swait()
  1912.             Part.CFrame = cframe * euler(0, numm * num * 10, 0) * cf(ex, why, zee) * cf(-i * 10, num2, 0)
  1913.             Part.Transparency = i
  1914.             numm = numm + 0.01
  1915.         end
  1916.         Part.Parent = nil
  1917.         Mesh.Parent = nil
  1918.     end), prt, msh, x, y, z)
  1919. end
  1920. function dmgstart(dmg, what)
  1921.     hitcon = what.Touched:connect(function(hit)
  1922.         local hum = hit.Parent:FindFirstChild("Humanoid")
  1923.         if hum and not hum:IsDescendantOf(Character) then
  1924.             hum:TakeDamage(dmg)
  1925.         end
  1926.     end)
  1927. end
  1928. function dmgstop()
  1929.     hitcon:disconnect()
  1930. end
  1931. function Cloak()
  1932.     Face.Parent = nil
  1933.     cloaked = true
  1934.     for _, v in pairs(Torso.Parent:children()) do
  1935.         if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  1936.             coroutine.resume(coroutine.create(function()
  1937.                 for i = 0, 1, 0.2 do
  1938.                     wait()
  1939.                     v.Transparency = i
  1940.                 end
  1941.                 v.Transparency = 1
  1942.             end))
  1943.         end
  1944.         if v.className == "Hat" then
  1945.             hatp = v.Handle
  1946.             coroutine.resume(coroutine.create(function(derp)
  1947.                 for i = 0, 1, 0.2 do
  1948.                     wait()
  1949.                     derp.Transparency = i
  1950.                 end
  1951.                 derp.Transparency = 1
  1952.             end), hatp)
  1953.         end
  1954.     end
  1955.     for _, v in pairs(m:children()) do
  1956.         if v.className == "Part" then
  1957.             coroutine.resume(coroutine.create(function()
  1958.                 for i = 0, 1, 0.2 do
  1959.                     wait()
  1960.                     v.Transparency = i
  1961.                 end
  1962.                 v.Transparency = 1
  1963.             end))
  1964.         end
  1965.     end
  1966. end
  1967. function UnCloak()
  1968.     so("http://roblox.com/asset/?id=2767090", Torso, 1, 1.1)
  1969.     Face.Parent = Head
  1970.     cloaked = false
  1971.     for _, v in pairs(Torso.Parent:children()) do
  1972.         if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  1973.             coroutine.resume(coroutine.create(function()
  1974.                 for i = 0, 1, 0.1 do
  1975.                     wait()
  1976.                     v.Transparency = v.Transparency - 0.1
  1977.                 end
  1978.                 v.Transparency = 0
  1979.             end))
  1980.         end
  1981.         if v.className == "Hat" then
  1982.             hatp = v.Handle
  1983.             coroutine.resume(coroutine.create(function(derp)
  1984.                 for i = 0, 1, 0.1 do
  1985.                     wait()
  1986.                     derp.Transparency = derp.Transparency - 0.1
  1987.                 end
  1988.                 derp.Transparency = 0
  1989.             end), hatp)
  1990.         end
  1991.     end
  1992.     for _, v in pairs(m:children()) do
  1993.         if v.className == "Part" and v.Name ~= "hitbox" and v.Name ~= "tip" then
  1994.             coroutine.resume(coroutine.create(function()
  1995.                 for i = 0, 1, 0.1 do
  1996.                     wait()
  1997.                     v.Transparency = v.Transparency - 0.1
  1998.                 end
  1999.                 v.Transparency = 0
  2000.             end))
  2001.             v.Transparency = 0
  2002.         end
  2003.     end
  2004. end
  2005. local origcolor = BrickColor.new("Pastel light blue")
  2006. function Explode(rad, par, pitch, vol, mindam, maxdam)
  2007.     local expart = Instance.new("Part", char)
  2008.     local expart2 = Instance.new("Part", char)
  2009.     local rin = Instance.new("Part", char)
  2010.     local rin2 = Instance.new("Part", char)
  2011.     local partMesh = Instance.new("SpecialMesh", expart)
  2012.     partMesh.MeshType = "Sphere"
  2013.     local partMesh2 = Instance.new("SpecialMesh", expart2)
  2014.     partMesh2.MeshType = "Sphere"
  2015.     local partMesh3 = Instance.new("SpecialMesh", rin)
  2016.     partMesh3.MeshType = "Brick"
  2017.     local partMesh4 = Instance.new("SpecialMesh", rin2)
  2018.     partMesh4.MeshType = "Brick"
  2019.     CFuncs.Sound.Create("rbxassetid://165970126", expart, vol, pitch)
  2020.     partMesh.Scale = vt(rad, rad, rad)
  2021.     expart.Size = vt(1, 1, 1)
  2022.     expart.Transparency = 0
  2023.     expart.Anchored = true
  2024.     expart.Material = "Neon"
  2025.     expart.BrickColor = bc("White")
  2026.     expart.CFrame = par.CFrame
  2027.     partMesh2.Scale = vt(rad, rad, rad)
  2028.     expart2.Size = vt(1.15, 1.15, 1.15)
  2029.     expart2.Transparency = 0.5
  2030.     expart2.Anchored = true
  2031.     expart2.Material = "Neon"
  2032.     expart2.BrickColor = par.BrickColor
  2033.     expart2.CFrame = par.CFrame
  2034.     rin.Size = vt(1.15, 1.15, 1.15)
  2035.     rin.Transparency = 1
  2036.     rin.Anchored = true
  2037.     rin.Material = "Neon"
  2038.     rin.BrickColor = par.BrickColor
  2039.     rin.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)))
  2040.     rin2.Size = vt(1.15, 1.15, 1.15)
  2041.     rin2.Transparency = 1
  2042.     rin2.Anchored = true
  2043.     rin2.Material = "Neon"
  2044.     rin2.BrickColor = par.BrickColor
  2045.     rin2.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)))
  2046.     partMesh3.Scale = vt(0, 1, 0)
  2047.     partMesh4.Scale = vt(0, 1, 0)
  2048.     local dec2 = Instance.new("Decal", rin)
  2049.     dec2.Face = "Top"
  2050.     dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2051.     dec2.Parent = rin
  2052.     local dec2b = dec2:Clone()
  2053.     dec2b.Face = "Bottom"
  2054.     dec2b.Parent = rin
  2055.     local dec2a = Instance.new("Decal", rin2)
  2056.     dec2a.Face = "Top"
  2057.     dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  2058.     dec2a.Parent = rin2
  2059.     local dec2ab = dec2a:Clone()
  2060.     dec2ab.Face = "Bottom"
  2061.     dec2ab.Parent = rin2
  2062.     expart.CanCollide = false
  2063.     expart2.CanCollide = false
  2064.     rin.CanCollide = false
  2065.     rin2.CanCollide = false
  2066.     MagniDamage(par, rad * 5, mindam, maxdam, 0, "Normal")
  2067.     local value = 1 * rad / 6.5
  2068.     for i = 0, 199 do
  2069.         partMesh.Scale = partMesh.Scale + vt(value, value, value)
  2070.         expart.CFrame = expart.CFrame
  2071.         partMesh2.Scale = partMesh2.Scale + vt(value, value, value)
  2072.         expart2.CFrame = expart.CFrame
  2073.         value = value - 0.035 * rad / 30
  2074.         if value < 7.5 then
  2075.             partMesh3.Scale = partMesh3.Scale + vt(rad / 5, 0, rad / 5)
  2076.             rin.CFrame = rin.CFrame * CFrame.Angles(0, math.rad(1), 0)
  2077.             partMesh4.Scale = partMesh4.Scale + vt(rad / 7.5, 0, rad / 7.5)
  2078.             rin2.CFrame = rin2.CFrame * CFrame.Angles(0, math.rad(-1), 0)
  2079.         end
  2080.         if value < 0 then
  2081.             dec2.Transparency = dec2.Transparency + 0.025
  2082.             dec2a.Transparency = dec2a.Transparency + 0.025
  2083.             dec2b.Transparency = dec2b.Transparency + 0.025
  2084.             dec2ab.Transparency = dec2ab.Transparency + 0.025
  2085.             expart.Transparency = expart.Transparency + 0.025
  2086.             expart2.Transparency = expart2.Transparency + 0.025
  2087.             rin.Transparency = rin.Transparency + 0.025
  2088.             rin2.Transparency = rin2.Transparency + 0.025
  2089.         end
  2090.         swait()
  2091.     end
  2092.     game:GetService("Debris"):AddItem(expart, 1)
  2093.     game:GetService("Debris"):AddItem(expart2, 1)
  2094.     game:GetService("Debris"):AddItem(rin, 1)
  2095.     game:GetService("Debris"):AddItem(rin2, 1)
  2096. end
  2097. function ExplodeShort(rad, par, pitch, vol, mindam, maxdam)
  2098.     local expart = Instance.new("Part", char)
  2099.     local expart2 = Instance.new("Part", char)
  2100.     local partMesh = Instance.new("SpecialMesh", expart)
  2101.     partMesh.MeshType = "Sphere"
  2102.     local partMesh2 = Instance.new("SpecialMesh", expart2)
  2103.     partMesh2.MeshType = "Sphere"
  2104.     CFuncs.Sound.Create("http://www.roblox.com/asset/?id=142070127", expart, vol, pitch)
  2105.     partMesh.Scale = vt(rad, rad, rad)
  2106.     expart.Size = vt(1, 1, 1)
  2107.     expart.Transparency = 0
  2108.     expart.Anchored = true
  2109.     expart.Material = "Neon"
  2110.     expart.BrickColor = bc("White")
  2111.     expart.CFrame = par.CFrame
  2112.     partMesh2.Scale = vt(rad, rad, rad)
  2113.     expart2.Size = vt(1.15, 1.15, 1.15)
  2114.     expart2.Transparency = 0.5
  2115.     expart2.Anchored = true
  2116.     expart2.Material = "Neon"
  2117.     expart2.BrickColor = par.BrickColor
  2118.     expart2.CFrame = par.CFrame
  2119.     expart.CanCollide = false
  2120.     expart2.CanCollide = false
  2121.     MagniDamage(par, rad * 2.5, mindam, maxdam, 0, "Normal")
  2122.     local value = 1 * rad / 6.5
  2123.     for i = 0, 75 do
  2124.         partMesh.Scale = partMesh.Scale + vt(value, value, value)
  2125.         expart.CFrame = expart.CFrame
  2126.         partMesh2.Scale = partMesh2.Scale + vt(value, value, value)
  2127.         expart2.CFrame = expart.CFrame
  2128.         value = value - 0.035 * rad / 5
  2129.         if value < 0 then
  2130.             value = 0
  2131.             expart.Transparency = expart.Transparency + 0.05
  2132.             expart2.Transparency = expart2.Transparency + 0.05
  2133.         end
  2134.         swait()
  2135.     end
  2136.     game:GetService("Debris"):AddItem(expart, 1)
  2137.     game:GetService("Debris"):AddItem(expart2, 1)
  2138. end
  2139. function AreaDanger(rad, par, mindam, maxdam)
  2140.     local expart = Instance.new("Part", char)
  2141.     local partMesh = Instance.new("SpecialMesh", expart)
  2142.     CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15)
  2143.     partMesh.MeshType = "Sphere"
  2144.     partMesh.Scale = vt(rad, rad, rad)
  2145.     expart.Size = vt(1, 1, 1)
  2146.     expart.Transparency = 0.5
  2147.     expart.Anchored = true
  2148.     expart.Material = "Neon"
  2149.     expart.CanCollide = false
  2150.     expart.BrickColor = par.BrickColor
  2151.     expart.CFrame = par.CFrame
  2152.     local value = 1 * rad / 5
  2153.     MagicBlock(origcolor, expart.CFrame, 0, 0, 0, rad / 2, rad / 2, rad / 2, 0.1)
  2154.     for i = 0, 14 do
  2155.         wait()
  2156.         partMesh.Scale = partMesh.Scale + vt(value, value, value)
  2157.         expart.CFrame = expart.CFrame
  2158.         value = value - 0.035 * rad
  2159.         if value < 0 then
  2160.             value = 0
  2161.         end
  2162.     end
  2163.     wait(0.25)
  2164.     CFuncs.Sound.Create("rbxassetid://588738544", expart, 1.5, 1)
  2165.     wait(0.5)
  2166.     CFuncs.Sound.Create("rbxassetid://588737825", expart, 1.5, 1)
  2167.     CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 0.75)
  2168.     MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  2169.     MagicBlock(origcolor, expart.CFrame, rad * 2, rad * 2, rad * 2, 0.1, 0.1, 0.1, 0.025)
  2170.     for i = 0, 14 do
  2171.         wait()
  2172.         partMesh.Scale = partMesh.Scale + vt(value, value, value)
  2173.         expart.CFrame = expart.CFrame
  2174.         value = value - 0.035 * rad / 2
  2175.     end
  2176.     expart.Transparency = 1
  2177.     game:GetService("Debris"):AddItem(expart, 5)
  2178. end
  2179. function Swarmsplosions(negrad, rad, par, mindam, maxdam)
  2180.     CFuncs.Sound.Create("rbxassetid://588737825", par, 2.5, 2)
  2181.     CFuncs.Sound.Create("rbxassetid://231917784", par, 2.5, 1)
  2182.     CFuncs.Sound.Create("rbxassetid://231917744", par, 2.5, 1)
  2183.     CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1)
  2184.     MagniDamageWithEffect(par, 25, 5, 10, 0, "Normal")
  2185.     MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.025)
  2186.     for i = 0, 24 do
  2187.         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))
  2188.     end
  2189.     for i = 0, 24 do
  2190.         local expart = Instance.new("Part", char)
  2191.         expart.Transparency = 1
  2192.         expart.Anchored = true
  2193.         expart.CanCollide = false
  2194.         expart.CFrame = par.CFrame * CFrame.new(math.random(negrad, rad), math.random(negrad, rad), math.random(negrad, rad))
  2195.         CFuncs.Sound.Create("rbxassetid://588737825", expart, 1, 2)
  2196.         CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15)
  2197.         MagniDamage(expart, rad / 2, mindam, maxdam, 0, "Normal")
  2198.         MagicBlock(origcolor, expart.CFrame, rad, rad, rad, 0.1, 0.1, 0.1, 0.025)
  2199.         for i = 0, 9 do
  2200.             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))
  2201.         end
  2202.         game:GetService("Debris"):AddItem(expart, 2)
  2203.         wait(0.1)
  2204.     end
  2205. end
  2206. function EXterPlosion(par)
  2207.     CFuncs.Sound.Create("rbxassetid://919941001", par, 10, 1)
  2208.     CFuncs.Sound.Create("rbxassetid://138213851", par, 5, 0.85)
  2209.     CFuncs.Sound.Create("rbxassetid://157878578", par, 5, 0.2)
  2210.     CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1)
  2211.     MagniDamageWithEffect(par, 500, 80, 99, 0, "Normal")
  2212.     MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.005)
  2213.     MagicBlock(origcolor, par.CFrame, 0, 0, 0, 150, 150, 150, 0.1)
  2214.     for i = 0, 24 do
  2215.         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))
  2216.     end
  2217.     for i = 0, 24 do
  2218.         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))
  2219.     end
  2220. end
  2221. function ring(type, pos, scale, value)
  2222.     local type = type
  2223.     local rng = Instance.new("Part", char)
  2224.     rng.Anchored = true
  2225.     rng.BrickColor = origcolor
  2226.     rng.CanCollide = false
  2227.     rng.FormFactor = 3
  2228.     rng.Name = "Ring"
  2229.     rng.Size = Vector3.new(1, 1, 1)
  2230.     rng.Transparency = 0
  2231.     rng.TopSurface = 0
  2232.     rng.BottomSurface = 0
  2233.     rng.CFrame = pos
  2234.     local rngm = Instance.new("SpecialMesh", rng)
  2235.     rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2236.     rngm.Scale = scale
  2237.     local scaler2 = 1
  2238.     if type == "Add" then
  2239.         scaler2 = 1 * value
  2240.     elseif type == "Divide" then
  2241.         scaler2 = 1 / value
  2242.     end
  2243.     coroutine.resume(coroutine.create(function()
  2244.         for i = 0, 10, 0.1 do
  2245.             swait()
  2246.             if type == "Add" then
  2247.                 scaler2 = scaler2 - 0.01 * value
  2248.             elseif type == "Divide" then
  2249.                 scaler2 = scaler2 - 0.01 / value
  2250.             end
  2251.             rng.Transparency = rng.Transparency + 0.01
  2252.             rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2253.         end
  2254.         rng:Destroy()
  2255.     end))
  2256. end
  2257. function wave(type, pos, scale, value)
  2258.     local type = type
  2259.     local rng = Instance.new("Part", char)
  2260.     rng.Anchored = true
  2261.     rng.BrickColor = origcolor
  2262.     rng.CanCollide = false
  2263.     rng.FormFactor = 3
  2264.     rng.Name = "Ring"
  2265.     rng.Size = Vector3.new(1, 1, 1)
  2266.     rng.Transparency = 0
  2267.     rng.TopSurface = 0
  2268.     rng.BottomSurface = 0
  2269.     rng.CFrame = pos
  2270.     local rngm = Instance.new("SpecialMesh", rng)
  2271.     rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2272.     rngm.Scale = scale
  2273.     local scaler2 = 1
  2274.     if type == "Add" then
  2275.         scaler2 = 1 * value
  2276.     elseif type == "Divide" then
  2277.         scaler2 = 1 / value
  2278.     end
  2279.     coroutine.resume(coroutine.create(function()
  2280.         for i = 0, 10, 0.1 do
  2281.             swait()
  2282.             if type == "Add" then
  2283.                 scaler2 = scaler2 - 0.01 * value
  2284.             elseif type == "Divide" then
  2285.                 scaler2 = scaler2 - 0.01 / value
  2286.             end
  2287.             rng.Transparency = rng.Transparency + 0.01
  2288.             rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2289.         end
  2290.         rng:Destroy()
  2291.     end))
  2292. end
  2293. function wind(type, pos, scale, value, speed)
  2294.     local type = type
  2295.     local rng = Instance.new("Part", char)
  2296.     rng.Anchored = true
  2297.     rng.BrickColor = origcolor
  2298.     rng.CanCollide = false
  2299.     rng.FormFactor = 3
  2300.     rng.Name = "Ring"
  2301.     rng.Size = Vector3.new(1, 1, 1)
  2302.     rng.Transparency = 0
  2303.     rng.TopSurface = 0
  2304.     rng.BottomSurface = 0
  2305.     rng.CFrame = pos
  2306.     local rngm = Instance.new("SpecialMesh", rng)
  2307.     rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2308.     rngm.Scale = scale
  2309.     local scaler2 = 1
  2310.     if type == "Add" then
  2311.         scaler2 = 1 * value
  2312.     elseif type == "Divide" then
  2313.         scaler2 = 1 / value
  2314.     end
  2315.     coroutine.resume(coroutine.create(function()
  2316.         for i = 0, 10, 0.1 do
  2317.             swait()
  2318.             if type == "Add" then
  2319.                 scaler2 = scaler2 - 0.01 * value
  2320.             elseif type == "Divide" then
  2321.                 scaler2 = scaler2 - 0.01 / value
  2322.             end
  2323.             rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0)
  2324.             rng.Transparency = rng.Transparency + 0.01
  2325.             rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2326.         end
  2327.         rng:Destroy()
  2328.     end))
  2329. end
  2330. function groundwind(type, pos, scale, value, speed)
  2331.     local type = type
  2332.     local rng = Instance.new("Part", char)
  2333.     rng.Anchored = true
  2334.     rng.BrickColor = origcolor
  2335.     rng.CanCollide = false
  2336.     rng.FormFactor = 3
  2337.     rng.Name = "Ring"
  2338.     rng.Size = Vector3.new(1, 1, 1)
  2339.     rng.Transparency = 0
  2340.     rng.TopSurface = 0
  2341.     rng.BottomSurface = 0
  2342.     rng.CFrame = pos
  2343.     local rngm = Instance.new("SpecialMesh", rng)
  2344.     rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2345.     rngm.Scale = scale
  2346.     local scaler2 = 1
  2347.     if type == "Add" then
  2348.         scaler2 = 1 * value
  2349.     elseif type == "Divide" then
  2350.         scaler2 = 1 / value
  2351.     end
  2352.     coroutine.resume(coroutine.create(function()
  2353.         for i = 0, 10, 0.1 do
  2354.             swait()
  2355.             if type == "Add" then
  2356.                 scaler2 = scaler2 - 0.01 * value
  2357.             elseif type == "Divide" then
  2358.                 scaler2 = scaler2 - 0.01 / value
  2359.             end
  2360.             rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0)
  2361.             rng.Transparency = rng.Transparency + 0.01
  2362.             rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2 / 5, scaler2)
  2363.         end
  2364.         rng:Destroy()
  2365.     end))
  2366. end
  2367. function CameraManager()
  2368.     if TwoD and not CamInterrupt then
  2369.         if Humanoid.Health > 0 then
  2370.             Camera.CameraSubject = Humanoid
  2371.             Camera.CameraType = "Scriptable"
  2372.             Humanoid.AutoRotate = false
  2373.             if Booleans.GyroUse then
  2374.                 Directer.MaxTorque = Vec3(0, huge, 0)
  2375.             else
  2376.                 Directer.MaxTorque = Vec3(0, 0, 0)
  2377.             end
  2378.             if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2379.                 if Booleans.CamFollow then
  2380.                     CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2381.                     Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2382.                 else
  2383.                     CPart.Position = RootPart.Position
  2384.                 end
  2385.             else
  2386.                 local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2387.                 CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2388.             end
  2389.             Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2390.         else
  2391.             Camera.CameraSubject = Humanoid
  2392.             Camera.CameraType = "Custom"
  2393.             Controller.Disabled = false
  2394.         end
  2395.     end
  2396. end
  2397. function sphere(bonuspeed, type, pos, scale, value, color)
  2398.     local type = type
  2399.     local rng = Instance.new("Part", char)
  2400.     rng.Anchored = true
  2401.     rng.BrickColor = color
  2402.     rng.CanCollide = false
  2403.     rng.FormFactor = 3
  2404.     rng.Name = "Ring"
  2405.     rng.Material = "Neon"
  2406.     rng.Size = Vector3.new(1, 1, 1)
  2407.     rng.Transparency = 0
  2408.     rng.TopSurface = 0
  2409.     rng.BottomSurface = 0
  2410.     rng.CFrame = pos
  2411.     local rngm = Instance.new("SpecialMesh", rng)
  2412.     rngm.MeshType = "Sphere"
  2413.     rngm.Scale = scale
  2414.     if rainbowmode == true then
  2415.         rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2416.     end
  2417.     local scaler2 = 1
  2418.     if type == "Add" then
  2419.         scaler2 = 1 * value
  2420.     elseif type == "Divide" then
  2421.         scaler2 = 1 / value
  2422.     end
  2423.     coroutine.resume(coroutine.create(function()
  2424.         for i = 0, 10 / bonuspeed, 0.1 do
  2425.             swait()
  2426.             if rainbowmode == true then
  2427.                 rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2428.             end
  2429.             if type == "Add" then
  2430.                 scaler2 = scaler2 - 0.01 * value / bonuspeed
  2431.             elseif type == "Divide" then
  2432.                 scaler2 = scaler2 - 0.01 / value * bonuspeed
  2433.             end
  2434.             if chaosmode == true then
  2435.                 rng.BrickColor = BrickColor.random()
  2436.             end
  2437.             rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2438.             rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  2439.         end
  2440.         rng:Destroy()
  2441.     end))
  2442. end
  2443. function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  2444.     local type = type
  2445.     local rng = Instance.new("Part", char)
  2446.     rng.Anchored = true
  2447.     rng.BrickColor = color
  2448.     rng.CanCollide = false
  2449.     rng.FormFactor = 3
  2450.     rng.Name = "Ring"
  2451.     rng.Material = "Neon"
  2452.     rng.Size = Vector3.new(1, 1, 1)
  2453.     rng.Transparency = 0
  2454.     rng.TopSurface = 0
  2455.     rng.BottomSurface = 0
  2456.     rng.CFrame = pos
  2457.     rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  2458.     local rngm = Instance.new("SpecialMesh", rng)
  2459.     rngm.MeshType = "Sphere"
  2460.     rngm.Scale = vt(x1, y1, z1)
  2461.     if rainbowmode == true then
  2462.         rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2463.     end
  2464.     local scaler2 = 1
  2465.     local speeder = FastSpeed
  2466.     if type == "Add" then
  2467.         scaler2 = 1 * value
  2468.     elseif type == "Divide" then
  2469.         scaler2 = 1 / value
  2470.     end
  2471.     coroutine.resume(coroutine.create(function()
  2472.         for i = 0, 10 / bonuspeed, 0.1 do
  2473.             swait()
  2474.             if rainbowmode == true then
  2475.                 rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2476.             end
  2477.             if type == "Add" then
  2478.                 scaler2 = scaler2 - 0.01 * value / bonuspeed
  2479.             elseif type == "Divide" then
  2480.                 scaler2 = scaler2 - 0.01 / value * bonuspeed
  2481.             end
  2482.             if chaosmode == true then
  2483.                 rng.BrickColor = BrickColor.random()
  2484.             end
  2485.             speeder = speeder - 0.01 * FastSpeed * bonuspeed
  2486.             rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  2487.             rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2488.             rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  2489.         end
  2490.         rng:Destroy()
  2491.     end))
  2492. end
  2493. function sphereMKCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  2494.     local type = type
  2495.     local rng = Instance.new("Part", char)
  2496.     rng.Anchored = true
  2497.     rng.BrickColor = color
  2498.     rng.CanCollide = false
  2499.     rng.FormFactor = 3
  2500.     rng.Name = "Ring"
  2501.     rng.Material = "Neon"
  2502.     rng.Size = Vector3.new(1, 1, 1)
  2503.     rng.Transparency = 1
  2504.     rng.TopSurface = 0
  2505.     rng.BottomSurface = 0
  2506.     rng.CFrame = pos
  2507.     rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  2508.     local rngm = Instance.new("SpecialMesh", rng)
  2509.     rngm.MeshType = "Sphere"
  2510.     rngm.Scale = vt(x1, y1, z1)
  2511.     if rainbowmode == true then
  2512.         rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2513.     end
  2514.     local scaler2 = 1
  2515.     local speeder = FastSpeed
  2516.     if type == "Add" then
  2517.         scaler2 = 1 * value
  2518.     elseif type == "Divide" then
  2519.         scaler2 = 1 / value
  2520.     end
  2521.     coroutine.resume(coroutine.create(function()
  2522.         for i = 0, 10 / bonuspeed, 0.1 do
  2523.             swait()
  2524.             if rainbowmode == true then
  2525.                 rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2526.             end
  2527.             if type == "Add" then
  2528.                 scaler2 = scaler2 - 0.01 * value / bonuspeed
  2529.             elseif type == "Divide" then
  2530.                 scaler2 = scaler2 - 0.01 / value * bonuspeed
  2531.             end
  2532.             if chaosmode == true then
  2533.                 rng.BrickColor = BrickColor.random()
  2534.             end
  2535.             speeder = speeder - 0.01 * FastSpeed * bonuspeed
  2536.             rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  2537.             rng.Transparency = rng.Transparency - 0.01 * bonuspeed
  2538.             rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  2539.         end
  2540.         rng:Destroy()
  2541.     end))
  2542. end
  2543. function dmg(dude)
  2544.     if dude.Name ~= Character then
  2545.         local bgf = Instance.new("BodyGyro", dude.Head)
  2546.         bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, 0)
  2547.         local val = Instance.new("BoolValue", dude)
  2548.         val.Name = "IsHit"
  2549.         local ds = coroutine.wrap(function()
  2550.             dude:WaitForChild("Head"):BreakJoints()
  2551.             wait(0.5)
  2552.             targetted = nil
  2553.             CFuncs.Sound.Create("rbxassetid://62339698", char, 0.5, 0.3)
  2554.             coroutine.resume(coroutine.create(function()
  2555.                 for i, v in pairs(dude:GetChildren()) do
  2556.                     if v:IsA("Accessory") then
  2557.                         v:Destroy()
  2558.                     end
  2559.                     if v:IsA("Humanoid") then
  2560.                         v:Destroy()
  2561.                     end
  2562.                     if v:IsA("CharacterMesh") then
  2563.                         v:Destroy()
  2564.                     end
  2565.                     if v:IsA("Model") then
  2566.                         v:Destroy()
  2567.                     end
  2568.                     if v:IsA("Part") or v:IsA("MeshPart") then
  2569.                         for x, o in pairs(v:GetChildren()) do
  2570.                             if o:IsA("Decal") then
  2571.                                 o:Destroy()
  2572.                             end
  2573.                         end
  2574.                         coroutine.resume(coroutine.create(function()
  2575.                             v.Material = "Neon"
  2576.                             v.CanCollide = false
  2577.                             local bld = Instance.new("ParticleEmitter", v)
  2578.                             bld.LightEmission = 1
  2579.                             bld.Texture = "rbxassetid://284205403"
  2580.                             bld.Color = ColorSequence.new(Color3.new(1, 1, 1))
  2581.                             bld.Rate = 50
  2582.                             bld.Lifetime = NumberRange.new(1)
  2583.                             bld.Size = NumberSequence.new({
  2584.                                 NumberSequenceKeypoint.new(0, 0.75, 0),
  2585.                                 NumberSequenceKeypoint.new(1, 0, 0)
  2586.                             })
  2587.                             bld.Transparency = NumberSequence.new({
  2588.                                 NumberSequenceKeypoint.new(0, 0, 0),
  2589.                                 NumberSequenceKeypoint.new(1, 1, 0)
  2590.                             })
  2591.                             bld.Speed = NumberRange.new(0, 0)
  2592.                             bld.VelocitySpread = 50000
  2593.                             bld.Rotation = NumberRange.new(-500, 500)
  2594.                             bld.RotSpeed = NumberRange.new(-500, 500)
  2595.                             local sbs = Instance.new("BodyPosition", v)
  2596.                             sbs.P = 3000
  2597.                             sbs.D = 1000
  2598.                             sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2599.                             sbs.position = v.Position + Vector3.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5))
  2600.                             v.Color = Color3.new(1, 1, 1)
  2601.                             coroutine.resume(coroutine.create(function()
  2602.                                 for i = 0, 49 do
  2603.                                     swait(1)
  2604.                                     v.Transparency = v.Transparency + 0.02
  2605.                                 end
  2606.                                 CFuncs.Sound.Create("rbxassetid://1192402877", v, 0.25, 1)
  2607.                                 bld.Speed = NumberRange.new(1, 5)
  2608.                                 bld.Acceleration = vt(0, 10, 0)
  2609.                                 wait(0.5)
  2610.                                 bld.Enabled = false
  2611.                                 wait(3)
  2612.                                 v:Destroy()
  2613.                                 dude:Destroy()
  2614.                             end))
  2615.                         end))
  2616.                     end
  2617.                 end
  2618.             end))
  2619.         end)
  2620.         ds()
  2621.     end
  2622. end
  2623. function FindNearestHead(Position, Distance, SinglePlayer)
  2624.     if SinglePlayer then
  2625.         return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  2626.     end
  2627.     local List = {}
  2628.     for i, v in pairs(workspace:GetChildren()) do
  2629.         if v:IsA("Model") and v:findFirstChild("Head") and v ~= Character and Distance >= (v.Head.Position - Position).magnitude then
  2630.             table.insert(List, v)
  2631.         end
  2632.     end
  2633.     return List
  2634. end
  2635. function FaceMouse()
  2636.     Cam = workspace.CurrentCamera
  2637.     return {
  2638.         CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  2639.         Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2640.     }
  2641. end
  2642. function FaceMouse2()
  2643.     Cam = workspace.CurrentCamera
  2644.     return {
  2645.         CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  2646.         Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2647.     }
  2648. end
  2649. local ModeOfGlitch = 1
  2650. local storehumanoidWS = 16
  2651. function ExtinctiveHeartbreak()
  2652.     local targetted
  2653.     if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2654.         targetted = mouse.Target.Parent
  2655.     end
  2656.     if targetted ~= nil then
  2657.         attack = true
  2658.         CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
  2659.         for i = 0, 9 do
  2660.             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 red"), 0)
  2661.         end
  2662.         sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really red"))
  2663.         local originalpos = root.CFrame
  2664.         RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0, -2, 2)
  2665.         for i = 0, 9 do
  2666.             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 red"), 0)
  2667.         end
  2668.         hum.WalkSpeed = 0
  2669.         targetted.Head.Anchored = true
  2670.         sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really red"))
  2671.         for i = 0, 2, 0.1 do
  2672.             swait()
  2673.             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)
  2674.             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)
  2675.             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)
  2676.             Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8)
  2677.             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)
  2678.             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)
  2679.         end
  2680.         coroutine.resume(coroutine.create(function()
  2681.             bld = Instance.new("ParticleEmitter", targetted:WaitForChild("Torso"))
  2682.             bld.LightEmission = 0.1
  2683.             bld.Texture = "rbxassetid://284205403"
  2684.             bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
  2685.             bld.Rate = 500
  2686.             bld.Lifetime = NumberRange.new(1)
  2687.             bld.Size = NumberSequence.new({
  2688.                 NumberSequenceKeypoint.new(0, 2, 0),
  2689.                 NumberSequenceKeypoint.new(1, 0, 0)
  2690.             })
  2691.             bld.Acceleration = vt(0, -25, 0)
  2692.             bld.Transparency = NumberSequence.new({
  2693.                 NumberSequenceKeypoint.new(0, 0, 0),
  2694.                 NumberSequenceKeypoint.new(1, 0, 0)
  2695.             })
  2696.             bld.Speed = NumberRange.new(10, 50)
  2697.             bld.EmissionDirection = "Front"
  2698.             bld.VelocitySpread = 25
  2699.             bld.Rotation = NumberRange.new(-500, 500)
  2700.             bld.RotSpeed = NumberRange.new(-500, 500)
  2701.         end))
  2702.         coroutine.resume(coroutine.create(function()
  2703.             bld = Instance.new("ParticleEmitter", targetted:WaitForChild("UpperTorso"))
  2704.             bld.LightEmission = 0.1
  2705.             bld.Texture = "rbxassetid://284205403"
  2706.             bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
  2707.             bld.Rate = 500
  2708.             bld.Lifetime = NumberRange.new(1)
  2709.             bld.Size = NumberSequence.new({
  2710.                 NumberSequenceKeypoint.new(0, 2, 0),
  2711.                 NumberSequenceKeypoint.new(1, 0, 0)
  2712.             })
  2713.             bld.Acceleration = vt(0, -25, 0)
  2714.             bld.Transparency = NumberSequence.new({
  2715.                 NumberSequenceKeypoint.new(0, 0, 0),
  2716.                 NumberSequenceKeypoint.new(1, 0, 0)
  2717.             })
  2718.             bld.Speed = NumberRange.new(10, 50)
  2719.             bld.EmissionDirection = "Front"
  2720.             bld.VelocitySpread = 25
  2721.             bld.Rotation = NumberRange.new(-500, 500)
  2722.             bld.RotSpeed = NumberRange.new(-500, 500)
  2723.         end))
  2724.         CameraEnshaking(5, 5)
  2725.         game:GetService("Debris"):AddItem(bld, 3)
  2726.         dmg(targetted)
  2727.         CFuncs.Sound.Create("rbxassetid://429400881", targetted.Head, 1, 1)
  2728.         for i = 0, 1, 0.1 do
  2729.             swait()
  2730.             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)
  2731.             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)
  2732.             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)
  2733.             Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(80)), 0.8)
  2734.             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)
  2735.             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)
  2736.         end
  2737.         CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
  2738.         for i = 0, 9 do
  2739.             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 red"), 0)
  2740.         end
  2741.         sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really red"))
  2742.         root.CFrame = originalpos
  2743.         for i = 0, 9 do
  2744.             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 red"), 0)
  2745.         end
  2746.         sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really red"))
  2747.         bld.Enabled = false
  2748.         attack = false
  2749.         hum.WalkSpeed = storehumanoidWS
  2750.     end
  2751. end
  2752. function PureBomb()
  2753.     attack = true
  2754.     local orb = Instance.new("Part", char)
  2755.     orb.Anchored = true
  2756.     orb.BrickColor = BrickColor.new("Toothpaste")
  2757.     orb.CanCollide = false
  2758.     orb.FormFactor = 3
  2759.     orb.Name = "Ring"
  2760.     orb.Material = "Neon"
  2761.     orb.Size = Vector3.new(1, 1, 1)
  2762.     orb.Transparency = 0
  2763.     orb.TopSurface = 0
  2764.     orb.BottomSurface = 0
  2765.     local orbm = Instance.new("SpecialMesh", orb)
  2766.     orbm.MeshType = "Sphere"
  2767.     orbm.Name = "SizeMesh"
  2768.     orbm.Scale = vt(0, 0, 0)
  2769.     local scaled = 0.1
  2770.     local posid = 0
  2771.     CFuncs.Sound.Create("rbxassetid://136007472", orb, 1, 1)
  2772.     for i = 0, 5, 0.1 do
  2773.         swait()
  2774.         scaled = scaled - 0.001
  2775.         posid = posid - scaled
  2776.         orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0)
  2777.         orbm.Scale = orbm.Scale + vt(scaled, scaled, scaled)
  2778.         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)
  2779.         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)
  2780.         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)
  2781.         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)
  2782.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  2783.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(180), math.rad(20), math.rad(0)), 0.1)
  2784.         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)
  2785.     end
  2786.     for i = 0, 2, 0.1 do
  2787.         swait()
  2788.         orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0)
  2789.         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)
  2790.         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)
  2791.         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)
  2792.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(20)), 0.4)
  2793.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(220), math.rad(20), math.rad(0)), 0.4)
  2794.         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)
  2795.     end
  2796.     coroutine.resume(coroutine.create(function()
  2797.         orb.Anchored = false
  2798.         CFuncs.Sound.Create("rbxassetid://260433768", root, 1.25, 1)
  2799.         local a = Instance.new("Part", workspace)
  2800.         a.Name = "Direction"
  2801.         a.Anchored = true
  2802.         a.BrickColor = bc("Bright red")
  2803.         a.Material = "Neon"
  2804.         a.Transparency = 1
  2805.         a.CanCollide = false
  2806.         local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500)
  2807.         local ignore = orb
  2808.         local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2809.         a.BottomSurface = 10
  2810.         a.TopSurface = 10
  2811.         local distance = (orb.CFrame.p - position).magnitude
  2812.         a.Size = Vector3.new(0.1, 0.1, 0.1)
  2813.         a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  2814.         orb.CFrame = a.CFrame
  2815.         a:Destroy()
  2816.         local bv = Instance.new("BodyVelocity")
  2817.         bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2818.         bv.velocity = orb.CFrame.lookVector * 125
  2819.         bv.Parent = orb
  2820.         local hitted = false
  2821.         game:GetService("Debris"):AddItem(orb, 15)
  2822.         wait()
  2823.         local hit = orb.Touched:connect(function(hit)
  2824.             if hitted == false then
  2825.                 hitted = true
  2826.                 CameraEnshaking(10, 2.5)
  2827.                 CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
  2828.                 MagniDamage(orb, 65, 65, 90, 0, "Normal")
  2829.                 sphere(1, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickColor.new("Toothpaste"))
  2830.                 sphere(2, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickColor.new("Toothpaste"))
  2831.                 for i = 0, 9 do
  2832.                     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)
  2833.                     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)
  2834.                 end
  2835.                 orb.Anchored = true
  2836.                 orb.Transparency = 1
  2837.                 wait(8)
  2838.                 orb:Destroy()
  2839.             end
  2840.         end)
  2841.     end))
  2842.     for i = 0, 1, 0.1 do
  2843.         swait()
  2844.         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)
  2845.         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)
  2846.         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)
  2847.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-50)), 0.4)
  2848.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(60), math.rad(20), math.rad(50)), 0.4)
  2849.         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)
  2850.     end
  2851.     attack = false
  2852. end
  2853. function ChaosGroundStrike()
  2854.     attack = true
  2855.     for i = 0, 2, 0.1 do
  2856.         swait()
  2857.         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)
  2858.         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)
  2859.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  2860.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  2861.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  2862.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  2863.     end
  2864.     CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1)
  2865.     CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1)
  2866.     CameraEnshaking(4, 12)
  2867.     for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  2868.         if v:FindFirstChild("Head") then
  2869.             dmg(v)
  2870.         end
  2871.     end
  2872.     sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.random())
  2873.     sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.random())
  2874.     sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.random())
  2875.     for i = 0, 2, 0.1 do
  2876.         swait()
  2877.         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)
  2878.         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)
  2879.         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)
  2880.         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)
  2881.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  2882.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  2883.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  2884.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  2885.     end
  2886.     attack = false
  2887. end
  2888. function ChaosBegone()
  2889.     attack = true
  2890.     chatfunc("WHY WONT YOU PEOPLE...", BrickColor.random().Color)
  2891.     for i = 0, 10, 0.1 do
  2892.         swait()
  2893.         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)
  2894.         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)
  2895.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  2896.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  2897.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  2898.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  2899.     end
  2900.     chatfunc("DIE!!", BrickColor.random().Color)
  2901.     CFuncs.Sound.Create("rbxassetid://438666141", char, 7.5, 1)
  2902.     CFuncs.Sound.Create("rbxassetid://1208650519", char, 7.5, 1)
  2903.     CameraEnshaking(5, 25)
  2904.     for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  2905.         if v:FindFirstChild("Head") then
  2906.             dmg(v)
  2907.         end
  2908.     end
  2909.     sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1000, BrickColor.random())
  2910.     sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2000, BrickColor.random())
  2911.     sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100000, 0.1, 100000), 0.01, BrickColor.random())
  2912.     for i = 0, 3, 0.1 do
  2913.         swait()
  2914.         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)
  2915.         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)
  2916.         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)
  2917.         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)
  2918.         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)
  2919.         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)
  2920.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  2921.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  2922.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  2923.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  2924.     end
  2925.     attack = false
  2926. end
  2927. function orb_spawn_norm(positted, timer, color, MagniBoost, min, max, volEx, ShakePower, volSummon)
  2928.     local orb = Instance.new("Part", char)
  2929.     orb.Anchored = true
  2930.     orb.BrickColor = color
  2931.     orb.CanCollide = false
  2932.     orb.FormFactor = 3
  2933.     orb.Name = "Ring"
  2934.     orb.Material = "Neon"
  2935.     orb.Size = Vector3.new(1, 1, 1)
  2936.     orb.Transparency = 0
  2937.     orb.TopSurface = 0
  2938.     orb.BottomSurface = 0
  2939.     local orbm = Instance.new("SpecialMesh", orb)
  2940.     orbm.MeshType = "Sphere"
  2941.     orb.CFrame = positted
  2942.     orbm.Name = "SizeMesh"
  2943.     orbm.Scale = vt(1, 1, 1)
  2944.     CFuncs.Sound.Create("rbxassetid://183763506", orb, volSummon, 1)
  2945.     sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.05, orb.BrickColor)
  2946.     coroutine.resume(coroutine.create(function()
  2947.         wait(timer)
  2948.         CameraEnshaking(3, ShakePower)
  2949.         orb.Transparency = 1
  2950.         MagniDamage(orb, 3.5 * MagniBoost, min, max, 0, "Normal")
  2951.         sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.1 * MagniBoost, orb.BrickColor)
  2952.         CFuncs.Sound.Create("rbxassetid://192410089", orb, volEx, 0.7)
  2953.         wait(3)
  2954.         orb:Destroy()
  2955.     end))
  2956. end
  2957. function orb_spawn(positted, timer)
  2958.     local randomcol = math.random(1, 2)
  2959.     local orb = Instance.new("Part", char)
  2960.     orb.Anchored = true
  2961.     if randomcol == 1 then
  2962.         orb.BrickColor = BrickColor.new("White")
  2963.     elseif randomcol == 2 then
  2964.         orb.BrickColor = BrickColor.new("Really black")
  2965.     end
  2966.     orb.CanCollide = false
  2967.     orb.FormFactor = 3
  2968.     orb.Name = "Ring"
  2969.     orb.Material = "Neon"
  2970.     orb.Size = Vector3.new(1, 1, 1)
  2971.     orb.Transparency = 0
  2972.     orb.TopSurface = 0
  2973.     orb.BottomSurface = 0
  2974.     local orbm = Instance.new("SpecialMesh", orb)
  2975.     orbm.MeshType = "Sphere"
  2976.     orb.CFrame = positted
  2977.     orbm.Name = "SizeMesh"
  2978.     orbm.Scale = vt(1, 1, 1)
  2979.     CFuncs.Sound.Create("rbxassetid://183763506", orb, 1.5, 1)
  2980.     sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.025, orb.BrickColor)
  2981.     for i = 0, 2 do
  2982.         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)
  2983.     end
  2984.     coroutine.resume(coroutine.create(function()
  2985.         wait(timer)
  2986.         CameraEnshaking(3, 2)
  2987.         orb.Transparency = 1
  2988.         MagniDamage(orb, 17.5, 10, 50, 0, "Normal")
  2989.         sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.5, orb.BrickColor)
  2990.         for i = 0, 4 do
  2991.             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)
  2992.         end
  2993.         CFuncs.Sound.Create("rbxassetid://192410089", orb, 2, 0.7)
  2994.         wait(3)
  2995.         orb:Destroy()
  2996.     end))
  2997. end
  2998. function scattercorrupt()
  2999.     attack = true
  3000.     local rot = 0
  3001.     local randomrotations = math.random(1, 2)
  3002.     local lookv = 2.5
  3003.     local power = 5
  3004.     sphere(1, "Add", root.CFrame, vt(1, 100000, 1), 0.5, BrickColor.new("Royal purple"))
  3005.     sphere(1, "Add", root.CFrame, vt(1, 1, 1), 0.75, BrickColor.new("Royal purple"))
  3006.     for i = 0, 9 do
  3007.         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)
  3008.     end
  3009.     CFuncs.Sound.Create("rbxassetid://180204650", char, 2.5, 0.6)
  3010.     CFuncs.Sound.Create("rbxassetid://233856079", char, 1, 0.5)
  3011.     CFuncs.Sound.Create("rbxassetid://1208650519", char, 2.5, 1)
  3012.     CFuncs.Sound.Create("rbxassetid://239000203", char, 0.5, 0.75)
  3013.     CFuncs.Sound.Create("rbxassetid://579687077", char, 0.5, 0.5)
  3014.     local hite = Instance.new("Part", char)
  3015.     hite.Anchored = true
  3016.     hite.CanCollide = false
  3017.     hite.FormFactor = 3
  3018.     hite.Name = "Ring"
  3019.     hite.Material = "Neon"
  3020.     hite.Size = Vector3.new(1, 1, 1)
  3021.     hite.Transparency = 1
  3022.     hite.TopSurface = 0
  3023.     hite.BottomSurface = 0
  3024.     hite.CFrame = root.CFrame * CFrame.new(0, -2.5, 0)
  3025.     local rem = Instance.new("Part", char)
  3026.     rem.Anchored = true
  3027.     rem.CanCollide = false
  3028.     rem.FormFactor = 3
  3029.     rem.Name = "Ring"
  3030.     rem.Material = "Neon"
  3031.     rem.Size = Vector3.new(1, 1, 1)
  3032.     rem.Transparency = 1
  3033.     rem.TopSurface = 0
  3034.     rem.BottomSurface = 0
  3035.     rem.CFrame = hite.CFrame
  3036.     local rem2 = rem:Clone()
  3037.     rem2.Parent = char
  3038.     rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3039.     local rem3 = rem:Clone()
  3040.     rem3.Parent = char
  3041.     rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0)
  3042.     local rem4 = rem:Clone()
  3043.     rem4.Parent = char
  3044.     rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0)
  3045.     hite:Destroy()
  3046.     coroutine.resume(coroutine.create(function()
  3047.         for i = 0, 24 do
  3048.             swait(1)
  3049.             if randomrotations == 1 then
  3050.                 rot = rot + 1
  3051.             elseif randomrotations == 2 then
  3052.                 rot = rot - 1
  3053.             end
  3054.             power = power + 0.5
  3055.             lookv = lookv + 7.5
  3056.             rem.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(rot), 0)
  3057.             rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3058.             rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0)
  3059.             rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0)
  3060.             orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  3061.             orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  3062.             orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  3063.             orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  3064.         end
  3065.     end))
  3066.     attack = false
  3067. end
  3068. function yinyangi()
  3069.     attack = true
  3070.     for i = 0, 2, 0.1 do
  3071.         swait()
  3072.         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)
  3073.         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)
  3074.         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)
  3075.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3076.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2)
  3077.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  3078.     end
  3079.     local bv = Instance.new("BodyVelocity")
  3080.     bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3081.     bv.velocity = root.CFrame.lookVector * 175
  3082.     bv.Parent = root
  3083.     for Rotations = 0, 9 do
  3084.         for i = 0, 1, 0.5 do
  3085.             swait()
  3086.             bv.velocity = root.CFrame.lookVector * 175
  3087.             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)
  3088.             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)
  3089.             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)
  3090.             Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  3091.             RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  3092.             LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  3093.         end
  3094.         orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  3095.         for i = 0, 1, 0.5 do
  3096.             swait()
  3097.             bv.velocity = root.CFrame.lookVector * 175
  3098.             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)
  3099.             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)
  3100.             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)
  3101.             Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  3102.             RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  3103.             LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  3104.         end
  3105.         orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  3106.         for i = 0, 1, 0.5 do
  3107.             swait()
  3108.             bv.velocity = root.CFrame.lookVector * 175
  3109.             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)
  3110.             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)
  3111.             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)
  3112.             Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  3113.             RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  3114.             LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  3115.         end
  3116.         orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  3117.         for i = 0, 1, 0.5 do
  3118.             swait()
  3119.             bv.velocity = root.CFrame.lookVector * 175
  3120.             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)
  3121.             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)
  3122.             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)
  3123.             Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  3124.             RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  3125.             LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  3126.         end
  3127.         orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  3128.     end
  3129.     bv:Destroy()
  3130.     attack = false
  3131. end
  3132. function Wip()
  3133.     attack = true
  3134.     local rngb = Instance.new("Part", char)
  3135.     rngb.Anchored = true
  3136.     rngb.BrickColor = origcolor
  3137.     rngb.CanCollide = false
  3138.     rngb.FormFactor = 3
  3139.     rngb.Name = "Ring"
  3140.     rngb.Material = "Neon"
  3141.     rngb.Size = Vector3.new(1, 0.05, 1)
  3142.     rngb.Transparency = 1
  3143.     rngb.TopSurface = 0
  3144.     rngb.BottomSurface = 0
  3145.     local rngmb = Instance.new("SpecialMesh", rngb)
  3146.     rngmb.MeshType = "Brick"
  3147.     rngmb.Name = "SizeMesh"
  3148.     rngmb.Scale = vt(0, 1, 0)
  3149.     local orb = rngb:Clone()
  3150.     orb.Parent = char
  3151.     orb.Transparency = 0
  3152.     orb.BrickColor = BrickColor.new("White")
  3153.     orb.Size = vt(1, 1, 1)
  3154.     local orbmish = orb.SizeMesh
  3155.     orbmish.Scale = vt(0, 0, 0)
  3156.     orbmish.MeshType = "Sphere"
  3157.     local orbe = rngb:Clone()
  3158.     orbe.Parent = char
  3159.     orbe.Transparency = 0.5
  3160.     orbe.BrickColor = BrickColor.new("New Yeller")
  3161.     orbe.Size = vt(1, 1, 1)
  3162.     local orbmish2 = orbe.SizeMesh
  3163.     orbmish2.Scale = vt(0, 0, 0)
  3164.     orbmish2.MeshType = "Sphere"
  3165.     orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  3166.     rngb:Destroy()
  3167.     for i = 0, 5, 0.1 do
  3168.         swait()
  3169.         if rainbowmode == true then
  3170.             orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  3171.         end
  3172.         orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  3173.         orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  3174.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  3175.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  3176.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  3177.         LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  3178.         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)
  3179.         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)
  3180.         RootPart.CFrame = FaceMouse()[1]
  3181.     end
  3182.     orbe.Transparency = 1
  3183.     orb.Transparency = 1
  3184.     orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5
  3185.     CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
  3186.     local a = Instance.new("Part", Character)
  3187.     a.Name = "Direction"
  3188.     a.Anchored = true
  3189.     a.BrickColor = bc("White")
  3190.     a.Material = "Neon"
  3191.     a.Transparency = 0
  3192.     a.Shape = "Cylinder"
  3193.     a.CanCollide = false
  3194.     local a2 = Instance.new("Part", Character)
  3195.     a2.Name = "Direction"
  3196.     a2.Anchored = true
  3197.     a2.BrickColor = bc("New Yeller")
  3198.     a2.Color = Color3.new(r / 255, g / 255, b / 255)
  3199.     a2.Material = "Neon"
  3200.     a2.Transparency = 0.5
  3201.     a2.Shape = "Cylinder"
  3202.     a2.CanCollide = false
  3203.     local ba = Instance.new("Part", Character)
  3204.     ba.Name = "HitDirect"
  3205.     ba.Anchored = true
  3206.     ba.BrickColor = bc("Cool yellow")
  3207.     ba.Material = "Neon"
  3208.     ba.Transparency = 1
  3209.     ba.CanCollide = false
  3210.     local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3211.     local ignore = Character
  3212.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3213.     a.BottomSurface = 10
  3214.     a.TopSurface = 10
  3215.     a2.BottomSurface = 10
  3216.     a2.TopSurface = 10
  3217.     local distance = (orb.CFrame.p - position).magnitude
  3218.     a.Size = Vector3.new(distance, 1, 1)
  3219.     a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3220.     a2.Size = Vector3.new(distance, 1, 1)
  3221.     a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3222.     ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3223.     a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3224.     a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3225.     game:GetService("Debris"):AddItem(a, 20)
  3226.     game:GetService("Debris"):AddItem(a2, 20)
  3227.     game:GetService("Debris"):AddItem(ba, 20)
  3228.     local msh = Instance.new("SpecialMesh", a)
  3229.     msh.MeshType = "Cylinder"
  3230.     msh.Scale = vt(1, 25, 25)
  3231.     local msh2 = Instance.new("SpecialMesh", a2)
  3232.     msh2.MeshType = "Cylinder"
  3233.     msh2.Scale = vt(1, 30, 30)
  3234.     for i = 0, 10, 0.1 do
  3235.         swait()
  3236.         CameraEnshaking(1, 5)
  3237.         a2.Color = Color3.new(r / 255, g / 255, b / 255)
  3238.         orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3239.         orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3240.         ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3241.         hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3242.         distance = (orb.CFrame.p - position).magnitude
  3243.         if typrot == 1 then
  3244.             rotation = rotation + 2.5
  3245.         elseif typrot == 2 then
  3246.             rotation = rotation - 2.5
  3247.         end
  3248.         RootPart.CFrame = FaceMouse()[1]
  3249.         a.Size = Vector3.new(distance, 1, 1)
  3250.         a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3251.         a2.Size = Vector3.new(distance, 1, 1)
  3252.         a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3253.         ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3254.         a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3255.         a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3256.         msh.Scale = msh.Scale - vt(0, 0.25, 0.25)
  3257.         msh2.Scale = msh2.Scale - vt(0, 0.3, 0.3)
  3258.         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)
  3259.         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)
  3260.         MagniDamage(ba, 30, 500, 60000, 0, "Normal")
  3261.     end
  3262.     a:Destroy()
  3263.     a2:Destroy()
  3264.     ba:Destroy()
  3265.     orb:Destroy()
  3266.     orbe:Destroy()
  3267.     attack = false
  3268. end
  3269. function UniversalSpark()
  3270.     attack = true
  3271.     local rngb = Instance.new("Part", char)
  3272.     rngb.Anchored = true
  3273.     rngb.BrickColor = origcolor
  3274.     rngb.CanCollide = false
  3275.     rngb.FormFactor = 3
  3276.     rngb.Name = "Ring"
  3277.     rngb.Material = "Neon"
  3278.     rngb.Size = Vector3.new(1, 0.05, 1)
  3279.     rngb.Transparency = 1
  3280.     rngb.TopSurface = 0
  3281.     rngb.BottomSurface = 0
  3282.     local rngmb = Instance.new("SpecialMesh", rngb)
  3283.     rngmb.MeshType = "Brick"
  3284.     rngmb.Name = "SizeMesh"
  3285.     rngmb.Scale = vt(0, 1, 0)
  3286.     local orb = rngb:Clone()
  3287.     orb.Parent = char
  3288.     orb.Transparency = 0
  3289.     orb.BrickColor = BrickColor.new("White")
  3290.     orb.Size = vt(1, 1, 1)
  3291.     local orbmish = orb.SizeMesh
  3292.     orbmish.Scale = vt(0, 0, 0)
  3293.     orbmish.MeshType = "Sphere"
  3294.     local orbe = rngb:Clone()
  3295.     orbe.Parent = char
  3296.     orbe.Transparency = 0.5
  3297.     orbe.BrickColor = BrickColor.new("New Yeller")
  3298.     orbe.Size = vt(1, 1, 1)
  3299.     local orbmish2 = orbe.SizeMesh
  3300.     orbmish2.Scale = vt(0, 0, 0)
  3301.     orbmish2.MeshType = "Sphere"
  3302.     orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  3303.     rngb:Destroy()
  3304.     for i = 0, 5, 0.1 do
  3305.         swait()
  3306.         if rainbowmode == true then
  3307.             orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  3308.         end
  3309.         orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  3310.         orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  3311.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  3312.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  3313.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  3314.         LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  3315.         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)
  3316.         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)
  3317.         RootPart.CFrame = FaceMouse()[1]
  3318.     end
  3319.     orbe.Transparency = 1
  3320.     orb.Transparency = 1
  3321.     orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5
  3322.     CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
  3323.     CFuncs.Sound.Create("rbxassetid://741272936", char, 0.75, 1)
  3324.     CFuncs.Sound.Create("rbxassetid://1192402877", char, 1, 1)
  3325.     CFuncs.Sound.Create("rbxassetid://1208650519", char, 0.75, 1)
  3326.     CFuncs.Sound.Create("rbxassetid://164881112", char, 0.75, 1)
  3327.     CFuncs.Sound.Create("rbxassetid://429123896", char, 1, 0.85)
  3328.     CFuncs.Sound.Create("rbxassetid://164178927", char, 1, 1)
  3329.     local xd = Instance.new("Sound", char)
  3330.     xd.SoundId = "rbxassetid://445796828"
  3331.     xd.Pitch = 0.75
  3332.     xd.Looped = true
  3333.     xd.Volume = 1.25
  3334.     xd:Play()
  3335.     local a = Instance.new("Part", Character)
  3336.     a.Name = "Direction"
  3337.     a.Anchored = true
  3338.     a.BrickColor = bc("Alder")
  3339.     a.Color = MAINRUINCOLOR.Color
  3340.     a.Material = "Neon"
  3341.     a.Transparency = 0.5
  3342.     a.Shape = "Cylinder"
  3343.     a.CanCollide = false
  3344.     local a2 = Instance.new("Part", Character)
  3345.     a2.Name = "Direction"
  3346.     a2.Anchored = true
  3347.     a2.BrickColor = bc("New Yeller")
  3348.     a2.Color = MAINRUINCOLOR.Color
  3349.     a2.Material = "Neon"
  3350.     a2.Transparency = 0.5
  3351.     a2.Shape = "Cylinder"
  3352.     a2.CanCollide = false
  3353.     local ba = Instance.new("Part", Character)
  3354.     ba.Name = "HitDirect"
  3355.     ba.Anchored = true
  3356.     ba.BrickColor = bc("Cool yellow")
  3357.     ba.Material = "Neon"
  3358.     ba.Transparency = 1
  3359.     ba.CanCollide = false
  3360.     local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3361.     local ignore = Character
  3362.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3363.     a.BottomSurface = 10
  3364.     a.TopSurface = 10
  3365.     a2.BottomSurface = 10
  3366.     a2.TopSurface = 10
  3367.     local distance = (orb.CFrame.p - position).magnitude
  3368.     a.Size = Vector3.new(distance, 1, 1)
  3369.     a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3370.     a2.Size = Vector3.new(distance, 1, 1)
  3371.     a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3372.     ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3373.     a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3374.     a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3375.     game:GetService("Debris"):AddItem(a, 60)
  3376.     game:GetService("Debris"):AddItem(a2, 60)
  3377.     game:GetService("Debris"):AddItem(ba, 60)
  3378.     local outerscale = 0
  3379.     local msh = Instance.new("SpecialMesh", a)
  3380.     msh.MeshType = "Cylinder"
  3381.     msh.Scale = vt(1, 0, 0)
  3382.     local msh2 = Instance.new("SpecialMesh", a2)
  3383.     msh2.MeshType = "Cylinder"
  3384.     msh2.Scale = vt(1, 0, 0)
  3385.     for i = 0, 2, 0.1 do
  3386.         swait()
  3387.         CameraEnshaking(1, 1)
  3388.         msh2.Scale = msh2.Scale + vt(0, outerscale * 20, outerscale * 20)
  3389.         msh.Scale = msh.Scale + vt(0, outerscale * 15, outerscale * 15)
  3390.         outerscale = outerscale - 0.015
  3391.         orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3392.         orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3393.         ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3394.         hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3395.         distance = (orb.CFrame.p - position).magnitude
  3396.         if typrot == 1 then
  3397.             rotation = rotation + 2.5
  3398.         elseif typrot == 2 then
  3399.             rotation = rotation - 2.5
  3400.         end
  3401.         RootPart.CFrame = FaceMouse()[1]
  3402.         a.Size = Vector3.new(distance, 1, 1)
  3403.         a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3404.         a2.Size = Vector3.new(distance, 1, 1)
  3405.         a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3406.         ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3407.         a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3408.         a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3409.         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)
  3410.         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)
  3411.         MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  3412.     end
  3413.     for z = 0, 2 do
  3414.         for i = 0, 4, 0.1 do
  3415.             swait()
  3416.             CameraEnshaking(1, 1)
  3417.             msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  3418.             msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  3419.             outerscale = outerscale + 0.015
  3420.             orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3421.             orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3422.             ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3423.             hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3424.             distance = (orb.CFrame.p - position).magnitude
  3425.             if typrot == 1 then
  3426.                 rotation = rotation + 2.5
  3427.             elseif typrot == 2 then
  3428.                 rotation = rotation - 2.5
  3429.             end
  3430.             RootPart.CFrame = FaceMouse()[1]
  3431.             a.Size = Vector3.new(distance, 1, 1)
  3432.             a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3433.             a2.Size = Vector3.new(distance, 1, 1)
  3434.             a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3435.             ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3436.             a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3437.             a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3438.             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)
  3439.             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)
  3440.             MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  3441.         end
  3442.         for i = 0, 4, 0.1 do
  3443.             swait()
  3444.             CameraEnshaking(1, 1)
  3445.             msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  3446.             msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  3447.             outerscale = outerscale - 0.015
  3448.             orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3449.             orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3450.             ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3451.             hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3452.             distance = (orb.CFrame.p - position).magnitude
  3453.             if typrot == 1 then
  3454.                 rotation = rotation + 2.5
  3455.             elseif typrot == 2 then
  3456.                 rotation = rotation - 2.5
  3457.             end
  3458.             RootPart.CFrame = FaceMouse()[1]
  3459.             a.Size = Vector3.new(distance, 1, 1)
  3460.             a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3461.             a2.Size = Vector3.new(distance, 1, 1)
  3462.             a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3463.             ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3464.             a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3465.             a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3466.             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)
  3467.             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)
  3468.             MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  3469.         end
  3470.     end
  3471.     for i = 0, 4, 0.1 do
  3472.         swait()
  3473.         CameraEnshaking(1, 1)
  3474.         msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  3475.         msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  3476.         xd.Volume = xd.Volume - 0.025
  3477.         a.Transparency = a.Transparency + 0.025
  3478.         a2.Transparency = a2.Transparency + 0.025
  3479.         outerscale = outerscale - 0.015
  3480.         orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3481.         orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3482.         ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3483.         hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3484.         distance = (orb.CFrame.p - position).magnitude
  3485.         if typrot == 1 then
  3486.             rotation = rotation + 2.5
  3487.         elseif typrot == 2 then
  3488.             rotation = rotation - 2.5
  3489.         end
  3490.         RootPart.CFrame = FaceMouse()[1]
  3491.         a.Size = Vector3.new(distance, 1, 1)
  3492.         a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3493.         a2.Size = Vector3.new(distance, 1, 1)
  3494.         a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3495.         ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3496.         a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3497.         a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3498.         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)
  3499.         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)
  3500.         MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  3501.     end
  3502.     xd:Destroy()
  3503.     a:Destroy()
  3504.     a2:Destroy()
  3505.     ba:Destroy()
  3506.     orb:Destroy()
  3507.     orbe:Destroy()
  3508.     attack = false
  3509. end
  3510. function resetmode()
  3511.     rainbowmode = false
  3512.     chaosmode = false
  3513.     RecolorTextAndRename("Insanity", Color3.new(0, 0, 0), Color3.new(1, 0, 0))
  3514.     ModeOfGlitch = 1
  3515.     storehumanoidWS = 16
  3516.     for i, v in pairs(mw2:GetChildren()) do
  3517.         if v:IsA("Part") then
  3518.             v.BrickColor = BrickColor.new("Really red")
  3519.             v.Material = "Neon"
  3520.         end
  3521.     end
  3522.     for i, v in pairs(mw1:GetChildren()) do
  3523.         if v:IsA("Part") then
  3524.             v.Transparency = 1
  3525.             v.BrickColor = BrickColor.new("Really red")
  3526.             v.Material = "Neon"
  3527.         end
  3528.     end
  3529.     MAINRUINCOLOR = BrickColor.new("Really red")
  3530.     hum.WalkSpeed = 16
  3531.     newTheme("rbxassetid://292715599", 48.6, 1, 1)
  3532.     for i, v in pairs(m:GetChildren()) do
  3533.         if v:IsA("Part") then
  3534.             v.BrickColor = BrickColor.new("Really black")
  3535.             v.Material = "Glass"
  3536.         end
  3537.     end
  3538.     for i, v in pairs(m2:GetChildren()) do
  3539.         if v:IsA("Part") then
  3540.             v.BrickColor = BrickColor.new("Crimson")
  3541.             v.Material = "Granite"
  3542.         end
  3543.     end
  3544.     for i, v in pairs(m3:GetChildren()) do
  3545.         if v:IsA("Part") then
  3546.             v.BrickColor = BrickColor.new("Really red")
  3547.             v.Material = "Neon"
  3548.         end
  3549.     end
  3550.     for i, v in pairs(extrawingmod1:GetChildren()) do
  3551.         if v:IsA("Part") then
  3552.             v.Transparency = 1
  3553.             v.BrickColor = BrickColor.new("White")
  3554.             v.Material = "Neon"
  3555.         end
  3556.     end
  3557.     for i, v in pairs(extrawingmod2:GetChildren()) do
  3558.         if v:IsA("Part") then
  3559.             v.Transparency = 1
  3560.             v.BrickColor = BrickColor.new("White")
  3561.             v.Material = "Neon"
  3562.         end
  3563.     end
  3564. end
  3565. function attackone()
  3566.     attack = true
  3567.     for i = 0, 1, 0.1 do
  3568.         swait()
  3569.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.2)
  3570.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(40)), 0.2)
  3571.         RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  3572.         LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  3573.         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)
  3574.         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)
  3575.     end
  3576.     CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1.1)
  3577.     local hitb = Instance.new("Part", char)
  3578.     hitb.Anchored = true
  3579.     hitb.CanCollide = false
  3580.     hitb.FormFactor = 3
  3581.     hitb.Name = "Ring"
  3582.     hitb.Material = "Neon"
  3583.     hitb.Size = Vector3.new(1, 1, 1)
  3584.     hitb.Transparency = 1
  3585.     hitb.TopSurface = 0
  3586.     hitb.BottomSurface = 0
  3587.     hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2
  3588.     MagniDamage(hitb, 3, 10, 30, 0, "Normal")
  3589.     hitb:Destroy()
  3590.     for i = 0, 1, 0.1 do
  3591.         swait()
  3592.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(70)), 0.4)
  3593.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-70)), 0.4)
  3594.         RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  3595.         LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  3596.         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)
  3597.         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)
  3598.     end
  3599.     attack = false
  3600. end
  3601. function attacktwo()
  3602.     attack = true
  3603.     for i = 0, 1, 0.1 do
  3604.         swait()
  3605.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.2)
  3606.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  3607.         RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  3608.         LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  3609.         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)
  3610.         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)
  3611.     end
  3612.     CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1)
  3613.     local hitb = Instance.new("Part", char)
  3614.     hitb.Anchored = true
  3615.     hitb.CanCollide = false
  3616.     hitb.FormFactor = 3
  3617.     hitb.Name = "Ring"
  3618.     hitb.Material = "Neon"
  3619.     hitb.Size = Vector3.new(1, 1, 1)
  3620.     hitb.Transparency = 1
  3621.     hitb.TopSurface = 0
  3622.     hitb.BottomSurface = 0
  3623.     hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2
  3624.     MagniDamage(hitb, 3, 10, 30, 0, "Normal")
  3625.     hitb:Destroy()
  3626.     for i = 0, 1, 0.1 do
  3627.         swait()
  3628.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(-70)), 0.4)
  3629.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(70)), 0.4)
  3630.         RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  3631.         LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  3632.         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)
  3633.         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)
  3634.     end
  3635.     attack = false
  3636. end
  3637. function attackthree()
  3638.     attack = true
  3639.     for i = 0, 1, 0.1 do
  3640.         swait()
  3641.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  3642.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3)
  3643.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  3644.         LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  3645.         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)
  3646.         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)
  3647.     end
  3648.     local distlook = 5
  3649.     for i = 0, 4 do
  3650.         swait(2)
  3651.         CameraEnshaking(2, 3)
  3652.         local hite = Instance.new("Part", char)
  3653.         hite.Anchored = true
  3654.         hite.CanCollide = false
  3655.         hite.FormFactor = 3
  3656.         hite.Name = "Ring"
  3657.         hite.Material = "Neon"
  3658.         hite.Size = Vector3.new(1, 1, 1)
  3659.         hite.Transparency = 1
  3660.         hite.TopSurface = 0
  3661.         hite.BottomSurface = 0
  3662.         hite.CFrame = root.CFrame + root.CFrame.lookVector * distlook
  3663.         sphere(3, "Add", hite.CFrame, vt(0, 0, 0), 0.15, MAINRUINCOLOR)
  3664.         sphere(6, "Add", hite.CFrame, vt(0, 0, 0), 0.3, MAINRUINCOLOR)
  3665.         MagniDamage(hite, 10, 15, 35, 0, "Normal")
  3666.         for i = 0, 2 do
  3667.             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)
  3668.             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)
  3669.             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)
  3670.         end
  3671.         CFuncs.Sound.Create("rbxassetid://183763506", hite, 2.5, 1)
  3672.         CFuncs.Sound.Create("rbxassetid://178452221", hite, 0.25, 0.6)
  3673.         game:GetService("Debris"):AddItem(hite, 5)
  3674.         distlook = distlook + 10
  3675.     end
  3676.     attack = false
  3677. end
  3678. local attacktype = 1
  3679. mouse.Button1Down:connect(function()
  3680.     if attack == false and attacktype == 1 then
  3681.         attacktype = 2
  3682.         attackone()
  3683.     elseif attack == false and attacktype == 2 then
  3684.         attacktype = 3
  3685.         attacktwo()
  3686.     elseif attack == false and attacktype == 3 then
  3687.         attacktype = 1
  3688.         attackthree()
  3689.     elseif attack == false and attacktype == 4 then
  3690.         attacktype = 1
  3691.     end
  3692. end)
  3693. mouse.KeyDown:connect(function(k)
  3694.     if k == "q" and attack == false and ModeOfGlitch ~= 2 then
  3695.         ModeOfGlitch = 2
  3696.         storehumanoidWS = 16
  3697.         hum.WalkSpeed = 16
  3698.         rainbowmode = false
  3699.         chaosmode = false
  3700.         RecolorTextAndRename("Purity", Color3.new(1, 1, 1), Color3.new(0, 1, 1))
  3701.         newTheme("rbxassetid://472757305", 20.25, 1, 1)
  3702.         MAINRUINCOLOR = BrickColor.new("Toothpaste")
  3703.         for i, v in pairs(mw2:GetChildren()) do
  3704.             if v:IsA("Part") then
  3705.                 v.BrickColor = MAINRUINCOLOR
  3706.                 v.Material = "Neon"
  3707.             end
  3708.         end
  3709.         for i, v in pairs(mw1:GetChildren()) do
  3710.             if v:IsA("Part") then
  3711.                 v.Transparency = 1
  3712.                 v.BrickColor = MAINRUINCOLOR
  3713.                 v.Material = "Neon"
  3714.             end
  3715.         end
  3716.         for i, v in pairs(m:GetChildren()) do
  3717.             if v:IsA("Part") then
  3718.                 v.BrickColor = BrickColor.new("White")
  3719.                 v.Material = "Ice"
  3720.             end
  3721.         end
  3722.         for i, v in pairs(m2:GetChildren()) do
  3723.             if v:IsA("Part") then
  3724.                 v.BrickColor = BrickColor.new("Pastel light blue")
  3725.                 v.Material = "Glass"
  3726.             end
  3727.         end
  3728.         for i, v in pairs(m3:GetChildren()) do
  3729.             if v:IsA("Part") then
  3730.                 v.BrickColor = BrickColor.new("Toothpaste")
  3731.                 v.Material = "Neon"
  3732.             end
  3733.         end
  3734.         for i, v in pairs(extrawingmod1:GetChildren()) do
  3735.             if v:IsA("Part") then
  3736.                 v.Transparency = 1
  3737.                 v.BrickColor = BrickColor.new("White")
  3738.                 v.Material = "Neon"
  3739.             end
  3740.         end
  3741.         for i, v in pairs(extrawingmod2:GetChildren()) do
  3742.             if v:IsA("Part") then
  3743.                 v.Transparency = 1
  3744.                 v.BrickColor = BrickColor.new("White")
  3745.                 v.Material = "Neon"
  3746.             end
  3747.         end
  3748.     elseif k == "q" and attack == false and ModeOfGlitch == 2 then
  3749.         resetmode()
  3750.     end
  3751.     if k == "e" and attack == false and ModeOfGlitch ~= 3 then
  3752.         ModeOfGlitch = 3
  3753.         storehumanoidWS = 16
  3754.         hum.WalkSpeed = 16
  3755.         rainbowmode = false
  3756.         chaosmode = false
  3757.         RecolorTextAndRename("Corruption", Color3.new(0, 0, 0), Color3.new(0.35, 0, 1))
  3758.         newTheme("rbxassetid://544291208", 58.15, 0.98, 1.25)
  3759.         MAINRUINCOLOR = BrickColor.new("Royal purple")
  3760.         for i, v in pairs(mw2:GetChildren()) do
  3761.             if v:IsA("Part") then
  3762.                 v.BrickColor = MAINRUINCOLOR
  3763.                 v.Material = "Neon"
  3764.             end
  3765.         end
  3766.         for i, v in pairs(mw1:GetChildren()) do
  3767.             if v:IsA("Part") then
  3768.                 v.Transparency = 1
  3769.                 v.BrickColor = MAINRUINCOLOR
  3770.                 v.Material = "Neon"
  3771.             end
  3772.         end
  3773.         for i, v in pairs(m:GetChildren()) do
  3774.             if v:IsA("Part") then
  3775.                 v.BrickColor = BrickColor.new("Black")
  3776.                 v.Material = "Ice"
  3777.             end
  3778.         end
  3779.         for i, v in pairs(m2:GetChildren()) do
  3780.             if v:IsA("Part") then
  3781.                 v.BrickColor = BrickColor.new("Dark indigo")
  3782.                 v.Material = "Glass"
  3783.             end
  3784.         end
  3785.         for i, v in pairs(m3:GetChildren()) do
  3786.             if v:IsA("Part") then
  3787.                 v.BrickColor = BrickColor.new("Royal purple")
  3788.                 v.Material = "Neon"
  3789.             end
  3790.         end
  3791.         for i, v in pairs(extrawingmod1:GetChildren()) do
  3792.             if v:IsA("Part") then
  3793.                 v.Transparency = 1
  3794.                 v.BrickColor = BrickColor.new("White")
  3795.                 v.Material = "Neon"
  3796.             end
  3797.         end
  3798.         for i, v in pairs(extrawingmod2:GetChildren()) do
  3799.             if v:IsA("Part") then
  3800.                 v.Transparency = 1
  3801.                 v.BrickColor = BrickColor.new("White")
  3802.                 v.Material = "Neon"
  3803.             end
  3804.         end
  3805.     elseif k == "e" and attack == false and ModeOfGlitch == 3 then
  3806.         resetmode()
  3807.     end
  3808.     if k == "r" and attack == false and ModeOfGlitch ~= 4 then
  3809.         ModeOfGlitch = 4
  3810.         storehumanoidWS = 16
  3811.         hum.WalkSpeed = 16
  3812.         rainbowmode = false
  3813.         chaosmode = true
  3814.         RecolorTextAndRename("CHAOS", Color3.new(0, 0, 0), BrickColor.random().Color)
  3815.         newTheme("rbxassetid://513034340", 48.6, 1, 1)
  3816.         MAINRUINCOLOR = BrickColor.new("Black")
  3817.         for i, v in pairs(mw2:GetChildren()) do
  3818.             if v:IsA("Part") then
  3819.                 v.BrickColor = MAINRUINCOLOR
  3820.                 v.Material = "Neon"
  3821.             end
  3822.         end
  3823.         for i, v in pairs(mw1:GetChildren()) do
  3824.             if v:IsA("Part") then
  3825.                 v.Transparency = 0.75
  3826.                 v.BrickColor = BrickColor.random()
  3827.                 v.Material = "Neon"
  3828.             end
  3829.         end
  3830.         for i, v in pairs(m:GetChildren()) do
  3831.             if v:IsA("Part") then
  3832.                 v.BrickColor = BrickColor.new("Black")
  3833.                 v.Material = "Neon"
  3834.             end
  3835.         end
  3836.         for i, v in pairs(m2:GetChildren()) do
  3837.             if v:IsA("Part") then
  3838.                 v.BrickColor = BrickColor.random()
  3839.                 v.Material = "Neon"
  3840.             end
  3841.         end
  3842.         for i, v in pairs(m3:GetChildren()) do
  3843.             if v:IsA("Part") then
  3844.                 v.BrickColor = BrickColor.new("Black")
  3845.                 v.Material = "Neon"
  3846.             end
  3847.         end
  3848.         for i, v in pairs(extrawingmod1:GetChildren()) do
  3849.             if v:IsA("Part") then
  3850.                 v.Transparency = 1
  3851.                 v.BrickColor = BrickColor.new("White")
  3852.                 v.Material = "Neon"
  3853.             end
  3854.         end
  3855.         for i, v in pairs(extrawingmod2:GetChildren()) do
  3856.             if v:IsA("Part") then
  3857.                 v.Transparency = 1
  3858.                 v.BrickColor = BrickColor.new("White")
  3859.                 v.Material = "Neon"
  3860.             end
  3861.         end
  3862.     elseif k == "r" and attack == false and ModeOfGlitch == 4 then
  3863.         resetmode()
  3864.     end
  3865.     if k == "t" and attack == false and ModeOfGlitch ~= 5 then
  3866.         ModeOfGlitch = 5
  3867.         storehumanoidWS = 16
  3868.         hum.WalkSpeed = 16
  3869.         rainbowmode = false
  3870.         chaosmode = false
  3871.         RecolorTextAndRename("Light", Color3.new(1, 1, 1), Color3.new(1, 1, 0.5))
  3872.         newTheme("rbxassetid://729860391", 0, 1.02, 1)
  3873.         MAINRUINCOLOR = BrickColor.new("Bright yellow")
  3874.         for i, v in pairs(mw2:GetChildren()) do
  3875.             if v:IsA("Part") then
  3876.                 v.BrickColor = MAINRUINCOLOR
  3877.                 v.Material = "Neon"
  3878.             end
  3879.         end
  3880.         for i, v in pairs(mw1:GetChildren()) do
  3881.             if v:IsA("Part") then
  3882.                 v.Transparency = 0
  3883.                 v.BrickColor = MAINRUINCOLOR
  3884.                 v.Material = "Neon"
  3885.             end
  3886.         end
  3887.         for i, v in pairs(m:GetChildren()) do
  3888.             if v:IsA("Part") then
  3889.                 v.BrickColor = BrickColor.new("Cool yellow")
  3890.                 v.Material = "Ice"
  3891.             end
  3892.         end
  3893.         for i, v in pairs(m2:GetChildren()) do
  3894.             if v:IsA("Part") then
  3895.                 v.BrickColor = BrickColor.new("Bright yellow")
  3896.                 v.Material = "Ice"
  3897.             end
  3898.         end
  3899.         for i, v in pairs(m3:GetChildren()) do
  3900.             if v:IsA("Part") then
  3901.                 v.BrickColor = BrickColor.new("Bright yellow")
  3902.                 v.Material = "Neon"
  3903.             end
  3904.         end
  3905.         for i, v in pairs(extrawingmod1:GetChildren()) do
  3906.             if v:IsA("Part") then
  3907.                 v.Transparency = 1
  3908.                 v.BrickColor = BrickColor.new("White")
  3909.                 v.Material = "Neon"
  3910.             end
  3911.         end
  3912.         for i, v in pairs(extrawingmod2:GetChildren()) do
  3913.             if v:IsA("Part") then
  3914.                 v.Transparency = 1
  3915.                 v.BrickColor = BrickColor.new("White")
  3916.                 v.Material = "Neon"
  3917.             end
  3918.         end
  3919.     elseif k == "t" and attack == false and ModeOfGlitch == 5 then
  3920.         resetmode()
  3921.     end
  3922.     if k == "y" and attack == false and ModeOfGlitch ~= 6 then
  3923.         ModeOfGlitch = 6
  3924.         storehumanoidWS = 75
  3925.         hum.WalkSpeed = 75
  3926.         rainbowmode = false
  3927.         chaosmode = false
  3928.         RecolorTextAndRename("Radiance", Color3.new(0, 0, 0), Color3.new(1, 1, 1))
  3929.         newTheme("rbxassetid://709100631", 0, 1, 1)
  3930.         MAINRUINCOLOR = BrickColor.new("White")
  3931.         for i, v in pairs(mw2:GetChildren()) do
  3932.             if v:IsA("Part") then
  3933.                 v.BrickColor = MAINRUINCOLOR
  3934.                 v.Material = "Neon"
  3935.             end
  3936.         end
  3937.         for i, v in pairs(mw1:GetChildren()) do
  3938.             if v:IsA("Part") then
  3939.                 v.Transparency = 0
  3940.                 v.BrickColor = MAINRUINCOLOR
  3941.                 v.Material = "Neon"
  3942.             end
  3943.         end
  3944.         for i, v in pairs(m:GetChildren()) do
  3945.             if v:IsA("Part") then
  3946.                 v.BrickColor = BrickColor.new("White")
  3947.                 v.Material = "Ice"
  3948.             end
  3949.         end
  3950.         for i, v in pairs(m2:GetChildren()) do
  3951.             if v:IsA("Part") then
  3952.                 v.BrickColor = BrickColor.new("Really black")
  3953.                 v.Material = "Ice"
  3954.             end
  3955.         end
  3956.         for i, v in pairs(m3:GetChildren()) do
  3957.             if v:IsA("Part") then
  3958.                 v.BrickColor = BrickColor.new("White")
  3959.                 v.Material = "Neon"
  3960.             end
  3961.         end
  3962.         for i, v in pairs(extrawingmod1:GetChildren()) do
  3963.             if v:IsA("Part") then
  3964.                 v.Transparency = 1
  3965.                 v.BrickColor = BrickColor.new("White")
  3966.                 v.Material = "Neon"
  3967.             end
  3968.         end
  3969.         for i, v in pairs(extrawingmod2:GetChildren()) do
  3970.             if v:IsA("Part") then
  3971.                 v.Transparency = 1
  3972.                 v.BrickColor = BrickColor.new("White")
  3973.                 v.Material = "Neon"
  3974.             end
  3975.         end
  3976.     elseif k == "y" and attack == false and ModeOfGlitch == 6 then
  3977.         resetmode()
  3978.     end
  3979.     if k == "u" and attack == false and ModeOfGlitch ~= 6127843 then
  3980.         ModeOfGlitch = 6127843
  3981.         storehumanoidWS = 50
  3982.         hum.WalkSpeed = 50
  3983.         rainbowmode = true
  3984.         chaosmode = false
  3985.         RecolorTextAndRename("RAINBOW", Color3.new(1, 1, 1), Color3.new(1, 1, 1))
  3986.         newTheme("rbxassetid://147930134", 0, 1, 1)
  3987.         MAINRUINCOLOR = BrickColor.new("White")
  3988.         for i, v in pairs(mw2:GetChildren()) do
  3989.             if v:IsA("Part") then
  3990.                 v.BrickColor = MAINRUINCOLOR
  3991.                 v.Material = "Neon"
  3992.             end
  3993.         end
  3994.         for i, v in pairs(mw1:GetChildren()) do
  3995.             if v:IsA("Part") then
  3996.                 v.Transparency = 0
  3997.                 v.BrickColor = MAINRUINCOLOR
  3998.                 v.Material = "Neon"
  3999.             end
  4000.         end
  4001.         for i, v in pairs(m:GetChildren()) do
  4002.             if v:IsA("Part") then
  4003.                 v.BrickColor = BrickColor.new("White")
  4004.                 v.Material = "Neon"
  4005.             end
  4006.         end
  4007.         for i, v in pairs(m2:GetChildren()) do
  4008.             if v:IsA("Part") then
  4009.                 v.BrickColor = BrickColor.new("White")
  4010.                 v.Material = "Neon"
  4011.             end
  4012.         end
  4013.         for i, v in pairs(m3:GetChildren()) do
  4014.             if v:IsA("Part") then
  4015.                 v.BrickColor = BrickColor.new("White")
  4016.                 v.Material = "Neon"
  4017.             end
  4018.         end
  4019.         for i, v in pairs(extrawingmod1:GetChildren()) do
  4020.             if v:IsA("Part") then
  4021.                 v.Transparency = 1
  4022.                 v.BrickColor = BrickColor.new("White")
  4023.                 v.Material = "Neon"
  4024.             end
  4025.         end
  4026.         for i, v in pairs(extrawingmod2:GetChildren()) do
  4027.             if v:IsA("Part") then
  4028.                 v.Transparency = 1
  4029.                 v.BrickColor = BrickColor.new("White")
  4030.                 v.Material = "Neon"
  4031.             end
  4032.         end
  4033.     elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
  4034.         resetmode()
  4035.     end
  4036.     if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
  4037.         ModeOfGlitch = 1000000
  4038.         storehumanoidWS = 100
  4039.         hum.WalkSpeed = 100
  4040.         rainbowmode = false
  4041.         chaosmode = false
  4042.         RecolorTextAndRename("C A L A M I T Y", Color3.new(0.25, 0, 1), Color3.new(0.5, 0, 1))
  4043.         newTheme("rbxassetid://1327581272", 0, 1, 1)
  4044.         MAINRUINCOLOR = BrickColor.new("Bright violet")
  4045.         for i, v in pairs(mw2:GetChildren()) do
  4046.             if v:IsA("Part") then
  4047.                 v.BrickColor = MAINRUINCOLOR
  4048.                 v.Material = "Neon"
  4049.             end
  4050.         end
  4051.         for i, v in pairs(mw1:GetChildren()) do
  4052.             if v:IsA("Part") then
  4053.                 v.Transparency = 0
  4054.                 v.BrickColor = MAINRUINCOLOR
  4055.                 v.Material = "Neon"
  4056.             end
  4057.         end
  4058.         for i, v in pairs(m:GetChildren()) do
  4059.             if v:IsA("Part") then
  4060.                 v.Color = Color3.new(0.5, 0, 1)
  4061.                 v.Material = "Neon"
  4062.             end
  4063.         end
  4064.         for i, v in pairs(m2:GetChildren()) do
  4065.             if v:IsA("Part") then
  4066.                 v.Color = Color3.new(0.25, 0, 1)
  4067.                 v.Material = "Neon"
  4068.             end
  4069.         end
  4070.         for i, v in pairs(m3:GetChildren()) do
  4071.             if v:IsA("Part") then
  4072.                 v.Color = Color3.new(0.45, 0, 1)
  4073.                 v.Material = "Neon"
  4074.             end
  4075.         end
  4076.         for i, v in pairs(extrawingmod1:GetChildren()) do
  4077.             if v:IsA("Part") then
  4078.                 v.Transparency = 0
  4079.                 v.Color = Color3.new(0.25, 0, 1)
  4080.                 v.Material = "Neon"
  4081.             end
  4082.         end
  4083.         for i, v in pairs(extrawingmod2:GetChildren()) do
  4084.             if v:IsA("Part") then
  4085.                 v.Transparency = 0
  4086.                 v.Color = Color3.new(0.5, 0, 1)
  4087.                 v.Material = "Neon"
  4088.             end
  4089.         end
  4090.     elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
  4091.         resetmode()
  4092.     end
  4093.     if k == "l" and toggleTag == false then
  4094.         toggleTag = true
  4095.         text.TextTransparency = 0
  4096.         text.TextStrokeTransparency = 0
  4097.     elseif k == "l" and toggleTag == true then
  4098.         toggleTag = false
  4099.         text.TextTransparency = 1
  4100.         text.TextStrokeTransparency = 1
  4101.     end
  4102.     if k == "z" and attack == false and ModeOfGlitch == 1 then
  4103.         ExtinctiveHeartbreak()
  4104.     elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  4105.         PureBomb()
  4106.     elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  4107.         scattercorrupt()
  4108.     elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  4109.         ChaosGroundStrike()
  4110.     elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  4111.     elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
  4112.         UniversalSpark()
  4113.     elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  4114.         yinyangi()
  4115.     elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
  4116.         Wip()
  4117.     end
  4118.     if k == "l" and attack == false and ModeOfGlitch == 4 and plr.Name == "NoobyGames12" then
  4119.         ChaosBegone()
  4120.     end
  4121. end)
  4122. coroutine.resume(coroutine.create(function()
  4123.     while true do
  4124.         swait(2)
  4125.         if rainbowmode == true or ModeOfGlitch == 6 then
  4126.             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)
  4127.         end
  4128.     end
  4129. end))
  4130. coroutine.resume(coroutine.create(function()
  4131.     while true do
  4132.         swait(0.5)
  4133.         if ModeOfGlitch == 1000000 then
  4134.             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)
  4135.         end
  4136.     end
  4137. end))
  4138. coroutine.resume(coroutine.create(function()
  4139.     while true do
  4140.         swait(2)
  4141.         if chaosmode == true then
  4142.             RecolorTextAndRename("CHAOS", Color3.new(0, 0, 0), BrickColor.random().Color)
  4143.             for i, v in pairs(mw1:GetChildren()) do
  4144.                 if v:IsA("Part") then
  4145.                     v.Transparency = 0.75
  4146.                     v.BrickColor = BrickColor.random()
  4147.                     v.Material = "Neon"
  4148.                 end
  4149.             end
  4150.             for i, v in pairs(m2:GetChildren()) do
  4151.                 if v:IsA("Part") then
  4152.                     v.BrickColor = BrickColor.random()
  4153.                     v.Material = "Neon"
  4154.                 end
  4155.             end
  4156.         end
  4157.     end
  4158. end))
  4159. Humanoid.Name = "STARGLITCHER"
  4160. Humanoid.MaxHealth = math.huge
  4161. Humanoid.Health = math.huge
  4162. Instance.new("ForceField", char).Visible = false
  4163. Humanoid.Animator.Parent = nil
  4164. idleanim = 0.4
  4165. while true do
  4166.     if rainbowmode == true then
  4167.         RecolorTextAndRename("RAINBOW", Color3.new(r / 255, g / 255, b / 255), Color3.new(r / 500, g / 500, b / 500))
  4168.         MAINRUINCOLOR = BrickColor.new("White")
  4169.         for i, v in pairs(m:GetChildren()) do
  4170.             if v:IsA("Part") then
  4171.                 v.Color = Color3.new(r / 255, g / 255, b / 255)
  4172.             end
  4173.         end
  4174.         for i, v in pairs(m2:GetChildren()) do
  4175.             if v:IsA("Part") then
  4176.                 v.Color = Color3.new(r / 255, g / 255, b / 255)
  4177.             end
  4178.         end
  4179.         for i, v in pairs(m3:GetChildren()) do
  4180.             if v:IsA("Part") then
  4181.                 v.Color = Color3.new(r / 255, g / 255, b / 255)
  4182.             end
  4183.         end
  4184.         for i, v in pairs(mw1:GetChildren()) do
  4185.             if v:IsA("Part") then
  4186.                 v.Color = Color3.new(r / 255, g / 255, b / 255)
  4187.                 v.Material = "Neon"
  4188.             end
  4189.         end
  4190.         for i, v in pairs(mw2:GetChildren()) do
  4191.             if v:IsA("Part") then
  4192.                 v.Color = Color3.new(r / 255, g / 255, b / 255)
  4193.                 v.Material = "Neon"
  4194.             end
  4195.         end
  4196.     end
  4197.     CameraManager()
  4198.     swait()
  4199.     lwing1weld.C1 = clerp(lwing1weld.C1, cf(2, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(5 + 10 * math.cos(sine / 32)), math.rad(0), math.rad(12.5 + 5 * math.cos(sine / 32))), 0.3)
  4200.     lwing2weld.C1 = clerp(lwing2weld.C1, cf(3, 1, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(10 + 15 * math.cos(sine / 32)), math.rad(0), math.rad(25 + 7.5 * math.cos(sine / 32))), 0.3)
  4201.     lwing3weld.C1 = clerp(lwing3weld.C1, cf(3.75, 2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(15 + 20 * math.cos(sine / 32)), math.rad(0), math.rad(37.5 + 10 * math.cos(sine / 32))), 0.3)
  4202.     lwing4weld.C1 = clerp(lwing4weld.C1, cf(4.75, 3, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(20 + 25 * math.cos(sine / 32)), math.rad(0), math.rad(50 + 12.5 * math.cos(sine / 32))), 0.3)
  4203.     lwing5weld.C1 = clerp(lwing5weld.C1, cf(5.75, 4, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(25 + 30 * math.cos(sine / 32)), math.rad(0), math.rad(62.5 + 15 * math.cos(sine / 32))), 0.3)
  4204.     lwing6weld.C1 = clerp(lwing6weld.C1, cf(6.75, 5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(30 + 35 * math.cos(sine / 32)), math.rad(0), math.rad(75 + 17.5 * math.cos(sine / 32))), 0.3)
  4205.     rwing1weld.C1 = clerp(rwing1weld.C1, cf(-2, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(5 + 10 * math.cos(sine / 32)), math.rad(0), math.rad(-12.5 - 5 * math.cos(sine / 32))), 0.3)
  4206.     rwing2weld.C1 = clerp(rwing2weld.C1, cf(-3, 1, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(10 + 15 * math.cos(sine / 32)), math.rad(0), math.rad(-25 - 7.5 * math.cos(sine / 32))), 0.3)
  4207.     rwing3weld.C1 = clerp(rwing3weld.C1, cf(-3.75, 2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(15 + 20 * math.cos(sine / 32)), math.rad(0), math.rad(-37.5 - 10 * math.cos(sine / 32))), 0.3)
  4208.     rwing4weld.C1 = clerp(rwing4weld.C1, cf(-4.75, 3, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(20 + 25 * math.cos(sine / 32)), math.rad(0), math.rad(-50 - 12.5 * math.cos(sine / 32))), 0.3)
  4209.     rwing5weld.C1 = clerp(rwing5weld.C1, cf(-5.75, 4, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(25 + 30 * math.cos(sine / 32)), math.rad(0), math.rad(-62.5 - 15 * math.cos(sine / 32))), 0.3)
  4210.     rwing6weld.C1 = clerp(rwing6weld.C1, cf(-6.75, 5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(30 + 35 * math.cos(sine / 32)), math.rad(0), math.rad(-75 - 17.5 * math.cos(sine / 32))), 0.3)
  4211.     sine = sine + change
  4212.     local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  4213.     local velderp = RootPart.Velocity.y
  4214.     hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  4215.     if equipped == true or equipped == false then
  4216.         if attack == false then
  4217.             idle = idle + 1
  4218.         else
  4219.             idle = 0
  4220.         end
  4221.         if not (idle >= 500) or attack == false then
  4222.         end
  4223.         if RootPart.Velocity.y > 1 and hitfloor == nil then
  4224.             Anim = "Jump"
  4225.             if attack == false then
  4226.                 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)
  4227.                 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)
  4228.                 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)
  4229.                 Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.1)
  4230.                 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)
  4231.                 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)
  4232.             end
  4233.         elseif RootPart.Velocity.y < -1 and hitfloor == nil then
  4234.             Anim = "Fall"
  4235.             if attack == false then
  4236.                 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)
  4237.                 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)
  4238.                 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)
  4239.                 Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  4240.                 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)
  4241.                 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)
  4242.             end
  4243.         elseif torvel < 1 and hitfloor ~= nil then
  4244.             Anim = "Idle"
  4245.             if attack == false then
  4246.                 if ModeOfGlitch == 1 then
  4247.                     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)
  4248.                     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)
  4249.                     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)
  4250.                     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)
  4251.                     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)
  4252.                     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(25)), 0.1)
  4253.                 elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then
  4254.                     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)
  4255.                     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)
  4256.                     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)
  4257.                     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)
  4258.                     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)
  4259.                     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)
  4260.                 elseif ModeOfGlitch == 3 then
  4261.                     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)
  4262.                     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)
  4263.                     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)
  4264.                     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)
  4265.                     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)
  4266.                     LW.C0 = clerp(LW.C0, cf(-1.5, 0.75, 0) * angles(math.rad(170), math.rad(-20), math.rad(20)), 0.1)
  4267.                 elseif ModeOfGlitch == 4 then
  4268.                     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)
  4269.                     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)
  4270.                     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)
  4271.                     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)
  4272.                     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)
  4273.                     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)
  4274.                 elseif ModeOfGlitch == 5 then
  4275.                     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)
  4276.                     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)
  4277.                     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)
  4278.                     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)
  4279.                     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)
  4280.                     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)
  4281.                 elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then
  4282.                     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)
  4283.                     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)
  4284.                     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)
  4285.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(15), math.rad(0), math.rad(0)), 0.1)
  4286.                     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)
  4287.                     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)
  4288.                 end
  4289.             end
  4290.         elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
  4291.             Anim = "Walk"
  4292.             if attack == false then
  4293.                 if ModeOfGlitch == 1 then
  4294.                     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)
  4295.                     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)
  4296.                     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)
  4297.                     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)
  4298.                     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)
  4299.                     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(25)), 0.1)
  4300.                 elseif ModeOfGlitch == 4 then
  4301.                     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)
  4302.                     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)
  4303.                     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)
  4304.                     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)
  4305.                     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)
  4306.                     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)
  4307.                 elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then
  4308.                     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)
  4309.                     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)
  4310.                     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)
  4311.                     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)
  4312.                     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)
  4313.                     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)
  4314.                 end
  4315.             end
  4316.         elseif torvel >= 22 and hitfloor ~= nil then
  4317.             Anim = "Run"
  4318.             if attack == false then
  4319.                 if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 then
  4320.                     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)
  4321.                     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)
  4322.                     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)
  4323.                     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)
  4324.                     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)
  4325.                     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)
  4326.                 elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then
  4327.                     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)
  4328.                     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)
  4329.                     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)
  4330.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  4331.                     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)
  4332.                     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)
  4333.                 end
  4334.             end
  4335.         end
  4336.     end
  4337. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement