daily pastebin goal
26%
SHARE
TWEET

Srat

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